@shopify/ui-extensions 2025.10.0-rc.8 → 2025.10.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/build/cjs/surfaces/checkout/preact/api.js +5 -1
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
- package/build/cjs/surfaces/checkout/shared.js +35 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +5 -1
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
- package/build/esm/surfaces/checkout/shared.mjs +31 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +5 -1
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
- package/build/esnext/surfaces/checkout/shared.esnext +31 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DateField.d.ts +4 -0
- package/build/ts/docs/shared/components/DateField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Details.d.ts +4 -0
- package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Summary.d.ts +4 -0
- package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/index.d.ts +12 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +14 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +132 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +8 -8
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +128 -0
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +8 -5
- package/build/ts/surfaces/admin/components/Banner.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +41 -36
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +121 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +109 -56
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +240 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +242 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +48 -36
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +148 -34
- package/build/ts/surfaces/admin/components/GridItem.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +8 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +95 -55
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -39
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +139 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +227 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/build/ts/surfaces/admin/components/NumberField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +33 -7
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +49 -33
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +117 -41
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +22 -27
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +16 -15
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +6 -4
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +5 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -33
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -34
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +1212 -737
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -3497
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -3497
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -3497
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +20 -4
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +63 -40
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -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/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -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/DateField.d.ts +87 -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/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Details.d.ts +85 -0
- 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/Divider.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +11 -8
- 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/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Map.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +31 -17
- 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/Popover.d.ts +116 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.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/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +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/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/checkout/components/components.d.ts +1947 -530
- package/build/ts/surfaces/checkout/extension-targets.d.ts +64 -60
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +36 -5
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +68 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout.d.ts +3 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +54 -40
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/customer-account/components/Form.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/Map.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/customer-account/components/components.d.ts +1947 -530
- package/build/ts/surfaces/customer-account/components/shared.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +12 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +165 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +37 -5
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +12 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/ConsentCheckbox.ts +12 -0
- package/src/docs/shared/components/ConsentPhoneField.ts +12 -0
- package/src/docs/shared/components/DateField.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Details.ts +12 -0
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +2 -2
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
- package/src/docs/shared/components/Summary.ts +12 -0
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/components/index.ts +12 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +16 -1
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api/intents/examples/create-article.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-catalog.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-collection.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-customer.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-market.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-menu.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-page.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-product.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-variant.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-article.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-catalog.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-collection.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-customer.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-market.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-menu.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-page.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-product.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-variant.js +11 -0
- package/src/surfaces/admin/api/intents/intents.ts +153 -0
- package/src/surfaces/admin/api/standard/standard.ts +9 -7
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +128 -0
- package/src/surfaces/admin/components/Badge.d.ts +8 -5
- package/src/surfaces/admin/components/Banner.d.ts +22 -28
- package/src/surfaces/admin/components/Box.d.ts +76 -24
- package/src/surfaces/admin/components/Button.d.ts +41 -36
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +121 -0
- package/src/surfaces/admin/components/Choice.d.ts +10 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/src/surfaces/admin/components/Clickable.d.ts +109 -56
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +240 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
- package/src/surfaces/admin/components/DateField.d.ts +242 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/EmailField.d.ts +27 -33
- package/src/surfaces/admin/components/Form.d.ts +48 -36
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +148 -34
- package/src/surfaces/admin/components/GridItem.d.ts +76 -24
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +8 -4
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Image.d.ts +95 -55
- package/src/surfaces/admin/components/Link.d.ts +35 -39
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +139 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +227 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/src/surfaces/admin/components/NumberField.d.ts +27 -33
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +33 -7
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +4 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/src/surfaces/admin/components/SearchField.d.ts +27 -33
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +49 -33
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +117 -41
- package/src/surfaces/admin/components/StandardComponents.ts +9 -0
- package/src/surfaces/admin/components/Switch.d.ts +22 -27
- package/src/surfaces/admin/components/Table.d.ts +16 -15
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +18 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/src/surfaces/admin/components/TableRow.d.ts +6 -4
- package/src/surfaces/admin/components/Text.d.ts +5 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -33
- package/src/surfaces/admin/components/TextField.d.ts +28 -34
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/src/surfaces/admin/components/URLField.d.ts +27 -33
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +16 -16
- package/src/surfaces/admin/components/patterns/examples/details.jsx +13 -20
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +26 -59
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +26 -63
- package/src/surfaces/admin/components/patterns/examples/index.html +26 -34
- package/src/surfaces/admin/components/patterns/examples/index.jsx +23 -35
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +127 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +168 -215
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +169 -311
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +8 -10
- package/src/surfaces/admin/components/shared.d.ts +1212 -737
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +3311 -1293
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/admin/extension-targets.ts +11 -10
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
- package/src/surfaces/checkout/api/checkout/checkout.ts +14 -4
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -4
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -4
- package/src/surfaces/checkout/api/standard/standard.ts +65 -41
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +57 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Banner.d.ts +9 -6
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Button.d.ts +10 -5
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/checkout/components/Details.d.ts +85 -0
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
- package/src/surfaces/checkout/components/Divider.d.ts +46 -0
- package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
- package/src/surfaces/checkout/components/Form.d.ts +11 -8
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +4 -3
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -5
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
- package/src/surfaces/checkout/components/Map.d.ts +11 -8
- package/src/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +1 -1
- package/src/surfaces/checkout/components/Modal.d.ts +22 -18
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/src/surfaces/checkout/components/NumberField/examples/basic-number-field.example.html +8 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/checkout/components/Popover.d.ts +116 -0
- package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/{basic-productthumbnail.example.html → basic-product-thumbnail.example.html} +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
- package/src/surfaces/checkout/components/Stack.d.ts +4 -4
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
- package/src/surfaces/checkout/components/TextArea/examples/{basic-textarea.example.html → basic-text-area.example.html} +1 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +4 -0
- package/src/surfaces/checkout/components/TextField.d.ts +35 -20
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Time.d.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/src/surfaces/checkout/components/components.d.ts +1947 -530
- package/src/surfaces/checkout/extension-targets.ts +70 -61
- package/src/surfaces/checkout/preact/api.ts +5 -1
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +10 -8
- package/src/surfaces/checkout/preact/tests/api.test.tsx +22 -13
- package/src/surfaces/checkout/preact/tests/app-metafields.test.ts +52 -56
- package/src/surfaces/checkout/preact/tests/attributes.test.ts +34 -24
- package/src/surfaces/checkout/preact/tests/billing-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/buyer-identity-businessCustomer.test.ts +16 -9
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +56 -26
- package/src/surfaces/checkout/preact/tests/buyer-journey.test.ts +71 -74
- package/src/surfaces/checkout/preact/tests/capabilities.test.ts +32 -28
- package/src/surfaces/checkout/preact/tests/cart-line-target.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/checkout-settings.test.ts +17 -9
- package/src/surfaces/checkout/preact/tests/checkout-token.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/configuration.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/country.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/currency.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/customer-privacy.test.ts +17 -8
- package/src/surfaces/checkout/preact/tests/delivery-group-list-target.test.ts +24 -18
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +26 -20
- package/src/surfaces/checkout/preact/tests/delivery-group.test.ts +22 -16
- package/src/surfaces/checkout/preact/tests/delivery-groups.test.ts +17 -11
- package/src/surfaces/checkout/preact/tests/delivery-selection-groups.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/discounts.test.tsx +21 -14
- package/src/surfaces/checkout/preact/tests/extension-language.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/gift-cards.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/localized-fields.test.ts +58 -59
- package/src/surfaces/checkout/preact/tests/market.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/metafield.test.tsx +33 -36
- package/src/surfaces/checkout/preact/tests/metafields.test.tsx +36 -53
- package/src/surfaces/checkout/preact/tests/mount.tsx +63 -20
- package/src/surfaces/checkout/preact/tests/notes.test.tsx +16 -6
- package/src/surfaces/checkout/preact/tests/payment-method.test.ts +87 -60
- package/src/surfaces/checkout/preact/tests/payment-options.test.tsx +26 -24
- package/src/surfaces/checkout/preact/tests/pickup-location-option-target.test.tsx +55 -46
- package/src/surfaces/checkout/preact/tests/redeemable.test.ts +30 -23
- package/src/surfaces/checkout/preact/tests/session-token.test.tsx +12 -6
- package/src/surfaces/checkout/preact/tests/shipping-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/shipping-option-target.test.ts +54 -50
- package/src/surfaces/checkout/preact/tests/shopping-address.test.tsx +18 -10
- package/src/surfaces/checkout/preact/tests/timezone.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/translate.test.tsx +18 -13
- package/src/surfaces/checkout/preact/tests/tsconfig.json +1 -1
- package/src/surfaces/checkout/shared.ts +112 -43
- package/src/surfaces/checkout.ts +5 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +58 -40
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +17 -2
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +5 -2
- package/src/surfaces/customer-account/components/shared.ts +12 -5
- package/src/surfaces/customer-account/components.d.ts +109 -83
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +4 -4
- package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
- package/src/surfaces/customer-account/preact/navigation.ts +3 -10
- package/src/surfaces/customer-account/preact/subscription.ts +7 -6
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +55 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api.ts +128 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/multiple-selection.jsx +9 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Divider/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/controls-constraints.jsx +9 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/input-mode.jsx +15 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/rows-configuration.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/accessory-slot.jsx +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/common-props.jsx +11 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/event-handling.jsx +17 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +6491 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
- package/src/surfaces/point-of-sale/event/data.ts +16 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
- package/src/surfaces/point-of-sale/event/output.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
- package/src/surfaces/point-of-sale/globals.ts +6 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +174 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +9 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/types/order.ts +12 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +64 -0
- package/src/surfaces/point-of-sale/types/product.ts +64 -0
- package/src/surfaces/point-of-sale/types/session.ts +39 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
- package/src/surfaces/point-of-sale/types/storage.ts +73 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
- package/src/surfaces/point-of-sale.ts +4 -0
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -3502
- package/build/ts/surfaces/checkout/errors.d.ts +0 -10
- package/build/ts/surfaces/checkout/errors.d.ts.map +0 -1
- package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.html +0 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.html +0 -1
- package/src/surfaces/checkout/errors.ts +0 -13
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +0 -9
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -9
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -16
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -15
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -36
- /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
- /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
- /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import type {
|
|
2
2
|
PaymentOption,
|
|
3
3
|
SelectedPaymentOption,
|
|
4
|
-
} from '
|
|
4
|
+
} from '../../api/standard/standard';
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
useAvailablePaymentOptions,
|
|
8
8
|
useSelectedPaymentOptions,
|
|
9
9
|
} from '../payment-options';
|
|
10
10
|
|
|
11
|
-
import {
|
|
12
|
-
|
|
11
|
+
import {
|
|
12
|
+
mount,
|
|
13
|
+
createMockSubscribableSignalLike,
|
|
14
|
+
setupGlobalShopifyMock,
|
|
15
|
+
tearDownGlobalShopifyMock,
|
|
16
|
+
} from './mount';
|
|
17
|
+
|
|
18
|
+
// See __mocks__/preact/hooks
|
|
19
|
+
jest.mock('preact/hooks');
|
|
13
20
|
|
|
14
|
-
describe
|
|
21
|
+
describe('Payment Methods API hooks', () => {
|
|
22
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
15
23
|
describe('useAvailablePaymentOptions', () => {
|
|
16
24
|
it('returns the available payment methods', async () => {
|
|
17
25
|
const paymentOptions: PaymentOption[] = [
|
|
@@ -19,15 +27,13 @@ describe.skip('Payment Methods API hooks', () => {
|
|
|
19
27
|
{handle: 'direct', type: 'creditCard'},
|
|
20
28
|
];
|
|
21
29
|
|
|
22
|
-
|
|
30
|
+
setupGlobalShopifyMock({
|
|
23
31
|
availablePaymentOptions:
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const {value} = mount.hook(() => useAvailablePaymentOptions(), {
|
|
28
|
-
extensionApi,
|
|
32
|
+
createMockSubscribableSignalLike(paymentOptions),
|
|
29
33
|
});
|
|
30
34
|
|
|
35
|
+
const {value} = mount.hook(() => useAvailablePaymentOptions());
|
|
36
|
+
|
|
31
37
|
expect(value).toBe(paymentOptions);
|
|
32
38
|
});
|
|
33
39
|
});
|
|
@@ -47,19 +53,17 @@ describe.skip('Payment Methods API hooks', () => {
|
|
|
47
53
|
{handle: 'bogus', type: 'other'},
|
|
48
54
|
];
|
|
49
55
|
|
|
50
|
-
|
|
51
|
-
availablePaymentOptions:
|
|
56
|
+
setupGlobalShopifyMock({
|
|
57
|
+
availablePaymentOptions: createMockSubscribableSignalLike(
|
|
52
58
|
availablePaymentOptions,
|
|
53
59
|
),
|
|
54
|
-
selectedPaymentOptions:
|
|
60
|
+
selectedPaymentOptions: createMockSubscribableSignalLike(
|
|
55
61
|
selectedPaymentOptionHandles,
|
|
56
62
|
),
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
const {value} = mount.hook(() => useSelectedPaymentOptions(), {
|
|
60
|
-
extensionApi,
|
|
61
63
|
});
|
|
62
64
|
|
|
65
|
+
const {value} = mount.hook(() => useSelectedPaymentOptions());
|
|
66
|
+
|
|
63
67
|
expect(value).toStrictEqual(selectedPaymentOptions);
|
|
64
68
|
});
|
|
65
69
|
|
|
@@ -79,19 +83,17 @@ describe.skip('Payment Methods API hooks', () => {
|
|
|
79
83
|
{handle: 'direct', type: 'creditCard'},
|
|
80
84
|
];
|
|
81
85
|
|
|
82
|
-
|
|
83
|
-
availablePaymentOptions:
|
|
86
|
+
setupGlobalShopifyMock({
|
|
87
|
+
availablePaymentOptions: createMockSubscribableSignalLike(
|
|
84
88
|
availablePaymentOptions,
|
|
85
89
|
),
|
|
86
|
-
selectedPaymentOptions:
|
|
90
|
+
selectedPaymentOptions: createMockSubscribableSignalLike(
|
|
87
91
|
selectedPaymentOptionHandles,
|
|
88
92
|
),
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
const {value} = mount.hook(() => useSelectedPaymentOptions(), {
|
|
92
|
-
extensionApi,
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
+
const {value} = mount.hook(() => useSelectedPaymentOptions());
|
|
96
|
+
|
|
95
97
|
expect(value).toStrictEqual(selectedPaymentOptions);
|
|
96
98
|
});
|
|
97
99
|
});
|
|
@@ -1,15 +1,21 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
PickupLocationOption,
|
|
4
|
-
} from '@shopify/ui-extensions/checkout';
|
|
1
|
+
import type {PickupLocationOption} from '../../api/standard/standard';
|
|
2
|
+
import type {ExtensionTarget} from '../../extension-targets';
|
|
5
3
|
|
|
6
4
|
import {usePickupLocationOptionTarget} from '../pickup-location-option-target';
|
|
7
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
createMockSubscribableSignalLike,
|
|
7
|
+
mount,
|
|
8
|
+
setupGlobalShopifyMock,
|
|
9
|
+
tearDownGlobalShopifyMock,
|
|
10
|
+
createMockExtension,
|
|
11
|
+
} from './mount';
|
|
8
12
|
|
|
9
|
-
|
|
13
|
+
// See __mocks__/preact/hooks
|
|
14
|
+
jest.mock('preact/hooks');
|
|
10
15
|
|
|
11
|
-
describe
|
|
12
|
-
|
|
16
|
+
describe('usePickupLocationOptionTarget', () => {
|
|
17
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
18
|
+
const pickupLocationOption: PickupLocationOption = {
|
|
13
19
|
handle: 'pickup_method_1',
|
|
14
20
|
title: 'Pickup method 1',
|
|
15
21
|
description: 'something',
|
|
@@ -18,60 +24,63 @@ describe.skip('usePickupLocationOptionTarget', () => {
|
|
|
18
24
|
location: {
|
|
19
25
|
address: {
|
|
20
26
|
address1: '123 Fake St',
|
|
21
|
-
address2:
|
|
27
|
+
address2: undefined,
|
|
22
28
|
city: 'Ottawa',
|
|
23
|
-
company:
|
|
24
|
-
|
|
29
|
+
company: undefined,
|
|
30
|
+
countryCode: 'CA',
|
|
25
31
|
firstName: 'Bob',
|
|
26
32
|
lastName: 'Bobsen',
|
|
27
33
|
phone: '555-555-5555',
|
|
28
|
-
|
|
34
|
+
provinceCode: 'ON',
|
|
29
35
|
zip: 'K2P0V6',
|
|
30
36
|
},
|
|
31
37
|
},
|
|
32
|
-
|
|
38
|
+
metafields: [],
|
|
39
|
+
};
|
|
33
40
|
|
|
34
|
-
it('throws if extension target has no api.target',
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
extension: {target},
|
|
40
|
-
target: undefined,
|
|
41
|
-
isTargetSelected: createMockStatefulRemoteSubscribable(true),
|
|
42
|
-
},
|
|
43
|
-
});
|
|
44
|
-
};
|
|
41
|
+
it('throws if extension target has no api.target', () => {
|
|
42
|
+
const target: ExtensionTarget = 'purchase.checkout.block.render';
|
|
43
|
+
setupGlobalShopifyMock({
|
|
44
|
+
extension: createMockExtension(target),
|
|
45
|
+
});
|
|
45
46
|
|
|
46
|
-
|
|
47
|
+
expect(() => {
|
|
48
|
+
mount.hook(() => usePickupLocationOptionTarget());
|
|
49
|
+
}).toThrow(
|
|
50
|
+
expect.objectContaining({
|
|
51
|
+
name: 'ExtensionHasNoTargetError',
|
|
52
|
+
}),
|
|
53
|
+
);
|
|
47
54
|
});
|
|
48
55
|
|
|
49
|
-
it('throws if extension target has no api.isTargetSelected',
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
isTargetSelected: undefined,
|
|
57
|
-
},
|
|
58
|
-
});
|
|
59
|
-
};
|
|
56
|
+
it('throws if extension target has no api.isTargetSelected', () => {
|
|
57
|
+
const target =
|
|
58
|
+
'purchase.checkout.pickup-location-option-item.render-after' as const;
|
|
59
|
+
setupGlobalShopifyMock<typeof target>({
|
|
60
|
+
extension: createMockExtension(target),
|
|
61
|
+
target: createMockSubscribableSignalLike(pickupLocationOption),
|
|
62
|
+
});
|
|
60
63
|
|
|
61
|
-
|
|
64
|
+
expect(() => {
|
|
65
|
+
mount.hook(() => usePickupLocationOptionTarget());
|
|
66
|
+
}).toThrow(
|
|
67
|
+
expect.objectContaining({
|
|
68
|
+
name: 'ExtensionHasNoTargetError',
|
|
69
|
+
}),
|
|
70
|
+
);
|
|
62
71
|
});
|
|
63
72
|
|
|
64
|
-
it('returns the pickup location option target if it exists',
|
|
65
|
-
const target
|
|
66
|
-
'purchase.checkout.pickup-location-option-item.render-after';
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
isTargetSelected: createMockStatefulRemoteSubscribable(true),
|
|
72
|
-
},
|
|
73
|
+
it('returns the pickup location option target if it exists', () => {
|
|
74
|
+
const target =
|
|
75
|
+
'purchase.checkout.pickup-location-option-item.render-after' as const;
|
|
76
|
+
setupGlobalShopifyMock<typeof target>({
|
|
77
|
+
extension: createMockExtension(target),
|
|
78
|
+
target: createMockSubscribableSignalLike(pickupLocationOption),
|
|
79
|
+
isTargetSelected: createMockSubscribableSignalLike(true),
|
|
73
80
|
});
|
|
74
81
|
|
|
82
|
+
const {value} = mount.hook(() => usePickupLocationOptionTarget());
|
|
83
|
+
|
|
75
84
|
expect(value).toStrictEqual({
|
|
76
85
|
pickupLocationOptionTarget: pickupLocationOption,
|
|
77
86
|
isTargetSelected: true,
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
-
import type {ExtensionTarget} from '
|
|
1
|
+
import type {ExtensionTarget} from '../../extension-targets';
|
|
2
2
|
|
|
3
3
|
import {useApplyRedeemableChange} from '../redeemable';
|
|
4
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
mount,
|
|
6
|
+
setupGlobalShopifyMock,
|
|
7
|
+
tearDownGlobalShopifyMock,
|
|
8
|
+
createMockExtension,
|
|
9
|
+
} from './mount';
|
|
5
10
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
describe.skip('Redeemable API hooks', () => {
|
|
11
|
+
describe('Redeemable API hooks', () => {
|
|
12
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
9
13
|
describe('useApplyRedeemableChange()', () => {
|
|
10
14
|
it('returns the applyRedeemableChange function', async () => {
|
|
11
|
-
const target
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const {value} = mount.hook(() => useApplyRedeemableChange(), {
|
|
17
|
-
extensionApi,
|
|
15
|
+
const target = 'purchase.checkout.gift-card.render' as const;
|
|
16
|
+
const mockApplyRedeemableChange = jest.fn();
|
|
17
|
+
setupGlobalShopifyMock<typeof target>({
|
|
18
|
+
applyRedeemableChange: mockApplyRedeemableChange,
|
|
19
|
+
extension: createMockExtension(target),
|
|
18
20
|
});
|
|
19
|
-
|
|
21
|
+
|
|
22
|
+
const {value} = mount.hook(() => useApplyRedeemableChange());
|
|
23
|
+
expect(value).toBe(mockApplyRedeemableChange);
|
|
20
24
|
});
|
|
21
25
|
|
|
22
|
-
it('raises when applyRedeemableChange is not available',
|
|
23
|
-
const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}
|
|
31
|
-
|
|
26
|
+
it('raises when applyRedeemableChange is not available', () => {
|
|
27
|
+
const target: ExtensionTarget = 'purchase.checkout.block.render';
|
|
28
|
+
setupGlobalShopifyMock({
|
|
29
|
+
extension: createMockExtension(target),
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
expect(() => {
|
|
33
|
+
mount.hook(() => useApplyRedeemableChange());
|
|
34
|
+
}).toThrow(
|
|
35
|
+
expect.objectContaining({
|
|
36
|
+
name: 'ExtensionHasNoMethodError',
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
32
39
|
});
|
|
33
40
|
});
|
|
34
41
|
});
|
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
import {useSessionToken} from '../session-token';
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import {
|
|
4
|
+
mount,
|
|
5
|
+
setupGlobalShopifyMock,
|
|
6
|
+
tearDownGlobalShopifyMock,
|
|
7
|
+
} from './mount';
|
|
8
|
+
|
|
9
|
+
describe('useSessionToken', () => {
|
|
10
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
4
11
|
|
|
5
|
-
describe.skip('useSessionToken', () => {
|
|
6
12
|
it('returns sessionToken from the api', () => {
|
|
7
13
|
const mockGetSessionToken = {
|
|
8
14
|
get: jest.fn(),
|
|
9
15
|
};
|
|
10
16
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
sessionToken: mockGetSessionToken,
|
|
14
|
-
},
|
|
17
|
+
setupGlobalShopifyMock({
|
|
18
|
+
sessionToken: mockGetSessionToken as any,
|
|
15
19
|
});
|
|
16
20
|
|
|
21
|
+
const {value} = mount.hook(() => useSessionToken());
|
|
22
|
+
|
|
17
23
|
expect(value).toMatchObject(mockGetSessionToken);
|
|
18
24
|
});
|
|
19
25
|
});
|
|
@@ -1,17 +1,27 @@
|
|
|
1
|
-
import type {MailingAddress} from '
|
|
1
|
+
import type {MailingAddress} from '../../api/shared';
|
|
2
2
|
|
|
3
3
|
import {useShippingAddress} from '../shipping-address';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// See __mocks__/preact/hooks
|
|
6
|
+
jest.mock('preact/hooks');
|
|
7
|
+
|
|
8
|
+
import {
|
|
9
|
+
mount,
|
|
10
|
+
createMockSubscribableSignalLike,
|
|
11
|
+
setupGlobalShopifyMock,
|
|
12
|
+
tearDownGlobalShopifyMock,
|
|
13
|
+
} from './mount';
|
|
14
|
+
|
|
15
|
+
describe('useShippingAddress', () => {
|
|
16
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
6
17
|
|
|
7
|
-
describe.skip('useShippingAddress', () => {
|
|
8
18
|
it('returns latest shipping address', async () => {
|
|
9
19
|
const address: MailingAddress = {countryCode: 'CA'};
|
|
10
|
-
|
|
11
|
-
shippingAddress:
|
|
12
|
-
};
|
|
20
|
+
setupGlobalShopifyMock({
|
|
21
|
+
shippingAddress: createMockSubscribableSignalLike(address),
|
|
22
|
+
});
|
|
13
23
|
|
|
14
|
-
const {value} = mount.hook(() => useShippingAddress()
|
|
24
|
+
const {value} = mount.hook(() => useShippingAddress());
|
|
15
25
|
|
|
16
26
|
expect(value).toMatchObject(address);
|
|
17
27
|
});
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
ShippingOption,
|
|
4
|
-
ShippingOptionItemRenderMode,
|
|
5
|
-
} from '@shopify/ui-extensions/checkout';
|
|
1
|
+
import type {ExtensionTarget} from '../../extension-targets';
|
|
2
|
+
import type {ShippingOption} from '../../api/standard/standard';
|
|
6
3
|
|
|
7
4
|
import {useShippingOptionTarget} from '../shipping-option-target';
|
|
8
|
-
import {
|
|
5
|
+
import {
|
|
6
|
+
createMockSubscribableSignalLike,
|
|
7
|
+
mount,
|
|
8
|
+
setupGlobalShopifyMock,
|
|
9
|
+
tearDownGlobalShopifyMock,
|
|
10
|
+
createMockExtension,
|
|
11
|
+
} from './mount';
|
|
9
12
|
|
|
10
|
-
|
|
13
|
+
// See __mocks__/preact/hooks
|
|
14
|
+
jest.mock('preact/hooks');
|
|
11
15
|
|
|
12
|
-
describe
|
|
13
|
-
|
|
16
|
+
describe('useShippingOptionTarget', () => {
|
|
17
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
18
|
+
const shippingOption: ShippingOption = {
|
|
19
|
+
code: 'shipping_method_1',
|
|
20
|
+
metafields: [],
|
|
14
21
|
handle: 'shipping_method_1',
|
|
15
22
|
title: 'Shipping method 1',
|
|
16
23
|
description: 'something',
|
|
@@ -30,60 +37,57 @@ describe.skip('useShippingOptionTarget', () => {
|
|
|
30
37
|
upper: 10000,
|
|
31
38
|
},
|
|
32
39
|
},
|
|
33
|
-
} as ShippingOption;
|
|
34
|
-
|
|
35
|
-
const renderMode: ShippingOptionItemRenderMode = {
|
|
36
|
-
overlay: false,
|
|
37
40
|
};
|
|
38
41
|
|
|
39
|
-
it('throws if extension target has no api.target',
|
|
40
|
-
const
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
extension: {target},
|
|
45
|
-
target: undefined,
|
|
46
|
-
isTargetSelected: createMockStatefulRemoteSubscribable(true),
|
|
47
|
-
renderMode,
|
|
48
|
-
},
|
|
49
|
-
});
|
|
50
|
-
};
|
|
42
|
+
it('throws if extension target has no api.target', () => {
|
|
43
|
+
const target: ExtensionTarget = 'purchase.checkout.block.render';
|
|
44
|
+
setupGlobalShopifyMock({
|
|
45
|
+
extension: createMockExtension(target),
|
|
46
|
+
});
|
|
51
47
|
|
|
52
|
-
|
|
48
|
+
expect(() => {
|
|
49
|
+
mount.hook(() => useShippingOptionTarget());
|
|
50
|
+
}).toThrow(
|
|
51
|
+
expect.objectContaining({
|
|
52
|
+
name: 'ExtensionHasNoTargetError',
|
|
53
|
+
}),
|
|
54
|
+
);
|
|
53
55
|
});
|
|
54
56
|
|
|
55
|
-
it('throws if extension target has no api.isTargetSelected',
|
|
56
|
-
const
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
renderMode,
|
|
64
|
-
},
|
|
65
|
-
});
|
|
66
|
-
};
|
|
57
|
+
it('throws if extension target has no api.isTargetSelected', () => {
|
|
58
|
+
const target =
|
|
59
|
+
'purchase.checkout.shipping-option-item.render-after' as const;
|
|
60
|
+
setupGlobalShopifyMock<typeof target>({
|
|
61
|
+
extension: createMockExtension(target),
|
|
62
|
+
target: createMockSubscribableSignalLike(shippingOption),
|
|
63
|
+
renderMode: {overlay: false},
|
|
64
|
+
});
|
|
67
65
|
|
|
68
|
-
|
|
66
|
+
expect(() => {
|
|
67
|
+
mount.hook(() => useShippingOptionTarget());
|
|
68
|
+
}).toThrow(
|
|
69
|
+
expect.objectContaining({
|
|
70
|
+
name: 'ExtensionHasNoTargetError',
|
|
71
|
+
}),
|
|
72
|
+
);
|
|
69
73
|
});
|
|
70
74
|
|
|
71
|
-
it('returns the shipping option target if it exists',
|
|
72
|
-
const target
|
|
73
|
-
'purchase.checkout.shipping-option-item.render-after';
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
renderMode,
|
|
80
|
-
},
|
|
75
|
+
it('returns the shipping option target if it exists', () => {
|
|
76
|
+
const target =
|
|
77
|
+
'purchase.checkout.shipping-option-item.render-after' as const;
|
|
78
|
+
setupGlobalShopifyMock<typeof target>({
|
|
79
|
+
extension: createMockExtension(target),
|
|
80
|
+
target: createMockSubscribableSignalLike(shippingOption),
|
|
81
|
+
isTargetSelected: createMockSubscribableSignalLike(true),
|
|
82
|
+
renderMode: {overlay: false},
|
|
81
83
|
});
|
|
82
84
|
|
|
85
|
+
const {value} = mount.hook(() => useShippingOptionTarget());
|
|
86
|
+
|
|
83
87
|
expect(value).toStrictEqual({
|
|
84
88
|
shippingOptionTarget: shippingOption,
|
|
85
89
|
isTargetSelected: true,
|
|
86
|
-
renderMode,
|
|
90
|
+
renderMode: {overlay: false},
|
|
87
91
|
});
|
|
88
92
|
});
|
|
89
93
|
});
|
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
import {ScopeNotGrantedError} from '../../errors';
|
|
2
1
|
import {useShippingAddress} from '../shipping-address';
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
// See __mocks__/preact/hooks
|
|
4
|
+
jest.mock('preact/hooks');
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
mount,
|
|
8
|
+
setupGlobalShopifyMock,
|
|
9
|
+
tearDownGlobalShopifyMock,
|
|
10
|
+
} from './mount';
|
|
11
|
+
|
|
12
|
+
describe('useShippingAddress', () => {
|
|
13
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
5
14
|
|
|
6
|
-
describe.skip('useShippingAddress', () => {
|
|
7
15
|
it('raises an exception without approval scopes granted', () => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
)
|
|
16
|
+
setupGlobalShopifyMock({
|
|
17
|
+
shippingAddress: undefined,
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
expect(() => mount.hook(() => useShippingAddress())).toThrow(
|
|
21
|
+
'Using shipping address requires having shipping address permissions granted to your app.',
|
|
22
|
+
);
|
|
15
23
|
});
|
|
16
24
|
});
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import {useTimezone} from '../timezone';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// See __mocks__/preact/hooks
|
|
4
|
+
jest.mock('preact/hooks');
|
|
5
|
+
|
|
6
|
+
import {
|
|
7
|
+
mount,
|
|
8
|
+
createMockSubscribableSignalLike,
|
|
9
|
+
setupGlobalShopifyMock,
|
|
10
|
+
tearDownGlobalShopifyMock,
|
|
11
|
+
} from './mount';
|
|
12
|
+
|
|
13
|
+
describe('useTimezone', () => {
|
|
14
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
4
15
|
|
|
5
|
-
describe.skip('useTimezone', () => {
|
|
6
16
|
it('returns timezone from the api', () => {
|
|
7
17
|
const timezone = 'America/New_York';
|
|
8
18
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
timezone: createMockStatefulRemoteSubscribable(timezone),
|
|
13
|
-
},
|
|
19
|
+
setupGlobalShopifyMock({
|
|
20
|
+
localization: {
|
|
21
|
+
timezone: createMockSubscribableSignalLike(timezone),
|
|
14
22
|
},
|
|
15
23
|
});
|
|
16
24
|
|
|
25
|
+
const {value} = mount.hook(() => useTimezone());
|
|
26
|
+
|
|
17
27
|
expect(value).toStrictEqual(timezone);
|
|
18
28
|
});
|
|
19
29
|
});
|
|
@@ -1,19 +1,24 @@
|
|
|
1
|
+
import type {I18nTranslate} from '../../api/standard/standard';
|
|
1
2
|
import {useTranslate} from '../translate';
|
|
2
3
|
|
|
3
|
-
import {
|
|
4
|
+
import {
|
|
5
|
+
mount,
|
|
6
|
+
setupGlobalShopifyMock,
|
|
7
|
+
tearDownGlobalShopifyMock,
|
|
8
|
+
} from './mount';
|
|
4
9
|
|
|
5
|
-
describe
|
|
10
|
+
describe('useTranslate', () => {
|
|
11
|
+
afterEach(tearDownGlobalShopifyMock);
|
|
6
12
|
it('returns string translation', async () => {
|
|
7
13
|
const simpleTranslation = 'This is a simple string translation';
|
|
8
|
-
const translateInSandbox = jest.fn(() => simpleTranslation);
|
|
9
14
|
|
|
10
|
-
|
|
15
|
+
setupGlobalShopifyMock({
|
|
11
16
|
i18n: {
|
|
12
|
-
translate:
|
|
17
|
+
translate: (() => simpleTranslation) as I18nTranslate,
|
|
13
18
|
},
|
|
14
|
-
};
|
|
19
|
+
});
|
|
15
20
|
|
|
16
|
-
const {value} = mount.hook(() => useTranslate()
|
|
21
|
+
const {value} = mount.hook(() => useTranslate());
|
|
17
22
|
const translate = value;
|
|
18
23
|
|
|
19
24
|
expect(translate('exampleKey')).toStrictEqual(simpleTranslation);
|
|
@@ -32,13 +37,13 @@ describe.skip('useTranslate', () => {
|
|
|
32
37
|
];
|
|
33
38
|
const translateInSandbox = jest.fn(() => simpleTranslation);
|
|
34
39
|
|
|
35
|
-
|
|
40
|
+
setupGlobalShopifyMock({
|
|
36
41
|
i18n: {
|
|
37
42
|
translate: translateInSandbox,
|
|
38
43
|
},
|
|
39
|
-
};
|
|
44
|
+
});
|
|
40
45
|
|
|
41
|
-
const {value} = mount.hook(() => useTranslate()
|
|
46
|
+
const {value} = mount.hook(() => useTranslate());
|
|
42
47
|
const translate = value;
|
|
43
48
|
|
|
44
49
|
// Expect that a the same array is returned, with any valid components wrapped in a React.Fragment
|
|
@@ -54,13 +59,13 @@ describe.skip('useTranslate', () => {
|
|
|
54
59
|
const simpleTranslation = ['Hello, ', undefined, ' .'];
|
|
55
60
|
const translateInSandbox = jest.fn(() => simpleTranslation);
|
|
56
61
|
|
|
57
|
-
|
|
62
|
+
setupGlobalShopifyMock({
|
|
58
63
|
i18n: {
|
|
59
64
|
translate: translateInSandbox,
|
|
60
65
|
},
|
|
61
|
-
};
|
|
66
|
+
});
|
|
62
67
|
|
|
63
|
-
const {value} = mount.hook(() => useTranslate()
|
|
68
|
+
const {value} = mount.hook(() => useTranslate());
|
|
64
69
|
const translate = value;
|
|
65
70
|
|
|
66
71
|
expect(translate('exampleKey')).toStrictEqual(simpleTranslation);
|