@shopify/ui-extensions 2022.10.5 → 2023.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/build/cjs/surfaces/admin/components/AdminAction/AdminAction.js +12 -0
- package/build/cjs/surfaces/admin/components/AdminBlock/AdminBlock.js +9 -0
- package/build/cjs/surfaces/admin/components/BlockStack/BlockStack.js +9 -0
- package/build/cjs/surfaces/admin/components/Box/Box.js +9 -0
- package/build/cjs/surfaces/admin/components/Button/Button.js +9 -0
- package/build/cjs/surfaces/admin/components/Checkbox/Checkbox.js +9 -0
- package/build/cjs/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.js +12 -0
- package/build/cjs/surfaces/admin/components/Divider/Divider.js +9 -0
- package/build/cjs/surfaces/admin/components/EmailField/EmailField.js +9 -0
- package/build/cjs/surfaces/admin/components/Form/Form.js +9 -0
- package/build/cjs/surfaces/admin/components/Heading/Heading.js +9 -0
- package/build/cjs/surfaces/admin/components/HeadingGroup/HeadingGroup.js +9 -0
- package/build/cjs/surfaces/admin/components/Icon/Icon.js +9 -0
- package/build/cjs/surfaces/admin/components/Image/Image.js +9 -0
- package/build/cjs/surfaces/admin/components/InlineStack/InlineStack.js +9 -0
- package/build/cjs/surfaces/admin/components/Link/Link.js +9 -0
- package/build/cjs/surfaces/admin/components/NumberField/NumberField.js +9 -0
- package/build/cjs/surfaces/admin/components/PasswordField/PasswordField.js +9 -0
- package/build/cjs/surfaces/admin/components/Select/Select.js +9 -0
- package/build/cjs/surfaces/admin/components/Text/Text.js +9 -0
- package/build/cjs/surfaces/admin/components/TextArea/TextArea.js +9 -0
- package/build/cjs/surfaces/admin/components/TextField/TextField.js +9 -0
- package/build/cjs/surfaces/admin/components/URLField/URLField.js +9 -0
- package/build/cjs/surfaces/admin/extension.js +11 -0
- package/build/cjs/surfaces/admin.js +56 -0
- package/build/cjs/surfaces/checkout/components/DateField/DateField.js +13 -0
- package/build/cjs/surfaces/checkout/components/DatePicker/DatePicker.js +22 -0
- package/build/cjs/surfaces/checkout/components/Disclosure/Disclosure.js +20 -0
- package/build/cjs/surfaces/checkout/components/Modal/Modal.js +17 -0
- package/build/cjs/surfaces/checkout/components/Popover/Popover.js +17 -0
- package/build/cjs/surfaces/checkout/components/View/View.js +0 -3
- package/build/cjs/surfaces/checkout/extension.js +35 -2
- package/build/cjs/surfaces/checkout/style/memoize.js +2 -0
- package/build/cjs/surfaces/checkout/style/style.js +0 -1
- package/build/cjs/surfaces/checkout.js +11 -0
- package/build/cjs/utilities/registration.js +26 -2
- package/build/esm/surfaces/admin/components/AdminAction/AdminAction.mjs +8 -0
- package/build/esm/surfaces/admin/components/AdminBlock/AdminBlock.mjs +5 -0
- package/build/esm/surfaces/admin/components/BlockStack/BlockStack.mjs +5 -0
- package/build/esm/surfaces/admin/components/Box/Box.mjs +5 -0
- package/build/esm/surfaces/admin/components/Button/Button.mjs +5 -0
- package/build/esm/surfaces/admin/components/Checkbox/Checkbox.mjs +5 -0
- package/build/esm/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.mjs +8 -0
- package/build/esm/surfaces/admin/components/Divider/Divider.mjs +5 -0
- package/build/esm/surfaces/admin/components/EmailField/EmailField.mjs +5 -0
- package/build/esm/surfaces/admin/components/Form/Form.mjs +5 -0
- package/build/esm/surfaces/admin/components/Heading/Heading.mjs +5 -0
- package/build/esm/surfaces/admin/components/HeadingGroup/HeadingGroup.mjs +5 -0
- package/build/esm/surfaces/admin/components/Icon/Icon.mjs +5 -0
- package/build/esm/surfaces/admin/components/Image/Image.mjs +5 -0
- package/build/esm/surfaces/admin/components/InlineStack/InlineStack.mjs +5 -0
- package/build/esm/surfaces/admin/components/Link/Link.mjs +5 -0
- package/build/esm/surfaces/admin/components/NumberField/NumberField.mjs +5 -0
- package/build/esm/surfaces/admin/components/PasswordField/PasswordField.mjs +5 -0
- package/build/esm/surfaces/admin/components/Select/Select.mjs +5 -0
- package/build/esm/surfaces/admin/components/Text/Text.mjs +5 -0
- package/build/esm/surfaces/admin/components/TextArea/TextArea.mjs +5 -0
- package/build/esm/surfaces/admin/components/TextField/TextField.mjs +5 -0
- package/build/esm/surfaces/admin/components/URLField/URLField.mjs +5 -0
- package/build/esm/surfaces/admin/extension.mjs +6 -0
- package/build/esm/surfaces/admin.mjs +24 -0
- package/build/esm/surfaces/checkout/components/DateField/DateField.mjs +9 -0
- package/build/esm/surfaces/checkout/components/DatePicker/DatePicker.mjs +18 -0
- package/build/esm/surfaces/checkout/components/Disclosure/Disclosure.mjs +16 -0
- package/build/esm/surfaces/checkout/components/Modal/Modal.mjs +13 -0
- package/build/esm/surfaces/checkout/components/Popover/Popover.mjs +13 -0
- package/build/esm/surfaces/checkout/components/View/View.mjs +0 -3
- package/build/esm/surfaces/checkout/extension.mjs +35 -3
- package/build/esm/surfaces/checkout/style/memoize.mjs +2 -0
- package/build/esm/surfaces/checkout/style/style.mjs +0 -1
- package/build/esm/surfaces/checkout.mjs +6 -1
- package/build/esm/utilities/registration.mjs +26 -2
- package/build/esnext/surfaces/admin/components/AdminAction/AdminAction.esnext +8 -0
- package/build/esnext/surfaces/admin/components/AdminBlock/AdminBlock.esnext +5 -0
- package/build/esnext/surfaces/admin/components/BlockStack/BlockStack.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Box/Box.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Button/Button.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Checkbox/Checkbox.esnext +5 -0
- package/build/esnext/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.esnext +8 -0
- package/build/esnext/surfaces/admin/components/Divider/Divider.esnext +5 -0
- package/build/esnext/surfaces/admin/components/EmailField/EmailField.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Form/Form.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Heading/Heading.esnext +5 -0
- package/build/esnext/surfaces/admin/components/HeadingGroup/HeadingGroup.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Icon/Icon.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Image/Image.esnext +5 -0
- package/build/esnext/surfaces/admin/components/InlineStack/InlineStack.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Link/Link.esnext +5 -0
- package/build/esnext/surfaces/admin/components/NumberField/NumberField.esnext +5 -0
- package/build/esnext/surfaces/admin/components/PasswordField/PasswordField.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Select/Select.esnext +5 -0
- package/build/esnext/surfaces/admin/components/Text/Text.esnext +5 -0
- package/build/esnext/surfaces/admin/components/TextArea/TextArea.esnext +5 -0
- package/build/esnext/surfaces/admin/components/TextField/TextField.esnext +5 -0
- package/build/esnext/surfaces/admin/components/URLField/URLField.esnext +5 -0
- package/build/esnext/surfaces/admin/extension.esnext +6 -0
- package/build/esnext/surfaces/admin.esnext +24 -0
- package/build/esnext/surfaces/checkout/components/DateField/DateField.esnext +9 -0
- package/build/esnext/surfaces/checkout/components/DatePicker/DatePicker.esnext +18 -0
- package/build/esnext/surfaces/checkout/components/Disclosure/Disclosure.esnext +16 -0
- package/build/esnext/surfaces/checkout/components/Modal/Modal.esnext +13 -0
- package/build/esnext/surfaces/checkout/components/Popover/Popover.esnext +13 -0
- package/build/esnext/surfaces/checkout/components/View/View.esnext +0 -3
- package/build/esnext/surfaces/checkout/extension.esnext +35 -3
- package/build/esnext/surfaces/checkout/style/memoize.esnext +2 -0
- package/build/esnext/surfaces/checkout/style/style.esnext +0 -1
- package/build/esnext/surfaces/checkout.esnext +6 -1
- package/build/esnext/utilities/registration.esnext +26 -2
- package/build/ts/api.d.ts +62 -0
- package/build/ts/api.d.ts.map +1 -1
- package/build/ts/extension.d.ts +8 -1
- package/build/ts/extension.d.ts.map +1 -1
- package/build/ts/index.d.ts +0 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/shared.d.ts +6 -0
- package/build/ts/shared.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts +11 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/action/action.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/action/action.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/customer-segmentation-template/customer-segmentation-template.d.ts +11 -0
- package/build/ts/surfaces/admin/api/customer-segmentation-template/customer-segmentation-template.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/extension-targets/extension-targets.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/extension-targets/extension-targets.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +13 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/standard/standard.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api.d.ts +5 -0
- package/build/ts/surfaces/admin/api.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.d.ts +25 -0
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/AdminAction/AdminAction.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts +17 -0
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/BlockStack/BlockStack.d.ts +15 -0
- package/build/ts/surfaces/admin/components/BlockStack/BlockStack.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/BlockStack/BlockStack.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/BlockStack/BlockStack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Box/Box.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Box/Box.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Button/Button.d.ts +87 -0
- package/build/ts/surfaces/admin/components/Button/Button.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.d.ts +55 -0
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.d.ts +27 -0
- package/build/ts/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Divider/Divider.d.ts +14 -0
- package/build/ts/surfaces/admin/components/Divider/Divider.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/EmailField/EmailField.d.ts +10 -0
- package/build/ts/surfaces/admin/components/EmailField/EmailField.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Form/Form.d.ts +30 -0
- package/build/ts/surfaces/admin/components/Form/Form.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Form/Form.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Form/Form.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Heading/Heading.d.ts +14 -0
- package/build/ts/surfaces/admin/components/Heading/Heading.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.d.ts +8 -0
- package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Icon/Icon.d.ts +23 -0
- package/build/ts/surfaces/admin/components/Icon/Icon.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Image/Image.d.ts +114 -0
- package/build/ts/surfaces/admin/components/Image/Image.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/InlineStack/InlineStack.d.ts +15 -0
- package/build/ts/surfaces/admin/components/InlineStack/InlineStack.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/InlineStack/InlineStack.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/InlineStack/InlineStack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Link/Link.d.ts +57 -0
- package/build/ts/surfaces/admin/components/Link/Link.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts +41 -0
- package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.d.ts +10 -0
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Select/Select.d.ts +127 -0
- package/build/ts/surfaces/admin/components/Select/Select.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Text/Text.d.ts +97 -0
- package/build/ts/surfaces/admin/components/Text/Text.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/TextArea/TextArea.d.ts +15 -0
- package/build/ts/surfaces/admin/components/TextArea/TextArea.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/TextField/TextField.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TextField/TextField.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/URLField/URLField.d.ts +10 -0
- package/build/ts/surfaces/admin/components/URLField/URLField.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared/index.d.ts +443 -0
- package/build/ts/surfaces/admin/components/shared/index.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components.d.ts +47 -0
- package/build/ts/surfaces/admin/components.d.ts.map +1 -0
- package/build/ts/surfaces/admin/extension-points.d.ts +64 -0
- package/build/ts/surfaces/admin/extension-points.d.ts.map +1 -0
- package/build/ts/surfaces/admin/extension.d.ts +5 -0
- package/build/ts/surfaces/admin/extension.d.ts.map +1 -0
- package/build/ts/surfaces/admin/globals.d.ts +5 -0
- package/build/ts/surfaces/admin/globals.d.ts.map +1 -0
- package/build/ts/surfaces/admin/shared.d.ts +6 -0
- package/build/ts/surfaces/admin/shared.d.ts.map +1 -0
- package/build/ts/surfaces/admin.d.ts +7 -0
- package/build/ts/surfaces/admin.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts +9 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-details.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +367 -0
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts +27 -0
- package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/payment-method/render.d.ts +44 -0
- package/build/ts/surfaces/checkout/api/payment-method/render.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/pickup/pickup-locations.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/pickup/pickup-locations.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/pickup/pickup-points.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/pickup/pickup-points.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/redeemable/render.d.ts +44 -0
- package/build/ts/surfaces/checkout/api/redeemable/render.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts +46 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-method-details.d.ts +13 -0
- package/build/ts/surfaces/checkout/api/shipping/shipping-method-details.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +562 -406
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api.d.ts +10 -3
- package/build/ts/surfaces/checkout/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner/Banner.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Banner/Banner.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +20 -4
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Button/Button.d.ts +3 -4
- package/build/ts/surfaces/checkout/components/Button/Button.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts +5 -9
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +2 -4
- package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts +32 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.d.ts +81 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts +45 -0
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Divider/Divider.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +20 -4
- package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +20 -4
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +7 -3
- package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts +2 -3
- package/build/ts/surfaces/checkout/components/Image/Image.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +23 -3
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Link/Link.d.ts +3 -4
- package/build/ts/surfaces/checkout/components/Link/Link.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/List/List.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/List/List.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/List/List.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/List/List.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.d.ts +2 -1
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts +44 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +87 -2
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts +36 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +20 -3
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +7 -4
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts +2 -3
- package/build/ts/surfaces/checkout/components/Select/Select.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts +2 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts +7 -3
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts +7 -2
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts +98 -3
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +5 -7
- package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Text/Text.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Text/Text.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts +3 -7
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts +2 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/View/View.d.ts +16 -16
- package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/View/View.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/View/View.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/shared.d.ts +57 -18
- package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components.d.ts +13 -3
- package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/extension-points.d.ts +136 -26
- package/build/ts/surfaces/checkout/extension-points.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/extension.d.ts +35 -3
- package/build/ts/surfaces/checkout/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/helper.docs.d.ts +16 -0
- package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/shared.d.ts +3 -5
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/index.d.ts +3 -0
- package/build/ts/surfaces/checkout/style/index.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style/memoize.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +4 -0
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/style/style.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/style/types.d.ts +5 -0
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/utilities/registration.d.ts +5 -1
- package/build/ts/utilities/registration.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -4
- package/src/api.ts +73 -0
- package/src/extension.ts +30 -1
- package/src/index.ts +0 -1
- package/src/shared.ts +13 -0
- package/src/surfaces/admin/api/action/action.doc.ts +19 -0
- package/src/surfaces/admin/api/action/action.ts +14 -0
- package/src/surfaces/admin/api/customer-segmentation-template/customer-segmentation-template.ts +19 -0
- package/src/surfaces/admin/api/extension-targets/extension-targets.doc.ts +20 -0
- package/src/surfaces/admin/api/standard/README.md +1 -0
- package/src/surfaces/admin/api/standard/standard.doc.ts +20 -0
- package/src/surfaces/admin/api/standard/standard.ts +14 -0
- package/src/surfaces/admin/api.ts +4 -0
- package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +41 -0
- package/src/surfaces/admin/components/AdminAction/AdminAction.ts +28 -0
- package/src/surfaces/admin/components/AdminAction/examples/basic-adminaction.example.ts +16 -0
- package/src/surfaces/admin/components/AdminBlock/AdminBlock.doc.ts +41 -0
- package/src/surfaces/admin/components/AdminBlock/AdminBlock.ts +19 -0
- package/src/surfaces/admin/components/AdminBlock/examples/basic-adminblock.example.ts +11 -0
- package/src/surfaces/admin/components/BlockStack/BlockStack.doc.ts +42 -0
- package/src/surfaces/admin/components/BlockStack/BlockStack.ts +27 -0
- package/src/surfaces/admin/components/BlockStack/examples/basic-blockstack.example.ts +24 -0
- package/src/surfaces/admin/components/Box/Box.doc.ts +42 -0
- package/src/surfaces/admin/components/Box/Box.ts +13 -0
- package/src/surfaces/admin/components/Box/examples/basic-box.example.ts +11 -0
- package/src/surfaces/admin/components/Button/Button.doc.ts +41 -0
- package/src/surfaces/admin/components/Button/Button.ts +99 -0
- package/src/surfaces/admin/components/Button/README.md +3 -0
- package/src/surfaces/admin/components/Button/examples/basic-button.example.ts +11 -0
- package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +42 -0
- package/src/surfaces/admin/components/Checkbox/Checkbox.ts +63 -0
- package/src/surfaces/admin/components/Checkbox/examples/basic-checkbox.example.ts +11 -0
- package/src/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.ts +68 -0
- package/src/surfaces/admin/components/CustomerSegmentationTemplate/examples/CustomerSegmentationTemplate.example.ts +37 -0
- package/src/surfaces/admin/components/Divider/Divider.doc.ts +42 -0
- package/src/surfaces/admin/components/Divider/Divider.ts +14 -0
- package/src/surfaces/admin/components/Divider/README.md +7 -0
- package/src/surfaces/admin/components/Divider/examples/basic-divider.example.ts +17 -0
- package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +41 -0
- package/src/surfaces/admin/components/EmailField/EmailField.ts +22 -0
- package/src/surfaces/admin/components/EmailField/README.md +7 -0
- package/src/surfaces/admin/components/EmailField/examples/basic-emailfield.example.ts +9 -0
- package/src/surfaces/admin/components/Form/Form.doc.ts +41 -0
- package/src/surfaces/admin/components/Form/Form.ts +32 -0
- package/src/surfaces/admin/components/Form/examples/basic-form.example.ts +41 -0
- package/src/surfaces/admin/components/Heading/Heading.doc.ts +42 -0
- package/src/surfaces/admin/components/Heading/Heading.ts +15 -0
- package/src/surfaces/admin/components/Heading/README.md +9 -0
- package/src/surfaces/admin/components/Heading/examples/basic-heading.example.ts +7 -0
- package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +42 -0
- package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.ts +8 -0
- package/src/surfaces/admin/components/HeadingGroup/README.md +5 -0
- package/src/surfaces/admin/components/HeadingGroup/examples/basic-headinggroup.example.ts +20 -0
- package/src/surfaces/admin/components/Icon/Icon.doc.ts +42 -0
- package/src/surfaces/admin/components/Icon/Icon.ts +42 -0
- package/src/surfaces/admin/components/Icon/README.md +3 -0
- package/src/surfaces/admin/components/Icon/examples/basic-icon.example.ts +7 -0
- package/src/surfaces/admin/components/Image/Image.doc.ts +41 -0
- package/src/surfaces/admin/components/Image/Image.ts +120 -0
- package/src/surfaces/admin/components/Image/README.md +20 -0
- package/src/surfaces/admin/components/Image/examples/basic-image.example.ts +10 -0
- package/src/surfaces/admin/components/InlineStack/InlineStack.doc.ts +41 -0
- package/src/surfaces/admin/components/InlineStack/InlineStack.ts +28 -0
- package/src/surfaces/admin/components/InlineStack/examples/basic-inlinestack.example.ts +18 -0
- package/src/surfaces/admin/components/Link/Link.doc.ts +103 -0
- package/src/surfaces/admin/components/Link/Link.ts +63 -0
- package/src/surfaces/admin/components/Link/README.md +11 -0
- package/src/surfaces/admin/components/Link/examples/app-link.example.ts +17 -0
- package/src/surfaces/admin/components/Link/examples/external-link.example.ts +17 -0
- package/src/surfaces/admin/components/Link/examples/relative-link.example.ts +17 -0
- package/src/surfaces/admin/components/Link/examples/shopify-section-link.example.ts +17 -0
- package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +42 -0
- package/src/surfaces/admin/components/NumberField/NumberField.ts +59 -0
- package/src/surfaces/admin/components/NumberField/README.md +7 -0
- package/src/surfaces/admin/components/NumberField/examples/basic-numberfield.example.ts +9 -0
- package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +42 -0
- package/src/surfaces/admin/components/PasswordField/PasswordField.ts +22 -0
- package/src/surfaces/admin/components/PasswordField/README.md +7 -0
- package/src/surfaces/admin/components/PasswordField/examples/basic-passwordfield.example.ts +13 -0
- package/src/surfaces/admin/components/Select/README.md +99 -0
- package/src/surfaces/admin/components/Select/Select.doc.ts +42 -0
- package/src/surfaces/admin/components/Select/Select.ts +147 -0
- package/src/surfaces/admin/components/Select/examples/basic-select.example.ts +47 -0
- package/src/surfaces/admin/components/Text/README.md +7 -0
- package/src/surfaces/admin/components/Text/Text.doc.ts +42 -0
- package/src/surfaces/admin/components/Text/Text.ts +124 -0
- package/src/surfaces/admin/components/Text/examples/basic-text.example.ts +14 -0
- package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +42 -0
- package/src/surfaces/admin/components/TextArea/TextArea.ts +24 -0
- package/src/surfaces/admin/components/TextArea/examples/basic-textarea.example.ts +10 -0
- package/src/surfaces/admin/components/TextField/README.md +7 -0
- package/src/surfaces/admin/components/TextField/TextField.doc.ts +42 -0
- package/src/surfaces/admin/components/TextField/TextField.ts +16 -0
- package/src/surfaces/admin/components/TextField/examples/basic-textfield.example.ts +9 -0
- package/src/surfaces/admin/components/URLField/README.md +7 -0
- package/src/surfaces/admin/components/URLField/URLField.doc.ts +41 -0
- package/src/surfaces/admin/components/URLField/URLField.ts +26 -0
- package/src/surfaces/admin/components/URLField/examples/basic-urlfield.example.ts +9 -0
- package/src/surfaces/admin/components/shared/index.ts +664 -0
- package/src/surfaces/admin/components.ts +52 -0
- package/src/surfaces/admin/extension-points.ts +143 -0
- package/src/surfaces/admin/extension.ts +8 -0
- package/src/surfaces/admin/globals.ts +8 -0
- package/src/surfaces/admin/shared.ts +6 -0
- package/src/surfaces/admin.ts +6 -0
- package/src/surfaces/checkout/api/{cart-line-details/render-after.ts → cart-line/cart-line-details.ts} +2 -3
- package/src/surfaces/checkout/api/checkout/checkout.ts +454 -0
- package/src/surfaces/checkout/api/order-status/order-status.ts +28 -0
- package/src/surfaces/checkout/api/payment-method/render.ts +55 -0
- package/src/surfaces/checkout/api/pickup/pickup-locations.ts +8 -0
- package/src/surfaces/checkout/api/pickup/pickup-points.ts +8 -0
- package/src/surfaces/checkout/api/redeemable/render.ts +55 -0
- package/src/surfaces/checkout/api/shared.ts +57 -0
- package/src/surfaces/checkout/api/shipping/shipping-method-details.ts +15 -0
- package/src/surfaces/checkout/api/standard/README.md +100 -1
- package/src/surfaces/checkout/api/standard/standard.ts +644 -483
- package/src/surfaces/checkout/api.ts +93 -35
- package/src/surfaces/checkout/components/Banner/Banner.doc.ts +57 -0
- package/src/surfaces/checkout/components/Banner/Banner.ts +2 -2
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.ts +2 -2
- package/src/surfaces/checkout/components/BlockLayout/BlockLayout.doc.ts +50 -0
- package/src/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.ts +2 -2
- package/src/surfaces/checkout/components/BlockLayout/examples/basic-blocklayout.example.ts +16 -0
- package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.ts +47 -0
- package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts +2 -2
- package/src/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.ts +2 -2
- package/src/surfaces/checkout/components/BlockStack/BlockStack.doc.ts +60 -0
- package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +20 -2
- package/src/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.ts +2 -2
- package/src/surfaces/checkout/components/Button/Button.doc.ts +64 -0
- package/src/surfaces/checkout/components/Button/Button.ts +8 -4
- package/src/surfaces/checkout/components/Button/examples/basic-button.example.ts +2 -2
- package/src/surfaces/checkout/components/Checkbox/Checkbox.doc.ts +49 -0
- package/src/surfaces/checkout/components/Checkbox/Checkbox.ts +5 -5
- package/src/surfaces/checkout/components/Checkbox/content/guidelines.md +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.ts +2 -2
- package/src/surfaces/checkout/components/Choice/Choice.doc.ts +57 -0
- package/src/surfaces/checkout/components/Choice/Choice.ts +2 -4
- package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +2 -2
- package/src/surfaces/checkout/components/ChoiceList/ChoiceList.doc.ts +63 -0
- package/src/surfaces/checkout/components/ChoiceList/content/guidelines.md +2 -2
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +2 -2
- package/src/surfaces/checkout/components/DateField/DateField.doc.ts +49 -0
- package/src/surfaces/checkout/components/DateField/DateField.ts +50 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-datefield.example.ts +9 -0
- package/src/surfaces/checkout/components/DatePicker/DatePicker.doc.ts +50 -0
- package/src/surfaces/checkout/components/DatePicker/DatePicker.ts +81 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-datepicker.example.ts +9 -0
- package/src/surfaces/checkout/components/Disclosure/Disclosure.doc.ts +61 -0
- package/src/surfaces/checkout/components/Disclosure/Disclosure.ts +46 -0
- package/src/surfaces/checkout/components/Disclosure/examples/basic-disclosure.example.ts +19 -0
- package/src/surfaces/checkout/components/Divider/Divider.doc.ts +41 -0
- package/src/surfaces/checkout/components/Divider/Divider.ts +2 -2
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.ts +2 -2
- package/src/surfaces/checkout/components/Form/Form.doc.ts +50 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.ts +2 -2
- package/src/surfaces/checkout/components/Grid/Grid.doc.ts +57 -0
- package/src/surfaces/checkout/components/Grid/Grid.ts +24 -3
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.ts +2 -2
- package/src/surfaces/checkout/components/GridItem/GridItem.doc.ts +57 -0
- package/src/surfaces/checkout/components/GridItem/GridItem.ts +24 -3
- package/src/surfaces/checkout/components/GridItem/examples/basic-griditem.example.ts +2 -2
- package/src/surfaces/checkout/components/Heading/Heading.doc.ts +69 -0
- package/src/surfaces/checkout/components/Heading/examples/basic-heading.example.ts +2 -2
- package/src/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.ts +63 -0
- package/src/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.ts +2 -2
- package/src/surfaces/checkout/components/Icon/Icon.doc.ts +57 -0
- package/src/surfaces/checkout/components/Icon/Icon.ts +23 -11
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.ts +2 -2
- package/src/surfaces/checkout/components/Image/Image.doc.ts +49 -0
- package/src/surfaces/checkout/components/Image/Image.ts +8 -3
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +2 -2
- package/src/surfaces/checkout/components/InlineLayout/InlineLayout.doc.ts +61 -0
- package/src/surfaces/checkout/components/InlineLayout/InlineLayout.ts +8 -1
- package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.ts +2 -2
- package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlinelayout.example.ts +16 -0
- package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.ts +41 -0
- package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.ts +2 -2
- package/src/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.ts +2 -2
- package/src/surfaces/checkout/components/InlineStack/InlineStack.doc.ts +50 -0
- package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +23 -1
- package/src/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.ts +2 -2
- package/src/surfaces/checkout/components/Link/Link.doc.ts +64 -0
- package/src/surfaces/checkout/components/Link/Link.ts +9 -4
- package/src/surfaces/checkout/components/Link/examples/basic-link.example.ts +2 -2
- package/src/surfaces/checkout/components/List/List.doc.ts +58 -0
- package/src/surfaces/checkout/components/List/List.ts +2 -2
- package/src/surfaces/checkout/components/List/examples/basic-list.example.ts +2 -2
- package/src/surfaces/checkout/components/ListItem/ListItem.doc.ts +42 -0
- package/src/surfaces/checkout/components/ListItem/ListItem.ts +3 -1
- package/src/surfaces/checkout/components/ListItem/examples/basic-listitem.example.ts +2 -2
- package/src/surfaces/checkout/components/Modal/Modal.doc.ts +50 -0
- package/src/surfaces/checkout/components/Modal/Modal.ts +42 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.ts +44 -0
- package/src/surfaces/checkout/components/PhoneField/PhoneField.doc.ts +41 -0
- package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +99 -23
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.ts +2 -2
- package/src/surfaces/checkout/components/Popover/Popover.doc.ts +50 -0
- package/src/surfaces/checkout/components/Popover/Popover.ts +45 -0
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.ts +30 -0
- package/src/surfaces/checkout/components/Pressable/Pressable.doc.ts +41 -0
- package/src/surfaces/checkout/components/Pressable/Pressable.ts +25 -2
- package/src/surfaces/checkout/components/Pressable/examples/basic-pressable.example.ts +4 -4
- package/src/surfaces/checkout/components/ScrollView/ScrollView.doc.ts +41 -0
- package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +6 -1
- package/src/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.ts +2 -2
- package/src/surfaces/checkout/components/Select/Select.doc.ts +50 -0
- package/src/surfaces/checkout/components/Select/Select.ts +2 -2
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.ts +2 -2
- package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.ts +52 -0
- package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.ts +2 -3
- package/src/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.ts +2 -2
- package/src/surfaces/checkout/components/SkeletonText/SkeletonText.doc.ts +52 -0
- package/src/surfaces/checkout/components/SkeletonText/SkeletonText.ts +7 -3
- package/src/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.ts +2 -2
- package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.ts +41 -0
- package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.ts +7 -2
- package/src/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.ts +2 -2
- package/src/surfaces/checkout/components/Spinner/Spinner.doc.ts +50 -0
- package/src/surfaces/checkout/components/Spinner/Spinner.ts +2 -2
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.ts +2 -2
- package/src/surfaces/checkout/components/Stepper/Stepper.doc.ts +50 -0
- package/src/surfaces/checkout/components/Stepper/Stepper.ts +113 -21
- package/src/surfaces/checkout/components/Stepper/examples/basic-stepper.example.ts +2 -2
- package/src/surfaces/checkout/components/Tag/Tag.doc.ts +41 -0
- package/src/surfaces/checkout/components/Tag/Tag.ts +4 -4
- package/src/surfaces/checkout/components/Tag/examples/basic-tag.example.ts +2 -2
- package/src/surfaces/checkout/components/Text/Text.doc.ts +76 -0
- package/src/surfaces/checkout/components/Text/Text.ts +2 -4
- package/src/surfaces/checkout/components/Text/content/guidelines.md +1 -1
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.ts +2 -2
- package/src/surfaces/checkout/components/TextBlock/TextBlock.doc.ts +76 -0
- package/src/surfaces/checkout/components/TextBlock/TextBlock.ts +9 -9
- package/src/surfaces/checkout/components/TextBlock/content/guidelines.md +1 -1
- package/src/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.ts +6 -2
- package/src/surfaces/checkout/components/TextField/TextField.doc.ts +49 -0
- package/src/surfaces/checkout/components/TextField/TextField.ts +2 -2
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.ts +2 -2
- package/src/surfaces/checkout/components/Tooltip/Tooltip.doc.ts +50 -0
- package/src/surfaces/checkout/components/Tooltip/Tooltip.ts +3 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.ts +2 -2
- package/src/surfaces/checkout/components/View/View.doc.ts +50 -0
- package/src/surfaces/checkout/components/View/View.ts +17 -18
- package/src/surfaces/checkout/components/View/examples/basic-view.example.ts +2 -2
- package/src/surfaces/checkout/components/shared.ts +73 -18
- package/src/surfaces/checkout/components.ts +41 -16
- package/src/surfaces/checkout/extension-points.ts +245 -52
- package/src/surfaces/checkout/extension.ts +62 -3
- package/src/surfaces/checkout/globals.ts +1 -1
- package/src/surfaces/checkout/helper.docs.ts +103 -0
- package/src/surfaces/checkout/shared.ts +3 -11
- package/src/surfaces/checkout/style/examples/.eslintrc.js +8 -0
- package/src/surfaces/checkout/style/examples/defaultstyle.example.tsx +9 -0
- package/src/surfaces/checkout/style/examples/simplecondition.example.tsx +9 -0
- package/src/surfaces/checkout/style/examples/style.example.ts +18 -0
- package/src/surfaces/checkout/style/examples/style.example.tsx +16 -0
- package/src/surfaces/checkout/style/index.ts +16 -0
- package/src/surfaces/checkout/style/memoize.ts +2 -0
- package/src/surfaces/checkout/style/style.doc.ts +166 -0
- package/src/surfaces/checkout/style/style.ts +5 -0
- package/src/surfaces/checkout/style/types.ts +5 -0
- package/src/utilities/registration.ts +59 -7
- package/build/ts/surfaces/checkout/api/cart-line-details/render-after.d.ts +0 -9
- package/build/ts/surfaces/checkout/api/cart-line-details/render-after.d.ts.map +0 -1
- package/src/surfaces/checkout/api/cart-line-details/README.md +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/TextField/TextField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAEtE,OAAO,
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/TextField/TextField.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAEtE,OAAO,EAAC,YAAY,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,KAAK,IAAI,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,WAAW,CAAC;AAEtD,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,GAAG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AI,CAAC;IAC1B;;;;;;;;OAQG;IACH,OAAO,CAAC,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,SAAS;;;;CAGR,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/TextField/TextField.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA4CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Tooltip/Tooltip.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Tooltip/Tooltip.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAEvC,MAAM,WAAW,YAAa,SAAQ,OAAO;CAAG;AAEhD;;;;;;;GAOG;AACH,eAAO,MAAM,OAAO;;;;CAEnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tooltip.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/Tooltip/Tooltip.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA6CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { MaybeResponsiveConditionalStyle } from '../../style';
|
|
2
|
-
import type { BlockAlignment, BorderProps, InlineAlignment, SizingProps, SpacingProps, VisibilityProps, Display, MultiPick, ViewLikeAccessibilityRole } from '../shared';
|
|
3
|
-
type AccessibilityVisibility = 'hidden';
|
|
4
|
-
type Opacity = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
|
|
2
|
+
import type { BlockAlignment, BorderProps, InlineAlignment, SizingProps, SpacingProps, VisibilityProps, Display, MultiPick, ViewLikeAccessibilityRole, CornerProps, Opacity } from '../shared';
|
|
5
3
|
export type PositionType = 'absolute' | 'relative' | 'sticky';
|
|
6
4
|
export type Coordinate = number | `${number}%`;
|
|
7
5
|
interface BaseCoordinates {
|
|
@@ -80,14 +78,7 @@ export interface Translate {
|
|
|
80
78
|
*/
|
|
81
79
|
inline?: number | `${number}%`;
|
|
82
80
|
}
|
|
83
|
-
export interface ViewProps extends BorderProps, SizingProps, SpacingProps, VisibilityProps {
|
|
84
|
-
/**
|
|
85
|
-
* Changes the visibility of the element to assistive technologies.
|
|
86
|
-
*
|
|
87
|
-
* `hidden` hides the component from assistive technology (for example,
|
|
88
|
-
* a screen reader) but remains visually visible.
|
|
89
|
-
*/
|
|
90
|
-
accessibilityVisibility?: AccessibilityVisibility;
|
|
81
|
+
export interface ViewProps extends BorderProps, CornerProps, SizingProps, SpacingProps, VisibilityProps {
|
|
91
82
|
/**
|
|
92
83
|
* Changes the display of the View.
|
|
93
84
|
*
|
|
@@ -124,9 +115,9 @@ export interface ViewProps extends BorderProps, SizingProps, SpacingProps, Visib
|
|
|
124
115
|
*
|
|
125
116
|
* For example:
|
|
126
117
|
*
|
|
127
|
-
* - In an HTML host a `['listItem', 'separator']` tuple will render:
|
|
118
|
+
* - In an HTML host a `['listItem', 'separator']` tuple will render: `<li role='separator'>`
|
|
128
119
|
*
|
|
129
|
-
* - In an HTML host a `listItem` string will render:
|
|
120
|
+
* - In an HTML host a `listItem` string will render: `<li>`
|
|
130
121
|
*/
|
|
131
122
|
accessibilityRole?: ViewLikeAccessibilityRole;
|
|
132
123
|
/**
|
|
@@ -151,14 +142,23 @@ export interface ViewProps extends BorderProps, SizingProps, SpacingProps, Visib
|
|
|
151
142
|
* `fill`: takes all the available space.
|
|
152
143
|
*/
|
|
153
144
|
inlineSize?: MaybeResponsiveConditionalStyle<'fill'>;
|
|
145
|
+
/**
|
|
146
|
+
* Sets the overflow behavior of the element.
|
|
147
|
+
*
|
|
148
|
+
* `hidden`: clips the content when it is larger than the element’s container.
|
|
149
|
+
* The element will not be scrollable and the users will not be able
|
|
150
|
+
* to access the clipped content by dragging or using a scroll wheel.
|
|
151
|
+
*
|
|
152
|
+
* `visible`: the content that extends beyond the element’s container is visible.
|
|
153
|
+
*
|
|
154
|
+
* @default 'visible'
|
|
155
|
+
*/
|
|
156
|
+
overflow?: 'hidden' | 'visible';
|
|
154
157
|
}
|
|
155
158
|
/**
|
|
156
159
|
* View is a generic container component. Its contents will always be their
|
|
157
160
|
* “natural” size, so this component can be useful in layout components (like `Grid`,
|
|
158
161
|
* `BlockStack`, `InlineStack`) that would otherwise stretch their children to fit.
|
|
159
|
-
*
|
|
160
|
-
* Note: View’s box model related properties like `padding`, `border`, `borderRadius`, and `borderColor` are implemented as
|
|
161
|
-
* [CSS Logical Properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Logical_Properties/Basic_concepts).
|
|
162
162
|
*/
|
|
163
163
|
export declare const View: "View" & {
|
|
164
164
|
readonly type?: "View" | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/View/View.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,+BAA+B,EAAC,MAAM,aAAa,CAAC;AAC5D,OAAO,KAAK,EACV,cAAc,EACd,WAAW,EACX,eAAe,EACf,WAAW,EACX,YAAY,EACZ,eAAe,EACf,OAAO,EACP,SAAS,EACT,yBAAyB,
|
|
1
|
+
{"version":3,"file":"View.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/View/View.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC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E,MAAM,CAAC;IAEZ;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;;;;;;;;;;OAWG;IACH,iBAAiB,CAAC,EAAE,yBAAyB,CAAC;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,+BAA+B,CAAC,QAAQ,CAAC,CAAC;IACrD;;OAEG;IACH,SAAS,CAAC,EAAE,+BAA+B,CAAC,SAAS,CAAC,CAAC;IACvD;;OAEG;IACH,cAAc,CAAC,EAAE,+BAA+B,CAC9C,OAAO,CAAC,cAAc,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC,CACpD,CAAC;IACF;;OAEG;IACH,eAAe,CAAC,EAAE,+BAA+B,CAAC,eAAe,CAAC,CAAC;IACnE;;;;OAIG;IACH,UAAU,CAAC,EAAE,+BAA+B,CAAC,MAAM,CAAC,CAAC;IACrD;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;CACjC;AAED;;;;GAIG;AACH,eAAO,MAAM,IAAI;;;;CAAmD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"View.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/View/View.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA6CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -23,10 +23,20 @@ export type Breakpoint = 'base' | 'small' | 'medium' | 'large';
|
|
|
23
23
|
export type Display = 'block' | 'inline';
|
|
24
24
|
export type ShorthandProperty<T> = [T, T] | [T, T, T, T];
|
|
25
25
|
export type MaybeShorthandProperty<T> = T | ShorthandProperty<T>;
|
|
26
|
+
/** @deprecated These values are deprecated and will eventually be removed.
|
|
27
|
+
* Use CornerRadius instead
|
|
28
|
+
*/
|
|
26
29
|
export type BorderRadius = 'base' | 'tight' | 'loose' | 'fullyRounded' | 'none';
|
|
27
30
|
export type BorderStyle = 'base' | 'dotted' | 'none';
|
|
28
31
|
export type BorderWidth = 'base' | 'medium';
|
|
29
|
-
export type CornerRadius = 'base' | 'small' | 'large' | 'fullyRounded' | 'none';
|
|
32
|
+
export type CornerRadius = 'base' | 'small' | 'large' | 'fullyRounded' | 'none' | CornerRadiusDeprecated;
|
|
33
|
+
/** @deprecated These values are deprecated and will eventually be removed.
|
|
34
|
+
* Use the new values.
|
|
35
|
+
*
|
|
36
|
+
* `tight`: `small`
|
|
37
|
+
* `loose`: `large`
|
|
38
|
+
*/
|
|
39
|
+
export type CornerRadiusDeprecated = 'tight' | 'loose';
|
|
30
40
|
export interface BackgroundProps {
|
|
31
41
|
/**
|
|
32
42
|
* Adjust the background.
|
|
@@ -83,26 +93,30 @@ export interface BorderProps {
|
|
|
83
93
|
* - `['base', 'medium', 'medium', 'base']` means blockStart border width is `base`, inlineEnd border width is `medium`, blockEnd border width is `medium` and blockStart border width is `base`
|
|
84
94
|
*/
|
|
85
95
|
borderWidth?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<BorderWidth>>;
|
|
96
|
+
}
|
|
97
|
+
export interface CornerProps {
|
|
86
98
|
/**
|
|
99
|
+
* @private
|
|
100
|
+
*
|
|
87
101
|
* Adjust the border radius.
|
|
88
102
|
*
|
|
89
|
-
*
|
|
103
|
+
* Provide a single value to apply the same border radius to all four corners, two values to apply different border radii to opposing corners, or four values to apply different border radii to each individual corner.
|
|
90
104
|
*
|
|
91
105
|
* For example:
|
|
92
106
|
*
|
|
93
|
-
* - `base` means
|
|
107
|
+
* - `base` means all 4 border radii are `base`
|
|
94
108
|
*
|
|
95
|
-
* - `['base', 'none']` means
|
|
109
|
+
* - `['base', 'none']` means the StartStart and EndEnd border radii are `base`, StartEnd and EndStart border radii are `none`.
|
|
110
|
+
* When the context’s language direction is left to right, StartStart and EndEnd borders are the top left and bottom right borders
|
|
111
|
+
* while StartEnd and EndStart borders are the top right and bottom left borders.
|
|
96
112
|
*
|
|
97
|
-
* - `['base', 'none', '
|
|
113
|
+
* - `['base', 'none', 'small', 'base']` means StartStart border radius is `base`, StartEnd border radius is `none`, EndEnd border radius is `small` and EndStart border radius is `base`
|
|
98
114
|
*/
|
|
99
|
-
borderRadius?:
|
|
100
|
-
}
|
|
101
|
-
export interface CornerProps {
|
|
115
|
+
borderRadius?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<CornerRadius>>;
|
|
102
116
|
/**
|
|
103
117
|
* Adjust the corner radius.
|
|
104
118
|
*
|
|
105
|
-
*
|
|
119
|
+
* Provide a single value to apply the same corner radius to all four corners, two values to apply different corner radii to opposing corners, or four values to apply different corner radii to each individual corner.
|
|
106
120
|
*
|
|
107
121
|
* For example:
|
|
108
122
|
*
|
|
@@ -113,6 +127,8 @@ export interface CornerProps {
|
|
|
113
127
|
* while StartEnd and EndStart corners are the top right and bottom left corners.
|
|
114
128
|
*
|
|
115
129
|
* - `['base', 'none', 'small', 'base']` means StartStart corner radius is `base`, StartEnd corner radius is `none`, EndEnd corner radius is `small` and EndStart corner radius is `base`
|
|
130
|
+
*
|
|
131
|
+
* A `borderRadius` alias is available for this property. When both are specified, `cornerRadius` takes precedence.
|
|
116
132
|
*/
|
|
117
133
|
cornerRadius?: MaybeResponsiveConditionalStyle<MaybeShorthandProperty<CornerRadius>>;
|
|
118
134
|
}
|
|
@@ -292,7 +308,7 @@ export type Status =
|
|
|
292
308
|
*/
|
|
293
309
|
| 'critical';
|
|
294
310
|
export type Size = 'extraSmall' | 'small' | 'base' | 'large' | 'extraLarge' | 'fill';
|
|
295
|
-
export type Spacing = 'none' | '
|
|
311
|
+
export type Spacing = 'none' | 'base' | 'extraTight' | 'tight' | 'loose' | 'extraLoose';
|
|
296
312
|
export type Alignment = 'start' | 'center' | 'end';
|
|
297
313
|
export type InlineAlignment = 'start' | 'center' | 'end';
|
|
298
314
|
export type BlockAlignment = Alignment | 'baseline';
|
|
@@ -301,21 +317,21 @@ export type BackgroundFit = 'cover' | 'contain';
|
|
|
301
317
|
export type BackgroundPosition = 'top' | 'bottom' | 'left' | 'right' | 'center';
|
|
302
318
|
export type BackgroundRepeat = 'repeat' | 'noRepeat';
|
|
303
319
|
export type Appearance =
|
|
304
|
-
/**
|
|
320
|
+
/** Conveys emphasis and draws attention to the element.*/
|
|
305
321
|
'accent'
|
|
306
|
-
/**
|
|
322
|
+
/** Conveys that the element is pressable, hoverable or otherwise interactive.*/
|
|
307
323
|
| 'interactive'
|
|
308
|
-
/**
|
|
324
|
+
/** Conveys a subdued or disabled state for the element.*/
|
|
309
325
|
| 'subdued'
|
|
310
|
-
/**
|
|
326
|
+
/** Conveys that the element is informative or has information.*/
|
|
311
327
|
| 'info'
|
|
312
|
-
/**
|
|
328
|
+
/** Convey a successful interaction.*/
|
|
313
329
|
| 'success'
|
|
314
|
-
/**
|
|
330
|
+
/** Convey something needs attention or an action needs to be taken.*/
|
|
315
331
|
| 'warning'
|
|
316
|
-
/**
|
|
332
|
+
/** Conveys a problem has arisen.*/
|
|
317
333
|
| 'critical'
|
|
318
|
-
/**
|
|
334
|
+
/** Takes the color of its parent.*/
|
|
319
335
|
| 'monochrome';
|
|
320
336
|
export type Direction = 'inline' | 'block';
|
|
321
337
|
export type Fit =
|
|
@@ -388,6 +404,7 @@ export type MultiPick<Base, AcceptedCombinations extends (keyof Base)[]> = {
|
|
|
388
404
|
};
|
|
389
405
|
}[number];
|
|
390
406
|
export type Visibility = 'hidden';
|
|
407
|
+
export type AccessibilityVisibility = 'hidden';
|
|
391
408
|
export interface VisibilityProps {
|
|
392
409
|
/**
|
|
393
410
|
* Changes the visibility of the element.
|
|
@@ -397,6 +414,13 @@ export interface VisibilityProps {
|
|
|
397
414
|
* Hidden elements don't take any visual space contrary to CSS visibility: hidden;
|
|
398
415
|
*/
|
|
399
416
|
visibility?: Visibility;
|
|
417
|
+
/**
|
|
418
|
+
* Changes the visibility of the element to assistive technologies.
|
|
419
|
+
*
|
|
420
|
+
* `hidden` hides the component from assistive technology (for example,
|
|
421
|
+
* a screen reader) but remains visually visible.
|
|
422
|
+
*/
|
|
423
|
+
accessibilityVisibility?: AccessibilityVisibility;
|
|
400
424
|
}
|
|
401
425
|
export interface OverlayActivatorProps {
|
|
402
426
|
/**
|
|
@@ -404,4 +428,19 @@ export interface OverlayActivatorProps {
|
|
|
404
428
|
*/
|
|
405
429
|
overlay?: RemoteFragment;
|
|
406
430
|
}
|
|
431
|
+
export interface DisclosureActivatorProps {
|
|
432
|
+
/**
|
|
433
|
+
* The component's identifier whose visibility will be toggled when this component is actioned.
|
|
434
|
+
*/
|
|
435
|
+
toggles?: string;
|
|
436
|
+
}
|
|
437
|
+
export type DisclosureOpen = boolean | string | string[];
|
|
438
|
+
export type Opacity = 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90;
|
|
439
|
+
export type TextSize = Extract<Size, 'extraSmall' | 'small' | 'base' | 'large' | 'extraLarge'> | 'medium';
|
|
440
|
+
export interface IdProps {
|
|
441
|
+
/**
|
|
442
|
+
* A unique identifier for the component.
|
|
443
|
+
*/
|
|
444
|
+
id?: string;
|
|
445
|
+
}
|
|
407
446
|
//# sourceMappingURL=shared.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/components/shared.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,iBAAiB,CAAC;AAE/C,OAAO,EAAC,qBAAqB,EAAE,+BAA+B,EAAC,MAAM,UAAU,CAAC;AAEhF;;;;;;GAMG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AAED,MAAM,MAAM,iBAAiB,GAAG,UAAU,GAAG,SAAS,GA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EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAEjE,MAAM,MAAM,QAAQ,GAChB,OAAO,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO,GAAG,YAAY,CAAC,GACvE,QAAQ,CAAC;AAEb,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -14,6 +14,12 @@ export { Choice } from './components/Choice/Choice';
|
|
|
14
14
|
export type { ChoiceProps } from './components/Choice/Choice';
|
|
15
15
|
export { ChoiceList } from './components/ChoiceList/ChoiceList';
|
|
16
16
|
export type { ChoiceListProps } from './components/ChoiceList/ChoiceList';
|
|
17
|
+
export { DatePicker } from './components/DatePicker/DatePicker';
|
|
18
|
+
export type { DatePickerProps, DayString, DateString, DisabledDate, DateRange, SelectedDate, YearMonth, } from './components/DatePicker/DatePicker';
|
|
19
|
+
export { DateField } from './components/DateField/DateField';
|
|
20
|
+
export type { DateFieldProps } from './components/DateField/DateField';
|
|
21
|
+
export { Disclosure } from './components/Disclosure/Disclosure';
|
|
22
|
+
export type { DisclosureProps } from './components/Disclosure/Disclosure';
|
|
17
23
|
export { Divider } from './components/Divider/Divider';
|
|
18
24
|
export type { DividerProps } from './components/Divider/Divider';
|
|
19
25
|
export { Form } from './components/Form/Form';
|
|
@@ -27,7 +33,7 @@ export type { HeadingProps } from './components/Heading/Heading';
|
|
|
27
33
|
export { HeadingGroup } from './components/HeadingGroup/HeadingGroup';
|
|
28
34
|
export type { HeadingGroupProps } from './components/HeadingGroup/HeadingGroup';
|
|
29
35
|
export { Icon } from './components/Icon/Icon';
|
|
30
|
-
export type { IconProps } from './components/Icon/Icon';
|
|
36
|
+
export type { IconProps, IconSource } from './components/Icon/Icon';
|
|
31
37
|
export { Image } from './components/Image/Image';
|
|
32
38
|
export type { ImageProps } from './components/Image/Image';
|
|
33
39
|
export { InlineLayout } from './components/InlineLayout/InlineLayout';
|
|
@@ -42,14 +48,18 @@ export { List } from './components/List/List';
|
|
|
42
48
|
export type { ListProps } from './components/List/List';
|
|
43
49
|
export { ListItem } from './components/ListItem/ListItem';
|
|
44
50
|
export type { ListItemProps } from './components/ListItem/ListItem';
|
|
51
|
+
export { Modal } from './components/Modal/Modal';
|
|
52
|
+
export type { ModalProps } from './components/Modal/Modal';
|
|
45
53
|
export { PhoneField } from './components/PhoneField/PhoneField';
|
|
46
54
|
export type { PhoneFieldProps } from './components/PhoneField/PhoneField';
|
|
47
55
|
export { Pressable } from './components/Pressable/Pressable';
|
|
48
56
|
export type { PressableProps } from './components/Pressable/Pressable';
|
|
57
|
+
export { Popover } from './components/Popover/Popover';
|
|
58
|
+
export type { PopoverProps, PopoverPosition } from './components/Popover/Popover';
|
|
49
59
|
export { ScrollView } from './components/ScrollView/ScrollView';
|
|
50
60
|
export type { ScrollViewProps, ScrollViewEvent, } from './components/ScrollView/ScrollView';
|
|
51
61
|
export { Select } from './components/Select/Select';
|
|
52
|
-
export type { SelectProps } from './components/Select/Select';
|
|
62
|
+
export type { SelectProps, SelectOptionProps } from './components/Select/Select';
|
|
53
63
|
export { SkeletonImage } from './components/SkeletonImage/SkeletonImage';
|
|
54
64
|
export type { SkeletonImageProps } from './components/SkeletonImage/SkeletonImage';
|
|
55
65
|
export { SkeletonText } from './components/SkeletonText/SkeletonText';
|
|
@@ -72,5 +82,5 @@ export { Tooltip } from './components/Tooltip/Tooltip';
|
|
|
72
82
|
export type { TooltipProps } from './components/Tooltip/Tooltip';
|
|
73
83
|
export { View } from './components/View/View';
|
|
74
84
|
export type { ViewProps, Coordinate as ViewCoordinate, Position as ViewPosition, PositionType as ViewPositionType, Translate as ViewTranslate, } from './components/View/View';
|
|
75
|
-
export type { AccessibilityRole,
|
|
85
|
+
export type { AccessibilityRole, Alignment, Appearance, Autocomplete, AutocompleteField, AutocompleteGroup, Background, BackgroundFit, BackgroundPosition, BackgroundProps, BackgroundRepeat, BlockAlignment, BorderProps, BorderRadius, BorderStyle, BorderWidth, Breakpoint, Columns, CornerRadius, CornerProps, DisclosureActivatorProps, DisclosureOpen, Fit, GridItemSize, InlineAlignment, MaybeShorthandProperty, NonPresentationalAccessibilityRole, OverlayActivatorProps, Rows, ShorthandProperty, Status, Size, Spacing, SizingProps, SpacingProps, ViewLikeAccessibilityRole, VisibilityProps, } from './components/shared';
|
|
76
86
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/checkout/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,YAAY,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAC,WAAW,EAAC,MAAM,sCAAsC,CAAC;AACjE,YAAY,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAC,WAAW,EAAC,MAAM,sCAAsC,CAAC;AACjE,YAAY,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AAE3E,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,YAAY,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,YAAY,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAC,QAAQ,EAAC,MAAM,gCAAgC,CAAC;AACxD,YAAY,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAElE,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,YAAY,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,YAAY,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AAExE,OAAO,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CAAC;AAErE,OAAO,EAAC,SAAS,EAAC,MAAM,kCAAkC,CAAC;AAC3D,YAAY,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAC;AAErE,OAAO,EAAC,OAAO,EAAC,MAAM,8BAA8B,CAAC;AACrD,YAAY,EAAC,YAAY,EAAC,MAAM,8BAA8B,CAAC;AAE/D,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAC;AAC5C,YAAY,EACV,SAAS,EACT,UAAU,IAAI,cAAc,EAC5B,QAAQ,IAAI,YAAY,EACxB,YAAY,IAAI,gBAAgB,EAChC,SAAS,IAAI,aAAa,GAC3B,MAAM,wBAAwB,CAAC;AAEhC,YAAY,EACV,iBAAiB,EACjB,SAAS,EACT,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,WAAW,EACX,WAAW,EACX,UAAU,EACV,OAAO,EACP,YAAY,EACZ,WAAW,EACX,wBAAwB,EACxB,cAAc,EACd,GAAG,EACH,YAAY,EACZ,eAAe,EACf,sBAAsB,EACtB,kCAAkC,EAClC,qBAAqB,EACrB,IAAI,EACJ,iBAAiB,EACjB,MAAM,EACN,IAAI,EACJ,OAAO,EACP,WAAW,EACX,YAAY,EACZ,yBAAyB,EACzB,eAAe,GAChB,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,60 +1,170 @@
|
|
|
1
|
-
import
|
|
2
|
-
import type {
|
|
3
|
-
|
|
1
|
+
import { RenderExtension } from './extension';
|
|
2
|
+
import type { CartLineDetailsApi, PaymentMethodRenderApi, PickupLocationsApi, RedeemableRenderApi, ShippingMethodDetailsApi, PickupPointsApi, StandardApi, CheckoutApi, OrderStatusApi } from './api';
|
|
3
|
+
type Components = typeof import('./components');
|
|
4
|
+
type AllComponents = Components[keyof Components];
|
|
5
|
+
/**
|
|
6
|
+
* A UI extension will register for one or more extension points using `shopify.extend()`.
|
|
7
|
+
* An extension point in a UI extension is a plain JavaScript function.
|
|
8
|
+
* This function receives some API for interacting with the application,
|
|
9
|
+
* and is expected to return a value in a specific shape.
|
|
10
|
+
* The input arguments and the output type are different
|
|
11
|
+
* for each extension point.
|
|
12
|
+
*/
|
|
4
13
|
export interface ExtensionPoints {
|
|
5
14
|
/**
|
|
6
|
-
* A
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
*
|
|
11
|
-
* by [using a URL parameter](https://shopify.dev/apps/checkout/test-ui-extensions#dynamic-extension-points).
|
|
15
|
+
* A static extension point that is rendered immediately before any actions within each step.
|
|
16
|
+
*/
|
|
17
|
+
'Checkout::Actions::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::Actions::RenderBefore'>, AllComponents>;
|
|
18
|
+
/**
|
|
19
|
+
* A static extension point that is rendered after all line items.
|
|
12
20
|
*/
|
|
13
|
-
'Checkout::
|
|
21
|
+
'Checkout::CartLines::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::CartLines::RenderAfter'> & OrderStatusApi, AllComponents>;
|
|
14
22
|
/**
|
|
15
23
|
* A static extension point that renders on every line item, inside the details
|
|
16
24
|
* under the line item properties element.
|
|
17
25
|
*/
|
|
18
|
-
'Checkout::CartLineDetails::RenderAfter': RenderExtension<
|
|
26
|
+
'Checkout::CartLineDetails::RenderAfter': RenderExtension<CheckoutApi & CartLineDetailsApi & StandardApi<'Checkout::CartLineDetails::RenderAfter'> & OrderStatusApi, AllComponents>;
|
|
19
27
|
/**
|
|
20
|
-
* A static extension point that is rendered after
|
|
28
|
+
* A static extension point that is rendered immediately after the contact form element.
|
|
29
|
+
*/
|
|
30
|
+
'Checkout::Contact::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::Contact::RenderAfter'>, AllComponents>;
|
|
31
|
+
/**
|
|
32
|
+
* A static extension point that is rendered after a purchase below the customer information.
|
|
21
33
|
*/
|
|
22
|
-
'Checkout::
|
|
34
|
+
'Checkout::CustomerInformation::RenderAfter': RenderExtension<OrderStatusApi & CheckoutApi & StandardApi<'Checkout::CustomerInformation::RenderAfter'>, AllComponents>;
|
|
23
35
|
/**
|
|
24
36
|
* A static extension point that is rendered between the shipping address header
|
|
25
37
|
* and shipping address form elements.
|
|
26
38
|
*/
|
|
27
|
-
'Checkout::DeliveryAddress::RenderBefore': RenderExtension<StandardApi<'Checkout::DeliveryAddress::RenderBefore'>,
|
|
39
|
+
'Checkout::DeliveryAddress::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::DeliveryAddress::RenderBefore'>, AllComponents>;
|
|
40
|
+
/**
|
|
41
|
+
* A [dynamic extension point](https://shopify.dev/docs/api/checkout-ui-extensions/extension-points-overview#dynamic-extension-points) that isn't tied to a specific checkout section or feature.
|
|
42
|
+
* Unlike static extension points, dynamic extension points render where the merchant
|
|
43
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
44
|
+
*
|
|
45
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-points-overview#supported-locations) for dynamic extension points can be previewed during development
|
|
46
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-points).
|
|
47
|
+
*/
|
|
48
|
+
'Checkout::Dynamic::Render': RenderExtension<CheckoutApi & OrderStatusApi & StandardApi<'Checkout::Dynamic::Render'>, AllComponents>;
|
|
49
|
+
/**
|
|
50
|
+
* A [dynamic extension point](https://shopify.dev/docs/api/checkout-ui-extensions/extension-points-overview#dynamic-extension-points) that renders exclusively on the Thank You Page.
|
|
51
|
+
* Unlike static extension points, dynamic extension points render where the merchant
|
|
52
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
53
|
+
*
|
|
54
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-points-overview#supported-locations) for dynamic extension points can be previewed during development
|
|
55
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-points).
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
'Checkout::ThankYou::Dynamic::Render': RenderExtension<StandardApi<'Checkout::ThankYou::Dynamic::Render'>, AllComponents>;
|
|
59
|
+
/**
|
|
60
|
+
* A static extension point that renders on every line item, inside the details
|
|
61
|
+
* under the line item properties element on the Thank You Page.
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
'Checkout::ThankYou::CartLineDetails::RenderAfter': RenderExtension<CartLineDetailsApi & StandardApi<'Checkout::ThankYou::CartLineDetails::RenderAfter'>, AllComponents>;
|
|
65
|
+
/**
|
|
66
|
+
* A static extension point that is rendered after all line items on the Thank You page.
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
'Checkout::ThankYou::CartLines::RenderAfter': RenderExtension<StandardApi<'Checkout::ThankYou::CartLines::RenderAfter'>, AllComponents>;
|
|
70
|
+
/**
|
|
71
|
+
* A static extension point that is rendered after a purchase below the customer information on the Thank You page.
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
'Checkout::ThankYou::CustomerInformation::RenderAfter': RenderExtension<StandardApi<'Checkout::ThankYou::CustomerInformation::RenderAfter'>, AllComponents>;
|
|
75
|
+
/**
|
|
76
|
+
* A [dynamic extension point](https://shopify.dev/docs/api/checkout-ui-extensions/extension-points-overview#dynamic-extension-points) that renders exclusively on the Order Status Page.
|
|
77
|
+
* Unlike static extension points, dynamic extension points render where the merchant
|
|
78
|
+
* sets them using the [checkout editor](https://shopify.dev/apps/checkout/test-ui-extensions#test-the-extension-in-the-checkout-editor).
|
|
79
|
+
*
|
|
80
|
+
* The [supported locations](https://shopify.dev/docs/api/checkout-ui-extensions/extension-points-overview#supported-locations) for dynamic extension points can be previewed during development
|
|
81
|
+
* by [using a URL parameter](https://shopify.dev/docs/apps/checkout/best-practices/testing-ui-extensions#dynamic-extension-points).
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
'Checkout::OrderStatus::Dynamic::Render': RenderExtension<OrderStatusApi & StandardApi<'Checkout::OrderStatus::Dynamic::Render'>, AllComponents>;
|
|
85
|
+
/**
|
|
86
|
+
* A static extension point that renders on every line item, inside the details
|
|
87
|
+
* under the line item properties element on the Order Status Page.
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
'Checkout::OrderStatus::CartLineDetails::RenderAfter': RenderExtension<CartLineDetailsApi & OrderStatusApi & StandardApi<'Checkout::OrderStatus::CartLineDetails::RenderAfter'>, AllComponents>;
|
|
91
|
+
/**
|
|
92
|
+
* A static extension point that is rendered after all line items on the Order Status page.
|
|
93
|
+
*
|
|
94
|
+
*/
|
|
95
|
+
'Checkout::OrderStatus::CartLines::RenderAfter': RenderExtension<OrderStatusApi & StandardApi<'Checkout::OrderStatus::CartLines::RenderAfter'>, AllComponents>;
|
|
96
|
+
/**
|
|
97
|
+
* A static extension point that is rendered after a purchase below the customer information on the Order Status page.
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
'Checkout::OrderStatus::CustomerInformation::RenderAfter': RenderExtension<OrderStatusApi & StandardApi<'Checkout::OrderStatus::CustomerInformation::RenderAfter'>, AllComponents>;
|
|
101
|
+
/**
|
|
102
|
+
* A static extension point that renders the gift card entry form fields after
|
|
103
|
+
* the buyer ticks a box to use a gift card. This does not replace the
|
|
104
|
+
* native gift card entry form which is rendered in a separate part of checkout.
|
|
105
|
+
*
|
|
106
|
+
* @private
|
|
107
|
+
*/
|
|
108
|
+
'Checkout::GiftCard::Render': RenderExtension<RedeemableRenderApi & CheckoutApi & StandardApi<'Checkout::GiftCard::Render'>, AllComponents>;
|
|
109
|
+
/**
|
|
110
|
+
* A static extension point that renders the form fields for a payment method when selected by the buyer.
|
|
111
|
+
*
|
|
112
|
+
* @private
|
|
113
|
+
*/
|
|
114
|
+
'Checkout::PaymentMethod::Render': RenderExtension<PaymentMethodRenderApi & CheckoutApi & StandardApi<'Checkout::PaymentMethod::Render'>, AllComponents>;
|
|
115
|
+
/**
|
|
116
|
+
* A static extension point that renders a form modal when a buyer selects the custom onsite payment method.
|
|
117
|
+
*
|
|
118
|
+
* @private
|
|
119
|
+
*/
|
|
120
|
+
'Checkout::PaymentMethod::RenderRequiredAction': RenderExtension<CheckoutApi & StandardApi<'Checkout::PaymentMethod::RenderRequiredAction'>, AllComponents>;
|
|
121
|
+
/**
|
|
122
|
+
* A static extension point that is rendered in the order summary, before the discount form element.
|
|
123
|
+
*/
|
|
124
|
+
'Checkout::Reductions::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::Reductions::RenderBefore'>, AllComponents>;
|
|
125
|
+
/**
|
|
126
|
+
* A static extension point that is rendered in the order summary, after the discount form
|
|
127
|
+
* and discount tag elements.
|
|
128
|
+
*/
|
|
129
|
+
'Checkout::Reductions::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::Reductions::RenderAfter'>, AllComponents>;
|
|
28
130
|
/**
|
|
29
131
|
* A static extension point that is rendered between the shipping method
|
|
30
132
|
* header and shipping method options.
|
|
31
133
|
*/
|
|
32
|
-
'Checkout::ShippingMethods::RenderBefore': RenderExtension<StandardApi<'Checkout::ShippingMethods::RenderBefore'>,
|
|
134
|
+
'Checkout::ShippingMethods::RenderBefore': RenderExtension<CheckoutApi & StandardApi<'Checkout::ShippingMethods::RenderBefore'>, AllComponents>;
|
|
33
135
|
/**
|
|
34
136
|
* A static extension point that is rendered after the shipping method
|
|
35
137
|
* options.
|
|
36
138
|
*/
|
|
37
|
-
'Checkout::ShippingMethods::RenderAfter': RenderExtension<StandardApi<'Checkout::ShippingMethods::RenderAfter'>,
|
|
139
|
+
'Checkout::ShippingMethods::RenderAfter': RenderExtension<CheckoutApi & StandardApi<'Checkout::ShippingMethods::RenderAfter'>, AllComponents>;
|
|
38
140
|
/**
|
|
39
|
-
* A static extension point that is rendered
|
|
141
|
+
* A static extension point that is rendered before pickup location options.
|
|
40
142
|
*/
|
|
41
|
-
'Checkout::
|
|
143
|
+
'Checkout::PickupLocations::RenderBefore': RenderExtension<PickupLocationsApi & CheckoutApi & StandardApi<'Checkout::PickupLocations::RenderBefore'>, AllComponents>;
|
|
42
144
|
/**
|
|
43
|
-
* A static extension point that is rendered
|
|
44
|
-
* and discount tag elements.
|
|
145
|
+
* A static extension point that is rendered after pickup location options.
|
|
45
146
|
*/
|
|
46
|
-
'Checkout::
|
|
147
|
+
'Checkout::PickupLocations::RenderAfter': RenderExtension<PickupLocationsApi & CheckoutApi & StandardApi<'Checkout::PickupLocations::RenderAfter'>, AllComponents>;
|
|
47
148
|
/**
|
|
48
|
-
* A static extension point that is rendered
|
|
149
|
+
* A static extension point that is rendered after the shipping method
|
|
150
|
+
* details within the shipping method option list, for each option.
|
|
49
151
|
*/
|
|
50
|
-
'Checkout::
|
|
152
|
+
'Checkout::ShippingMethodDetails::RenderAfter': RenderExtension<ShippingMethodDetailsApi & CheckoutApi & StandardApi<'Checkout::ShippingMethodDetails::RenderAfter'>, AllComponents>;
|
|
51
153
|
/**
|
|
52
|
-
* A static extension point that is rendered
|
|
154
|
+
* A static extension point that is rendered under the shipping method
|
|
155
|
+
* within the shipping method option list, for each option.
|
|
156
|
+
*/
|
|
157
|
+
'Checkout::ShippingMethodDetails::RenderExpanded': RenderExtension<ShippingMethodDetailsApi & CheckoutApi & StandardApi<'Checkout::ShippingMethodDetails::RenderExpanded'>, AllComponents>;
|
|
158
|
+
/**
|
|
159
|
+
* A static extension point that is rendered immediately before the pickup points.
|
|
160
|
+
*/
|
|
161
|
+
'Checkout::PickupPoints::RenderBefore': RenderExtension<PickupPointsApi & CheckoutApi & StandardApi<'Checkout::PickupPoints::RenderBefore'>, AllComponents>;
|
|
162
|
+
/**
|
|
163
|
+
* A static extension point that is rendered immediately after the pickup points.
|
|
53
164
|
*/
|
|
54
|
-
'Checkout::
|
|
165
|
+
'Checkout::PickupPoints::RenderAfter': RenderExtension<PickupPointsApi & CheckoutApi & StandardApi<'Checkout::PickupPoints::RenderAfter'>, AllComponents>;
|
|
55
166
|
}
|
|
56
167
|
export type ExtensionPoint = keyof ExtensionPoints;
|
|
57
|
-
export type ExtensionForExtensionPoint<T extends ExtensionPoint> = ExtensionPoints[T];
|
|
58
168
|
/**
|
|
59
169
|
* For a given extension point, returns the value that is expected to be
|
|
60
170
|
* returned by that extension point’s callback type.
|