@shopify/ui-extensions 2025.10.0-rc.4 → 2025.10.0-rc.41
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 +4 -0
- 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 +4 -0
- 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 +4 -0
- 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/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/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/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/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 +6 -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/index.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/should-render/should-render.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +133 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +22 -8
- package/build/ts/surfaces/admin/components/Banner.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Box.d.ts +42 -26
- package/build/ts/surfaces/admin/components/Button.d.ts +35 -20
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +129 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +125 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +29 -8
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Clickable.d.ts +56 -39
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +156 -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 +132 -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 +246 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +160 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +43 -35
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +61 -33
- package/build/ts/surfaces/admin/components/GridItem.d.ts +43 -26
- package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Icon.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Image.d.ts +41 -42
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -29
- package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +143 -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 +231 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +16 -20
- package/build/ts/surfaces/admin/components/NumberField.d.ts +15 -17
- package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Page.d.ts +42 -6
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Popover.d.ts +379 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +18 -16
- package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +40 -16
- package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Stack.d.ts +66 -43
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +16 -12
- package/build/ts/surfaces/admin/components/Table.d.ts +29 -17
- package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableCell.d.ts +34 -7
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +26 -7
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TableRow.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TextArea.d.ts +15 -15
- package/build/ts/surfaces/admin/components/TextField.d.ts +17 -15
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/patterns/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 +4 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
- 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 +4 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/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 +4 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
- 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 +1206 -741
- 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/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +52 -3032
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +52 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +52 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +52 -3032
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- 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 +18 -2
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +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 +21 -9
- 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 +51 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Clickable/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/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/Details/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/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +44 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +92 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- package/build/ts/surfaces/checkout/components/Grid/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/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +74 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +91 -0
- 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/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +98 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/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/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/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/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +24 -13
- 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/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +80 -20
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/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/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +1351 -227
- package/build/ts/surfaces/checkout/components/components.d.ts +2490 -539
- package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/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 +32 -4
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +48 -651
- 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 +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +48 -651
- 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 +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +53 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +48 -651
- 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 +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout.d.ts +2 -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 +53 -45
- 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 +21 -9
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +51 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +44 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +92 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +74 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +91 -0
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +19 -6
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +98 -0
- 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/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +24 -13
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +80 -20
- package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1351 -227
- package/build/ts/surfaces/customer-account/components/components.d.ts +2490 -539
- package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +29 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +60 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +60 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +60 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +55 -742
- 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 +54 -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 +52 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +69 -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 +138 -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 +92 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +173 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/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 +64 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +43 -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 +140 -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 +62 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +190 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +61 -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 +65 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3109 -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 +24 -3
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +11 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/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/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/Option.ts +12 -0
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/PhoneField.ts +11 -0
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/docs/shared/components/QueryContainer.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/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 +6 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/index.ts +0 -1
- package/src/shared.ts +16 -1
- package/src/surfaces/admin/api/standard/standard.ts +7 -1
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +133 -0
- package/src/surfaces/admin/components/Badge.d.ts +22 -8
- package/src/surfaces/admin/components/Banner.d.ts +21 -16
- package/src/surfaces/admin/components/Box.d.ts +42 -26
- package/src/surfaces/admin/components/Button.d.ts +35 -20
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +129 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +125 -0
- package/src/surfaces/admin/components/Choice.d.ts +29 -8
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/src/surfaces/admin/components/Clickable.d.ts +56 -39
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +156 -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 +132 -0
- package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
- package/src/surfaces/admin/components/DateField.d.ts +246 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/src/surfaces/admin/components/Divider.d.ts +12 -5
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/DropZone.d.ts +160 -0
- package/src/surfaces/admin/components/EmailField.d.ts +15 -15
- package/src/surfaces/admin/components/Form.d.ts +43 -35
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/Grid.d.ts +61 -33
- package/src/surfaces/admin/components/GridItem.d.ts +43 -26
- package/src/surfaces/admin/components/Heading.d.ts +17 -6
- package/src/surfaces/admin/components/Icon.d.ts +17 -6
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Image.d.ts +41 -42
- package/src/surfaces/admin/components/Link.d.ts +35 -29
- package/src/surfaces/admin/components/ListItem.d.ts +18 -6
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +143 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +231 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +16 -20
- package/src/surfaces/admin/components/NumberField.d.ts +15 -17
- package/src/surfaces/admin/components/Option.d.ts +17 -5
- package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/src/surfaces/admin/components/Page/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +42 -6
- package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/src/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/Popover.d.ts +379 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/src/surfaces/admin/components/SearchField.d.ts +18 -16
- package/src/surfaces/admin/components/Section.d.ts +17 -6
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +40 -16
- package/src/surfaces/admin/components/Spinner.d.ts +12 -2
- package/src/surfaces/admin/components/Stack.d.ts +66 -43
- package/src/surfaces/admin/components/StandardComponents.ts +11 -0
- package/src/surfaces/admin/components/Switch.d.ts +16 -12
- package/src/surfaces/admin/components/Table.d.ts +29 -17
- package/src/surfaces/admin/components/TableBody.d.ts +18 -6
- package/src/surfaces/admin/components/TableCell.d.ts +34 -7
- package/src/surfaces/admin/components/TableHeader.d.ts +26 -7
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/src/surfaces/admin/components/TableRow.d.ts +21 -7
- package/src/surfaces/admin/components/Text.d.ts +19 -6
- package/src/surfaces/admin/components/TextArea.d.ts +15 -15
- package/src/surfaces/admin/components/TextField.d.ts +17 -15
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/src/surfaces/admin/components/URLField.d.ts +15 -15
- package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +255 -0
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +554 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +654 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +135 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +150 -0
- 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 +194 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +207 -0
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +80 -0
- package/src/surfaces/admin/components/shared.d.ts +1206 -741
- package/src/surfaces/admin/components.d.ts +3736 -1805
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
- package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
- 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 +21 -9
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +51 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Banner.d.ts +55 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +44 -13
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/src/surfaces/checkout/components/Details/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 +44 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +92 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- package/src/surfaces/checkout/components/Grid/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/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +16 -8
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +44 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +78 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +74 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +91 -0
- 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/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +1 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +98 -0
- 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-product-thumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/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.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
- package/src/surfaces/checkout/components/Stack.d.ts +24 -13
- 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/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/src/surfaces/checkout/components/TextField.d.ts +80 -20
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Time.d.ts +21 -9
- 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/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/components-shared.d.ts +1351 -227
- package/src/surfaces/checkout/components/components.d.ts +2490 -539
- package/src/surfaces/checkout/extension-targets.ts +8 -0
- package/src/surfaces/checkout/preact/api.ts +4 -0
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +10 -8
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +2 -3
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
- package/src/surfaces/checkout/preact/tests/mount.tsx +3 -3
- package/src/surfaces/checkout/shared.ts +99 -31
- package/src/surfaces/checkout.ts +4 -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 +56 -44
- 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-preact.example.tsx +10 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +22 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +8 -7
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +6 -4
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +24 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +10 -9
- package/src/surfaces/customer-account/components/Page.d.ts +19 -6
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +23 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +6 -2
- package/src/surfaces/customer-account/components/shared.ts +29 -5
- package/src/surfaces/customer-account/components.d.ts +124 -31
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +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 +63 -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 +52 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +69 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +138 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +92 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +47 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +173 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +9 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +11 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +43 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +140 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +10 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +190 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +3109 -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 +6008 -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/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
- /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/PaymentIcon/examples/{basic-paymenticon.example.html → basic-payment-icon.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/TextField/examples/{basic-textfield.example.html → basic-text-field.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
/** VERSION: 0.0.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
2
|
+
/* eslint-disable import-x/extensions */
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
4
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
5
5
|
/* eslint-disable line-comment-position */
|
|
6
6
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
7
7
|
/* eslint-disable no-var */
|
|
8
|
-
/* eslint-disable import/namespace */
|
|
8
|
+
/* eslint-disable import-x/namespace */
|
|
9
9
|
/**
|
|
10
10
|
* TODO: Update `any` type here after this is resolved
|
|
11
11
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
12
12
|
*/
|
|
13
13
|
export type ComponentChildren = any;
|
|
14
|
-
|
|
14
|
+
export type StringChildren = string;
|
|
15
|
+
export interface GlobalProps {
|
|
16
|
+
/**
|
|
17
|
+
* A unique identifier for the element.
|
|
18
|
+
*/
|
|
19
|
+
id?: string;
|
|
20
|
+
}
|
|
21
|
+
interface AbbreviationProps$1 extends GlobalProps {
|
|
15
22
|
/**
|
|
16
23
|
* The content of the abbreviation or acronym.
|
|
17
24
|
*/
|
|
@@ -27,14 +34,121 @@ interface AbbreviationProps$1 {
|
|
|
27
34
|
*/
|
|
28
35
|
title?: string;
|
|
29
36
|
}
|
|
30
|
-
export
|
|
31
|
-
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
32
|
-
export interface GlobalProps {
|
|
37
|
+
export interface ActionSlots {
|
|
33
38
|
/**
|
|
34
|
-
*
|
|
39
|
+
* The primary action to perform, provided as a button or link type element.
|
|
35
40
|
*/
|
|
36
|
-
|
|
41
|
+
primaryAction?: ComponentChildren;
|
|
42
|
+
/**
|
|
43
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
44
|
+
*/
|
|
45
|
+
secondaryActions?: ComponentChildren;
|
|
46
|
+
}
|
|
47
|
+
export interface BaseOverlayProps {
|
|
48
|
+
/**
|
|
49
|
+
* Callback fired after the overlay is shown.
|
|
50
|
+
*/
|
|
51
|
+
onShow?: (event: Event) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
54
|
+
*/
|
|
55
|
+
onAfterShow?: (event: Event) => void;
|
|
56
|
+
/**
|
|
57
|
+
* Callback fired after the overlay is hidden.
|
|
58
|
+
*/
|
|
59
|
+
onHide?: (event: Event) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
62
|
+
*/
|
|
63
|
+
onAfterHide?: (event: Event) => void;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Shared interfaces for web component methods.
|
|
67
|
+
*
|
|
68
|
+
* Methods are required (not optional) because:
|
|
69
|
+
* - Components implementing this interface must provide all methods
|
|
70
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
71
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
72
|
+
*/
|
|
73
|
+
export interface BaseOverlayMethods {
|
|
74
|
+
/**
|
|
75
|
+
* Method to show an overlay.
|
|
76
|
+
*
|
|
77
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
78
|
+
*/
|
|
79
|
+
showOverlay: () => void;
|
|
80
|
+
/**
|
|
81
|
+
* Method to hide an overlay.
|
|
82
|
+
*
|
|
83
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
84
|
+
*/
|
|
85
|
+
hideOverlay: () => void;
|
|
86
|
+
/**
|
|
87
|
+
* Method to toggle the visiblity of an overlay.
|
|
88
|
+
*
|
|
89
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
90
|
+
*/
|
|
91
|
+
toggleOverlay: () => void;
|
|
92
|
+
}
|
|
93
|
+
export interface FocusEventProps {
|
|
94
|
+
/**
|
|
95
|
+
* Callback when the element loses focus.
|
|
96
|
+
*
|
|
97
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
98
|
+
*/
|
|
99
|
+
onBlur?: (event: FocusEvent) => void;
|
|
100
|
+
/**
|
|
101
|
+
* Callback when the element receives focus.
|
|
102
|
+
*
|
|
103
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
104
|
+
*/
|
|
105
|
+
onFocus?: (event: FocusEvent) => void;
|
|
106
|
+
}
|
|
107
|
+
export interface ToggleEventProps {
|
|
108
|
+
/**
|
|
109
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
110
|
+
*
|
|
111
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
112
|
+
* `newState` property will be set to `open`.
|
|
113
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
114
|
+
* `newState` will be `closed`.
|
|
115
|
+
*
|
|
116
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
117
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
118
|
+
*/
|
|
119
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
120
|
+
/**
|
|
121
|
+
* Callback straight after the element state changes.
|
|
122
|
+
*
|
|
123
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
124
|
+
* `newState` property will be set to `open`.
|
|
125
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
126
|
+
* `newState` will be `closed`.
|
|
127
|
+
*
|
|
128
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
129
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
130
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
131
|
+
*/
|
|
132
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
133
|
+
}
|
|
134
|
+
export type ToggleState = "open" | "closed";
|
|
135
|
+
interface ToggleEvent$1 extends Event {
|
|
136
|
+
readonly newState: ToggleState;
|
|
137
|
+
readonly oldState: ToggleState;
|
|
138
|
+
}
|
|
139
|
+
export interface ExtendableEvent extends Event {
|
|
140
|
+
/**
|
|
141
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
142
|
+
*
|
|
143
|
+
* This may be called many times, which adds promises to the event.
|
|
144
|
+
*
|
|
145
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
146
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
147
|
+
*/
|
|
148
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
37
149
|
}
|
|
150
|
+
export type SizeKeyword = "small-500" | "small-400" | "small-300" | "small-200" | "small-100" | "small" | "base" | "large" | "large-100" | "large-200" | "large-300" | "large-400" | "large-500";
|
|
151
|
+
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
38
152
|
export type BackgroundColorKeyword = "transparent" | ColorKeyword;
|
|
39
153
|
export interface BackgroundProps {
|
|
40
154
|
/**
|
|
@@ -54,7 +168,7 @@ export interface BackgroundProps {
|
|
|
54
168
|
*
|
|
55
169
|
* @default 'auto'
|
|
56
170
|
*/
|
|
57
|
-
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "custom";
|
|
171
|
+
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "accent" | "custom";
|
|
58
172
|
declare const privateIconArray: readonly [
|
|
59
173
|
"adjust",
|
|
60
174
|
"affiliate",
|
|
@@ -63,23 +177,23 @@ declare const privateIconArray: readonly [
|
|
|
63
177
|
"alert-circle",
|
|
64
178
|
"alert-diamond",
|
|
65
179
|
"alert-location",
|
|
66
|
-
"alert-octagon-filled",
|
|
67
180
|
"alert-octagon",
|
|
181
|
+
"alert-octagon-filled",
|
|
68
182
|
"alert-triangle",
|
|
69
183
|
"alert-triangle-filled",
|
|
70
184
|
"app-extension",
|
|
71
185
|
"apps",
|
|
72
186
|
"archive",
|
|
187
|
+
"arrow-down",
|
|
73
188
|
"arrow-down-circle",
|
|
74
189
|
"arrow-down-right",
|
|
75
|
-
"arrow-down",
|
|
76
|
-
"arrow-left-circle",
|
|
77
190
|
"arrow-left",
|
|
78
|
-
"arrow-
|
|
191
|
+
"arrow-left-circle",
|
|
79
192
|
"arrow-right",
|
|
193
|
+
"arrow-right-circle",
|
|
194
|
+
"arrow-up",
|
|
80
195
|
"arrow-up-circle",
|
|
81
196
|
"arrow-up-right",
|
|
82
|
-
"arrow-up",
|
|
83
197
|
"arrows-in-horizontal",
|
|
84
198
|
"arrows-out-horizontal",
|
|
85
199
|
"attachment",
|
|
@@ -88,34 +202,39 @@ declare const privateIconArray: readonly [
|
|
|
88
202
|
"bag",
|
|
89
203
|
"bank",
|
|
90
204
|
"barcode",
|
|
205
|
+
"battery-low",
|
|
91
206
|
"bill",
|
|
92
207
|
"blank",
|
|
93
208
|
"blog",
|
|
94
|
-
"bolt-filled",
|
|
95
209
|
"bolt",
|
|
96
|
-
"
|
|
210
|
+
"bolt-filled",
|
|
97
211
|
"book",
|
|
212
|
+
"book-open",
|
|
98
213
|
"bug",
|
|
99
214
|
"bullet",
|
|
100
215
|
"business-entity",
|
|
101
|
-
"button-press",
|
|
102
216
|
"button",
|
|
217
|
+
"button-press",
|
|
103
218
|
"calculator",
|
|
219
|
+
"calendar",
|
|
104
220
|
"calendar-check",
|
|
105
221
|
"calendar-compare",
|
|
106
222
|
"calendar-list",
|
|
107
223
|
"calendar-time",
|
|
108
|
-
"calendar",
|
|
109
|
-
"camera-flip",
|
|
110
224
|
"camera",
|
|
225
|
+
"camera-flip",
|
|
111
226
|
"caret-down",
|
|
227
|
+
"caret-left",
|
|
228
|
+
"caret-right",
|
|
112
229
|
"caret-up",
|
|
230
|
+
"cart",
|
|
113
231
|
"cart-abandoned",
|
|
114
232
|
"cart-discount",
|
|
115
233
|
"cart-down",
|
|
234
|
+
"cart-filled",
|
|
116
235
|
"cart-sale",
|
|
236
|
+
"cart-send",
|
|
117
237
|
"cart-up",
|
|
118
|
-
"cart",
|
|
119
238
|
"cash-dollar",
|
|
120
239
|
"cash-euro",
|
|
121
240
|
"cash-pound",
|
|
@@ -127,8 +246,8 @@ declare const privateIconArray: readonly [
|
|
|
127
246
|
"chart-cohort",
|
|
128
247
|
"chart-donut",
|
|
129
248
|
"chart-funnel",
|
|
130
|
-
"chart-histogram-first-last",
|
|
131
249
|
"chart-histogram-first",
|
|
250
|
+
"chart-histogram-first-last",
|
|
132
251
|
"chart-histogram-flat",
|
|
133
252
|
"chart-histogram-full",
|
|
134
253
|
"chart-histogram-growth",
|
|
@@ -139,36 +258,36 @@ declare const privateIconArray: readonly [
|
|
|
139
258
|
"chart-popular",
|
|
140
259
|
"chart-stacked",
|
|
141
260
|
"chart-vertical",
|
|
261
|
+
"chat",
|
|
142
262
|
"chat-new",
|
|
143
263
|
"chat-referral",
|
|
144
|
-
"chat",
|
|
145
|
-
"check-circle-filled",
|
|
146
|
-
"check-circle",
|
|
147
264
|
"check",
|
|
265
|
+
"check-circle",
|
|
266
|
+
"check-circle-filled",
|
|
148
267
|
"checkbox",
|
|
149
|
-
"chevron-down-circle",
|
|
150
268
|
"chevron-down",
|
|
151
|
-
"chevron-
|
|
269
|
+
"chevron-down-circle",
|
|
152
270
|
"chevron-left",
|
|
153
|
-
"chevron-
|
|
271
|
+
"chevron-left-circle",
|
|
154
272
|
"chevron-right",
|
|
155
|
-
"chevron-
|
|
273
|
+
"chevron-right-circle",
|
|
156
274
|
"chevron-up",
|
|
157
|
-
"circle
|
|
275
|
+
"chevron-up-circle",
|
|
158
276
|
"circle",
|
|
277
|
+
"circle-dashed",
|
|
278
|
+
"clipboard",
|
|
159
279
|
"clipboard-check",
|
|
160
280
|
"clipboard-checklist",
|
|
161
|
-
"clipboard",
|
|
162
|
-
"clock-revert",
|
|
163
281
|
"clock",
|
|
164
|
-
"
|
|
282
|
+
"clock-revert",
|
|
165
283
|
"code",
|
|
284
|
+
"code-add",
|
|
285
|
+
"collection",
|
|
166
286
|
"collection-featured",
|
|
167
287
|
"collection-list",
|
|
168
288
|
"collection-reference",
|
|
169
|
-
"collection",
|
|
170
|
-
"color-none",
|
|
171
289
|
"color",
|
|
290
|
+
"color-none",
|
|
172
291
|
"compass",
|
|
173
292
|
"complete",
|
|
174
293
|
"compose",
|
|
@@ -179,76 +298,81 @@ declare const privateIconArray: readonly [
|
|
|
179
298
|
"corner-pill",
|
|
180
299
|
"corner-round",
|
|
181
300
|
"corner-square",
|
|
301
|
+
"credit-card",
|
|
182
302
|
"credit-card-cancel",
|
|
183
303
|
"credit-card-percent",
|
|
304
|
+
"credit-card-reader",
|
|
184
305
|
"credit-card-reader-chip",
|
|
185
306
|
"credit-card-reader-tap",
|
|
186
|
-
"credit-card-reader",
|
|
187
307
|
"credit-card-secure",
|
|
188
308
|
"credit-card-tap-chip",
|
|
189
|
-
"credit-card",
|
|
190
309
|
"crop",
|
|
191
310
|
"currency-convert",
|
|
311
|
+
"cursor",
|
|
192
312
|
"cursor-banner",
|
|
193
313
|
"cursor-option",
|
|
194
|
-
"cursor",
|
|
195
314
|
"data-presentation",
|
|
196
315
|
"data-table",
|
|
316
|
+
"database",
|
|
197
317
|
"database-add",
|
|
198
318
|
"database-connect",
|
|
199
|
-
"database",
|
|
200
319
|
"delete",
|
|
201
320
|
"delivered",
|
|
202
321
|
"delivery",
|
|
203
322
|
"desktop",
|
|
204
323
|
"disabled",
|
|
324
|
+
"disabled-filled",
|
|
325
|
+
"discount",
|
|
205
326
|
"discount-add",
|
|
327
|
+
"discount-automatic",
|
|
206
328
|
"discount-code",
|
|
207
|
-
"discount",
|
|
329
|
+
"discount-remove",
|
|
208
330
|
"dns-settings",
|
|
209
331
|
"dock-floating",
|
|
210
332
|
"dock-side",
|
|
333
|
+
"domain",
|
|
211
334
|
"domain-landing-page",
|
|
212
335
|
"domain-new",
|
|
213
336
|
"domain-redirect",
|
|
214
|
-
"domain",
|
|
215
337
|
"download",
|
|
216
338
|
"drag-drop",
|
|
217
339
|
"drag-handle",
|
|
340
|
+
"drawer",
|
|
218
341
|
"duplicate",
|
|
219
342
|
"edit",
|
|
343
|
+
"email",
|
|
220
344
|
"email-follow-up",
|
|
221
345
|
"email-newsletter",
|
|
222
|
-
"email",
|
|
223
346
|
"empty",
|
|
224
347
|
"enabled",
|
|
225
348
|
"enter",
|
|
226
|
-
"envelope-soft-pack",
|
|
227
349
|
"envelope",
|
|
350
|
+
"envelope-soft-pack",
|
|
228
351
|
"eraser",
|
|
229
352
|
"exchange",
|
|
230
353
|
"exit",
|
|
231
354
|
"export",
|
|
232
355
|
"external",
|
|
233
356
|
"eye-check-mark",
|
|
234
|
-
"eye-dropper-list",
|
|
235
357
|
"eye-dropper",
|
|
358
|
+
"eye-dropper-list",
|
|
236
359
|
"eye-first",
|
|
237
360
|
"eyeglasses",
|
|
238
361
|
"fav",
|
|
239
362
|
"favicon",
|
|
240
|
-
"file-list",
|
|
241
363
|
"file",
|
|
364
|
+
"file-list",
|
|
242
365
|
"filter",
|
|
366
|
+
"filter-active",
|
|
243
367
|
"flag",
|
|
244
368
|
"flip-horizontal",
|
|
245
369
|
"flip-vertical",
|
|
246
370
|
"flower",
|
|
371
|
+
"folder",
|
|
247
372
|
"folder-add",
|
|
248
373
|
"folder-down",
|
|
249
374
|
"folder-remove",
|
|
250
375
|
"folder-up",
|
|
251
|
-
"folder",
|
|
252
376
|
"food",
|
|
253
377
|
"foreground",
|
|
254
378
|
"forklift",
|
|
@@ -256,33 +380,35 @@ declare const privateIconArray: readonly [
|
|
|
256
380
|
"games",
|
|
257
381
|
"gauge",
|
|
258
382
|
"geolocation",
|
|
259
|
-
"gift-card",
|
|
260
383
|
"gift",
|
|
384
|
+
"gift-card",
|
|
261
385
|
"git-branch",
|
|
262
386
|
"git-commit",
|
|
263
387
|
"git-repository",
|
|
388
|
+
"globe",
|
|
264
389
|
"globe-asia",
|
|
265
390
|
"globe-europe",
|
|
266
391
|
"globe-lines",
|
|
267
392
|
"globe-list",
|
|
268
|
-
"
|
|
393
|
+
"graduation-hat",
|
|
269
394
|
"grid",
|
|
395
|
+
"hashtag",
|
|
270
396
|
"hashtag-decimal",
|
|
271
397
|
"hashtag-list",
|
|
272
|
-
"hashtag",
|
|
273
398
|
"heart",
|
|
274
|
-
"hide-filled",
|
|
275
399
|
"hide",
|
|
400
|
+
"hide-filled",
|
|
276
401
|
"home",
|
|
402
|
+
"home-filled",
|
|
277
403
|
"icons",
|
|
278
404
|
"identity-card",
|
|
405
|
+
"image",
|
|
279
406
|
"image-add",
|
|
280
407
|
"image-alt",
|
|
281
408
|
"image-explore",
|
|
282
409
|
"image-magic",
|
|
283
410
|
"image-none",
|
|
284
411
|
"image-with-text-overlay",
|
|
285
|
-
"image",
|
|
286
412
|
"images",
|
|
287
413
|
"import",
|
|
288
414
|
"in-progress",
|
|
@@ -291,20 +417,25 @@ declare const privateIconArray: readonly [
|
|
|
291
417
|
"incomplete",
|
|
292
418
|
"info",
|
|
293
419
|
"info-filled",
|
|
294
|
-
"
|
|
420
|
+
"inheritance",
|
|
295
421
|
"inventory",
|
|
422
|
+
"inventory-edit",
|
|
423
|
+
"inventory-list",
|
|
424
|
+
"inventory-transfer",
|
|
425
|
+
"inventory-updated",
|
|
296
426
|
"iq",
|
|
297
427
|
"key",
|
|
428
|
+
"keyboard",
|
|
298
429
|
"keyboard-filled",
|
|
299
430
|
"keyboard-hide",
|
|
300
|
-
"
|
|
431
|
+
"keypad",
|
|
301
432
|
"label-printer",
|
|
302
|
-
"language-translate",
|
|
303
433
|
"language",
|
|
434
|
+
"language-translate",
|
|
304
435
|
"layout-block",
|
|
436
|
+
"layout-buy-button",
|
|
305
437
|
"layout-buy-button-horizontal",
|
|
306
438
|
"layout-buy-button-vertical",
|
|
307
|
-
"layout-buy-button",
|
|
308
439
|
"layout-column-1",
|
|
309
440
|
"layout-columns-2",
|
|
310
441
|
"layout-columns-3",
|
|
@@ -317,64 +448,73 @@ declare const privateIconArray: readonly [
|
|
|
317
448
|
"layout-sidebar-left",
|
|
318
449
|
"layout-sidebar-right",
|
|
319
450
|
"lightbulb",
|
|
320
|
-
"link-list",
|
|
321
451
|
"link",
|
|
452
|
+
"link-list",
|
|
322
453
|
"list-bulleted",
|
|
454
|
+
"list-bulleted-filled",
|
|
323
455
|
"list-numbered",
|
|
324
456
|
"live",
|
|
325
|
-
"
|
|
457
|
+
"live-critical",
|
|
458
|
+
"live-none",
|
|
326
459
|
"location",
|
|
460
|
+
"location-none",
|
|
327
461
|
"lock",
|
|
328
462
|
"map",
|
|
463
|
+
"markets",
|
|
329
464
|
"markets-euro",
|
|
330
465
|
"markets-rupee",
|
|
331
466
|
"markets-yen",
|
|
332
|
-
"markets",
|
|
333
467
|
"maximize",
|
|
334
|
-
"measurement-size-list",
|
|
335
468
|
"measurement-size",
|
|
336
|
-
"measurement-
|
|
469
|
+
"measurement-size-list",
|
|
337
470
|
"measurement-volume",
|
|
338
|
-
"measurement-
|
|
471
|
+
"measurement-volume-list",
|
|
339
472
|
"measurement-weight",
|
|
473
|
+
"measurement-weight-list",
|
|
340
474
|
"media-receiver",
|
|
341
475
|
"megaphone",
|
|
342
476
|
"mention",
|
|
477
|
+
"menu",
|
|
478
|
+
"menu-filled",
|
|
343
479
|
"menu-horizontal",
|
|
344
480
|
"menu-vertical",
|
|
345
|
-
"menu",
|
|
346
481
|
"merge",
|
|
347
482
|
"metafields",
|
|
483
|
+
"metaobject",
|
|
348
484
|
"metaobject-list",
|
|
349
485
|
"metaobject-reference",
|
|
350
|
-
"metaobject",
|
|
351
486
|
"microphone",
|
|
352
487
|
"minimize",
|
|
353
|
-
"minus-circle",
|
|
354
488
|
"minus",
|
|
489
|
+
"minus-circle",
|
|
355
490
|
"mobile",
|
|
356
|
-
"money-none",
|
|
357
491
|
"money",
|
|
492
|
+
"money-none",
|
|
493
|
+
"money-split",
|
|
358
494
|
"moon",
|
|
359
495
|
"nature",
|
|
360
|
-
"note-add",
|
|
361
496
|
"note",
|
|
497
|
+
"note-add",
|
|
362
498
|
"notification",
|
|
499
|
+
"order",
|
|
363
500
|
"order-batches",
|
|
364
501
|
"order-draft",
|
|
502
|
+
"order-filled",
|
|
365
503
|
"order-first",
|
|
366
504
|
"order-fulfilled",
|
|
367
505
|
"order-repeat",
|
|
368
506
|
"order-unfulfilled",
|
|
369
|
-
"order",
|
|
370
507
|
"orders-status",
|
|
371
508
|
"organization",
|
|
372
509
|
"outdent",
|
|
373
510
|
"outgoing",
|
|
511
|
+
"package",
|
|
512
|
+
"package-cancel",
|
|
374
513
|
"package-fulfilled",
|
|
375
514
|
"package-on-hold",
|
|
515
|
+
"package-reassign",
|
|
376
516
|
"package-returned",
|
|
377
|
-
"
|
|
517
|
+
"page",
|
|
378
518
|
"page-add",
|
|
379
519
|
"page-attachment",
|
|
380
520
|
"page-clock",
|
|
@@ -385,7 +525,6 @@ declare const privateIconArray: readonly [
|
|
|
385
525
|
"page-remove",
|
|
386
526
|
"page-report",
|
|
387
527
|
"page-up",
|
|
388
|
-
"page",
|
|
389
528
|
"pagination-end",
|
|
390
529
|
"pagination-start",
|
|
391
530
|
"paint-brush-flat",
|
|
@@ -395,49 +534,55 @@ declare const privateIconArray: readonly [
|
|
|
395
534
|
"passkey",
|
|
396
535
|
"paste",
|
|
397
536
|
"pause-circle",
|
|
398
|
-
"payment-capture",
|
|
399
537
|
"payment",
|
|
538
|
+
"payment-capture",
|
|
539
|
+
"payout",
|
|
400
540
|
"payout-dollar",
|
|
401
541
|
"payout-euro",
|
|
402
542
|
"payout-pound",
|
|
403
543
|
"payout-rupee",
|
|
404
544
|
"payout-yen",
|
|
405
|
-
"
|
|
545
|
+
"person",
|
|
406
546
|
"person-add",
|
|
407
547
|
"person-exit",
|
|
548
|
+
"person-filled",
|
|
408
549
|
"person-list",
|
|
409
550
|
"person-lock",
|
|
410
551
|
"person-remove",
|
|
411
552
|
"person-segment",
|
|
412
|
-
"person",
|
|
413
553
|
"personalized-text",
|
|
554
|
+
"phablet",
|
|
555
|
+
"phone",
|
|
414
556
|
"phone-in",
|
|
415
557
|
"phone-out",
|
|
416
|
-
"phone",
|
|
417
558
|
"pin",
|
|
418
559
|
"pin-remove",
|
|
419
560
|
"plan",
|
|
420
|
-
"play-circle",
|
|
421
561
|
"play",
|
|
562
|
+
"play-circle",
|
|
563
|
+
"plus",
|
|
422
564
|
"plus-circle",
|
|
423
565
|
"plus-circle-down",
|
|
566
|
+
"plus-circle-filled",
|
|
424
567
|
"plus-circle-up",
|
|
425
|
-
"plus",
|
|
426
568
|
"point-of-sale",
|
|
569
|
+
"point-of-sale-register",
|
|
427
570
|
"price-list",
|
|
428
571
|
"print",
|
|
572
|
+
"product",
|
|
429
573
|
"product-add",
|
|
430
574
|
"product-cost",
|
|
575
|
+
"product-filled",
|
|
431
576
|
"product-list",
|
|
432
577
|
"product-reference",
|
|
433
578
|
"product-remove",
|
|
434
579
|
"product-return",
|
|
435
580
|
"product-unavailable",
|
|
436
|
-
"product",
|
|
437
|
-
"profile-filled",
|
|
438
581
|
"profile",
|
|
439
|
-
"
|
|
582
|
+
"profile-filled",
|
|
440
583
|
"question-circle",
|
|
584
|
+
"question-circle-filled",
|
|
585
|
+
"receipt",
|
|
441
586
|
"receipt-dollar",
|
|
442
587
|
"receipt-euro",
|
|
443
588
|
"receipt-folded",
|
|
@@ -446,7 +591,6 @@ declare const privateIconArray: readonly [
|
|
|
446
591
|
"receipt-refund",
|
|
447
592
|
"receipt-rupee",
|
|
448
593
|
"receipt-yen",
|
|
449
|
-
"receipt",
|
|
450
594
|
"receivables",
|
|
451
595
|
"redo",
|
|
452
596
|
"referral-code",
|
|
@@ -464,10 +608,12 @@ declare const privateIconArray: readonly [
|
|
|
464
608
|
"sandbox",
|
|
465
609
|
"save",
|
|
466
610
|
"savings",
|
|
611
|
+
"scan-qr-code",
|
|
612
|
+
"search",
|
|
613
|
+
"search-add",
|
|
467
614
|
"search-list",
|
|
468
615
|
"search-recent",
|
|
469
616
|
"search-resource",
|
|
470
|
-
"search",
|
|
471
617
|
"select",
|
|
472
618
|
"send",
|
|
473
619
|
"settings",
|
|
@@ -477,6 +623,7 @@ declare const privateIconArray: readonly [
|
|
|
477
623
|
"shield-pending",
|
|
478
624
|
"shield-person",
|
|
479
625
|
"shipping-label",
|
|
626
|
+
"shipping-label-cancel",
|
|
480
627
|
"shopcodes",
|
|
481
628
|
"slideshow",
|
|
482
629
|
"smiley-happy",
|
|
@@ -485,68 +632,70 @@ declare const privateIconArray: readonly [
|
|
|
485
632
|
"smiley-sad",
|
|
486
633
|
"social-ad",
|
|
487
634
|
"social-post",
|
|
635
|
+
"sort",
|
|
488
636
|
"sort-ascending",
|
|
489
637
|
"sort-descending",
|
|
490
|
-
"sort",
|
|
491
638
|
"sound",
|
|
492
639
|
"sports",
|
|
640
|
+
"star",
|
|
641
|
+
"star-circle",
|
|
493
642
|
"star-filled",
|
|
494
643
|
"star-half",
|
|
495
644
|
"star-list",
|
|
496
|
-
"star",
|
|
497
|
-
"status-active",
|
|
498
645
|
"status",
|
|
646
|
+
"status-active",
|
|
499
647
|
"stop-circle",
|
|
648
|
+
"store",
|
|
500
649
|
"store-import",
|
|
501
650
|
"store-managed",
|
|
502
651
|
"store-online",
|
|
503
|
-
"store",
|
|
504
652
|
"sun",
|
|
505
|
-
"table-masonry",
|
|
506
653
|
"table",
|
|
654
|
+
"table-masonry",
|
|
507
655
|
"tablet",
|
|
508
656
|
"target",
|
|
509
657
|
"tax",
|
|
510
658
|
"team",
|
|
659
|
+
"text",
|
|
511
660
|
"text-align-center",
|
|
512
661
|
"text-align-left",
|
|
513
662
|
"text-align-right",
|
|
514
663
|
"text-block",
|
|
515
664
|
"text-bold",
|
|
516
665
|
"text-color",
|
|
517
|
-
"text-font-list",
|
|
518
666
|
"text-font",
|
|
667
|
+
"text-font-list",
|
|
519
668
|
"text-grammar",
|
|
520
669
|
"text-in-columns",
|
|
521
670
|
"text-in-rows",
|
|
522
|
-
"text-indent-remove",
|
|
523
671
|
"text-indent",
|
|
672
|
+
"text-indent-remove",
|
|
524
673
|
"text-italic",
|
|
525
674
|
"text-quote",
|
|
526
675
|
"text-title",
|
|
527
676
|
"text-underline",
|
|
528
677
|
"text-with-image",
|
|
529
|
-
"
|
|
678
|
+
"theme",
|
|
530
679
|
"theme-edit",
|
|
531
680
|
"theme-store",
|
|
532
681
|
"theme-template",
|
|
533
|
-
"theme",
|
|
534
682
|
"three-d-environment",
|
|
535
683
|
"thumbs-down",
|
|
536
684
|
"thumbs-up",
|
|
537
685
|
"tip-jar",
|
|
538
686
|
"toggle-off",
|
|
539
687
|
"toggle-on",
|
|
688
|
+
"transaction",
|
|
689
|
+
"transaction-fee-add",
|
|
540
690
|
"transaction-fee-dollar",
|
|
541
691
|
"transaction-fee-euro",
|
|
542
692
|
"transaction-fee-pound",
|
|
543
693
|
"transaction-fee-rupee",
|
|
544
694
|
"transaction-fee-yen",
|
|
545
|
-
"
|
|
695
|
+
"transfer",
|
|
546
696
|
"transfer-in",
|
|
547
697
|
"transfer-internal",
|
|
548
698
|
"transfer-out",
|
|
549
|
-
"transfer",
|
|
550
699
|
"truck",
|
|
551
700
|
"undo",
|
|
552
701
|
"unknown-device",
|
|
@@ -562,12 +711,12 @@ declare const privateIconArray: readonly [
|
|
|
562
711
|
"wand",
|
|
563
712
|
"watch",
|
|
564
713
|
"wifi",
|
|
565
|
-
"work-list",
|
|
566
714
|
"work",
|
|
715
|
+
"work-list",
|
|
567
716
|
"wrench",
|
|
568
|
-
"x
|
|
717
|
+
"x",
|
|
569
718
|
"x-circle",
|
|
570
|
-
"x"
|
|
719
|
+
"x-circle-filled"
|
|
571
720
|
];
|
|
572
721
|
export type IconType = (typeof privateIconArray)[number];
|
|
573
722
|
/**
|
|
@@ -576,6 +725,7 @@ export type IconType = (typeof privateIconArray)[number];
|
|
|
576
725
|
export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
577
726
|
export type MaybeAllValuesShorthandProperty<T extends string> = T | `${T} ${T}` | `${T} ${T} ${T}` | `${T} ${T} ${T} ${T}`;
|
|
578
727
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
728
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
579
729
|
/**
|
|
580
730
|
* Prevents widening string literal types in a union to `string`.
|
|
581
731
|
* @example
|
|
@@ -585,44 +735,48 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
585
735
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
586
736
|
*/
|
|
587
737
|
export type AnyString = string & {};
|
|
588
|
-
|
|
738
|
+
/**
|
|
739
|
+
* This is purely to give the ability
|
|
740
|
+
* to have a space or not in the string literal types.
|
|
741
|
+
*
|
|
742
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
743
|
+
*/
|
|
744
|
+
export type optionalSpace = "" | " ";
|
|
745
|
+
interface BadgeProps$1 extends GlobalProps {
|
|
589
746
|
/**
|
|
590
|
-
* The
|
|
747
|
+
* The content of the Badge.
|
|
591
748
|
*/
|
|
592
|
-
|
|
749
|
+
children?: ComponentChildren;
|
|
593
750
|
/**
|
|
594
|
-
*
|
|
751
|
+
* Sets the tone of the Badge, based on the intention of the information being conveyed.
|
|
752
|
+
*
|
|
753
|
+
* @default 'auto'
|
|
595
754
|
*/
|
|
596
|
-
|
|
597
|
-
}
|
|
598
|
-
/**
|
|
599
|
-
* Used for Container Query-related props.
|
|
600
|
-
*/
|
|
601
|
-
export interface ContainerProps {
|
|
755
|
+
tone?: ToneKeyword;
|
|
602
756
|
/**
|
|
603
|
-
*
|
|
757
|
+
* Modify the color to be more or less intense.
|
|
604
758
|
*
|
|
605
|
-
* @
|
|
759
|
+
* @default 'base'
|
|
760
|
+
*/
|
|
761
|
+
color?: ColorKeyword;
|
|
762
|
+
/**
|
|
763
|
+
* The type of icon to be displayed in the badge.
|
|
606
764
|
*
|
|
607
765
|
* @default ''
|
|
608
|
-
*
|
|
609
|
-
* @implementation All components that implement this interface must put a containerName of `s-default` on the root element of that component, regardless of the value of `containerType`.
|
|
610
|
-
* The developer-supplied containerName here would be in addition to the above-mentioned containerName.
|
|
611
766
|
*/
|
|
612
|
-
|
|
767
|
+
icon?: IconType | AnyString;
|
|
613
768
|
/**
|
|
614
|
-
* The
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
*
|
|
619
|
-
* - `inline-size`: Establishes a query container for dimensional queries on the inline axis of the container. Applies layout, style, and inline-size containment to the element.
|
|
769
|
+
* The position of the icon in relation to the text.
|
|
770
|
+
*/
|
|
771
|
+
iconPosition?: "start" | "end";
|
|
772
|
+
/**
|
|
773
|
+
* Adjusts the size.
|
|
620
774
|
*
|
|
621
|
-
* @default '
|
|
775
|
+
* @default 'base'
|
|
622
776
|
*/
|
|
623
|
-
|
|
777
|
+
size?: SizeKeyword;
|
|
624
778
|
}
|
|
625
|
-
interface BannerProps$1 extends GlobalProps, ActionSlots
|
|
779
|
+
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
626
780
|
/**
|
|
627
781
|
* The title of the banner.
|
|
628
782
|
*
|
|
@@ -673,7 +827,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
673
827
|
*
|
|
674
828
|
* The `hidden` property will be `false` when this event fires.
|
|
675
829
|
*/
|
|
676
|
-
onDismiss?: () => void;
|
|
830
|
+
onDismiss?: (event: Event) => void;
|
|
677
831
|
/**
|
|
678
832
|
* Event handler when the banner has fully hidden.
|
|
679
833
|
*
|
|
@@ -683,7 +837,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
683
837
|
* this event must fire after the banner has fully hidden.
|
|
684
838
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
685
839
|
*/
|
|
686
|
-
onAfterHide?: () => void;
|
|
840
|
+
onAfterHide?: (event: Event) => void;
|
|
687
841
|
/**
|
|
688
842
|
* Determines whether the banner is hidden.
|
|
689
843
|
*
|
|
@@ -707,7 +861,7 @@ export interface DisplayProps {
|
|
|
707
861
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
708
862
|
* @default 'auto'
|
|
709
863
|
*/
|
|
710
|
-
display?: "auto" | "none"
|
|
864
|
+
display?: MaybeResponsive<"auto" | "none">;
|
|
711
865
|
}
|
|
712
866
|
export interface AccessibilityRoleProps {
|
|
713
867
|
/**
|
|
@@ -882,7 +1036,7 @@ export interface PaddingProps {
|
|
|
882
1036
|
*
|
|
883
1037
|
* @default 'none'
|
|
884
1038
|
*/
|
|
885
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1039
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
886
1040
|
/**
|
|
887
1041
|
* Adjust the block-padding.
|
|
888
1042
|
*
|
|
@@ -892,7 +1046,7 @@ export interface PaddingProps {
|
|
|
892
1046
|
*
|
|
893
1047
|
* @default '' - meaning no override
|
|
894
1048
|
*/
|
|
895
|
-
paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1049
|
+
paddingBlock?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
896
1050
|
/**
|
|
897
1051
|
* Adjust the block-start padding.
|
|
898
1052
|
*
|
|
@@ -900,7 +1054,7 @@ export interface PaddingProps {
|
|
|
900
1054
|
*
|
|
901
1055
|
* @default '' - meaning no override
|
|
902
1056
|
*/
|
|
903
|
-
paddingBlockStart?: PaddingKeyword | ""
|
|
1057
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
904
1058
|
/**
|
|
905
1059
|
* Adjust the block-end padding.
|
|
906
1060
|
*
|
|
@@ -908,7 +1062,7 @@ export interface PaddingProps {
|
|
|
908
1062
|
*
|
|
909
1063
|
* @default '' - meaning no override
|
|
910
1064
|
*/
|
|
911
|
-
paddingBlockEnd?: PaddingKeyword | ""
|
|
1065
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
912
1066
|
/**
|
|
913
1067
|
* Adjust the inline padding.
|
|
914
1068
|
*
|
|
@@ -918,7 +1072,7 @@ export interface PaddingProps {
|
|
|
918
1072
|
*
|
|
919
1073
|
* @default '' - meaning no override
|
|
920
1074
|
*/
|
|
921
|
-
paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1075
|
+
paddingInline?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
922
1076
|
/**
|
|
923
1077
|
* Adjust the inline-start padding.
|
|
924
1078
|
*
|
|
@@ -926,7 +1080,7 @@ export interface PaddingProps {
|
|
|
926
1080
|
*
|
|
927
1081
|
* @default '' - meaning no override
|
|
928
1082
|
*/
|
|
929
|
-
paddingInlineStart?: PaddingKeyword | ""
|
|
1083
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
930
1084
|
/**
|
|
931
1085
|
* Adjust the inline-end padding.
|
|
932
1086
|
*
|
|
@@ -934,7 +1088,7 @@ export interface PaddingProps {
|
|
|
934
1088
|
*
|
|
935
1089
|
* @default '' - meaning no override
|
|
936
1090
|
*/
|
|
937
|
-
paddingInlineEnd?: PaddingKeyword | ""
|
|
1091
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
938
1092
|
}
|
|
939
1093
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
940
1094
|
export type SizeUnitsOrAuto = SizeUnits | "auto";
|
|
@@ -947,7 +1101,7 @@ export interface SizingProps {
|
|
|
947
1101
|
*
|
|
948
1102
|
* @default 'auto'
|
|
949
1103
|
*/
|
|
950
|
-
blockSize?: SizeUnitsOrAuto
|
|
1104
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
951
1105
|
/**
|
|
952
1106
|
* Adjust the minimum block size.
|
|
953
1107
|
*
|
|
@@ -955,7 +1109,7 @@ export interface SizingProps {
|
|
|
955
1109
|
*
|
|
956
1110
|
* @default '0'
|
|
957
1111
|
*/
|
|
958
|
-
minBlockSize?: SizeUnits
|
|
1112
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
959
1113
|
/**
|
|
960
1114
|
* Adjust the maximum block size.
|
|
961
1115
|
*
|
|
@@ -963,7 +1117,7 @@ export interface SizingProps {
|
|
|
963
1117
|
*
|
|
964
1118
|
* @default 'none'
|
|
965
1119
|
*/
|
|
966
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1120
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
967
1121
|
/**
|
|
968
1122
|
* Adjust the inline size.
|
|
969
1123
|
*
|
|
@@ -971,7 +1125,7 @@ export interface SizingProps {
|
|
|
971
1125
|
*
|
|
972
1126
|
* @default 'auto'
|
|
973
1127
|
*/
|
|
974
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1128
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
975
1129
|
/**
|
|
976
1130
|
* Adjust the minimum inline size.
|
|
977
1131
|
*
|
|
@@ -979,7 +1133,7 @@ export interface SizingProps {
|
|
|
979
1133
|
*
|
|
980
1134
|
* @default '0'
|
|
981
1135
|
*/
|
|
982
|
-
minInlineSize?: SizeUnits
|
|
1136
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
983
1137
|
/**
|
|
984
1138
|
* Adjust the maximum inline size.
|
|
985
1139
|
*
|
|
@@ -987,7 +1141,7 @@ export interface SizingProps {
|
|
|
987
1141
|
*
|
|
988
1142
|
* @default 'none'
|
|
989
1143
|
*/
|
|
990
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1144
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
991
1145
|
}
|
|
992
1146
|
export type BorderStyleKeyword = "none" | "solid" | "dashed" | "dotted" | "auto";
|
|
993
1147
|
export type BorderSizeKeyword = SizeKeyword | "none";
|
|
@@ -1093,7 +1247,7 @@ export interface OverflowProps {
|
|
|
1093
1247
|
*/
|
|
1094
1248
|
overflow?: "hidden" | "visible";
|
|
1095
1249
|
}
|
|
1096
|
-
export interface BaseBoxProps extends
|
|
1250
|
+
export interface BaseBoxProps extends AccessibilityVisibilityProps, BackgroundProps, DisplayProps, SizingProps, PaddingProps, BorderProps, OverflowProps {
|
|
1097
1251
|
/**
|
|
1098
1252
|
* The content of the Box.
|
|
1099
1253
|
*/
|
|
@@ -1108,21 +1262,11 @@ export interface BaseBoxProps extends GlobalProps, AccessibilityVisibilityProps,
|
|
|
1108
1262
|
}
|
|
1109
1263
|
export interface BaseBoxPropsWithRole extends BaseBoxProps, AccessibilityRoleProps {
|
|
1110
1264
|
}
|
|
1111
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {
|
|
1112
|
-
}
|
|
1113
|
-
export interface FocusEventProps {
|
|
1114
|
-
/**
|
|
1115
|
-
* Callback when the element loses focus.
|
|
1116
|
-
*/
|
|
1117
|
-
onBlur?: () => void;
|
|
1118
|
-
/**
|
|
1119
|
-
* Callback when the element receives focus.
|
|
1120
|
-
*/
|
|
1121
|
-
onFocus?: () => void;
|
|
1265
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {
|
|
1122
1266
|
}
|
|
1123
1267
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1124
1268
|
/**
|
|
1125
|
-
* The behavior of the
|
|
1269
|
+
* The behavior of the Button.
|
|
1126
1270
|
*
|
|
1127
1271
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1128
1272
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1134,12 +1278,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1134
1278
|
*/
|
|
1135
1279
|
type?: "submit" | "button" | "reset";
|
|
1136
1280
|
/**
|
|
1137
|
-
* Callback when the
|
|
1281
|
+
* Callback when the Button is activated.
|
|
1138
1282
|
* This will be called before the action indicated by `type`.
|
|
1283
|
+
*
|
|
1284
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1139
1285
|
*/
|
|
1140
|
-
onClick?: () => void;
|
|
1286
|
+
onClick?: (event: Event) => void;
|
|
1141
1287
|
/**
|
|
1142
|
-
* Disables the
|
|
1288
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1143
1289
|
*
|
|
1144
1290
|
* @default false
|
|
1145
1291
|
*/
|
|
@@ -1147,7 +1293,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1147
1293
|
/**
|
|
1148
1294
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1149
1295
|
*
|
|
1150
|
-
* This also disables the
|
|
1296
|
+
* This also disables the Button.
|
|
1151
1297
|
*
|
|
1152
1298
|
* @default false
|
|
1153
1299
|
*/
|
|
@@ -1177,15 +1323,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1177
1323
|
target?: "auto" | "_blank" | "_self" | "_parent" | "_top" | AnyString;
|
|
1178
1324
|
/**
|
|
1179
1325
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1180
|
-
* Download only works for same-origin URLs
|
|
1326
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1181
1327
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1182
1328
|
*/
|
|
1183
1329
|
download?: string;
|
|
1184
1330
|
/**
|
|
1185
1331
|
* Callback when the link is activated.
|
|
1186
1332
|
* This will be called before navigating to the location specified by `href`.
|
|
1333
|
+
*
|
|
1334
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1187
1335
|
*/
|
|
1188
|
-
onClick?: () => void;
|
|
1336
|
+
onClick?: (event: Event) => void;
|
|
1189
1337
|
}
|
|
1190
1338
|
export interface InteractionProps {
|
|
1191
1339
|
/**
|
|
@@ -1212,6 +1360,10 @@ export interface InteractionProps {
|
|
|
1212
1360
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1213
1361
|
*/
|
|
1214
1362
|
command?: "--auto" | "--show" | "--hide" | "--toggle" | "--copy";
|
|
1363
|
+
/**
|
|
1364
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1365
|
+
*/
|
|
1366
|
+
interestFor?: string;
|
|
1215
1367
|
}
|
|
1216
1368
|
export interface BaseClickableProps extends ButtonBehaviorProps, LinkBehaviorProps {
|
|
1217
1369
|
}
|
|
@@ -1219,7 +1371,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1219
1371
|
/**
|
|
1220
1372
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1221
1373
|
*
|
|
1222
|
-
* Use this when using only an icon or the
|
|
1374
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1223
1375
|
* for users using assistive technologies.
|
|
1224
1376
|
*/
|
|
1225
1377
|
accessibilityLabel?: string;
|
|
@@ -1228,13 +1380,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1228
1380
|
*/
|
|
1229
1381
|
children?: ComponentChildren;
|
|
1230
1382
|
/**
|
|
1231
|
-
* The type of icon to be displayed in the
|
|
1383
|
+
* The type of icon to be displayed in the Button.
|
|
1232
1384
|
*
|
|
1233
1385
|
* @default ''
|
|
1234
1386
|
*/
|
|
1235
1387
|
icon?: IconType | AnyString;
|
|
1236
1388
|
/**
|
|
1237
|
-
* The displayed inline width of the
|
|
1389
|
+
* The displayed inline width of the Button.
|
|
1238
1390
|
*
|
|
1239
1391
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1240
1392
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1250,7 +1402,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1250
1402
|
*/
|
|
1251
1403
|
variant?: "auto" | "primary" | "secondary" | "tertiary";
|
|
1252
1404
|
/**
|
|
1253
|
-
* Sets the tone of the Button
|
|
1405
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1254
1406
|
*
|
|
1255
1407
|
* @default 'auto'
|
|
1256
1408
|
*/
|
|
@@ -1277,12 +1429,16 @@ export interface BaseInputProps {
|
|
|
1277
1429
|
export interface InputProps extends BaseInputProps {
|
|
1278
1430
|
/**
|
|
1279
1431
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1432
|
+
*
|
|
1433
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1280
1434
|
*/
|
|
1281
|
-
onChange?: (
|
|
1435
|
+
onChange?: (event: Event) => void;
|
|
1282
1436
|
/**
|
|
1283
1437
|
* Callback when the user makes any changes in the field.
|
|
1438
|
+
*
|
|
1439
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1284
1440
|
*/
|
|
1285
|
-
onInput?: (
|
|
1441
|
+
onInput?: (event: Event) => void;
|
|
1286
1442
|
/**
|
|
1287
1443
|
* The current value for the field. If omitted, the field will be empty.
|
|
1288
1444
|
*/
|
|
@@ -1294,22 +1450,54 @@ export interface InputProps extends BaseInputProps {
|
|
|
1294
1450
|
*/
|
|
1295
1451
|
defaultValue?: string;
|
|
1296
1452
|
}
|
|
1297
|
-
export interface
|
|
1453
|
+
export interface MultipleInputProps extends BaseInputProps {
|
|
1298
1454
|
/**
|
|
1299
|
-
* Callback when the user has
|
|
1455
|
+
* Callback when the user has selected option(s).
|
|
1456
|
+
*
|
|
1457
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1300
1458
|
*/
|
|
1301
|
-
onChange?: (
|
|
1459
|
+
onChange?: (event: Event) => void;
|
|
1302
1460
|
/**
|
|
1303
|
-
* Callback when the user
|
|
1461
|
+
* Callback when the user has selected option(s).
|
|
1462
|
+
*
|
|
1463
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1304
1464
|
*/
|
|
1305
|
-
onInput?: (
|
|
1465
|
+
onInput?: (event: Event) => void;
|
|
1306
1466
|
/**
|
|
1307
|
-
*
|
|
1467
|
+
* An array of the `value`s of the selected options.
|
|
1308
1468
|
*
|
|
1309
|
-
*
|
|
1310
|
-
* We haven't agreed how to represent that yet.
|
|
1469
|
+
* This is a convenience prop for setting the `selected` prop on child options.
|
|
1311
1470
|
*/
|
|
1312
|
-
|
|
1471
|
+
values?: string[];
|
|
1472
|
+
}
|
|
1473
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1474
|
+
/**
|
|
1475
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1476
|
+
*/
|
|
1477
|
+
onChange?: (event: Event) => void;
|
|
1478
|
+
/**
|
|
1479
|
+
* Callback when the user makes any changes in the file selection.
|
|
1480
|
+
*/
|
|
1481
|
+
onInput?: (event: Event) => void;
|
|
1482
|
+
/**
|
|
1483
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1484
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1485
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1486
|
+
*
|
|
1487
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1488
|
+
*
|
|
1489
|
+
* @default ''
|
|
1490
|
+
*/
|
|
1491
|
+
value?: string;
|
|
1492
|
+
/**
|
|
1493
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1494
|
+
*
|
|
1495
|
+
* This property is read-only and cannot be directly modified.
|
|
1496
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1497
|
+
*
|
|
1498
|
+
* @default []
|
|
1499
|
+
*/
|
|
1500
|
+
files?: readonly File[];
|
|
1313
1501
|
}
|
|
1314
1502
|
export interface FieldErrorProps {
|
|
1315
1503
|
/**
|
|
@@ -1396,6 +1584,48 @@ export interface FieldDecorationProps {
|
|
|
1396
1584
|
*/
|
|
1397
1585
|
accessory?: ComponentChildren;
|
|
1398
1586
|
}
|
|
1587
|
+
export interface NumberConstraintsProps {
|
|
1588
|
+
/**
|
|
1589
|
+
* The highest decimal or integer to be accepted for the field.
|
|
1590
|
+
* When used with `step` the value will round down to the max number.
|
|
1591
|
+
*
|
|
1592
|
+
* Note: a user will still be able to use the keyboard to input a number higher than
|
|
1593
|
+
* the max. It is up to the developer to add appropriate validation.
|
|
1594
|
+
*
|
|
1595
|
+
* @default Infinity
|
|
1596
|
+
*/
|
|
1597
|
+
max?: number;
|
|
1598
|
+
/**
|
|
1599
|
+
* The lowest decimal or integer to be accepted for the field.
|
|
1600
|
+
* When used with `step` the value will round up to the min number.
|
|
1601
|
+
*
|
|
1602
|
+
* Note: a user will still be able to use the keyboard to input a number lower than
|
|
1603
|
+
* the min. It is up to the developer to add appropriate validation.
|
|
1604
|
+
*
|
|
1605
|
+
* @default -Infinity
|
|
1606
|
+
*/
|
|
1607
|
+
min?: number;
|
|
1608
|
+
/**
|
|
1609
|
+
* The amount the value can increase or decrease by. This can be an integer or decimal.
|
|
1610
|
+
* If a `max` or `min` is specified with `step` when increasing/decreasing the value
|
|
1611
|
+
* via the buttons, the final value will always round to the `max` or `min`
|
|
1612
|
+
* rather than the closest valid amount.
|
|
1613
|
+
*
|
|
1614
|
+
* @default 1
|
|
1615
|
+
*/
|
|
1616
|
+
step?: number;
|
|
1617
|
+
/**
|
|
1618
|
+
* Sets the type of controls displayed in the field.
|
|
1619
|
+
*
|
|
1620
|
+
* - `stepper`: displays buttons to increase or decrease the value of the field by the stepping interval defined in the `step` property.
|
|
1621
|
+
* Appropriate mouse and [keyboard interactions](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/spinbutton_role#keyboard_interactions) to control the value of the field are enabled.
|
|
1622
|
+
* - `none`: no controls are displayed and users must input the value manually. Arrow keys and scroll wheels can’t be used either to avoid accidental changes.
|
|
1623
|
+
* - `auto`: the presence of the controls depends on the surface and context.
|
|
1624
|
+
*
|
|
1625
|
+
* @default 'auto'
|
|
1626
|
+
*/
|
|
1627
|
+
controls?: "auto" | "stepper" | "none";
|
|
1628
|
+
}
|
|
1399
1629
|
export interface MinMaxLengthProps {
|
|
1400
1630
|
/**
|
|
1401
1631
|
* Specifies the maximum number of characters allowed.
|
|
@@ -1410,6 +1640,214 @@ export interface MinMaxLengthProps {
|
|
|
1410
1640
|
*/
|
|
1411
1641
|
minLength?: number;
|
|
1412
1642
|
}
|
|
1643
|
+
export interface BaseSelectableProps {
|
|
1644
|
+
/**
|
|
1645
|
+
* A label used for users using assistive technologies like screen readers. When set, any children or `label` supplied will not be announced.
|
|
1646
|
+
* This can also be used to display a control without a visual label, while still providing context to users using screen readers.
|
|
1647
|
+
*/
|
|
1648
|
+
accessibilityLabel?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Disables the control, disallowing any interaction.
|
|
1651
|
+
*
|
|
1652
|
+
* @default false
|
|
1653
|
+
*/
|
|
1654
|
+
disabled?: boolean;
|
|
1655
|
+
/**
|
|
1656
|
+
* The value used in form data when the control is checked.
|
|
1657
|
+
*/
|
|
1658
|
+
value?: string;
|
|
1659
|
+
}
|
|
1660
|
+
export interface BaseOptionProps extends BaseSelectableProps {
|
|
1661
|
+
/**
|
|
1662
|
+
* Whether the control is active.
|
|
1663
|
+
*
|
|
1664
|
+
* @default false
|
|
1665
|
+
*/
|
|
1666
|
+
selected?: boolean;
|
|
1667
|
+
/**
|
|
1668
|
+
* Whether the control is active by default.
|
|
1669
|
+
*
|
|
1670
|
+
* @implementation `defaultSelected` reflects to the `selected` attribute.
|
|
1671
|
+
*
|
|
1672
|
+
* @default false
|
|
1673
|
+
*/
|
|
1674
|
+
defaultSelected?: boolean;
|
|
1675
|
+
}
|
|
1676
|
+
export interface BaseCheckableProps extends BaseSelectableProps, InteractionProps {
|
|
1677
|
+
/**
|
|
1678
|
+
* Visual content to use as the control label.
|
|
1679
|
+
*/
|
|
1680
|
+
label?: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* Whether the control is active.
|
|
1683
|
+
*
|
|
1684
|
+
* @default false
|
|
1685
|
+
*/
|
|
1686
|
+
checked?: boolean;
|
|
1687
|
+
/**
|
|
1688
|
+
* Whether the control is active by default.
|
|
1689
|
+
*
|
|
1690
|
+
* @implementation `defaultChecked` reflects to the `checked` attribute.
|
|
1691
|
+
*
|
|
1692
|
+
* @default false
|
|
1693
|
+
*/
|
|
1694
|
+
defaultChecked?: boolean;
|
|
1695
|
+
/**
|
|
1696
|
+
* An identifier for the control that is unique within the nearest
|
|
1697
|
+
* containing `Form` component.
|
|
1698
|
+
*/
|
|
1699
|
+
name?: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* A callback that is run whenever the control is changed.
|
|
1702
|
+
*
|
|
1703
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1704
|
+
*/
|
|
1705
|
+
onChange?: (event: Event) => void;
|
|
1706
|
+
/**
|
|
1707
|
+
* A callback that is run whenever the control is changed.
|
|
1708
|
+
*
|
|
1709
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1710
|
+
*/
|
|
1711
|
+
onInput?: (event: Event) => void;
|
|
1712
|
+
}
|
|
1713
|
+
interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorProps, FieldDetailsProps {
|
|
1714
|
+
/**
|
|
1715
|
+
* Whether to display the checkbox in an indeterminate state (neither checked or unchecked).
|
|
1716
|
+
*
|
|
1717
|
+
* In terms of appearance, this takes priority over the `checked` prop.
|
|
1718
|
+
* But this is purely a visual change.
|
|
1719
|
+
* Whether the value is submitted along with a form is still down to the `checked` prop.
|
|
1720
|
+
*
|
|
1721
|
+
* If `indeterminate` has not been explicitly set, and the `indeterminate` state hasn't been modified by the user (via clicking),
|
|
1722
|
+
* then `indeterminate` returns the value of `defaultIndeterminate`.
|
|
1723
|
+
*
|
|
1724
|
+
* @implementation The `indeterminate` property doesn't reflect to any attribute.
|
|
1725
|
+
*/
|
|
1726
|
+
indeterminate?: boolean;
|
|
1727
|
+
/**
|
|
1728
|
+
* Whether the checkbox is in an `indeterminate` state by default.
|
|
1729
|
+
*
|
|
1730
|
+
* Similar to `defaultValue` and `defaultChecked`, this value applies until `indeterminate` is set, or user changes the state of the checkbox.
|
|
1731
|
+
*
|
|
1732
|
+
* @implementation `defaultIndeterminate` reflects to the `indeterminate` attribute.
|
|
1733
|
+
*
|
|
1734
|
+
* @default false
|
|
1735
|
+
*/
|
|
1736
|
+
defaultIndeterminate?: boolean;
|
|
1737
|
+
/**
|
|
1738
|
+
* Whether the field needs a value. This requirement adds semantic value
|
|
1739
|
+
* to the field, but it will not cause an error to appear automatically.
|
|
1740
|
+
* If you want to present an error when this field is empty, you can do
|
|
1741
|
+
* so with the `error` property.
|
|
1742
|
+
*
|
|
1743
|
+
* @default false
|
|
1744
|
+
*/
|
|
1745
|
+
required?: boolean;
|
|
1746
|
+
}
|
|
1747
|
+
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1748
|
+
/**
|
|
1749
|
+
* Content to use as the choice label.
|
|
1750
|
+
*
|
|
1751
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1752
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1753
|
+
* element structure is ignored.
|
|
1754
|
+
*
|
|
1755
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1756
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1757
|
+
* is no coercion to a string.
|
|
1758
|
+
*/
|
|
1759
|
+
children?: ComponentChildren | StringChildren;
|
|
1760
|
+
/**
|
|
1761
|
+
* Additional text to provide context or guidance for the input.
|
|
1762
|
+
*
|
|
1763
|
+
* This text is displayed along with the input and its label
|
|
1764
|
+
* to offer more information or instructions to the user.
|
|
1765
|
+
*
|
|
1766
|
+
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1767
|
+
*/
|
|
1768
|
+
details?: ComponentChildren;
|
|
1769
|
+
/**
|
|
1770
|
+
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1771
|
+
*
|
|
1772
|
+
* @default false
|
|
1773
|
+
*/
|
|
1774
|
+
error?: boolean;
|
|
1775
|
+
/**
|
|
1776
|
+
* Secondary content for a choice.
|
|
1777
|
+
*/
|
|
1778
|
+
secondaryContent?: ComponentChildren;
|
|
1779
|
+
/**
|
|
1780
|
+
* Content to display when the option is selected.
|
|
1781
|
+
*
|
|
1782
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1783
|
+
*/
|
|
1784
|
+
selectedContent?: ComponentChildren;
|
|
1785
|
+
}
|
|
1786
|
+
interface ChoiceListProps$1 extends GlobalProps, Pick<BasicFieldProps, "label" | "labelAccessibilityVisibility" | "error">, MultipleInputProps, FieldDetailsProps {
|
|
1787
|
+
/**
|
|
1788
|
+
* Whether multiple choices can be selected.
|
|
1789
|
+
*
|
|
1790
|
+
* @default false
|
|
1791
|
+
*/
|
|
1792
|
+
multiple?: boolean;
|
|
1793
|
+
/**
|
|
1794
|
+
* The choices a user can select from.
|
|
1795
|
+
*
|
|
1796
|
+
* Accepts `Choice` components.
|
|
1797
|
+
*/
|
|
1798
|
+
children?: ComponentChildren;
|
|
1799
|
+
/**
|
|
1800
|
+
* Disables the field, disallowing any interaction.
|
|
1801
|
+
*
|
|
1802
|
+
* `disabled` on any child choices is ignored when this is true.
|
|
1803
|
+
*
|
|
1804
|
+
* @default false
|
|
1805
|
+
*/
|
|
1806
|
+
disabled?: MultipleInputProps["disabled"];
|
|
1807
|
+
/**
|
|
1808
|
+
* The variant of the choice grid.
|
|
1809
|
+
*
|
|
1810
|
+
* - `auto`: The variant is determined by the context.
|
|
1811
|
+
* - `list`: The choices are displayed in a list.
|
|
1812
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1813
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1814
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1815
|
+
*
|
|
1816
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1817
|
+
* discretion of each surface.
|
|
1818
|
+
*
|
|
1819
|
+
* @default 'auto'
|
|
1820
|
+
*/
|
|
1821
|
+
variant?: "auto" | "list" | "inline" | "block" | "grid";
|
|
1822
|
+
}
|
|
1823
|
+
interface ClickableProps$1 extends GlobalProps, BaseBoxProps, BaseClickableProps {
|
|
1824
|
+
/**
|
|
1825
|
+
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1826
|
+
*
|
|
1827
|
+
* This also disables the clickable.
|
|
1828
|
+
*/
|
|
1829
|
+
loading?: BaseClickableProps["loading"];
|
|
1830
|
+
/**
|
|
1831
|
+
* Disables the clickable, meaning it cannot be clicked or receive focus.
|
|
1832
|
+
*
|
|
1833
|
+
* In this state, onClick will not fire.
|
|
1834
|
+
* If the click event originates from a child element, the event will immediately stop propagating from this element.
|
|
1835
|
+
*
|
|
1836
|
+
* However, items within the clickable can still receive focus and be interacted with.
|
|
1837
|
+
*
|
|
1838
|
+
* This has no impact on the visual state by default,
|
|
1839
|
+
* but developers are encouraged to style the clickable accordingly.
|
|
1840
|
+
*/
|
|
1841
|
+
disabled?: BaseClickableProps["disabled"];
|
|
1842
|
+
/**
|
|
1843
|
+
* Indicate the text language. Useful when the text is in a different language than the rest of the page.
|
|
1844
|
+
* It will allow assistive technologies such as screen readers to invoke the correct pronunciation.
|
|
1845
|
+
* [Reference of values](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) ("subtag" label)
|
|
1846
|
+
*
|
|
1847
|
+
* @default ''
|
|
1848
|
+
*/
|
|
1849
|
+
lang?: string;
|
|
1850
|
+
}
|
|
1413
1851
|
interface ClipboardItemProps$1 extends GlobalProps {
|
|
1414
1852
|
/**
|
|
1415
1853
|
* Plain text to be written to the clipboard.
|
|
@@ -1420,11 +1858,11 @@ interface ClipboardItemProps$1 extends GlobalProps {
|
|
|
1420
1858
|
/**
|
|
1421
1859
|
* Callback run when the copy to clipboard succeeds.
|
|
1422
1860
|
*/
|
|
1423
|
-
onCopy?: () => void;
|
|
1861
|
+
onCopy?: (event: ClipboardEvent) => void;
|
|
1424
1862
|
/**
|
|
1425
1863
|
* Callback run when the copy to clipboard fails.
|
|
1426
1864
|
*/
|
|
1427
|
-
onCopyError?: () => void;
|
|
1865
|
+
onCopyError?: (event: Event) => void;
|
|
1428
1866
|
}
|
|
1429
1867
|
export interface AutocompleteProps<AutocompleteField extends AnyAutocompleteField> {
|
|
1430
1868
|
/**
|
|
@@ -1467,16 +1905,255 @@ export type AutocompleteGroup = "shipping" | "billing";
|
|
|
1467
1905
|
export type AutocompleteAddressGroup = "fax" | "home" | "mobile" | "pager";
|
|
1468
1906
|
export type AnyAutocompleteField = "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "current-password" | "email" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "new-password" | "nickname" | "one-time-code" | "organization-title" | "organization" | "photo" | "postal-code" | "sex" | "street-address" | "transaction-amount" | "transaction-currency" | "url" | "username" | "bday-day" | "bday-month" | "bday-year" | "bday" | "cc-additional-name" | "cc-expiry-month" | "cc-expiry-year" | "cc-expiry" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-csc" | "cc-type" | `${AutocompleteAddressGroup} email` | "impp" | `${AutocompleteAddressGroup} impp` | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`;
|
|
1469
1907
|
export type TextAutocompleteField = ExtractStrict<AnyAutocompleteField, "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "nickname" | "one-time-code" | "organization-title" | "organization" | "postal-code" | "sex" | "street-address" | "transaction-currency" | "username" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-type">;
|
|
1470
|
-
|
|
1908
|
+
export type PhoneAutocompleteField = ExtractStrict<AnyAutocompleteField, "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`>;
|
|
1909
|
+
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
1910
|
+
/**
|
|
1911
|
+
* The type of number to collect.
|
|
1912
|
+
*
|
|
1913
|
+
* Specific style may be applied to each type to provide extra guidance to users. Note that no extra validation is performed based on the type.
|
|
1914
|
+
*
|
|
1915
|
+
* @default '' meaning no specific kind of phone number
|
|
1916
|
+
*/
|
|
1917
|
+
type?: "mobile" | "";
|
|
1918
|
+
}
|
|
1919
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
1920
|
+
/**
|
|
1921
|
+
* Default month to display in `YYYY-MM` format.
|
|
1922
|
+
*
|
|
1923
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
1924
|
+
*
|
|
1925
|
+
* Defaults to the current month in the user's locale.
|
|
1926
|
+
*/
|
|
1927
|
+
defaultView?: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* Displayed month in `YYYY-MM` format.
|
|
1930
|
+
*
|
|
1931
|
+
* `onViewChange` is called when this value changes.
|
|
1932
|
+
*
|
|
1933
|
+
* Defaults to `defaultView`.
|
|
1934
|
+
*/
|
|
1935
|
+
view?: string;
|
|
1936
|
+
/**
|
|
1937
|
+
* Called whenever the month to display changes.
|
|
1938
|
+
*
|
|
1939
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
1940
|
+
*/
|
|
1941
|
+
onViewChange?: (view: string) => void;
|
|
1942
|
+
/**
|
|
1943
|
+
* The type of selection the date picker allows.
|
|
1944
|
+
*
|
|
1945
|
+
* - `single` allows selecting a single date.
|
|
1946
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
1947
|
+
* - `range` allows selecting a single range of dates.
|
|
1948
|
+
*
|
|
1949
|
+
* @default "single"
|
|
1950
|
+
*/
|
|
1951
|
+
type?: "single" | "multiple" | "range";
|
|
1952
|
+
/**
|
|
1953
|
+
* Dates that can be selected.
|
|
1954
|
+
*
|
|
1955
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1956
|
+
*
|
|
1957
|
+
* The default `''` allows all dates.
|
|
1958
|
+
*
|
|
1959
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
1960
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
1961
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
1962
|
+
* - Ranges are expressed as `start--end`.
|
|
1963
|
+
* - Ranges are inclusive.
|
|
1964
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1965
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1966
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1967
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1968
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1969
|
+
* - Whitespace is allowed either side of `--`.
|
|
1970
|
+
*
|
|
1971
|
+
* @default ""
|
|
1972
|
+
*
|
|
1973
|
+
* @example
|
|
1974
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
1975
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
1976
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
1977
|
+
*/
|
|
1978
|
+
allow?: string;
|
|
1979
|
+
/**
|
|
1980
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
1981
|
+
*
|
|
1982
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1983
|
+
*
|
|
1984
|
+
* The default `''` has no effect on `allow`.
|
|
1985
|
+
*
|
|
1986
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
1987
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
1988
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
1989
|
+
* - Ranges are expressed as `start--end`.
|
|
1990
|
+
* - Ranges are inclusive.
|
|
1991
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1992
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1993
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1994
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1995
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1996
|
+
* - Whitespace is allowed either side of `--`.
|
|
1997
|
+
*
|
|
1998
|
+
* @default ""
|
|
1999
|
+
*
|
|
2000
|
+
* @example
|
|
2001
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2002
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2003
|
+
*/
|
|
2004
|
+
disallow?: string;
|
|
2005
|
+
/**
|
|
2006
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
2007
|
+
*
|
|
2008
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2009
|
+
*
|
|
2010
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2011
|
+
*
|
|
2012
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2013
|
+
*
|
|
2014
|
+
* @default ""
|
|
2015
|
+
*
|
|
2016
|
+
* @example
|
|
2017
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
2018
|
+
*/
|
|
2019
|
+
allowDays?: string;
|
|
2020
|
+
/**
|
|
2021
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
2022
|
+
*
|
|
2023
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2024
|
+
*
|
|
2025
|
+
* The default `''` has no effect on `allowDays`.
|
|
2026
|
+
*
|
|
2027
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2028
|
+
*
|
|
2029
|
+
* @default ""
|
|
2030
|
+
*
|
|
2031
|
+
* @example
|
|
2032
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2033
|
+
*/
|
|
2034
|
+
disallowDays?: string;
|
|
2035
|
+
/**
|
|
2036
|
+
* Default selected value.
|
|
2037
|
+
*
|
|
2038
|
+
* The default means no date is selected.
|
|
2039
|
+
*
|
|
2040
|
+
* If the provided value is invalid, no date is selected.
|
|
2041
|
+
*
|
|
2042
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2043
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2044
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2045
|
+
*
|
|
2046
|
+
* @default ""
|
|
2047
|
+
*/
|
|
2048
|
+
defaultValue?: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* Current selected value.
|
|
2051
|
+
*
|
|
2052
|
+
* The default means no date is selected.
|
|
2053
|
+
*
|
|
2054
|
+
* If the provided value is invalid, no date is selected.
|
|
2055
|
+
*
|
|
2056
|
+
* Otherwise:
|
|
2057
|
+
*
|
|
2058
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2059
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2060
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2061
|
+
*
|
|
2062
|
+
* @default ""
|
|
2063
|
+
*/
|
|
2064
|
+
value?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* Callback when any date is selected. Will fire before `onChange`.
|
|
2067
|
+
*/
|
|
2068
|
+
onInput?: (event: Event) => void;
|
|
2069
|
+
/**
|
|
2070
|
+
* Callback when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
2071
|
+
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2072
|
+
*/
|
|
2073
|
+
onChange?: (event: Event) => void;
|
|
2074
|
+
}
|
|
2075
|
+
interface DateFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<DatePickerProps$1, "view" | "defaultView" | "value" | "defaultValue" | "allow" | "disallow" | "allowDays" | "disallowDays" | "onViewChange">, AutocompleteProps<DateAutocompleteField> {
|
|
2076
|
+
/**
|
|
2077
|
+
* Callback when the field has an invalid date.
|
|
2078
|
+
* This callback will be called, if the date typed is invalid or disabled.
|
|
2079
|
+
*
|
|
2080
|
+
* Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
|
|
2081
|
+
* - 2021-02-31: February doesn’t have 31 days
|
|
2082
|
+
* - 2021-02-00: The day can’t be 00
|
|
2083
|
+
*
|
|
2084
|
+
* Disallowed dates are considered invalid.
|
|
2085
|
+
*
|
|
2086
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the date,
|
|
2087
|
+
* and it’s called right after the `onChange` callback.
|
|
2088
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2089
|
+
* 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.
|
|
2090
|
+
*/
|
|
2091
|
+
onInvalid?: (event: Event) => void;
|
|
2092
|
+
}
|
|
2093
|
+
export type DateAutocompleteField = ExtractStrict<AnyAutocompleteField, "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-expiry" | "cc-expiry-month" | "cc-expiry-year">;
|
|
2094
|
+
interface DetailsProps$1 extends GlobalProps, ToggleEventProps {
|
|
2095
|
+
/**
|
|
2096
|
+
* The content of the details.
|
|
2097
|
+
*
|
|
2098
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
2099
|
+
*/
|
|
2100
|
+
children?: ComponentChildren;
|
|
1471
2101
|
/**
|
|
1472
|
-
*
|
|
2102
|
+
* Name of the element.
|
|
2103
|
+
*
|
|
2104
|
+
* This can be used to create multiple named disclosure boxes that where only one can be open at a time.
|
|
2105
|
+
*
|
|
2106
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#multiple_named_disclosure_boxes
|
|
2107
|
+
*/
|
|
2108
|
+
name?: string;
|
|
2109
|
+
/**
|
|
2110
|
+
* Whether the element is open.
|
|
2111
|
+
*
|
|
2112
|
+
* This does not reflect to any attribute.
|
|
2113
|
+
*
|
|
2114
|
+
* @default false
|
|
2115
|
+
*/
|
|
2116
|
+
open?: boolean;
|
|
2117
|
+
/**
|
|
2118
|
+
* Indicates whether the element should be open by default.
|
|
2119
|
+
*
|
|
2120
|
+
* This reflects to the `open` attribute.
|
|
2121
|
+
*
|
|
2122
|
+
* @default false
|
|
2123
|
+
*/
|
|
2124
|
+
defaultOpen?: boolean;
|
|
2125
|
+
/**
|
|
2126
|
+
* Sets the transition between the two states.
|
|
2127
|
+
*
|
|
2128
|
+
* @default 'auto'
|
|
2129
|
+
*/
|
|
2130
|
+
toggleTransition?: "none" | "auto";
|
|
2131
|
+
}
|
|
2132
|
+
interface DividerProps$1 extends GlobalProps {
|
|
2133
|
+
/**
|
|
2134
|
+
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2135
|
+
*
|
|
2136
|
+
* @default 'inline'
|
|
2137
|
+
*/
|
|
2138
|
+
direction?: "inline" | "block";
|
|
2139
|
+
/**
|
|
2140
|
+
* Modify the color to be more or less intense.
|
|
2141
|
+
*
|
|
2142
|
+
* @default 'base'
|
|
2143
|
+
*/
|
|
2144
|
+
color?: ColorKeyword;
|
|
2145
|
+
}
|
|
2146
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
2147
|
+
/**
|
|
2148
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
1473
2149
|
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
1474
2150
|
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
1475
2151
|
* - A valid MIME type string with no extensions
|
|
1476
2152
|
*
|
|
1477
|
-
* If
|
|
2153
|
+
* If omitted, all file types are accepted.
|
|
1478
2154
|
*
|
|
1479
2155
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2156
|
+
* @default ''
|
|
1480
2157
|
*/
|
|
1481
2158
|
accept?: string;
|
|
1482
2159
|
/**
|
|
@@ -1486,40 +2163,34 @@ interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFiel
|
|
|
1486
2163
|
*/
|
|
1487
2164
|
accessibilityLabel?: string;
|
|
1488
2165
|
/**
|
|
1489
|
-
*
|
|
1490
|
-
*
|
|
1491
|
-
* @default false
|
|
1492
|
-
*/
|
|
1493
|
-
multiple?: boolean;
|
|
1494
|
-
/**
|
|
1495
|
-
* Callback when rejected files are dropped. Files are rejected based on the `accept` prop.
|
|
1496
|
-
*/
|
|
1497
|
-
onDropRejected?(files: File[]): void;
|
|
1498
|
-
}
|
|
1499
|
-
export interface ExtendableEvent extends Event {
|
|
1500
|
-
/**
|
|
1501
|
-
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
1502
|
-
*
|
|
1503
|
-
* This may be called many times, which adds promises to the event.
|
|
2166
|
+
* Whether multiple files can be selected or dropped at once.
|
|
1504
2167
|
*
|
|
1505
|
-
*
|
|
1506
|
-
|
|
2168
|
+
* @default false
|
|
2169
|
+
*/
|
|
2170
|
+
multiple?: boolean;
|
|
2171
|
+
/**
|
|
2172
|
+
* Callback fired when rejected files are dropped.
|
|
2173
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
1507
2174
|
*/
|
|
1508
|
-
|
|
2175
|
+
onDropRejected?: (event: Event) => void;
|
|
1509
2176
|
}
|
|
1510
|
-
interface
|
|
2177
|
+
interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
|
|
2178
|
+
}
|
|
2179
|
+
export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
|
|
2180
|
+
interface FormProps$1 extends GlobalProps {
|
|
1511
2181
|
/**
|
|
1512
|
-
*
|
|
1513
|
-
*
|
|
1514
|
-
* @default 'on'
|
|
2182
|
+
* The content of the form.
|
|
1515
2183
|
*/
|
|
1516
|
-
|
|
2184
|
+
children?: ComponentChildren;
|
|
1517
2185
|
/**
|
|
1518
2186
|
* Whether the form is able to be submitted.
|
|
1519
2187
|
*
|
|
1520
2188
|
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
1521
2189
|
*
|
|
1522
2190
|
* @default false
|
|
2191
|
+
*
|
|
2192
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2193
|
+
* @private
|
|
1523
2194
|
*/
|
|
1524
2195
|
disabled?: boolean;
|
|
1525
2196
|
/**
|
|
@@ -1532,11 +2203,7 @@ interface FormProps$1 extends GlobalProps, ContainerProps {
|
|
|
1532
2203
|
/**
|
|
1533
2204
|
* A callback that is run when the form is reset.
|
|
1534
2205
|
*/
|
|
1535
|
-
onReset?: () => void;
|
|
1536
|
-
/**
|
|
1537
|
-
* The content of the form.
|
|
1538
|
-
*/
|
|
1539
|
-
children?: ComponentChildren;
|
|
2206
|
+
onReset?: (event: Event) => void;
|
|
1540
2207
|
}
|
|
1541
2208
|
export type SpacingKeyword = SizeKeyword | "none";
|
|
1542
2209
|
export interface GapProps {
|
|
@@ -1548,7 +2215,7 @@ export interface GapProps {
|
|
|
1548
2215
|
*
|
|
1549
2216
|
* @default 'none'
|
|
1550
2217
|
*/
|
|
1551
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
2218
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
1552
2219
|
/**
|
|
1553
2220
|
* Adjust spacing between elements in the block axis.
|
|
1554
2221
|
*
|
|
@@ -1556,7 +2223,7 @@ export interface GapProps {
|
|
|
1556
2223
|
*
|
|
1557
2224
|
* @default '' - meaning no override
|
|
1558
2225
|
*/
|
|
1559
|
-
rowGap?: SpacingKeyword | ""
|
|
2226
|
+
rowGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
1560
2227
|
/**
|
|
1561
2228
|
* Adjust spacing between elements in the inline axis.
|
|
1562
2229
|
*
|
|
@@ -1564,12 +2231,18 @@ export interface GapProps {
|
|
|
1564
2231
|
*
|
|
1565
2232
|
* @default '' - meaning no override
|
|
1566
2233
|
*/
|
|
1567
|
-
columnGap?: SpacingKeyword | ""
|
|
2234
|
+
columnGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
1568
2235
|
}
|
|
1569
2236
|
export type BaselinePosition = "baseline" | "first baseline" | "last baseline";
|
|
1570
2237
|
export type ContentDistribution = "space-between" | "space-around" | "space-evenly" | "stretch";
|
|
1571
2238
|
export type ContentPosition = "center" | "start" | "end";
|
|
1572
2239
|
export type OverflowPosition = `unsafe ${ContentPosition}` | `safe ${ContentPosition}`;
|
|
2240
|
+
/**
|
|
2241
|
+
* Justify items defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis.
|
|
2242
|
+
*
|
|
2243
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2244
|
+
*/
|
|
2245
|
+
export type JustifyItemsKeyword = "normal" | "stretch" | BaselinePosition | OverflowPosition | ContentPosition;
|
|
1573
2246
|
/**
|
|
1574
2247
|
* Align items sets the align-self value on all direct children as a group.
|
|
1575
2248
|
*
|
|
@@ -1588,6 +2261,90 @@ export type JustifyContentKeyword = "normal" | ContentDistribution | OverflowPos
|
|
|
1588
2261
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
1589
2262
|
*/
|
|
1590
2263
|
export type AlignContentKeyword = "normal" | BaselinePosition | ContentDistribution | OverflowPosition | ContentPosition;
|
|
2264
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2265
|
+
/**
|
|
2266
|
+
Define columns and specify their size.
|
|
2267
|
+
|
|
2268
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
2269
|
+
@default 'none'
|
|
2270
|
+
*/
|
|
2271
|
+
gridTemplateColumns?: MaybeResponsive<string>;
|
|
2272
|
+
/**
|
|
2273
|
+
Define rows and specify their size.
|
|
2274
|
+
|
|
2275
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
2276
|
+
@default 'none'
|
|
2277
|
+
*/
|
|
2278
|
+
gridTemplateRows?: MaybeResponsive<string>;
|
|
2279
|
+
/**
|
|
2280
|
+
Aligns the grid items along the inline (row) axis.
|
|
2281
|
+
|
|
2282
|
+
This overrides the inline value of `placeItems`.
|
|
2283
|
+
|
|
2284
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2285
|
+
@default '' - meaning no override
|
|
2286
|
+
*/
|
|
2287
|
+
justifyItems?: MaybeResponsive<JustifyItemsKeyword | "">;
|
|
2288
|
+
/**
|
|
2289
|
+
Aligns the grid items along the block (column) axis.
|
|
2290
|
+
|
|
2291
|
+
This overrides the block value of `placeItems`.
|
|
2292
|
+
|
|
2293
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2294
|
+
@default '' - meaning no override
|
|
2295
|
+
*/
|
|
2296
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword | "">;
|
|
2297
|
+
/**
|
|
2298
|
+
A shorthand property for `justify-items` and `align-items`.
|
|
2299
|
+
|
|
2300
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
2301
|
+
@default 'normal normal'
|
|
2302
|
+
*/
|
|
2303
|
+
placeItems?: MaybeResponsive<`${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword>;
|
|
2304
|
+
/**
|
|
2305
|
+
Aligns the grid along the inline (row) axis.
|
|
2306
|
+
|
|
2307
|
+
This overrides the inline value of `placeContent`.
|
|
2308
|
+
|
|
2309
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2310
|
+
@default '' - meaning no override
|
|
2311
|
+
*/
|
|
2312
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword | "">;
|
|
2313
|
+
/**
|
|
2314
|
+
Aligns the grid along the block (column) axis.
|
|
2315
|
+
|
|
2316
|
+
This overrides the block value of `placeContent`.
|
|
2317
|
+
|
|
2318
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2319
|
+
@default '' - meaning no override
|
|
2320
|
+
*/
|
|
2321
|
+
alignContent?: MaybeResponsive<AlignContentKeyword | "">;
|
|
2322
|
+
/**
|
|
2323
|
+
A shorthand property for `justify-content` and `align-content`.
|
|
2324
|
+
|
|
2325
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
2326
|
+
@default 'normal normal'
|
|
2327
|
+
*/
|
|
2328
|
+
placeContent?: MaybeResponsive<`${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword>;
|
|
2329
|
+
}
|
|
2330
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2331
|
+
/**
|
|
2332
|
+
* Number of columns the item will span across
|
|
2333
|
+
*
|
|
2334
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
|
|
2335
|
+
*
|
|
2336
|
+
* @default 'auto'
|
|
2337
|
+
*/
|
|
2338
|
+
gridColumn?: `span ${number}` | "auto";
|
|
2339
|
+
/**
|
|
2340
|
+
* Number of rows the item will span across
|
|
2341
|
+
*
|
|
2342
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row
|
|
2343
|
+
*
|
|
2344
|
+
* @default 'auto'
|
|
2345
|
+
*/
|
|
2346
|
+
gridRow?: `span ${number}` | "auto";
|
|
2347
|
+
}
|
|
1591
2348
|
export interface BaseTypographyProps {
|
|
1592
2349
|
/**
|
|
1593
2350
|
* Modify the color to be more or less intense.
|
|
@@ -1643,7 +2400,7 @@ export interface BlockTypographyProps {
|
|
|
1643
2400
|
*/
|
|
1644
2401
|
lineClamp?: number;
|
|
1645
2402
|
}
|
|
1646
|
-
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps
|
|
2403
|
+
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps {
|
|
1647
2404
|
/**
|
|
1648
2405
|
* The content of the Heading.
|
|
1649
2406
|
*/
|
|
@@ -1667,7 +2424,7 @@ interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, Bloc
|
|
|
1667
2424
|
*/
|
|
1668
2425
|
accessibilityRole?: "heading" | ExtractStrict<AccessibilityRole, "presentation" | "none">;
|
|
1669
2426
|
}
|
|
1670
|
-
interface IconProps$1 extends GlobalProps {
|
|
2427
|
+
interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor"> {
|
|
1671
2428
|
/**
|
|
1672
2429
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
1673
2430
|
*
|
|
@@ -1733,13 +2490,6 @@ export interface BaseImageProps {
|
|
|
1733
2490
|
*/
|
|
1734
2491
|
srcSet?: string;
|
|
1735
2492
|
}
|
|
1736
|
-
/**
|
|
1737
|
-
* This is purely to give the ability
|
|
1738
|
-
* to have a space or not in the string literal types.
|
|
1739
|
-
*
|
|
1740
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
1741
|
-
*/
|
|
1742
|
-
export type optionalSpace = "" | " ";
|
|
1743
2493
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
1744
2494
|
/**
|
|
1745
2495
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -1803,13 +2553,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
1803
2553
|
*
|
|
1804
2554
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
1805
2555
|
*/
|
|
1806
|
-
onLoad?: () => void;
|
|
2556
|
+
onLoad?: (event: Event) => void;
|
|
1807
2557
|
/**
|
|
1808
2558
|
* Invoked on load error.
|
|
1809
2559
|
*
|
|
1810
2560
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
1811
2561
|
*/
|
|
1812
|
-
onError?: () => void;
|
|
2562
|
+
onError?: (event: Event) => void;
|
|
1813
2563
|
}
|
|
1814
2564
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
1815
2565
|
/**
|
|
@@ -1842,9 +2592,193 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
1842
2592
|
*/
|
|
1843
2593
|
children?: ComponentChildren;
|
|
1844
2594
|
}
|
|
2595
|
+
interface MapProps$1 extends GlobalProps, SizingProps {
|
|
2596
|
+
/**
|
|
2597
|
+
* A valid API key for the map service provider.
|
|
2598
|
+
*
|
|
2599
|
+
* The map service provider may require an API key. Without an API key the map could be hidden or render in a limited developer mode.
|
|
2600
|
+
*/
|
|
2601
|
+
apiKey?: string;
|
|
2602
|
+
/**
|
|
2603
|
+
* Map center’s latitude in degrees.
|
|
2604
|
+
*
|
|
2605
|
+
* @default 0
|
|
2606
|
+
*/
|
|
2607
|
+
latitude?: number;
|
|
2608
|
+
/**
|
|
2609
|
+
* Map center’s longitude in degrees.
|
|
2610
|
+
*
|
|
2611
|
+
* @default 0
|
|
2612
|
+
*/
|
|
2613
|
+
longitude?: number;
|
|
2614
|
+
/**
|
|
2615
|
+
* A label that describes the purpose or contents of the map.
|
|
2616
|
+
*
|
|
2617
|
+
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
2618
|
+
*/
|
|
2619
|
+
accessibilityLabel?: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* The initial Map zoom level.
|
|
2622
|
+
*
|
|
2623
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2624
|
+
* Larger zoom values correspond to a higher resolution.
|
|
2625
|
+
*
|
|
2626
|
+
* @default 4
|
|
2627
|
+
*/
|
|
2628
|
+
zoom?: number;
|
|
2629
|
+
/**
|
|
2630
|
+
* The maximum zoom level which will be displayed on the map.
|
|
2631
|
+
*
|
|
2632
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2633
|
+
*
|
|
2634
|
+
* @default 18
|
|
2635
|
+
*/
|
|
2636
|
+
maxZoom?: number;
|
|
2637
|
+
/**
|
|
2638
|
+
* The minimum zoom level which will be displayed on the map.
|
|
2639
|
+
*
|
|
2640
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2641
|
+
*
|
|
2642
|
+
* @default 0
|
|
2643
|
+
*/
|
|
2644
|
+
minZoom?: number;
|
|
2645
|
+
/**
|
|
2646
|
+
* Callback when the viewport bounds have changed or the map is resized.
|
|
2647
|
+
*/
|
|
2648
|
+
onBoundsChange?: (event: MapBoundsChangeEvent) => void;
|
|
2649
|
+
/**
|
|
2650
|
+
* Callback when the map view changes.
|
|
2651
|
+
*/
|
|
2652
|
+
onViewChange?: (event: MapViewChangeEvent) => void;
|
|
2653
|
+
/**
|
|
2654
|
+
* Callback when the user clicks on the map.
|
|
2655
|
+
*/
|
|
2656
|
+
onClick?: (event: MapClickEvent) => void;
|
|
2657
|
+
/**
|
|
2658
|
+
* Callback when the user double-clicks on the map.
|
|
2659
|
+
*/
|
|
2660
|
+
onDblClick?: (event: MapDblClickEvent) => void;
|
|
2661
|
+
}
|
|
2662
|
+
interface Location$1 {
|
|
2663
|
+
latitude?: number;
|
|
2664
|
+
longitude?: number;
|
|
2665
|
+
}
|
|
2666
|
+
export interface Bounds {
|
|
2667
|
+
northEast?: Location$1;
|
|
2668
|
+
southWest?: Location$1;
|
|
2669
|
+
}
|
|
2670
|
+
export interface MapViewChangeEvent extends Event {
|
|
2671
|
+
location?: Location$1;
|
|
2672
|
+
zoom?: number;
|
|
2673
|
+
}
|
|
2674
|
+
export interface MapBoundsChangeEvent extends Event {
|
|
2675
|
+
bounds?: Bounds;
|
|
2676
|
+
}
|
|
2677
|
+
export interface MapClickEvent extends Event {
|
|
2678
|
+
location?: Location$1;
|
|
2679
|
+
}
|
|
2680
|
+
export interface MapDblClickEvent extends Event {
|
|
2681
|
+
location?: Location$1;
|
|
2682
|
+
}
|
|
2683
|
+
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
2684
|
+
/**
|
|
2685
|
+
* Marker’s location latitude in degrees.
|
|
2686
|
+
*
|
|
2687
|
+
* @default 0
|
|
2688
|
+
*/
|
|
2689
|
+
latitude?: number;
|
|
2690
|
+
/**
|
|
2691
|
+
* Marker’s longitude latitude in degrees.
|
|
2692
|
+
*
|
|
2693
|
+
* @default 0
|
|
2694
|
+
*/
|
|
2695
|
+
longitude?: number;
|
|
2696
|
+
/**
|
|
2697
|
+
* A label that describes the purpose of the marker. When set,
|
|
2698
|
+
* it will be announced to users using assistive technologies and will
|
|
2699
|
+
* provide them with more context.
|
|
2700
|
+
*/
|
|
2701
|
+
accessibilityLabel?: string;
|
|
2702
|
+
/**
|
|
2703
|
+
* Allows grouping the marker in clusters when zoomed out.
|
|
2704
|
+
*
|
|
2705
|
+
* @default false
|
|
2706
|
+
*/
|
|
2707
|
+
clusterable?: boolean;
|
|
2708
|
+
/**
|
|
2709
|
+
* The graphic to use as the marker.
|
|
2710
|
+
*
|
|
2711
|
+
* If unset, it will default to the provider’s default marker.
|
|
2712
|
+
*/
|
|
2713
|
+
graphic?: ComponentChildren;
|
|
2714
|
+
/**
|
|
2715
|
+
* Callback when a marker is clicked.
|
|
2716
|
+
*
|
|
2717
|
+
* It does not trigger a click event on the map itself.
|
|
2718
|
+
*/
|
|
2719
|
+
onClick?: (event: Event) => void;
|
|
2720
|
+
}
|
|
2721
|
+
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ActionSlots {
|
|
2722
|
+
/**
|
|
2723
|
+
* A label that describes the purpose of the modal. When set,
|
|
2724
|
+
* it will be announced to users using assistive technologies and will
|
|
2725
|
+
* provide them with more context.
|
|
2726
|
+
*
|
|
2727
|
+
* This overrides the `heading` prop for screen readers.
|
|
2728
|
+
*/
|
|
2729
|
+
accessibilityLabel?: string;
|
|
2730
|
+
/**
|
|
2731
|
+
* A title that describes the content of the Modal.
|
|
2732
|
+
*
|
|
2733
|
+
*/
|
|
2734
|
+
heading?: string;
|
|
2735
|
+
/**
|
|
2736
|
+
* Adjust the padding around the Modal content.
|
|
2737
|
+
*
|
|
2738
|
+
* `base`: applies padding that is appropriate for the element.
|
|
2739
|
+
*
|
|
2740
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
2741
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
2742
|
+
* to bring back the desired padding for the rest of the content.
|
|
2743
|
+
*
|
|
2744
|
+
* @default 'base'
|
|
2745
|
+
*/
|
|
2746
|
+
padding?: "base" | "none";
|
|
2747
|
+
/**
|
|
2748
|
+
* Adjust the size of the Modal.
|
|
2749
|
+
*
|
|
2750
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
2751
|
+
*
|
|
2752
|
+
* @default 'base'
|
|
2753
|
+
*/
|
|
2754
|
+
size?: SizeKeyword | "max";
|
|
2755
|
+
/**
|
|
2756
|
+
* The content of the Modal.
|
|
2757
|
+
*/
|
|
2758
|
+
children?: ComponentChildren;
|
|
2759
|
+
}
|
|
2760
|
+
interface MoneyFieldProps$1 extends GlobalProps, BaseTextFieldProps, NumberConstraintsProps, AutocompleteProps<MoneyAutocompleteField> {
|
|
2761
|
+
}
|
|
2762
|
+
export type MoneyAutocompleteField = ExtractStrict<AnyAutocompleteField, "transaction-amount">;
|
|
2763
|
+
interface NumberFieldProps$1 extends GlobalProps, BaseTextFieldProps, AutocompleteProps<NumberAutocompleteField>, NumberConstraintsProps, FieldDecorationProps {
|
|
2764
|
+
/**
|
|
2765
|
+
* Sets the virtual keyboard.
|
|
2766
|
+
*
|
|
2767
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
|
|
2768
|
+
* @default 'decimal'
|
|
2769
|
+
*/
|
|
2770
|
+
inputMode?: "decimal" | "numeric";
|
|
2771
|
+
}
|
|
2772
|
+
export type NumberAutocompleteField = ExtractStrict<AnyAutocompleteField, "one-time-code" | "cc-number" | "cc-csc">;
|
|
2773
|
+
interface OptionProps$1 extends GlobalProps, BaseOptionProps {
|
|
2774
|
+
/**
|
|
2775
|
+
* The content to use as the label.
|
|
2776
|
+
*/
|
|
2777
|
+
children?: ComponentChildren;
|
|
2778
|
+
}
|
|
1845
2779
|
interface OrderedListProps$1 extends GlobalProps {
|
|
1846
2780
|
}
|
|
1847
|
-
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps
|
|
2781
|
+
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps {
|
|
1848
2782
|
/**
|
|
1849
2783
|
* The content of the Text.
|
|
1850
2784
|
*/
|
|
@@ -1876,6 +2810,9 @@ export type ParagraphType =
|
|
|
1876
2810
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
1877
2811
|
*/
|
|
1878
2812
|
| "small";
|
|
2813
|
+
interface PasswordFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<PasswordAutocompleteField> {
|
|
2814
|
+
}
|
|
2815
|
+
export type PasswordAutocompleteField = ExtractStrict<AnyAutocompleteField, "new-password" | "current-password">;
|
|
1879
2816
|
interface PaymentIconProps$1 extends GlobalProps {
|
|
1880
2817
|
/**
|
|
1881
2818
|
* The icon type of the payment method
|
|
@@ -1893,6 +2830,52 @@ interface PaymentIconProps$1 extends GlobalProps {
|
|
|
1893
2830
|
accessibilityLabel?: string;
|
|
1894
2831
|
}
|
|
1895
2832
|
export type PaymentIconName = "abn" | "acima-leasing" | "acuotaz" | "ada" | "addi" | "adyen" | "aeropay" | "affin-bank" | "affirm" | "aftee" | "afterpay-paynl-version" | "afterpay" | "airtel-money" | "airteltigo-mobile-money" | "aktia" | "akulaku-paylater" | "akulaku" | "alandsbanken" | "alfamart" | "alfamidi" | "alipay-hk" | "alipay-paynl-version" | "alipay" | "alliance-bank" | "alma" | "aman" | "amazon" | "ambank" | "american-express" | "amex" | "ansa-stored-value" | "ansa" | "anyday" | "apecoin" | "aplazo" | "apple-pay" | "aqsat" | "arbitrum" | "arhaus" | "arvato" | "ashley-plcc" | "ask" | "astrapay" | "atm-bersama" | "atobaraidotcom" | "atome" | "atone" | "atrato" | "au-kantan-kessai" | "au-pay" | "authorize-net" | "avalanche" | "axs" | "bancnet" | "banco-azteca" | "bancomat" | "bancontact" | "bangkok-bank" | "bank-islam" | "bank-muamalat" | "bank-rakyat" | "barclays" | "base" | "bbva-cie" | "bc-card" | "bca-klikpay" | "bca" | "bdo" | "belfius" | "benefit" | "best-buy-card" | "biercheque-paynl-version" | "bigc" | "billease" | "biller-paynl-version" | "billie" | "billink-method" | "billink" | "bitcoin-cash" | "bitcoin" | "bizum" | "blik" | "bnbchain" | "bni" | "bnp" | "bogus-app-coin" | "bogus" | "boleto" | "boodil" | "boost" | "bpi" | "braintree" | "bread-pay" | "bread" | "bri-direct-debit" | "bri" | "brimo" | "bsi" | "bsn" | "bss" | "busd" | "careem-pay" | "cartes-bancaires" | "cash-app-pay" | "cash" | "cashew" | "cashinvoice-latin-america" | "catch-payments" | "cebuana" | "cembrapay" | "centi" | "cetelem" | "checkout-finance" | "chinabank" | "cimb-clicks" | "cimb" | "circle-k" | "citadele" | "citi-pay" | "clave-telered" | "clearpay" | "clerq" | "cleverpay" | "clip" | "cliq" | "codensa" | "coinsph" | "collector-bank" | "coop" | "coppel-pay" | "credit-agricole" | "credit-key" | "creditclick-paynl-version" | "credix" | "cuotas" | "d-barai" | "dai" | "daily-yamazaki" | "dan-dan" | "dana" | "danamon-online" | "dankort" | "danske-bank" | "dappmx" | "dash" | "daviplata" | "de-cadeaukaart" | "depay" | "deutsche-bank" | "dinacard" | "diners-club" | "direct-bank-transfer-latin-america" | "directa24" | "directpay" | "discover" | "divido" | "dnb" | "docomo-barai" | "dogecoin" | "dropp" | "duitnow" | "duologi" | "dwolla" | "easywallet" | "ebucks" | "echelon-financing" | "ecpay" | "edenred" | "efecty" | "eft-secure" | "eftpos-au" | "eghl" | "elo" | "elv" | "empty" | "enets" | "eos" | "epayments" | "epospay" | "eps" | "erste" | "escrowcom" | "esr-paymentslip-switzerland" | "ethereum" | "etihad-guest-pay" | "etika" | "ewallet-indonesia" | "ewallet-philippines" | "ewallet-southkorea" | "facebook-pay" | "fairstone-payments" | "fam" | "familymart" | "fantom" | "farmlands" | "fashion-giftcard-paynlversion" | "fashioncheque" | "favepay" | "fawry" | "finloup" | "fintecture" | "fintoc" | "flexiti" | "float-payments" | "flying-blue-plus" | "forbrugsforeningen" | "forsa" | "fortiva" | "fps" | "fpx" | "freecharge" | "freedompay" | "futurepay-mytab" | "gcash" | "generalfinancing" | "generic" | "genoapay" | "gezondheidsbon-paynl-version" | "giftcard" | "giropay" | "givacard" | "glbe-paypal" | "glbe-plus" | "gmo-atokara" | "gmo-bank-transfer" | "gmo-postpay" | "gmo-virtualaccount" | "gnosis" | "google-pay" | "google-wallet" | "gopay" | "grabpay" | "grailpay" | "gusd" | "hana-card" | "handelsbanken" | "happy-pay" | "hello-clever" | "heylight" | "hitrustpay-transfer" | "home-credit" | "hong-leong-bank" | "hong-leong-connect" | "hsbc" | "huis-tuin-cadeau" | "humm" | "hyper" | "hypercard" | "hypercash" | "hyundai-card" | "ibexpay" | "ideal" | "in3-via-ideal" | "in3" | "inbank" | "indomaret" | "ing-homepay" | "interac" | "ivy" | "iwocapay-pay-later" | "jcb" | "jenius" | "jko" | "jousto" | "kakao-pay" | "kakebaraidotcom" | "kasikornbank" | "kasssh" | "katapult" | "kb-card" | "kbc-cbc" | "kcp-credit-card" | "kfast" | "khqr" | "klarna-pay-later" | "klarna-pay-now" | "klarna-slice-it" | "klarna" | "knaken-settle" | "knet" | "koalafi" | "koin" | "krediidipank" | "kredivo" | "krungsri" | "krungthai-bank" | "kueski-pay" | "kunst-en-cultuur-cadeaukaart" | "kuwait-finance-house" | "land-bank" | "laser" | "latitude-creditline-au" | "latitude-gem-au" | "latitude-gem-nz" | "latitude-go-au" | "latitudepay" | "lawson" | "laybuy-heart" | "laybuy" | "lbc" | "lhv" | "line-pay" | "linkaja" | "linkpay" | "litecoin" | "lku" | "lloyds" | "lotte-card" | "lpb" | "luminor" | "lunch-check" | "lydia" | "mach" | "mada" | "maestro" | "mandiri" | "mash" | "master" | "mastercard" | "masterpass" | "maxima" | "maya-bank" | "maya" | "maybank-qrpay" | "maybank" | "maybankm2u" | "mb-way" | "mb" | "mcash" | "medicinos-bankas" | "meeza" | "mercado-credito" | "mercado-pago" | "merpay" | "meta-pay" | "metro-bank" | "military-starcard" | "minicuotas" | "ministop" | "mobicred" | "mobikwik" | "mobilepay" | "mode" | "mokka" | "momopay" | "mondido" | "monero" | "monzo" | "mpesa" | "mtn-mobile-money" | "multisafepay" | "mybank" | "myfatoorah" | "n26" | "naps" | "nationale-bioscoopbon" | "nationale-entertainmentcard" | "natwest" | "naver-pay" | "nelo" | "nequi" | "netbanking" | "neteller" | "nh-card" | "nordea" | "notyd" | "novuna" | "npatobarai" | "npkakebarai" | "oca" | "ocbc-bank" | "octo-clicks" | "octopus" | "offline-bank-transfer-latin-america" | "ola-money" | "omannet" | "omasp" | "oney" | "online-banking" | "online-banktransfer" | "op" | "opay" | "openpay" | "optimism" | "orange-mobile-money" | "overstock-citicobrand" | "overstock-citiplcc" | "ovo" | "oxxo" | "ozow" | "pagoefectivo" | "paid" | "paidy" | "palawa" | "palawan" | "pastpay" | "pay-after-delivery-instalments" | "pay-by-bank-us" | "pay-by-bank" | "pay-easy" | "pay-pay" | "paybylink" | "paycash" | "payco" | "payconiq" | "payd" | "payfast-instant-eft" | "payflex" | "payid" | "payitmonthly" | "payjustnow" | "paymark-online-eftpos" | "paymaya" | "payme" | "paynow-mbank" | "paynow" | "payoo-qr" | "payoo" | "paypal" | "payplan" | "paypo" | "payrexx-bank-transfer" | "payright" | "paysafecard-paynl-version" | "paysafecard" | "paysafecash" | "paysera" | "paysquad" | "paytm" | "payto" | "paytomorrow" | "payu" | "payzapp" | "pei" | "perlasfinance" | "permata" | "pf-pay" | "pivo" | "pix" | "podium-cadeaukaart" | "pointspay" | "poli" | "polygon" | "poppankki" | "postfinance-card" | "postfinance-efinance" | "postpay" | "powered-by-ansa-stored-value" | "powered-by-ansa" | "powerpay" | "pps" | "prepaysolutions" | "progressive-leasing" | "przelew24" | "przelewy24-paynl-version" | "przelewy24" | "pse" | "public-bank" | "publicbank-pbe" | "qasitli" | "qliro" | "qr-promptpay" | "qris" | "qrph" | "rabbit-line-pay" | "rabobank" | "rakuten-pay" | "rapid-transfer" | "ratepay" | "raty-pekao" | "rcbc" | "rcs" | "reka" | "resolve-pay" | "revolut" | "rhb-bank" | "rhb-now" | "rietumu" | "riverty-paynl-version" | "riverty" | "rupay" | "saastopankki" | "sadad" | "sam" | "samsung-card" | "samsung-pay" | "santander" | "satisfi" | "satispay" | "sbpl" | "scalapay" | "scream-truck-wallet" | "scream-truck" | "seb" | "seicomart" | "sepa-bank-transfer" | "sepa-direct-debit" | "sequra" | "seven-eleven" | "sezzle" | "shib" | "shinhan-card" | "shop-pay" | "shopeepay" | "shopify-pay" | "siam-commercial" | "siauliu-bankas" | "siirto" | "sika-fsa" | "sika-hsa" | "sika" | "simpl" | "simple-pay" | "sinpe-movil" | "sistecredito" | "skeps" | "skrill-digital-wallet" | "slice-fnbo" | "smartpay" | "snap-checkout" | "snapmint" | "societe-generale" | "sofort" | "softbank" | "solana-pay-helio" | "solana-pay" | "solana" | "souhoola" | "spankki" | "sparkasse" | "spei" | "splitit" | "spotii" | "spraypay" | "standard-chartered" | "stc-pay" | "stoov" | "store-credit" | "stripe" | "sunkus" | "super-payments" | "svea-b2b-faktura" | "svea-b2b-invoice" | "svea-checkout" | "svea-credit-account" | "svea-delbetalning" | "svea-faktura" | "svea-invoice" | "svea-lasku" | "svea-ostukonto" | "svea-part-payment" | "svea-yrityslasku" | "sveaeramaksu" | "swedbank" | "swiftpay" | "swish" | "swissbilling" | "sympl" | "synchrony-pay" | "synchrony" | "tabby" | "tabit" | "taly" | "tamara" | "tandympayment" | "tasa-cero" | "tbi-bank" | "tcf" | "tendopay" | "tensile" | "tesco-lotus" | "thanachart-bank" | "timepayment" | "tiptop" | "todopay" | "toss" | "touch-n-go" | "tpay" | "trevipay" | "truelayer" | "truemoney-pay" | "trustly" | "twig-pay" | "twint" | "twoinvoice" | "uae-visa" | "uangme" | "ubp" | "underpay" | "unionpay" | "unipay" | "uob-ez-pay" | "uob-thai" | "uob" | "upi" | "urbo" | "urpay" | "usdc" | "usdp" | "v-pay" | "valu" | "venmo" | "ventipay" | "venus-plcc" | "viabill" | "vipps" | "visa-electron" | "visa" | "volksbank" | "volt" | "vvv-cadeaukaart-paynl-version" | "vvv-giftcard" | "waave-pay-by-bank" | "wallet" | "walley" | "wbtc" | "webshop-giftcard" | "wechat-pay" | "wechat-paynl-version" | "wegetfinancing" | "whish-checkout" | "whish-pay" | "wise" | "wissel" | "world-chain" | "xrp" | "yape" | "yappy" | "ymobile" | "younited-pay" | "zalopay" | "zapper" | "zingala" | "zinia" | "zip" | "zoodpay" | "zulily-credit-card" | "zustaina";
|
|
2833
|
+
interface PopoverProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, SizingProps {
|
|
2834
|
+
/**
|
|
2835
|
+
* The content of the popover.
|
|
2836
|
+
*/
|
|
2837
|
+
children?: ComponentChildren;
|
|
2838
|
+
}
|
|
2839
|
+
interface PressButtonProps$1 extends GlobalProps, Pick<ButtonProps$1, "accessibilityLabel" | "children" | "icon" | "inlineSize" | "lang" | "tone" | "variant" | "disabled" | "loading" | "onClick" | "onBlur" | "onFocus"> {
|
|
2840
|
+
/**
|
|
2841
|
+
* Whether the button is pressed.
|
|
2842
|
+
*
|
|
2843
|
+
* @default false
|
|
2844
|
+
*/
|
|
2845
|
+
pressed?: boolean;
|
|
2846
|
+
/**
|
|
2847
|
+
* Whether the button is pressed by default.
|
|
2848
|
+
*
|
|
2849
|
+
* @default false
|
|
2850
|
+
*
|
|
2851
|
+
* @implementation `defaultPressed` reflects to the `pressed` attribute.
|
|
2852
|
+
*/
|
|
2853
|
+
defaultPressed?: boolean;
|
|
2854
|
+
}
|
|
2855
|
+
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2856
|
+
/**
|
|
2857
|
+
* Decorates the product thumbnail with the quantity of the product.
|
|
2858
|
+
*/
|
|
2859
|
+
totalItems?: number;
|
|
2860
|
+
/**
|
|
2861
|
+
* Adjusts the size the product thumbnail image.
|
|
2862
|
+
*
|
|
2863
|
+
* @default 'base'
|
|
2864
|
+
*/
|
|
2865
|
+
size?: SizeKeyword;
|
|
2866
|
+
/**
|
|
2867
|
+
* Invoked when load of provided image completes successfully.
|
|
2868
|
+
*
|
|
2869
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2870
|
+
*/
|
|
2871
|
+
onLoad?: (event: Event) => void;
|
|
2872
|
+
/**
|
|
2873
|
+
* Invoked on load error of provided image.
|
|
2874
|
+
*
|
|
2875
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2876
|
+
*/
|
|
2877
|
+
onError?: (event: Event) => void;
|
|
2878
|
+
}
|
|
1896
2879
|
interface ProgressProps$1 extends GlobalProps {
|
|
1897
2880
|
/**
|
|
1898
2881
|
* A label that describes the purpose of the progress. When set,
|
|
@@ -1970,7 +2953,7 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
1970
2953
|
* Invoked when the conversion of `content` to a QR code fails.
|
|
1971
2954
|
* If an error occurs, the QR code and its child elements will not be displayed.
|
|
1972
2955
|
*/
|
|
1973
|
-
onError?: () => void;
|
|
2956
|
+
onError?: (event: Event) => void;
|
|
1974
2957
|
/**
|
|
1975
2958
|
* URL of an image to be displayed in the center of the QR code.
|
|
1976
2959
|
* This is useful for branding or to indicate to the user what scanning the QR code will do.
|
|
@@ -1978,7 +2961,45 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
1978
2961
|
*/
|
|
1979
2962
|
logo?: string;
|
|
1980
2963
|
}
|
|
1981
|
-
interface
|
|
2964
|
+
interface QueryContainerProps$1 extends GlobalProps {
|
|
2965
|
+
/**
|
|
2966
|
+
* The content of the container.
|
|
2967
|
+
*/
|
|
2968
|
+
children?: ComponentChildren;
|
|
2969
|
+
/**
|
|
2970
|
+
* The name of the container, which can be used in your container queries to target this container specifically.
|
|
2971
|
+
*
|
|
2972
|
+
* We place the container name of `s-default` on every container. Because of this, it is not required to add a `containerName` identifier in your queries. For example, a `@container (inline-size <= 300px) none, auto` query is equivalent to `@container s-default (inline-size <= 300px) none, auto`.
|
|
2973
|
+
*
|
|
2974
|
+
* Any value set in `containerName` will be set alongside alongside `s-default`. For example, `containerName="my-container-name"` will result in a value of `s-default my-container-name` set on the `container-name` CSS property of the rendered HTML.
|
|
2975
|
+
*
|
|
2976
|
+
* @default ''
|
|
2977
|
+
*
|
|
2978
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
2979
|
+
*
|
|
2980
|
+
* @implementation You must always have a CSS `container-name` of `s-default` for this component.
|
|
2981
|
+
*/
|
|
2982
|
+
containerName?: string;
|
|
2983
|
+
}
|
|
2984
|
+
export type OverflowKeyword = "auto" | "hidden";
|
|
2985
|
+
interface ScrollBoxProps$1 extends GlobalProps, Omit<BaseBoxPropsWithRole, "overflow"> {
|
|
2986
|
+
/**
|
|
2987
|
+
* Sets the overflow behavior of the element.
|
|
2988
|
+
*
|
|
2989
|
+
* - `hidden`: clips the content when it is larger than the element’s container and the element will not be scrollable in that axis.
|
|
2990
|
+
* - `auto`: clips the content when it is larger than the element’s container and make it scrollable in that axis.
|
|
2991
|
+
*
|
|
2992
|
+
* 1-to-2-value syntax is supported but note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
2993
|
+
*
|
|
2994
|
+
* - 2 values: `block inline`
|
|
2995
|
+
*
|
|
2996
|
+
* @default 'auto'
|
|
2997
|
+
*
|
|
2998
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow
|
|
2999
|
+
*/
|
|
3000
|
+
overflow?: OverflowKeyword | `${OverflowKeyword} ${OverflowKeyword}`;
|
|
3001
|
+
}
|
|
3002
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
1982
3003
|
/**
|
|
1983
3004
|
* The content of the Section.
|
|
1984
3005
|
*/
|
|
@@ -2008,6 +3029,74 @@ interface SectionProps$1 extends GlobalProps, ContainerProps {
|
|
|
2008
3029
|
*/
|
|
2009
3030
|
padding?: "base" | "none";
|
|
2010
3031
|
}
|
|
3032
|
+
interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteField>, Pick<FieldDecorationProps, "icon">, Omit<FieldProps, "defaultValue">, FocusEventProps {
|
|
3033
|
+
/**
|
|
3034
|
+
* The options a user can select from.
|
|
3035
|
+
*
|
|
3036
|
+
* Accepts `Option` and `OptionGroup` components.
|
|
3037
|
+
*/
|
|
3038
|
+
children?: ComponentChildren;
|
|
3039
|
+
}
|
|
3040
|
+
interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, GlobalProps, ActionSlots {
|
|
3041
|
+
/**
|
|
3042
|
+
* A label that describes the purpose of the sheet. When set,
|
|
3043
|
+
* it will be announced to users using assistive technologies and will
|
|
3044
|
+
* provide them with more context.
|
|
3045
|
+
*
|
|
3046
|
+
* This overrides the `heading` prop for screen readers.
|
|
3047
|
+
*/
|
|
3048
|
+
accessibilityLabel?: string;
|
|
3049
|
+
/**
|
|
3050
|
+
* The content of the Sheet.
|
|
3051
|
+
*/
|
|
3052
|
+
children?: ComponentChildren;
|
|
3053
|
+
/**
|
|
3054
|
+
* Indicates whether the Sheet should be open by default.
|
|
3055
|
+
* This property is necessary in some cases, but its usage is generally discouraged due to potential negative impacts on user experience.
|
|
3056
|
+
*
|
|
3057
|
+
* Developers should:
|
|
3058
|
+
* - Only set this property to true when there are vitally important behaviors of the application that depend on the user interacting with the sheet.
|
|
3059
|
+
* - Make every effort to conditionally hide the sheet based on the state of checkout. An explicit example is custom privacy consent, where the sheet should only be displayed when consent is necessary and has not yet been explicitly given by the user.
|
|
3060
|
+
*
|
|
3061
|
+
* This property is useful for when the Sheet needs to be rendered on the page load and not triggered by a user action.
|
|
3062
|
+
* The property should only take effect when the `Sheet` is rendered for the first time.
|
|
3063
|
+
* To toggle the Sheet after it has been rendered, use the `ui.showOverlay()` method instead.
|
|
3064
|
+
*
|
|
3065
|
+
* @default false
|
|
3066
|
+
*/
|
|
3067
|
+
defaultOpen?: boolean;
|
|
3068
|
+
/**
|
|
3069
|
+
* A title that describes the content of the sheet.
|
|
3070
|
+
*/
|
|
3071
|
+
heading?: string;
|
|
3072
|
+
/**
|
|
3073
|
+
* Adjust the padding of all edges.
|
|
3074
|
+
*
|
|
3075
|
+
* `base`: applies padding that is appropriate for the element. Note that it may result in no padding if Shopify
|
|
3076
|
+
* believes this is the right design decision in a particular context.
|
|
3077
|
+
*
|
|
3078
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Sheet need to span
|
|
3079
|
+
* to the edge of the Sheet. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3080
|
+
* to bring back the desired padding for the rest of the content.
|
|
3081
|
+
*
|
|
3082
|
+
* @default 'base'
|
|
3083
|
+
*/
|
|
3084
|
+
padding?: "base" | "none";
|
|
3085
|
+
}
|
|
3086
|
+
interface SkeletonParagraphProps$1 extends GlobalProps {
|
|
3087
|
+
/**
|
|
3088
|
+
* The content to be used as a base for the skeleton. This content will be hidden when the skeleton is visible.
|
|
3089
|
+
*
|
|
3090
|
+
* This can be useful when the skeleton is representing a known piece of content which is part of a larger
|
|
3091
|
+
* element that has not yet fully loaded.
|
|
3092
|
+
*
|
|
3093
|
+
* @implementation When `content` is specified, the visual skeleton should be the size of the content. The element should
|
|
3094
|
+
* still be a block layout.
|
|
3095
|
+
*
|
|
3096
|
+
* @default ''
|
|
3097
|
+
*/
|
|
3098
|
+
content?: string;
|
|
3099
|
+
}
|
|
2011
3100
|
interface SpinnerProps$1 extends GlobalProps {
|
|
2012
3101
|
/**
|
|
2013
3102
|
* Adjusts the size of the spinner icon.
|
|
@@ -2024,42 +3113,60 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2024
3113
|
*/
|
|
2025
3114
|
accessibilityLabel?: string;
|
|
2026
3115
|
}
|
|
2027
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3116
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2028
3117
|
/**
|
|
2029
3118
|
* The content of the Stack.
|
|
2030
3119
|
*/
|
|
2031
3120
|
children?: ComponentChildren;
|
|
2032
3121
|
/**
|
|
2033
|
-
* Sets how the children are placed within the Stack.
|
|
3122
|
+
* 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).
|
|
2034
3123
|
*
|
|
2035
3124
|
* @default 'block'
|
|
2036
3125
|
*
|
|
2037
3126
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2038
3127
|
*/
|
|
2039
|
-
direction?: "block" | "inline"
|
|
3128
|
+
direction?: MaybeResponsive<"block" | "inline">;
|
|
2040
3129
|
/**
|
|
2041
3130
|
* Aligns the Stack along the main axis.
|
|
2042
3131
|
*
|
|
2043
3132
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2044
3133
|
* @default 'normal'
|
|
2045
3134
|
*/
|
|
2046
|
-
justifyContent?: JustifyContentKeyword
|
|
3135
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2047
3136
|
/**
|
|
2048
3137
|
* Aligns the Stack's children along the cross axis.
|
|
2049
3138
|
*
|
|
2050
3139
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2051
3140
|
* @default 'normal'
|
|
2052
3141
|
*/
|
|
2053
|
-
alignItems?: AlignItemsKeyword
|
|
3142
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2054
3143
|
/**
|
|
2055
3144
|
* Aligns the Stack along the cross axis.
|
|
2056
3145
|
*
|
|
2057
3146
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2058
3147
|
* @default 'normal'
|
|
2059
3148
|
*/
|
|
2060
|
-
alignContent?: AlignContentKeyword
|
|
3149
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
3150
|
+
}
|
|
3151
|
+
interface SummaryProps$1 extends GlobalProps {
|
|
3152
|
+
/**
|
|
3153
|
+
* The content to use as the label.
|
|
3154
|
+
*
|
|
3155
|
+
* Interactive content is disallowed. For example, you can use a `<Text>` element for extra formatting but
|
|
3156
|
+
* elements like buttons and fields are not allowed.
|
|
3157
|
+
*
|
|
3158
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
|
|
3159
|
+
*
|
|
3160
|
+
* @implementation Surfaces may apply styling to this element. An icon suggesting the state (open or closed) of the
|
|
3161
|
+
* details element is recommended.
|
|
3162
|
+
*
|
|
3163
|
+
* @implementation Surface may decide to warn when interactive elements are used.
|
|
3164
|
+
*/
|
|
3165
|
+
children?: ComponentChildren;
|
|
2061
3166
|
}
|
|
2062
|
-
interface
|
|
3167
|
+
interface SwitchProps$1 extends GlobalProps, BaseCheckableProps, BasicFieldProps, FieldDetailsProps, FieldErrorProps {
|
|
3168
|
+
}
|
|
3169
|
+
interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTypographyProps, DisplayProps, Pick<InteractionProps, "interestFor"> {
|
|
2063
3170
|
/**
|
|
2064
3171
|
* The content of the Text.
|
|
2065
3172
|
*/
|
|
@@ -2067,7 +3174,7 @@ interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTyp
|
|
|
2067
3174
|
/**
|
|
2068
3175
|
* Provide semantic meaning and default styling to the text.
|
|
2069
3176
|
*
|
|
2070
|
-
* Other presentation properties on
|
|
3177
|
+
* Other presentation properties on Text override the default styling.
|
|
2071
3178
|
*
|
|
2072
3179
|
* @default 'generic'
|
|
2073
3180
|
*/
|
|
@@ -2155,9 +3262,17 @@ export type TextType =
|
|
|
2155
3262
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
|
|
2156
3263
|
*/
|
|
2157
3264
|
| "generic";
|
|
3265
|
+
interface TextAreaProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField> {
|
|
3266
|
+
/**
|
|
3267
|
+
* A number of visible text lines.
|
|
3268
|
+
*
|
|
3269
|
+
* @default 2
|
|
3270
|
+
*/
|
|
3271
|
+
rows?: number;
|
|
3272
|
+
}
|
|
2158
3273
|
interface TextFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField>, FieldDecorationProps {
|
|
2159
3274
|
}
|
|
2160
|
-
interface TimeProps$1 {
|
|
3275
|
+
interface TimeProps$1 extends GlobalProps {
|
|
2161
3276
|
/**
|
|
2162
3277
|
* The content of the Time.
|
|
2163
3278
|
*/
|
|
@@ -2173,7 +3288,16 @@ interface TimeProps$1 {
|
|
|
2173
3288
|
*/
|
|
2174
3289
|
dateTime?: string;
|
|
2175
3290
|
}
|
|
3291
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3292
|
+
/**
|
|
3293
|
+
* The content of the Tooltip.
|
|
3294
|
+
*/
|
|
3295
|
+
children?: ComponentChildren;
|
|
3296
|
+
}
|
|
2176
3297
|
interface UnorderedListProps$1 extends GlobalProps {
|
|
2177
3298
|
}
|
|
3299
|
+
export interface URLFieldProps extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<URLAutocompleteField> {
|
|
3300
|
+
}
|
|
3301
|
+
export type URLAutocompleteField = ExtractStrict<AnyAutocompleteField, "url" | "photo" | "impp" | `${AutocompleteAddressGroup} impp`>;
|
|
2178
3302
|
|
|
2179
3303
|
|