Skip to content

Commit

Permalink
Move files into subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies committed May 10, 2022
1 parent 9d8037d commit cf8c83b
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { postFeaturedImage } from '@wordpress/icons';
/**
* Internal dependencies
*/
import { ALLOWED_MEDIA_TYPES, IMAGE_BACKGROUND_TYPE } from './shared';
import { ALLOWED_MEDIA_TYPES, IMAGE_BACKGROUND_TYPE } from '../shared';

export default function CoverBlockControls( {
attributes,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { cover as icon } from '@wordpress/icons';
/**
* Internal dependencies
*/
import { ALLOWED_MEDIA_TYPES } from './shared';
import { ALLOWED_MEDIA_TYPES } from '../shared';

export default function CoverPlaceholder( {
disableMediaButtons = false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
isContentPositionCenter,
getPositionClassName,
mediaPosition,
} from './shared';
} from '../shared';
import useCoverIsDark from './use-cover-is-dark';
import CoverInspectorControls from './inspector-controls';
import CoverBlockControls from './block-controls';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { __ } from '@wordpress/i18n';
/**
* Internal dependencies
*/
import { COVER_MIN_HEIGHT, mediaPosition } from './shared';
import { COVER_MIN_HEIGHT, mediaPosition } from '../shared';

function CoverHeightInput( {
onChange,
Expand Down
2 changes: 1 addition & 1 deletion packages/block-library/src/cover/test/block-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jest.mock( '@wordpress/block-editor', () => ( {
/**
* Internal dependencies
*/
import CoverBlockControls from '../block-controls';
import CoverBlockControls from '../edit/block-controls';

const setAttributes = jest.fn();
const onSelectMedia = jest.fn();
Expand Down

0 comments on commit cf8c83b

Please sign in to comment.