Skip to content

Commit

Permalink
Change grid-visualizer folder name to grid.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Jun 25, 2024
1 parent 228058b commit 1f6d95e
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { useSelect, useDispatch } from '@wordpress/data';
/**
* Internal dependencies
*/
import { useGetNumberOfBlocksBeforeCell } from '../grid-visualizer/use-get-number-of-blocks-before-cell';
import { useGetNumberOfBlocksBeforeCell } from '../grid/use-get-number-of-blocks-before-cell';
import { store as blockEditorStore } from '../../store';

function helpText( selfStretch, parentLayout ) {
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/layout-child.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
GridVisualizer,
GridItemResizer,
GridItemMovers,
} from '../components/grid-visualizer';
} from '../components/grid';

function useBlockPropsChildLayoutStyles( { style } ) {
const shouldRenderChildLayoutStyles = useSelect( ( select ) => {
Expand Down
5 changes: 1 addition & 4 deletions packages/block-editor/src/layouts/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ import { appendSelectors, getBlockGapCSS } from './utils';
import { getGapCSSValue } from '../hooks/gap';
import { shouldSkipSerialization } from '../hooks/utils';
import { LAYOUT_DEFINITIONS } from './definitions';
import {
GridVisualizer,
useGridLayoutSync,
} from '../components/grid-visualizer';
import { GridVisualizer, useGridLayoutSync } from '../components/grid';

const RANGE_CONTROL_MAX_VALUES = {
px: 600,
Expand Down
2 changes: 1 addition & 1 deletion packages/block-editor/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
@import "./components/duotone-control/style.scss";
@import "./components/font-appearance-control/style.scss";
@import "./components/global-styles/style.scss";
@import "./components/grid-visualizer/style.scss";
@import "./components/grid/style.scss";
@import "./components/height-control/style.scss";
@import "./components/image-size-control/style.scss";
@import "./components/inserter-list-item/style.scss";
Expand Down

0 comments on commit 1f6d95e

Please sign in to comment.