@shopify/ui-extensions 2025.10.0-rc.8 → 2025.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +5 -1
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
- package/build/cjs/surfaces/checkout/shared.js +35 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +5 -1
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
- package/build/esm/surfaces/checkout/shared.mjs +31 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +5 -1
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
- package/build/esnext/surfaces/checkout/shared.esnext +31 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DateField.d.ts +4 -0
- package/build/ts/docs/shared/components/DateField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Details.d.ts +4 -0
- package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Summary.d.ts +4 -0
- package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/index.d.ts +12 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +14 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +132 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +8 -8
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +128 -0
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +8 -5
- package/build/ts/surfaces/admin/components/Banner.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +41 -36
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +121 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +109 -56
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +240 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +242 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +48 -36
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +148 -34
- package/build/ts/surfaces/admin/components/GridItem.d.ts +76 -24
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +8 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +95 -55
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -39
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +139 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +227 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/build/ts/surfaces/admin/components/NumberField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +33 -7
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +49 -33
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +117 -41
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +22 -27
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +16 -15
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +6 -4
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +5 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -33
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -34
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -33
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +1212 -737
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +53 -3537
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3590
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3548
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -3497
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -3497
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -3497
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +20 -4
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +63 -40
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Details.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -5
- package/build/ts/surfaces/checkout/components/Map.d.ts +11 -8
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/checkout/components/components.d.ts +1947 -530
- package/build/ts/surfaces/checkout/extension-targets.d.ts +64 -60
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +36 -5
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +60 -1304
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +68 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +62 -1397
- package/build/ts/surfaces/checkout.d.ts +3 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +54 -40
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +11 -5
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +9 -6
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +129 -0
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -7
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +31 -8
- package/build/ts/surfaces/customer-account/components/Form.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +4 -3
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -5
- package/build/ts/surfaces/customer-account/components/Map.d.ts +11 -8
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +16 -15
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +22 -18
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +98 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +31 -17
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +8 -5
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +24 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +35 -20
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1034 -288
- package/build/ts/surfaces/customer-account/components/components.d.ts +1947 -530
- package/build/ts/surfaces/customer-account/components/shared.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +12 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +75 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +70 -1537
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +70 -1537
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +165 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +37 -5
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +12 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/ConsentCheckbox.ts +12 -0
- package/src/docs/shared/components/ConsentPhoneField.ts +12 -0
- package/src/docs/shared/components/DateField.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Details.ts +12 -0
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +2 -2
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
- package/src/docs/shared/components/Summary.ts +12 -0
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/components/index.ts +12 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +16 -1
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api/intents/examples/create-article.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-catalog.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-collection.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-customer.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-market.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-menu.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/create-page.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-product.js +9 -0
- package/src/surfaces/admin/api/intents/examples/create-variant.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-article.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-catalog.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-collection.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-customer.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-discount.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-market.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-menu.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-page.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-product.js +11 -0
- package/src/surfaces/admin/api/intents/examples/edit-variant.js +11 -0
- package/src/surfaces/admin/api/intents/intents.ts +153 -0
- package/src/surfaces/admin/api/standard/standard.ts +9 -7
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +128 -0
- package/src/surfaces/admin/components/Badge.d.ts +8 -5
- package/src/surfaces/admin/components/Banner.d.ts +22 -28
- package/src/surfaces/admin/components/Box.d.ts +76 -24
- package/src/surfaces/admin/components/Button.d.ts +41 -36
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +132 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +23 -34
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +121 -0
- package/src/surfaces/admin/components/Choice.d.ts +10 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +22 -28
- package/src/surfaces/admin/components/Clickable.d.ts +109 -56
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +152 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +240 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +128 -0
- package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
- package/src/surfaces/admin/components/DateField.d.ts +242 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -33
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/EmailField.d.ts +27 -33
- package/src/surfaces/admin/components/Form.d.ts +48 -36
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +148 -34
- package/src/surfaces/admin/components/GridItem.d.ts +76 -24
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +8 -4
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Image.d.ts +95 -55
- package/src/surfaces/admin/components/Link.d.ts +35 -39
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +139 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +227 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -38
- package/src/surfaces/admin/components/NumberField.d.ts +27 -33
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +33 -7
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -33
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +4 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +4 -8
- package/src/surfaces/admin/components/SearchField.d.ts +27 -33
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +49 -33
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +117 -41
- package/src/surfaces/admin/components/StandardComponents.ts +9 -0
- package/src/surfaces/admin/components/Switch.d.ts +22 -27
- package/src/surfaces/admin/components/Table.d.ts +16 -15
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +18 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +11 -4
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
- package/src/surfaces/admin/components/TableRow.d.ts +6 -4
- package/src/surfaces/admin/components/Text.d.ts +5 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -33
- package/src/surfaces/admin/components/TextField.d.ts +28 -34
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +15 -21
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/src/surfaces/admin/components/URLField.d.ts +27 -33
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +16 -16
- package/src/surfaces/admin/components/patterns/examples/details.jsx +13 -20
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +26 -59
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +26 -63
- package/src/surfaces/admin/components/patterns/examples/index.html +26 -34
- package/src/surfaces/admin/components/patterns/examples/index.jsx +23 -35
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +127 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +168 -215
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +169 -311
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +8 -10
- package/src/surfaces/admin/components/shared.d.ts +1212 -737
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +3311 -1293
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/admin/extension-targets.ts +11 -10
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
- package/src/surfaces/checkout/api/checkout/checkout.ts +14 -4
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -4
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -4
- package/src/surfaces/checkout/api/standard/standard.ts +65 -41
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -1
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +57 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Banner.d.ts +9 -6
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Button.d.ts +10 -5
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox.d.ts +11 -5
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
- package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
- package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/checkout/components/Details.d.ts +85 -0
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
- package/src/surfaces/checkout/components/Divider.d.ts +46 -0
- package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -7
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +31 -8
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
- package/src/surfaces/checkout/components/Form.d.ts +11 -8
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +4 -3
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -5
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
- package/src/surfaces/checkout/components/Map.d.ts +11 -8
- package/src/surfaces/checkout/components/MapMarker.d.ts +16 -15
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +1 -1
- package/src/surfaces/checkout/components/Modal.d.ts +22 -18
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/src/surfaces/checkout/components/NumberField/examples/basic-number-field.example.html +8 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +98 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +31 -17
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/checkout/components/Popover.d.ts +116 -0
- package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/{basic-productthumbnail.example.html → basic-product-thumbnail.example.html} +1 -1
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QRCode.d.ts +8 -5
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
- package/src/surfaces/checkout/components/Stack.d.ts +4 -4
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
- package/src/surfaces/checkout/components/TextArea/examples/{basic-textarea.example.html → basic-text-area.example.html} +1 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +24 -8
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +4 -0
- package/src/surfaces/checkout/components/TextField.d.ts +35 -20
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Time.d.ts +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +1034 -288
- package/src/surfaces/checkout/components/components.d.ts +1947 -530
- package/src/surfaces/checkout/extension-targets.ts +70 -61
- package/src/surfaces/checkout/preact/api.ts +5 -1
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +10 -8
- package/src/surfaces/checkout/preact/tests/api.test.tsx +22 -13
- package/src/surfaces/checkout/preact/tests/app-metafields.test.ts +52 -56
- package/src/surfaces/checkout/preact/tests/attributes.test.ts +34 -24
- package/src/surfaces/checkout/preact/tests/billing-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/buyer-identity-businessCustomer.test.ts +16 -9
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +56 -26
- package/src/surfaces/checkout/preact/tests/buyer-journey.test.ts +71 -74
- package/src/surfaces/checkout/preact/tests/capabilities.test.ts +32 -28
- package/src/surfaces/checkout/preact/tests/cart-line-target.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/checkout-settings.test.ts +17 -9
- package/src/surfaces/checkout/preact/tests/checkout-token.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/configuration.test.ts +16 -6
- package/src/surfaces/checkout/preact/tests/country.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/currency.test.tsx +18 -8
- package/src/surfaces/checkout/preact/tests/customer-privacy.test.ts +17 -8
- package/src/surfaces/checkout/preact/tests/delivery-group-list-target.test.ts +24 -18
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +26 -20
- package/src/surfaces/checkout/preact/tests/delivery-group.test.ts +22 -16
- package/src/surfaces/checkout/preact/tests/delivery-groups.test.ts +17 -11
- package/src/surfaces/checkout/preact/tests/delivery-selection-groups.test.ts +31 -24
- package/src/surfaces/checkout/preact/tests/discounts.test.tsx +21 -14
- package/src/surfaces/checkout/preact/tests/extension-language.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/gift-cards.test.tsx +17 -8
- package/src/surfaces/checkout/preact/tests/localized-fields.test.ts +58 -59
- package/src/surfaces/checkout/preact/tests/market.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/metafield.test.tsx +33 -36
- package/src/surfaces/checkout/preact/tests/metafields.test.tsx +36 -53
- package/src/surfaces/checkout/preact/tests/mount.tsx +63 -20
- package/src/surfaces/checkout/preact/tests/notes.test.tsx +16 -6
- package/src/surfaces/checkout/preact/tests/payment-method.test.ts +87 -60
- package/src/surfaces/checkout/preact/tests/payment-options.test.tsx +26 -24
- package/src/surfaces/checkout/preact/tests/pickup-location-option-target.test.tsx +55 -46
- package/src/surfaces/checkout/preact/tests/redeemable.test.ts +30 -23
- package/src/surfaces/checkout/preact/tests/session-token.test.tsx +12 -6
- package/src/surfaces/checkout/preact/tests/shipping-address.test.ts +17 -7
- package/src/surfaces/checkout/preact/tests/shipping-option-target.test.ts +54 -50
- package/src/surfaces/checkout/preact/tests/shopping-address.test.tsx +18 -10
- package/src/surfaces/checkout/preact/tests/timezone.test.tsx +17 -7
- package/src/surfaces/checkout/preact/tests/translate.test.tsx +18 -13
- package/src/surfaces/checkout/preact/tests/tsconfig.json +1 -1
- package/src/surfaces/checkout/shared.ts +112 -43
- package/src/surfaces/checkout.ts +5 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +58 -40
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +46 -20
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +17 -2
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +5 -2
- package/src/surfaces/customer-account/components/shared.ts +12 -5
- package/src/surfaces/customer-account/components.d.ts +109 -83
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +4 -4
- package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
- package/src/surfaces/customer-account/preact/navigation.ts +3 -10
- package/src/surfaces/customer-account/preact/subscription.ts +7 -6
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +55 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api.ts +128 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +175 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +102 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/multiple-selection.jsx +9 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Divider/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +48 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +183 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +90 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/controls-constraints.jsx +9 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/input-mode.jsx +15 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +68 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +250 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +75 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/accessory-slot.jsx +9 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/rows-configuration.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/accessory-slot.jsx +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/common-props.jsx +11 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/event-handling.jsx +17 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +95 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/event-handling.jsx +8 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/command-system.jsx +10 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/event-handling.jsx +7 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +6491 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
- package/src/surfaces/point-of-sale/event/data.ts +16 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
- package/src/surfaces/point-of-sale/event/output.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
- package/src/surfaces/point-of-sale/globals.ts +6 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +174 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +9 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/types/order.ts +12 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +64 -0
- package/src/surfaces/point-of-sale/types/product.ts +64 -0
- package/src/surfaces/point-of-sale/types/session.ts +39 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
- package/src/surfaces/point-of-sale/types/storage.ts +73 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
- package/src/surfaces/point-of-sale.ts +4 -0
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -3502
- package/build/ts/surfaces/checkout/errors.d.ts +0 -10
- package/build/ts/surfaces/checkout/errors.d.ts.map +0 -1
- package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.html +0 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
- package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.html +0 -1
- package/src/surfaces/checkout/errors.ts +0 -13
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +0 -9
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -9
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -16
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -15
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -36
- /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
- /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
- /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
|
|
@@ -8,13 +8,168 @@
|
|
|
8
8
|
* TODO: Update `any` type here after this is resolved
|
|
9
9
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
10
10
|
*/
|
|
11
|
-
export type ComponentChildren =
|
|
11
|
+
export type ComponentChildren = preact.ComponentChildren;
|
|
12
|
+
export type StringChildren = string;
|
|
12
13
|
export interface GlobalProps {
|
|
13
14
|
/**
|
|
14
15
|
* A unique identifier for the element.
|
|
15
16
|
*/
|
|
16
17
|
id?: string;
|
|
17
18
|
}
|
|
19
|
+
export interface ActionProps {
|
|
20
|
+
/**
|
|
21
|
+
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
22
|
+
*/
|
|
23
|
+
heading?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ActionSlots {
|
|
26
|
+
/**
|
|
27
|
+
* The primary action to perform, provided as a button or link type element.
|
|
28
|
+
*/
|
|
29
|
+
primaryAction?: ComponentChildren;
|
|
30
|
+
/**
|
|
31
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
32
|
+
*/
|
|
33
|
+
secondaryActions?: ComponentChildren;
|
|
34
|
+
}
|
|
35
|
+
interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
|
|
36
|
+
/**
|
|
37
|
+
* Whether the action is in a loading state, such as initial page load or action opening.
|
|
38
|
+
* When true, the action could be in an inert state, which prevents user interaction.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface AdminBlockProps$1 extends GlobalProps {
|
|
45
|
+
/**
|
|
46
|
+
* The text to use as the Block title in the block header. If not provided, the name of the
|
|
47
|
+
* extension will be used.
|
|
48
|
+
*/
|
|
49
|
+
heading?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The summary to display when the app block is collapsed.
|
|
52
|
+
* Summary longer than 30 characters will be truncated.
|
|
53
|
+
*/
|
|
54
|
+
collapsedSummary?: string;
|
|
55
|
+
}
|
|
56
|
+
interface AdminPrintActionProps$1 extends GlobalProps {
|
|
57
|
+
/**
|
|
58
|
+
* Sets the src URL of the preview and the document to print.
|
|
59
|
+
* If not provided, the preview will show an empty state and the print button will be disabled.
|
|
60
|
+
* HTML, PDFs and images are supported.
|
|
61
|
+
*/
|
|
62
|
+
src?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface BaseOverlayProps {
|
|
65
|
+
/**
|
|
66
|
+
* Callback fired after the overlay is shown.
|
|
67
|
+
*/
|
|
68
|
+
onShow?: (event: Event) => void;
|
|
69
|
+
/**
|
|
70
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
71
|
+
*/
|
|
72
|
+
onAfterShow?: (event: Event) => void;
|
|
73
|
+
/**
|
|
74
|
+
* Callback fired after the overlay is hidden.
|
|
75
|
+
*/
|
|
76
|
+
onHide?: (event: Event) => void;
|
|
77
|
+
/**
|
|
78
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
79
|
+
*/
|
|
80
|
+
onAfterHide?: (event: Event) => void;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Shared interfaces for web component methods.
|
|
84
|
+
*
|
|
85
|
+
* Methods are required (not optional) because:
|
|
86
|
+
* - Components implementing this interface must provide all methods
|
|
87
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
88
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
89
|
+
*/
|
|
90
|
+
export interface BaseOverlayMethods {
|
|
91
|
+
/**
|
|
92
|
+
* Method to show an overlay.
|
|
93
|
+
*
|
|
94
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
95
|
+
*/
|
|
96
|
+
showOverlay: () => void;
|
|
97
|
+
/**
|
|
98
|
+
* Method to hide an overlay.
|
|
99
|
+
*
|
|
100
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
101
|
+
*/
|
|
102
|
+
hideOverlay: () => void;
|
|
103
|
+
/**
|
|
104
|
+
* Method to toggle the visiblity of an overlay.
|
|
105
|
+
*
|
|
106
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
107
|
+
*/
|
|
108
|
+
toggleOverlay: () => void;
|
|
109
|
+
}
|
|
110
|
+
export interface FocusEventProps {
|
|
111
|
+
/**
|
|
112
|
+
* Callback when the element loses focus.
|
|
113
|
+
*
|
|
114
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
115
|
+
*/
|
|
116
|
+
onBlur?: (event: FocusEvent) => void;
|
|
117
|
+
/**
|
|
118
|
+
* Callback when the element receives focus.
|
|
119
|
+
*
|
|
120
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
121
|
+
*/
|
|
122
|
+
onFocus?: (event: FocusEvent) => void;
|
|
123
|
+
}
|
|
124
|
+
export interface ToggleEventProps {
|
|
125
|
+
/**
|
|
126
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
127
|
+
*
|
|
128
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
129
|
+
* `newState` property will be set to `open`.
|
|
130
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
131
|
+
* `newState` will be `closed`.
|
|
132
|
+
*
|
|
133
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
134
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
135
|
+
*/
|
|
136
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
137
|
+
/**
|
|
138
|
+
* Callback straight after the element state changes.
|
|
139
|
+
*
|
|
140
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
141
|
+
* `newState` property will be set to `open`.
|
|
142
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
143
|
+
* `newState` will be `closed`.
|
|
144
|
+
*
|
|
145
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
146
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
147
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
148
|
+
*/
|
|
149
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
150
|
+
}
|
|
151
|
+
export type ToggleState = 'open' | 'closed';
|
|
152
|
+
interface ToggleEvent$1 extends Event {
|
|
153
|
+
readonly newState: ToggleState;
|
|
154
|
+
readonly oldState: ToggleState;
|
|
155
|
+
}
|
|
156
|
+
export interface ExtendableEvent extends Event {
|
|
157
|
+
/**
|
|
158
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
159
|
+
*
|
|
160
|
+
* This may be called many times, which adds promises to the event.
|
|
161
|
+
*
|
|
162
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
163
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
164
|
+
*/
|
|
165
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
166
|
+
}
|
|
167
|
+
interface AggregateError$1<T extends Error> extends Error {
|
|
168
|
+
errors: T[];
|
|
169
|
+
}
|
|
170
|
+
export interface AggregateErrorEvent<T extends Error> extends ErrorEvent {
|
|
171
|
+
error: AggregateError$1<T>;
|
|
172
|
+
}
|
|
18
173
|
export type SizeKeyword =
|
|
19
174
|
| 'small-500'
|
|
20
175
|
| 'small-400'
|
|
@@ -30,6 +185,41 @@ export type SizeKeyword =
|
|
|
30
185
|
| 'large-400'
|
|
31
186
|
| 'large-500';
|
|
32
187
|
export type ColorKeyword = 'subdued' | 'base' | 'strong';
|
|
188
|
+
interface AvatarProps$1 extends GlobalProps {
|
|
189
|
+
/**
|
|
190
|
+
* Initials to display in the avatar.
|
|
191
|
+
*/
|
|
192
|
+
initials?: string;
|
|
193
|
+
/**
|
|
194
|
+
* The URL or path to the image.
|
|
195
|
+
*
|
|
196
|
+
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly
|
|
197
|
+
*/
|
|
198
|
+
src?: string;
|
|
199
|
+
/**
|
|
200
|
+
* Invoked when load of provided image completes successfully.
|
|
201
|
+
*
|
|
202
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
203
|
+
*/
|
|
204
|
+
onLoad?: (event: Event) => void;
|
|
205
|
+
/**
|
|
206
|
+
* Invoked on load error of provided image.
|
|
207
|
+
*
|
|
208
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
209
|
+
*/
|
|
210
|
+
onError?: (event: Event) => void;
|
|
211
|
+
/**
|
|
212
|
+
* Size of the avatar.
|
|
213
|
+
*
|
|
214
|
+
* @default 'base'
|
|
215
|
+
*/
|
|
216
|
+
size?: SizeKeyword;
|
|
217
|
+
/**
|
|
218
|
+
* An alternative text that describes the avatar for the reader
|
|
219
|
+
* to understand what it is about or identify the user the avatar belongs to.
|
|
220
|
+
*/
|
|
221
|
+
alt?: string;
|
|
222
|
+
}
|
|
33
223
|
export type BackgroundColorKeyword = 'transparent' | ColorKeyword;
|
|
34
224
|
export interface BackgroundProps {
|
|
35
225
|
/**
|
|
@@ -57,6 +247,7 @@ export type ToneKeyword =
|
|
|
57
247
|
| 'caution'
|
|
58
248
|
| 'warning'
|
|
59
249
|
| 'critical'
|
|
250
|
+
| 'accent'
|
|
60
251
|
| 'custom';
|
|
61
252
|
declare const privateIconArray: readonly [
|
|
62
253
|
'adjust',
|
|
@@ -66,23 +257,23 @@ declare const privateIconArray: readonly [
|
|
|
66
257
|
'alert-circle',
|
|
67
258
|
'alert-diamond',
|
|
68
259
|
'alert-location',
|
|
69
|
-
'alert-octagon-filled',
|
|
70
260
|
'alert-octagon',
|
|
261
|
+
'alert-octagon-filled',
|
|
71
262
|
'alert-triangle',
|
|
72
263
|
'alert-triangle-filled',
|
|
73
264
|
'app-extension',
|
|
74
265
|
'apps',
|
|
75
266
|
'archive',
|
|
267
|
+
'arrow-down',
|
|
76
268
|
'arrow-down-circle',
|
|
77
269
|
'arrow-down-right',
|
|
78
|
-
'arrow-down',
|
|
79
|
-
'arrow-left-circle',
|
|
80
270
|
'arrow-left',
|
|
81
|
-
'arrow-
|
|
271
|
+
'arrow-left-circle',
|
|
82
272
|
'arrow-right',
|
|
273
|
+
'arrow-right-circle',
|
|
274
|
+
'arrow-up',
|
|
83
275
|
'arrow-up-circle',
|
|
84
276
|
'arrow-up-right',
|
|
85
|
-
'arrow-up',
|
|
86
277
|
'arrows-in-horizontal',
|
|
87
278
|
'arrows-out-horizontal',
|
|
88
279
|
'attachment',
|
|
@@ -91,36 +282,39 @@ declare const privateIconArray: readonly [
|
|
|
91
282
|
'bag',
|
|
92
283
|
'bank',
|
|
93
284
|
'barcode',
|
|
285
|
+
'battery-low',
|
|
94
286
|
'bill',
|
|
95
287
|
'blank',
|
|
96
288
|
'blog',
|
|
97
|
-
'bolt-filled',
|
|
98
289
|
'bolt',
|
|
99
|
-
'
|
|
290
|
+
'bolt-filled',
|
|
100
291
|
'book',
|
|
292
|
+
'book-open',
|
|
101
293
|
'bug',
|
|
102
294
|
'bullet',
|
|
103
295
|
'business-entity',
|
|
104
|
-
'button-press',
|
|
105
296
|
'button',
|
|
297
|
+
'button-press',
|
|
106
298
|
'calculator',
|
|
299
|
+
'calendar',
|
|
107
300
|
'calendar-check',
|
|
108
301
|
'calendar-compare',
|
|
109
302
|
'calendar-list',
|
|
110
303
|
'calendar-time',
|
|
111
|
-
'calendar',
|
|
112
|
-
'camera-flip',
|
|
113
304
|
'camera',
|
|
305
|
+
'camera-flip',
|
|
114
306
|
'caret-down',
|
|
115
|
-
'caret-up',
|
|
116
307
|
'caret-left',
|
|
117
308
|
'caret-right',
|
|
309
|
+
'caret-up',
|
|
310
|
+
'cart',
|
|
118
311
|
'cart-abandoned',
|
|
119
312
|
'cart-discount',
|
|
120
313
|
'cart-down',
|
|
314
|
+
'cart-filled',
|
|
121
315
|
'cart-sale',
|
|
316
|
+
'cart-send',
|
|
122
317
|
'cart-up',
|
|
123
|
-
'cart',
|
|
124
318
|
'cash-dollar',
|
|
125
319
|
'cash-euro',
|
|
126
320
|
'cash-pound',
|
|
@@ -132,8 +326,8 @@ declare const privateIconArray: readonly [
|
|
|
132
326
|
'chart-cohort',
|
|
133
327
|
'chart-donut',
|
|
134
328
|
'chart-funnel',
|
|
135
|
-
'chart-histogram-first-last',
|
|
136
329
|
'chart-histogram-first',
|
|
330
|
+
'chart-histogram-first-last',
|
|
137
331
|
'chart-histogram-flat',
|
|
138
332
|
'chart-histogram-full',
|
|
139
333
|
'chart-histogram-growth',
|
|
@@ -144,36 +338,37 @@ declare const privateIconArray: readonly [
|
|
|
144
338
|
'chart-popular',
|
|
145
339
|
'chart-stacked',
|
|
146
340
|
'chart-vertical',
|
|
341
|
+
'chat',
|
|
147
342
|
'chat-new',
|
|
148
343
|
'chat-referral',
|
|
149
|
-
'chat',
|
|
150
|
-
'check-circle-filled',
|
|
151
|
-
'check-circle',
|
|
152
344
|
'check',
|
|
345
|
+
'check-circle',
|
|
346
|
+
'check-circle-filled',
|
|
153
347
|
'checkbox',
|
|
154
|
-
'chevron-down-circle',
|
|
155
348
|
'chevron-down',
|
|
156
|
-
'chevron-
|
|
349
|
+
'chevron-down-circle',
|
|
157
350
|
'chevron-left',
|
|
158
|
-
'chevron-
|
|
351
|
+
'chevron-left-circle',
|
|
159
352
|
'chevron-right',
|
|
160
|
-
'chevron-
|
|
353
|
+
'chevron-right-circle',
|
|
161
354
|
'chevron-up',
|
|
162
|
-
'circle
|
|
355
|
+
'chevron-up-circle',
|
|
163
356
|
'circle',
|
|
357
|
+
'circle-dashed',
|
|
358
|
+
'clipboard',
|
|
164
359
|
'clipboard-check',
|
|
165
360
|
'clipboard-checklist',
|
|
166
|
-
'clipboard',
|
|
167
|
-
'clock-revert',
|
|
168
361
|
'clock',
|
|
169
|
-
'
|
|
362
|
+
'clock-list',
|
|
363
|
+
'clock-revert',
|
|
170
364
|
'code',
|
|
365
|
+
'code-add',
|
|
366
|
+
'collection',
|
|
171
367
|
'collection-featured',
|
|
172
368
|
'collection-list',
|
|
173
369
|
'collection-reference',
|
|
174
|
-
'collection',
|
|
175
|
-
'color-none',
|
|
176
370
|
'color',
|
|
371
|
+
'color-none',
|
|
177
372
|
'compass',
|
|
178
373
|
'complete',
|
|
179
374
|
'compose',
|
|
@@ -184,76 +379,81 @@ declare const privateIconArray: readonly [
|
|
|
184
379
|
'corner-pill',
|
|
185
380
|
'corner-round',
|
|
186
381
|
'corner-square',
|
|
382
|
+
'credit-card',
|
|
187
383
|
'credit-card-cancel',
|
|
188
384
|
'credit-card-percent',
|
|
385
|
+
'credit-card-reader',
|
|
189
386
|
'credit-card-reader-chip',
|
|
190
387
|
'credit-card-reader-tap',
|
|
191
|
-
'credit-card-reader',
|
|
192
388
|
'credit-card-secure',
|
|
193
389
|
'credit-card-tap-chip',
|
|
194
|
-
'credit-card',
|
|
195
390
|
'crop',
|
|
196
391
|
'currency-convert',
|
|
392
|
+
'cursor',
|
|
197
393
|
'cursor-banner',
|
|
198
394
|
'cursor-option',
|
|
199
|
-
'cursor',
|
|
200
395
|
'data-presentation',
|
|
201
396
|
'data-table',
|
|
397
|
+
'database',
|
|
202
398
|
'database-add',
|
|
203
399
|
'database-connect',
|
|
204
|
-
'database',
|
|
205
400
|
'delete',
|
|
206
401
|
'delivered',
|
|
207
402
|
'delivery',
|
|
208
403
|
'desktop',
|
|
209
404
|
'disabled',
|
|
405
|
+
'disabled-filled',
|
|
406
|
+
'discount',
|
|
210
407
|
'discount-add',
|
|
408
|
+
'discount-automatic',
|
|
211
409
|
'discount-code',
|
|
212
|
-
'discount',
|
|
410
|
+
'discount-remove',
|
|
213
411
|
'dns-settings',
|
|
214
412
|
'dock-floating',
|
|
215
413
|
'dock-side',
|
|
414
|
+
'domain',
|
|
216
415
|
'domain-landing-page',
|
|
217
416
|
'domain-new',
|
|
218
417
|
'domain-redirect',
|
|
219
|
-
'domain',
|
|
220
418
|
'download',
|
|
221
419
|
'drag-drop',
|
|
222
420
|
'drag-handle',
|
|
421
|
+
'drawer',
|
|
223
422
|
'duplicate',
|
|
224
423
|
'edit',
|
|
424
|
+
'email',
|
|
225
425
|
'email-follow-up',
|
|
226
426
|
'email-newsletter',
|
|
227
|
-
'email',
|
|
228
427
|
'empty',
|
|
229
428
|
'enabled',
|
|
230
429
|
'enter',
|
|
231
|
-
'envelope-soft-pack',
|
|
232
430
|
'envelope',
|
|
431
|
+
'envelope-soft-pack',
|
|
233
432
|
'eraser',
|
|
234
433
|
'exchange',
|
|
235
434
|
'exit',
|
|
236
435
|
'export',
|
|
237
436
|
'external',
|
|
238
437
|
'eye-check-mark',
|
|
239
|
-
'eye-dropper-list',
|
|
240
438
|
'eye-dropper',
|
|
439
|
+
'eye-dropper-list',
|
|
241
440
|
'eye-first',
|
|
242
441
|
'eyeglasses',
|
|
243
442
|
'fav',
|
|
244
443
|
'favicon',
|
|
245
|
-
'file-list',
|
|
246
444
|
'file',
|
|
445
|
+
'file-list',
|
|
247
446
|
'filter',
|
|
447
|
+
'filter-active',
|
|
248
448
|
'flag',
|
|
249
449
|
'flip-horizontal',
|
|
250
450
|
'flip-vertical',
|
|
251
451
|
'flower',
|
|
452
|
+
'folder',
|
|
252
453
|
'folder-add',
|
|
253
454
|
'folder-down',
|
|
254
455
|
'folder-remove',
|
|
255
456
|
'folder-up',
|
|
256
|
-
'folder',
|
|
257
457
|
'food',
|
|
258
458
|
'foreground',
|
|
259
459
|
'forklift',
|
|
@@ -261,33 +461,35 @@ declare const privateIconArray: readonly [
|
|
|
261
461
|
'games',
|
|
262
462
|
'gauge',
|
|
263
463
|
'geolocation',
|
|
264
|
-
'gift-card',
|
|
265
464
|
'gift',
|
|
465
|
+
'gift-card',
|
|
266
466
|
'git-branch',
|
|
267
467
|
'git-commit',
|
|
268
468
|
'git-repository',
|
|
469
|
+
'globe',
|
|
269
470
|
'globe-asia',
|
|
270
471
|
'globe-europe',
|
|
271
472
|
'globe-lines',
|
|
272
473
|
'globe-list',
|
|
273
|
-
'
|
|
474
|
+
'graduation-hat',
|
|
274
475
|
'grid',
|
|
476
|
+
'hashtag',
|
|
275
477
|
'hashtag-decimal',
|
|
276
478
|
'hashtag-list',
|
|
277
|
-
'hashtag',
|
|
278
479
|
'heart',
|
|
279
|
-
'hide-filled',
|
|
280
480
|
'hide',
|
|
481
|
+
'hide-filled',
|
|
281
482
|
'home',
|
|
483
|
+
'home-filled',
|
|
282
484
|
'icons',
|
|
283
485
|
'identity-card',
|
|
486
|
+
'image',
|
|
284
487
|
'image-add',
|
|
285
488
|
'image-alt',
|
|
286
489
|
'image-explore',
|
|
287
490
|
'image-magic',
|
|
288
491
|
'image-none',
|
|
289
492
|
'image-with-text-overlay',
|
|
290
|
-
'image',
|
|
291
493
|
'images',
|
|
292
494
|
'import',
|
|
293
495
|
'in-progress',
|
|
@@ -296,20 +498,25 @@ declare const privateIconArray: readonly [
|
|
|
296
498
|
'incomplete',
|
|
297
499
|
'info',
|
|
298
500
|
'info-filled',
|
|
299
|
-
'
|
|
501
|
+
'inheritance',
|
|
300
502
|
'inventory',
|
|
503
|
+
'inventory-edit',
|
|
504
|
+
'inventory-list',
|
|
505
|
+
'inventory-transfer',
|
|
506
|
+
'inventory-updated',
|
|
301
507
|
'iq',
|
|
302
508
|
'key',
|
|
509
|
+
'keyboard',
|
|
303
510
|
'keyboard-filled',
|
|
304
511
|
'keyboard-hide',
|
|
305
|
-
'
|
|
512
|
+
'keypad',
|
|
306
513
|
'label-printer',
|
|
307
|
-
'language-translate',
|
|
308
514
|
'language',
|
|
515
|
+
'language-translate',
|
|
309
516
|
'layout-block',
|
|
517
|
+
'layout-buy-button',
|
|
310
518
|
'layout-buy-button-horizontal',
|
|
311
519
|
'layout-buy-button-vertical',
|
|
312
|
-
'layout-buy-button',
|
|
313
520
|
'layout-column-1',
|
|
314
521
|
'layout-columns-2',
|
|
315
522
|
'layout-columns-3',
|
|
@@ -322,64 +529,74 @@ declare const privateIconArray: readonly [
|
|
|
322
529
|
'layout-sidebar-left',
|
|
323
530
|
'layout-sidebar-right',
|
|
324
531
|
'lightbulb',
|
|
325
|
-
'link-list',
|
|
326
532
|
'link',
|
|
533
|
+
'link-list',
|
|
327
534
|
'list-bulleted',
|
|
535
|
+
'list-bulleted-filled',
|
|
328
536
|
'list-numbered',
|
|
329
537
|
'live',
|
|
330
|
-
'
|
|
538
|
+
'live-critical',
|
|
539
|
+
'live-none',
|
|
331
540
|
'location',
|
|
541
|
+
'location-none',
|
|
332
542
|
'lock',
|
|
333
543
|
'map',
|
|
544
|
+
'markets',
|
|
334
545
|
'markets-euro',
|
|
335
546
|
'markets-rupee',
|
|
336
547
|
'markets-yen',
|
|
337
|
-
'markets',
|
|
338
548
|
'maximize',
|
|
339
|
-
'measurement-size-list',
|
|
340
549
|
'measurement-size',
|
|
341
|
-
'measurement-
|
|
550
|
+
'measurement-size-list',
|
|
342
551
|
'measurement-volume',
|
|
343
|
-
'measurement-
|
|
552
|
+
'measurement-volume-list',
|
|
344
553
|
'measurement-weight',
|
|
554
|
+
'measurement-weight-list',
|
|
345
555
|
'media-receiver',
|
|
346
556
|
'megaphone',
|
|
347
557
|
'mention',
|
|
558
|
+
'menu',
|
|
559
|
+
'menu-filled',
|
|
348
560
|
'menu-horizontal',
|
|
349
561
|
'menu-vertical',
|
|
350
|
-
'menu',
|
|
351
562
|
'merge',
|
|
352
563
|
'metafields',
|
|
564
|
+
'metaobject',
|
|
353
565
|
'metaobject-list',
|
|
354
566
|
'metaobject-reference',
|
|
355
|
-
'metaobject',
|
|
356
567
|
'microphone',
|
|
357
568
|
'minimize',
|
|
358
|
-
'minus-circle',
|
|
359
569
|
'minus',
|
|
570
|
+
'minus-circle',
|
|
360
571
|
'mobile',
|
|
361
|
-
'money-none',
|
|
362
572
|
'money',
|
|
573
|
+
'money-none',
|
|
574
|
+
'money-split',
|
|
363
575
|
'moon',
|
|
364
576
|
'nature',
|
|
365
|
-
'note-add',
|
|
366
577
|
'note',
|
|
578
|
+
'note-add',
|
|
367
579
|
'notification',
|
|
580
|
+
'number-one',
|
|
581
|
+
'order',
|
|
368
582
|
'order-batches',
|
|
369
583
|
'order-draft',
|
|
584
|
+
'order-filled',
|
|
370
585
|
'order-first',
|
|
371
586
|
'order-fulfilled',
|
|
372
587
|
'order-repeat',
|
|
373
588
|
'order-unfulfilled',
|
|
374
|
-
'order',
|
|
375
589
|
'orders-status',
|
|
376
590
|
'organization',
|
|
377
591
|
'outdent',
|
|
378
592
|
'outgoing',
|
|
593
|
+
'package',
|
|
594
|
+
'package-cancel',
|
|
379
595
|
'package-fulfilled',
|
|
380
596
|
'package-on-hold',
|
|
597
|
+
'package-reassign',
|
|
381
598
|
'package-returned',
|
|
382
|
-
'
|
|
599
|
+
'page',
|
|
383
600
|
'page-add',
|
|
384
601
|
'page-attachment',
|
|
385
602
|
'page-clock',
|
|
@@ -390,7 +607,6 @@ declare const privateIconArray: readonly [
|
|
|
390
607
|
'page-remove',
|
|
391
608
|
'page-report',
|
|
392
609
|
'page-up',
|
|
393
|
-
'page',
|
|
394
610
|
'pagination-end',
|
|
395
611
|
'pagination-start',
|
|
396
612
|
'paint-brush-flat',
|
|
@@ -400,49 +616,56 @@ declare const privateIconArray: readonly [
|
|
|
400
616
|
'passkey',
|
|
401
617
|
'paste',
|
|
402
618
|
'pause-circle',
|
|
403
|
-
'payment-capture',
|
|
404
619
|
'payment',
|
|
620
|
+
'payment-capture',
|
|
621
|
+
'payout',
|
|
405
622
|
'payout-dollar',
|
|
406
623
|
'payout-euro',
|
|
407
624
|
'payout-pound',
|
|
408
625
|
'payout-rupee',
|
|
409
626
|
'payout-yen',
|
|
410
|
-
'
|
|
627
|
+
'person',
|
|
411
628
|
'person-add',
|
|
412
629
|
'person-exit',
|
|
630
|
+
'person-filled',
|
|
413
631
|
'person-list',
|
|
414
632
|
'person-lock',
|
|
415
633
|
'person-remove',
|
|
416
634
|
'person-segment',
|
|
417
|
-
'person',
|
|
418
635
|
'personalized-text',
|
|
636
|
+
'phablet',
|
|
637
|
+
'phone',
|
|
419
638
|
'phone-in',
|
|
420
639
|
'phone-out',
|
|
421
|
-
'phone',
|
|
422
640
|
'pin',
|
|
423
641
|
'pin-remove',
|
|
424
642
|
'plan',
|
|
425
|
-
'play-circle',
|
|
426
643
|
'play',
|
|
644
|
+
'play-circle',
|
|
645
|
+
'plus',
|
|
427
646
|
'plus-circle',
|
|
428
647
|
'plus-circle-down',
|
|
648
|
+
'plus-circle-filled',
|
|
429
649
|
'plus-circle-up',
|
|
430
|
-
'plus',
|
|
431
650
|
'point-of-sale',
|
|
651
|
+
'point-of-sale-register',
|
|
432
652
|
'price-list',
|
|
433
653
|
'print',
|
|
654
|
+
'product',
|
|
434
655
|
'product-add',
|
|
435
656
|
'product-cost',
|
|
657
|
+
'product-filled',
|
|
436
658
|
'product-list',
|
|
437
659
|
'product-reference',
|
|
438
660
|
'product-remove',
|
|
439
661
|
'product-return',
|
|
440
662
|
'product-unavailable',
|
|
441
|
-
'product',
|
|
442
|
-
'profile-filled',
|
|
443
663
|
'profile',
|
|
444
|
-
'
|
|
664
|
+
'profile-filled',
|
|
445
665
|
'question-circle',
|
|
666
|
+
'question-circle-filled',
|
|
667
|
+
'radio-control',
|
|
668
|
+
'receipt',
|
|
446
669
|
'receipt-dollar',
|
|
447
670
|
'receipt-euro',
|
|
448
671
|
'receipt-folded',
|
|
@@ -451,7 +674,6 @@ declare const privateIconArray: readonly [
|
|
|
451
674
|
'receipt-refund',
|
|
452
675
|
'receipt-rupee',
|
|
453
676
|
'receipt-yen',
|
|
454
|
-
'receipt',
|
|
455
677
|
'receivables',
|
|
456
678
|
'redo',
|
|
457
679
|
'referral-code',
|
|
@@ -469,10 +691,12 @@ declare const privateIconArray: readonly [
|
|
|
469
691
|
'sandbox',
|
|
470
692
|
'save',
|
|
471
693
|
'savings',
|
|
694
|
+
'scan-qr-code',
|
|
695
|
+
'search',
|
|
696
|
+
'search-add',
|
|
472
697
|
'search-list',
|
|
473
698
|
'search-recent',
|
|
474
699
|
'search-resource',
|
|
475
|
-
'search',
|
|
476
700
|
'select',
|
|
477
701
|
'send',
|
|
478
702
|
'settings',
|
|
@@ -482,6 +706,7 @@ declare const privateIconArray: readonly [
|
|
|
482
706
|
'shield-pending',
|
|
483
707
|
'shield-person',
|
|
484
708
|
'shipping-label',
|
|
709
|
+
'shipping-label-cancel',
|
|
485
710
|
'shopcodes',
|
|
486
711
|
'slideshow',
|
|
487
712
|
'smiley-happy',
|
|
@@ -490,74 +715,80 @@ declare const privateIconArray: readonly [
|
|
|
490
715
|
'smiley-sad',
|
|
491
716
|
'social-ad',
|
|
492
717
|
'social-post',
|
|
718
|
+
'sort',
|
|
493
719
|
'sort-ascending',
|
|
494
720
|
'sort-descending',
|
|
495
|
-
'sort',
|
|
496
721
|
'sound',
|
|
722
|
+
'split',
|
|
497
723
|
'sports',
|
|
724
|
+
'star',
|
|
725
|
+
'star-circle',
|
|
498
726
|
'star-filled',
|
|
499
727
|
'star-half',
|
|
500
728
|
'star-list',
|
|
501
|
-
'star',
|
|
502
|
-
'status-active',
|
|
503
729
|
'status',
|
|
730
|
+
'status-active',
|
|
504
731
|
'stop-circle',
|
|
732
|
+
'store',
|
|
505
733
|
'store-import',
|
|
506
734
|
'store-managed',
|
|
507
735
|
'store-online',
|
|
508
|
-
'store',
|
|
509
736
|
'sun',
|
|
510
|
-
'table-masonry',
|
|
511
737
|
'table',
|
|
738
|
+
'table-masonry',
|
|
512
739
|
'tablet',
|
|
513
740
|
'target',
|
|
514
741
|
'tax',
|
|
515
742
|
'team',
|
|
743
|
+
'text',
|
|
516
744
|
'text-align-center',
|
|
517
745
|
'text-align-left',
|
|
518
746
|
'text-align-right',
|
|
519
747
|
'text-block',
|
|
520
748
|
'text-bold',
|
|
521
749
|
'text-color',
|
|
522
|
-
'text-font-list',
|
|
523
750
|
'text-font',
|
|
751
|
+
'text-font-list',
|
|
524
752
|
'text-grammar',
|
|
525
753
|
'text-in-columns',
|
|
526
754
|
'text-in-rows',
|
|
527
|
-
'text-indent-remove',
|
|
528
755
|
'text-indent',
|
|
756
|
+
'text-indent-remove',
|
|
529
757
|
'text-italic',
|
|
530
758
|
'text-quote',
|
|
531
759
|
'text-title',
|
|
532
760
|
'text-underline',
|
|
533
761
|
'text-with-image',
|
|
534
|
-
'
|
|
762
|
+
'theme',
|
|
535
763
|
'theme-edit',
|
|
536
764
|
'theme-store',
|
|
537
765
|
'theme-template',
|
|
538
|
-
'theme',
|
|
539
766
|
'three-d-environment',
|
|
540
767
|
'thumbs-down',
|
|
541
768
|
'thumbs-up',
|
|
542
769
|
'tip-jar',
|
|
543
770
|
'toggle-off',
|
|
544
771
|
'toggle-on',
|
|
772
|
+
'transaction',
|
|
773
|
+
'transaction-fee-add',
|
|
545
774
|
'transaction-fee-dollar',
|
|
546
775
|
'transaction-fee-euro',
|
|
547
776
|
'transaction-fee-pound',
|
|
548
777
|
'transaction-fee-rupee',
|
|
549
778
|
'transaction-fee-yen',
|
|
550
|
-
'
|
|
779
|
+
'transfer',
|
|
551
780
|
'transfer-in',
|
|
552
781
|
'transfer-internal',
|
|
553
782
|
'transfer-out',
|
|
554
|
-
'transfer',
|
|
555
783
|
'truck',
|
|
556
784
|
'undo',
|
|
557
785
|
'unknown-device',
|
|
558
786
|
'unlock',
|
|
559
787
|
'upload',
|
|
560
788
|
'variant',
|
|
789
|
+
'variant-list',
|
|
790
|
+
'video',
|
|
791
|
+
'video-list',
|
|
561
792
|
'view',
|
|
562
793
|
'viewport-narrow',
|
|
563
794
|
'viewport-short',
|
|
@@ -567,12 +798,12 @@ declare const privateIconArray: readonly [
|
|
|
567
798
|
'wand',
|
|
568
799
|
'watch',
|
|
569
800
|
'wifi',
|
|
570
|
-
'work-list',
|
|
571
801
|
'work',
|
|
802
|
+
'work-list',
|
|
572
803
|
'wrench',
|
|
573
|
-
'x-circle-filled',
|
|
574
|
-
'x-circle',
|
|
575
804
|
'x',
|
|
805
|
+
'x-circle',
|
|
806
|
+
'x-circle-filled',
|
|
576
807
|
];
|
|
577
808
|
export type IconType = (typeof privateIconArray)[number];
|
|
578
809
|
/**
|
|
@@ -585,6 +816,7 @@ export type MaybeAllValuesShorthandProperty<T extends string> =
|
|
|
585
816
|
| `${T} ${T} ${T}`
|
|
586
817
|
| `${T} ${T} ${T} ${T}`;
|
|
587
818
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
819
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
588
820
|
/**
|
|
589
821
|
* Prevents widening string literal types in a union to `string`.
|
|
590
822
|
* @example
|
|
@@ -594,6 +826,13 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
594
826
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
595
827
|
*/
|
|
596
828
|
export type AnyString = string & {};
|
|
829
|
+
/**
|
|
830
|
+
* This is purely to give the ability
|
|
831
|
+
* to have a space or not in the string literal types.
|
|
832
|
+
*
|
|
833
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
834
|
+
*/
|
|
835
|
+
export type optionalSpace = '' | ' ';
|
|
597
836
|
interface BadgeProps$1 extends GlobalProps {
|
|
598
837
|
/**
|
|
599
838
|
* The content of the Badge.
|
|
@@ -628,22 +867,6 @@ interface BadgeProps$1 extends GlobalProps {
|
|
|
628
867
|
*/
|
|
629
868
|
size?: SizeKeyword;
|
|
630
869
|
}
|
|
631
|
-
export interface ActionProps {
|
|
632
|
-
/**
|
|
633
|
-
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
634
|
-
*/
|
|
635
|
-
heading?: string;
|
|
636
|
-
}
|
|
637
|
-
export interface ActionSlots {
|
|
638
|
-
/**
|
|
639
|
-
* The primary action to perform, provided as a button or link type element.
|
|
640
|
-
*/
|
|
641
|
-
primaryAction?: ComponentChildren;
|
|
642
|
-
/**
|
|
643
|
-
* The secondary actions to perform, provided as button or link type elements.
|
|
644
|
-
*/
|
|
645
|
-
secondaryActions?: ComponentChildren;
|
|
646
|
-
}
|
|
647
870
|
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
648
871
|
/**
|
|
649
872
|
* The title of the banner.
|
|
@@ -695,7 +918,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
|
695
918
|
*
|
|
696
919
|
* The `hidden` property will be `false` when this event fires.
|
|
697
920
|
*/
|
|
698
|
-
onDismiss?: () => void;
|
|
921
|
+
onDismiss?: (event: Event) => void;
|
|
699
922
|
/**
|
|
700
923
|
* Event handler when the banner has fully hidden.
|
|
701
924
|
*
|
|
@@ -705,7 +928,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
|
705
928
|
* this event must fire after the banner has fully hidden.
|
|
706
929
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
707
930
|
*/
|
|
708
|
-
onAfterHide?: () => void;
|
|
931
|
+
onAfterHide?: (event: Event) => void;
|
|
709
932
|
/**
|
|
710
933
|
* Determines whether the banner is hidden.
|
|
711
934
|
*
|
|
@@ -729,7 +952,7 @@ export interface DisplayProps {
|
|
|
729
952
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
730
953
|
* @default 'auto'
|
|
731
954
|
*/
|
|
732
|
-
display?: 'auto' | 'none'
|
|
955
|
+
display?: MaybeResponsive<'auto' | 'none'>;
|
|
733
956
|
}
|
|
734
957
|
export interface AccessibilityRoleProps {
|
|
735
958
|
/**
|
|
@@ -907,7 +1130,7 @@ export interface PaddingProps {
|
|
|
907
1130
|
*
|
|
908
1131
|
* @default 'none'
|
|
909
1132
|
*/
|
|
910
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1133
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
911
1134
|
/**
|
|
912
1135
|
* Adjust the block-padding.
|
|
913
1136
|
*
|
|
@@ -917,7 +1140,9 @@ export interface PaddingProps {
|
|
|
917
1140
|
*
|
|
918
1141
|
* @default '' - meaning no override
|
|
919
1142
|
*/
|
|
920
|
-
paddingBlock?:
|
|
1143
|
+
paddingBlock?: MaybeResponsive<
|
|
1144
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1145
|
+
>;
|
|
921
1146
|
/**
|
|
922
1147
|
* Adjust the block-start padding.
|
|
923
1148
|
*
|
|
@@ -925,7 +1150,7 @@ export interface PaddingProps {
|
|
|
925
1150
|
*
|
|
926
1151
|
* @default '' - meaning no override
|
|
927
1152
|
*/
|
|
928
|
-
paddingBlockStart?: PaddingKeyword | ''
|
|
1153
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
929
1154
|
/**
|
|
930
1155
|
* Adjust the block-end padding.
|
|
931
1156
|
*
|
|
@@ -933,7 +1158,7 @@ export interface PaddingProps {
|
|
|
933
1158
|
*
|
|
934
1159
|
* @default '' - meaning no override
|
|
935
1160
|
*/
|
|
936
|
-
paddingBlockEnd?: PaddingKeyword | ''
|
|
1161
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
937
1162
|
/**
|
|
938
1163
|
* Adjust the inline padding.
|
|
939
1164
|
*
|
|
@@ -943,7 +1168,9 @@ export interface PaddingProps {
|
|
|
943
1168
|
*
|
|
944
1169
|
* @default '' - meaning no override
|
|
945
1170
|
*/
|
|
946
|
-
paddingInline?:
|
|
1171
|
+
paddingInline?: MaybeResponsive<
|
|
1172
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1173
|
+
>;
|
|
947
1174
|
/**
|
|
948
1175
|
* Adjust the inline-start padding.
|
|
949
1176
|
*
|
|
@@ -951,7 +1178,7 @@ export interface PaddingProps {
|
|
|
951
1178
|
*
|
|
952
1179
|
* @default '' - meaning no override
|
|
953
1180
|
*/
|
|
954
|
-
paddingInlineStart?: PaddingKeyword | ''
|
|
1181
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
955
1182
|
/**
|
|
956
1183
|
* Adjust the inline-end padding.
|
|
957
1184
|
*
|
|
@@ -959,7 +1186,7 @@ export interface PaddingProps {
|
|
|
959
1186
|
*
|
|
960
1187
|
* @default '' - meaning no override
|
|
961
1188
|
*/
|
|
962
|
-
paddingInlineEnd?: PaddingKeyword | ''
|
|
1189
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
963
1190
|
}
|
|
964
1191
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
965
1192
|
export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
@@ -972,7 +1199,7 @@ export interface SizingProps {
|
|
|
972
1199
|
*
|
|
973
1200
|
* @default 'auto'
|
|
974
1201
|
*/
|
|
975
|
-
blockSize?: SizeUnitsOrAuto
|
|
1202
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
976
1203
|
/**
|
|
977
1204
|
* Adjust the minimum block size.
|
|
978
1205
|
*
|
|
@@ -980,7 +1207,7 @@ export interface SizingProps {
|
|
|
980
1207
|
*
|
|
981
1208
|
* @default '0'
|
|
982
1209
|
*/
|
|
983
|
-
minBlockSize?: SizeUnits
|
|
1210
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
984
1211
|
/**
|
|
985
1212
|
* Adjust the maximum block size.
|
|
986
1213
|
*
|
|
@@ -988,7 +1215,7 @@ export interface SizingProps {
|
|
|
988
1215
|
*
|
|
989
1216
|
* @default 'none'
|
|
990
1217
|
*/
|
|
991
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1218
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
992
1219
|
/**
|
|
993
1220
|
* Adjust the inline size.
|
|
994
1221
|
*
|
|
@@ -996,7 +1223,7 @@ export interface SizingProps {
|
|
|
996
1223
|
*
|
|
997
1224
|
* @default 'auto'
|
|
998
1225
|
*/
|
|
999
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1226
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
1000
1227
|
/**
|
|
1001
1228
|
* Adjust the minimum inline size.
|
|
1002
1229
|
*
|
|
@@ -1004,7 +1231,7 @@ export interface SizingProps {
|
|
|
1004
1231
|
*
|
|
1005
1232
|
* @default '0'
|
|
1006
1233
|
*/
|
|
1007
|
-
minInlineSize?: SizeUnits
|
|
1234
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
1008
1235
|
/**
|
|
1009
1236
|
* Adjust the maximum inline size.
|
|
1010
1237
|
*
|
|
@@ -1012,7 +1239,7 @@ export interface SizingProps {
|
|
|
1012
1239
|
*
|
|
1013
1240
|
* @default 'none'
|
|
1014
1241
|
*/
|
|
1015
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1242
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1016
1243
|
}
|
|
1017
1244
|
export type BorderStyleKeyword =
|
|
1018
1245
|
| 'none'
|
|
@@ -1127,8 +1354,7 @@ export interface OverflowProps {
|
|
|
1127
1354
|
overflow?: 'hidden' | 'visible';
|
|
1128
1355
|
}
|
|
1129
1356
|
export interface BaseBoxProps
|
|
1130
|
-
extends
|
|
1131
|
-
AccessibilityVisibilityProps,
|
|
1357
|
+
extends AccessibilityVisibilityProps,
|
|
1132
1358
|
BackgroundProps,
|
|
1133
1359
|
DisplayProps,
|
|
1134
1360
|
SizingProps,
|
|
@@ -1150,20 +1376,10 @@ export interface BaseBoxProps
|
|
|
1150
1376
|
export interface BaseBoxPropsWithRole
|
|
1151
1377
|
extends BaseBoxProps,
|
|
1152
1378
|
AccessibilityRoleProps {}
|
|
1153
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {}
|
|
1154
|
-
export interface FocusEventProps {
|
|
1155
|
-
/**
|
|
1156
|
-
* Callback when the element loses focus.
|
|
1157
|
-
*/
|
|
1158
|
-
onBlur?: () => void;
|
|
1159
|
-
/**
|
|
1160
|
-
* Callback when the element receives focus.
|
|
1161
|
-
*/
|
|
1162
|
-
onFocus?: () => void;
|
|
1163
|
-
}
|
|
1379
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {}
|
|
1164
1380
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1165
1381
|
/**
|
|
1166
|
-
* The behavior of the
|
|
1382
|
+
* The behavior of the Button.
|
|
1167
1383
|
*
|
|
1168
1384
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1169
1385
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1175,12 +1391,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1175
1391
|
*/
|
|
1176
1392
|
type?: 'submit' | 'button' | 'reset';
|
|
1177
1393
|
/**
|
|
1178
|
-
* Callback when the
|
|
1394
|
+
* Callback when the Button is activated.
|
|
1179
1395
|
* This will be called before the action indicated by `type`.
|
|
1396
|
+
*
|
|
1397
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1180
1398
|
*/
|
|
1181
|
-
onClick?: () => void;
|
|
1399
|
+
onClick?: (event: Event) => void;
|
|
1182
1400
|
/**
|
|
1183
|
-
* Disables the
|
|
1401
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1184
1402
|
*
|
|
1185
1403
|
* @default false
|
|
1186
1404
|
*/
|
|
@@ -1188,7 +1406,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1188
1406
|
/**
|
|
1189
1407
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1190
1408
|
*
|
|
1191
|
-
* This also disables the
|
|
1409
|
+
* This also disables the Button.
|
|
1192
1410
|
*
|
|
1193
1411
|
* @default false
|
|
1194
1412
|
*/
|
|
@@ -1218,15 +1436,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1218
1436
|
target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | AnyString;
|
|
1219
1437
|
/**
|
|
1220
1438
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1221
|
-
* Download only works for same-origin URLs
|
|
1439
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1222
1440
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1223
1441
|
*/
|
|
1224
1442
|
download?: string;
|
|
1225
1443
|
/**
|
|
1226
1444
|
* Callback when the link is activated.
|
|
1227
1445
|
* This will be called before navigating to the location specified by `href`.
|
|
1446
|
+
*
|
|
1447
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1228
1448
|
*/
|
|
1229
|
-
onClick?: () => void;
|
|
1449
|
+
onClick?: (event: Event) => void;
|
|
1230
1450
|
}
|
|
1231
1451
|
export interface InteractionProps {
|
|
1232
1452
|
/**
|
|
@@ -1253,6 +1473,10 @@ export interface InteractionProps {
|
|
|
1253
1473
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1254
1474
|
*/
|
|
1255
1475
|
command?: '--auto' | '--show' | '--hide' | '--toggle' | '--copy';
|
|
1476
|
+
/**
|
|
1477
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1478
|
+
*/
|
|
1479
|
+
interestFor?: string;
|
|
1256
1480
|
}
|
|
1257
1481
|
export interface BaseClickableProps
|
|
1258
1482
|
extends ButtonBehaviorProps,
|
|
@@ -1261,7 +1485,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1261
1485
|
/**
|
|
1262
1486
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1263
1487
|
*
|
|
1264
|
-
* Use this when using only an icon or the
|
|
1488
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1265
1489
|
* for users using assistive technologies.
|
|
1266
1490
|
*/
|
|
1267
1491
|
accessibilityLabel?: string;
|
|
@@ -1270,13 +1494,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1270
1494
|
*/
|
|
1271
1495
|
children?: ComponentChildren;
|
|
1272
1496
|
/**
|
|
1273
|
-
* The type of icon to be displayed in the
|
|
1497
|
+
* The type of icon to be displayed in the Button.
|
|
1274
1498
|
*
|
|
1275
1499
|
* @default ''
|
|
1276
1500
|
*/
|
|
1277
1501
|
icon?: IconType | AnyString;
|
|
1278
1502
|
/**
|
|
1279
|
-
* The displayed inline width of the
|
|
1503
|
+
* The displayed inline width of the Button.
|
|
1280
1504
|
*
|
|
1281
1505
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1282
1506
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1292,7 +1516,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1292
1516
|
*/
|
|
1293
1517
|
variant?: 'auto' | 'primary' | 'secondary' | 'tertiary';
|
|
1294
1518
|
/**
|
|
1295
|
-
* Sets the tone of the Button
|
|
1519
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1296
1520
|
*
|
|
1297
1521
|
* @default 'auto'
|
|
1298
1522
|
*/
|
|
@@ -1304,6 +1528,23 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1304
1528
|
*/
|
|
1305
1529
|
lang?: string;
|
|
1306
1530
|
}
|
|
1531
|
+
interface ButtonGroupProps$1 extends GlobalProps, ActionSlots {
|
|
1532
|
+
/**
|
|
1533
|
+
* The content of the ButtonGroup.
|
|
1534
|
+
*/
|
|
1535
|
+
children?: ComponentChildren;
|
|
1536
|
+
/**
|
|
1537
|
+
* The gap between elements.
|
|
1538
|
+
* @default 'base'
|
|
1539
|
+
*/
|
|
1540
|
+
gap?: 'base' | 'none';
|
|
1541
|
+
/**
|
|
1542
|
+
* Label for the button group that describes the content of the group for screen reader users to understand what's included.
|
|
1543
|
+
*
|
|
1544
|
+
* @implementation Used as a hidden heading or an aria-label on the wrapping element.
|
|
1545
|
+
*/
|
|
1546
|
+
accessibilityLabel?: string;
|
|
1547
|
+
}
|
|
1307
1548
|
export interface BaseInputProps {
|
|
1308
1549
|
/**
|
|
1309
1550
|
* An identifier for the field that is unique within the nearest containing form.
|
|
@@ -1319,12 +1560,16 @@ export interface BaseInputProps {
|
|
|
1319
1560
|
export interface InputProps extends BaseInputProps {
|
|
1320
1561
|
/**
|
|
1321
1562
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1563
|
+
*
|
|
1564
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1322
1565
|
*/
|
|
1323
|
-
onChange?: (
|
|
1566
|
+
onChange?: (event: Event) => void;
|
|
1324
1567
|
/**
|
|
1325
1568
|
* Callback when the user makes any changes in the field.
|
|
1569
|
+
*
|
|
1570
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1326
1571
|
*/
|
|
1327
|
-
onInput?: (
|
|
1572
|
+
onInput?: (event: Event) => void;
|
|
1328
1573
|
/**
|
|
1329
1574
|
* The current value for the field. If omitted, the field will be empty.
|
|
1330
1575
|
*/
|
|
@@ -1338,13 +1583,17 @@ export interface InputProps extends BaseInputProps {
|
|
|
1338
1583
|
}
|
|
1339
1584
|
export interface MultipleInputProps extends BaseInputProps {
|
|
1340
1585
|
/**
|
|
1341
|
-
* Callback when the user has selected
|
|
1586
|
+
* Callback when the user has selected option(s).
|
|
1587
|
+
*
|
|
1588
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1342
1589
|
*/
|
|
1343
|
-
onChange?: (
|
|
1590
|
+
onChange?: (event: Event) => void;
|
|
1344
1591
|
/**
|
|
1345
|
-
* Callback when the user has selected
|
|
1592
|
+
* Callback when the user has selected option(s).
|
|
1593
|
+
*
|
|
1594
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1346
1595
|
*/
|
|
1347
|
-
onInput?: (
|
|
1596
|
+
onInput?: (event: Event) => void;
|
|
1348
1597
|
/**
|
|
1349
1598
|
* An array of the `value`s of the selected options.
|
|
1350
1599
|
*
|
|
@@ -1352,6 +1601,35 @@ export interface MultipleInputProps extends BaseInputProps {
|
|
|
1352
1601
|
*/
|
|
1353
1602
|
values?: string[];
|
|
1354
1603
|
}
|
|
1604
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1605
|
+
/**
|
|
1606
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1607
|
+
*/
|
|
1608
|
+
onChange?: (event: Event) => void;
|
|
1609
|
+
/**
|
|
1610
|
+
* Callback when the user makes any changes in the file selection.
|
|
1611
|
+
*/
|
|
1612
|
+
onInput?: (event: Event) => void;
|
|
1613
|
+
/**
|
|
1614
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1615
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1616
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1617
|
+
*
|
|
1618
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1619
|
+
*
|
|
1620
|
+
* @default ''
|
|
1621
|
+
*/
|
|
1622
|
+
value?: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1625
|
+
*
|
|
1626
|
+
* This property is read-only and cannot be directly modified.
|
|
1627
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1628
|
+
*
|
|
1629
|
+
* @default []
|
|
1630
|
+
*/
|
|
1631
|
+
files?: ReadonlyArray<File>;
|
|
1632
|
+
}
|
|
1355
1633
|
export interface FieldErrorProps {
|
|
1356
1634
|
/**
|
|
1357
1635
|
* Indicate an error to the user. The field will be given a specific stylistic treatment
|
|
@@ -1560,12 +1838,16 @@ export interface BaseCheckableProps
|
|
|
1560
1838
|
name?: string;
|
|
1561
1839
|
/**
|
|
1562
1840
|
* A callback that is run whenever the control is changed.
|
|
1841
|
+
*
|
|
1842
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1563
1843
|
*/
|
|
1564
|
-
onChange?: (
|
|
1844
|
+
onChange?: (event: Event) => void;
|
|
1565
1845
|
/**
|
|
1566
1846
|
* A callback that is run whenever the control is changed.
|
|
1847
|
+
*
|
|
1848
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1567
1849
|
*/
|
|
1568
|
-
onInput?: (
|
|
1850
|
+
onInput?: (event: Event) => void;
|
|
1569
1851
|
}
|
|
1570
1852
|
interface CheckboxProps$1
|
|
1571
1853
|
extends GlobalProps,
|
|
@@ -1605,11 +1887,42 @@ interface CheckboxProps$1
|
|
|
1605
1887
|
*/
|
|
1606
1888
|
required?: boolean;
|
|
1607
1889
|
}
|
|
1890
|
+
export interface ChipProps$1 extends GlobalProps {
|
|
1891
|
+
/**
|
|
1892
|
+
* The content of the chip.
|
|
1893
|
+
*/
|
|
1894
|
+
children?: ComponentChildren;
|
|
1895
|
+
/**
|
|
1896
|
+
* The graphic to display inside of the chip.
|
|
1897
|
+
*
|
|
1898
|
+
* @implementation Only `s-icon` is supported.
|
|
1899
|
+
*/
|
|
1900
|
+
graphic?: ComponentChildren;
|
|
1901
|
+
/**
|
|
1902
|
+
* A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers.
|
|
1903
|
+
*/
|
|
1904
|
+
accessibilityLabel?: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Modify the color to be more or less intense.
|
|
1907
|
+
*
|
|
1908
|
+
* @default 'base'
|
|
1909
|
+
*/
|
|
1910
|
+
color?: ColorKeyword;
|
|
1911
|
+
}
|
|
1912
|
+
interface ChipProps$2 extends ChipProps$1, GlobalProps {}
|
|
1608
1913
|
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1609
1914
|
/**
|
|
1610
1915
|
* Content to use as the choice label.
|
|
1916
|
+
*
|
|
1917
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1918
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1919
|
+
* element structure is ignored.
|
|
1920
|
+
*
|
|
1921
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1922
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1923
|
+
* is no coercion to a string.
|
|
1611
1924
|
*/
|
|
1612
|
-
|
|
1925
|
+
children?: ComponentChildren | StringChildren;
|
|
1613
1926
|
/**
|
|
1614
1927
|
* Additional text to provide context or guidance for the input.
|
|
1615
1928
|
*
|
|
@@ -1618,13 +1931,23 @@ interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
|
1618
1931
|
*
|
|
1619
1932
|
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1620
1933
|
*/
|
|
1621
|
-
details?:
|
|
1934
|
+
details?: ComponentChildren;
|
|
1622
1935
|
/**
|
|
1623
1936
|
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1624
1937
|
*
|
|
1625
1938
|
* @default false
|
|
1626
1939
|
*/
|
|
1627
1940
|
error?: boolean;
|
|
1941
|
+
/**
|
|
1942
|
+
* Secondary content for a choice.
|
|
1943
|
+
*/
|
|
1944
|
+
secondaryContent?: ComponentChildren;
|
|
1945
|
+
/**
|
|
1946
|
+
* Content to display when the option is selected.
|
|
1947
|
+
*
|
|
1948
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1949
|
+
*/
|
|
1950
|
+
selectedContent?: ComponentChildren;
|
|
1628
1951
|
}
|
|
1629
1952
|
interface ChoiceListProps$1
|
|
1630
1953
|
extends GlobalProps,
|
|
@@ -1651,8 +1974,26 @@ interface ChoiceListProps$1
|
|
|
1651
1974
|
* @default false
|
|
1652
1975
|
*/
|
|
1653
1976
|
disabled?: MultipleInputProps['disabled'];
|
|
1977
|
+
/**
|
|
1978
|
+
* The variant of the choice grid.
|
|
1979
|
+
*
|
|
1980
|
+
* - `auto`: The variant is determined by the context.
|
|
1981
|
+
* - `list`: The choices are displayed in a list.
|
|
1982
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1983
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1984
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1985
|
+
*
|
|
1986
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1987
|
+
* discretion of each surface.
|
|
1988
|
+
*
|
|
1989
|
+
* @default 'auto'
|
|
1990
|
+
*/
|
|
1991
|
+
variant?: 'auto' | 'list' | 'inline' | 'block' | 'grid';
|
|
1654
1992
|
}
|
|
1655
|
-
interface ClickableProps$1
|
|
1993
|
+
interface ClickableProps$1
|
|
1994
|
+
extends GlobalProps,
|
|
1995
|
+
BaseBoxProps,
|
|
1996
|
+
BaseClickableProps {
|
|
1656
1997
|
/**
|
|
1657
1998
|
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1658
1999
|
*
|
|
@@ -1680,158 +2021,95 @@ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
|
|
|
1680
2021
|
*/
|
|
1681
2022
|
lang?: string;
|
|
1682
2023
|
}
|
|
1683
|
-
interface
|
|
2024
|
+
interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1684
2025
|
/**
|
|
1685
|
-
*
|
|
1686
|
-
*
|
|
1687
|
-
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
1688
|
-
*
|
|
1689
|
-
* Defaults to the current month in the user's locale.
|
|
2026
|
+
* Callback when the chip is clicked.
|
|
1690
2027
|
*/
|
|
1691
|
-
|
|
2028
|
+
onClick?: (event: Event) => void;
|
|
1692
2029
|
/**
|
|
1693
|
-
*
|
|
1694
|
-
*
|
|
1695
|
-
* `onViewChange` is called when this value changes.
|
|
2030
|
+
* The URL to link to.
|
|
1696
2031
|
*
|
|
1697
|
-
*
|
|
2032
|
+
* - If set, it will navigate to the location specified by `href` after executing the `click` event.
|
|
1698
2033
|
*/
|
|
1699
|
-
|
|
2034
|
+
href?: string;
|
|
1700
2035
|
/**
|
|
1701
|
-
*
|
|
2036
|
+
* Whether the chip is removable.
|
|
1702
2037
|
*
|
|
1703
|
-
* @
|
|
2038
|
+
* @default false
|
|
1704
2039
|
*/
|
|
1705
|
-
|
|
2040
|
+
removable?: boolean;
|
|
1706
2041
|
/**
|
|
1707
|
-
*
|
|
1708
|
-
*
|
|
1709
|
-
* - `single` allows selecting a single date.
|
|
1710
|
-
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
1711
|
-
* - `range` allows selecting a single range of dates.
|
|
1712
|
-
*
|
|
1713
|
-
* @default "single"
|
|
2042
|
+
* Callback when the chip is removed.
|
|
1714
2043
|
*/
|
|
1715
|
-
|
|
2044
|
+
onRemove?: (event: Event) => void;
|
|
1716
2045
|
/**
|
|
1717
|
-
*
|
|
2046
|
+
* Determines whether the chip is hidden.
|
|
1718
2047
|
*
|
|
1719
|
-
*
|
|
1720
|
-
*
|
|
1721
|
-
*
|
|
1722
|
-
*
|
|
1723
|
-
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
1724
|
-
* - Dates in `YYYY-MM` format allow a whole month.
|
|
1725
|
-
* - Dates in `YYYY` format allow a whole year.
|
|
1726
|
-
* - Ranges are expressed as `start--end`.
|
|
1727
|
-
* - Ranges are inclusive.
|
|
1728
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1729
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1730
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1731
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1732
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1733
|
-
* - Whitespace is allowed either side of `--`.
|
|
2048
|
+
* If this property is being set on each framework render (as in 'controlled' usage),
|
|
2049
|
+
* and the chip is `removable`,
|
|
2050
|
+
* ensure you update app state for this property when the `remove` event fires.
|
|
1734
2051
|
*
|
|
1735
|
-
*
|
|
2052
|
+
* If the chip is not `removable`, it can still be hidden by setting this property.
|
|
1736
2053
|
*
|
|
1737
|
-
* @
|
|
1738
|
-
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
1739
|
-
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
1740
|
-
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2054
|
+
* @default false
|
|
1741
2055
|
*/
|
|
1742
|
-
|
|
2056
|
+
hidden?: boolean;
|
|
1743
2057
|
/**
|
|
1744
|
-
*
|
|
1745
|
-
*
|
|
1746
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1747
|
-
*
|
|
1748
|
-
* The default `''` has no effect on `allowDates`.
|
|
1749
|
-
*
|
|
1750
|
-
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
1751
|
-
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
1752
|
-
* - Dates in `YYYY` format disallow a whole year.
|
|
1753
|
-
* - Ranges are expressed as `start--end`.
|
|
1754
|
-
* - Ranges are inclusive.
|
|
1755
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1756
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1757
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1758
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1759
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1760
|
-
* - Whitespace is allowed either side of `--`.
|
|
2058
|
+
* Event handler when the chip has fully hidden.
|
|
1761
2059
|
*
|
|
1762
|
-
*
|
|
2060
|
+
* The `hidden` property will be `true` when this event fires.
|
|
1763
2061
|
*
|
|
1764
|
-
* @
|
|
1765
|
-
*
|
|
1766
|
-
*
|
|
2062
|
+
* @implementation If implementations animate the hiding of the chip,
|
|
2063
|
+
* this event must fire after the chip has fully hidden.
|
|
2064
|
+
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
1767
2065
|
*/
|
|
1768
|
-
|
|
2066
|
+
onAfterHide?: (event: Event) => void;
|
|
1769
2067
|
/**
|
|
1770
|
-
*
|
|
1771
|
-
*
|
|
1772
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1773
|
-
*
|
|
1774
|
-
* The default `''` has no effect on the result of `allowDates` and `disallowDates`.
|
|
1775
|
-
*
|
|
1776
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
1777
|
-
*
|
|
1778
|
-
* @default ""
|
|
2068
|
+
* Disables the chip, disallowing any interaction.
|
|
1779
2069
|
*
|
|
1780
|
-
* @
|
|
1781
|
-
* 'saturday, sunday' // allow only weekends within the result of `allowDates` and `disallowDates`.
|
|
2070
|
+
* @default false
|
|
1782
2071
|
*/
|
|
1783
|
-
|
|
2072
|
+
disabled?: boolean;
|
|
2073
|
+
}
|
|
2074
|
+
interface ColorPickerProps$1 extends GlobalProps, InputProps {
|
|
1784
2075
|
/**
|
|
1785
|
-
*
|
|
1786
|
-
*
|
|
1787
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2076
|
+
* Allow user to select an alpha value.
|
|
1788
2077
|
*
|
|
1789
|
-
*
|
|
1790
|
-
*
|
|
1791
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
1792
|
-
*
|
|
1793
|
-
* @default ""
|
|
1794
|
-
*
|
|
1795
|
-
* @example
|
|
1796
|
-
* 'saturday, sunday' // disallow weekends within the result of `allowDates` and `disallowDates`.
|
|
2078
|
+
* @default false
|
|
1797
2079
|
*/
|
|
1798
|
-
|
|
2080
|
+
alpha?: boolean;
|
|
1799
2081
|
/**
|
|
1800
|
-
*
|
|
1801
|
-
*
|
|
1802
|
-
* The default means no date is selected.
|
|
1803
|
-
*
|
|
1804
|
-
* If the provided value is invalid, no date is selected.
|
|
2082
|
+
* This callback will emit the value in hex.
|
|
1805
2083
|
*
|
|
1806
|
-
*
|
|
1807
|
-
*
|
|
1808
|
-
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
1809
|
-
*
|
|
1810
|
-
* @default ""
|
|
2084
|
+
* If the `alpha` prop is `true`, `onChange` will emit an 8-value hex (#RRGGBBAA).
|
|
2085
|
+
* If the `alpha` prop is `false`, `onChange` will emit a 6-value hex (#RRGGBB).
|
|
1811
2086
|
*/
|
|
1812
|
-
|
|
2087
|
+
onChange?: InputProps['onChange'];
|
|
1813
2088
|
/**
|
|
1814
|
-
*
|
|
2089
|
+
* This callback will emit the value in hex.
|
|
1815
2090
|
*
|
|
1816
|
-
*
|
|
1817
|
-
*
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
2091
|
+
* If the `alpha` prop is `true`, `onInput` will emit an 8-value hex (#RRGGBBAA).
|
|
2092
|
+
* If the `alpha` prop is `false`, `onInput` will emit a 6-value hex (#RRGGBB).
|
|
2093
|
+
*/
|
|
2094
|
+
onInput?: InputProps['onChange'];
|
|
2095
|
+
/**
|
|
2096
|
+
* The currently selected color.
|
|
1821
2097
|
*
|
|
1822
|
-
*
|
|
1823
|
-
* -
|
|
1824
|
-
* -
|
|
2098
|
+
* Supported formats include:
|
|
2099
|
+
* - HSL @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
|
|
2100
|
+
* - HSLA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsla
|
|
2101
|
+
* - RGB @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2102
|
+
* - RGBA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2103
|
+
* - Hex (3-value, 4-value, 6-value, 8-value) @see https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color
|
|
1825
2104
|
*
|
|
1826
|
-
*
|
|
2105
|
+
* For RGB and RGBA, both the legacy syntax (comma-separated) and modern syntax (space-separate) are supported.
|
|
2106
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
1827
2107
|
*
|
|
1828
|
-
*
|
|
1829
|
-
* - `onChange` - Invoked when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
1830
|
-
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2108
|
+
* If the value is invalid, the component will return an empty string ''.
|
|
1831
2109
|
*
|
|
1832
|
-
*
|
|
2110
|
+
* Note that the `onChange` handler will emit the value in hex.
|
|
1833
2111
|
*/
|
|
1834
|
-
value?:
|
|
2112
|
+
value?: InputProps['value'];
|
|
1835
2113
|
}
|
|
1836
2114
|
export interface AutocompleteProps<
|
|
1837
2115
|
AutocompleteField extends AnyAutocompleteField,
|
|
@@ -1978,35 +2256,347 @@ export type TextAutocompleteField = ExtractStrict<
|
|
|
1978
2256
|
| 'cc-family-name'
|
|
1979
2257
|
| 'cc-type'
|
|
1980
2258
|
>;
|
|
2259
|
+
interface ColorFieldProps$1
|
|
2260
|
+
extends GlobalProps,
|
|
2261
|
+
BaseTextFieldProps,
|
|
2262
|
+
Pick<ColorPickerProps$1, 'alpha' | 'value' | 'defaultValue'> {
|
|
2263
|
+
autocomplete?: Extract<
|
|
2264
|
+
AutocompleteProps<never>['autocomplete'],
|
|
2265
|
+
'on' | 'off'
|
|
2266
|
+
>;
|
|
2267
|
+
}
|
|
2268
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
2269
|
+
/**
|
|
2270
|
+
* Default month to display in `YYYY-MM` format.
|
|
2271
|
+
*
|
|
2272
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
2273
|
+
*
|
|
2274
|
+
* Defaults to the current month in the user's locale.
|
|
2275
|
+
*/
|
|
2276
|
+
defaultView?: string;
|
|
2277
|
+
/**
|
|
2278
|
+
* Displayed month in `YYYY-MM` format.
|
|
2279
|
+
*
|
|
2280
|
+
* `onViewChange` is called when this value changes.
|
|
2281
|
+
*
|
|
2282
|
+
* Defaults to `defaultView`.
|
|
2283
|
+
*/
|
|
2284
|
+
view?: string;
|
|
2285
|
+
/**
|
|
2286
|
+
* Called whenever the month to display changes.
|
|
2287
|
+
*
|
|
2288
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
2289
|
+
*/
|
|
2290
|
+
onViewChange?: (view: string) => void;
|
|
2291
|
+
/**
|
|
2292
|
+
* The type of selection the date picker allows.
|
|
2293
|
+
*
|
|
2294
|
+
* - `single` allows selecting a single date.
|
|
2295
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
2296
|
+
* - `range` allows selecting a single range of dates.
|
|
2297
|
+
*
|
|
2298
|
+
* @default "single"
|
|
2299
|
+
*/
|
|
2300
|
+
type?: 'single' | 'multiple' | 'range';
|
|
2301
|
+
/**
|
|
2302
|
+
* Dates that can be selected.
|
|
2303
|
+
*
|
|
2304
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2305
|
+
*
|
|
2306
|
+
* The default `''` allows all dates.
|
|
2307
|
+
*
|
|
2308
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
2309
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
2310
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
2311
|
+
* - Ranges are expressed as `start--end`.
|
|
2312
|
+
* - Ranges are inclusive.
|
|
2313
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2314
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2315
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2316
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2317
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2318
|
+
* - Whitespace is allowed either side of `--`.
|
|
2319
|
+
*
|
|
2320
|
+
* @default ""
|
|
2321
|
+
*
|
|
2322
|
+
* @example
|
|
2323
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
2324
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
2325
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2326
|
+
*/
|
|
2327
|
+
allow?: string;
|
|
2328
|
+
/**
|
|
2329
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
2330
|
+
*
|
|
2331
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2332
|
+
*
|
|
2333
|
+
* The default `''` has no effect on `allow`.
|
|
2334
|
+
*
|
|
2335
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
2336
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
2337
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
2338
|
+
* - Ranges are expressed as `start--end`.
|
|
2339
|
+
* - Ranges are inclusive.
|
|
2340
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2341
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2342
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2343
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2344
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2345
|
+
* - Whitespace is allowed either side of `--`.
|
|
2346
|
+
*
|
|
2347
|
+
* @default ""
|
|
2348
|
+
*
|
|
2349
|
+
* @example
|
|
2350
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2351
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2352
|
+
*/
|
|
2353
|
+
disallow?: string;
|
|
2354
|
+
/**
|
|
2355
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
2356
|
+
*
|
|
2357
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2358
|
+
*
|
|
2359
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2360
|
+
*
|
|
2361
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2362
|
+
*
|
|
2363
|
+
* @default ""
|
|
2364
|
+
*
|
|
2365
|
+
* @example
|
|
2366
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
2367
|
+
*/
|
|
2368
|
+
allowDays?: string;
|
|
2369
|
+
/**
|
|
2370
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
2371
|
+
*
|
|
2372
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2373
|
+
*
|
|
2374
|
+
* The default `''` has no effect on `allowDays`.
|
|
2375
|
+
*
|
|
2376
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2377
|
+
*
|
|
2378
|
+
* @default ""
|
|
2379
|
+
*
|
|
2380
|
+
* @example
|
|
2381
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2382
|
+
*/
|
|
2383
|
+
disallowDays?: string;
|
|
2384
|
+
/**
|
|
2385
|
+
* Default selected value.
|
|
2386
|
+
*
|
|
2387
|
+
* The default means no date is selected.
|
|
2388
|
+
*
|
|
2389
|
+
* If the provided value is invalid, no date is selected.
|
|
2390
|
+
*
|
|
2391
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2392
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2393
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2394
|
+
*
|
|
2395
|
+
* @default ""
|
|
2396
|
+
*/
|
|
2397
|
+
defaultValue?: string;
|
|
2398
|
+
/**
|
|
2399
|
+
* Current selected value.
|
|
2400
|
+
*
|
|
2401
|
+
* The default means no date is selected.
|
|
2402
|
+
*
|
|
2403
|
+
* If the provided value is invalid, no date is selected.
|
|
2404
|
+
*
|
|
2405
|
+
* Otherwise:
|
|
2406
|
+
*
|
|
2407
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2408
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2409
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2410
|
+
*
|
|
2411
|
+
* @default ""
|
|
2412
|
+
*/
|
|
2413
|
+
value?: string;
|
|
2414
|
+
/**
|
|
2415
|
+
* Callback when any date is selected.
|
|
2416
|
+
*
|
|
2417
|
+
* - If `type="single"`, fires when a date is selected and happens before `onChange`.
|
|
2418
|
+
* - If `type="multiple"`, fires when a date is selected before `onChange`.
|
|
2419
|
+
* - If `type="range"`, fires when a first date is selected (with the partial value formatted as `YYYY-MM-DD--`), and when the last date is selected before `onChange`.
|
|
2420
|
+
*/
|
|
2421
|
+
onInput?: (event: Event) => void;
|
|
2422
|
+
/**
|
|
2423
|
+
* Callback when the value is committed.
|
|
2424
|
+
*
|
|
2425
|
+
* - If `type="single"`, fires when a date is selected after `onInput`.
|
|
2426
|
+
* - If `type="multiple"`, fires when a date is selected after `onInput`.
|
|
2427
|
+
* - If `type="range"`, fires when a range is completed by selecting the end date after `onInput`.
|
|
2428
|
+
*/
|
|
2429
|
+
onChange?: (event: Event) => void;
|
|
2430
|
+
}
|
|
2431
|
+
interface DateFieldProps$1
|
|
2432
|
+
extends GlobalProps,
|
|
2433
|
+
BaseTextFieldProps,
|
|
2434
|
+
Pick<
|
|
2435
|
+
DatePickerProps$1,
|
|
2436
|
+
| 'view'
|
|
2437
|
+
| 'defaultView'
|
|
2438
|
+
| 'value'
|
|
2439
|
+
| 'defaultValue'
|
|
2440
|
+
| 'allow'
|
|
2441
|
+
| 'disallow'
|
|
2442
|
+
| 'allowDays'
|
|
2443
|
+
| 'disallowDays'
|
|
2444
|
+
| 'onViewChange'
|
|
2445
|
+
>,
|
|
2446
|
+
AutocompleteProps<DateAutocompleteField> {
|
|
2447
|
+
/**
|
|
2448
|
+
* Callback when the user makes any changes in the field.
|
|
2449
|
+
* Also triggered when a date is selected using the date picker popup before `onChange`.
|
|
2450
|
+
*/
|
|
2451
|
+
onInput?: (event: Event) => void;
|
|
2452
|
+
/**
|
|
2453
|
+
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
2454
|
+
* Also triggered when a date is selected using the date picker popup after `onInput`.
|
|
2455
|
+
*/
|
|
2456
|
+
onChange?: (event: Event) => void;
|
|
2457
|
+
/**
|
|
2458
|
+
* Callback when the field has an invalid date.
|
|
2459
|
+
* This callback will be called, if the date typed is invalid or disabled.
|
|
2460
|
+
*
|
|
2461
|
+
* Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
|
|
2462
|
+
* - 2021-02-31: February doesn’t have 31 days
|
|
2463
|
+
* - 2021-02-00: The day can’t be 00
|
|
2464
|
+
*
|
|
2465
|
+
* Disallowed dates are considered invalid.
|
|
2466
|
+
*
|
|
2467
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the date,
|
|
2468
|
+
* and it’s called right after the `onChange` callback.
|
|
2469
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2470
|
+
* they have finished editing the field (typically, by blurring the field), the field gets validated and the callback is run if the value is invalid.
|
|
2471
|
+
*/
|
|
2472
|
+
onInvalid?: (event: Event) => void;
|
|
2473
|
+
}
|
|
2474
|
+
export type DateAutocompleteField = ExtractStrict<
|
|
2475
|
+
AnyAutocompleteField,
|
|
2476
|
+
| 'bday'
|
|
2477
|
+
| 'bday-day'
|
|
2478
|
+
| 'bday-month'
|
|
2479
|
+
| 'bday-year'
|
|
2480
|
+
| 'cc-expiry'
|
|
2481
|
+
| 'cc-expiry-month'
|
|
2482
|
+
| 'cc-expiry-year'
|
|
2483
|
+
>;
|
|
1981
2484
|
interface DividerProps$1 extends GlobalProps {
|
|
1982
2485
|
/**
|
|
1983
|
-
* Specify the direction of the divider.
|
|
2486
|
+
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2487
|
+
*
|
|
2488
|
+
* @default 'inline'
|
|
2489
|
+
*/
|
|
2490
|
+
direction?: 'inline' | 'block';
|
|
2491
|
+
/**
|
|
2492
|
+
* Modify the color to be more or less intense.
|
|
2493
|
+
*
|
|
2494
|
+
* @default 'base'
|
|
2495
|
+
*/
|
|
2496
|
+
color?: ColorKeyword;
|
|
2497
|
+
}
|
|
2498
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
2499
|
+
/**
|
|
2500
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
2501
|
+
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
2502
|
+
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
2503
|
+
* - A valid MIME type string with no extensions
|
|
2504
|
+
*
|
|
2505
|
+
* If omitted, all file types are accepted.
|
|
2506
|
+
*
|
|
2507
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2508
|
+
* @default ''
|
|
2509
|
+
*/
|
|
2510
|
+
accept?: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* A label that describes the purpose or contents of the item. When set,
|
|
2513
|
+
* it will be announced to buyers using assistive technologies and will
|
|
2514
|
+
* provide them with more context.
|
|
2515
|
+
*/
|
|
2516
|
+
accessibilityLabel?: string;
|
|
2517
|
+
/**
|
|
2518
|
+
* Whether multiple files can be selected or dropped at once.
|
|
2519
|
+
*
|
|
2520
|
+
* @default false
|
|
2521
|
+
*/
|
|
2522
|
+
multiple?: boolean;
|
|
2523
|
+
/**
|
|
2524
|
+
* Callback fired when rejected files are dropped.
|
|
2525
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
2526
|
+
*/
|
|
2527
|
+
onDropRejected?: (event: Event) => void;
|
|
2528
|
+
}
|
|
2529
|
+
interface EmailFieldProps$1
|
|
2530
|
+
extends GlobalProps,
|
|
2531
|
+
BaseTextFieldProps,
|
|
2532
|
+
MinMaxLengthProps,
|
|
2533
|
+
AutocompleteProps<EmailAutocompleteField> {}
|
|
2534
|
+
export type EmailAutocompleteField = ExtractStrict<
|
|
2535
|
+
AnyAutocompleteField,
|
|
2536
|
+
'email' | `${AutocompleteAddressGroup} email`
|
|
2537
|
+
>;
|
|
2538
|
+
interface FormProps$1 extends GlobalProps {
|
|
2539
|
+
/**
|
|
2540
|
+
* The content of the form.
|
|
2541
|
+
*/
|
|
2542
|
+
children?: ComponentChildren;
|
|
2543
|
+
/**
|
|
2544
|
+
* Whether the form is able to be submitted.
|
|
2545
|
+
*
|
|
2546
|
+
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
2547
|
+
*
|
|
2548
|
+
* @default false
|
|
2549
|
+
*
|
|
2550
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2551
|
+
* @private
|
|
2552
|
+
*/
|
|
2553
|
+
disabled?: boolean;
|
|
2554
|
+
/**
|
|
2555
|
+
* A callback that is run when the form is submitted.
|
|
1984
2556
|
*
|
|
1985
|
-
*
|
|
1986
|
-
*
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
2557
|
+
* Use `event.waitUntil` to signal how long it takes to save the data,
|
|
2558
|
+
* and whether it was successful or not.
|
|
2559
|
+
*/
|
|
2560
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2561
|
+
/**
|
|
2562
|
+
* A callback that is run when the form is reset.
|
|
2563
|
+
*/
|
|
2564
|
+
onReset?: (event: Event) => void;
|
|
2565
|
+
}
|
|
2566
|
+
interface FunctionSettingsProps$1 extends GlobalProps, FormProps$1 {
|
|
2567
|
+
/**
|
|
2568
|
+
* An optional callback function that will be run by the admin when the user
|
|
2569
|
+
* commits their changes in the admin-rendered part of the function settings
|
|
2570
|
+
* experience. If `event.waitUntil` is called with a promise, the admin will wait for the
|
|
2571
|
+
* promise to resolve before committing any changes to Shopify’s servers. If
|
|
2572
|
+
* the promise rejects, the admin will abort the changes and display an error,
|
|
2573
|
+
* using the `message` property of the error you reject with.
|
|
2574
|
+
*/
|
|
2575
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2576
|
+
/**
|
|
2577
|
+
* An optional callback function that will be run by the admin when
|
|
2578
|
+
* committing the changes to Shopify’s servers fails. The error event you receive includes
|
|
2579
|
+
* an `error` property that is an `AggregateError` object. This object includes
|
|
2580
|
+
* an array of errors that were caused by data your extension provided.
|
|
2581
|
+
* Network errors and user errors that are out of your control will not be reported here.
|
|
1990
2582
|
*
|
|
1991
|
-
*
|
|
2583
|
+
* In the `onError` callback, you should update your extension’s UI to
|
|
2584
|
+
* highlight the fields that caused the errors, and display the error messages
|
|
2585
|
+
* to the user.
|
|
1992
2586
|
*/
|
|
1993
|
-
|
|
2587
|
+
onError?: (event: AggregateErrorEvent<FunctionSettingsError>) => void;
|
|
2588
|
+
}
|
|
2589
|
+
export interface FunctionSettingsError extends Error {
|
|
1994
2590
|
/**
|
|
1995
|
-
*
|
|
2591
|
+
* A unique identifier describing the “class” of error. These will match
|
|
2592
|
+
* the GraphQL error codes as closely as possible. For example the enums
|
|
2593
|
+
* returned by the `metafieldsSet` mutation
|
|
1996
2594
|
*
|
|
1997
|
-
* @
|
|
2595
|
+
* @see https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldsSetUserErrorCode
|
|
1998
2596
|
*/
|
|
1999
|
-
|
|
2597
|
+
code: string;
|
|
2598
|
+
name: 'FunctionSettingsError';
|
|
2000
2599
|
}
|
|
2001
|
-
interface EmailFieldProps$1
|
|
2002
|
-
extends GlobalProps,
|
|
2003
|
-
BaseTextFieldProps,
|
|
2004
|
-
MinMaxLengthProps,
|
|
2005
|
-
AutocompleteProps<EmailAutocompleteField> {}
|
|
2006
|
-
export type EmailAutocompleteField = ExtractStrict<
|
|
2007
|
-
AnyAutocompleteField,
|
|
2008
|
-
'email' | `${AutocompleteAddressGroup} email`
|
|
2009
|
-
>;
|
|
2010
2600
|
export type SpacingKeyword = SizeKeyword | 'none';
|
|
2011
2601
|
export interface GapProps {
|
|
2012
2602
|
/**
|
|
@@ -2017,7 +2607,7 @@ export interface GapProps {
|
|
|
2017
2607
|
*
|
|
2018
2608
|
* @default 'none'
|
|
2019
2609
|
*/
|
|
2020
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
2610
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
2021
2611
|
/**
|
|
2022
2612
|
* Adjust spacing between elements in the block axis.
|
|
2023
2613
|
*
|
|
@@ -2025,7 +2615,7 @@ export interface GapProps {
|
|
|
2025
2615
|
*
|
|
2026
2616
|
* @default '' - meaning no override
|
|
2027
2617
|
*/
|
|
2028
|
-
rowGap?: SpacingKeyword | ''
|
|
2618
|
+
rowGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2029
2619
|
/**
|
|
2030
2620
|
* Adjust spacing between elements in the inline axis.
|
|
2031
2621
|
*
|
|
@@ -2033,7 +2623,7 @@ export interface GapProps {
|
|
|
2033
2623
|
*
|
|
2034
2624
|
* @default '' - meaning no override
|
|
2035
2625
|
*/
|
|
2036
|
-
columnGap?: SpacingKeyword | ''
|
|
2626
|
+
columnGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2037
2627
|
}
|
|
2038
2628
|
export type BaselinePosition = 'baseline' | 'first baseline' | 'last baseline';
|
|
2039
2629
|
export type ContentDistribution =
|
|
@@ -2088,21 +2678,21 @@ export type AlignContentKeyword =
|
|
|
2088
2678
|
| ContentDistribution
|
|
2089
2679
|
| OverflowPosition
|
|
2090
2680
|
| ContentPosition;
|
|
2091
|
-
interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
2681
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2092
2682
|
/**
|
|
2093
2683
|
Define columns and specify their size.
|
|
2094
2684
|
|
|
2095
2685
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
2096
2686
|
@default 'none'
|
|
2097
2687
|
*/
|
|
2098
|
-
gridTemplateColumns?: string
|
|
2688
|
+
gridTemplateColumns?: MaybeResponsive<string>;
|
|
2099
2689
|
/**
|
|
2100
2690
|
Define rows and specify their size.
|
|
2101
2691
|
|
|
2102
2692
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
2103
2693
|
@default 'none'
|
|
2104
2694
|
*/
|
|
2105
|
-
gridTemplateRows?: string
|
|
2695
|
+
gridTemplateRows?: MaybeResponsive<string>;
|
|
2106
2696
|
/**
|
|
2107
2697
|
Aligns the grid items along the inline (row) axis.
|
|
2108
2698
|
|
|
@@ -2111,7 +2701,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2111
2701
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2112
2702
|
@default '' - meaning no override
|
|
2113
2703
|
*/
|
|
2114
|
-
justifyItems?: JustifyItemsKeyword | ''
|
|
2704
|
+
justifyItems?: MaybeResponsive<JustifyItemsKeyword | ''>;
|
|
2115
2705
|
/**
|
|
2116
2706
|
Aligns the grid items along the block (column) axis.
|
|
2117
2707
|
|
|
@@ -2120,16 +2710,16 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2120
2710
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2121
2711
|
@default '' - meaning no override
|
|
2122
2712
|
*/
|
|
2123
|
-
alignItems?: AlignItemsKeyword | ''
|
|
2713
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword | ''>;
|
|
2124
2714
|
/**
|
|
2125
2715
|
A shorthand property for `justify-items` and `align-items`.
|
|
2126
2716
|
|
|
2127
2717
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
2128
2718
|
@default 'normal normal'
|
|
2129
2719
|
*/
|
|
2130
|
-
placeItems?:
|
|
2131
|
-
|
|
2132
|
-
|
|
2720
|
+
placeItems?: MaybeResponsive<
|
|
2721
|
+
`${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword
|
|
2722
|
+
>;
|
|
2133
2723
|
/**
|
|
2134
2724
|
Aligns the grid along the inline (row) axis.
|
|
2135
2725
|
|
|
@@ -2138,7 +2728,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2138
2728
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2139
2729
|
@default '' - meaning no override
|
|
2140
2730
|
*/
|
|
2141
|
-
justifyContent?: JustifyContentKeyword | ''
|
|
2731
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword | ''>;
|
|
2142
2732
|
/**
|
|
2143
2733
|
Aligns the grid along the block (column) axis.
|
|
2144
2734
|
|
|
@@ -2147,18 +2737,18 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2147
2737
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2148
2738
|
@default '' - meaning no override
|
|
2149
2739
|
*/
|
|
2150
|
-
alignContent?: AlignContentKeyword | ''
|
|
2740
|
+
alignContent?: MaybeResponsive<AlignContentKeyword | ''>;
|
|
2151
2741
|
/**
|
|
2152
2742
|
A shorthand property for `justify-content` and `align-content`.
|
|
2153
2743
|
|
|
2154
2744
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
2155
2745
|
@default 'normal normal'
|
|
2156
2746
|
*/
|
|
2157
|
-
placeContent?:
|
|
2158
|
-
|
|
2159
|
-
|
|
2747
|
+
placeContent?: MaybeResponsive<
|
|
2748
|
+
`${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword
|
|
2749
|
+
>;
|
|
2160
2750
|
}
|
|
2161
|
-
interface GridItemProps$1 extends BaseBoxPropsWithRole {
|
|
2751
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2162
2752
|
/**
|
|
2163
2753
|
* Number of columns the item will span across
|
|
2164
2754
|
*
|
|
@@ -2260,7 +2850,9 @@ interface HeadingProps$1
|
|
|
2260
2850
|
| 'heading'
|
|
2261
2851
|
| ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
|
|
2262
2852
|
}
|
|
2263
|
-
interface IconProps$1
|
|
2853
|
+
interface IconProps$1
|
|
2854
|
+
extends GlobalProps,
|
|
2855
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
2264
2856
|
/**
|
|
2265
2857
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2266
2858
|
*
|
|
@@ -2326,13 +2918,6 @@ export interface BaseImageProps {
|
|
|
2326
2918
|
*/
|
|
2327
2919
|
srcSet?: string;
|
|
2328
2920
|
}
|
|
2329
|
-
/**
|
|
2330
|
-
* This is purely to give the ability
|
|
2331
|
-
* to have a space or not in the string literal types.
|
|
2332
|
-
*
|
|
2333
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
2334
|
-
*/
|
|
2335
|
-
export type optionalSpace = '' | ' ';
|
|
2336
2921
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
2337
2922
|
/**
|
|
2338
2923
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2400,13 +2985,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
2400
2985
|
*
|
|
2401
2986
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2402
2987
|
*/
|
|
2403
|
-
onLoad?: () => void;
|
|
2988
|
+
onLoad?: (event: Event) => void;
|
|
2404
2989
|
/**
|
|
2405
2990
|
* Invoked on load error.
|
|
2406
2991
|
*
|
|
2407
2992
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2408
2993
|
*/
|
|
2409
|
-
onError?: () => void;
|
|
2994
|
+
onError?: (event: Event) => void;
|
|
2410
2995
|
}
|
|
2411
2996
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
2412
2997
|
/**
|
|
@@ -2439,189 +3024,69 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
2439
3024
|
*/
|
|
2440
3025
|
children?: ComponentChildren;
|
|
2441
3026
|
}
|
|
2442
|
-
interface
|
|
3027
|
+
interface MenuProps$1 extends GlobalProps {
|
|
3028
|
+
/**
|
|
3029
|
+
* A label that describes the purpose or contents of the element. When set,
|
|
3030
|
+
* it will be announced using assistive technologies and provide additional context.
|
|
3031
|
+
*/
|
|
3032
|
+
accessibilityLabel?: string;
|
|
3033
|
+
/**
|
|
3034
|
+
* The children define the actions to render inside the Menu. Only Button components are allowed as children of a Menu, and these Buttons can perform actions (using `onClick`) or link to other parts of the application (using `to`/ `href`). Any other component placed here will be ignored.
|
|
3035
|
+
*/
|
|
3036
|
+
children?: ComponentChildren;
|
|
3037
|
+
}
|
|
3038
|
+
interface ModalProps$1
|
|
2443
3039
|
extends GlobalProps,
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
3040
|
+
BaseOverlayProps,
|
|
3041
|
+
BaseOverlayMethods,
|
|
3042
|
+
ActionSlots {
|
|
2447
3043
|
/**
|
|
2448
|
-
*
|
|
3044
|
+
* A label that describes the purpose of the modal. When set,
|
|
3045
|
+
* it will be announced to users using assistive technologies and will
|
|
3046
|
+
* provide them with more context.
|
|
2449
3047
|
*
|
|
2450
|
-
*
|
|
3048
|
+
* This overrides the `heading` prop for screen readers.
|
|
3049
|
+
*/
|
|
3050
|
+
accessibilityLabel?: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* A title that describes the content of the Modal.
|
|
3053
|
+
*
|
|
3054
|
+
*/
|
|
3055
|
+
heading?: string;
|
|
3056
|
+
/**
|
|
3057
|
+
* Adjust the padding around the Modal content.
|
|
3058
|
+
*
|
|
3059
|
+
* `base`: applies padding that is appropriate for the element.
|
|
3060
|
+
*
|
|
3061
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
3062
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3063
|
+
* to bring back the desired padding for the rest of the content.
|
|
3064
|
+
*
|
|
3065
|
+
* @default 'base'
|
|
3066
|
+
*/
|
|
3067
|
+
padding?: 'base' | 'none';
|
|
3068
|
+
/**
|
|
3069
|
+
* Adjust the size of the Modal.
|
|
3070
|
+
*
|
|
3071
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
3072
|
+
*
|
|
3073
|
+
* @default 'base'
|
|
3074
|
+
*/
|
|
3075
|
+
size?: SizeKeyword | 'max';
|
|
3076
|
+
/**
|
|
3077
|
+
* The content of the Modal.
|
|
2451
3078
|
*/
|
|
2452
|
-
|
|
3079
|
+
children?: ComponentChildren;
|
|
2453
3080
|
}
|
|
3081
|
+
interface MoneyFieldProps$1
|
|
3082
|
+
extends GlobalProps,
|
|
3083
|
+
BaseTextFieldProps,
|
|
3084
|
+
NumberConstraintsProps,
|
|
3085
|
+
AutocompleteProps<MoneyAutocompleteField> {}
|
|
2454
3086
|
export type MoneyAutocompleteField = ExtractStrict<
|
|
2455
3087
|
AnyAutocompleteField,
|
|
2456
3088
|
'transaction-amount'
|
|
2457
3089
|
>;
|
|
2458
|
-
/**
|
|
2459
|
-
* Supported monetary currencies from [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).
|
|
2460
|
-
*
|
|
2461
|
-
* @see https://www.iso.org/iso-4217-currency-codes.html
|
|
2462
|
-
*/
|
|
2463
|
-
export type CurrencyCode =
|
|
2464
|
-
| 'USD'
|
|
2465
|
-
| 'EUR'
|
|
2466
|
-
| 'GBP'
|
|
2467
|
-
| 'CAD'
|
|
2468
|
-
| 'AFN'
|
|
2469
|
-
| 'ALL'
|
|
2470
|
-
| 'DZD'
|
|
2471
|
-
| 'AOA'
|
|
2472
|
-
| 'ARS'
|
|
2473
|
-
| 'AMD'
|
|
2474
|
-
| 'AWG'
|
|
2475
|
-
| 'AUD'
|
|
2476
|
-
| 'BBD'
|
|
2477
|
-
| 'AZN'
|
|
2478
|
-
| 'BDT'
|
|
2479
|
-
| 'BSD'
|
|
2480
|
-
| 'BHD'
|
|
2481
|
-
| 'BIF'
|
|
2482
|
-
| 'BZD'
|
|
2483
|
-
| 'BMD'
|
|
2484
|
-
| 'BTN'
|
|
2485
|
-
| 'BAM'
|
|
2486
|
-
| 'BRL'
|
|
2487
|
-
| 'BOB'
|
|
2488
|
-
| 'BWP'
|
|
2489
|
-
| 'BND'
|
|
2490
|
-
| 'BGN'
|
|
2491
|
-
| 'MMK'
|
|
2492
|
-
| 'KHR'
|
|
2493
|
-
| 'CVE'
|
|
2494
|
-
| 'KYD'
|
|
2495
|
-
| 'XAF'
|
|
2496
|
-
| 'CLP'
|
|
2497
|
-
| 'CNY'
|
|
2498
|
-
| 'COP'
|
|
2499
|
-
| 'KMF'
|
|
2500
|
-
| 'CDF'
|
|
2501
|
-
| 'CRC'
|
|
2502
|
-
| 'HRK'
|
|
2503
|
-
| 'CZK'
|
|
2504
|
-
| 'DKK'
|
|
2505
|
-
| 'DOP'
|
|
2506
|
-
| 'XCD'
|
|
2507
|
-
| 'EGP'
|
|
2508
|
-
| 'ETB'
|
|
2509
|
-
| 'XPF'
|
|
2510
|
-
| 'FJD'
|
|
2511
|
-
| 'GMD'
|
|
2512
|
-
| 'GHS'
|
|
2513
|
-
| 'GTQ'
|
|
2514
|
-
| 'GYD'
|
|
2515
|
-
| 'GEL'
|
|
2516
|
-
| 'HTG'
|
|
2517
|
-
| 'HNL'
|
|
2518
|
-
| 'HKD'
|
|
2519
|
-
| 'HUF'
|
|
2520
|
-
| 'ISK'
|
|
2521
|
-
| 'INR'
|
|
2522
|
-
| 'IDR'
|
|
2523
|
-
| 'ILS'
|
|
2524
|
-
| 'IQD'
|
|
2525
|
-
| 'JMD'
|
|
2526
|
-
| 'JPY'
|
|
2527
|
-
| 'JEP'
|
|
2528
|
-
| 'JOD'
|
|
2529
|
-
| 'KZT'
|
|
2530
|
-
| 'KES'
|
|
2531
|
-
| 'KWD'
|
|
2532
|
-
| 'KGS'
|
|
2533
|
-
| 'LAK'
|
|
2534
|
-
| 'LVL'
|
|
2535
|
-
| 'LBP'
|
|
2536
|
-
| 'LSL'
|
|
2537
|
-
| 'LRD'
|
|
2538
|
-
| 'LTL'
|
|
2539
|
-
| 'MGA'
|
|
2540
|
-
| 'MKD'
|
|
2541
|
-
| 'MOP'
|
|
2542
|
-
| 'MWK'
|
|
2543
|
-
| 'MVR'
|
|
2544
|
-
| 'MXN'
|
|
2545
|
-
| 'MYR'
|
|
2546
|
-
| 'MUR'
|
|
2547
|
-
| 'MDL'
|
|
2548
|
-
| 'MAD'
|
|
2549
|
-
| 'MNT'
|
|
2550
|
-
| 'MZN'
|
|
2551
|
-
| 'NAD'
|
|
2552
|
-
| 'NPR'
|
|
2553
|
-
| 'ANG'
|
|
2554
|
-
| 'NZD'
|
|
2555
|
-
| 'NIO'
|
|
2556
|
-
| 'NGN'
|
|
2557
|
-
| 'NOK'
|
|
2558
|
-
| 'OMR'
|
|
2559
|
-
| 'PAB'
|
|
2560
|
-
| 'PKR'
|
|
2561
|
-
| 'PGK'
|
|
2562
|
-
| 'PYG'
|
|
2563
|
-
| 'PEN'
|
|
2564
|
-
| 'PHP'
|
|
2565
|
-
| 'PLN'
|
|
2566
|
-
| 'QAR'
|
|
2567
|
-
| 'RON'
|
|
2568
|
-
| 'RUB'
|
|
2569
|
-
| 'RWF'
|
|
2570
|
-
| 'WST'
|
|
2571
|
-
| 'SAR'
|
|
2572
|
-
| 'RSD'
|
|
2573
|
-
| 'SCR'
|
|
2574
|
-
| 'SGD'
|
|
2575
|
-
| 'SDG'
|
|
2576
|
-
| 'SYP'
|
|
2577
|
-
| 'ZAR'
|
|
2578
|
-
| 'KRW'
|
|
2579
|
-
| 'SSP'
|
|
2580
|
-
| 'SBD'
|
|
2581
|
-
| 'LKR'
|
|
2582
|
-
| 'SRD'
|
|
2583
|
-
| 'SZL'
|
|
2584
|
-
| 'SEK'
|
|
2585
|
-
| 'CHF'
|
|
2586
|
-
| 'TWD'
|
|
2587
|
-
| 'THB'
|
|
2588
|
-
| 'TZS'
|
|
2589
|
-
| 'TTD'
|
|
2590
|
-
| 'TND'
|
|
2591
|
-
| 'TRY'
|
|
2592
|
-
| 'TMT'
|
|
2593
|
-
| 'UGX'
|
|
2594
|
-
| 'UAH'
|
|
2595
|
-
| 'AED'
|
|
2596
|
-
| 'UYU'
|
|
2597
|
-
| 'UZS'
|
|
2598
|
-
| 'VUV'
|
|
2599
|
-
| 'VND'
|
|
2600
|
-
| 'XOF'
|
|
2601
|
-
| 'YER'
|
|
2602
|
-
| 'ZMW'
|
|
2603
|
-
| 'BYN'
|
|
2604
|
-
| 'BYR'
|
|
2605
|
-
| 'DJF'
|
|
2606
|
-
| 'ERN'
|
|
2607
|
-
| 'FKP'
|
|
2608
|
-
| 'GIP'
|
|
2609
|
-
| 'GNF'
|
|
2610
|
-
| 'IRR'
|
|
2611
|
-
| 'KID'
|
|
2612
|
-
| 'LYD'
|
|
2613
|
-
| 'MRU'
|
|
2614
|
-
| 'SLL'
|
|
2615
|
-
| 'SHP'
|
|
2616
|
-
| 'SOS'
|
|
2617
|
-
| 'STD'
|
|
2618
|
-
| 'STN'
|
|
2619
|
-
| 'TJS'
|
|
2620
|
-
| 'TOP'
|
|
2621
|
-
| 'VED'
|
|
2622
|
-
| 'VEF'
|
|
2623
|
-
| 'VES'
|
|
2624
|
-
| 'XXX';
|
|
2625
3090
|
interface NumberFieldProps$1
|
|
2626
3091
|
extends GlobalProps,
|
|
2627
3092
|
BaseTextFieldProps,
|
|
@@ -2665,7 +3130,7 @@ interface OptionGroupProps$1 extends GlobalProps {
|
|
|
2665
3130
|
children?: ComponentChildren;
|
|
2666
3131
|
}
|
|
2667
3132
|
interface OrderedListProps$1 extends GlobalProps {}
|
|
2668
|
-
interface PageProps$1 extends GlobalProps {
|
|
3133
|
+
interface PageProps$1 extends GlobalProps, ActionSlots {
|
|
2669
3134
|
/**
|
|
2670
3135
|
* The content of the Page.
|
|
2671
3136
|
*/
|
|
@@ -2679,18 +3144,13 @@ interface PageProps$1 extends GlobalProps {
|
|
|
2679
3144
|
*/
|
|
2680
3145
|
subheading?: string;
|
|
2681
3146
|
/**
|
|
2682
|
-
*
|
|
2683
|
-
* When a `Button` is added to the `primaryAction` it's variant is set to `primary`
|
|
3147
|
+
* Additional contextual information about the page.
|
|
2684
3148
|
*/
|
|
2685
|
-
|
|
3149
|
+
accessory?: ComponentChildren;
|
|
2686
3150
|
/**
|
|
2687
3151
|
* The breadcrumb actions to perform, provided as link elements.
|
|
2688
3152
|
*/
|
|
2689
3153
|
breadcrumbActions?: ComponentChildren;
|
|
2690
|
-
/**
|
|
2691
|
-
* Secondary actions. These are `Button`s that will be contextually the 'secondary' variant.
|
|
2692
|
-
*/
|
|
2693
|
-
secondaryActions?: ComponentChildren;
|
|
2694
3154
|
/**
|
|
2695
3155
|
* The aside element is section of a page that contains content that is tangentially related to the content around the aside element, and which could be considered separate from that content.
|
|
2696
3156
|
* Such sections are often represented as sidebars in printed typography.
|
|
@@ -2751,6 +3211,17 @@ export type PasswordAutocompleteField = ExtractStrict<
|
|
|
2751
3211
|
AnyAutocompleteField,
|
|
2752
3212
|
'new-password' | 'current-password'
|
|
2753
3213
|
>;
|
|
3214
|
+
interface PopoverProps$1
|
|
3215
|
+
extends GlobalProps,
|
|
3216
|
+
BaseOverlayProps,
|
|
3217
|
+
BaseOverlayMethods,
|
|
3218
|
+
ToggleEventProps,
|
|
3219
|
+
SizingProps {
|
|
3220
|
+
/**
|
|
3221
|
+
* The content of the popover.
|
|
3222
|
+
*/
|
|
3223
|
+
children?: ComponentChildren;
|
|
3224
|
+
}
|
|
2754
3225
|
interface QueryContainerProps$1 extends GlobalProps {
|
|
2755
3226
|
/**
|
|
2756
3227
|
* The content of the container.
|
|
@@ -2771,7 +3242,7 @@ interface QueryContainerProps$1 extends GlobalProps {
|
|
|
2771
3242
|
*/
|
|
2772
3243
|
containerName?: string;
|
|
2773
3244
|
}
|
|
2774
|
-
interface SectionProps$1 extends GlobalProps {
|
|
3245
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
2775
3246
|
/**
|
|
2776
3247
|
* The content of the Section.
|
|
2777
3248
|
*/
|
|
@@ -2830,40 +3301,40 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2830
3301
|
*/
|
|
2831
3302
|
accessibilityLabel?: string;
|
|
2832
3303
|
}
|
|
2833
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3304
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2834
3305
|
/**
|
|
2835
3306
|
* The content of the Stack.
|
|
2836
3307
|
*/
|
|
2837
3308
|
children?: ComponentChildren;
|
|
2838
3309
|
/**
|
|
2839
|
-
* Sets how the children are placed within the Stack.
|
|
3310
|
+
* Sets how the children are placed within the Stack. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2840
3311
|
*
|
|
2841
3312
|
* @default 'block'
|
|
2842
3313
|
*
|
|
2843
3314
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2844
3315
|
*/
|
|
2845
|
-
direction?: 'block' | 'inline'
|
|
3316
|
+
direction?: MaybeResponsive<'block' | 'inline'>;
|
|
2846
3317
|
/**
|
|
2847
3318
|
* Aligns the Stack along the main axis.
|
|
2848
3319
|
*
|
|
2849
3320
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2850
3321
|
* @default 'normal'
|
|
2851
3322
|
*/
|
|
2852
|
-
justifyContent?: JustifyContentKeyword
|
|
3323
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2853
3324
|
/**
|
|
2854
3325
|
* Aligns the Stack's children along the cross axis.
|
|
2855
3326
|
*
|
|
2856
3327
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2857
3328
|
* @default 'normal'
|
|
2858
3329
|
*/
|
|
2859
|
-
alignItems?: AlignItemsKeyword
|
|
3330
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2860
3331
|
/**
|
|
2861
3332
|
* Aligns the Stack along the cross axis.
|
|
2862
3333
|
*
|
|
2863
3334
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2864
3335
|
* @default 'normal'
|
|
2865
3336
|
*/
|
|
2866
|
-
alignContent?: AlignContentKeyword
|
|
3337
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2867
3338
|
}
|
|
2868
3339
|
interface SwitchProps$1
|
|
2869
3340
|
extends GlobalProps,
|
|
@@ -2881,11 +3352,11 @@ export interface PaginationProps {
|
|
|
2881
3352
|
/**
|
|
2882
3353
|
* Called when the previous page button is clicked.
|
|
2883
3354
|
*/
|
|
2884
|
-
onPreviousPage?: () => void;
|
|
3355
|
+
onPreviousPage?: (event: Event) => void;
|
|
2885
3356
|
/**
|
|
2886
3357
|
* Called when the next page button is clicked.
|
|
2887
3358
|
*/
|
|
2888
|
-
onNextPage?: () => void;
|
|
3359
|
+
onNextPage?: (event: Event) => void;
|
|
2889
3360
|
/**
|
|
2890
3361
|
* Whether there's an additional page of data.
|
|
2891
3362
|
*
|
|
@@ -2930,11 +3401,11 @@ interface TableBodyProps$1 extends GlobalProps {
|
|
|
2930
3401
|
/**
|
|
2931
3402
|
* The body of the table. May not have any semantic meaning in the Table's `list` variant.
|
|
2932
3403
|
*/
|
|
2933
|
-
children
|
|
3404
|
+
children?: ComponentChildren;
|
|
2934
3405
|
}
|
|
2935
3406
|
interface TableCellProps$1 extends GlobalProps {
|
|
2936
3407
|
/**
|
|
2937
|
-
* The content of the table
|
|
3408
|
+
* The content of the table cell.
|
|
2938
3409
|
*/
|
|
2939
3410
|
children?: ComponentChildren;
|
|
2940
3411
|
}
|
|
@@ -2952,7 +3423,7 @@ interface TableHeaderProps$1 extends GlobalProps {
|
|
|
2952
3423
|
/**
|
|
2953
3424
|
* Content designation for the table's `list` variant.
|
|
2954
3425
|
*
|
|
2955
|
-
* - `primary
|
|
3426
|
+
* - `primary`: The most important content. Only one column can have this designation.
|
|
2956
3427
|
* - `secondary`: The secondary content. Only one column can have this designation.
|
|
2957
3428
|
* - `kicker`: Content that is displayed before primary and secondary content, but with less visual prominence. Only one column can have this designation.
|
|
2958
3429
|
* - `inline`: Content that is displayed inline.
|
|
@@ -2961,6 +3432,16 @@ interface TableHeaderProps$1 extends GlobalProps {
|
|
|
2961
3432
|
* @default 'labeled'
|
|
2962
3433
|
*/
|
|
2963
3434
|
listSlot?: ListSlotType;
|
|
3435
|
+
/**
|
|
3436
|
+
* The format of the column. Will automatically apply styling and alignment to cell content based on the value.
|
|
3437
|
+
*
|
|
3438
|
+
* - `base`: The base format for columns.
|
|
3439
|
+
* - `currency`: Formats the column as currency.
|
|
3440
|
+
* - `numeric`: Formats the column as a number.
|
|
3441
|
+
*
|
|
3442
|
+
* @default 'base'
|
|
3443
|
+
*/
|
|
3444
|
+
format?: 'base' | 'currency' | 'numeric';
|
|
2964
3445
|
}
|
|
2965
3446
|
interface TableHeaderRowProps$1 extends GlobalProps {
|
|
2966
3447
|
/**
|
|
@@ -2973,12 +3454,24 @@ interface TableRowProps$1 extends GlobalProps {
|
|
|
2973
3454
|
* The content of a TableRow, which should be `TableCell` components.
|
|
2974
3455
|
*/
|
|
2975
3456
|
children?: ComponentChildren;
|
|
3457
|
+
/**
|
|
3458
|
+
* The ID of an interactive element (e.g. `s-link`) in the row that will be the target of the click when the row is clicked.
|
|
3459
|
+
* This is the primary action for the row; it should not be used for secondary actions.
|
|
3460
|
+
*
|
|
3461
|
+
* This is a click-only affordance, and does not introduce any keyboard or screen reader affordances.
|
|
3462
|
+
* Which is why the target element must be in the table; so that keyboard and screen reader users can interact with it normally.
|
|
3463
|
+
*
|
|
3464
|
+
* @implementation no focus or keyboard affordances are introduced by this property. No aria attributes need to be added to the table row.
|
|
3465
|
+
* @implementation the row and/or delegate should have some affordance that indicates it is clickable. This may be a background color, a border, a hover effect, etc.
|
|
3466
|
+
*/
|
|
3467
|
+
clickDelegate?: string;
|
|
2976
3468
|
}
|
|
2977
3469
|
interface TextProps$1
|
|
2978
3470
|
extends GlobalProps,
|
|
2979
3471
|
AccessibilityVisibilityProps,
|
|
2980
3472
|
BaseTypographyProps,
|
|
2981
|
-
DisplayProps
|
|
3473
|
+
DisplayProps,
|
|
3474
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
2982
3475
|
/**
|
|
2983
3476
|
* The content of the Text.
|
|
2984
3477
|
*/
|
|
@@ -2986,7 +3479,7 @@ interface TextProps$1
|
|
|
2986
3479
|
/**
|
|
2987
3480
|
* Provide semantic meaning and default styling to the text.
|
|
2988
3481
|
*
|
|
2989
|
-
* Other presentation properties on
|
|
3482
|
+
* Other presentation properties on Text override the default styling.
|
|
2990
3483
|
*
|
|
2991
3484
|
* @default 'generic'
|
|
2992
3485
|
*/
|
|
@@ -3086,42 +3579,207 @@ interface TextAreaProps$1
|
|
|
3086
3579
|
*/
|
|
3087
3580
|
rows?: number;
|
|
3088
3581
|
}
|
|
3089
|
-
interface TextFieldProps$1
|
|
3090
|
-
extends GlobalProps,
|
|
3091
|
-
BaseTextFieldProps,
|
|
3092
|
-
MinMaxLengthProps,
|
|
3093
|
-
AutocompleteProps<TextAutocompleteField>,
|
|
3094
|
-
FieldDecorationProps {}
|
|
3095
|
-
interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
3096
|
-
/**
|
|
3097
|
-
* Invoked when load of provided image completes successfully.
|
|
3098
|
-
*
|
|
3099
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
3100
|
-
*/
|
|
3101
|
-
onLoad?: () => void;
|
|
3102
|
-
/**
|
|
3103
|
-
* Invoked on load error of provided image.
|
|
3104
|
-
*
|
|
3105
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
3106
|
-
*/
|
|
3107
|
-
onError?: () => void;
|
|
3108
|
-
/**
|
|
3109
|
-
* Adjusts the size the product thumbnail image.
|
|
3110
|
-
*
|
|
3111
|
-
* @default 'base'
|
|
3112
|
-
*/
|
|
3113
|
-
size?: SizeKeyword;
|
|
3582
|
+
interface TextFieldProps$1
|
|
3583
|
+
extends GlobalProps,
|
|
3584
|
+
BaseTextFieldProps,
|
|
3585
|
+
MinMaxLengthProps,
|
|
3586
|
+
AutocompleteProps<TextAutocompleteField>,
|
|
3587
|
+
FieldDecorationProps {}
|
|
3588
|
+
interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
3589
|
+
/**
|
|
3590
|
+
* Invoked when load of provided image completes successfully.
|
|
3591
|
+
*
|
|
3592
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
3593
|
+
*/
|
|
3594
|
+
onLoad?: (event: Event) => void;
|
|
3595
|
+
/**
|
|
3596
|
+
* Invoked on load error of provided image.
|
|
3597
|
+
*
|
|
3598
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
3599
|
+
*/
|
|
3600
|
+
onError?: (event: Event) => void;
|
|
3601
|
+
/**
|
|
3602
|
+
* Adjusts the size the product thumbnail image.
|
|
3603
|
+
*
|
|
3604
|
+
* @default 'base'
|
|
3605
|
+
*/
|
|
3606
|
+
size?: SizeKeyword;
|
|
3607
|
+
}
|
|
3608
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3609
|
+
/**
|
|
3610
|
+
* The content of the Tooltip.
|
|
3611
|
+
*/
|
|
3612
|
+
children?: ComponentChildren;
|
|
3613
|
+
}
|
|
3614
|
+
interface UnorderedListProps$1 extends GlobalProps {}
|
|
3615
|
+
interface URLFieldProps$1
|
|
3616
|
+
extends GlobalProps,
|
|
3617
|
+
BaseTextFieldProps,
|
|
3618
|
+
MinMaxLengthProps,
|
|
3619
|
+
AutocompleteProps<URLAutocompleteField> {}
|
|
3620
|
+
export type URLAutocompleteField = ExtractStrict<
|
|
3621
|
+
AnyAutocompleteField,
|
|
3622
|
+
'url' | 'photo' | 'impp' | `${AutocompleteAddressGroup} impp`
|
|
3623
|
+
>;
|
|
3624
|
+
//
|
|
3625
|
+
// Preact Virtual DOM
|
|
3626
|
+
// -----------------------------------
|
|
3627
|
+
export interface VNode<P = {}> {
|
|
3628
|
+
type: ComponentType<P> | string;
|
|
3629
|
+
props: P & {
|
|
3630
|
+
children: ComponentChildren$1;
|
|
3631
|
+
};
|
|
3632
|
+
key: Key;
|
|
3633
|
+
/**
|
|
3634
|
+
* ref is not guaranteed by React.ReactElement, for compatibility reasons
|
|
3635
|
+
* with popular react libs we define it as optional too
|
|
3636
|
+
*/
|
|
3637
|
+
ref?: Ref<any> | null;
|
|
3638
|
+
/**
|
|
3639
|
+
* The time this `vnode` started rendering. Will only be set when
|
|
3640
|
+
* the devtools are attached.
|
|
3641
|
+
* Default value: `0`
|
|
3642
|
+
*/
|
|
3643
|
+
startTime?: number;
|
|
3644
|
+
/**
|
|
3645
|
+
* The time that the rendering of this `vnode` was completed. Will only be
|
|
3646
|
+
* set when the devtools are attached.
|
|
3647
|
+
* Default value: `-1`
|
|
3648
|
+
*/
|
|
3649
|
+
endTime?: number;
|
|
3650
|
+
}
|
|
3651
|
+
//
|
|
3652
|
+
// Preact Component interface
|
|
3653
|
+
// -----------------------------------
|
|
3654
|
+
export type Key = string | number | any;
|
|
3655
|
+
export interface RefObject<T> {
|
|
3656
|
+
current: T | null;
|
|
3657
|
+
}
|
|
3658
|
+
export type RefCallback<T> = (instance: T | null) => void;
|
|
3659
|
+
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3660
|
+
export type ComponentChild =
|
|
3661
|
+
| VNode<any>
|
|
3662
|
+
| object
|
|
3663
|
+
| string
|
|
3664
|
+
| number
|
|
3665
|
+
| bigint
|
|
3666
|
+
| boolean
|
|
3667
|
+
| null
|
|
3668
|
+
| undefined;
|
|
3669
|
+
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3670
|
+
export interface Attributes {
|
|
3671
|
+
key?: Key | undefined;
|
|
3672
|
+
jsx?: boolean | undefined;
|
|
3673
|
+
}
|
|
3674
|
+
export interface ErrorInfo {
|
|
3675
|
+
componentStack?: string;
|
|
3676
|
+
}
|
|
3677
|
+
export type RenderableProps<P, RefType = any> = P &
|
|
3678
|
+
Readonly<
|
|
3679
|
+
Attributes & {
|
|
3680
|
+
children?: ComponentChildren$1;
|
|
3681
|
+
ref?: Ref<RefType>;
|
|
3682
|
+
}
|
|
3683
|
+
>;
|
|
3684
|
+
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3685
|
+
export interface FunctionComponent<P = {}> {
|
|
3686
|
+
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3687
|
+
displayName?: string;
|
|
3688
|
+
defaultProps?: Partial<P> | undefined;
|
|
3689
|
+
}
|
|
3690
|
+
export interface ComponentClass<P = {}, S = {}> {
|
|
3691
|
+
new (props: P, context?: any): Component<P, S>;
|
|
3692
|
+
displayName?: string;
|
|
3693
|
+
defaultProps?: Partial<P>;
|
|
3694
|
+
contextType?: Context<any>;
|
|
3695
|
+
getDerivedStateFromProps?(
|
|
3696
|
+
props: Readonly<P>,
|
|
3697
|
+
state: Readonly<S>,
|
|
3698
|
+
): Partial<S> | null;
|
|
3699
|
+
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3700
|
+
}
|
|
3701
|
+
export interface Component<P = {}, S = {}> {
|
|
3702
|
+
componentWillMount?(): void;
|
|
3703
|
+
componentDidMount?(): void;
|
|
3704
|
+
componentWillUnmount?(): void;
|
|
3705
|
+
getChildContext?(): object;
|
|
3706
|
+
componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
3707
|
+
shouldComponentUpdate?(
|
|
3708
|
+
nextProps: Readonly<P>,
|
|
3709
|
+
nextState: Readonly<S>,
|
|
3710
|
+
nextContext: any,
|
|
3711
|
+
): boolean;
|
|
3712
|
+
componentWillUpdate?(
|
|
3713
|
+
nextProps: Readonly<P>,
|
|
3714
|
+
nextState: Readonly<S>,
|
|
3715
|
+
nextContext: any,
|
|
3716
|
+
): void;
|
|
3717
|
+
getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
|
|
3718
|
+
componentDidUpdate?(
|
|
3719
|
+
previousProps: Readonly<P>,
|
|
3720
|
+
previousState: Readonly<S>,
|
|
3721
|
+
snapshot: any,
|
|
3722
|
+
): void;
|
|
3723
|
+
componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
|
|
3724
|
+
}
|
|
3725
|
+
declare abstract class Component<P, S> {
|
|
3726
|
+
constructor(props?: P, context?: any);
|
|
3727
|
+
static displayName?: string;
|
|
3728
|
+
static defaultProps?: any;
|
|
3729
|
+
static contextType?: Context<any>;
|
|
3730
|
+
// Static members cannot reference class type parameters. This is not
|
|
3731
|
+
// supported in TypeScript. Reusing the same type arguments from `Component`
|
|
3732
|
+
// will lead to an impossible state where one cannot satisfy the type
|
|
3733
|
+
// constraint under no circumstances, see #1356.In general type arguments
|
|
3734
|
+
// seem to be a bit buggy and not supported well at the time of this
|
|
3735
|
+
// writing with TS 3.3.3333.
|
|
3736
|
+
static getDerivedStateFromProps?(
|
|
3737
|
+
props: Readonly<object>,
|
|
3738
|
+
state: Readonly<object>,
|
|
3739
|
+
): object | null;
|
|
3740
|
+
|
|
3741
|
+
static getDerivedStateFromError?(error: any): object | null;
|
|
3742
|
+
state: Readonly<S>;
|
|
3743
|
+
props: RenderableProps<P>;
|
|
3744
|
+
context: any;
|
|
3745
|
+
base?: Element | Text;
|
|
3746
|
+
// From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
|
|
3747
|
+
// // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
|
|
3748
|
+
// // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
|
|
3749
|
+
setState<K extends keyof S>(
|
|
3750
|
+
state:
|
|
3751
|
+
| ((
|
|
3752
|
+
prevState: Readonly<S>,
|
|
3753
|
+
props: Readonly<P>,
|
|
3754
|
+
) => Pick<S, K> | Partial<S> | null)
|
|
3755
|
+
| (Pick<S, K> | Partial<S> | null),
|
|
3756
|
+
callback?: () => void,
|
|
3757
|
+
): void;
|
|
3758
|
+
|
|
3759
|
+
forceUpdate(callback?: () => void): void;
|
|
3760
|
+
abstract render(
|
|
3761
|
+
props?: RenderableProps<P>,
|
|
3762
|
+
state?: Readonly<S>,
|
|
3763
|
+
context?: any,
|
|
3764
|
+
): ComponentChildren$1;
|
|
3765
|
+
}
|
|
3766
|
+
//
|
|
3767
|
+
// Context
|
|
3768
|
+
// -----------------------------------
|
|
3769
|
+
export interface Consumer<T>
|
|
3770
|
+
extends FunctionComponent<{
|
|
3771
|
+
children: (value: T) => ComponentChildren$1;
|
|
3772
|
+
}> {}
|
|
3773
|
+
export interface Provider<T>
|
|
3774
|
+
extends FunctionComponent<{
|
|
3775
|
+
value: T;
|
|
3776
|
+
children?: ComponentChildren$1;
|
|
3777
|
+
}> {}
|
|
3778
|
+
export interface Context<T> extends Provider<T> {
|
|
3779
|
+
Consumer: Consumer<T>;
|
|
3780
|
+
Provider: Provider<T>;
|
|
3781
|
+
displayName?: string;
|
|
3114
3782
|
}
|
|
3115
|
-
interface UnorderedListProps$1 extends GlobalProps {}
|
|
3116
|
-
interface URLFieldProps$1
|
|
3117
|
-
extends GlobalProps,
|
|
3118
|
-
BaseTextFieldProps,
|
|
3119
|
-
MinMaxLengthProps,
|
|
3120
|
-
AutocompleteProps<URLAutocompleteField> {}
|
|
3121
|
-
export type URLAutocompleteField = ExtractStrict<
|
|
3122
|
-
AnyAutocompleteField,
|
|
3123
|
-
'url' | 'photo' | 'impp' | `${AutocompleteAddressGroup} impp`
|
|
3124
|
-
>;
|
|
3125
3783
|
type IconType$1 =
|
|
3126
3784
|
| 'adjust'
|
|
3127
3785
|
| 'affiliate'
|
|
@@ -3162,6 +3820,7 @@ type IconType$1 =
|
|
|
3162
3820
|
| 'book-open'
|
|
3163
3821
|
| 'bug'
|
|
3164
3822
|
| 'bullet'
|
|
3823
|
+
| 'business-entity'
|
|
3165
3824
|
| 'button'
|
|
3166
3825
|
| 'button-press'
|
|
3167
3826
|
| 'calculator'
|
|
@@ -3302,6 +3961,7 @@ type IconType$1 =
|
|
|
3302
3961
|
| 'file'
|
|
3303
3962
|
| 'file-list'
|
|
3304
3963
|
| 'filter'
|
|
3964
|
+
| 'filter-active'
|
|
3305
3965
|
| 'flag'
|
|
3306
3966
|
| 'flip-horizontal'
|
|
3307
3967
|
| 'flip-vertical'
|
|
@@ -3350,6 +4010,7 @@ type IconType$1 =
|
|
|
3350
4010
|
| 'incoming'
|
|
3351
4011
|
| 'incomplete'
|
|
3352
4012
|
| 'info'
|
|
4013
|
+
| 'inheritance'
|
|
3353
4014
|
| 'inventory'
|
|
3354
4015
|
| 'inventory-updated'
|
|
3355
4016
|
| 'iq'
|
|
@@ -3480,6 +4141,7 @@ type IconType$1 =
|
|
|
3480
4141
|
| 'plus'
|
|
3481
4142
|
| 'plus-circle'
|
|
3482
4143
|
| 'plus-circle-down'
|
|
4144
|
+
| 'plus-circle-filled'
|
|
3483
4145
|
| 'plus-circle-up'
|
|
3484
4146
|
| 'point-of-sale'
|
|
3485
4147
|
| 'price-list'
|
|
@@ -3520,6 +4182,7 @@ type IconType$1 =
|
|
|
3520
4182
|
| 'sandbox'
|
|
3521
4183
|
| 'save'
|
|
3522
4184
|
| 'search'
|
|
4185
|
+
| 'search-add'
|
|
3523
4186
|
| 'search-list'
|
|
3524
4187
|
| 'search-recent'
|
|
3525
4188
|
| 'search-resource'
|
|
@@ -3619,191 +4282,3 @@ type IconType$1 =
|
|
|
3619
4282
|
| 'wrench'
|
|
3620
4283
|
| 'x'
|
|
3621
4284
|
| 'x-circle';
|
|
3622
|
-
//
|
|
3623
|
-
// Preact Virtual DOM
|
|
3624
|
-
// -----------------------------------
|
|
3625
|
-
export interface VNode<P = {}> {
|
|
3626
|
-
type: ComponentType<P> | string;
|
|
3627
|
-
props: P & {
|
|
3628
|
-
children: ComponentChildren$1;
|
|
3629
|
-
};
|
|
3630
|
-
key: Key;
|
|
3631
|
-
/**
|
|
3632
|
-
* ref is not guaranteed by React.ReactElement, for compatibility reasons
|
|
3633
|
-
* with popular react libs we define it as optional too
|
|
3634
|
-
*/
|
|
3635
|
-
ref?: Ref<any> | null;
|
|
3636
|
-
/**
|
|
3637
|
-
* The time this `vnode` started rendering. Will only be set when
|
|
3638
|
-
* the devtools are attached.
|
|
3639
|
-
* Default value: `0`
|
|
3640
|
-
*/
|
|
3641
|
-
startTime?: number;
|
|
3642
|
-
/**
|
|
3643
|
-
* The time that the rendering of this `vnode` was completed. Will only be
|
|
3644
|
-
* set when the devtools are attached.
|
|
3645
|
-
* Default value: `-1`
|
|
3646
|
-
*/
|
|
3647
|
-
endTime?: number;
|
|
3648
|
-
}
|
|
3649
|
-
//
|
|
3650
|
-
// Preact Component interface
|
|
3651
|
-
// -----------------------------------
|
|
3652
|
-
export type Key = string | number | any;
|
|
3653
|
-
export interface RefObject<T> {
|
|
3654
|
-
current: T | null;
|
|
3655
|
-
}
|
|
3656
|
-
export type RefCallback<T> = (instance: T | null) => void;
|
|
3657
|
-
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3658
|
-
export type ComponentChild =
|
|
3659
|
-
| VNode<any>
|
|
3660
|
-
| object
|
|
3661
|
-
| string
|
|
3662
|
-
| number
|
|
3663
|
-
| bigint
|
|
3664
|
-
| boolean
|
|
3665
|
-
| null
|
|
3666
|
-
| undefined;
|
|
3667
|
-
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3668
|
-
export interface Attributes {
|
|
3669
|
-
key?: Key | undefined;
|
|
3670
|
-
jsx?: boolean | undefined;
|
|
3671
|
-
}
|
|
3672
|
-
export interface ErrorInfo {
|
|
3673
|
-
componentStack?: string;
|
|
3674
|
-
}
|
|
3675
|
-
export type RenderableProps<P, RefType = any> = P &
|
|
3676
|
-
Readonly<
|
|
3677
|
-
Attributes & {
|
|
3678
|
-
children?: ComponentChildren$1;
|
|
3679
|
-
ref?: Ref<RefType>;
|
|
3680
|
-
}
|
|
3681
|
-
>;
|
|
3682
|
-
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3683
|
-
export interface FunctionComponent<P = {}> {
|
|
3684
|
-
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3685
|
-
displayName?: string;
|
|
3686
|
-
defaultProps?: Partial<P> | undefined;
|
|
3687
|
-
}
|
|
3688
|
-
export interface ComponentClass<P = {}, S = {}> {
|
|
3689
|
-
new (props: P, context?: any): Component<P, S>;
|
|
3690
|
-
displayName?: string;
|
|
3691
|
-
defaultProps?: Partial<P>;
|
|
3692
|
-
contextType?: Context<any>;
|
|
3693
|
-
getDerivedStateFromProps?(
|
|
3694
|
-
props: Readonly<P>,
|
|
3695
|
-
state: Readonly<S>,
|
|
3696
|
-
): Partial<S> | null;
|
|
3697
|
-
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3698
|
-
}
|
|
3699
|
-
export interface Component<P = {}, S = {}> {
|
|
3700
|
-
componentWillMount?(): void;
|
|
3701
|
-
componentDidMount?(): void;
|
|
3702
|
-
componentWillUnmount?(): void;
|
|
3703
|
-
getChildContext?(): object;
|
|
3704
|
-
componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
3705
|
-
shouldComponentUpdate?(
|
|
3706
|
-
nextProps: Readonly<P>,
|
|
3707
|
-
nextState: Readonly<S>,
|
|
3708
|
-
nextContext: any,
|
|
3709
|
-
): boolean;
|
|
3710
|
-
componentWillUpdate?(
|
|
3711
|
-
nextProps: Readonly<P>,
|
|
3712
|
-
nextState: Readonly<S>,
|
|
3713
|
-
nextContext: any,
|
|
3714
|
-
): void;
|
|
3715
|
-
getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
|
|
3716
|
-
componentDidUpdate?(
|
|
3717
|
-
previousProps: Readonly<P>,
|
|
3718
|
-
previousState: Readonly<S>,
|
|
3719
|
-
snapshot: any,
|
|
3720
|
-
): void;
|
|
3721
|
-
componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
|
|
3722
|
-
}
|
|
3723
|
-
declare abstract class Component<P, S> {
|
|
3724
|
-
constructor(props?: P, context?: any);
|
|
3725
|
-
static displayName?: string;
|
|
3726
|
-
static defaultProps?: any;
|
|
3727
|
-
static contextType?: Context<any>;
|
|
3728
|
-
// Static members cannot reference class type parameters. This is not
|
|
3729
|
-
// supported in TypeScript. Reusing the same type arguments from `Component`
|
|
3730
|
-
// will lead to an impossible state where one cannot satisfy the type
|
|
3731
|
-
// constraint under no circumstances, see #1356.In general type arguments
|
|
3732
|
-
// seem to be a bit buggy and not supported well at the time of this
|
|
3733
|
-
// writing with TS 3.3.3333.
|
|
3734
|
-
static getDerivedStateFromProps?(
|
|
3735
|
-
props: Readonly<object>,
|
|
3736
|
-
state: Readonly<object>,
|
|
3737
|
-
): object | null;
|
|
3738
|
-
|
|
3739
|
-
static getDerivedStateFromError?(error: any): object | null;
|
|
3740
|
-
state: Readonly<S>;
|
|
3741
|
-
props: RenderableProps<P>;
|
|
3742
|
-
context: any;
|
|
3743
|
-
base?: Element | Text;
|
|
3744
|
-
// From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
|
|
3745
|
-
// // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
|
|
3746
|
-
// // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
|
|
3747
|
-
setState<K extends keyof S>(
|
|
3748
|
-
state:
|
|
3749
|
-
| ((
|
|
3750
|
-
prevState: Readonly<S>,
|
|
3751
|
-
props: Readonly<P>,
|
|
3752
|
-
) => Pick<S, K> | Partial<S> | null)
|
|
3753
|
-
| (Pick<S, K> | Partial<S> | null),
|
|
3754
|
-
callback?: () => void,
|
|
3755
|
-
): void;
|
|
3756
|
-
|
|
3757
|
-
forceUpdate(callback?: () => void): void;
|
|
3758
|
-
abstract render(
|
|
3759
|
-
props?: RenderableProps<P>,
|
|
3760
|
-
state?: Readonly<S>,
|
|
3761
|
-
context?: any,
|
|
3762
|
-
): ComponentChildren$1;
|
|
3763
|
-
}
|
|
3764
|
-
//
|
|
3765
|
-
// Context
|
|
3766
|
-
// -----------------------------------
|
|
3767
|
-
export interface Consumer<T>
|
|
3768
|
-
extends FunctionComponent<{
|
|
3769
|
-
children: (value: T) => ComponentChildren$1;
|
|
3770
|
-
}> {}
|
|
3771
|
-
export interface Provider<T>
|
|
3772
|
-
extends FunctionComponent<{
|
|
3773
|
-
value: T;
|
|
3774
|
-
children?: ComponentChildren$1;
|
|
3775
|
-
}> {}
|
|
3776
|
-
export interface Context<T> extends Provider<T> {
|
|
3777
|
-
Consumer: Consumer<T>;
|
|
3778
|
-
Provider: Provider<T>;
|
|
3779
|
-
displayName?: string;
|
|
3780
|
-
}
|
|
3781
|
-
interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
|
|
3782
|
-
/**
|
|
3783
|
-
* Whether the action is in a loading state, such as initial page load or action opening.
|
|
3784
|
-
* When true, the action could be in an inert state, which prevents user interaction.
|
|
3785
|
-
*
|
|
3786
|
-
* @default false
|
|
3787
|
-
*/
|
|
3788
|
-
loading?: boolean;
|
|
3789
|
-
}
|
|
3790
|
-
interface AdminBlockProps$1 extends GlobalProps {
|
|
3791
|
-
/**
|
|
3792
|
-
* The text to use as the Block title in the block header. If not provided, the name of the
|
|
3793
|
-
* extension will be used.
|
|
3794
|
-
*/
|
|
3795
|
-
heading?: string;
|
|
3796
|
-
/**
|
|
3797
|
-
* The summary to display when the app block is collapsed.
|
|
3798
|
-
* Summary longer than 30 characters will be truncated.
|
|
3799
|
-
*/
|
|
3800
|
-
collapsedSummary?: string;
|
|
3801
|
-
}
|
|
3802
|
-
interface AdminPrintActionProps$1 extends GlobalProps {
|
|
3803
|
-
/**
|
|
3804
|
-
* Sets the src URL of the preview and the document to print.
|
|
3805
|
-
* If not provided, the preview will show an empty state and the print button will be disabled.
|
|
3806
|
-
* HTML, PDFs and images are supported.
|
|
3807
|
-
*/
|
|
3808
|
-
src?: string;
|
|
3809
|
-
}
|