Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Move Title to components package #11383

Merged
merged 5 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion assets/js/base/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ export * from './snackbar-list';
export * from './state-input';
export * from './summary';
export * from './tabs';
export * from './title';
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import { __ } from '@wordpress/i18n';
import { useEditorContext, noticeContexts } from '@woocommerce/base-context';
import { StoreNoticesContainer } from '@woocommerce/blocks-checkout';
import Title from '@woocommerce/base-components/title';
import { Title } from '@woocommerce/blocks-components';
import LoadingMask from '@woocommerce/base-components/loading-mask';
import { CURRENT_USER_IS_ADMIN } from '@woocommerce/settings';
import { CHECKOUT_STORE_KEY, PAYMENT_STORE_KEY } from '@woocommerce/block-data';
Expand Down
2 changes: 1 addition & 1 deletion assets/js/blocks/checkout/form-step/form-step-heading.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* External dependencies
*/
import Title from '@woocommerce/base-components/title';
import { Title } from '@woocommerce/blocks-components';

/**
* Step Heading Component
Expand Down
2 changes: 1 addition & 1 deletion packages/components/form-step/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
* External dependencies
*/
import classnames from 'classnames';
import Title from '@woocommerce/base-components/title';

/**
* Internal dependencies
*/
import './style.scss';
import Title from '../title';

interface StepHeadingProps {
title: string;
Expand Down
1 change: 1 addition & 0 deletions packages/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export { default as RadioControlAccordion } from './radio-control-accordion';
export { default as SortSelect } from './sort-select';
export { default as Spinner } from './spinner';
export { default as Textarea } from './textarea';
export { default as Title } from './title';
Loading