@shopify/ui-extensions 2025.10.0-rc.3 → 2025.10.0-rc.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/shared.js +22 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +18 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +18 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +23 -0
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +133 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Banner.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Box.d.ts +35 -26
- package/build/ts/surfaces/admin/components/Button.d.ts +34 -20
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +117 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +120 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +39 -9
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Clickable.d.ts +49 -39
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +151 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +238 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +132 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +160 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +43 -35
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +42 -33
- package/build/ts/surfaces/admin/components/GridItem.d.ts +36 -26
- package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Icon.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Image.d.ts +34 -42
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -29
- package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +133 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +16 -18
- package/build/ts/surfaces/admin/components/NumberField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Page.d.ts +38 -6
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Popover.d.ts +379 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +18 -16
- package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +20 -16
- package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Stack.d.ts +53 -43
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +16 -12
- package/build/ts/surfaces/admin/components/Table.d.ts +27 -16
- package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableCell.d.ts +34 -7
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +24 -6
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TableRow.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TextArea.d.ts +15 -15
- package/build/ts/surfaces/admin/components/TextField.d.ts +17 -15
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +141 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +953 -597
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +50 -3072
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +51 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +50 -3083
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +49 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +49 -3032
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +18 -2
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +21 -3
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/Details.d.ts +72 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +94 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/checkout/components/components.d.ts +1683 -244
- package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +8 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +47 -494
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +54 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +49 -549
- package/build/ts/surfaces/checkout.d.ts +1 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +53 -46
- 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 +56 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/build/ts/surfaces/customer-account/components/Details.d.ts +72 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +19 -6
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +94 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/customer-account/components/components.d.ts +1683 -244
- package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +29 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +56 -640
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +56 -640
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +41 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +35 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +52 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +60 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +92 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Screen.d.ts +91 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +116 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +98 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
- package/build/ts/surfaces/point-of-sale/components/shared.d.ts +76 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +31 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +178 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +55 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +23 -2
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +11 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +1 -1
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/Option.ts +12 -0
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/PhoneField.ts +11 -0
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/docs/shared/components/QueryContainer.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +25 -0
- package/src/surfaces/admin/api/standard/standard.ts +7 -1
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +133 -0
- package/src/surfaces/admin/components/Badge.d.ts +21 -7
- package/src/surfaces/admin/components/Banner.d.ts +21 -16
- package/src/surfaces/admin/components/Box.d.ts +35 -26
- package/src/surfaces/admin/components/Button.d.ts +34 -20
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +117 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +120 -0
- package/src/surfaces/admin/components/Choice.d.ts +39 -9
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/src/surfaces/admin/components/Clickable.d.ts +49 -39
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +151 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +238 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +132 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/src/surfaces/admin/components/Divider.d.ts +12 -5
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/DropZone.d.ts +160 -0
- package/src/surfaces/admin/components/EmailField.d.ts +15 -15
- package/src/surfaces/admin/components/Form.d.ts +43 -35
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/Grid.d.ts +42 -33
- package/src/surfaces/admin/components/GridItem.d.ts +36 -26
- package/src/surfaces/admin/components/Heading.d.ts +17 -6
- package/src/surfaces/admin/components/Icon.d.ts +17 -6
- package/src/surfaces/admin/components/Image.d.ts +34 -42
- package/src/surfaces/admin/components/Link.d.ts +35 -29
- package/src/surfaces/admin/components/ListItem.d.ts +18 -6
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +133 -0
- package/src/surfaces/admin/components/MoneyField.d.ts +16 -18
- package/src/surfaces/admin/components/NumberField.d.ts +15 -15
- package/src/surfaces/admin/components/Option.d.ts +17 -5
- package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/src/surfaces/admin/components/Page.d.ts +38 -6
- package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/src/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/Popover.d.ts +379 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/src/surfaces/admin/components/SearchField.d.ts +18 -16
- package/src/surfaces/admin/components/Section.d.ts +17 -6
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +20 -16
- package/src/surfaces/admin/components/Spinner.d.ts +12 -2
- package/src/surfaces/admin/components/Stack.d.ts +53 -43
- package/src/surfaces/admin/components/StandardComponents.ts +8 -0
- package/src/surfaces/admin/components/Switch.d.ts +16 -12
- package/src/surfaces/admin/components/Table.d.ts +27 -16
- package/src/surfaces/admin/components/TableBody.d.ts +18 -6
- package/src/surfaces/admin/components/TableCell.d.ts +34 -7
- package/src/surfaces/admin/components/TableHeader.d.ts +24 -6
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/src/surfaces/admin/components/TableRow.d.ts +21 -7
- package/src/surfaces/admin/components/Text.d.ts +19 -6
- package/src/surfaces/admin/components/TextArea.d.ts +15 -15
- package/src/surfaces/admin/components/TextField.d.ts +17 -15
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +141 -0
- package/src/surfaces/admin/components/URLField.d.ts +15 -15
- package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +154 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +166 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +79 -0
- package/src/surfaces/admin/components/shared.d.ts +953 -597
- package/src/surfaces/admin/components.d.ts +2962 -1505
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -2
- package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +1 -1
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +1 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +1 -1
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -2
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +1 -2
- package/src/surfaces/checkout/api/standard/standard.ts +23 -3
- package/src/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/src/surfaces/checkout/components/Badge.d.ts +56 -0
- package/src/surfaces/checkout/components/Banner.d.ts +55 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +44 -13
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/src/surfaces/checkout/components/Details.d.ts +72 -0
- package/src/surfaces/checkout/components/Divider.d.ts +31 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +22 -9
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +44 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +78 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +90 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +85 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/src/surfaces/checkout/components/Popover.d.ts +68 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +94 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack.d.ts +20 -9
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/src/surfaces/checkout/components/TextField.d.ts +88 -21
- package/src/surfaces/checkout/components/Time.d.ts +21 -9
- package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/src/surfaces/checkout/components/components.d.ts +1683 -244
- package/src/surfaces/checkout/extension-targets.ts +8 -0
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +2 -1
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
- package/src/surfaces/checkout/shared.ts +65 -28
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +55 -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 +2 -4
- package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
- package/src/surfaces/customer-account/preact/navigation.ts +3 -10
- package/src/surfaces/customer-account/preact/subscription.ts +7 -6
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +45 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api.ts +133 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +60 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +67 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +14 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +92 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +9 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Screen.d.ts +91 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +10 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +116 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +98 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
- package/src/surfaces/point-of-sale/components/shared.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +5327 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
- package/src/surfaces/point-of-sale/event/data.ts +16 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
- package/src/surfaces/point-of-sale/event/output.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +188 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
- package/src/surfaces/point-of-sale/types/money.ts +4 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/types/order.ts +12 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +58 -0
- package/src/surfaces/point-of-sale/types/product.ts +64 -0
- package/src/surfaces/point-of-sale/types/session.ts +39 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
- package/src/surfaces/point-of-sale/types/storage.ts +73 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
- package/src/surfaces/point-of-sale.ts +4 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
|
@@ -1,11 +1,11 @@
|
|
|
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
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
/**
|
|
@@ -13,7 +13,13 @@
|
|
|
13
13
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
14
14
|
*/
|
|
15
15
|
export type ComponentChildren = any;
|
|
16
|
-
interface
|
|
16
|
+
export interface GlobalProps {
|
|
17
|
+
/**
|
|
18
|
+
* A unique identifier for the element.
|
|
19
|
+
*/
|
|
20
|
+
id?: string;
|
|
21
|
+
}
|
|
22
|
+
interface AbbreviationProps$1 extends GlobalProps {
|
|
17
23
|
/**
|
|
18
24
|
* The content of the abbreviation or acronym.
|
|
19
25
|
*/
|
|
@@ -29,14 +35,18 @@ interface AbbreviationProps$1 {
|
|
|
29
35
|
*/
|
|
30
36
|
title?: string;
|
|
31
37
|
}
|
|
32
|
-
export
|
|
33
|
-
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
34
|
-
export interface GlobalProps {
|
|
38
|
+
export interface ActionSlots {
|
|
35
39
|
/**
|
|
36
|
-
*
|
|
40
|
+
* The primary action to perform, provided as a button or link type element.
|
|
37
41
|
*/
|
|
38
|
-
|
|
42
|
+
primaryAction?: ComponentChildren;
|
|
43
|
+
/**
|
|
44
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
45
|
+
*/
|
|
46
|
+
secondaryActions?: ComponentChildren;
|
|
39
47
|
}
|
|
48
|
+
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";
|
|
49
|
+
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
40
50
|
export type BackgroundColorKeyword = "transparent" | ColorKeyword;
|
|
41
51
|
export interface BackgroundProps {
|
|
42
52
|
/**
|
|
@@ -67,8 +77,8 @@ declare const privateIconArray: readonly [
|
|
|
67
77
|
"alert-location",
|
|
68
78
|
"alert-octagon-filled",
|
|
69
79
|
"alert-octagon",
|
|
70
|
-
"alert-triangle",
|
|
71
80
|
"alert-triangle-filled",
|
|
81
|
+
"alert-triangle",
|
|
72
82
|
"app-extension",
|
|
73
83
|
"apps",
|
|
74
84
|
"archive",
|
|
@@ -111,6 +121,8 @@ declare const privateIconArray: readonly [
|
|
|
111
121
|
"camera-flip",
|
|
112
122
|
"camera",
|
|
113
123
|
"caret-down",
|
|
124
|
+
"caret-left",
|
|
125
|
+
"caret-right",
|
|
114
126
|
"caret-up",
|
|
115
127
|
"cart-abandoned",
|
|
116
128
|
"cart-discount",
|
|
@@ -291,8 +303,9 @@ declare const privateIconArray: readonly [
|
|
|
291
303
|
"incentive",
|
|
292
304
|
"incoming",
|
|
293
305
|
"incomplete",
|
|
294
|
-
"info",
|
|
295
306
|
"info-filled",
|
|
307
|
+
"info",
|
|
308
|
+
"inheritance",
|
|
296
309
|
"inventory-updated",
|
|
297
310
|
"inventory",
|
|
298
311
|
"iq",
|
|
@@ -416,14 +429,15 @@ declare const privateIconArray: readonly [
|
|
|
416
429
|
"phone-in",
|
|
417
430
|
"phone-out",
|
|
418
431
|
"phone",
|
|
419
|
-
"pin",
|
|
420
432
|
"pin-remove",
|
|
433
|
+
"pin",
|
|
421
434
|
"plan",
|
|
422
435
|
"play-circle",
|
|
423
436
|
"play",
|
|
424
|
-
"plus-circle",
|
|
425
437
|
"plus-circle-down",
|
|
438
|
+
"plus-circle-filled",
|
|
426
439
|
"plus-circle-up",
|
|
440
|
+
"plus-circle",
|
|
427
441
|
"plus",
|
|
428
442
|
"point-of-sale",
|
|
429
443
|
"price-list",
|
|
@@ -466,6 +480,7 @@ declare const privateIconArray: readonly [
|
|
|
466
480
|
"sandbox",
|
|
467
481
|
"save",
|
|
468
482
|
"savings",
|
|
483
|
+
"search-add",
|
|
469
484
|
"search-list",
|
|
470
485
|
"search-recent",
|
|
471
486
|
"search-resource",
|
|
@@ -587,44 +602,48 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
587
602
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
588
603
|
*/
|
|
589
604
|
export type AnyString = string & {};
|
|
590
|
-
|
|
605
|
+
/**
|
|
606
|
+
* This is purely to give the ability
|
|
607
|
+
* to have a space or not in the string literal types.
|
|
608
|
+
*
|
|
609
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
610
|
+
*/
|
|
611
|
+
export type optionalSpace = "" | " ";
|
|
612
|
+
interface BadgeProps$1 extends GlobalProps {
|
|
591
613
|
/**
|
|
592
|
-
* The
|
|
614
|
+
* The content of the Badge.
|
|
593
615
|
*/
|
|
594
|
-
|
|
616
|
+
children?: ComponentChildren;
|
|
595
617
|
/**
|
|
596
|
-
*
|
|
618
|
+
* Sets the tone of the Badge, based on the intention of the information being conveyed.
|
|
619
|
+
*
|
|
620
|
+
* @default 'auto'
|
|
597
621
|
*/
|
|
598
|
-
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Used for Container Query-related props.
|
|
602
|
-
*/
|
|
603
|
-
export interface ContainerProps {
|
|
622
|
+
tone?: ToneKeyword;
|
|
604
623
|
/**
|
|
605
|
-
*
|
|
624
|
+
* Modify the color to be more or less intense.
|
|
606
625
|
*
|
|
607
|
-
* @
|
|
626
|
+
* @default 'base'
|
|
627
|
+
*/
|
|
628
|
+
color?: ColorKeyword;
|
|
629
|
+
/**
|
|
630
|
+
* The type of icon to be displayed in the badge.
|
|
608
631
|
*
|
|
609
632
|
* @default ''
|
|
610
|
-
*
|
|
611
|
-
* @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`.
|
|
612
|
-
* The developer-supplied containerName here would be in addition to the above-mentioned containerName.
|
|
613
633
|
*/
|
|
614
|
-
|
|
634
|
+
icon?: IconType | AnyString;
|
|
615
635
|
/**
|
|
616
|
-
* The
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
*
|
|
621
|
-
* - `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.
|
|
636
|
+
* The position of the icon in relation to the text.
|
|
637
|
+
*/
|
|
638
|
+
iconPosition?: "start" | "end";
|
|
639
|
+
/**
|
|
640
|
+
* Adjusts the size.
|
|
622
641
|
*
|
|
623
|
-
* @default '
|
|
642
|
+
* @default 'base'
|
|
624
643
|
*/
|
|
625
|
-
|
|
644
|
+
size?: SizeKeyword;
|
|
626
645
|
}
|
|
627
|
-
interface BannerProps$1 extends GlobalProps, ActionSlots
|
|
646
|
+
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
628
647
|
/**
|
|
629
648
|
* The title of the banner.
|
|
630
649
|
*
|
|
@@ -675,7 +694,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
675
694
|
*
|
|
676
695
|
* The `hidden` property will be `false` when this event fires.
|
|
677
696
|
*/
|
|
678
|
-
onDismiss?: () => void;
|
|
697
|
+
onDismiss?: (event: Event) => void;
|
|
679
698
|
/**
|
|
680
699
|
* Event handler when the banner has fully hidden.
|
|
681
700
|
*
|
|
@@ -685,7 +704,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
685
704
|
* this event must fire after the banner has fully hidden.
|
|
686
705
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
687
706
|
*/
|
|
688
|
-
onAfterHide?: () => void;
|
|
707
|
+
onAfterHide?: (event: Event) => void;
|
|
689
708
|
/**
|
|
690
709
|
* Determines whether the banner is hidden.
|
|
691
710
|
*
|
|
@@ -1095,7 +1114,7 @@ export interface OverflowProps {
|
|
|
1095
1114
|
*/
|
|
1096
1115
|
overflow?: "hidden" | "visible";
|
|
1097
1116
|
}
|
|
1098
|
-
export interface BaseBoxProps extends
|
|
1117
|
+
export interface BaseBoxProps extends AccessibilityVisibilityProps, BackgroundProps, DisplayProps, SizingProps, PaddingProps, BorderProps, OverflowProps {
|
|
1099
1118
|
/**
|
|
1100
1119
|
* The content of the Box.
|
|
1101
1120
|
*/
|
|
@@ -1110,17 +1129,64 @@ export interface BaseBoxProps extends GlobalProps, AccessibilityVisibilityProps,
|
|
|
1110
1129
|
}
|
|
1111
1130
|
export interface BaseBoxPropsWithRole extends BaseBoxProps, AccessibilityRoleProps {
|
|
1112
1131
|
}
|
|
1113
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {
|
|
1132
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {
|
|
1114
1133
|
}
|
|
1115
1134
|
export interface FocusEventProps {
|
|
1116
1135
|
/**
|
|
1117
1136
|
* Callback when the element loses focus.
|
|
1137
|
+
*
|
|
1138
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
1118
1139
|
*/
|
|
1119
|
-
onBlur?: () => void;
|
|
1140
|
+
onBlur?: (event: FocusEvent) => void;
|
|
1120
1141
|
/**
|
|
1121
1142
|
* Callback when the element receives focus.
|
|
1143
|
+
*
|
|
1144
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
1145
|
+
*/
|
|
1146
|
+
onFocus?: (event: FocusEvent) => void;
|
|
1147
|
+
}
|
|
1148
|
+
export interface ToggleEventProps {
|
|
1149
|
+
/**
|
|
1150
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
1151
|
+
*
|
|
1152
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1153
|
+
* `newState` property will be set to `open`.
|
|
1154
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
1155
|
+
* `newState` will be `closed`.
|
|
1156
|
+
*
|
|
1157
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1158
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1159
|
+
*/
|
|
1160
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
1161
|
+
/**
|
|
1162
|
+
* Callback straight after the element state changes.
|
|
1163
|
+
*
|
|
1164
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1165
|
+
* `newState` property will be set to `open`.
|
|
1166
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
1167
|
+
* `newState` will be `closed`.
|
|
1168
|
+
*
|
|
1169
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
1170
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1171
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1172
|
+
*/
|
|
1173
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
1174
|
+
}
|
|
1175
|
+
export type ToggleState = "open" | "closed";
|
|
1176
|
+
interface ToggleEvent$1 extends Event {
|
|
1177
|
+
readonly newState: ToggleState;
|
|
1178
|
+
readonly oldState: ToggleState;
|
|
1179
|
+
}
|
|
1180
|
+
export interface ExtendableEvent extends Event {
|
|
1181
|
+
/**
|
|
1182
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
1183
|
+
*
|
|
1184
|
+
* This may be called many times, which adds promises to the event.
|
|
1185
|
+
*
|
|
1186
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
1187
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
1122
1188
|
*/
|
|
1123
|
-
|
|
1189
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
1124
1190
|
}
|
|
1125
1191
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1126
1192
|
/**
|
|
@@ -1138,8 +1204,10 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1138
1204
|
/**
|
|
1139
1205
|
* Callback when the button is activated.
|
|
1140
1206
|
* This will be called before the action indicated by `type`.
|
|
1207
|
+
*
|
|
1208
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1141
1209
|
*/
|
|
1142
|
-
onClick?: () => void;
|
|
1210
|
+
onClick?: (event: Event) => void;
|
|
1143
1211
|
/**
|
|
1144
1212
|
* Disables the button, meaning it cannot be clicked or receive focus.
|
|
1145
1213
|
*
|
|
@@ -1186,8 +1254,10 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1186
1254
|
/**
|
|
1187
1255
|
* Callback when the link is activated.
|
|
1188
1256
|
* This will be called before navigating to the location specified by `href`.
|
|
1257
|
+
*
|
|
1258
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1189
1259
|
*/
|
|
1190
|
-
onClick?: () => void;
|
|
1260
|
+
onClick?: (event: Event) => void;
|
|
1191
1261
|
}
|
|
1192
1262
|
export interface InteractionProps {
|
|
1193
1263
|
/**
|
|
@@ -1214,6 +1284,10 @@ export interface InteractionProps {
|
|
|
1214
1284
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1215
1285
|
*/
|
|
1216
1286
|
command?: "--auto" | "--show" | "--hide" | "--toggle" | "--copy";
|
|
1287
|
+
/**
|
|
1288
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1289
|
+
*/
|
|
1290
|
+
interestFor?: string;
|
|
1217
1291
|
}
|
|
1218
1292
|
export interface BaseClickableProps extends ButtonBehaviorProps, LinkBehaviorProps {
|
|
1219
1293
|
}
|
|
@@ -1279,12 +1353,16 @@ export interface BaseInputProps {
|
|
|
1279
1353
|
export interface InputProps extends BaseInputProps {
|
|
1280
1354
|
/**
|
|
1281
1355
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1356
|
+
*
|
|
1357
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1282
1358
|
*/
|
|
1283
|
-
onChange?: (
|
|
1359
|
+
onChange?: (event: Event) => void;
|
|
1284
1360
|
/**
|
|
1285
1361
|
* Callback when the user makes any changes in the field.
|
|
1362
|
+
*
|
|
1363
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1286
1364
|
*/
|
|
1287
|
-
onInput?: (
|
|
1365
|
+
onInput?: (event: Event) => void;
|
|
1288
1366
|
/**
|
|
1289
1367
|
* The current value for the field. If omitted, the field will be empty.
|
|
1290
1368
|
*/
|
|
@@ -1398,6 +1476,48 @@ export interface FieldDecorationProps {
|
|
|
1398
1476
|
*/
|
|
1399
1477
|
accessory?: ComponentChildren;
|
|
1400
1478
|
}
|
|
1479
|
+
export interface NumberConstraintsProps {
|
|
1480
|
+
/**
|
|
1481
|
+
* The highest decimal or integer to be accepted for the field.
|
|
1482
|
+
* When used with `step` the value will round down to the max number.
|
|
1483
|
+
*
|
|
1484
|
+
* Note: a user will still be able to use the keyboard to input a number higher than
|
|
1485
|
+
* the max. It is up to the developer to add appropriate validation.
|
|
1486
|
+
*
|
|
1487
|
+
* @default Infinity
|
|
1488
|
+
*/
|
|
1489
|
+
max?: number;
|
|
1490
|
+
/**
|
|
1491
|
+
* The lowest decimal or integer to be accepted for the field.
|
|
1492
|
+
* When used with `step` the value will round up to the min number.
|
|
1493
|
+
*
|
|
1494
|
+
* Note: a user will still be able to use the keyboard to input a number lower than
|
|
1495
|
+
* the min. It is up to the developer to add appropriate validation.
|
|
1496
|
+
*
|
|
1497
|
+
* @default -Infinity
|
|
1498
|
+
*/
|
|
1499
|
+
min?: number;
|
|
1500
|
+
/**
|
|
1501
|
+
* The amount the value can increase or decrease by. This can be an integer or decimal.
|
|
1502
|
+
* If a `max` or `min` is specified with `step` when increasing/decreasing the value
|
|
1503
|
+
* via the buttons, the final value will always round to the `max` or `min`
|
|
1504
|
+
* rather than the closest valid amount.
|
|
1505
|
+
*
|
|
1506
|
+
* @default 1
|
|
1507
|
+
*/
|
|
1508
|
+
step?: number;
|
|
1509
|
+
/**
|
|
1510
|
+
* Sets the type of controls displayed in the field.
|
|
1511
|
+
*
|
|
1512
|
+
* - `stepper`: displays buttons to increase or decrease the value of the field by the stepping interval defined in the `step` property.
|
|
1513
|
+
* 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.
|
|
1514
|
+
* - `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.
|
|
1515
|
+
* - `auto`: the presence of the controls depends on the surface and context.
|
|
1516
|
+
*
|
|
1517
|
+
* @default 'auto'
|
|
1518
|
+
*/
|
|
1519
|
+
controls?: "auto" | "stepper" | "none";
|
|
1520
|
+
}
|
|
1401
1521
|
export interface MinMaxLengthProps {
|
|
1402
1522
|
/**
|
|
1403
1523
|
* Specifies the maximum number of characters allowed.
|
|
@@ -1412,6 +1532,138 @@ export interface MinMaxLengthProps {
|
|
|
1412
1532
|
*/
|
|
1413
1533
|
minLength?: number;
|
|
1414
1534
|
}
|
|
1535
|
+
export interface BaseSelectableProps {
|
|
1536
|
+
/**
|
|
1537
|
+
* A label used for users using assistive technologies like screen readers. When set, any children or `label` supplied will not be announced.
|
|
1538
|
+
* This can also be used to display a control without a visual label, while still providing context to users using screen readers.
|
|
1539
|
+
*/
|
|
1540
|
+
accessibilityLabel?: string;
|
|
1541
|
+
/**
|
|
1542
|
+
* Disables the control, disallowing any interaction.
|
|
1543
|
+
*
|
|
1544
|
+
* @default false
|
|
1545
|
+
*/
|
|
1546
|
+
disabled?: boolean;
|
|
1547
|
+
/**
|
|
1548
|
+
* The value used in form data when the control is checked.
|
|
1549
|
+
*/
|
|
1550
|
+
value?: string;
|
|
1551
|
+
}
|
|
1552
|
+
export interface BaseOptionProps extends BaseSelectableProps {
|
|
1553
|
+
/**
|
|
1554
|
+
* Whether the control is active.
|
|
1555
|
+
*
|
|
1556
|
+
* @default false
|
|
1557
|
+
*/
|
|
1558
|
+
selected?: boolean;
|
|
1559
|
+
/**
|
|
1560
|
+
* Whether the control is active by default.
|
|
1561
|
+
*
|
|
1562
|
+
* @implementation `defaultSelected` reflects to the `selected` attribute.
|
|
1563
|
+
*
|
|
1564
|
+
* @default false
|
|
1565
|
+
*/
|
|
1566
|
+
defaultSelected?: boolean;
|
|
1567
|
+
}
|
|
1568
|
+
export interface BaseCheckableProps extends BaseSelectableProps, InteractionProps {
|
|
1569
|
+
/**
|
|
1570
|
+
* Visual content to use as the control label.
|
|
1571
|
+
*/
|
|
1572
|
+
label?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Whether the control is active.
|
|
1575
|
+
*
|
|
1576
|
+
* @default false
|
|
1577
|
+
*/
|
|
1578
|
+
checked?: boolean;
|
|
1579
|
+
/**
|
|
1580
|
+
* Whether the control is active by default.
|
|
1581
|
+
*
|
|
1582
|
+
* @implementation `defaultChecked` reflects to the `checked` attribute.
|
|
1583
|
+
*
|
|
1584
|
+
* @default false
|
|
1585
|
+
*/
|
|
1586
|
+
defaultChecked?: boolean;
|
|
1587
|
+
/**
|
|
1588
|
+
* An identifier for the control that is unique within the nearest
|
|
1589
|
+
* containing `Form` component.
|
|
1590
|
+
*/
|
|
1591
|
+
name?: string;
|
|
1592
|
+
/**
|
|
1593
|
+
* A callback that is run whenever the control is changed.
|
|
1594
|
+
*
|
|
1595
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1596
|
+
*/
|
|
1597
|
+
onChange?: (event: Event) => void;
|
|
1598
|
+
/**
|
|
1599
|
+
* A callback that is run whenever the control is changed.
|
|
1600
|
+
*
|
|
1601
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1602
|
+
*/
|
|
1603
|
+
onInput?: (event: Event) => void;
|
|
1604
|
+
}
|
|
1605
|
+
interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorProps, FieldDetailsProps {
|
|
1606
|
+
/**
|
|
1607
|
+
* Whether to display the checkbox in an indeterminate state (neither checked or unchecked).
|
|
1608
|
+
*
|
|
1609
|
+
* In terms of appearance, this takes priority over the `checked` prop.
|
|
1610
|
+
* But this is purely a visual change.
|
|
1611
|
+
* Whether the value is submitted along with a form is still down to the `checked` prop.
|
|
1612
|
+
*
|
|
1613
|
+
* If `indeterminate` has not been explicitly set, and the `indeterminate` state hasn't been modified by the user (via clicking),
|
|
1614
|
+
* then `indeterminate` returns the value of `defaultIndeterminate`.
|
|
1615
|
+
*
|
|
1616
|
+
* @implementation The `indeterminate` property doesn't reflect to any attribute.
|
|
1617
|
+
*/
|
|
1618
|
+
indeterminate?: boolean;
|
|
1619
|
+
/**
|
|
1620
|
+
* Whether the checkbox is in an `indeterminate` state by default.
|
|
1621
|
+
*
|
|
1622
|
+
* Similar to `defaultValue` and `defaultChecked`, this value applies until `indeterminate` is set, or user changes the state of the checkbox.
|
|
1623
|
+
*
|
|
1624
|
+
* @implementation `defaultIndeterminate` reflects to the `indeterminate` attribute.
|
|
1625
|
+
*
|
|
1626
|
+
* @default false
|
|
1627
|
+
*/
|
|
1628
|
+
defaultIndeterminate?: boolean;
|
|
1629
|
+
/**
|
|
1630
|
+
* Whether the field needs a value. This requirement adds semantic value
|
|
1631
|
+
* to the field, but it will not cause an error to appear automatically.
|
|
1632
|
+
* If you want to present an error when this field is empty, you can do
|
|
1633
|
+
* so with the `error` property.
|
|
1634
|
+
*
|
|
1635
|
+
* @default false
|
|
1636
|
+
*/
|
|
1637
|
+
required?: boolean;
|
|
1638
|
+
}
|
|
1639
|
+
interface ClickableProps$1 extends GlobalProps, BaseBoxProps, BaseClickableProps {
|
|
1640
|
+
/**
|
|
1641
|
+
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1642
|
+
*
|
|
1643
|
+
* This also disables the clickable.
|
|
1644
|
+
*/
|
|
1645
|
+
loading?: BaseClickableProps["loading"];
|
|
1646
|
+
/**
|
|
1647
|
+
* Disables the clickable, meaning it cannot be clicked or receive focus.
|
|
1648
|
+
*
|
|
1649
|
+
* In this state, onClick will not fire.
|
|
1650
|
+
* If the click event originates from a child element, the event will immediately stop propagating from this element.
|
|
1651
|
+
*
|
|
1652
|
+
* However, items within the clickable can still receive focus and be interacted with.
|
|
1653
|
+
*
|
|
1654
|
+
* This has no impact on the visual state by default,
|
|
1655
|
+
* but developers are encouraged to style the clickable accordingly.
|
|
1656
|
+
*/
|
|
1657
|
+
disabled?: BaseClickableProps["disabled"];
|
|
1658
|
+
/**
|
|
1659
|
+
* Indicate the text language. Useful when the text is in a different language than the rest of the page.
|
|
1660
|
+
* It will allow assistive technologies such as screen readers to invoke the correct pronunciation.
|
|
1661
|
+
* [Reference of values](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) ("subtag" label)
|
|
1662
|
+
*
|
|
1663
|
+
* @default ''
|
|
1664
|
+
*/
|
|
1665
|
+
lang?: string;
|
|
1666
|
+
}
|
|
1415
1667
|
interface ClipboardItemProps$1 extends GlobalProps {
|
|
1416
1668
|
/**
|
|
1417
1669
|
* Plain text to be written to the clipboard.
|
|
@@ -1422,11 +1674,11 @@ interface ClipboardItemProps$1 extends GlobalProps {
|
|
|
1422
1674
|
/**
|
|
1423
1675
|
* Callback run when the copy to clipboard succeeds.
|
|
1424
1676
|
*/
|
|
1425
|
-
onCopy?: () => void;
|
|
1677
|
+
onCopy?: (event: ClipboardEvent) => void;
|
|
1426
1678
|
/**
|
|
1427
1679
|
* Callback run when the copy to clipboard fails.
|
|
1428
1680
|
*/
|
|
1429
|
-
onCopyError?: () => void;
|
|
1681
|
+
onCopyError?: (event: Event) => void;
|
|
1430
1682
|
}
|
|
1431
1683
|
export interface AutocompleteProps<AutocompleteField extends AnyAutocompleteField> {
|
|
1432
1684
|
/**
|
|
@@ -1469,6 +1721,75 @@ export type AutocompleteGroup = "shipping" | "billing";
|
|
|
1469
1721
|
export type AutocompleteAddressGroup = "fax" | "home" | "mobile" | "pager";
|
|
1470
1722
|
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`;
|
|
1471
1723
|
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">;
|
|
1724
|
+
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`>;
|
|
1725
|
+
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
1726
|
+
/**
|
|
1727
|
+
* The type of number to collect.
|
|
1728
|
+
*
|
|
1729
|
+
* 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.
|
|
1730
|
+
*
|
|
1731
|
+
* @default '' meaning no specific kind of phone number
|
|
1732
|
+
*/
|
|
1733
|
+
type?: "mobile" | "";
|
|
1734
|
+
}
|
|
1735
|
+
interface DetailsProps$1 extends GlobalProps, ToggleEventProps {
|
|
1736
|
+
/**
|
|
1737
|
+
* The content of the details.
|
|
1738
|
+
*
|
|
1739
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
1740
|
+
*/
|
|
1741
|
+
children?: ComponentChildren;
|
|
1742
|
+
/**
|
|
1743
|
+
* Name of the element.
|
|
1744
|
+
*
|
|
1745
|
+
* This can be used to create multiple named disclosure boxes that where only one can be open at a time.
|
|
1746
|
+
*
|
|
1747
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#multiple_named_disclosure_boxes
|
|
1748
|
+
*/
|
|
1749
|
+
name?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* Whether the element is open.
|
|
1752
|
+
*
|
|
1753
|
+
* This does not reflect to any attribute.
|
|
1754
|
+
*
|
|
1755
|
+
* @default false
|
|
1756
|
+
*/
|
|
1757
|
+
open?: boolean;
|
|
1758
|
+
/**
|
|
1759
|
+
* Indicates whether the element should be open by default.
|
|
1760
|
+
*
|
|
1761
|
+
* This reflects to the `open` attribute.
|
|
1762
|
+
*
|
|
1763
|
+
* @default false
|
|
1764
|
+
*/
|
|
1765
|
+
defaultOpen?: boolean;
|
|
1766
|
+
/**
|
|
1767
|
+
* Sets the transition between the two states.
|
|
1768
|
+
*
|
|
1769
|
+
* @default 'auto'
|
|
1770
|
+
*/
|
|
1771
|
+
toggleTransition?: "none" | "auto";
|
|
1772
|
+
}
|
|
1773
|
+
interface DividerProps$1 extends GlobalProps {
|
|
1774
|
+
/**
|
|
1775
|
+
* Specify the direction of the divider.
|
|
1776
|
+
*
|
|
1777
|
+
* An 'inline' divider separates blocks of content.
|
|
1778
|
+
* In a left-to-right or right-to-left writing mode, this would typically be a horizontal line.
|
|
1779
|
+
*
|
|
1780
|
+
* A 'block' divider separates items within the current line of content.
|
|
1781
|
+
* In a left-to-right or right-to-left writing mode, this would typically be a vertical line.
|
|
1782
|
+
*
|
|
1783
|
+
* @default 'inline'
|
|
1784
|
+
*/
|
|
1785
|
+
direction?: "inline" | "block";
|
|
1786
|
+
/**
|
|
1787
|
+
* Modify the color to be more or less intense.
|
|
1788
|
+
*
|
|
1789
|
+
* @default 'base'
|
|
1790
|
+
*/
|
|
1791
|
+
color?: ColorKeyword;
|
|
1792
|
+
}
|
|
1472
1793
|
interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFieldProps {
|
|
1473
1794
|
/**
|
|
1474
1795
|
* A string representing the types of files that are accepted by the dropzone.
|
|
@@ -1496,32 +1817,25 @@ interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFiel
|
|
|
1496
1817
|
/**
|
|
1497
1818
|
* Callback when rejected files are dropped. Files are rejected based on the `accept` prop.
|
|
1498
1819
|
*/
|
|
1499
|
-
onDropRejected
|
|
1820
|
+
onDropRejected?: (files: File[]) => void;
|
|
1500
1821
|
}
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
1504
|
-
*
|
|
1505
|
-
* This may be called many times, which adds promises to the event.
|
|
1506
|
-
*
|
|
1507
|
-
* However, this may only be called synchronously during the dispatch of the event.
|
|
1508
|
-
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
1509
|
-
*/
|
|
1510
|
-
waitUntil: (promise: Promise<void>) => void;
|
|
1822
|
+
interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
|
|
1511
1823
|
}
|
|
1512
|
-
|
|
1824
|
+
export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
|
|
1825
|
+
interface FormProps$1 extends GlobalProps {
|
|
1513
1826
|
/**
|
|
1514
|
-
*
|
|
1515
|
-
*
|
|
1516
|
-
* @default 'on'
|
|
1827
|
+
* The content of the form.
|
|
1517
1828
|
*/
|
|
1518
|
-
|
|
1829
|
+
children?: ComponentChildren;
|
|
1519
1830
|
/**
|
|
1520
1831
|
* Whether the form is able to be submitted.
|
|
1521
1832
|
*
|
|
1522
1833
|
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
1523
1834
|
*
|
|
1524
1835
|
* @default false
|
|
1836
|
+
*
|
|
1837
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
1838
|
+
* @private
|
|
1525
1839
|
*/
|
|
1526
1840
|
disabled?: boolean;
|
|
1527
1841
|
/**
|
|
@@ -1534,11 +1848,7 @@ interface FormProps$1 extends GlobalProps, ContainerProps {
|
|
|
1534
1848
|
/**
|
|
1535
1849
|
* A callback that is run when the form is reset.
|
|
1536
1850
|
*/
|
|
1537
|
-
onReset?: () => void;
|
|
1538
|
-
/**
|
|
1539
|
-
* The content of the form.
|
|
1540
|
-
*/
|
|
1541
|
-
children?: ComponentChildren;
|
|
1851
|
+
onReset?: (event: Event) => void;
|
|
1542
1852
|
}
|
|
1543
1853
|
export type SpacingKeyword = SizeKeyword | "none";
|
|
1544
1854
|
export interface GapProps {
|
|
@@ -1572,6 +1882,12 @@ export type BaselinePosition = "baseline" | "first baseline" | "last baseline";
|
|
|
1572
1882
|
export type ContentDistribution = "space-between" | "space-around" | "space-evenly" | "stretch";
|
|
1573
1883
|
export type ContentPosition = "center" | "start" | "end";
|
|
1574
1884
|
export type OverflowPosition = `unsafe ${ContentPosition}` | `safe ${ContentPosition}`;
|
|
1885
|
+
/**
|
|
1886
|
+
* 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.
|
|
1887
|
+
*
|
|
1888
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
1889
|
+
*/
|
|
1890
|
+
export type JustifyItemsKeyword = "normal" | "stretch" | BaselinePosition | OverflowPosition | ContentPosition;
|
|
1575
1891
|
/**
|
|
1576
1892
|
* Align items sets the align-self value on all direct children as a group.
|
|
1577
1893
|
*
|
|
@@ -1590,11 +1906,95 @@ export type JustifyContentKeyword = "normal" | ContentDistribution | OverflowPos
|
|
|
1590
1906
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
1591
1907
|
*/
|
|
1592
1908
|
export type AlignContentKeyword = "normal" | BaselinePosition | ContentDistribution | OverflowPosition | ContentPosition;
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
|
|
1909
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
1910
|
+
/**
|
|
1911
|
+
Define columns and specify their size.
|
|
1912
|
+
|
|
1913
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
1914
|
+
@default 'none'
|
|
1915
|
+
*/
|
|
1916
|
+
gridTemplateColumns?: string;
|
|
1917
|
+
/**
|
|
1918
|
+
Define rows and specify their size.
|
|
1919
|
+
|
|
1920
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
1921
|
+
@default 'none'
|
|
1922
|
+
*/
|
|
1923
|
+
gridTemplateRows?: string;
|
|
1924
|
+
/**
|
|
1925
|
+
Aligns the grid items along the inline (row) axis.
|
|
1926
|
+
|
|
1927
|
+
This overrides the inline value of `placeItems`.
|
|
1928
|
+
|
|
1929
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
1930
|
+
@default '' - meaning no override
|
|
1931
|
+
*/
|
|
1932
|
+
justifyItems?: JustifyItemsKeyword | "";
|
|
1933
|
+
/**
|
|
1934
|
+
Aligns the grid items along the block (column) axis.
|
|
1935
|
+
|
|
1936
|
+
This overrides the block value of `placeItems`.
|
|
1937
|
+
|
|
1938
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
1939
|
+
@default '' - meaning no override
|
|
1940
|
+
*/
|
|
1941
|
+
alignItems?: AlignItemsKeyword | "";
|
|
1942
|
+
/**
|
|
1943
|
+
A shorthand property for `justify-items` and `align-items`.
|
|
1944
|
+
|
|
1945
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
1946
|
+
@default 'normal normal'
|
|
1947
|
+
*/
|
|
1948
|
+
placeItems?: `${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword;
|
|
1949
|
+
/**
|
|
1950
|
+
Aligns the grid along the inline (row) axis.
|
|
1951
|
+
|
|
1952
|
+
This overrides the inline value of `placeContent`.
|
|
1953
|
+
|
|
1954
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
1955
|
+
@default '' - meaning no override
|
|
1956
|
+
*/
|
|
1957
|
+
justifyContent?: JustifyContentKeyword | "";
|
|
1958
|
+
/**
|
|
1959
|
+
Aligns the grid along the block (column) axis.
|
|
1960
|
+
|
|
1961
|
+
This overrides the block value of `placeContent`.
|
|
1962
|
+
|
|
1963
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
1964
|
+
@default '' - meaning no override
|
|
1965
|
+
*/
|
|
1966
|
+
alignContent?: AlignContentKeyword | "";
|
|
1967
|
+
/**
|
|
1968
|
+
A shorthand property for `justify-content` and `align-content`.
|
|
1969
|
+
|
|
1970
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
1971
|
+
@default 'normal normal'
|
|
1972
|
+
*/
|
|
1973
|
+
placeContent?: `${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword;
|
|
1974
|
+
}
|
|
1975
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
1976
|
+
/**
|
|
1977
|
+
* Number of columns the item will span across
|
|
1978
|
+
*
|
|
1979
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
|
|
1596
1980
|
*
|
|
1597
|
-
* @default '
|
|
1981
|
+
* @default 'auto'
|
|
1982
|
+
*/
|
|
1983
|
+
gridColumn?: `span ${number}` | "auto";
|
|
1984
|
+
/**
|
|
1985
|
+
* Number of rows the item will span across
|
|
1986
|
+
*
|
|
1987
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row
|
|
1988
|
+
*
|
|
1989
|
+
* @default 'auto'
|
|
1990
|
+
*/
|
|
1991
|
+
gridRow?: `span ${number}` | "auto";
|
|
1992
|
+
}
|
|
1993
|
+
export interface BaseTypographyProps {
|
|
1994
|
+
/**
|
|
1995
|
+
* Modify the color to be more or less intense.
|
|
1996
|
+
*
|
|
1997
|
+
* @default 'base'
|
|
1598
1998
|
*/
|
|
1599
1999
|
color?: ColorKeyword;
|
|
1600
2000
|
/**
|
|
@@ -1645,7 +2045,7 @@ export interface BlockTypographyProps {
|
|
|
1645
2045
|
*/
|
|
1646
2046
|
lineClamp?: number;
|
|
1647
2047
|
}
|
|
1648
|
-
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps
|
|
2048
|
+
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps {
|
|
1649
2049
|
/**
|
|
1650
2050
|
* The content of the Heading.
|
|
1651
2051
|
*/
|
|
@@ -1735,13 +2135,6 @@ export interface BaseImageProps {
|
|
|
1735
2135
|
*/
|
|
1736
2136
|
srcSet?: string;
|
|
1737
2137
|
}
|
|
1738
|
-
/**
|
|
1739
|
-
* This is purely to give the ability
|
|
1740
|
-
* to have a space or not in the string literal types.
|
|
1741
|
-
*
|
|
1742
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
1743
|
-
*/
|
|
1744
|
-
export type optionalSpace = "" | " ";
|
|
1745
2138
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
1746
2139
|
/**
|
|
1747
2140
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -1805,13 +2198,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
1805
2198
|
*
|
|
1806
2199
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
1807
2200
|
*/
|
|
1808
|
-
onLoad?: () => void;
|
|
2201
|
+
onLoad?: (event: Event) => void;
|
|
1809
2202
|
/**
|
|
1810
2203
|
* Invoked on load error.
|
|
1811
2204
|
*
|
|
1812
2205
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
1813
2206
|
*/
|
|
1814
|
-
onError?: () => void;
|
|
2207
|
+
onError?: (event: Event) => void;
|
|
1815
2208
|
}
|
|
1816
2209
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
1817
2210
|
/**
|
|
@@ -1844,9 +2237,236 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
1844
2237
|
*/
|
|
1845
2238
|
children?: ComponentChildren;
|
|
1846
2239
|
}
|
|
2240
|
+
interface MapProps$1 extends GlobalProps, SizingProps {
|
|
2241
|
+
/**
|
|
2242
|
+
* A valid API key for the map service provider.
|
|
2243
|
+
*
|
|
2244
|
+
* 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.
|
|
2245
|
+
*/
|
|
2246
|
+
apiKey?: string;
|
|
2247
|
+
/**
|
|
2248
|
+
* Map center’s latitude in degrees.
|
|
2249
|
+
*
|
|
2250
|
+
* @default 0
|
|
2251
|
+
*/
|
|
2252
|
+
latitude?: number;
|
|
2253
|
+
/**
|
|
2254
|
+
* Map center’s longitude in degrees.
|
|
2255
|
+
*
|
|
2256
|
+
* @default 0
|
|
2257
|
+
*/
|
|
2258
|
+
longitude?: number;
|
|
2259
|
+
/**
|
|
2260
|
+
* A label that describes the purpose or contents of the map.
|
|
2261
|
+
*
|
|
2262
|
+
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
2263
|
+
*/
|
|
2264
|
+
accessibilityLabel?: string;
|
|
2265
|
+
/**
|
|
2266
|
+
* The initial Map zoom level.
|
|
2267
|
+
*
|
|
2268
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2269
|
+
* Larger zoom values correspond to a higher resolution.
|
|
2270
|
+
*
|
|
2271
|
+
* @default 4
|
|
2272
|
+
*/
|
|
2273
|
+
zoom?: number;
|
|
2274
|
+
/**
|
|
2275
|
+
* The maximum zoom level which will be displayed on the map.
|
|
2276
|
+
*
|
|
2277
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2278
|
+
*
|
|
2279
|
+
* @default 18
|
|
2280
|
+
*/
|
|
2281
|
+
maxZoom?: number;
|
|
2282
|
+
/**
|
|
2283
|
+
* The minimum zoom level which will be displayed on the map.
|
|
2284
|
+
*
|
|
2285
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2286
|
+
*
|
|
2287
|
+
* @default 0
|
|
2288
|
+
*/
|
|
2289
|
+
minZoom?: number;
|
|
2290
|
+
/**
|
|
2291
|
+
* Callback when the viewport bounds have changed or the map is resized.
|
|
2292
|
+
*/
|
|
2293
|
+
onBoundsChange?: (event: MapBoundsChangeEvent) => void;
|
|
2294
|
+
/**
|
|
2295
|
+
* Callback when the map view changes.
|
|
2296
|
+
*/
|
|
2297
|
+
onViewChange?: (event: MapViewChangeEvent) => void;
|
|
2298
|
+
/**
|
|
2299
|
+
* Callback when the user clicks on the map.
|
|
2300
|
+
*/
|
|
2301
|
+
onClick?: (event: MapClickEvent) => void;
|
|
2302
|
+
/**
|
|
2303
|
+
* Callback when the user double-clicks on the map.
|
|
2304
|
+
*/
|
|
2305
|
+
onDblClick?: (event: MapDblClickEvent) => void;
|
|
2306
|
+
}
|
|
2307
|
+
interface Location$1 {
|
|
2308
|
+
latitude?: number;
|
|
2309
|
+
longitude?: number;
|
|
2310
|
+
}
|
|
2311
|
+
export interface Bounds {
|
|
2312
|
+
northEast?: Location$1;
|
|
2313
|
+
southWest?: Location$1;
|
|
2314
|
+
}
|
|
2315
|
+
export interface MapViewChangeEvent extends Event {
|
|
2316
|
+
location?: Location$1;
|
|
2317
|
+
zoom?: number;
|
|
2318
|
+
}
|
|
2319
|
+
export interface MapBoundsChangeEvent extends Event {
|
|
2320
|
+
bounds?: Bounds;
|
|
2321
|
+
}
|
|
2322
|
+
export interface MapClickEvent extends Event {
|
|
2323
|
+
location?: Location$1;
|
|
2324
|
+
}
|
|
2325
|
+
export interface MapDblClickEvent extends Event {
|
|
2326
|
+
location?: Location$1;
|
|
2327
|
+
}
|
|
2328
|
+
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
2329
|
+
/**
|
|
2330
|
+
* Marker’s location latitude in degrees.
|
|
2331
|
+
*
|
|
2332
|
+
* @default 0
|
|
2333
|
+
*/
|
|
2334
|
+
latitude?: number;
|
|
2335
|
+
/**
|
|
2336
|
+
* Marker’s longitude latitude in degrees.
|
|
2337
|
+
*
|
|
2338
|
+
* @default 0
|
|
2339
|
+
*/
|
|
2340
|
+
longitude?: number;
|
|
2341
|
+
/**
|
|
2342
|
+
* A label that describes the purpose of the marker. When set,
|
|
2343
|
+
* it will be announced to users using assistive technologies and will
|
|
2344
|
+
* provide them with more context.
|
|
2345
|
+
*/
|
|
2346
|
+
accessibilityLabel?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* Allows grouping the marker in clusters when zoomed out.
|
|
2349
|
+
*
|
|
2350
|
+
* @default false
|
|
2351
|
+
*/
|
|
2352
|
+
clusterable?: boolean;
|
|
2353
|
+
/**
|
|
2354
|
+
* The graphic to use as the marker.
|
|
2355
|
+
*
|
|
2356
|
+
* If unset, it will default to the provider’s default marker.
|
|
2357
|
+
*/
|
|
2358
|
+
graphic?: ComponentChildren;
|
|
2359
|
+
/**
|
|
2360
|
+
* Callback when a marker is clicked.
|
|
2361
|
+
*
|
|
2362
|
+
* It does not trigger a click event on the map itself.
|
|
2363
|
+
*/
|
|
2364
|
+
onClick?: (event: Event) => void;
|
|
2365
|
+
}
|
|
2366
|
+
export interface BaseOverlayProps {
|
|
2367
|
+
/**
|
|
2368
|
+
* Callback fired after the overlay is shown.
|
|
2369
|
+
*/
|
|
2370
|
+
onShow?: (event: Event) => void;
|
|
2371
|
+
/**
|
|
2372
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
2373
|
+
*/
|
|
2374
|
+
onAfterShow?: (event: Event) => void;
|
|
2375
|
+
/**
|
|
2376
|
+
* Callback fired after the overlay is hidden.
|
|
2377
|
+
*/
|
|
2378
|
+
onHide?: (event: Event) => void;
|
|
2379
|
+
/**
|
|
2380
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
2381
|
+
*/
|
|
2382
|
+
onAfterHide?: (event: Event) => void;
|
|
2383
|
+
}
|
|
2384
|
+
/**
|
|
2385
|
+
* Shared interfaces for web component methods.
|
|
2386
|
+
*
|
|
2387
|
+
* Methods are required (not optional) because:
|
|
2388
|
+
* - Components implementing this interface must provide all methods
|
|
2389
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
2390
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
2391
|
+
*/
|
|
2392
|
+
export interface BaseOverlayMethods {
|
|
2393
|
+
/**
|
|
2394
|
+
* Method to show an overlay.
|
|
2395
|
+
*
|
|
2396
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
2397
|
+
*/
|
|
2398
|
+
showOverlay: () => void;
|
|
2399
|
+
/**
|
|
2400
|
+
* Method to hide an overlay.
|
|
2401
|
+
*
|
|
2402
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
2403
|
+
*/
|
|
2404
|
+
hideOverlay: () => void;
|
|
2405
|
+
/**
|
|
2406
|
+
* Method to toggle the visiblity of an overlay.
|
|
2407
|
+
*
|
|
2408
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
2409
|
+
*/
|
|
2410
|
+
toggleOverlay: () => void;
|
|
2411
|
+
}
|
|
2412
|
+
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ActionSlots {
|
|
2413
|
+
/**
|
|
2414
|
+
* A label that describes the purpose of the modal. When set,
|
|
2415
|
+
* it will be announced to users using assistive technologies and will
|
|
2416
|
+
* provide them with more context.
|
|
2417
|
+
*
|
|
2418
|
+
* This overrides the `heading` prop for screen readers.
|
|
2419
|
+
*/
|
|
2420
|
+
accessibilityLabel?: string;
|
|
2421
|
+
/**
|
|
2422
|
+
* A title that describes the content of the Modal.
|
|
2423
|
+
*
|
|
2424
|
+
*/
|
|
2425
|
+
heading?: string;
|
|
2426
|
+
/**
|
|
2427
|
+
* Adjust the padding around the Modal content.
|
|
2428
|
+
*
|
|
2429
|
+
* `base`: applies padding that is appropriate for the element.
|
|
2430
|
+
*
|
|
2431
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
2432
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
2433
|
+
* to bring back the desired padding for the rest of the content.
|
|
2434
|
+
*
|
|
2435
|
+
* @default 'base'
|
|
2436
|
+
*/
|
|
2437
|
+
padding?: "base" | "none";
|
|
2438
|
+
/**
|
|
2439
|
+
* Adjust the size of the Modal.
|
|
2440
|
+
*
|
|
2441
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
2442
|
+
*
|
|
2443
|
+
* @default 'base'
|
|
2444
|
+
*/
|
|
2445
|
+
size?: SizeKeyword | "max";
|
|
2446
|
+
/**
|
|
2447
|
+
* The content of the Modal.
|
|
2448
|
+
*/
|
|
2449
|
+
children?: ComponentChildren;
|
|
2450
|
+
}
|
|
2451
|
+
interface NumberFieldProps$1 extends GlobalProps, BaseTextFieldProps, AutocompleteProps<NumberAutocompleteField>, NumberConstraintsProps, FieldDecorationProps {
|
|
2452
|
+
/**
|
|
2453
|
+
* Sets the virtual keyboard.
|
|
2454
|
+
*
|
|
2455
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
|
|
2456
|
+
* @default 'decimal'
|
|
2457
|
+
*/
|
|
2458
|
+
inputMode?: "decimal" | "numeric";
|
|
2459
|
+
}
|
|
2460
|
+
export type NumberAutocompleteField = ExtractStrict<AnyAutocompleteField, "one-time-code" | "cc-number" | "cc-csc">;
|
|
2461
|
+
interface OptionProps$1 extends GlobalProps, BaseOptionProps {
|
|
2462
|
+
/**
|
|
2463
|
+
* The content to use as the label.
|
|
2464
|
+
*/
|
|
2465
|
+
children?: ComponentChildren;
|
|
2466
|
+
}
|
|
1847
2467
|
interface OrderedListProps$1 extends GlobalProps {
|
|
1848
2468
|
}
|
|
1849
|
-
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps
|
|
2469
|
+
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps {
|
|
1850
2470
|
/**
|
|
1851
2471
|
* The content of the Text.
|
|
1852
2472
|
*/
|
|
@@ -1878,6 +2498,9 @@ export type ParagraphType =
|
|
|
1878
2498
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
1879
2499
|
*/
|
|
1880
2500
|
| "small";
|
|
2501
|
+
interface PasswordFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<PasswordAutocompleteField> {
|
|
2502
|
+
}
|
|
2503
|
+
export type PasswordAutocompleteField = ExtractStrict<AnyAutocompleteField, "new-password" | "current-password">;
|
|
1881
2504
|
interface PaymentIconProps$1 extends GlobalProps {
|
|
1882
2505
|
/**
|
|
1883
2506
|
* The icon type of the payment method
|
|
@@ -1895,6 +2518,36 @@ interface PaymentIconProps$1 extends GlobalProps {
|
|
|
1895
2518
|
accessibilityLabel?: string;
|
|
1896
2519
|
}
|
|
1897
2520
|
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";
|
|
2521
|
+
interface PopoverProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, SizingProps {
|
|
2522
|
+
/**
|
|
2523
|
+
* The content of the popover.
|
|
2524
|
+
*/
|
|
2525
|
+
children?: ComponentChildren;
|
|
2526
|
+
}
|
|
2527
|
+
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2528
|
+
/**
|
|
2529
|
+
* Decorates the product thumbnail with the quantity of the product.
|
|
2530
|
+
*/
|
|
2531
|
+
totalItems?: number;
|
|
2532
|
+
/**
|
|
2533
|
+
* Adjusts the size the product thumbnail image.
|
|
2534
|
+
*
|
|
2535
|
+
* @default 'base'
|
|
2536
|
+
*/
|
|
2537
|
+
size?: SizeKeyword;
|
|
2538
|
+
/**
|
|
2539
|
+
* Invoked when load of provided image completes successfully.
|
|
2540
|
+
*
|
|
2541
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2542
|
+
*/
|
|
2543
|
+
onLoad?: (event: Event) => void;
|
|
2544
|
+
/**
|
|
2545
|
+
* Invoked on load error of provided image.
|
|
2546
|
+
*
|
|
2547
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2548
|
+
*/
|
|
2549
|
+
onError?: (event: Event) => void;
|
|
2550
|
+
}
|
|
1898
2551
|
interface ProgressProps$1 extends GlobalProps {
|
|
1899
2552
|
/**
|
|
1900
2553
|
* A label that describes the purpose of the progress. When set,
|
|
@@ -1972,7 +2625,7 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
1972
2625
|
* Invoked when the conversion of `content` to a QR code fails.
|
|
1973
2626
|
* If an error occurs, the QR code and its child elements will not be displayed.
|
|
1974
2627
|
*/
|
|
1975
|
-
onError?: () => void;
|
|
2628
|
+
onError?: (event: Event) => void;
|
|
1976
2629
|
/**
|
|
1977
2630
|
* URL of an image to be displayed in the center of the QR code.
|
|
1978
2631
|
* This is useful for branding or to indicate to the user what scanning the QR code will do.
|
|
@@ -1980,7 +2633,25 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
1980
2633
|
*/
|
|
1981
2634
|
logo?: string;
|
|
1982
2635
|
}
|
|
1983
|
-
|
|
2636
|
+
export type OverflowKeyword = "auto" | "hidden";
|
|
2637
|
+
interface ScrollBoxProps$1 extends GlobalProps, Omit<BaseBoxPropsWithRole, "overflow"> {
|
|
2638
|
+
/**
|
|
2639
|
+
* Sets the overflow behavior of the element.
|
|
2640
|
+
*
|
|
2641
|
+
* - `hidden`: clips the content when it is larger than the element’s container and the element will not be scrollable in that axis.
|
|
2642
|
+
* - `auto`: clips the content when it is larger than the element’s container and make it scrollable in that axis.
|
|
2643
|
+
*
|
|
2644
|
+
* 1-to-2-value syntax is supported but note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
2645
|
+
*
|
|
2646
|
+
* - 2 values: `block inline`
|
|
2647
|
+
*
|
|
2648
|
+
* @default 'auto'
|
|
2649
|
+
*
|
|
2650
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow
|
|
2651
|
+
*/
|
|
2652
|
+
overflow?: OverflowKeyword | `${OverflowKeyword} ${OverflowKeyword}`;
|
|
2653
|
+
}
|
|
2654
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
1984
2655
|
/**
|
|
1985
2656
|
* The content of the Section.
|
|
1986
2657
|
*/
|
|
@@ -2010,6 +2681,74 @@ interface SectionProps$1 extends GlobalProps, ContainerProps {
|
|
|
2010
2681
|
*/
|
|
2011
2682
|
padding?: "base" | "none";
|
|
2012
2683
|
}
|
|
2684
|
+
interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteField>, Pick<FieldDecorationProps, "icon">, Omit<FieldProps, "defaultValue">, FocusEventProps {
|
|
2685
|
+
/**
|
|
2686
|
+
* The options a user can select from.
|
|
2687
|
+
*
|
|
2688
|
+
* Accepts `Option` and `OptionGroup` components.
|
|
2689
|
+
*/
|
|
2690
|
+
children?: ComponentChildren;
|
|
2691
|
+
}
|
|
2692
|
+
interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, GlobalProps, ActionSlots {
|
|
2693
|
+
/**
|
|
2694
|
+
* A label that describes the purpose of the sheet. When set,
|
|
2695
|
+
* it will be announced to users using assistive technologies and will
|
|
2696
|
+
* provide them with more context.
|
|
2697
|
+
*
|
|
2698
|
+
* This overrides the `heading` prop for screen readers.
|
|
2699
|
+
*/
|
|
2700
|
+
accessibilityLabel?: string;
|
|
2701
|
+
/**
|
|
2702
|
+
* The content of the Sheet.
|
|
2703
|
+
*/
|
|
2704
|
+
children?: ComponentChildren;
|
|
2705
|
+
/**
|
|
2706
|
+
* Indicates whether the Sheet should be open by default.
|
|
2707
|
+
* This property is necessary in some cases, but its usage is generally discouraged due to potential negative impacts on user experience.
|
|
2708
|
+
*
|
|
2709
|
+
* Developers should:
|
|
2710
|
+
* - Only set this property to true when there are vitally important behaviors of the application that depend on the user interacting with the sheet.
|
|
2711
|
+
* - 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.
|
|
2712
|
+
*
|
|
2713
|
+
* This property is useful for when the Sheet needs to be rendered on the page load and not triggered by a user action.
|
|
2714
|
+
* The property should only take effect when the `Sheet` is rendered for the first time.
|
|
2715
|
+
* To toggle the Sheet after it has been rendered, use the `ui.showOverlay()` method instead.
|
|
2716
|
+
*
|
|
2717
|
+
* @default false
|
|
2718
|
+
*/
|
|
2719
|
+
defaultOpen?: boolean;
|
|
2720
|
+
/**
|
|
2721
|
+
* A title that describes the content of the sheet.
|
|
2722
|
+
*/
|
|
2723
|
+
heading?: string;
|
|
2724
|
+
/**
|
|
2725
|
+
* Adjust the padding of all edges.
|
|
2726
|
+
*
|
|
2727
|
+
* `base`: applies padding that is appropriate for the element. Note that it may result in no padding if Shopify
|
|
2728
|
+
* believes this is the right design decision in a particular context.
|
|
2729
|
+
*
|
|
2730
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Sheet need to span
|
|
2731
|
+
* to the edge of the Sheet. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
2732
|
+
* to bring back the desired padding for the rest of the content.
|
|
2733
|
+
*
|
|
2734
|
+
* @default 'base'
|
|
2735
|
+
*/
|
|
2736
|
+
padding?: "base" | "none";
|
|
2737
|
+
}
|
|
2738
|
+
interface SkeletonParagraphProps$1 extends GlobalProps {
|
|
2739
|
+
/**
|
|
2740
|
+
* The content to be used as a base for the skeleton. This content will be hidden when the skeleton is visible.
|
|
2741
|
+
*
|
|
2742
|
+
* This can be useful when the skeleton is representing a known piece of content which is part of a larger
|
|
2743
|
+
* element that has not yet fully loaded.
|
|
2744
|
+
*
|
|
2745
|
+
* @implementation When `content` is specified, the visual skeleton should be the size of the content. The element should
|
|
2746
|
+
* still be a block layout.
|
|
2747
|
+
*
|
|
2748
|
+
* @default ''
|
|
2749
|
+
*/
|
|
2750
|
+
content?: string;
|
|
2751
|
+
}
|
|
2013
2752
|
interface SpinnerProps$1 extends GlobalProps {
|
|
2014
2753
|
/**
|
|
2015
2754
|
* Adjusts the size of the spinner icon.
|
|
@@ -2026,7 +2765,7 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2026
2765
|
*/
|
|
2027
2766
|
accessibilityLabel?: string;
|
|
2028
2767
|
}
|
|
2029
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
2768
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2030
2769
|
/**
|
|
2031
2770
|
* The content of the Stack.
|
|
2032
2771
|
*/
|
|
@@ -2061,6 +2800,24 @@ interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2061
2800
|
*/
|
|
2062
2801
|
alignContent?: AlignContentKeyword;
|
|
2063
2802
|
}
|
|
2803
|
+
interface SummaryProps$1 extends GlobalProps {
|
|
2804
|
+
/**
|
|
2805
|
+
* The content to use as the label.
|
|
2806
|
+
*
|
|
2807
|
+
* Interactive content is disallowed. For example, you can use a `<Text>` element for extra formatting but
|
|
2808
|
+
* elements like buttons and fields are not allowed.
|
|
2809
|
+
*
|
|
2810
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
|
|
2811
|
+
*
|
|
2812
|
+
* @implementation Surfaces may apply styling to this element. An icon suggesting the state (open or closed) of the
|
|
2813
|
+
* details element is recommended.
|
|
2814
|
+
*
|
|
2815
|
+
* @implementation Surface may decide to warn when interactive elements are used.
|
|
2816
|
+
*/
|
|
2817
|
+
children?: ComponentChildren;
|
|
2818
|
+
}
|
|
2819
|
+
interface SwitchProps$1 extends GlobalProps, BaseCheckableProps, BasicFieldProps, FieldDetailsProps, FieldErrorProps {
|
|
2820
|
+
}
|
|
2064
2821
|
interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTypographyProps, DisplayProps {
|
|
2065
2822
|
/**
|
|
2066
2823
|
* The content of the Text.
|
|
@@ -2157,9 +2914,17 @@ export type TextType =
|
|
|
2157
2914
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
|
|
2158
2915
|
*/
|
|
2159
2916
|
| "generic";
|
|
2917
|
+
interface TextAreaProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField> {
|
|
2918
|
+
/**
|
|
2919
|
+
* A number of visible text lines.
|
|
2920
|
+
*
|
|
2921
|
+
* @default 2
|
|
2922
|
+
*/
|
|
2923
|
+
rows?: number;
|
|
2924
|
+
}
|
|
2160
2925
|
interface TextFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField>, FieldDecorationProps {
|
|
2161
2926
|
}
|
|
2162
|
-
interface TimeProps$1 {
|
|
2927
|
+
interface TimeProps$1 extends GlobalProps {
|
|
2163
2928
|
/**
|
|
2164
2929
|
* The content of the Time.
|
|
2165
2930
|
*/
|
|
@@ -2177,60 +2942,107 @@ interface TimeProps$1 {
|
|
|
2177
2942
|
}
|
|
2178
2943
|
interface UnorderedListProps$1 extends GlobalProps {
|
|
2179
2944
|
}
|
|
2945
|
+
export interface URLFieldProps extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<URLAutocompleteField> {
|
|
2946
|
+
}
|
|
2947
|
+
export type URLAutocompleteField = ExtractStrict<AnyAutocompleteField, "url" | "photo" | "impp" | `${AutocompleteAddressGroup} impp`>;
|
|
2180
2948
|
|
|
2181
2949
|
|
|
2182
2950
|
|
|
2951
|
+
import { ReactNode } from 'react';
|
|
2952
|
+
|
|
2953
|
+
type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
2954
|
+
type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
2955
|
+
type ReducedJustifyContentKeyword = Extract<JustifyContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
2956
|
+
type ReducedJustifyItemsKeyword = Extract<JustifyItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
2957
|
+
type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
2958
|
+
type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
2959
|
+
type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
2960
|
+
/**
|
|
2961
|
+
* Used when an element does not have children.
|
|
2962
|
+
*/
|
|
2963
|
+
interface BaseElementProps<TClass = HTMLElement> {
|
|
2964
|
+
key?: preact.Key;
|
|
2965
|
+
ref?: preact.Ref<TClass>;
|
|
2966
|
+
slot?: Lowercase<string>;
|
|
2967
|
+
}
|
|
2968
|
+
/**
|
|
2969
|
+
* Used when an element has children.
|
|
2970
|
+
*/
|
|
2971
|
+
interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
2972
|
+
children?: preact.ComponentChildren;
|
|
2973
|
+
}
|
|
2974
|
+
/**
|
|
2975
|
+
* The list of available icon types.
|
|
2976
|
+
*
|
|
2977
|
+
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
2978
|
+
*/
|
|
2979
|
+
type ReducedIconTypes = Extract<IconType, 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x'>;
|
|
2183
2980
|
|
|
2184
|
-
|
|
2981
|
+
declare const tagName$M = "s-abbreviation";
|
|
2982
|
+
interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title' | 'id'> {
|
|
2185
2983
|
}
|
|
2186
2984
|
interface AbbreviationElement extends AbbreviationProps, Omit<HTMLElement, 'id' | 'title'> {
|
|
2187
2985
|
}
|
|
2188
2986
|
declare global {
|
|
2189
2987
|
interface HTMLElementTagNameMap {
|
|
2190
|
-
's-abbreviation': AbbreviationElement;
|
|
2191
2988
|
}
|
|
2192
2989
|
}
|
|
2193
2990
|
declare module 'preact' {
|
|
2194
|
-
interface BaseProps {
|
|
2195
|
-
children?: preact.ComponentChildren;
|
|
2196
|
-
slot?: Lowercase<string>;
|
|
2197
|
-
}
|
|
2198
2991
|
namespace createElement.JSX {
|
|
2199
2992
|
interface IntrinsicElements {
|
|
2200
|
-
|
|
2993
|
+
[tagName$M]: AbbreviationProps & BaseElementPropsWithChildren<AbbreviationElement>;
|
|
2201
2994
|
}
|
|
2202
2995
|
}
|
|
2203
2996
|
}
|
|
2204
2997
|
|
|
2205
|
-
|
|
2206
|
-
|
|
2998
|
+
declare const tagName$L = "s-badge";
|
|
2999
|
+
interface BadgeProps extends Pick<BadgeProps$1, 'id' | 'tone' | 'iconPosition'> {
|
|
3000
|
+
size?: Extract<BadgeProps$1['size'], 'small' | 'small-100' | 'base'>;
|
|
3001
|
+
tone?: Extract<BadgeProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3002
|
+
color?: Extract<BadgeProps$1['color'], 'base' | 'subdued'>;
|
|
3003
|
+
icon?: '' | ReducedIconTypes;
|
|
2207
3004
|
}
|
|
2208
|
-
interface
|
|
2209
|
-
onafterhide: BannerProps['onAfterHide'];
|
|
2210
|
-
ondismiss: BannerProps['onDismiss'];
|
|
3005
|
+
interface BadgeElement extends BadgeProps, Omit<HTMLElement, 'id'> {
|
|
2211
3006
|
}
|
|
2212
3007
|
declare global {
|
|
2213
3008
|
interface HTMLElementTagNameMap {
|
|
2214
|
-
|
|
3009
|
+
[tagName$L]: BadgeElement;
|
|
2215
3010
|
}
|
|
2216
3011
|
}
|
|
2217
3012
|
declare module 'preact' {
|
|
2218
|
-
interface BaseProps {
|
|
2219
|
-
children?: preact.ComponentChildren;
|
|
2220
|
-
slot?: Lowercase<string>;
|
|
2221
|
-
}
|
|
2222
3013
|
namespace createElement.JSX {
|
|
2223
3014
|
interface IntrinsicElements {
|
|
2224
|
-
|
|
3015
|
+
[tagName$L]: BadgeProps & BaseElementPropsWithChildren<BadgeElement>;
|
|
2225
3016
|
}
|
|
2226
3017
|
}
|
|
2227
3018
|
}
|
|
2228
3019
|
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
3020
|
+
declare const tagName$K = "s-banner";
|
|
3021
|
+
interface BannerElementProps extends Pick<BannerProps$1, 'collapsible' | 'dismissible' | 'heading' | 'hidden' | 'id' | 'tone'> {
|
|
3022
|
+
tone?: Extract<BannerProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical'>;
|
|
3023
|
+
}
|
|
3024
|
+
interface BannerEvents extends Pick<BannerProps$1, 'onAfterHide' | 'onDismiss'> {
|
|
3025
|
+
}
|
|
3026
|
+
interface BannerElement extends BannerElementProps, Omit<HTMLElement, 'id' | 'title' | 'hidden'> {
|
|
3027
|
+
onafterhide: BannerEvents['onAfterHide'];
|
|
3028
|
+
ondismiss: BannerEvents['onDismiss'];
|
|
3029
|
+
}
|
|
3030
|
+
interface BannerProps extends BannerElementProps, BannerEvents {
|
|
3031
|
+
}
|
|
3032
|
+
declare global {
|
|
3033
|
+
interface HTMLElementTagNameMap {
|
|
3034
|
+
}
|
|
3035
|
+
}
|
|
3036
|
+
declare module 'preact' {
|
|
3037
|
+
namespace createElement.JSX {
|
|
3038
|
+
interface IntrinsicElements {
|
|
3039
|
+
[tagName$K]: BannerProps & BaseElementPropsWithChildren<BannerElement>;
|
|
3040
|
+
}
|
|
3041
|
+
}
|
|
3042
|
+
}
|
|
2232
3043
|
|
|
2233
|
-
|
|
3044
|
+
declare const tagName$J = "s-box";
|
|
3045
|
+
interface BoxProps extends Pick<BoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
2234
3046
|
background?: Extract<BoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
2235
3047
|
border?: BorderShorthand;
|
|
2236
3048
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
@@ -2240,152 +3052,331 @@ interface BoxElement extends BoxProps, Omit<HTMLElement, 'id'> {
|
|
|
2240
3052
|
}
|
|
2241
3053
|
declare global {
|
|
2242
3054
|
interface HTMLElementTagNameMap {
|
|
2243
|
-
's-box': BoxElement;
|
|
2244
3055
|
}
|
|
2245
3056
|
}
|
|
2246
3057
|
declare module 'preact' {
|
|
2247
|
-
interface BaseProps {
|
|
2248
|
-
children?: preact.ComponentChildren;
|
|
2249
|
-
slot?: Lowercase<string>;
|
|
2250
|
-
}
|
|
2251
3058
|
namespace createElement.JSX {
|
|
2252
3059
|
interface IntrinsicElements {
|
|
2253
|
-
|
|
3060
|
+
[tagName$J]: BoxProps & BaseElementPropsWithChildren<BoxElement>;
|
|
2254
3061
|
}
|
|
2255
3062
|
}
|
|
2256
3063
|
}
|
|
2257
3064
|
|
|
2258
|
-
|
|
2259
|
-
|
|
3065
|
+
declare const tagName$I = "s-button";
|
|
3066
|
+
interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
|
|
3067
|
+
target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
|
|
2260
3068
|
tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
2261
3069
|
type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
|
|
2262
3070
|
variant?: Extract<ButtonProps$1['variant'], 'auto' | 'primary' | 'secondary'>;
|
|
2263
3071
|
}
|
|
2264
|
-
interface
|
|
2265
|
-
|
|
3072
|
+
interface ButtonEvents extends Pick<ButtonProps$1, 'onClick'> {
|
|
3073
|
+
}
|
|
3074
|
+
interface ButtonElement extends ButtonElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
3075
|
+
onclick: ButtonEvents['onClick'];
|
|
3076
|
+
}
|
|
3077
|
+
interface ButtonProps extends ButtonElementProps, ButtonEvents {
|
|
2266
3078
|
}
|
|
2267
3079
|
declare global {
|
|
2268
3080
|
interface HTMLElementTagNameMap {
|
|
2269
|
-
's-button': ButtonElement;
|
|
2270
3081
|
}
|
|
2271
3082
|
}
|
|
2272
3083
|
declare module 'preact' {
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
3084
|
+
namespace createElement.JSX {
|
|
3085
|
+
interface IntrinsicElements {
|
|
3086
|
+
[tagName$I]: ButtonProps & BaseElementPropsWithChildren<ButtonElement>;
|
|
3087
|
+
}
|
|
3088
|
+
}
|
|
3089
|
+
}
|
|
3090
|
+
|
|
3091
|
+
declare const tagName$H = "s-checkbox";
|
|
3092
|
+
interface CheckboxElementProps extends Pick<CheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'required' | 'value'> {
|
|
3093
|
+
command?: Extract<CheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3094
|
+
}
|
|
3095
|
+
interface CheckboxEvents extends Pick<CheckboxProps$1, 'onChange'> {
|
|
3096
|
+
}
|
|
3097
|
+
interface CheckboxElement extends CheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3098
|
+
onchange: CheckboxEvents['onChange'];
|
|
3099
|
+
}
|
|
3100
|
+
interface CheckboxProps extends CheckboxElementProps, CheckboxEvents {
|
|
3101
|
+
}
|
|
3102
|
+
declare global {
|
|
3103
|
+
interface HTMLElementTagNameMap {
|
|
3104
|
+
[tagName$H]: CheckboxElement;
|
|
3105
|
+
}
|
|
3106
|
+
}
|
|
3107
|
+
declare module 'preact' {
|
|
3108
|
+
namespace createElement.JSX {
|
|
3109
|
+
interface IntrinsicElements {
|
|
3110
|
+
[tagName$H]: CheckboxProps & BaseElementProps<CheckboxElement>;
|
|
3111
|
+
}
|
|
3112
|
+
}
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
declare const tagName$G = "s-clickable";
|
|
3116
|
+
interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
|
|
3117
|
+
background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3118
|
+
border?: BorderShorthand;
|
|
3119
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3120
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ClickableProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3121
|
+
target?: Extract<ClickableProps$1['target'], 'auto' | '_blank'>;
|
|
3122
|
+
type?: Extract<ClickableProps$1['type'], 'submit' | 'button'>;
|
|
3123
|
+
}
|
|
3124
|
+
interface ClickableEvents extends Pick<ClickableProps$1, 'onBlur' | 'onClick' | 'onFocus'> {
|
|
3125
|
+
}
|
|
3126
|
+
interface ClickableElement extends ClickableElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
3127
|
+
onblur: ClickableEvents['onBlur'];
|
|
3128
|
+
onclick: ClickableEvents['onClick'];
|
|
3129
|
+
onfocus: ClickableEvents['onFocus'];
|
|
3130
|
+
}
|
|
3131
|
+
interface ClickableProps extends ClickableElementProps, ClickableEvents {
|
|
3132
|
+
}
|
|
3133
|
+
declare global {
|
|
3134
|
+
interface HTMLElementTagNameMap {
|
|
3135
|
+
[tagName$G]: ClickableElement;
|
|
2276
3136
|
}
|
|
3137
|
+
}
|
|
3138
|
+
declare module 'preact' {
|
|
3139
|
+
namespace createElement.JSX {
|
|
3140
|
+
interface IntrinsicElements {
|
|
3141
|
+
[tagName$G]: ClickableProps & BaseElementPropsWithChildren<ClickableElement>;
|
|
3142
|
+
}
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
declare const tagName$F = "s-clipboard-item";
|
|
3147
|
+
interface ClipboardItemElementProps extends Pick<ClipboardItemProps$1, 'id' | 'text'> {
|
|
3148
|
+
}
|
|
3149
|
+
interface ClipboardItemEvents extends Pick<ClipboardItemProps$1, 'onCopy' | 'onCopyError'> {
|
|
3150
|
+
}
|
|
3151
|
+
interface ClipboardItemElement extends ClipboardItemElementProps, Omit<HTMLElement, 'id' | 'oncopy'> {
|
|
3152
|
+
oncopy: ClipboardItemEvents['onCopy'];
|
|
3153
|
+
oncopyerror: ClipboardItemEvents['onCopyError'];
|
|
3154
|
+
}
|
|
3155
|
+
interface ClipboardItemProps extends ClipboardItemElementProps, ClipboardItemEvents {
|
|
3156
|
+
}
|
|
3157
|
+
declare global {
|
|
3158
|
+
interface HTMLElementTagNameMap {
|
|
3159
|
+
}
|
|
3160
|
+
}
|
|
3161
|
+
declare module 'preact' {
|
|
3162
|
+
namespace createElement.JSX {
|
|
3163
|
+
interface IntrinsicElements {
|
|
3164
|
+
[tagName$F]: ClipboardItemProps & BaseElementProps<ClipboardItemElement>;
|
|
3165
|
+
}
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
|
|
3169
|
+
declare const tagName$E = "s-details";
|
|
3170
|
+
interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'open' | 'id' | 'toggleTransition'> {
|
|
3171
|
+
}
|
|
3172
|
+
interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle'> {
|
|
3173
|
+
}
|
|
3174
|
+
interface DetailsElement extends Omit<HTMLElement, 'ontoggle' | 'id'> {
|
|
3175
|
+
ontoggle: DetailsEvents['onToggle'];
|
|
3176
|
+
}
|
|
3177
|
+
interface DetailsProps extends DetailsElementProps, DetailsEvents {
|
|
3178
|
+
}
|
|
3179
|
+
declare global {
|
|
3180
|
+
interface HTMLElementTagNameMap {
|
|
3181
|
+
[tagName$E]: DetailsElement;
|
|
3182
|
+
}
|
|
3183
|
+
}
|
|
3184
|
+
declare module 'preact' {
|
|
2277
3185
|
namespace createElement.JSX {
|
|
2278
3186
|
interface IntrinsicElements {
|
|
2279
|
-
|
|
3187
|
+
[tagName$E]: DetailsProps & BaseElementPropsWithChildren<DetailsElement>;
|
|
2280
3188
|
}
|
|
2281
3189
|
}
|
|
2282
3190
|
}
|
|
2283
3191
|
|
|
2284
|
-
|
|
3192
|
+
declare const tagName$D = "s-divider";
|
|
3193
|
+
interface DividerProps extends DividerProps$1 {
|
|
2285
3194
|
}
|
|
2286
|
-
interface
|
|
2287
|
-
oncopy: ClipboardItemProps['onCopy'];
|
|
2288
|
-
oncopyerror: ClipboardItemProps['onCopyError'];
|
|
3195
|
+
interface DividerElement extends DividerProps, Omit<HTMLElement, 'id'> {
|
|
2289
3196
|
}
|
|
2290
3197
|
declare global {
|
|
2291
3198
|
interface HTMLElementTagNameMap {
|
|
2292
|
-
|
|
3199
|
+
[tagName$D]: DividerElement;
|
|
2293
3200
|
}
|
|
2294
3201
|
}
|
|
2295
3202
|
declare module 'preact' {
|
|
2296
3203
|
namespace createElement.JSX {
|
|
2297
3204
|
interface IntrinsicElements {
|
|
2298
|
-
|
|
3205
|
+
[tagName$D]: DividerProps$1;
|
|
2299
3206
|
}
|
|
2300
3207
|
}
|
|
2301
3208
|
}
|
|
2302
3209
|
|
|
2303
|
-
|
|
3210
|
+
declare const tagName$C = "s-drop-zone";
|
|
3211
|
+
interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required'> {
|
|
3212
|
+
}
|
|
3213
|
+
interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput'> {
|
|
3214
|
+
}
|
|
3215
|
+
interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput'> {
|
|
3216
|
+
ondroprejected: DropZoneEvents['onDropRejected'];
|
|
3217
|
+
oninput: DropZoneEvents['onInput'];
|
|
2304
3218
|
}
|
|
2305
|
-
interface
|
|
2306
|
-
ondroprejected: DropZoneProps['onDropRejected'];
|
|
2307
|
-
oninput: DropZoneProps['onInput'];
|
|
3219
|
+
interface DropZoneProps extends DropZoneElementProps, DropZoneEvents {
|
|
2308
3220
|
}
|
|
2309
3221
|
declare global {
|
|
2310
3222
|
interface HTMLElementTagNameMap {
|
|
2311
|
-
's-drop-zone': DropZoneElement;
|
|
2312
3223
|
}
|
|
2313
3224
|
}
|
|
2314
3225
|
declare module 'preact' {
|
|
2315
3226
|
namespace createElement.JSX {
|
|
2316
3227
|
interface IntrinsicElements {
|
|
2317
|
-
|
|
3228
|
+
[tagName$C]: DropZoneProps & BaseElementProps<DropZoneElement>;
|
|
2318
3229
|
}
|
|
2319
3230
|
}
|
|
2320
3231
|
}
|
|
2321
3232
|
|
|
2322
|
-
|
|
3233
|
+
declare const tagName$B = "s-email-field";
|
|
3234
|
+
interface EmailFieldElementProps extends Pick<EmailFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'maxLength' | 'minLength' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
3235
|
+
/**
|
|
3236
|
+
* @deprecated Use `label` instead.
|
|
3237
|
+
* @private
|
|
3238
|
+
*/
|
|
3239
|
+
placeholder?: string;
|
|
3240
|
+
}
|
|
3241
|
+
interface EmailFieldEvents extends Pick<EmailFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3242
|
+
}
|
|
3243
|
+
interface EmailFieldElement extends EmailFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3244
|
+
onblur: EmailFieldEvents['onBlur'];
|
|
3245
|
+
onchange: EmailFieldEvents['onChange'];
|
|
3246
|
+
onfocus: EmailFieldEvents['onFocus'];
|
|
3247
|
+
oninput: EmailFieldEvents['onInput'];
|
|
3248
|
+
}
|
|
3249
|
+
interface EmailFieldProps extends EmailFieldElementProps, EmailFieldEvents {
|
|
3250
|
+
}
|
|
3251
|
+
declare global {
|
|
3252
|
+
interface HTMLElementTagNameMap {
|
|
3253
|
+
[tagName$B]: EmailFieldElement;
|
|
3254
|
+
}
|
|
3255
|
+
}
|
|
3256
|
+
declare module 'preact' {
|
|
3257
|
+
namespace createElement.JSX {
|
|
3258
|
+
interface IntrinsicElements {
|
|
3259
|
+
[tagName$B]: EmailFieldProps & BaseElementProps<EmailFieldElement>;
|
|
3260
|
+
}
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
3263
|
+
|
|
3264
|
+
declare const tagName$A = "s-form";
|
|
3265
|
+
interface FormElementProps extends Pick<FormProps$1, 'disabled' | 'id'> {
|
|
3266
|
+
}
|
|
3267
|
+
interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
3268
|
+
/**
|
|
3269
|
+
* A callback that is run when the form is submitted.
|
|
3270
|
+
*/
|
|
2323
3271
|
onSubmit?: () => void;
|
|
2324
3272
|
}
|
|
2325
|
-
interface FormElement extends
|
|
2326
|
-
onsubmit:
|
|
3273
|
+
interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
3274
|
+
onsubmit: FormEvents['onSubmit'];
|
|
3275
|
+
}
|
|
3276
|
+
interface FormProps extends FormElementProps, FormEvents {
|
|
2327
3277
|
}
|
|
2328
3278
|
declare global {
|
|
2329
3279
|
interface HTMLElementTagNameMap {
|
|
2330
|
-
's-form': FormElement;
|
|
2331
3280
|
}
|
|
2332
3281
|
}
|
|
2333
3282
|
declare module 'preact' {
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
3283
|
+
namespace createElement.JSX {
|
|
3284
|
+
interface IntrinsicElements {
|
|
3285
|
+
[tagName$A]: FormProps & BaseElementPropsWithChildren<FormElement>;
|
|
3286
|
+
}
|
|
3287
|
+
}
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
declare const tagName$z = "s-grid-item";
|
|
3291
|
+
interface GridItemProps extends Pick<GridItemProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'gridColumn' | 'gridRow' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
3292
|
+
background?: Extract<GridItemProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3293
|
+
border?: BorderShorthand;
|
|
3294
|
+
borderColor?: ReducedColorKeyword | '';
|
|
3295
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3296
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridItemProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3297
|
+
}
|
|
3298
|
+
interface GridItemElement extends GridItemProps, Omit<HTMLElement, 'id'> {
|
|
3299
|
+
}
|
|
3300
|
+
declare global {
|
|
3301
|
+
interface HTMLElementTagNameMap {
|
|
3302
|
+
[tagName$z]: GridItemElement;
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
declare module 'preact' {
|
|
3306
|
+
namespace createElement.JSX {
|
|
3307
|
+
interface IntrinsicElements {
|
|
3308
|
+
[tagName$z]: GridItemProps & BaseElementPropsWithChildren<GridItemElement>;
|
|
3309
|
+
}
|
|
3310
|
+
}
|
|
3311
|
+
}
|
|
3312
|
+
|
|
3313
|
+
declare const tagName$y = "s-grid";
|
|
3314
|
+
interface GridProps extends Pick<GridProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'display' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows' | 'id' | 'inlineSize' | 'justifyContent' | 'justifyItems' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'placeContent' | 'placeItems' | 'rowGap'> {
|
|
3315
|
+
alignContent?: ReducedAlignContentKeyword | '';
|
|
3316
|
+
alignItems?: ReducedAlignItemsKeyword | '';
|
|
3317
|
+
background?: Extract<GridProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3318
|
+
border?: BorderShorthand;
|
|
3319
|
+
borderColor?: ReducedColorKeyword | '';
|
|
3320
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3321
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3322
|
+
justifyContent?: ReducedJustifyContentKeyword | '';
|
|
3323
|
+
justifyItems?: ReducedJustifyItemsKeyword | '';
|
|
3324
|
+
placeContent?: `${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword;
|
|
3325
|
+
placeItems?: `${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword;
|
|
3326
|
+
}
|
|
3327
|
+
interface GridElement extends GridProps, Omit<HTMLElement, 'id'> {
|
|
3328
|
+
}
|
|
3329
|
+
declare global {
|
|
3330
|
+
interface HTMLElementTagNameMap {
|
|
3331
|
+
[tagName$y]: GridElement;
|
|
2337
3332
|
}
|
|
3333
|
+
}
|
|
3334
|
+
declare module 'preact' {
|
|
2338
3335
|
namespace createElement.JSX {
|
|
2339
3336
|
interface IntrinsicElements {
|
|
2340
|
-
|
|
3337
|
+
[tagName$y]: GridProps & BaseElementPropsWithChildren<GridElement>;
|
|
2341
3338
|
}
|
|
2342
3339
|
}
|
|
2343
3340
|
}
|
|
2344
3341
|
|
|
3342
|
+
declare const tagName$x = "s-heading";
|
|
2345
3343
|
interface HeadingProps extends Pick<HeadingProps$1, 'accessibilityRole' | 'id'> {
|
|
2346
3344
|
}
|
|
2347
3345
|
interface HeadingElement extends HeadingProps, Omit<HTMLElement, 'id'> {
|
|
2348
3346
|
}
|
|
2349
3347
|
declare global {
|
|
2350
3348
|
interface HTMLElementTagNameMap {
|
|
2351
|
-
's-heading': HeadingElement;
|
|
2352
3349
|
}
|
|
2353
3350
|
}
|
|
2354
3351
|
declare module 'preact' {
|
|
2355
|
-
interface BaseProps {
|
|
2356
|
-
children?: preact.ComponentChildren;
|
|
2357
|
-
slot?: Lowercase<string>;
|
|
2358
|
-
}
|
|
2359
3352
|
namespace createElement.JSX {
|
|
2360
3353
|
interface IntrinsicElements {
|
|
2361
|
-
|
|
3354
|
+
[tagName$x]: HeadingProps & BaseElementPropsWithChildren<HeadingElement>;
|
|
2362
3355
|
}
|
|
2363
3356
|
}
|
|
2364
3357
|
}
|
|
2365
3358
|
|
|
3359
|
+
declare const tagName$w = "s-icon";
|
|
2366
3360
|
interface IconProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
2367
3361
|
tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
2368
3362
|
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
2369
|
-
type?: '' |
|
|
3363
|
+
type?: '' | ReducedIconTypes;
|
|
2370
3364
|
}
|
|
2371
3365
|
interface IconElement extends IconProps, Omit<HTMLElement, 'id'> {
|
|
2372
3366
|
}
|
|
2373
3367
|
declare global {
|
|
2374
3368
|
interface HTMLElementTagNameMap {
|
|
2375
|
-
's-icon': IconElement;
|
|
2376
3369
|
}
|
|
2377
3370
|
}
|
|
2378
3371
|
declare module 'preact' {
|
|
2379
|
-
interface BaseProps {
|
|
2380
|
-
slot?: Lowercase<string>;
|
|
2381
|
-
}
|
|
2382
3372
|
namespace createElement.JSX {
|
|
2383
3373
|
interface IntrinsicElements {
|
|
2384
|
-
|
|
3374
|
+
[tagName$w]: IconProps & BaseElementProps<IconElement>;
|
|
2385
3375
|
}
|
|
2386
3376
|
}
|
|
2387
3377
|
}
|
|
2388
3378
|
|
|
3379
|
+
declare const tagName$v = "s-image";
|
|
2389
3380
|
interface ImageProps extends Pick<ImageProps$1, 'accessibilityRole' | 'alt' | 'aspectRatio' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'id' | 'inlineSize' | 'loading' | 'objectFit' | 'sizes' | 'src' | 'srcSet'> {
|
|
2390
3381
|
border?: BorderShorthand;
|
|
2391
3382
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
@@ -2395,86 +3386,217 @@ interface ImageElement extends ImageProps, Omit<HTMLElement, 'id'> {
|
|
|
2395
3386
|
}
|
|
2396
3387
|
declare global {
|
|
2397
3388
|
interface HTMLElementTagNameMap {
|
|
2398
|
-
's-image': ImageElement;
|
|
2399
3389
|
}
|
|
2400
3390
|
}
|
|
2401
3391
|
declare module 'preact' {
|
|
2402
|
-
interface BaseProps {
|
|
2403
|
-
slot?: Lowercase<string>;
|
|
2404
|
-
}
|
|
2405
3392
|
namespace createElement.JSX {
|
|
2406
3393
|
interface IntrinsicElements {
|
|
2407
|
-
|
|
3394
|
+
[tagName$v]: ImageProps & BaseElementProps<ImageElement>;
|
|
2408
3395
|
}
|
|
2409
3396
|
}
|
|
2410
3397
|
}
|
|
2411
3398
|
|
|
2412
|
-
|
|
2413
|
-
|
|
3399
|
+
declare const tagName$u = "s-link";
|
|
3400
|
+
interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'lang' | 'target' | 'tone'> {
|
|
3401
|
+
target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
|
|
2414
3402
|
tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
|
|
2415
3403
|
}
|
|
2416
|
-
interface
|
|
2417
|
-
|
|
3404
|
+
interface LinkEvents extends Pick<LinkProps$1, 'onClick'> {
|
|
3405
|
+
}
|
|
3406
|
+
interface LinkElement extends LinkElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onclick'> {
|
|
3407
|
+
onclick: LinkEvents['onClick'];
|
|
3408
|
+
}
|
|
3409
|
+
interface LinkProps extends LinkElementProps, LinkEvents {
|
|
2418
3410
|
}
|
|
2419
3411
|
declare global {
|
|
2420
3412
|
interface HTMLElementTagNameMap {
|
|
2421
|
-
's-link': LinkElement;
|
|
2422
3413
|
}
|
|
2423
3414
|
}
|
|
2424
3415
|
declare module 'preact' {
|
|
2425
|
-
interface BaseProps {
|
|
2426
|
-
children?: preact.ComponentChildren;
|
|
2427
|
-
slot?: Lowercase<string>;
|
|
2428
|
-
}
|
|
2429
3416
|
namespace createElement.JSX {
|
|
2430
3417
|
interface IntrinsicElements {
|
|
2431
|
-
|
|
3418
|
+
[tagName$u]: LinkProps & BaseElementPropsWithChildren<LinkElement>;
|
|
2432
3419
|
}
|
|
2433
3420
|
}
|
|
2434
3421
|
}
|
|
2435
3422
|
|
|
3423
|
+
declare const tagName$t = "s-list-item";
|
|
2436
3424
|
interface ListItemProps extends Pick<ListItemProps$1, 'id'> {
|
|
2437
3425
|
}
|
|
2438
|
-
interface
|
|
3426
|
+
interface ListItemElement extends ListItemProps, Omit<HTMLElement, 'id'> {
|
|
2439
3427
|
}
|
|
2440
3428
|
declare global {
|
|
2441
3429
|
interface HTMLElementTagNameMap {
|
|
2442
|
-
's-list-item': ListItem;
|
|
2443
3430
|
}
|
|
2444
3431
|
}
|
|
2445
3432
|
declare module 'preact' {
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
3433
|
+
namespace createElement.JSX {
|
|
3434
|
+
interface IntrinsicElements {
|
|
3435
|
+
[tagName$t]: ListItemProps & BaseElementPropsWithChildren<ListItemElement>;
|
|
3436
|
+
}
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
|
|
3440
|
+
declare const tagName$s = "s-map-marker";
|
|
3441
|
+
interface MapMarkerElementProps extends Pick<MapMarkerProps$1, 'accessibilityLabel' | 'blockSize' | 'command' | 'commandFor' | 'clusterable' | 'inlineSize' | 'latitude' | 'longitude'> {
|
|
3442
|
+
command?: Extract<MapMarkerProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3443
|
+
}
|
|
3444
|
+
interface MapMarkerEvents extends Pick<MapMarkerProps$1, 'onClick'> {
|
|
3445
|
+
}
|
|
3446
|
+
interface MapMarkerSlots {
|
|
3447
|
+
/**
|
|
3448
|
+
* The graphic to use as the marker.
|
|
3449
|
+
*
|
|
3450
|
+
* If unset, it will default to the provider’s default marker.
|
|
3451
|
+
*/
|
|
3452
|
+
graphic?: ReactNode;
|
|
3453
|
+
}
|
|
3454
|
+
interface MapMarkerElement extends MapMarkerElementProps, MapMarkerSlots, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
3455
|
+
onclick: MapMarkerEvents['onClick'];
|
|
3456
|
+
}
|
|
3457
|
+
interface MapMarkerProps extends MapMarkerElementProps, MapMarkerEvents {
|
|
3458
|
+
}
|
|
3459
|
+
declare global {
|
|
3460
|
+
interface HTMLElementTagNameMap {
|
|
3461
|
+
[tagName$s]: MapMarkerElement;
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
declare module 'preact' {
|
|
3465
|
+
namespace createElement.JSX {
|
|
3466
|
+
interface IntrinsicElements {
|
|
3467
|
+
[tagName$s]: MapMarkerProps & BaseElementProps<MapMarkerElement>;
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3470
|
+
}
|
|
3471
|
+
|
|
3472
|
+
declare const tagName$r = "s-map";
|
|
3473
|
+
interface MapElementProps extends Pick<MapProps$1, 'accessibilityLabel' | 'apiKey' | 'blockSize' | 'id' | 'inlineSize' | 'latitude' | 'longitude' | 'maxBlockSize' | 'maxInlineSize' | 'maxZoom' | 'minBlockSize' | 'minInlineSize' | 'minZoom' | 'zoom'> {
|
|
3474
|
+
}
|
|
3475
|
+
interface MapEvents extends Pick<MapProps$1, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'> {
|
|
3476
|
+
}
|
|
3477
|
+
interface MapElement extends MapElementProps, Omit<HTMLElement, 'id' | 'onclick' | 'ondblclick'> {
|
|
3478
|
+
onboundschange: MapEvents['onBoundsChange'];
|
|
3479
|
+
onclick: MapEvents['onClick'];
|
|
3480
|
+
ondblclick: MapEvents['onDblClick'];
|
|
3481
|
+
onviewchange: MapEvents['onViewChange'];
|
|
3482
|
+
}
|
|
3483
|
+
interface MapProps extends MapElementProps, MapEvents {
|
|
3484
|
+
}
|
|
3485
|
+
declare global {
|
|
3486
|
+
interface HTMLElementTagNameMap {
|
|
3487
|
+
[tagName$r]: MapElement;
|
|
3488
|
+
}
|
|
3489
|
+
}
|
|
3490
|
+
declare module 'preact' {
|
|
3491
|
+
namespace createElement.JSX {
|
|
3492
|
+
interface IntrinsicElements {
|
|
3493
|
+
[tagName$r]: MapProps & BaseElementPropsWithChildren<MapElement>;
|
|
3494
|
+
}
|
|
3495
|
+
}
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
declare const tagName$q = "s-modal";
|
|
3499
|
+
interface ModalElementProps extends Pick<ModalProps$1, 'accessibilityLabel' | 'heading' | 'id' | 'padding' | 'size'> {
|
|
3500
|
+
size?: Extract<ModalProps$1['size'], 'small-100' | 'small' | 'base' | 'large-100' | 'large' | 'max'>;
|
|
3501
|
+
}
|
|
3502
|
+
interface ModalSlots extends Pick<ModalProps$1, 'primaryAction' | 'secondaryActions'> {
|
|
3503
|
+
/**
|
|
3504
|
+
* The primary action to perform, provided as a button type element.
|
|
3505
|
+
*/
|
|
3506
|
+
primaryAction?: ReactNode;
|
|
3507
|
+
/**
|
|
3508
|
+
* The secondary actions to perform, provided as button type elements.
|
|
3509
|
+
*/
|
|
3510
|
+
secondaryActions?: ReactNode;
|
|
3511
|
+
}
|
|
3512
|
+
interface ModalEvents extends Pick<ModalProps$1, 'onHide' | 'onShow'> {
|
|
3513
|
+
}
|
|
3514
|
+
interface ModalElement extends ModalElementProps, ModalSlots, Omit<HTMLElement, 'id'> {
|
|
3515
|
+
onhide: ModalEvents['onHide'];
|
|
3516
|
+
onshow: ModalEvents['onShow'];
|
|
3517
|
+
}
|
|
3518
|
+
interface ModalProps extends ModalElementProps, ModalSlots, ModalEvents {
|
|
3519
|
+
}
|
|
3520
|
+
declare global {
|
|
3521
|
+
interface HTMLElementTagNameMap {
|
|
3522
|
+
[tagName$q]: ModalElement;
|
|
2449
3523
|
}
|
|
3524
|
+
}
|
|
3525
|
+
declare module 'preact' {
|
|
2450
3526
|
namespace createElement.JSX {
|
|
2451
3527
|
interface IntrinsicElements {
|
|
2452
|
-
|
|
3528
|
+
[tagName$q]: ModalProps & BaseElementPropsWithChildren<ModalElement>;
|
|
2453
3529
|
}
|
|
2454
3530
|
}
|
|
2455
3531
|
}
|
|
2456
3532
|
|
|
3533
|
+
declare const tagName$p = "s-number-field";
|
|
3534
|
+
interface NumberFieldElementProps extends Pick<NumberFieldProps$1, 'accessory' | 'autocomplete' | 'controls' | 'defaultValue' | 'details' | 'disabled' | 'error' | 'icon' | 'id' | 'inputMode' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'prefix' | 'readOnly' | 'required' | 'step' | 'suffix' | 'value'> {
|
|
3535
|
+
/**
|
|
3536
|
+
* @deprecated Use `label` instead.
|
|
3537
|
+
* @private
|
|
3538
|
+
*/
|
|
3539
|
+
placeholder?: string;
|
|
3540
|
+
}
|
|
3541
|
+
interface NumberFieldEvents extends Pick<NumberFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3542
|
+
}
|
|
3543
|
+
interface NumberFieldElement extends NumberFieldElementProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3544
|
+
onblur: NumberFieldEvents['onBlur'];
|
|
3545
|
+
onchange: NumberFieldEvents['onChange'];
|
|
3546
|
+
onfocus: NumberFieldEvents['onFocus'];
|
|
3547
|
+
oninput: NumberFieldEvents['onInput'];
|
|
3548
|
+
}
|
|
3549
|
+
interface NumberFieldProps extends NumberFieldElementProps, NumberFieldEvents {
|
|
3550
|
+
}
|
|
3551
|
+
declare global {
|
|
3552
|
+
interface HTMLElementTagNameMap {
|
|
3553
|
+
[tagName$p]: NumberFieldElement;
|
|
3554
|
+
}
|
|
3555
|
+
}
|
|
3556
|
+
declare module 'preact' {
|
|
3557
|
+
namespace createElement.JSX {
|
|
3558
|
+
interface IntrinsicElements {
|
|
3559
|
+
[tagName$p]: NumberFieldProps & BaseElementProps<NumberFieldElement>;
|
|
3560
|
+
}
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
declare const tagName$o = "s-option";
|
|
3565
|
+
interface OptionProps extends Pick<OptionProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'value'> {
|
|
3566
|
+
}
|
|
3567
|
+
interface OptionElement extends OptionProps, Omit<HTMLElement, 'id'> {
|
|
3568
|
+
}
|
|
3569
|
+
declare global {
|
|
3570
|
+
interface HTMLElementTagNameMap {
|
|
3571
|
+
[tagName$o]: OptionElement;
|
|
3572
|
+
}
|
|
3573
|
+
}
|
|
3574
|
+
declare module 'preact' {
|
|
3575
|
+
namespace createElement.JSX {
|
|
3576
|
+
interface IntrinsicElements {
|
|
3577
|
+
[tagName$o]: OptionProps & BaseElementPropsWithChildren<OptionElement>;
|
|
3578
|
+
}
|
|
3579
|
+
}
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
declare const tagName$n = "s-ordered-list";
|
|
2457
3583
|
interface OrderedListProps extends OrderedListProps$1 {
|
|
2458
3584
|
}
|
|
2459
3585
|
interface OrderedListElement extends OrderedListProps, Omit<HTMLElement, 'id'> {
|
|
2460
3586
|
}
|
|
2461
3587
|
declare global {
|
|
2462
3588
|
interface HTMLElementTagNameMap {
|
|
2463
|
-
's-ordered-list': OrderedListElement;
|
|
2464
3589
|
}
|
|
2465
3590
|
}
|
|
2466
3591
|
declare module 'preact' {
|
|
2467
|
-
interface BaseProps {
|
|
2468
|
-
children?: preact.ComponentChildren;
|
|
2469
|
-
slot?: Lowercase<string>;
|
|
2470
|
-
}
|
|
2471
3592
|
namespace createElement.JSX {
|
|
2472
3593
|
interface IntrinsicElements {
|
|
2473
|
-
|
|
3594
|
+
[tagName$n]: OrderedListProps & BaseElementPropsWithChildren<OrderedListElement>;
|
|
2474
3595
|
}
|
|
2475
3596
|
}
|
|
2476
3597
|
}
|
|
2477
3598
|
|
|
3599
|
+
declare const tagName$m = "s-paragraph";
|
|
2478
3600
|
interface ParagraphProps extends Pick<ParagraphProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
2479
3601
|
color?: Extract<ParagraphProps$1['color'], 'subdued' | 'base'>;
|
|
2480
3602
|
tone?: Extract<ParagraphProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'custom'>;
|
|
@@ -2483,59 +3605,145 @@ interface ParagraphElement extends ParagraphProps, Omit<HTMLElement, 'id' | 'dir
|
|
|
2483
3605
|
}
|
|
2484
3606
|
declare global {
|
|
2485
3607
|
interface HTMLElementTagNameMap {
|
|
2486
|
-
's-paragraph': ParagraphElement;
|
|
2487
3608
|
}
|
|
2488
3609
|
}
|
|
2489
3610
|
declare module 'preact' {
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
3611
|
+
namespace createElement.JSX {
|
|
3612
|
+
interface IntrinsicElements {
|
|
3613
|
+
[tagName$m]: ParagraphProps & BaseElementPropsWithChildren<ParagraphElement>;
|
|
3614
|
+
}
|
|
3615
|
+
}
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
declare const tagName$l = "s-password-field";
|
|
3619
|
+
interface PasswordFieldElementProps extends Pick<PasswordFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength'
|
|
3620
|
+
/** @todo: implement `minLength` */
|
|
3621
|
+
| 'name'
|
|
3622
|
+
/** @todo: implement `placeholder` */
|
|
3623
|
+
| 'readOnly' | 'required' | 'value'> {
|
|
3624
|
+
}
|
|
3625
|
+
interface PasswordFieldEvents extends Pick<PasswordFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3626
|
+
}
|
|
3627
|
+
interface PasswordFieldElement extends PasswordFieldProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3628
|
+
onblur: PasswordFieldEvents['onBlur'];
|
|
3629
|
+
onchange: PasswordFieldEvents['onChange'];
|
|
3630
|
+
onfocus: PasswordFieldEvents['onFocus'];
|
|
3631
|
+
oninput: PasswordFieldEvents['onInput'];
|
|
3632
|
+
}
|
|
3633
|
+
interface PasswordFieldProps extends PasswordFieldElementProps, PasswordFieldEvents {
|
|
3634
|
+
}
|
|
3635
|
+
declare global {
|
|
3636
|
+
interface HTMLElementTagNameMap {
|
|
3637
|
+
[tagName$l]: PasswordFieldElement;
|
|
2493
3638
|
}
|
|
3639
|
+
}
|
|
3640
|
+
declare module 'preact' {
|
|
2494
3641
|
namespace createElement.JSX {
|
|
2495
3642
|
interface IntrinsicElements {
|
|
2496
|
-
|
|
3643
|
+
[tagName$l]: PasswordFieldProps & BaseElementProps<PasswordFieldElement>;
|
|
2497
3644
|
}
|
|
2498
3645
|
}
|
|
2499
3646
|
}
|
|
2500
3647
|
|
|
3648
|
+
declare const tagName$k = "s-payment-icon";
|
|
2501
3649
|
interface PaymentIconProps extends PaymentIconProps$1 {
|
|
2502
3650
|
}
|
|
2503
3651
|
interface PaymentIconElement extends PaymentIconProps, Omit<HTMLElement, 'id'> {
|
|
2504
3652
|
}
|
|
2505
3653
|
declare global {
|
|
2506
3654
|
interface HTMLElementTagNameMap {
|
|
2507
|
-
's-payment-icon': PaymentIconElement;
|
|
2508
3655
|
}
|
|
2509
3656
|
}
|
|
2510
3657
|
declare module 'preact' {
|
|
2511
|
-
|
|
2512
|
-
|
|
3658
|
+
namespace createElement.JSX {
|
|
3659
|
+
interface IntrinsicElements {
|
|
3660
|
+
[tagName$k]: PaymentIconProps & BaseElementProps<PaymentIconElement>;
|
|
3661
|
+
}
|
|
3662
|
+
}
|
|
3663
|
+
}
|
|
3664
|
+
|
|
3665
|
+
declare const tagName$j = "s-phone-field";
|
|
3666
|
+
interface PhoneFieldElementProps extends Pick<PhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value' | 'type'> {
|
|
3667
|
+
/**
|
|
3668
|
+
* @deprecated Use `label` instead.
|
|
3669
|
+
* @private
|
|
3670
|
+
*/
|
|
3671
|
+
placeholder?: string;
|
|
3672
|
+
}
|
|
3673
|
+
interface PhoneFieldEvents extends Pick<PhoneFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3674
|
+
}
|
|
3675
|
+
interface PhoneFieldSlots extends Pick<PhoneFieldProps$1, 'accessory'> {
|
|
3676
|
+
/**
|
|
3677
|
+
* Additional content to be displayed in the field.
|
|
3678
|
+
* Commonly used to display an icon that activates a tooltip providing more information.
|
|
3679
|
+
*/
|
|
3680
|
+
accessory?: ReactNode;
|
|
3681
|
+
}
|
|
3682
|
+
interface PhoneFieldElement extends PhoneFieldElementProps, PhoneFieldSlots, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3683
|
+
onblur: PhoneFieldEvents['onBlur'];
|
|
3684
|
+
onchange: PhoneFieldEvents['onChange'];
|
|
3685
|
+
onfocus: PhoneFieldEvents['onFocus'];
|
|
3686
|
+
oninput: PhoneFieldEvents['onInput'];
|
|
3687
|
+
}
|
|
3688
|
+
interface PhoneFieldProps extends PhoneFieldElementProps, PhoneFieldSlots, PhoneFieldEvents {
|
|
3689
|
+
}
|
|
3690
|
+
declare global {
|
|
3691
|
+
interface HTMLElementTagNameMap {
|
|
3692
|
+
[tagName$j]: PhoneFieldElement;
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
declare module 'preact' {
|
|
3696
|
+
namespace createElement.JSX {
|
|
3697
|
+
interface IntrinsicElements {
|
|
3698
|
+
[tagName$j]: PhoneFieldProps & BaseElementProps<PhoneFieldElement>;
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
|
|
3703
|
+
declare const tagName$i = "s-popover";
|
|
3704
|
+
interface PopoverElementProps extends Pick<PopoverProps$1, 'blockSize' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize'> {
|
|
3705
|
+
}
|
|
3706
|
+
interface PopoverEvents extends Pick<PopoverProps$1, 'onHide' | 'onShow'> {
|
|
3707
|
+
}
|
|
3708
|
+
interface PopoverElement extends Omit<PopoverProps, 'onHide' | 'onShow'>, Omit<HTMLElement, 'id'> {
|
|
3709
|
+
onhide: PopoverProps['onHide'];
|
|
3710
|
+
onshow: PopoverProps['onShow'];
|
|
3711
|
+
}
|
|
3712
|
+
interface PopoverProps extends PopoverElementProps, PopoverEvents {
|
|
3713
|
+
}
|
|
3714
|
+
declare global {
|
|
3715
|
+
interface HTMLElementTagNameMap {
|
|
3716
|
+
[tagName$i]: PopoverElement;
|
|
2513
3717
|
}
|
|
3718
|
+
}
|
|
3719
|
+
declare module 'preact' {
|
|
2514
3720
|
namespace createElement.JSX {
|
|
2515
3721
|
interface IntrinsicElements {
|
|
2516
|
-
|
|
3722
|
+
[tagName$i]: PopoverProps & BaseElementPropsWithChildren<PopoverElement>;
|
|
2517
3723
|
}
|
|
2518
3724
|
}
|
|
2519
3725
|
}
|
|
2520
3726
|
|
|
2521
|
-
|
|
3727
|
+
declare const tagName$h = "s-product-thumbnail";
|
|
3728
|
+
interface ProductThumbnailProps extends Pick<ProductThumbnailProps$1, 'alt' | 'size' | 'sizes' | 'src' | 'srcSet' | 'totalItems'> {
|
|
3729
|
+
size?: Extract<ProductThumbnailProps$1['size'], 'small-100' | 'small' | 'base'>;
|
|
2522
3730
|
}
|
|
2523
|
-
interface
|
|
2524
|
-
onerror: QRCodeProps['onError'];
|
|
3731
|
+
interface ProductThumbnailElement extends ProductThumbnailProps, Omit<HTMLElement, 'id'> {
|
|
2525
3732
|
}
|
|
2526
3733
|
declare global {
|
|
2527
3734
|
interface HTMLElementTagNameMap {
|
|
2528
|
-
|
|
3735
|
+
[tagName$h]: ProductThumbnailElement;
|
|
2529
3736
|
}
|
|
2530
3737
|
}
|
|
2531
3738
|
declare module 'preact' {
|
|
2532
3739
|
namespace createElement.JSX {
|
|
2533
3740
|
interface IntrinsicElements {
|
|
2534
|
-
|
|
3741
|
+
[tagName$h]: ProductThumbnailProps & BaseElementProps<ProductThumbnailElement>;
|
|
2535
3742
|
}
|
|
2536
3743
|
}
|
|
2537
3744
|
}
|
|
2538
3745
|
|
|
3746
|
+
declare const tagName$g = "s-progress";
|
|
2539
3747
|
interface ProgressProps extends Pick<ProgressProps$1, 'accessibilityLabel' | 'id' | 'max' | 'tone' | 'value'> {
|
|
2540
3748
|
tone?: Extract<ProgressProps$1['tone'], 'auto' | 'critical'>;
|
|
2541
3749
|
}
|
|
@@ -2543,38 +3751,166 @@ interface ProgressElement extends ProgressProps, Omit<HTMLElement, 'id'> {
|
|
|
2543
3751
|
}
|
|
2544
3752
|
declare global {
|
|
2545
3753
|
interface HTMLElementTagNameMap {
|
|
2546
|
-
's-progress': ProgressElement;
|
|
2547
3754
|
}
|
|
2548
3755
|
}
|
|
2549
3756
|
declare module 'preact' {
|
|
2550
3757
|
namespace createElement.JSX {
|
|
2551
3758
|
interface IntrinsicElements {
|
|
2552
|
-
|
|
3759
|
+
[tagName$g]: ProgressProps & BaseElementProps<ProgressElement>;
|
|
3760
|
+
}
|
|
3761
|
+
}
|
|
3762
|
+
}
|
|
3763
|
+
|
|
3764
|
+
declare const tagName$f = "s-qr-code";
|
|
3765
|
+
interface QRCodeElementProps extends QRCodeProps$1 {
|
|
3766
|
+
}
|
|
3767
|
+
interface QRCodeEvents extends Pick<QRCodeProps$1, 'onError'> {
|
|
3768
|
+
}
|
|
3769
|
+
interface QRCodelement extends QRCodeElementProps, Omit<HTMLElement, 'id' | 'onerror'> {
|
|
3770
|
+
onerror: QRCodeEvents['onError'];
|
|
3771
|
+
}
|
|
3772
|
+
interface QRCodeProps extends QRCodeElementProps, QRCodeEvents {
|
|
3773
|
+
}
|
|
3774
|
+
declare global {
|
|
3775
|
+
interface HTMLElementTagNameMap {
|
|
3776
|
+
[tagName$f]: QRCodelement;
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
declare module 'preact' {
|
|
3780
|
+
namespace createElement.JSX {
|
|
3781
|
+
interface IntrinsicElements {
|
|
3782
|
+
[tagName$f]: QRCodeProps & BaseElementProps<QRCodelement>;
|
|
3783
|
+
}
|
|
3784
|
+
}
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
declare const tagName$e = "s-scroll-box";
|
|
3788
|
+
interface ScrollBoxProps extends Pick<ScrollBoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
3789
|
+
background?: Extract<ScrollBoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3790
|
+
border?: BorderShorthand;
|
|
3791
|
+
borderColor?: ReducedColorKeyword | '';
|
|
3792
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ScrollBoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3793
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3794
|
+
}
|
|
3795
|
+
interface ScrollBoxElement extends ScrollBoxProps, Omit<HTMLElement, 'id'> {
|
|
3796
|
+
}
|
|
3797
|
+
declare global {
|
|
3798
|
+
interface HTMLElementTagNameMap {
|
|
3799
|
+
[tagName$e]: ScrollBoxElement;
|
|
3800
|
+
}
|
|
3801
|
+
}
|
|
3802
|
+
declare module 'preact' {
|
|
3803
|
+
namespace createElement.JSX {
|
|
3804
|
+
interface IntrinsicElements {
|
|
3805
|
+
[tagName$e]: ScrollBoxProps & BaseElementPropsWithChildren<ScrollBoxElement>;
|
|
2553
3806
|
}
|
|
2554
3807
|
}
|
|
2555
3808
|
}
|
|
2556
3809
|
|
|
3810
|
+
declare const tagName$d = "s-section";
|
|
2557
3811
|
interface SectionProps extends Pick<SectionProps$1, 'accessibilityLabel' | 'heading' | 'id'> {
|
|
2558
3812
|
}
|
|
2559
3813
|
interface SectionElement extends SectionProps, Omit<HTMLElement, 'id'> {
|
|
2560
3814
|
}
|
|
2561
3815
|
declare global {
|
|
2562
3816
|
interface HTMLElementTagNameMap {
|
|
2563
|
-
|
|
3817
|
+
[tagName$d]: SectionElement;
|
|
2564
3818
|
}
|
|
2565
3819
|
}
|
|
2566
3820
|
declare module 'preact' {
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
3821
|
+
namespace createElement.JSX {
|
|
3822
|
+
interface IntrinsicElements {
|
|
3823
|
+
[tagName$d]: SectionProps & BaseElementPropsWithChildren<SectionElement>;
|
|
3824
|
+
}
|
|
3825
|
+
}
|
|
3826
|
+
}
|
|
3827
|
+
|
|
3828
|
+
declare const tagName$c = "s-select";
|
|
3829
|
+
interface SelectElementProps extends Pick<SelectProps$1, 'autocomplete' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value'> {
|
|
3830
|
+
}
|
|
3831
|
+
interface SelectEvents extends Pick<SelectProps$1, 'onBlur' | 'onChange' | 'onFocus'> {
|
|
3832
|
+
}
|
|
3833
|
+
interface SelectElement extends SelectElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus'> {
|
|
3834
|
+
onblur: SelectEvents['onBlur'];
|
|
3835
|
+
onchange: SelectEvents['onChange'];
|
|
3836
|
+
onfocus: SelectEvents['onFocus'];
|
|
3837
|
+
}
|
|
3838
|
+
interface SelectProps extends SelectElementProps, SelectEvents {
|
|
3839
|
+
}
|
|
3840
|
+
declare global {
|
|
3841
|
+
interface HTMLElementTagNameMap {
|
|
3842
|
+
[tagName$c]: SelectElement;
|
|
2570
3843
|
}
|
|
3844
|
+
}
|
|
3845
|
+
declare module 'preact' {
|
|
3846
|
+
namespace createElement.JSX {
|
|
3847
|
+
interface IntrinsicElements {
|
|
3848
|
+
[tagName$c]: SelectProps & BaseElementPropsWithChildren<SelectElement>;
|
|
3849
|
+
}
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
|
|
3853
|
+
declare const tagName$b = "s-sheet";
|
|
3854
|
+
interface SheetElementProps extends Pick<SheetProps$1, 'defaultOpen' | 'heading' | 'id'> {
|
|
3855
|
+
/**
|
|
3856
|
+
* A label that describes the purpose of the modal. When set,
|
|
3857
|
+
* it will be announced to users using assistive technologies and will
|
|
3858
|
+
* provide them with more context.
|
|
3859
|
+
*
|
|
3860
|
+
* This overrides the `heading` prop for screen readers.
|
|
3861
|
+
*/
|
|
3862
|
+
accessibilityLabel?: string;
|
|
3863
|
+
}
|
|
3864
|
+
interface SheetEvents extends Pick<SheetProps$1, 'onHide' | 'onShow' | 'onAfterHide' | 'onAfterShow'> {
|
|
3865
|
+
}
|
|
3866
|
+
interface SheetSlots {
|
|
3867
|
+
/**
|
|
3868
|
+
* The primary action to perform, provided as a button type element.
|
|
3869
|
+
*/
|
|
3870
|
+
primaryAction?: ReactNode;
|
|
3871
|
+
/**
|
|
3872
|
+
* The secondary actions to perform, provided as a button type element.
|
|
3873
|
+
*/
|
|
3874
|
+
secondaryActions?: ReactNode;
|
|
3875
|
+
}
|
|
3876
|
+
interface SheetElement extends SheetElementProps, SheetSlots, Omit<HTMLElement, 'id'> {
|
|
3877
|
+
onhide: SheetEvents['onHide'];
|
|
3878
|
+
onshow: SheetEvents['onShow'];
|
|
3879
|
+
}
|
|
3880
|
+
interface SheetProps extends SheetElementProps, SheetEvents, SheetSlots {
|
|
3881
|
+
}
|
|
3882
|
+
declare global {
|
|
3883
|
+
interface HTMLElementTagNameMap {
|
|
3884
|
+
[tagName$b]: SheetElement;
|
|
3885
|
+
}
|
|
3886
|
+
}
|
|
3887
|
+
declare module 'preact' {
|
|
3888
|
+
namespace createElement.JSX {
|
|
3889
|
+
interface IntrinsicElements {
|
|
3890
|
+
[tagName$b]: SheetProps & BaseElementPropsWithChildren<SheetElement>;
|
|
3891
|
+
}
|
|
3892
|
+
}
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3895
|
+
declare const tagName$a = "s-skeleton-paragraph";
|
|
3896
|
+
interface SkeletonParagraphProps extends SkeletonParagraphProps$1 {
|
|
3897
|
+
}
|
|
3898
|
+
interface SkeletonParagraphElement extends SkeletonParagraphProps, Omit<HTMLElement, 'id'> {
|
|
3899
|
+
}
|
|
3900
|
+
declare global {
|
|
3901
|
+
interface HTMLElementTagNameMap {
|
|
3902
|
+
[tagName$a]: SkeletonParagraphElement;
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
declare module 'preact' {
|
|
2571
3906
|
namespace createElement.JSX {
|
|
2572
3907
|
interface IntrinsicElements {
|
|
2573
|
-
|
|
3908
|
+
[tagName$a]: SkeletonParagraphProps & BaseElementProps<SkeletonParagraphElement>;
|
|
2574
3909
|
}
|
|
2575
3910
|
}
|
|
2576
3911
|
}
|
|
2577
3912
|
|
|
3913
|
+
declare const tagName$9 = "s-spinner";
|
|
2578
3914
|
interface SpinnerProps extends SpinnerProps$1 {
|
|
2579
3915
|
size?: Extract<SpinnerProps$1['size'], 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
2580
3916
|
}
|
|
@@ -2582,18 +3918,18 @@ interface SpinnerElement extends SpinnerProps, Omit<HTMLElement, 'id'> {
|
|
|
2582
3918
|
}
|
|
2583
3919
|
declare global {
|
|
2584
3920
|
interface HTMLElementTagNameMap {
|
|
2585
|
-
's-spinner': SpinnerElement;
|
|
2586
3921
|
}
|
|
2587
3922
|
}
|
|
2588
3923
|
declare module 'preact' {
|
|
2589
3924
|
namespace createElement.JSX {
|
|
2590
3925
|
interface IntrinsicElements {
|
|
2591
|
-
|
|
3926
|
+
[tagName$9]: SpinnerProps & BaseElementProps<SpinnerElement>;
|
|
2592
3927
|
}
|
|
2593
3928
|
}
|
|
2594
3929
|
}
|
|
2595
3930
|
|
|
2596
|
-
|
|
3931
|
+
declare const tagName$8 = "s-stack";
|
|
3932
|
+
interface StackProps extends Pick<StackProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'direction' | 'display' | 'gap' | 'id' | 'inlineSize' | 'justifyContent' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'rowGap'> {
|
|
2597
3933
|
accessibilityRole?: Extract<StackProps$1['accessibilityRole'], 'main' | 'header' | 'footer' | 'section' | 'aside' | 'navigation' | 'ordered-list' | 'list-item' | 'list-item-separator' | 'unordered-list' | 'separator' | 'status' | 'alert' | 'generic' | 'none'>;
|
|
2598
3934
|
background?: Extract<StackProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
2599
3935
|
border?: BorderShorthand;
|
|
@@ -2607,7 +3943,24 @@ interface StackElement extends StackProps, Omit<HTMLElement, 'id'> {
|
|
|
2607
3943
|
}
|
|
2608
3944
|
declare global {
|
|
2609
3945
|
interface HTMLElementTagNameMap {
|
|
2610
|
-
|
|
3946
|
+
}
|
|
3947
|
+
}
|
|
3948
|
+
declare module 'preact' {
|
|
3949
|
+
namespace createElement.JSX {
|
|
3950
|
+
interface IntrinsicElements {
|
|
3951
|
+
[tagName$8]: StackProps & BaseElementPropsWithChildren<StackElement>;
|
|
3952
|
+
}
|
|
3953
|
+
}
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3956
|
+
declare const tagName$7 = "s-summary";
|
|
3957
|
+
interface SummaryProps extends Pick<SummaryProps$1, 'id'> {
|
|
3958
|
+
}
|
|
3959
|
+
interface SummaryElement extends SummaryProps, Omit<HTMLElement, 'id'> {
|
|
3960
|
+
}
|
|
3961
|
+
declare global {
|
|
3962
|
+
interface HTMLElementTagNameMap {
|
|
3963
|
+
[tagName$7]: SummaryElement;
|
|
2611
3964
|
}
|
|
2612
3965
|
}
|
|
2613
3966
|
declare module 'preact' {
|
|
@@ -2617,100 +3970,186 @@ declare module 'preact' {
|
|
|
2617
3970
|
}
|
|
2618
3971
|
namespace createElement.JSX {
|
|
2619
3972
|
interface IntrinsicElements {
|
|
2620
|
-
|
|
3973
|
+
[tagName$7]: SummaryProps & BaseProps;
|
|
2621
3974
|
}
|
|
2622
3975
|
}
|
|
2623
3976
|
}
|
|
2624
3977
|
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
|
|
3978
|
+
declare const tagName$6 = "s-switch";
|
|
3979
|
+
interface SwitchElementProps extends Pick<SwitchProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'id' | 'label' | 'name' | 'value'> {
|
|
3980
|
+
command?: Extract<SwitchProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
2629
3981
|
}
|
|
2630
|
-
interface
|
|
3982
|
+
interface SwitchEvents extends Pick<SwitchProps$1, 'onChange'> {
|
|
3983
|
+
}
|
|
3984
|
+
interface SwitchElement extends SwitchElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3985
|
+
onchange: SwitchEvents['onChange'];
|
|
3986
|
+
}
|
|
3987
|
+
interface SwitchProps extends SwitchElementProps, SwitchEvents {
|
|
2631
3988
|
}
|
|
2632
3989
|
declare global {
|
|
2633
3990
|
interface HTMLElementTagNameMap {
|
|
2634
|
-
|
|
3991
|
+
[tagName$6]: SwitchElement;
|
|
2635
3992
|
}
|
|
2636
3993
|
}
|
|
2637
3994
|
declare module 'preact' {
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
3995
|
+
namespace createElement.JSX {
|
|
3996
|
+
interface IntrinsicElements {
|
|
3997
|
+
[tagName$6]: SwitchProps & BaseElementProps<SwitchElement>;
|
|
3998
|
+
}
|
|
2641
3999
|
}
|
|
4000
|
+
}
|
|
4001
|
+
|
|
4002
|
+
declare const tagName$5 = "s-text-area";
|
|
4003
|
+
interface TextAreaElementProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'name' | 'required' | 'value' | 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'readOnly' | 'rows' | 'maxLength' | 'minLength' | 'labelAccessibilityVisibility'> {
|
|
4004
|
+
/**
|
|
4005
|
+
* @deprecated Use `label` instead.
|
|
4006
|
+
* @private
|
|
4007
|
+
*/
|
|
4008
|
+
placeholder?: string;
|
|
4009
|
+
}
|
|
4010
|
+
interface TextAreaEvents extends Pick<TextAreaProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4011
|
+
}
|
|
4012
|
+
interface TextAreaElement extends TextAreaElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
4013
|
+
onblur: TextAreaEvents['onBlur'];
|
|
4014
|
+
onchange: TextAreaEvents['onChange'];
|
|
4015
|
+
onfocus: TextAreaEvents['onFocus'];
|
|
4016
|
+
oninput: TextAreaEvents['onInput'];
|
|
4017
|
+
}
|
|
4018
|
+
interface TextAreaProps extends TextAreaElementProps, TextAreaEvents {
|
|
4019
|
+
}
|
|
4020
|
+
declare global {
|
|
4021
|
+
interface HTMLElementTagNameMap {
|
|
4022
|
+
[tagName$5]: TextAreaElement;
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
declare module 'preact' {
|
|
2642
4026
|
namespace createElement.JSX {
|
|
2643
4027
|
interface IntrinsicElements {
|
|
2644
|
-
|
|
4028
|
+
[tagName$5]: TextAreaProps & BaseElementProps<TextAreaElement>;
|
|
2645
4029
|
}
|
|
2646
4030
|
}
|
|
2647
4031
|
}
|
|
2648
4032
|
|
|
2649
|
-
|
|
4033
|
+
declare const tagName$4 = "s-text-field";
|
|
4034
|
+
interface TextFieldElementProps extends Pick<TextFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'icon' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
|
|
2650
4035
|
icon?: IconProps['type'];
|
|
4036
|
+
/**
|
|
4037
|
+
* @deprecated Use `label` instead.
|
|
4038
|
+
* @private
|
|
4039
|
+
*/
|
|
4040
|
+
placeholder?: string;
|
|
4041
|
+
}
|
|
4042
|
+
interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
2651
4043
|
}
|
|
2652
|
-
interface
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
4044
|
+
interface TextFieldSlots {
|
|
4045
|
+
/**
|
|
4046
|
+
* Additional content to be displayed in the field.
|
|
4047
|
+
* Commonly used to display an icon that activates a tooltip providing more information.
|
|
4048
|
+
*/
|
|
4049
|
+
accessory?: ReactNode;
|
|
4050
|
+
}
|
|
4051
|
+
interface TextFieldElement extends TextFieldElementProps, TextFieldSlots, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4052
|
+
onblur: TextFieldEvents['onBlur'];
|
|
4053
|
+
onchange: TextFieldEvents['onChange'];
|
|
4054
|
+
onfocus: TextFieldEvents['onFocus'];
|
|
4055
|
+
oninput: TextFieldEvents['onInput'];
|
|
4056
|
+
}
|
|
4057
|
+
interface TextFieldProps extends TextFieldElementProps, TextFieldSlots, TextFieldEvents {
|
|
2657
4058
|
}
|
|
2658
4059
|
declare global {
|
|
2659
4060
|
interface HTMLElementTagNameMap {
|
|
2660
|
-
's-text-field': TextFieldElement;
|
|
2661
4061
|
}
|
|
2662
4062
|
}
|
|
2663
4063
|
declare module 'preact' {
|
|
2664
|
-
|
|
2665
|
-
|
|
4064
|
+
namespace createElement.JSX {
|
|
4065
|
+
interface IntrinsicElements {
|
|
4066
|
+
[tagName$4]: TextFieldProps & BaseElementProps<TextFieldElement>;
|
|
4067
|
+
}
|
|
2666
4068
|
}
|
|
4069
|
+
}
|
|
4070
|
+
|
|
4071
|
+
declare const tagName$3 = "s-text";
|
|
4072
|
+
interface TextProps extends Pick<TextProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'display' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
4073
|
+
color?: Extract<TextProps$1['color'], 'subdued' | 'base'>;
|
|
4074
|
+
tone?: Extract<TextProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
4075
|
+
type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
|
|
4076
|
+
}
|
|
4077
|
+
interface TextElement extends TextProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
|
|
4078
|
+
}
|
|
4079
|
+
declare global {
|
|
4080
|
+
interface HTMLElementTagNameMap {
|
|
4081
|
+
}
|
|
4082
|
+
}
|
|
4083
|
+
declare module 'preact' {
|
|
2667
4084
|
namespace createElement.JSX {
|
|
2668
4085
|
interface IntrinsicElements {
|
|
2669
|
-
|
|
4086
|
+
[tagName$3]: TextProps & BaseElementPropsWithChildren<TextElement>;
|
|
2670
4087
|
}
|
|
2671
4088
|
}
|
|
2672
4089
|
}
|
|
2673
4090
|
|
|
2674
|
-
|
|
4091
|
+
declare const tagName$2 = "s-time";
|
|
4092
|
+
interface TimeProps extends Pick<TimeProps$1, 'dateTime' | 'id'> {
|
|
2675
4093
|
}
|
|
2676
4094
|
interface TimeElement extends TimeProps, Omit<HTMLElement, 'id'> {
|
|
2677
4095
|
}
|
|
2678
4096
|
declare global {
|
|
2679
4097
|
interface HTMLElementTagNameMap {
|
|
2680
|
-
's-time': TimeElement;
|
|
2681
4098
|
}
|
|
2682
4099
|
}
|
|
2683
4100
|
declare module 'preact' {
|
|
2684
|
-
interface BaseProps {
|
|
2685
|
-
children?: preact.ComponentChildren;
|
|
2686
|
-
slot?: Lowercase<string>;
|
|
2687
|
-
}
|
|
2688
4101
|
namespace createElement.JSX {
|
|
2689
4102
|
interface IntrinsicElements {
|
|
2690
|
-
|
|
4103
|
+
[tagName$2]: TimeProps & BaseElementPropsWithChildren<TimeElement>;
|
|
2691
4104
|
}
|
|
2692
4105
|
}
|
|
2693
4106
|
}
|
|
2694
4107
|
|
|
4108
|
+
declare const tagName$1 = "s-unordered-list";
|
|
2695
4109
|
interface UnorderedListProps extends UnorderedListProps$1 {
|
|
2696
4110
|
}
|
|
2697
4111
|
interface UnorderedListElement extends UnorderedListProps, Omit<HTMLElement, 'id'> {
|
|
2698
4112
|
}
|
|
2699
4113
|
declare global {
|
|
2700
4114
|
interface HTMLElementTagNameMap {
|
|
2701
|
-
's-unordered-list': UnorderedListElement;
|
|
2702
4115
|
}
|
|
2703
4116
|
}
|
|
2704
4117
|
declare module 'preact' {
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
4118
|
+
namespace createElement.JSX {
|
|
4119
|
+
interface IntrinsicElements {
|
|
4120
|
+
[tagName$1]: UnorderedListProps & BaseElementPropsWithChildren<UnorderedListElement>;
|
|
4121
|
+
}
|
|
2708
4122
|
}
|
|
4123
|
+
}
|
|
4124
|
+
|
|
4125
|
+
declare const tagName = "s-url-field";
|
|
4126
|
+
interface UrlFieldElementProps extends Pick<URLFieldProps, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength'
|
|
4127
|
+
/** @todo: implement `minLength` */
|
|
4128
|
+
| 'name'
|
|
4129
|
+
/** @todo: implement `placeholder` */
|
|
4130
|
+
| 'readOnly' | 'required' | 'value'> {
|
|
4131
|
+
}
|
|
4132
|
+
interface UrlFieldEvents extends Pick<URLFieldProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4133
|
+
}
|
|
4134
|
+
interface UrlFieldElement extends UrlFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4135
|
+
onblur: UrlFieldEvents['onBlur'];
|
|
4136
|
+
onchange: UrlFieldEvents['onChange'];
|
|
4137
|
+
onfocus: UrlFieldEvents['onFocus'];
|
|
4138
|
+
oninput: UrlFieldEvents['onInput'];
|
|
4139
|
+
}
|
|
4140
|
+
interface UrlFieldProps extends UrlFieldElementProps, UrlFieldEvents {
|
|
4141
|
+
}
|
|
4142
|
+
declare global {
|
|
4143
|
+
interface HTMLElementTagNameMap {
|
|
4144
|
+
[tagName]: UrlFieldElement;
|
|
4145
|
+
}
|
|
4146
|
+
}
|
|
4147
|
+
declare module 'preact' {
|
|
2709
4148
|
namespace createElement.JSX {
|
|
2710
4149
|
interface IntrinsicElements {
|
|
2711
|
-
|
|
4150
|
+
[tagName]: UrlFieldProps & BaseElementProps<UrlFieldElement>;
|
|
2712
4151
|
}
|
|
2713
4152
|
}
|
|
2714
4153
|
}
|
|
2715
4154
|
|
|
2716
|
-
export type { AbbreviationProps, BannerProps, BoxProps, ButtonProps, ClipboardItemProps, DropZoneProps, FormProps, HeadingProps, IconProps, ImageProps, LinkProps, ListItemProps, OrderedListProps, ParagraphProps, PaymentIconProps, ProgressProps, QRCodeProps, SectionProps, SpinnerProps, StackProps, TextFieldProps, TextProps, TimeProps, UnorderedListProps };
|
|
4155
|
+
export type { AbbreviationProps, BadgeProps, BannerProps, BoxProps, ButtonProps, CheckboxProps, ClickableProps, ClipboardItemProps, DetailsProps, DividerProps, DropZoneProps, EmailFieldProps, FormProps, GridItemProps, GridProps, HeadingProps, IconProps, ImageProps, LinkProps, ListItemProps, MapMarkerProps, MapProps, ModalProps, NumberFieldProps, OptionProps, OrderedListProps, ParagraphProps, PasswordFieldProps, PaymentIconProps, PhoneFieldProps, PopoverProps, ProductThumbnailProps, ProgressProps, QRCodeProps, ScrollBoxProps, SectionProps, SelectProps, SheetProps, SkeletonParagraphProps, SpinnerProps, StackProps, SummaryProps, SwitchProps, TextAreaProps, TextFieldProps, TextProps, TimeProps, UnorderedListProps, UrlFieldProps };
|