Move `FormStep` to the components package (https://github.com/woocommerce/woocommerce-blocks/pull/11246)
This commit is contained in:
parent
e3f378d990
commit
ef2a129502
|
@ -1,6 +1,5 @@
|
|||
export * from './address-form';
|
||||
export { default as CartLineItemsTable } from './cart-line-items-table';
|
||||
export { default as FormStep } from './form-step';
|
||||
export { default as OrderSummary } from './order-summary';
|
||||
export { default as PlaceOrderButton } from './place-order-button';
|
||||
export { default as Policies } from './policies';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import classnames from 'classnames';
|
||||
import { useRef, useEffect } from '@wordpress/element';
|
||||
import { withFilteredAttributes } from '@woocommerce/shared-hocs';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useCheckoutAddress } from '@woocommerce/base-context/hooks';
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
import classnames from 'classnames';
|
||||
import { withFilteredAttributes } from '@woocommerce/shared-hocs';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
import classnames from 'classnames';
|
||||
import { __ } from '@wordpress/i18n';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useShippingData } from '@woocommerce/base-context/hooks';
|
||||
import { useDispatch, useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
import classnames from 'classnames';
|
||||
import { useStoreCart } from '@woocommerce/base-context/hooks';
|
||||
import { withFilteredAttributes } from '@woocommerce/shared-hocs';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
import { StoreNoticesContainer } from '@woocommerce/blocks-checkout';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
import classnames from 'classnames';
|
||||
import { withFilteredAttributes } from '@woocommerce/shared-hocs';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
import { LOCAL_PICKUP_ENABLED } from '@woocommerce/block-settings';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
import classnames from 'classnames';
|
||||
import { withFilteredAttributes } from '@woocommerce/shared-hocs';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useCheckoutAddress } from '@woocommerce/base-context/hooks';
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
import classnames from 'classnames';
|
||||
import { withFilteredAttributes } from '@woocommerce/shared-hocs';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useDispatch, useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
import { useShippingData } from '@woocommerce/base-context/hooks';
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
import classnames from 'classnames';
|
||||
import { withFilteredAttributes } from '@woocommerce/shared-hocs';
|
||||
import { FormStep } from '@woocommerce/base-components/cart-checkout';
|
||||
import { FormStep } from '@woocommerce/blocks-components';
|
||||
import { useCheckoutAddress } from '@woocommerce/base-context/hooks';
|
||||
import { useSelect } from '@wordpress/data';
|
||||
import { CHECKOUT_STORE_KEY } from '@woocommerce/block-data';
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
export { default as CheckboxList } from './checkbox-list';
|
||||
export { default as FormStep } from './form-step';
|
||||
export { Chip, RemovableChip } from './chip';
|
||||
export { default as Label } from './label';
|
||||
export { default as FormattedMonetaryAmount } from './formatted-monetary-amount';
|
||||
|
|
Loading…
Reference in New Issue