@shopify/ui-extensions 2025.10.0-rc.3 → 2025.10.0-rc.30
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/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/shared.js +22 -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/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +18 -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/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +18 -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/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/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- 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/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/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- 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/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.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/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- 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/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- 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/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
- package/build/ts/docs/shared/components/QueryContainer.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/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/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +23 -0
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
- 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/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- 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 +133 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Banner.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Box.d.ts +35 -26
- package/build/ts/surfaces/admin/components/Button.d.ts +34 -20
- 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 +117 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -12
- 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 +120 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +39 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Clickable.d.ts +49 -39
- 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 +151 -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 +238 -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 +132 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
- 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/DropZone.d.ts +160 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +43 -35
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +42 -33
- package/build/ts/surfaces/admin/components/GridItem.d.ts +36 -26
- package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Icon.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Image.d.ts +34 -42
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -29
- package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
- 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 +133 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +16 -18
- package/build/ts/surfaces/admin/components/NumberField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Page.d.ts +38 -6
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +15 -15
- 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/Popover.d.ts +379 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +18 -16
- package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +20 -16
- package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Stack.d.ts +53 -43
- 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 +16 -12
- package/build/ts/surfaces/admin/components/Table.d.ts +27 -16
- package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableCell.d.ts +34 -7
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +24 -6
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TableRow.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TextArea.d.ts +15 -15
- package/build/ts/surfaces/admin/components/TextField.d.ts +17 -15
- 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 +127 -0
- 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 +141 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +953 -597
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +50 -3083
- 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 +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +50 -3083
- 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 +50 -3083
- 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 +50 -3083
- 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.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +50 -3083
- 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 +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +50 -3083
- 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 +50 -3083
- 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 +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +50 -3072
- 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 +50 -3083
- 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 +50 -3083
- 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 +50 -3083
- 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 +50 -3072
- 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 +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +50 -3072
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +50 -3083
- 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 +50 -3083
- 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 +50 -3072
- 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 +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +50 -3083
- 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 +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +49 -3032
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
- 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 +18 -2
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +21 -3
- 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 +21 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/Details.d.ts +72 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- 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/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +85 -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/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -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/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
- 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/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +94 -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/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -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/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/checkout/components/components.d.ts +1683 -244
- package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
- package/build/ts/surfaces/checkout/extension-targets.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 +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +8 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +49 -549
- 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 +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +49 -549
- 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 +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +54 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +49 -549
- 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 +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout.d.ts +1 -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 -31
- 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 +40 -21
- 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 +21 -9
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
- 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 +60 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/build/ts/surfaces/customer-account/components/Details.d.ts +72 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- 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/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +77 -0
- 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 +90 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- 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 +19 -6
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
- 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/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +94 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
- 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/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/customer-account/components/components.d.ts +1683 -244
- package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +29 -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 +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +56 -640
- 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 +9 -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 +41 -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 +35 -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 +52 -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 +60 -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 +64 -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 +67 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -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 +61 -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 +59 -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 +71 -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 +62 -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 +62 -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 +78 -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 +49 -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 +92 -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 +64 -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 +70 -0
- package/build/ts/surfaces/point-of-sale/components/Navigator.d.ts +50 -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 +150 -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 +62 -0
- package/build/ts/surfaces/point-of-sale/components/Screen.d.ts +91 -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 +49 -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 +65 -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 +62 -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 +116 -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 +54 -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 +79 -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 +78 -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 +98 -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 +62 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
- package/build/ts/surfaces/point-of-sale/components/shared.d.ts +76 -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/targets/pos.cart-update.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +6 -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 +178 -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/money.d.ts +5 -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 +55 -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 +23 -2
- 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 +11 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +1 -1
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/Option.ts +12 -0
- 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/PhoneField.ts +11 -0
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/docs/shared/components/QueryContainer.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/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/docs-type.ts +6 -5
- package/src/shared.ts +25 -0
- package/src/surfaces/admin/api/standard/standard.ts +7 -1
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +133 -0
- package/src/surfaces/admin/components/Badge.d.ts +21 -7
- package/src/surfaces/admin/components/Banner.d.ts +21 -16
- package/src/surfaces/admin/components/Box.d.ts +35 -26
- package/src/surfaces/admin/components/Button.d.ts +34 -20
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +117 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +120 -0
- package/src/surfaces/admin/components/Choice.d.ts +39 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/src/surfaces/admin/components/Clickable.d.ts +49 -39
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +151 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +238 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +132 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/src/surfaces/admin/components/Divider.d.ts +12 -5
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/DropZone.d.ts +160 -0
- package/src/surfaces/admin/components/EmailField.d.ts +15 -15
- package/src/surfaces/admin/components/Form.d.ts +43 -35
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/Grid.d.ts +42 -33
- package/src/surfaces/admin/components/GridItem.d.ts +36 -26
- package/src/surfaces/admin/components/Heading.d.ts +17 -6
- package/src/surfaces/admin/components/Icon.d.ts +17 -6
- package/src/surfaces/admin/components/Image.d.ts +34 -42
- package/src/surfaces/admin/components/Link.d.ts +35 -29
- package/src/surfaces/admin/components/ListItem.d.ts +18 -6
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +133 -0
- package/src/surfaces/admin/components/MoneyField.d.ts +16 -18
- package/src/surfaces/admin/components/NumberField.d.ts +15 -15
- package/src/surfaces/admin/components/Option.d.ts +17 -5
- package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/src/surfaces/admin/components/Page.d.ts +38 -6
- package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/src/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/Popover.d.ts +379 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/src/surfaces/admin/components/SearchField.d.ts +18 -16
- package/src/surfaces/admin/components/Section.d.ts +17 -6
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +20 -16
- package/src/surfaces/admin/components/Spinner.d.ts +12 -2
- package/src/surfaces/admin/components/Stack.d.ts +53 -43
- package/src/surfaces/admin/components/StandardComponents.ts +8 -0
- package/src/surfaces/admin/components/Switch.d.ts +16 -12
- package/src/surfaces/admin/components/Table.d.ts +27 -16
- package/src/surfaces/admin/components/TableBody.d.ts +18 -6
- package/src/surfaces/admin/components/TableCell.d.ts +34 -7
- package/src/surfaces/admin/components/TableHeader.d.ts +24 -6
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/src/surfaces/admin/components/TableRow.d.ts +21 -7
- package/src/surfaces/admin/components/Text.d.ts +19 -6
- package/src/surfaces/admin/components/TextArea.d.ts +15 -15
- package/src/surfaces/admin/components/TextField.d.ts +17 -15
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +141 -0
- package/src/surfaces/admin/components/URLField.d.ts +15 -15
- package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +154 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +166 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +79 -0
- package/src/surfaces/admin/components/shared.d.ts +953 -597
- package/src/surfaces/admin/components.d.ts +2962 -1505
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -2
- package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +1 -1
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +1 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +1 -1
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -2
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +1 -2
- package/src/surfaces/checkout/api/standard/standard.ts +23 -3
- package/src/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/src/surfaces/checkout/components/Badge.d.ts +56 -0
- package/src/surfaces/checkout/components/Banner.d.ts +55 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +44 -13
- 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 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/src/surfaces/checkout/components/Details.d.ts +72 -0
- package/src/surfaces/checkout/components/Divider.d.ts +31 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- 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/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +22 -9
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +44 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +78 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +90 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +85 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/src/surfaces/checkout/components/Popover.d.ts +68 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +94 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack.d.ts +20 -9
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/src/surfaces/checkout/components/TextField.d.ts +88 -21
- package/src/surfaces/checkout/components/Time.d.ts +21 -9
- package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/src/surfaces/checkout/components/components.d.ts +1683 -244
- package/src/surfaces/checkout/extension-targets.ts +8 -0
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +2 -1
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
- package/src/surfaces/checkout/shared.ts +65 -28
- package/src/surfaces/checkout.ts +1 -0
- 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 +57 -29
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +44 -19
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +10 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +22 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +8 -7
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +6 -4
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +24 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +10 -9
- package/src/surfaces/customer-account/components/Page.d.ts +19 -6
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +23 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +6 -2
- package/src/surfaces/customer-account/components/shared.ts +29 -5
- package/src/surfaces/customer-account/components.d.ts +124 -31
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +2 -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 +9 -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 +45 -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 +133 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +60 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +67 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +14 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +92 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +9 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Screen.d.ts +91 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +10 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +116 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +98 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
- package/src/surfaces/point-of-sale/components/shared.d.ts +76 -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 +5327 -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/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +188 -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/money.ts +4 -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 +58 -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/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type {ExtensionTarget} from '../extension-targets';
|
|
2
|
-
import type {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
|
|
3
2
|
|
|
4
3
|
import type {
|
|
5
4
|
ApiVersion,
|
|
@@ -10,6 +9,7 @@ import type {
|
|
|
10
9
|
CountryCode,
|
|
11
10
|
GraphQLError,
|
|
12
11
|
StorefrontApiVersion,
|
|
12
|
+
ReadonlySignalLike,
|
|
13
13
|
} from '../../../shared';
|
|
14
14
|
|
|
15
15
|
export {
|
|
@@ -21,6 +21,7 @@ export {
|
|
|
21
21
|
CountryCode,
|
|
22
22
|
GraphQLError,
|
|
23
23
|
StorefrontApiVersion,
|
|
24
|
+
ReadonlySignalLike,
|
|
24
25
|
};
|
|
25
26
|
|
|
26
27
|
/**
|
|
@@ -162,7 +163,7 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
162
163
|
*
|
|
163
164
|
* * [`block_progress`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress): the extension can block a buyer's progress and the merchant has allowed this blocking behavior.
|
|
164
165
|
*/
|
|
165
|
-
capabilities:
|
|
166
|
+
capabilities: ReadonlySignalLike<Capability[]>;
|
|
166
167
|
|
|
167
168
|
/**
|
|
168
169
|
* Information about the editor where the extension is being rendered.
|
|
@@ -182,7 +183,7 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
182
183
|
* from where it was rendered. The extension continues running so that
|
|
183
184
|
* your extension is immediately available to render if the buyer navigates back.
|
|
184
185
|
*/
|
|
185
|
-
rendered:
|
|
186
|
+
rendered: ReadonlySignalLike<boolean>;
|
|
186
187
|
|
|
187
188
|
/**
|
|
188
189
|
* The URL to the script that started the extension target.
|
|
@@ -345,11 +346,11 @@ export interface AuthenticatedAccount {
|
|
|
345
346
|
* Provides the company info of the authenticated business customer.
|
|
346
347
|
* If the customer is not authenticated or is not a business customer, this value is `undefined`.
|
|
347
348
|
*/
|
|
348
|
-
purchasingCompany:
|
|
349
|
+
purchasingCompany: ReadonlySignalLike<PurchasingCompany | undefined>;
|
|
349
350
|
/**
|
|
350
351
|
* Provides the customer information of the authenticated customer.
|
|
351
352
|
*/
|
|
352
|
-
customer:
|
|
353
|
+
customer: ReadonlySignalLike<Customer | undefined>;
|
|
353
354
|
}
|
|
354
355
|
|
|
355
356
|
/**
|
|
@@ -393,30 +394,6 @@ export interface CompanyLocation {
|
|
|
393
394
|
}
|
|
394
395
|
|
|
395
396
|
export interface Ui {
|
|
396
|
-
/**
|
|
397
|
-
* An overlay is a contextual element on top of the main interface that provides additional information or functionality.
|
|
398
|
-
*/
|
|
399
|
-
overlay: {
|
|
400
|
-
close(overlayId: string): void;
|
|
401
|
-
};
|
|
402
|
-
/**
|
|
403
|
-
* The Toast API displays a non-disruptive message that displays at the bottom
|
|
404
|
-
* of the interface to provide quick, at-a-glance feedback on the outcome
|
|
405
|
-
* of an action.
|
|
406
|
-
*
|
|
407
|
-
* How to use:
|
|
408
|
-
*
|
|
409
|
-
* - Use toasts to confirm successful actions.
|
|
410
|
-
*
|
|
411
|
-
* - Aim for two words.
|
|
412
|
-
*
|
|
413
|
-
* - Use noun + past tense verb format. For example, \`Changes saved\`.
|
|
414
|
-
*
|
|
415
|
-
* For errors, or information that needs to persist on the page, use a [banner](/docs/api/checkout-ui-extensions/unstable/components/feedback/banner) component.
|
|
416
|
-
*/
|
|
417
|
-
toast: {
|
|
418
|
-
show(content: string): void;
|
|
419
|
-
};
|
|
420
397
|
/**
|
|
421
398
|
* Refresh data so the surrounding information on the page is updated. The `content` string will appear in a toast message after refresh, to confirm the action was successful.
|
|
422
399
|
*
|
|
@@ -443,6 +420,50 @@ export interface SessionToken {
|
|
|
443
420
|
get(): Promise<string>;
|
|
444
421
|
}
|
|
445
422
|
|
|
423
|
+
export interface Analytics {
|
|
424
|
+
/**
|
|
425
|
+
* Publish method to emit analytics events to [Web Pixels](https://shopify.dev/docs/apps/marketing).
|
|
426
|
+
*/
|
|
427
|
+
publish(name: string, data: Record<string, unknown>): Promise<boolean>;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* A method for capturing details about a visitor on the online store.
|
|
431
|
+
*/
|
|
432
|
+
visitor(data: {email?: string; phone?: string}): Promise<VisitorResult>;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Represents a visitor result.
|
|
436
|
+
*/
|
|
437
|
+
export type VisitorResult = VisitorSuccess | VisitorError;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Represents a successful visitor result.
|
|
441
|
+
*/
|
|
442
|
+
export interface VisitorSuccess {
|
|
443
|
+
/**
|
|
444
|
+
* Indicates that the visitor information was validated and submitted.
|
|
445
|
+
*/
|
|
446
|
+
type: 'success';
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Represents an unsuccessful visitor result.
|
|
451
|
+
*/
|
|
452
|
+
export interface VisitorError {
|
|
453
|
+
/**
|
|
454
|
+
* Indicates that the visitor information is invalid and wasn't submitted.
|
|
455
|
+
* Examples are using the wrong data type or missing a required property.
|
|
456
|
+
*/
|
|
457
|
+
type: 'error';
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* A message that explains the error. This message is useful for debugging.
|
|
461
|
+
* It's **not** localized, and therefore should not be presented directly
|
|
462
|
+
* to the buyer.
|
|
463
|
+
*/
|
|
464
|
+
message: string;
|
|
465
|
+
}
|
|
466
|
+
|
|
446
467
|
export interface AllowedProcessing {
|
|
447
468
|
/**
|
|
448
469
|
* Can collect customer analytics about how the shop was used and interactions made on the shop.
|
|
@@ -614,3 +635,10 @@ export interface TrackingConsentChangeResultError {
|
|
|
614
635
|
*/
|
|
615
636
|
message: string;
|
|
616
637
|
}
|
|
638
|
+
|
|
639
|
+
export interface ToastApiResult {
|
|
640
|
+
hide: () => void;
|
|
641
|
+
}
|
|
642
|
+
export interface ToastApi {
|
|
643
|
+
show: (content: string) => Promise<ToastApiResult>;
|
|
644
|
+
}
|
|
@@ -9,12 +9,14 @@ import {
|
|
|
9
9
|
StorefrontApiVersion,
|
|
10
10
|
Ui,
|
|
11
11
|
SessionToken,
|
|
12
|
+
Analytics,
|
|
12
13
|
CustomerPrivacy,
|
|
13
14
|
ApplyTrackingConsentChangeType,
|
|
15
|
+
ToastApi,
|
|
16
|
+
ReadonlySignalLike,
|
|
14
17
|
} from '../shared';
|
|
15
18
|
|
|
16
19
|
import type {ExtensionTarget} from '../../extension-targets';
|
|
17
|
-
import {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
|
|
18
20
|
|
|
19
21
|
/**
|
|
20
22
|
* The merchant-defined setting values for the extension.
|
|
@@ -79,6 +81,13 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
79
81
|
*/
|
|
80
82
|
sessionToken: SessionToken;
|
|
81
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Methods for interacting with [Web Pixels](https://shopify.dev/docs/apps/marketing), such as emitting an event.
|
|
86
|
+
*
|
|
87
|
+
* > Note: Requires to [connect a third-party domain](https://help.shopify.com/en/manual/domains/add-a-domain/connecting-domains/connect-domain-customer-account) to Shopify for your customer account pages.
|
|
88
|
+
*/
|
|
89
|
+
analytics: Analytics;
|
|
90
|
+
|
|
82
91
|
/**
|
|
83
92
|
* The settings matching the settings definition written in the
|
|
84
93
|
* [`shopify.ui.extension.toml`](https://shopify.dev/docs/api/customer-account-ui-extensions/configuration) file.
|
|
@@ -88,14 +97,29 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
88
97
|
* > Note: When an extension is being installed in the editor, the settings will be empty until
|
|
89
98
|
* a merchant sets a value. In that case, this object will be updated in real time as a merchant fills in the settings.
|
|
90
99
|
*/
|
|
91
|
-
settings:
|
|
100
|
+
settings: ReadonlySignalLike<ExtensionSettings>;
|
|
92
101
|
|
|
93
102
|
/**
|
|
94
103
|
* Methods to interact with the extension's UI.
|
|
95
104
|
*/
|
|
96
105
|
ui: Ui;
|
|
97
106
|
|
|
98
|
-
|
|
107
|
+
/**
|
|
108
|
+
* The Toast API displays a non-disruptive message that displays at the bottom
|
|
109
|
+
* of the interface to provide quick, at-a-glance feedback on the outcome
|
|
110
|
+
* of an action.
|
|
111
|
+
*
|
|
112
|
+
* How to use:
|
|
113
|
+
*
|
|
114
|
+
* - Use toasts to confirm successful actions.
|
|
115
|
+
*
|
|
116
|
+
* - Aim for two words.
|
|
117
|
+
*
|
|
118
|
+
* - Use noun + past tense verb format. For example, \`Changes saved\`.
|
|
119
|
+
*
|
|
120
|
+
* For errors, or information that needs to persist on the page, use a [banner](/docs/api/checkout-ui-extensions/unstable/components/feedback/banner) component.
|
|
121
|
+
*/
|
|
122
|
+
toast: ToastApi;
|
|
99
123
|
|
|
100
124
|
/**
|
|
101
125
|
* Used to query the Storefront GraphQL API with a prefetched token.
|
|
@@ -110,7 +134,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
110
134
|
/**
|
|
111
135
|
* Customer privacy consent settings and a flag denoting if consent has previously been collected.
|
|
112
136
|
*/
|
|
113
|
-
customerPrivacy:
|
|
137
|
+
customerPrivacy: ReadonlySignalLike<CustomerPrivacy>;
|
|
114
138
|
|
|
115
139
|
/**
|
|
116
140
|
* Allows setting and updating customer privacy consent settings and tracking consent metafields.
|
|
@@ -148,7 +172,7 @@ export interface Localization {
|
|
|
148
172
|
/**
|
|
149
173
|
* The language the buyer sees in the customer account hub.
|
|
150
174
|
*/
|
|
151
|
-
language:
|
|
175
|
+
language: ReadonlySignalLike<Language>;
|
|
152
176
|
|
|
153
177
|
/**
|
|
154
178
|
* This is the buyer's language, as supported by the extension.
|
|
@@ -161,26 +185,26 @@ export interface Localization {
|
|
|
161
185
|
* translations at all, this value is the default locale for your
|
|
162
186
|
* extension (that is, the one matching your .default.json file).
|
|
163
187
|
*/
|
|
164
|
-
extensionLanguage:
|
|
188
|
+
extensionLanguage: ReadonlySignalLike<Language>;
|
|
165
189
|
|
|
166
190
|
/**
|
|
167
191
|
* The country context of the buyer sees in the customer account.
|
|
168
192
|
* It will update if the buyer changes the country in the customer account
|
|
169
193
|
* If the country is unknown, then the value is undefined.
|
|
170
194
|
*/
|
|
171
|
-
country:
|
|
195
|
+
country: ReadonlySignalLike<Country | undefined>;
|
|
172
196
|
}
|
|
173
197
|
|
|
174
198
|
/**
|
|
175
199
|
* An enumerated value representing the type of navigation.
|
|
176
200
|
*/
|
|
177
|
-
export type
|
|
201
|
+
export type NavigationTypeString = 'push' | 'replace' | 'traverse';
|
|
178
202
|
|
|
179
|
-
export interface
|
|
203
|
+
export interface NavigationNavigateOptions {
|
|
180
204
|
/**
|
|
181
205
|
* Developer-defined information to be stored in the associated NavigationHistoryEntry once the navigation is complete, retrievable via getState().
|
|
182
206
|
*/
|
|
183
|
-
state?:
|
|
207
|
+
state?: unknown;
|
|
184
208
|
/**
|
|
185
209
|
* An enumerated value that sets the history behavior of this navigation.
|
|
186
210
|
*/
|
|
@@ -196,11 +220,15 @@ export interface NavigationHistoryEntry {
|
|
|
196
220
|
/**
|
|
197
221
|
* Returns the URL of this history entry.
|
|
198
222
|
*/
|
|
199
|
-
url: string;
|
|
223
|
+
url: string | null;
|
|
200
224
|
/**
|
|
201
225
|
* Returns a clone of the available state associated with this history entry.
|
|
202
226
|
*/
|
|
203
|
-
getState():
|
|
227
|
+
getState(): unknown;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export interface NavigationUpdateCurrentEntryOptions {
|
|
231
|
+
state: unknown;
|
|
204
232
|
}
|
|
205
233
|
|
|
206
234
|
/**
|
|
@@ -210,21 +238,18 @@ export interface NavigationCurrentEntryChangeEvent {
|
|
|
210
238
|
/**
|
|
211
239
|
* Returns the type of the navigation that resulted in the change.
|
|
212
240
|
*/
|
|
213
|
-
navigationType
|
|
241
|
+
navigationType?: NavigationTypeString;
|
|
214
242
|
/**
|
|
215
243
|
* Returns the NavigationHistoryEntry that was navigated from.
|
|
216
244
|
*/
|
|
217
245
|
from: NavigationHistoryEntry;
|
|
218
246
|
}
|
|
219
247
|
|
|
220
|
-
export interface
|
|
248
|
+
export interface Navigation {
|
|
221
249
|
/**
|
|
222
250
|
* The navigate() method navigates to a specific URL, updating any provided state in the history entries list.
|
|
223
251
|
*/
|
|
224
252
|
navigate: NavigateFunction;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export interface FullExtensionNavigation extends StandardExtensionNavigation {
|
|
228
253
|
/**
|
|
229
254
|
* The currentEntry read-only property of the Navigation interface returns a NavigationHistoryEntry object representing the location the user is currently navigated to right now.
|
|
230
255
|
*/
|
|
@@ -232,7 +257,7 @@ export interface FullExtensionNavigation extends StandardExtensionNavigation {
|
|
|
232
257
|
/**
|
|
233
258
|
* The updateCurrentEntry() method of the Navigation interface updates the state of the currentEntry; used in cases where the state change will be independent of a navigation or reload.
|
|
234
259
|
*/
|
|
235
|
-
updateCurrentEntry(options:
|
|
260
|
+
updateCurrentEntry(options: NavigationUpdateCurrentEntryOptions): void;
|
|
236
261
|
addEventListener(
|
|
237
262
|
type: 'currententrychange',
|
|
238
263
|
cb: (event: NavigationCurrentEntryChangeEvent) => void,
|
|
@@ -248,7 +273,7 @@ export interface NavigateFunction {
|
|
|
248
273
|
* Navigates to a specific URL, updating any provided state in the history entries list.
|
|
249
274
|
* @param url The destination URL to navigate to.
|
|
250
275
|
*/
|
|
251
|
-
(url: string, options?:
|
|
276
|
+
(url: string, options?: NavigationNavigateOptions): void;
|
|
252
277
|
}
|
|
253
278
|
|
|
254
279
|
export type Version = string;
|
|
@@ -66,6 +66,7 @@ export type {
|
|
|
66
66
|
Company,
|
|
67
67
|
Customer,
|
|
68
68
|
SessionToken,
|
|
69
|
+
Analytics,
|
|
69
70
|
ApplyTrackingConsentChangeType,
|
|
70
71
|
CustomerPrivacy,
|
|
71
72
|
TrackingConsentChangeResult,
|
|
@@ -74,6 +75,10 @@ export type {
|
|
|
74
75
|
TrackingConsentMetafieldChange,
|
|
75
76
|
VisitorConsent,
|
|
76
77
|
VisitorConsentChange,
|
|
78
|
+
VisitorResult,
|
|
79
|
+
VisitorSuccess,
|
|
80
|
+
VisitorError,
|
|
81
|
+
ReadonlySignalLike,
|
|
77
82
|
} from './api/shared';
|
|
78
83
|
|
|
79
84
|
export type {CartLineItemApi} from './api/cart-line/cart-line-item';
|
|
@@ -81,12 +86,11 @@ export type {CartLineItemApi} from './api/cart-line/cart-line-item';
|
|
|
81
86
|
export type {
|
|
82
87
|
Version,
|
|
83
88
|
StandardApi,
|
|
84
|
-
|
|
85
|
-
StandardExtensionNavigation,
|
|
89
|
+
Navigation,
|
|
86
90
|
NavigationCurrentEntryChangeEvent,
|
|
87
91
|
NavigationHistoryEntry,
|
|
88
|
-
|
|
89
|
-
|
|
92
|
+
NavigationNavigateOptions,
|
|
93
|
+
NavigationTypeString,
|
|
90
94
|
NavigateFunction,
|
|
91
95
|
Localization,
|
|
92
96
|
CompanyLocationApi,
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {BaseElementPropsWithChildren, IdProps, SizeKeyword} from './shared';
|
|
2
|
+
|
|
3
|
+
export type CallbackEventListener<
|
|
4
|
+
TTagName extends keyof HTMLElementTagNameMap,
|
|
5
|
+
TEvent extends Event = Event,
|
|
6
|
+
> =
|
|
7
|
+
| (EventListener & {
|
|
8
|
+
(event: CallbackEvent<TTagName, TEvent>): void;
|
|
9
|
+
})
|
|
10
|
+
| null;
|
|
11
|
+
|
|
12
|
+
export interface AvatarElementProps extends IdProps {
|
|
13
|
+
/**
|
|
14
|
+
* Initials to display in the avatar.
|
|
15
|
+
*/
|
|
16
|
+
initials?: string;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* The URL or path to the image.
|
|
20
|
+
*
|
|
21
|
+
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly.
|
|
22
|
+
*/
|
|
23
|
+
src?: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Size of the avatar.
|
|
27
|
+
*
|
|
28
|
+
* @default 'base'
|
|
29
|
+
*/
|
|
30
|
+
size?: Extract<
|
|
31
|
+
SizeKeyword,
|
|
32
|
+
'small-200' | 'small' | 'base' | 'large' | 'large-200'
|
|
33
|
+
>;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* An alternative text description that describe the image for the reader
|
|
37
|
+
* to understand what it is about or identify the user the avatar belongs to.
|
|
38
|
+
*/
|
|
39
|
+
alt?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export interface AvatarElementEvents {
|
|
43
|
+
/**
|
|
44
|
+
* Invoked when load of provided image completes successfully.
|
|
45
|
+
*
|
|
46
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
47
|
+
*/
|
|
48
|
+
onLoad?(event: Event): void;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Invoked on load error of provided image.
|
|
52
|
+
*
|
|
53
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
54
|
+
*/
|
|
55
|
+
onError?(event: Event): void;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export interface AvatarElement
|
|
59
|
+
extends AvatarElementProps,
|
|
60
|
+
Omit<HTMLElement, 'id'> {
|
|
61
|
+
onload: AvatarElementEvents['onLoad'];
|
|
62
|
+
onerror: AvatarElementEvents['onError'];
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface AvatarEvents {
|
|
66
|
+
/**
|
|
67
|
+
* Callback when the image loads successfully.
|
|
68
|
+
*/
|
|
69
|
+
load?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Callback when the image fails to load.
|
|
73
|
+
*/
|
|
74
|
+
error?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export type AvatarProps = AvatarElementProps & AvatarElementEvents;
|
|
78
|
+
|
|
79
|
+
declare global {
|
|
80
|
+
interface HTMLElementTagNameMap {
|
|
81
|
+
['s-avatar']: AvatarElement;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
declare module 'preact' {
|
|
86
|
+
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
87
|
+
namespace createElement.JSX {
|
|
88
|
+
interface IntrinsicElements {
|
|
89
|
+
['s-avatar']: BaseElementPropsWithChildren<AvatarElement> & AvatarProps;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import '@shopify/ui-extensions/preact';
|
|
2
|
+
import {render} from 'preact';
|
|
3
|
+
|
|
4
|
+
export default async () => {
|
|
5
|
+
render(<Extension />, document.body);
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
function Extension() {
|
|
9
|
+
return (
|
|
10
|
+
<s-button-group accessibilityLabel="Order actions">
|
|
11
|
+
<s-button slot="primary-action" variant="primary">
|
|
12
|
+
Pay now
|
|
13
|
+
</s-button>
|
|
14
|
+
<s-button slot="secondary-actions" variant="secondary">
|
|
15
|
+
Edit order
|
|
16
|
+
</s-button>
|
|
17
|
+
<s-button slot="secondary-actions" variant="secondary">
|
|
18
|
+
Cancel order
|
|
19
|
+
</s-button>
|
|
20
|
+
</s-button-group>
|
|
21
|
+
);
|
|
22
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import {BaseElementPropsWithChildren, IdProps} from './shared';
|
|
2
|
+
|
|
3
|
+
export interface ButtonGroupProps extends IdProps {
|
|
4
|
+
/**
|
|
5
|
+
* Label for the button group that describes the content of the group for screen reader users to understand what's included.
|
|
6
|
+
*/
|
|
7
|
+
accessibilityLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface ButtonGroupElementSlots {
|
|
11
|
+
/**
|
|
12
|
+
* The primary action to perform, provided as a button type element.
|
|
13
|
+
*/
|
|
14
|
+
'primary-action'?: HTMLElement;
|
|
15
|
+
/**
|
|
16
|
+
* The secondary actions to perform, provided as button type elements.
|
|
17
|
+
*/
|
|
18
|
+
'secondary-actions'?: HTMLElement;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export interface ButtonGroupElement
|
|
22
|
+
extends ButtonGroupProps,
|
|
23
|
+
Omit<HTMLElement, 'id'> {}
|
|
24
|
+
|
|
25
|
+
declare global {
|
|
26
|
+
interface HTMLElementTagNameMap {
|
|
27
|
+
['s-button-group']: ButtonGroupElement;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare module 'preact' {
|
|
32
|
+
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
33
|
+
namespace createElement.JSX {
|
|
34
|
+
interface IntrinsicElements {
|
|
35
|
+
['s-button-group']: BaseElementPropsWithChildren<ButtonGroupElement> &
|
|
36
|
+
ButtonGroupProps;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import '@shopify/ui-extensions/preact';
|
|
1
2
|
import {render} from 'preact';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
-
render(<
|
|
5
|
-
}
|
|
4
|
+
export default async () => {
|
|
5
|
+
render(<Extension />, document.body);
|
|
6
|
+
};
|
|
6
7
|
|
|
7
|
-
function
|
|
8
|
+
function Extension() {
|
|
8
9
|
return (
|
|
9
|
-
<s-customer-account-action heading="
|
|
10
|
+
<s-customer-account-action heading="Edit order">
|
|
10
11
|
Extension content
|
|
11
|
-
<s-button slot="
|
|
12
|
-
|
|
12
|
+
<s-button slot="primary-action" onClick={() => shopify.close()}>
|
|
13
|
+
Close
|
|
13
14
|
</s-button>
|
|
14
15
|
</s-customer-account-action>
|
|
15
16
|
);
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
import {BaseElementPropsWithChildren, IdProps} from './shared';
|
|
2
|
+
|
|
3
|
+
export interface CustomerAccountActionProps extends IdProps {
|
|
2
4
|
/**
|
|
3
5
|
* Sets the heading of the Action container.
|
|
4
6
|
*/
|
|
5
7
|
heading: string;
|
|
6
8
|
}
|
|
7
9
|
|
|
10
|
+
export interface CustomerAccountActionElementSlots {
|
|
11
|
+
/**
|
|
12
|
+
* The primary action to perform, provided as a button type element.
|
|
13
|
+
*/
|
|
14
|
+
'primary-action'?: HTMLElement;
|
|
15
|
+
/**
|
|
16
|
+
* The secondary actions to perform, provided as button type elements.
|
|
17
|
+
*/
|
|
18
|
+
'secondary-actions'?: HTMLElement;
|
|
19
|
+
}
|
|
20
|
+
|
|
8
21
|
export interface CustomerAccountActionElement
|
|
9
22
|
extends HTMLElement,
|
|
10
23
|
CustomerAccountActionProps {}
|
|
@@ -16,14 +29,11 @@ declare global {
|
|
|
16
29
|
}
|
|
17
30
|
|
|
18
31
|
declare module 'preact' {
|
|
19
|
-
interface BaseProps {
|
|
20
|
-
children?: preact.ComponentChildren;
|
|
21
|
-
slot?: Lowercase<string>;
|
|
22
|
-
}
|
|
23
32
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
24
33
|
namespace createElement.JSX {
|
|
25
34
|
interface IntrinsicElements {
|
|
26
|
-
['s-customer-account-action']:
|
|
35
|
+
['s-customer-account-action']: BaseElementPropsWithChildren<CustomerAccountActionElement> &
|
|
36
|
+
CustomerAccountActionProps;
|
|
27
37
|
}
|
|
28
38
|
}
|
|
29
39
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
import '@shopify/ui-extensions/preact';
|
|
1
2
|
import {render} from 'preact';
|
|
2
3
|
|
|
3
|
-
export default
|
|
4
|
-
render(<
|
|
5
|
-
}
|
|
4
|
+
export default async () => {
|
|
5
|
+
render(<Extension />, document.body);
|
|
6
|
+
};
|
|
6
7
|
|
|
7
|
-
function
|
|
8
|
+
function Extension() {
|
|
8
9
|
return (
|
|
9
10
|
<s-image-group>
|
|
10
11
|
<s-image src="../assets/flower.jpg" />
|
|
11
12
|
<s-image src="../assets/flower.jpg" />
|
|
12
13
|
<s-image src="../assets/flower.jpg" />
|
|
14
|
+
<s-image src="../assets/flower.jpg" />
|
|
13
15
|
</s-image-group>
|
|
14
16
|
);
|
|
15
17
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import {BaseElementPropsWithChildren, IdProps} from './shared';
|
|
2
|
+
|
|
3
|
+
export interface ImageGroupProps extends IdProps {
|
|
2
4
|
/**
|
|
3
5
|
* Indicates the total number of items that could be displayed in the image group.
|
|
4
6
|
* It is used to determine the remaining number to show when all the available image slots have been filled.
|
|
@@ -15,13 +17,11 @@ declare global {
|
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
declare module 'preact' {
|
|
18
|
-
interface BaseProps {
|
|
19
|
-
children?: preact.ComponentChildren;
|
|
20
|
-
}
|
|
21
20
|
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
22
21
|
namespace createElement.JSX {
|
|
23
22
|
interface IntrinsicElements {
|
|
24
|
-
['s-image-group']:
|
|
23
|
+
['s-image-group']: BaseElementPropsWithChildren<ImageGroupElement> &
|
|
24
|
+
ImageGroupProps;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import '@shopify/ui-extensions/preact';
|
|
2
|
+
import {render} from 'preact';
|
|
3
|
+
|
|
4
|
+
export default async () => {
|
|
5
|
+
render(<Extension />, document.body);
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
function Extension() {
|
|
9
|
+
return (
|
|
10
|
+
<>
|
|
11
|
+
<s-button commandFor="order-actions-menu">Manage</s-button>
|
|
12
|
+
<s-menu
|
|
13
|
+
id="order-actions-menu"
|
|
14
|
+
accessibilityLabel="List of order actions"
|
|
15
|
+
>
|
|
16
|
+
<s-button onClick={() => console.log('Submit problem')}>
|
|
17
|
+
Submit problem
|
|
18
|
+
</s-button>
|
|
19
|
+
<s-button href="https://shopify.com">Request return</s-button>
|
|
20
|
+
<s-button tone="critical">Cancel order</s-button>
|
|
21
|
+
</s-menu>
|
|
22
|
+
</>
|
|
23
|
+
);
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {BaseElementPropsWithChildren, IdProps} from './shared';
|
|
2
|
+
|
|
3
|
+
export interface MenuProps extends IdProps {
|
|
4
|
+
/**
|
|
5
|
+
* A label to describe the purpose of the menu that is announced by screen readers.
|
|
6
|
+
*/
|
|
7
|
+
accessibilityLabel?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface MenuElement extends MenuProps, Omit<HTMLElement, 'id'> {}
|
|
11
|
+
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
['s-menu']: MenuElement;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare module 'preact' {
|
|
19
|
+
// eslint-disable-next-line @typescript-eslint/no-namespace
|
|
20
|
+
namespace createElement.JSX {
|
|
21
|
+
interface IntrinsicElements {
|
|
22
|
+
['s-menu']: BaseElementPropsWithChildren<MenuElement> & MenuProps;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|