@shopify/ui-extensions 2025.10.0-rc.4 → 2025.10.0-rc.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +4 -0
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
- package/build/cjs/surfaces/checkout/shared.js +35 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
- package/build/esm/surfaces/checkout/shared.mjs +31 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
- package/build/esnext/surfaces/checkout/shared.esnext +31 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DateField.d.ts +4 -0
- package/build/ts/docs/shared/components/DateField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
- package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Details.d.ts +4 -0
- package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Summary.d.ts +4 -0
- package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/index.d.ts +6 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/shared.d.ts +14 -1
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +133 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +22 -8
- package/build/ts/surfaces/admin/components/Banner.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Box.d.ts +42 -26
- package/build/ts/surfaces/admin/components/Button.d.ts +35 -20
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +129 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Chip.d.ts +125 -0
- package/build/ts/surfaces/admin/components/Choice.d.ts +29 -8
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/build/ts/surfaces/admin/components/Clickable.d.ts +56 -39
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +156 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +240 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +132 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +246 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +160 -0
- package/build/ts/surfaces/admin/components/EmailField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +43 -35
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +61 -33
- package/build/ts/surfaces/admin/components/GridItem.d.ts +43 -26
- package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Icon.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Image.d.ts +41 -42
- package/build/ts/surfaces/admin/components/Link.d.ts +35 -29
- package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +143 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +231 -0
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +16 -20
- package/build/ts/surfaces/admin/components/NumberField.d.ts +15 -17
- package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/Page.d.ts +42 -6
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Popover.d.ts +379 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +18 -16
- package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +40 -16
- package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Stack.d.ts +66 -43
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +16 -12
- package/build/ts/surfaces/admin/components/Table.d.ts +29 -17
- package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
- package/build/ts/surfaces/admin/components/TableCell.d.ts +34 -7
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +26 -7
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TableRow.d.ts +21 -7
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -6
- package/build/ts/surfaces/admin/components/TextArea.d.ts +15 -15
- package/build/ts/surfaces/admin/components/TextField.d.ts +17 -15
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +15 -15
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +1206 -741
- package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
- package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +52 -3032
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +53 -3072
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3125
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3083
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +52 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +52 -3032
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +52 -3032
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +18 -2
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +63 -40
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +51 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Details.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +44 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +92 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +74 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +91 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +98 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +24 -13
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +80 -20
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +1351 -227
- package/build/ts/surfaces/checkout/components/components.d.ts +2490 -539
- package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +32 -4
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +46 -596
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +53 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +48 -651
- package/build/ts/surfaces/checkout.d.ts +2 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +53 -45
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +51 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +44 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +92 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +74 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +91 -0
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +19 -6
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +98 -0
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +116 -0
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +24 -13
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +80 -20
- package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1351 -227
- package/build/ts/surfaces/customer-account/components/components.d.ts +2490 -539
- package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +29 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +60 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +60 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +60 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +55 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +55 -742
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +54 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +52 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +69 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +138 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +92 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +47 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +173 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +43 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +140 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +190 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3109 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +34 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +20 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +165 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +64 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +24 -3
- package/src/docs/shared/components/Avatar.ts +12 -0
- package/src/docs/shared/components/Badge.ts +1 -1
- package/src/docs/shared/components/Banner.ts +1 -1
- package/src/docs/shared/components/ButtonGroup.ts +11 -0
- package/src/docs/shared/components/Checkbox.ts +1 -1
- package/src/docs/shared/components/Chip.ts +12 -0
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +1 -1
- package/src/docs/shared/components/Clickable.ts +1 -1
- package/src/docs/shared/components/ClickableChip.ts +12 -0
- package/src/docs/shared/components/ColorField.ts +11 -0
- package/src/docs/shared/components/ColorPicker.ts +11 -0
- package/src/docs/shared/components/DateField.ts +11 -0
- package/src/docs/shared/components/DatePicker.ts +1 -1
- package/src/docs/shared/components/Details.ts +12 -0
- package/src/docs/shared/components/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/MoneyField.ts +1 -1
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/Option.ts +12 -0
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/PhoneField.ts +11 -0
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/docs/shared/components/QueryContainer.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
- package/src/docs/shared/components/Summary.ts +12 -0
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/components/index.ts +6 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/index.ts +0 -1
- package/src/shared.ts +16 -1
- package/src/surfaces/admin/api/standard/standard.ts +7 -1
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +133 -0
- package/src/surfaces/admin/components/Badge.d.ts +22 -8
- package/src/surfaces/admin/components/Banner.d.ts +21 -16
- package/src/surfaces/admin/components/Box.d.ts +42 -26
- package/src/surfaces/admin/components/Button.d.ts +35 -20
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +129 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -12
- package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
- package/src/surfaces/admin/components/Chip.d.ts +125 -0
- package/src/surfaces/admin/components/Choice.d.ts +29 -8
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
- package/src/surfaces/admin/components/ChoiceList.d.ts +21 -16
- package/src/surfaces/admin/components/Clickable.d.ts +56 -39
- package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +156 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorField.d.ts +240 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +132 -0
- package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
- package/src/surfaces/admin/components/DateField.d.ts +246 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +18 -35
- package/src/surfaces/admin/components/Divider.d.ts +12 -5
- package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
- package/src/surfaces/admin/components/DropZone.d.ts +160 -0
- package/src/surfaces/admin/components/EmailField.d.ts +15 -15
- package/src/surfaces/admin/components/Form.d.ts +43 -35
- package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
- package/src/surfaces/admin/components/Grid.d.ts +61 -33
- package/src/surfaces/admin/components/GridItem.d.ts +43 -26
- package/src/surfaces/admin/components/Heading.d.ts +17 -6
- package/src/surfaces/admin/components/Icon.d.ts +17 -6
- package/src/surfaces/admin/components/Image/examples/default.html +1 -1
- package/src/surfaces/admin/components/Image.d.ts +41 -42
- package/src/surfaces/admin/components/Link.d.ts +35 -29
- package/src/surfaces/admin/components/ListItem.d.ts +18 -6
- package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
- package/src/surfaces/admin/components/Menu.d.ts +143 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
- package/src/surfaces/admin/components/Modal.d.ts +231 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +16 -20
- package/src/surfaces/admin/components/NumberField.d.ts +15 -17
- package/src/surfaces/admin/components/Option.d.ts +17 -5
- package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
- package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
- package/src/surfaces/admin/components/Page/examples/default.html +3 -3
- package/src/surfaces/admin/components/Page.d.ts +42 -6
- package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
- package/src/surfaces/admin/components/PasswordField.d.ts +15 -15
- package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
- package/src/surfaces/admin/components/Popover.d.ts +379 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +8 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
- package/src/surfaces/admin/components/SearchField.d.ts +18 -16
- package/src/surfaces/admin/components/Section.d.ts +17 -6
- package/src/surfaces/admin/components/Select/examples/default.html +4 -0
- package/src/surfaces/admin/components/Select.d.ts +40 -16
- package/src/surfaces/admin/components/Spinner.d.ts +12 -2
- package/src/surfaces/admin/components/Stack.d.ts +66 -43
- package/src/surfaces/admin/components/StandardComponents.ts +11 -0
- package/src/surfaces/admin/components/Switch.d.ts +16 -12
- package/src/surfaces/admin/components/Table.d.ts +29 -17
- package/src/surfaces/admin/components/TableBody.d.ts +18 -6
- package/src/surfaces/admin/components/TableCell.d.ts +34 -7
- package/src/surfaces/admin/components/TableHeader.d.ts +26 -7
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
- package/src/surfaces/admin/components/TableRow.d.ts +21 -7
- package/src/surfaces/admin/components/Text.d.ts +19 -6
- package/src/surfaces/admin/components/TextArea.d.ts +15 -15
- package/src/surfaces/admin/components/TextField.d.ts +17 -15
- package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +127 -0
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
- package/src/surfaces/admin/components/URLField.d.ts +15 -15
- package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
- package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +255 -0
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +554 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +654 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +135 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +150 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +127 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +194 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +207 -0
- package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +80 -0
- package/src/surfaces/admin/components/shared.d.ts +1206 -741
- package/src/surfaces/admin/components.d.ts +3736 -1805
- package/src/surfaces/admin/docs-types.ts +8 -1
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
- package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -4
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -4
- package/src/surfaces/checkout/api/standard/standard.ts +65 -41
- package/src/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +51 -0
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Banner.d.ts +55 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +44 -13
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/checkout/components/Details.d.ts +85 -0
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
- package/src/surfaces/checkout/components/Divider.d.ts +46 -0
- package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +44 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +92 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +16 -8
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +44 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +78 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +74 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +91 -0
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/src/surfaces/checkout/components/MoneyField.d.ts +80 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +1 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +98 -0
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/checkout/components/Popover.d.ts +116 -0
- package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/src/surfaces/checkout/components/PressButton.d.ts +79 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +100 -0
- package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
- package/src/surfaces/checkout/components/Stack.d.ts +24 -13
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
- package/src/surfaces/checkout/components/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/src/surfaces/checkout/components/TextField.d.ts +80 -20
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Time.d.ts +21 -9
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +48 -0
- package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/components-shared.d.ts +1351 -227
- package/src/surfaces/checkout/components/components.d.ts +2490 -539
- package/src/surfaces/checkout/extension-targets.ts +8 -0
- package/src/surfaces/checkout/preact/api.ts +4 -0
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +10 -8
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +2 -3
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
- package/src/surfaces/checkout/preact/tests/mount.tsx +3 -3
- package/src/surfaces/checkout/shared.ts +99 -31
- package/src/surfaces/checkout.ts +4 -1
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +56 -44
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +10 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +22 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +8 -7
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +6 -4
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +24 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +10 -9
- package/src/surfaces/customer-account/components/Page.d.ts +19 -6
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +23 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +6 -2
- package/src/surfaces/customer-account/components/shared.ts +29 -5
- package/src/surfaces/customer-account/components.d.ts +124 -31
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +4 -4
- package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
- package/src/surfaces/customer-account/preact/navigation.ts +3 -10
- package/src/surfaces/customer-account/preact/subscription.ts +7 -6
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +63 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
- package/src/surfaces/point-of-sale/api.ts +128 -0
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +52 -0
- package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +69 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +138 -0
- package/src/surfaces/point-of-sale/components/Button/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +92 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +47 -0
- package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Heading/examples/default.html +8 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/Icon/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +173 -0
- package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/Modal/examples/default.html +9 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +70 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +11 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +43 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +140 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Section/examples/default.html +10 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +190 -0
- package/src/surfaces/point-of-sale/components/Text/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +54 -0
- package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
- package/src/surfaces/point-of-sale/components/TextField/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +78 -0
- package/src/surfaces/point-of-sale/components/Tile/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +12 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
- package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +4 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +3109 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +6008 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
- package/src/surfaces/point-of-sale/event/data.ts +16 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
- package/src/surfaces/point-of-sale/event/output.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
- package/src/surfaces/point-of-sale/globals.ts +6 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
- package/src/surfaces/point-of-sale/types/cart.ts +174 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
- package/src/surfaces/point-of-sale/types/device.ts +14 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
- package/src/surfaces/point-of-sale/types/money.ts +9 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
- package/src/surfaces/point-of-sale/types/order.ts +12 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
- package/src/surfaces/point-of-sale/types/payment.ts +16 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +64 -0
- package/src/surfaces/point-of-sale/types/product.ts +64 -0
- package/src/surfaces/point-of-sale/types/session.ts +39 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
- package/src/surfaces/point-of-sale/types/storage.ts +73 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
- package/src/surfaces/point-of-sale.ts +4 -0
- package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
- /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
- /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
- /package/src/surfaces/checkout/components/PaymentIcon/examples/{basic-paymenticon.example.html → basic-payment-icon.example.html} +0 -0
- /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
- /package/src/surfaces/checkout/components/TextField/examples/{basic-textfield.example.html → basic-text-field.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -1,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,14 @@
|
|
|
13
13
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
14
14
|
*/
|
|
15
15
|
export type ComponentChildren = any;
|
|
16
|
-
|
|
16
|
+
export type StringChildren = string;
|
|
17
|
+
export interface GlobalProps {
|
|
18
|
+
/**
|
|
19
|
+
* A unique identifier for the element.
|
|
20
|
+
*/
|
|
21
|
+
id?: string;
|
|
22
|
+
}
|
|
23
|
+
interface AbbreviationProps$1 extends GlobalProps {
|
|
17
24
|
/**
|
|
18
25
|
* The content of the abbreviation or acronym.
|
|
19
26
|
*/
|
|
@@ -29,14 +36,121 @@ interface AbbreviationProps$1 {
|
|
|
29
36
|
*/
|
|
30
37
|
title?: string;
|
|
31
38
|
}
|
|
32
|
-
export
|
|
33
|
-
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
34
|
-
export interface GlobalProps {
|
|
39
|
+
export interface ActionSlots {
|
|
35
40
|
/**
|
|
36
|
-
*
|
|
41
|
+
* The primary action to perform, provided as a button or link type element.
|
|
37
42
|
*/
|
|
38
|
-
|
|
43
|
+
primaryAction?: ComponentChildren;
|
|
44
|
+
/**
|
|
45
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
46
|
+
*/
|
|
47
|
+
secondaryActions?: ComponentChildren;
|
|
48
|
+
}
|
|
49
|
+
export interface BaseOverlayProps {
|
|
50
|
+
/**
|
|
51
|
+
* Callback fired after the overlay is shown.
|
|
52
|
+
*/
|
|
53
|
+
onShow?: (event: Event) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
56
|
+
*/
|
|
57
|
+
onAfterShow?: (event: Event) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Callback fired after the overlay is hidden.
|
|
60
|
+
*/
|
|
61
|
+
onHide?: (event: Event) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
64
|
+
*/
|
|
65
|
+
onAfterHide?: (event: Event) => void;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Shared interfaces for web component methods.
|
|
69
|
+
*
|
|
70
|
+
* Methods are required (not optional) because:
|
|
71
|
+
* - Components implementing this interface must provide all methods
|
|
72
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
73
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
74
|
+
*/
|
|
75
|
+
export interface BaseOverlayMethods {
|
|
76
|
+
/**
|
|
77
|
+
* Method to show an overlay.
|
|
78
|
+
*
|
|
79
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
80
|
+
*/
|
|
81
|
+
showOverlay: () => void;
|
|
82
|
+
/**
|
|
83
|
+
* Method to hide an overlay.
|
|
84
|
+
*
|
|
85
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
86
|
+
*/
|
|
87
|
+
hideOverlay: () => void;
|
|
88
|
+
/**
|
|
89
|
+
* Method to toggle the visiblity of an overlay.
|
|
90
|
+
*
|
|
91
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
92
|
+
*/
|
|
93
|
+
toggleOverlay: () => void;
|
|
94
|
+
}
|
|
95
|
+
export interface FocusEventProps {
|
|
96
|
+
/**
|
|
97
|
+
* Callback when the element loses focus.
|
|
98
|
+
*
|
|
99
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
100
|
+
*/
|
|
101
|
+
onBlur?: (event: FocusEvent) => void;
|
|
102
|
+
/**
|
|
103
|
+
* Callback when the element receives focus.
|
|
104
|
+
*
|
|
105
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
106
|
+
*/
|
|
107
|
+
onFocus?: (event: FocusEvent) => void;
|
|
108
|
+
}
|
|
109
|
+
export interface ToggleEventProps {
|
|
110
|
+
/**
|
|
111
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
112
|
+
*
|
|
113
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
114
|
+
* `newState` property will be set to `open`.
|
|
115
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
116
|
+
* `newState` will be `closed`.
|
|
117
|
+
*
|
|
118
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
119
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
120
|
+
*/
|
|
121
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
122
|
+
/**
|
|
123
|
+
* Callback straight after the element state changes.
|
|
124
|
+
*
|
|
125
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
126
|
+
* `newState` property will be set to `open`.
|
|
127
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
128
|
+
* `newState` will be `closed`.
|
|
129
|
+
*
|
|
130
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
131
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
132
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
133
|
+
*/
|
|
134
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
135
|
+
}
|
|
136
|
+
export type ToggleState = "open" | "closed";
|
|
137
|
+
interface ToggleEvent$1 extends Event {
|
|
138
|
+
readonly newState: ToggleState;
|
|
139
|
+
readonly oldState: ToggleState;
|
|
140
|
+
}
|
|
141
|
+
export interface ExtendableEvent extends Event {
|
|
142
|
+
/**
|
|
143
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
144
|
+
*
|
|
145
|
+
* This may be called many times, which adds promises to the event.
|
|
146
|
+
*
|
|
147
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
148
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
149
|
+
*/
|
|
150
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
39
151
|
}
|
|
152
|
+
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";
|
|
153
|
+
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
40
154
|
export type BackgroundColorKeyword = "transparent" | ColorKeyword;
|
|
41
155
|
export interface BackgroundProps {
|
|
42
156
|
/**
|
|
@@ -56,7 +170,7 @@ export interface BackgroundProps {
|
|
|
56
170
|
*
|
|
57
171
|
* @default 'auto'
|
|
58
172
|
*/
|
|
59
|
-
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "custom";
|
|
173
|
+
export type ToneKeyword = "auto" | "neutral" | "info" | "success" | "caution" | "warning" | "critical" | "accent" | "custom";
|
|
60
174
|
declare const privateIconArray: readonly [
|
|
61
175
|
"adjust",
|
|
62
176
|
"affiliate",
|
|
@@ -65,23 +179,23 @@ declare const privateIconArray: readonly [
|
|
|
65
179
|
"alert-circle",
|
|
66
180
|
"alert-diamond",
|
|
67
181
|
"alert-location",
|
|
68
|
-
"alert-octagon-filled",
|
|
69
182
|
"alert-octagon",
|
|
183
|
+
"alert-octagon-filled",
|
|
70
184
|
"alert-triangle",
|
|
71
185
|
"alert-triangle-filled",
|
|
72
186
|
"app-extension",
|
|
73
187
|
"apps",
|
|
74
188
|
"archive",
|
|
189
|
+
"arrow-down",
|
|
75
190
|
"arrow-down-circle",
|
|
76
191
|
"arrow-down-right",
|
|
77
|
-
"arrow-down",
|
|
78
|
-
"arrow-left-circle",
|
|
79
192
|
"arrow-left",
|
|
80
|
-
"arrow-
|
|
193
|
+
"arrow-left-circle",
|
|
81
194
|
"arrow-right",
|
|
195
|
+
"arrow-right-circle",
|
|
196
|
+
"arrow-up",
|
|
82
197
|
"arrow-up-circle",
|
|
83
198
|
"arrow-up-right",
|
|
84
|
-
"arrow-up",
|
|
85
199
|
"arrows-in-horizontal",
|
|
86
200
|
"arrows-out-horizontal",
|
|
87
201
|
"attachment",
|
|
@@ -90,34 +204,39 @@ declare const privateIconArray: readonly [
|
|
|
90
204
|
"bag",
|
|
91
205
|
"bank",
|
|
92
206
|
"barcode",
|
|
207
|
+
"battery-low",
|
|
93
208
|
"bill",
|
|
94
209
|
"blank",
|
|
95
210
|
"blog",
|
|
96
|
-
"bolt-filled",
|
|
97
211
|
"bolt",
|
|
98
|
-
"
|
|
212
|
+
"bolt-filled",
|
|
99
213
|
"book",
|
|
214
|
+
"book-open",
|
|
100
215
|
"bug",
|
|
101
216
|
"bullet",
|
|
102
217
|
"business-entity",
|
|
103
|
-
"button-press",
|
|
104
218
|
"button",
|
|
219
|
+
"button-press",
|
|
105
220
|
"calculator",
|
|
221
|
+
"calendar",
|
|
106
222
|
"calendar-check",
|
|
107
223
|
"calendar-compare",
|
|
108
224
|
"calendar-list",
|
|
109
225
|
"calendar-time",
|
|
110
|
-
"calendar",
|
|
111
|
-
"camera-flip",
|
|
112
226
|
"camera",
|
|
227
|
+
"camera-flip",
|
|
113
228
|
"caret-down",
|
|
229
|
+
"caret-left",
|
|
230
|
+
"caret-right",
|
|
114
231
|
"caret-up",
|
|
232
|
+
"cart",
|
|
115
233
|
"cart-abandoned",
|
|
116
234
|
"cart-discount",
|
|
117
235
|
"cart-down",
|
|
236
|
+
"cart-filled",
|
|
118
237
|
"cart-sale",
|
|
238
|
+
"cart-send",
|
|
119
239
|
"cart-up",
|
|
120
|
-
"cart",
|
|
121
240
|
"cash-dollar",
|
|
122
241
|
"cash-euro",
|
|
123
242
|
"cash-pound",
|
|
@@ -129,8 +248,8 @@ declare const privateIconArray: readonly [
|
|
|
129
248
|
"chart-cohort",
|
|
130
249
|
"chart-donut",
|
|
131
250
|
"chart-funnel",
|
|
132
|
-
"chart-histogram-first-last",
|
|
133
251
|
"chart-histogram-first",
|
|
252
|
+
"chart-histogram-first-last",
|
|
134
253
|
"chart-histogram-flat",
|
|
135
254
|
"chart-histogram-full",
|
|
136
255
|
"chart-histogram-growth",
|
|
@@ -141,36 +260,36 @@ declare const privateIconArray: readonly [
|
|
|
141
260
|
"chart-popular",
|
|
142
261
|
"chart-stacked",
|
|
143
262
|
"chart-vertical",
|
|
263
|
+
"chat",
|
|
144
264
|
"chat-new",
|
|
145
265
|
"chat-referral",
|
|
146
|
-
"chat",
|
|
147
|
-
"check-circle-filled",
|
|
148
|
-
"check-circle",
|
|
149
266
|
"check",
|
|
267
|
+
"check-circle",
|
|
268
|
+
"check-circle-filled",
|
|
150
269
|
"checkbox",
|
|
151
|
-
"chevron-down-circle",
|
|
152
270
|
"chevron-down",
|
|
153
|
-
"chevron-
|
|
271
|
+
"chevron-down-circle",
|
|
154
272
|
"chevron-left",
|
|
155
|
-
"chevron-
|
|
273
|
+
"chevron-left-circle",
|
|
156
274
|
"chevron-right",
|
|
157
|
-
"chevron-
|
|
275
|
+
"chevron-right-circle",
|
|
158
276
|
"chevron-up",
|
|
159
|
-
"circle
|
|
277
|
+
"chevron-up-circle",
|
|
160
278
|
"circle",
|
|
279
|
+
"circle-dashed",
|
|
280
|
+
"clipboard",
|
|
161
281
|
"clipboard-check",
|
|
162
282
|
"clipboard-checklist",
|
|
163
|
-
"clipboard",
|
|
164
|
-
"clock-revert",
|
|
165
283
|
"clock",
|
|
166
|
-
"
|
|
284
|
+
"clock-revert",
|
|
167
285
|
"code",
|
|
286
|
+
"code-add",
|
|
287
|
+
"collection",
|
|
168
288
|
"collection-featured",
|
|
169
289
|
"collection-list",
|
|
170
290
|
"collection-reference",
|
|
171
|
-
"collection",
|
|
172
|
-
"color-none",
|
|
173
291
|
"color",
|
|
292
|
+
"color-none",
|
|
174
293
|
"compass",
|
|
175
294
|
"complete",
|
|
176
295
|
"compose",
|
|
@@ -181,76 +300,81 @@ declare const privateIconArray: readonly [
|
|
|
181
300
|
"corner-pill",
|
|
182
301
|
"corner-round",
|
|
183
302
|
"corner-square",
|
|
303
|
+
"credit-card",
|
|
184
304
|
"credit-card-cancel",
|
|
185
305
|
"credit-card-percent",
|
|
306
|
+
"credit-card-reader",
|
|
186
307
|
"credit-card-reader-chip",
|
|
187
308
|
"credit-card-reader-tap",
|
|
188
|
-
"credit-card-reader",
|
|
189
309
|
"credit-card-secure",
|
|
190
310
|
"credit-card-tap-chip",
|
|
191
|
-
"credit-card",
|
|
192
311
|
"crop",
|
|
193
312
|
"currency-convert",
|
|
313
|
+
"cursor",
|
|
194
314
|
"cursor-banner",
|
|
195
315
|
"cursor-option",
|
|
196
|
-
"cursor",
|
|
197
316
|
"data-presentation",
|
|
198
317
|
"data-table",
|
|
318
|
+
"database",
|
|
199
319
|
"database-add",
|
|
200
320
|
"database-connect",
|
|
201
|
-
"database",
|
|
202
321
|
"delete",
|
|
203
322
|
"delivered",
|
|
204
323
|
"delivery",
|
|
205
324
|
"desktop",
|
|
206
325
|
"disabled",
|
|
326
|
+
"disabled-filled",
|
|
327
|
+
"discount",
|
|
207
328
|
"discount-add",
|
|
329
|
+
"discount-automatic",
|
|
208
330
|
"discount-code",
|
|
209
|
-
"discount",
|
|
331
|
+
"discount-remove",
|
|
210
332
|
"dns-settings",
|
|
211
333
|
"dock-floating",
|
|
212
334
|
"dock-side",
|
|
335
|
+
"domain",
|
|
213
336
|
"domain-landing-page",
|
|
214
337
|
"domain-new",
|
|
215
338
|
"domain-redirect",
|
|
216
|
-
"domain",
|
|
217
339
|
"download",
|
|
218
340
|
"drag-drop",
|
|
219
341
|
"drag-handle",
|
|
342
|
+
"drawer",
|
|
220
343
|
"duplicate",
|
|
221
344
|
"edit",
|
|
345
|
+
"email",
|
|
222
346
|
"email-follow-up",
|
|
223
347
|
"email-newsletter",
|
|
224
|
-
"email",
|
|
225
348
|
"empty",
|
|
226
349
|
"enabled",
|
|
227
350
|
"enter",
|
|
228
|
-
"envelope-soft-pack",
|
|
229
351
|
"envelope",
|
|
352
|
+
"envelope-soft-pack",
|
|
230
353
|
"eraser",
|
|
231
354
|
"exchange",
|
|
232
355
|
"exit",
|
|
233
356
|
"export",
|
|
234
357
|
"external",
|
|
235
358
|
"eye-check-mark",
|
|
236
|
-
"eye-dropper-list",
|
|
237
359
|
"eye-dropper",
|
|
360
|
+
"eye-dropper-list",
|
|
238
361
|
"eye-first",
|
|
239
362
|
"eyeglasses",
|
|
240
363
|
"fav",
|
|
241
364
|
"favicon",
|
|
242
|
-
"file-list",
|
|
243
365
|
"file",
|
|
366
|
+
"file-list",
|
|
244
367
|
"filter",
|
|
368
|
+
"filter-active",
|
|
245
369
|
"flag",
|
|
246
370
|
"flip-horizontal",
|
|
247
371
|
"flip-vertical",
|
|
248
372
|
"flower",
|
|
373
|
+
"folder",
|
|
249
374
|
"folder-add",
|
|
250
375
|
"folder-down",
|
|
251
376
|
"folder-remove",
|
|
252
377
|
"folder-up",
|
|
253
|
-
"folder",
|
|
254
378
|
"food",
|
|
255
379
|
"foreground",
|
|
256
380
|
"forklift",
|
|
@@ -258,33 +382,35 @@ declare const privateIconArray: readonly [
|
|
|
258
382
|
"games",
|
|
259
383
|
"gauge",
|
|
260
384
|
"geolocation",
|
|
261
|
-
"gift-card",
|
|
262
385
|
"gift",
|
|
386
|
+
"gift-card",
|
|
263
387
|
"git-branch",
|
|
264
388
|
"git-commit",
|
|
265
389
|
"git-repository",
|
|
390
|
+
"globe",
|
|
266
391
|
"globe-asia",
|
|
267
392
|
"globe-europe",
|
|
268
393
|
"globe-lines",
|
|
269
394
|
"globe-list",
|
|
270
|
-
"
|
|
395
|
+
"graduation-hat",
|
|
271
396
|
"grid",
|
|
397
|
+
"hashtag",
|
|
272
398
|
"hashtag-decimal",
|
|
273
399
|
"hashtag-list",
|
|
274
|
-
"hashtag",
|
|
275
400
|
"heart",
|
|
276
|
-
"hide-filled",
|
|
277
401
|
"hide",
|
|
402
|
+
"hide-filled",
|
|
278
403
|
"home",
|
|
404
|
+
"home-filled",
|
|
279
405
|
"icons",
|
|
280
406
|
"identity-card",
|
|
407
|
+
"image",
|
|
281
408
|
"image-add",
|
|
282
409
|
"image-alt",
|
|
283
410
|
"image-explore",
|
|
284
411
|
"image-magic",
|
|
285
412
|
"image-none",
|
|
286
413
|
"image-with-text-overlay",
|
|
287
|
-
"image",
|
|
288
414
|
"images",
|
|
289
415
|
"import",
|
|
290
416
|
"in-progress",
|
|
@@ -293,20 +419,25 @@ declare const privateIconArray: readonly [
|
|
|
293
419
|
"incomplete",
|
|
294
420
|
"info",
|
|
295
421
|
"info-filled",
|
|
296
|
-
"
|
|
422
|
+
"inheritance",
|
|
297
423
|
"inventory",
|
|
424
|
+
"inventory-edit",
|
|
425
|
+
"inventory-list",
|
|
426
|
+
"inventory-transfer",
|
|
427
|
+
"inventory-updated",
|
|
298
428
|
"iq",
|
|
299
429
|
"key",
|
|
430
|
+
"keyboard",
|
|
300
431
|
"keyboard-filled",
|
|
301
432
|
"keyboard-hide",
|
|
302
|
-
"
|
|
433
|
+
"keypad",
|
|
303
434
|
"label-printer",
|
|
304
|
-
"language-translate",
|
|
305
435
|
"language",
|
|
436
|
+
"language-translate",
|
|
306
437
|
"layout-block",
|
|
438
|
+
"layout-buy-button",
|
|
307
439
|
"layout-buy-button-horizontal",
|
|
308
440
|
"layout-buy-button-vertical",
|
|
309
|
-
"layout-buy-button",
|
|
310
441
|
"layout-column-1",
|
|
311
442
|
"layout-columns-2",
|
|
312
443
|
"layout-columns-3",
|
|
@@ -319,64 +450,73 @@ declare const privateIconArray: readonly [
|
|
|
319
450
|
"layout-sidebar-left",
|
|
320
451
|
"layout-sidebar-right",
|
|
321
452
|
"lightbulb",
|
|
322
|
-
"link-list",
|
|
323
453
|
"link",
|
|
454
|
+
"link-list",
|
|
324
455
|
"list-bulleted",
|
|
456
|
+
"list-bulleted-filled",
|
|
325
457
|
"list-numbered",
|
|
326
458
|
"live",
|
|
327
|
-
"
|
|
459
|
+
"live-critical",
|
|
460
|
+
"live-none",
|
|
328
461
|
"location",
|
|
462
|
+
"location-none",
|
|
329
463
|
"lock",
|
|
330
464
|
"map",
|
|
465
|
+
"markets",
|
|
331
466
|
"markets-euro",
|
|
332
467
|
"markets-rupee",
|
|
333
468
|
"markets-yen",
|
|
334
|
-
"markets",
|
|
335
469
|
"maximize",
|
|
336
|
-
"measurement-size-list",
|
|
337
470
|
"measurement-size",
|
|
338
|
-
"measurement-
|
|
471
|
+
"measurement-size-list",
|
|
339
472
|
"measurement-volume",
|
|
340
|
-
"measurement-
|
|
473
|
+
"measurement-volume-list",
|
|
341
474
|
"measurement-weight",
|
|
475
|
+
"measurement-weight-list",
|
|
342
476
|
"media-receiver",
|
|
343
477
|
"megaphone",
|
|
344
478
|
"mention",
|
|
479
|
+
"menu",
|
|
480
|
+
"menu-filled",
|
|
345
481
|
"menu-horizontal",
|
|
346
482
|
"menu-vertical",
|
|
347
|
-
"menu",
|
|
348
483
|
"merge",
|
|
349
484
|
"metafields",
|
|
485
|
+
"metaobject",
|
|
350
486
|
"metaobject-list",
|
|
351
487
|
"metaobject-reference",
|
|
352
|
-
"metaobject",
|
|
353
488
|
"microphone",
|
|
354
489
|
"minimize",
|
|
355
|
-
"minus-circle",
|
|
356
490
|
"minus",
|
|
491
|
+
"minus-circle",
|
|
357
492
|
"mobile",
|
|
358
|
-
"money-none",
|
|
359
493
|
"money",
|
|
494
|
+
"money-none",
|
|
495
|
+
"money-split",
|
|
360
496
|
"moon",
|
|
361
497
|
"nature",
|
|
362
|
-
"note-add",
|
|
363
498
|
"note",
|
|
499
|
+
"note-add",
|
|
364
500
|
"notification",
|
|
501
|
+
"order",
|
|
365
502
|
"order-batches",
|
|
366
503
|
"order-draft",
|
|
504
|
+
"order-filled",
|
|
367
505
|
"order-first",
|
|
368
506
|
"order-fulfilled",
|
|
369
507
|
"order-repeat",
|
|
370
508
|
"order-unfulfilled",
|
|
371
|
-
"order",
|
|
372
509
|
"orders-status",
|
|
373
510
|
"organization",
|
|
374
511
|
"outdent",
|
|
375
512
|
"outgoing",
|
|
513
|
+
"package",
|
|
514
|
+
"package-cancel",
|
|
376
515
|
"package-fulfilled",
|
|
377
516
|
"package-on-hold",
|
|
517
|
+
"package-reassign",
|
|
378
518
|
"package-returned",
|
|
379
|
-
"
|
|
519
|
+
"page",
|
|
380
520
|
"page-add",
|
|
381
521
|
"page-attachment",
|
|
382
522
|
"page-clock",
|
|
@@ -387,7 +527,6 @@ declare const privateIconArray: readonly [
|
|
|
387
527
|
"page-remove",
|
|
388
528
|
"page-report",
|
|
389
529
|
"page-up",
|
|
390
|
-
"page",
|
|
391
530
|
"pagination-end",
|
|
392
531
|
"pagination-start",
|
|
393
532
|
"paint-brush-flat",
|
|
@@ -397,49 +536,55 @@ declare const privateIconArray: readonly [
|
|
|
397
536
|
"passkey",
|
|
398
537
|
"paste",
|
|
399
538
|
"pause-circle",
|
|
400
|
-
"payment-capture",
|
|
401
539
|
"payment",
|
|
540
|
+
"payment-capture",
|
|
541
|
+
"payout",
|
|
402
542
|
"payout-dollar",
|
|
403
543
|
"payout-euro",
|
|
404
544
|
"payout-pound",
|
|
405
545
|
"payout-rupee",
|
|
406
546
|
"payout-yen",
|
|
407
|
-
"
|
|
547
|
+
"person",
|
|
408
548
|
"person-add",
|
|
409
549
|
"person-exit",
|
|
550
|
+
"person-filled",
|
|
410
551
|
"person-list",
|
|
411
552
|
"person-lock",
|
|
412
553
|
"person-remove",
|
|
413
554
|
"person-segment",
|
|
414
|
-
"person",
|
|
415
555
|
"personalized-text",
|
|
556
|
+
"phablet",
|
|
557
|
+
"phone",
|
|
416
558
|
"phone-in",
|
|
417
559
|
"phone-out",
|
|
418
|
-
"phone",
|
|
419
560
|
"pin",
|
|
420
561
|
"pin-remove",
|
|
421
562
|
"plan",
|
|
422
|
-
"play-circle",
|
|
423
563
|
"play",
|
|
564
|
+
"play-circle",
|
|
565
|
+
"plus",
|
|
424
566
|
"plus-circle",
|
|
425
567
|
"plus-circle-down",
|
|
568
|
+
"plus-circle-filled",
|
|
426
569
|
"plus-circle-up",
|
|
427
|
-
"plus",
|
|
428
570
|
"point-of-sale",
|
|
571
|
+
"point-of-sale-register",
|
|
429
572
|
"price-list",
|
|
430
573
|
"print",
|
|
574
|
+
"product",
|
|
431
575
|
"product-add",
|
|
432
576
|
"product-cost",
|
|
577
|
+
"product-filled",
|
|
433
578
|
"product-list",
|
|
434
579
|
"product-reference",
|
|
435
580
|
"product-remove",
|
|
436
581
|
"product-return",
|
|
437
582
|
"product-unavailable",
|
|
438
|
-
"product",
|
|
439
|
-
"profile-filled",
|
|
440
583
|
"profile",
|
|
441
|
-
"
|
|
584
|
+
"profile-filled",
|
|
442
585
|
"question-circle",
|
|
586
|
+
"question-circle-filled",
|
|
587
|
+
"receipt",
|
|
443
588
|
"receipt-dollar",
|
|
444
589
|
"receipt-euro",
|
|
445
590
|
"receipt-folded",
|
|
@@ -448,7 +593,6 @@ declare const privateIconArray: readonly [
|
|
|
448
593
|
"receipt-refund",
|
|
449
594
|
"receipt-rupee",
|
|
450
595
|
"receipt-yen",
|
|
451
|
-
"receipt",
|
|
452
596
|
"receivables",
|
|
453
597
|
"redo",
|
|
454
598
|
"referral-code",
|
|
@@ -466,10 +610,12 @@ declare const privateIconArray: readonly [
|
|
|
466
610
|
"sandbox",
|
|
467
611
|
"save",
|
|
468
612
|
"savings",
|
|
613
|
+
"scan-qr-code",
|
|
614
|
+
"search",
|
|
615
|
+
"search-add",
|
|
469
616
|
"search-list",
|
|
470
617
|
"search-recent",
|
|
471
618
|
"search-resource",
|
|
472
|
-
"search",
|
|
473
619
|
"select",
|
|
474
620
|
"send",
|
|
475
621
|
"settings",
|
|
@@ -479,6 +625,7 @@ declare const privateIconArray: readonly [
|
|
|
479
625
|
"shield-pending",
|
|
480
626
|
"shield-person",
|
|
481
627
|
"shipping-label",
|
|
628
|
+
"shipping-label-cancel",
|
|
482
629
|
"shopcodes",
|
|
483
630
|
"slideshow",
|
|
484
631
|
"smiley-happy",
|
|
@@ -487,68 +634,70 @@ declare const privateIconArray: readonly [
|
|
|
487
634
|
"smiley-sad",
|
|
488
635
|
"social-ad",
|
|
489
636
|
"social-post",
|
|
637
|
+
"sort",
|
|
490
638
|
"sort-ascending",
|
|
491
639
|
"sort-descending",
|
|
492
|
-
"sort",
|
|
493
640
|
"sound",
|
|
494
641
|
"sports",
|
|
642
|
+
"star",
|
|
643
|
+
"star-circle",
|
|
495
644
|
"star-filled",
|
|
496
645
|
"star-half",
|
|
497
646
|
"star-list",
|
|
498
|
-
"star",
|
|
499
|
-
"status-active",
|
|
500
647
|
"status",
|
|
648
|
+
"status-active",
|
|
501
649
|
"stop-circle",
|
|
650
|
+
"store",
|
|
502
651
|
"store-import",
|
|
503
652
|
"store-managed",
|
|
504
653
|
"store-online",
|
|
505
|
-
"store",
|
|
506
654
|
"sun",
|
|
507
|
-
"table-masonry",
|
|
508
655
|
"table",
|
|
656
|
+
"table-masonry",
|
|
509
657
|
"tablet",
|
|
510
658
|
"target",
|
|
511
659
|
"tax",
|
|
512
660
|
"team",
|
|
661
|
+
"text",
|
|
513
662
|
"text-align-center",
|
|
514
663
|
"text-align-left",
|
|
515
664
|
"text-align-right",
|
|
516
665
|
"text-block",
|
|
517
666
|
"text-bold",
|
|
518
667
|
"text-color",
|
|
519
|
-
"text-font-list",
|
|
520
668
|
"text-font",
|
|
669
|
+
"text-font-list",
|
|
521
670
|
"text-grammar",
|
|
522
671
|
"text-in-columns",
|
|
523
672
|
"text-in-rows",
|
|
524
|
-
"text-indent-remove",
|
|
525
673
|
"text-indent",
|
|
674
|
+
"text-indent-remove",
|
|
526
675
|
"text-italic",
|
|
527
676
|
"text-quote",
|
|
528
677
|
"text-title",
|
|
529
678
|
"text-underline",
|
|
530
679
|
"text-with-image",
|
|
531
|
-
"
|
|
680
|
+
"theme",
|
|
532
681
|
"theme-edit",
|
|
533
682
|
"theme-store",
|
|
534
683
|
"theme-template",
|
|
535
|
-
"theme",
|
|
536
684
|
"three-d-environment",
|
|
537
685
|
"thumbs-down",
|
|
538
686
|
"thumbs-up",
|
|
539
687
|
"tip-jar",
|
|
540
688
|
"toggle-off",
|
|
541
689
|
"toggle-on",
|
|
690
|
+
"transaction",
|
|
691
|
+
"transaction-fee-add",
|
|
542
692
|
"transaction-fee-dollar",
|
|
543
693
|
"transaction-fee-euro",
|
|
544
694
|
"transaction-fee-pound",
|
|
545
695
|
"transaction-fee-rupee",
|
|
546
696
|
"transaction-fee-yen",
|
|
547
|
-
"
|
|
697
|
+
"transfer",
|
|
548
698
|
"transfer-in",
|
|
549
699
|
"transfer-internal",
|
|
550
700
|
"transfer-out",
|
|
551
|
-
"transfer",
|
|
552
701
|
"truck",
|
|
553
702
|
"undo",
|
|
554
703
|
"unknown-device",
|
|
@@ -564,12 +713,12 @@ declare const privateIconArray: readonly [
|
|
|
564
713
|
"wand",
|
|
565
714
|
"watch",
|
|
566
715
|
"wifi",
|
|
567
|
-
"work-list",
|
|
568
716
|
"work",
|
|
717
|
+
"work-list",
|
|
569
718
|
"wrench",
|
|
570
|
-
"x
|
|
719
|
+
"x",
|
|
571
720
|
"x-circle",
|
|
572
|
-
"x"
|
|
721
|
+
"x-circle-filled"
|
|
573
722
|
];
|
|
574
723
|
export type IconType = (typeof privateIconArray)[number];
|
|
575
724
|
/**
|
|
@@ -578,6 +727,7 @@ export type IconType = (typeof privateIconArray)[number];
|
|
|
578
727
|
export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
579
728
|
export type MaybeAllValuesShorthandProperty<T extends string> = T | `${T} ${T}` | `${T} ${T} ${T}` | `${T} ${T} ${T} ${T}`;
|
|
580
729
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
730
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
581
731
|
/**
|
|
582
732
|
* Prevents widening string literal types in a union to `string`.
|
|
583
733
|
* @example
|
|
@@ -587,44 +737,48 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
587
737
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
588
738
|
*/
|
|
589
739
|
export type AnyString = string & {};
|
|
590
|
-
|
|
740
|
+
/**
|
|
741
|
+
* This is purely to give the ability
|
|
742
|
+
* to have a space or not in the string literal types.
|
|
743
|
+
*
|
|
744
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
745
|
+
*/
|
|
746
|
+
export type optionalSpace = "" | " ";
|
|
747
|
+
interface BadgeProps$1 extends GlobalProps {
|
|
591
748
|
/**
|
|
592
|
-
* The
|
|
749
|
+
* The content of the Badge.
|
|
593
750
|
*/
|
|
594
|
-
|
|
751
|
+
children?: ComponentChildren;
|
|
595
752
|
/**
|
|
596
|
-
*
|
|
753
|
+
* Sets the tone of the Badge, based on the intention of the information being conveyed.
|
|
754
|
+
*
|
|
755
|
+
* @default 'auto'
|
|
597
756
|
*/
|
|
598
|
-
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Used for Container Query-related props.
|
|
602
|
-
*/
|
|
603
|
-
export interface ContainerProps {
|
|
757
|
+
tone?: ToneKeyword;
|
|
604
758
|
/**
|
|
605
|
-
*
|
|
759
|
+
* Modify the color to be more or less intense.
|
|
606
760
|
*
|
|
607
|
-
* @
|
|
761
|
+
* @default 'base'
|
|
762
|
+
*/
|
|
763
|
+
color?: ColorKeyword;
|
|
764
|
+
/**
|
|
765
|
+
* The type of icon to be displayed in the badge.
|
|
608
766
|
*
|
|
609
767
|
* @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
768
|
*/
|
|
614
|
-
|
|
769
|
+
icon?: IconType | AnyString;
|
|
615
770
|
/**
|
|
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.
|
|
771
|
+
* The position of the icon in relation to the text.
|
|
772
|
+
*/
|
|
773
|
+
iconPosition?: "start" | "end";
|
|
774
|
+
/**
|
|
775
|
+
* Adjusts the size.
|
|
622
776
|
*
|
|
623
|
-
* @default '
|
|
777
|
+
* @default 'base'
|
|
624
778
|
*/
|
|
625
|
-
|
|
779
|
+
size?: SizeKeyword;
|
|
626
780
|
}
|
|
627
|
-
interface BannerProps$1 extends GlobalProps, ActionSlots
|
|
781
|
+
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
628
782
|
/**
|
|
629
783
|
* The title of the banner.
|
|
630
784
|
*
|
|
@@ -675,7 +829,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
675
829
|
*
|
|
676
830
|
* The `hidden` property will be `false` when this event fires.
|
|
677
831
|
*/
|
|
678
|
-
onDismiss?: () => void;
|
|
832
|
+
onDismiss?: (event: Event) => void;
|
|
679
833
|
/**
|
|
680
834
|
* Event handler when the banner has fully hidden.
|
|
681
835
|
*
|
|
@@ -685,7 +839,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
685
839
|
* this event must fire after the banner has fully hidden.
|
|
686
840
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
687
841
|
*/
|
|
688
|
-
onAfterHide?: () => void;
|
|
842
|
+
onAfterHide?: (event: Event) => void;
|
|
689
843
|
/**
|
|
690
844
|
* Determines whether the banner is hidden.
|
|
691
845
|
*
|
|
@@ -709,7 +863,7 @@ export interface DisplayProps {
|
|
|
709
863
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
710
864
|
* @default 'auto'
|
|
711
865
|
*/
|
|
712
|
-
display?: "auto" | "none"
|
|
866
|
+
display?: MaybeResponsive<"auto" | "none">;
|
|
713
867
|
}
|
|
714
868
|
export interface AccessibilityRoleProps {
|
|
715
869
|
/**
|
|
@@ -884,7 +1038,7 @@ export interface PaddingProps {
|
|
|
884
1038
|
*
|
|
885
1039
|
* @default 'none'
|
|
886
1040
|
*/
|
|
887
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1041
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
888
1042
|
/**
|
|
889
1043
|
* Adjust the block-padding.
|
|
890
1044
|
*
|
|
@@ -894,7 +1048,7 @@ export interface PaddingProps {
|
|
|
894
1048
|
*
|
|
895
1049
|
* @default '' - meaning no override
|
|
896
1050
|
*/
|
|
897
|
-
paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1051
|
+
paddingBlock?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
898
1052
|
/**
|
|
899
1053
|
* Adjust the block-start padding.
|
|
900
1054
|
*
|
|
@@ -902,7 +1056,7 @@ export interface PaddingProps {
|
|
|
902
1056
|
*
|
|
903
1057
|
* @default '' - meaning no override
|
|
904
1058
|
*/
|
|
905
|
-
paddingBlockStart?: PaddingKeyword | ""
|
|
1059
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
906
1060
|
/**
|
|
907
1061
|
* Adjust the block-end padding.
|
|
908
1062
|
*
|
|
@@ -910,7 +1064,7 @@ export interface PaddingProps {
|
|
|
910
1064
|
*
|
|
911
1065
|
* @default '' - meaning no override
|
|
912
1066
|
*/
|
|
913
|
-
paddingBlockEnd?: PaddingKeyword | ""
|
|
1067
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
914
1068
|
/**
|
|
915
1069
|
* Adjust the inline padding.
|
|
916
1070
|
*
|
|
@@ -920,7 +1074,7 @@ export interface PaddingProps {
|
|
|
920
1074
|
*
|
|
921
1075
|
* @default '' - meaning no override
|
|
922
1076
|
*/
|
|
923
|
-
paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | ""
|
|
1077
|
+
paddingInline?: MaybeResponsive<MaybeTwoValuesShorthandProperty<PaddingKeyword> | "">;
|
|
924
1078
|
/**
|
|
925
1079
|
* Adjust the inline-start padding.
|
|
926
1080
|
*
|
|
@@ -928,7 +1082,7 @@ export interface PaddingProps {
|
|
|
928
1082
|
*
|
|
929
1083
|
* @default '' - meaning no override
|
|
930
1084
|
*/
|
|
931
|
-
paddingInlineStart?: PaddingKeyword | ""
|
|
1085
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | "">;
|
|
932
1086
|
/**
|
|
933
1087
|
* Adjust the inline-end padding.
|
|
934
1088
|
*
|
|
@@ -936,7 +1090,7 @@ export interface PaddingProps {
|
|
|
936
1090
|
*
|
|
937
1091
|
* @default '' - meaning no override
|
|
938
1092
|
*/
|
|
939
|
-
paddingInlineEnd?: PaddingKeyword | ""
|
|
1093
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
940
1094
|
}
|
|
941
1095
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
942
1096
|
export type SizeUnitsOrAuto = SizeUnits | "auto";
|
|
@@ -949,7 +1103,7 @@ export interface SizingProps {
|
|
|
949
1103
|
*
|
|
950
1104
|
* @default 'auto'
|
|
951
1105
|
*/
|
|
952
|
-
blockSize?: SizeUnitsOrAuto
|
|
1106
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
953
1107
|
/**
|
|
954
1108
|
* Adjust the minimum block size.
|
|
955
1109
|
*
|
|
@@ -957,7 +1111,7 @@ export interface SizingProps {
|
|
|
957
1111
|
*
|
|
958
1112
|
* @default '0'
|
|
959
1113
|
*/
|
|
960
|
-
minBlockSize?: SizeUnits
|
|
1114
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
961
1115
|
/**
|
|
962
1116
|
* Adjust the maximum block size.
|
|
963
1117
|
*
|
|
@@ -965,7 +1119,7 @@ export interface SizingProps {
|
|
|
965
1119
|
*
|
|
966
1120
|
* @default 'none'
|
|
967
1121
|
*/
|
|
968
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1122
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
969
1123
|
/**
|
|
970
1124
|
* Adjust the inline size.
|
|
971
1125
|
*
|
|
@@ -973,7 +1127,7 @@ export interface SizingProps {
|
|
|
973
1127
|
*
|
|
974
1128
|
* @default 'auto'
|
|
975
1129
|
*/
|
|
976
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1130
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
977
1131
|
/**
|
|
978
1132
|
* Adjust the minimum inline size.
|
|
979
1133
|
*
|
|
@@ -981,7 +1135,7 @@ export interface SizingProps {
|
|
|
981
1135
|
*
|
|
982
1136
|
* @default '0'
|
|
983
1137
|
*/
|
|
984
|
-
minInlineSize?: SizeUnits
|
|
1138
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
985
1139
|
/**
|
|
986
1140
|
* Adjust the maximum inline size.
|
|
987
1141
|
*
|
|
@@ -989,7 +1143,7 @@ export interface SizingProps {
|
|
|
989
1143
|
*
|
|
990
1144
|
* @default 'none'
|
|
991
1145
|
*/
|
|
992
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1146
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
993
1147
|
}
|
|
994
1148
|
export type BorderStyleKeyword = "none" | "solid" | "dashed" | "dotted" | "auto";
|
|
995
1149
|
export type BorderSizeKeyword = SizeKeyword | "none";
|
|
@@ -1095,7 +1249,7 @@ export interface OverflowProps {
|
|
|
1095
1249
|
*/
|
|
1096
1250
|
overflow?: "hidden" | "visible";
|
|
1097
1251
|
}
|
|
1098
|
-
export interface BaseBoxProps extends
|
|
1252
|
+
export interface BaseBoxProps extends AccessibilityVisibilityProps, BackgroundProps, DisplayProps, SizingProps, PaddingProps, BorderProps, OverflowProps {
|
|
1099
1253
|
/**
|
|
1100
1254
|
* The content of the Box.
|
|
1101
1255
|
*/
|
|
@@ -1110,21 +1264,11 @@ export interface BaseBoxProps extends GlobalProps, AccessibilityVisibilityProps,
|
|
|
1110
1264
|
}
|
|
1111
1265
|
export interface BaseBoxPropsWithRole extends BaseBoxProps, AccessibilityRoleProps {
|
|
1112
1266
|
}
|
|
1113
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {
|
|
1114
|
-
}
|
|
1115
|
-
export interface FocusEventProps {
|
|
1116
|
-
/**
|
|
1117
|
-
* Callback when the element loses focus.
|
|
1118
|
-
*/
|
|
1119
|
-
onBlur?: () => void;
|
|
1120
|
-
/**
|
|
1121
|
-
* Callback when the element receives focus.
|
|
1122
|
-
*/
|
|
1123
|
-
onFocus?: () => void;
|
|
1267
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {
|
|
1124
1268
|
}
|
|
1125
1269
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1126
1270
|
/**
|
|
1127
|
-
* The behavior of the
|
|
1271
|
+
* The behavior of the Button.
|
|
1128
1272
|
*
|
|
1129
1273
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1130
1274
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1136,12 +1280,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1136
1280
|
*/
|
|
1137
1281
|
type?: "submit" | "button" | "reset";
|
|
1138
1282
|
/**
|
|
1139
|
-
* Callback when the
|
|
1283
|
+
* Callback when the Button is activated.
|
|
1140
1284
|
* This will be called before the action indicated by `type`.
|
|
1285
|
+
*
|
|
1286
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1141
1287
|
*/
|
|
1142
|
-
onClick?: () => void;
|
|
1288
|
+
onClick?: (event: Event) => void;
|
|
1143
1289
|
/**
|
|
1144
|
-
* Disables the
|
|
1290
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1145
1291
|
*
|
|
1146
1292
|
* @default false
|
|
1147
1293
|
*/
|
|
@@ -1149,7 +1295,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1149
1295
|
/**
|
|
1150
1296
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1151
1297
|
*
|
|
1152
|
-
* This also disables the
|
|
1298
|
+
* This also disables the Button.
|
|
1153
1299
|
*
|
|
1154
1300
|
* @default false
|
|
1155
1301
|
*/
|
|
@@ -1179,15 +1325,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1179
1325
|
target?: "auto" | "_blank" | "_self" | "_parent" | "_top" | AnyString;
|
|
1180
1326
|
/**
|
|
1181
1327
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1182
|
-
* Download only works for same-origin URLs
|
|
1328
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1183
1329
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1184
1330
|
*/
|
|
1185
1331
|
download?: string;
|
|
1186
1332
|
/**
|
|
1187
1333
|
* Callback when the link is activated.
|
|
1188
1334
|
* This will be called before navigating to the location specified by `href`.
|
|
1335
|
+
*
|
|
1336
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1189
1337
|
*/
|
|
1190
|
-
onClick?: () => void;
|
|
1338
|
+
onClick?: (event: Event) => void;
|
|
1191
1339
|
}
|
|
1192
1340
|
export interface InteractionProps {
|
|
1193
1341
|
/**
|
|
@@ -1214,6 +1362,10 @@ export interface InteractionProps {
|
|
|
1214
1362
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1215
1363
|
*/
|
|
1216
1364
|
command?: "--auto" | "--show" | "--hide" | "--toggle" | "--copy";
|
|
1365
|
+
/**
|
|
1366
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1367
|
+
*/
|
|
1368
|
+
interestFor?: string;
|
|
1217
1369
|
}
|
|
1218
1370
|
export interface BaseClickableProps extends ButtonBehaviorProps, LinkBehaviorProps {
|
|
1219
1371
|
}
|
|
@@ -1221,7 +1373,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1221
1373
|
/**
|
|
1222
1374
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1223
1375
|
*
|
|
1224
|
-
* Use this when using only an icon or the
|
|
1376
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1225
1377
|
* for users using assistive technologies.
|
|
1226
1378
|
*/
|
|
1227
1379
|
accessibilityLabel?: string;
|
|
@@ -1230,13 +1382,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1230
1382
|
*/
|
|
1231
1383
|
children?: ComponentChildren;
|
|
1232
1384
|
/**
|
|
1233
|
-
* The type of icon to be displayed in the
|
|
1385
|
+
* The type of icon to be displayed in the Button.
|
|
1234
1386
|
*
|
|
1235
1387
|
* @default ''
|
|
1236
1388
|
*/
|
|
1237
1389
|
icon?: IconType | AnyString;
|
|
1238
1390
|
/**
|
|
1239
|
-
* The displayed inline width of the
|
|
1391
|
+
* The displayed inline width of the Button.
|
|
1240
1392
|
*
|
|
1241
1393
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1242
1394
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1252,7 +1404,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1252
1404
|
*/
|
|
1253
1405
|
variant?: "auto" | "primary" | "secondary" | "tertiary";
|
|
1254
1406
|
/**
|
|
1255
|
-
* Sets the tone of the Button
|
|
1407
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1256
1408
|
*
|
|
1257
1409
|
* @default 'auto'
|
|
1258
1410
|
*/
|
|
@@ -1279,12 +1431,16 @@ export interface BaseInputProps {
|
|
|
1279
1431
|
export interface InputProps extends BaseInputProps {
|
|
1280
1432
|
/**
|
|
1281
1433
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1434
|
+
*
|
|
1435
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1282
1436
|
*/
|
|
1283
|
-
onChange?: (
|
|
1437
|
+
onChange?: (event: Event) => void;
|
|
1284
1438
|
/**
|
|
1285
1439
|
* Callback when the user makes any changes in the field.
|
|
1440
|
+
*
|
|
1441
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1286
1442
|
*/
|
|
1287
|
-
onInput?: (
|
|
1443
|
+
onInput?: (event: Event) => void;
|
|
1288
1444
|
/**
|
|
1289
1445
|
* The current value for the field. If omitted, the field will be empty.
|
|
1290
1446
|
*/
|
|
@@ -1296,22 +1452,54 @@ export interface InputProps extends BaseInputProps {
|
|
|
1296
1452
|
*/
|
|
1297
1453
|
defaultValue?: string;
|
|
1298
1454
|
}
|
|
1299
|
-
export interface
|
|
1455
|
+
export interface MultipleInputProps extends BaseInputProps {
|
|
1300
1456
|
/**
|
|
1301
|
-
* Callback when the user has
|
|
1457
|
+
* Callback when the user has selected option(s).
|
|
1458
|
+
*
|
|
1459
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1302
1460
|
*/
|
|
1303
|
-
onChange?: (
|
|
1461
|
+
onChange?: (event: Event) => void;
|
|
1304
1462
|
/**
|
|
1305
|
-
* Callback when the user
|
|
1463
|
+
* Callback when the user has selected option(s).
|
|
1464
|
+
*
|
|
1465
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1466
|
+
*/
|
|
1467
|
+
onInput?: (event: Event) => void;
|
|
1468
|
+
/**
|
|
1469
|
+
* An array of the `value`s of the selected options.
|
|
1470
|
+
*
|
|
1471
|
+
* This is a convenience prop for setting the `selected` prop on child options.
|
|
1472
|
+
*/
|
|
1473
|
+
values?: string[];
|
|
1474
|
+
}
|
|
1475
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1476
|
+
/**
|
|
1477
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1478
|
+
*/
|
|
1479
|
+
onChange?: (event: Event) => void;
|
|
1480
|
+
/**
|
|
1481
|
+
* Callback when the user makes any changes in the file selection.
|
|
1482
|
+
*/
|
|
1483
|
+
onInput?: (event: Event) => void;
|
|
1484
|
+
/**
|
|
1485
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1486
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1487
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1488
|
+
*
|
|
1489
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1490
|
+
*
|
|
1491
|
+
* @default ''
|
|
1306
1492
|
*/
|
|
1307
|
-
|
|
1493
|
+
value?: string;
|
|
1308
1494
|
/**
|
|
1309
|
-
*
|
|
1495
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1496
|
+
*
|
|
1497
|
+
* This property is read-only and cannot be directly modified.
|
|
1498
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1310
1499
|
*
|
|
1311
|
-
*
|
|
1312
|
-
* We haven't agreed how to represent that yet.
|
|
1500
|
+
* @default []
|
|
1313
1501
|
*/
|
|
1314
|
-
|
|
1502
|
+
files?: readonly File[];
|
|
1315
1503
|
}
|
|
1316
1504
|
export interface FieldErrorProps {
|
|
1317
1505
|
/**
|
|
@@ -1398,6 +1586,48 @@ export interface FieldDecorationProps {
|
|
|
1398
1586
|
*/
|
|
1399
1587
|
accessory?: ComponentChildren;
|
|
1400
1588
|
}
|
|
1589
|
+
export interface NumberConstraintsProps {
|
|
1590
|
+
/**
|
|
1591
|
+
* The highest decimal or integer to be accepted for the field.
|
|
1592
|
+
* When used with `step` the value will round down to the max number.
|
|
1593
|
+
*
|
|
1594
|
+
* Note: a user will still be able to use the keyboard to input a number higher than
|
|
1595
|
+
* the max. It is up to the developer to add appropriate validation.
|
|
1596
|
+
*
|
|
1597
|
+
* @default Infinity
|
|
1598
|
+
*/
|
|
1599
|
+
max?: number;
|
|
1600
|
+
/**
|
|
1601
|
+
* The lowest decimal or integer to be accepted for the field.
|
|
1602
|
+
* When used with `step` the value will round up to the min number.
|
|
1603
|
+
*
|
|
1604
|
+
* Note: a user will still be able to use the keyboard to input a number lower than
|
|
1605
|
+
* the min. It is up to the developer to add appropriate validation.
|
|
1606
|
+
*
|
|
1607
|
+
* @default -Infinity
|
|
1608
|
+
*/
|
|
1609
|
+
min?: number;
|
|
1610
|
+
/**
|
|
1611
|
+
* The amount the value can increase or decrease by. This can be an integer or decimal.
|
|
1612
|
+
* If a `max` or `min` is specified with `step` when increasing/decreasing the value
|
|
1613
|
+
* via the buttons, the final value will always round to the `max` or `min`
|
|
1614
|
+
* rather than the closest valid amount.
|
|
1615
|
+
*
|
|
1616
|
+
* @default 1
|
|
1617
|
+
*/
|
|
1618
|
+
step?: number;
|
|
1619
|
+
/**
|
|
1620
|
+
* Sets the type of controls displayed in the field.
|
|
1621
|
+
*
|
|
1622
|
+
* - `stepper`: displays buttons to increase or decrease the value of the field by the stepping interval defined in the `step` property.
|
|
1623
|
+
* 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.
|
|
1624
|
+
* - `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.
|
|
1625
|
+
* - `auto`: the presence of the controls depends on the surface and context.
|
|
1626
|
+
*
|
|
1627
|
+
* @default 'auto'
|
|
1628
|
+
*/
|
|
1629
|
+
controls?: "auto" | "stepper" | "none";
|
|
1630
|
+
}
|
|
1401
1631
|
export interface MinMaxLengthProps {
|
|
1402
1632
|
/**
|
|
1403
1633
|
* Specifies the maximum number of characters allowed.
|
|
@@ -1412,6 +1642,214 @@ export interface MinMaxLengthProps {
|
|
|
1412
1642
|
*/
|
|
1413
1643
|
minLength?: number;
|
|
1414
1644
|
}
|
|
1645
|
+
export interface BaseSelectableProps {
|
|
1646
|
+
/**
|
|
1647
|
+
* A label used for users using assistive technologies like screen readers. When set, any children or `label` supplied will not be announced.
|
|
1648
|
+
* This can also be used to display a control without a visual label, while still providing context to users using screen readers.
|
|
1649
|
+
*/
|
|
1650
|
+
accessibilityLabel?: string;
|
|
1651
|
+
/**
|
|
1652
|
+
* Disables the control, disallowing any interaction.
|
|
1653
|
+
*
|
|
1654
|
+
* @default false
|
|
1655
|
+
*/
|
|
1656
|
+
disabled?: boolean;
|
|
1657
|
+
/**
|
|
1658
|
+
* The value used in form data when the control is checked.
|
|
1659
|
+
*/
|
|
1660
|
+
value?: string;
|
|
1661
|
+
}
|
|
1662
|
+
export interface BaseOptionProps extends BaseSelectableProps {
|
|
1663
|
+
/**
|
|
1664
|
+
* Whether the control is active.
|
|
1665
|
+
*
|
|
1666
|
+
* @default false
|
|
1667
|
+
*/
|
|
1668
|
+
selected?: boolean;
|
|
1669
|
+
/**
|
|
1670
|
+
* Whether the control is active by default.
|
|
1671
|
+
*
|
|
1672
|
+
* @implementation `defaultSelected` reflects to the `selected` attribute.
|
|
1673
|
+
*
|
|
1674
|
+
* @default false
|
|
1675
|
+
*/
|
|
1676
|
+
defaultSelected?: boolean;
|
|
1677
|
+
}
|
|
1678
|
+
export interface BaseCheckableProps extends BaseSelectableProps, InteractionProps {
|
|
1679
|
+
/**
|
|
1680
|
+
* Visual content to use as the control label.
|
|
1681
|
+
*/
|
|
1682
|
+
label?: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* Whether the control is active.
|
|
1685
|
+
*
|
|
1686
|
+
* @default false
|
|
1687
|
+
*/
|
|
1688
|
+
checked?: boolean;
|
|
1689
|
+
/**
|
|
1690
|
+
* Whether the control is active by default.
|
|
1691
|
+
*
|
|
1692
|
+
* @implementation `defaultChecked` reflects to the `checked` attribute.
|
|
1693
|
+
*
|
|
1694
|
+
* @default false
|
|
1695
|
+
*/
|
|
1696
|
+
defaultChecked?: boolean;
|
|
1697
|
+
/**
|
|
1698
|
+
* An identifier for the control that is unique within the nearest
|
|
1699
|
+
* containing `Form` component.
|
|
1700
|
+
*/
|
|
1701
|
+
name?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* A callback that is run whenever the control is changed.
|
|
1704
|
+
*
|
|
1705
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1706
|
+
*/
|
|
1707
|
+
onChange?: (event: Event) => void;
|
|
1708
|
+
/**
|
|
1709
|
+
* A callback that is run whenever the control is changed.
|
|
1710
|
+
*
|
|
1711
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1712
|
+
*/
|
|
1713
|
+
onInput?: (event: Event) => void;
|
|
1714
|
+
}
|
|
1715
|
+
interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorProps, FieldDetailsProps {
|
|
1716
|
+
/**
|
|
1717
|
+
* Whether to display the checkbox in an indeterminate state (neither checked or unchecked).
|
|
1718
|
+
*
|
|
1719
|
+
* In terms of appearance, this takes priority over the `checked` prop.
|
|
1720
|
+
* But this is purely a visual change.
|
|
1721
|
+
* Whether the value is submitted along with a form is still down to the `checked` prop.
|
|
1722
|
+
*
|
|
1723
|
+
* If `indeterminate` has not been explicitly set, and the `indeterminate` state hasn't been modified by the user (via clicking),
|
|
1724
|
+
* then `indeterminate` returns the value of `defaultIndeterminate`.
|
|
1725
|
+
*
|
|
1726
|
+
* @implementation The `indeterminate` property doesn't reflect to any attribute.
|
|
1727
|
+
*/
|
|
1728
|
+
indeterminate?: boolean;
|
|
1729
|
+
/**
|
|
1730
|
+
* Whether the checkbox is in an `indeterminate` state by default.
|
|
1731
|
+
*
|
|
1732
|
+
* Similar to `defaultValue` and `defaultChecked`, this value applies until `indeterminate` is set, or user changes the state of the checkbox.
|
|
1733
|
+
*
|
|
1734
|
+
* @implementation `defaultIndeterminate` reflects to the `indeterminate` attribute.
|
|
1735
|
+
*
|
|
1736
|
+
* @default false
|
|
1737
|
+
*/
|
|
1738
|
+
defaultIndeterminate?: boolean;
|
|
1739
|
+
/**
|
|
1740
|
+
* Whether the field needs a value. This requirement adds semantic value
|
|
1741
|
+
* to the field, but it will not cause an error to appear automatically.
|
|
1742
|
+
* If you want to present an error when this field is empty, you can do
|
|
1743
|
+
* so with the `error` property.
|
|
1744
|
+
*
|
|
1745
|
+
* @default false
|
|
1746
|
+
*/
|
|
1747
|
+
required?: boolean;
|
|
1748
|
+
}
|
|
1749
|
+
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1750
|
+
/**
|
|
1751
|
+
* Content to use as the choice label.
|
|
1752
|
+
*
|
|
1753
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1754
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1755
|
+
* element structure is ignored.
|
|
1756
|
+
*
|
|
1757
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1758
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1759
|
+
* is no coercion to a string.
|
|
1760
|
+
*/
|
|
1761
|
+
children?: ComponentChildren | StringChildren;
|
|
1762
|
+
/**
|
|
1763
|
+
* Additional text to provide context or guidance for the input.
|
|
1764
|
+
*
|
|
1765
|
+
* This text is displayed along with the input and its label
|
|
1766
|
+
* to offer more information or instructions to the user.
|
|
1767
|
+
*
|
|
1768
|
+
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1769
|
+
*/
|
|
1770
|
+
details?: ComponentChildren;
|
|
1771
|
+
/**
|
|
1772
|
+
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1773
|
+
*
|
|
1774
|
+
* @default false
|
|
1775
|
+
*/
|
|
1776
|
+
error?: boolean;
|
|
1777
|
+
/**
|
|
1778
|
+
* Secondary content for a choice.
|
|
1779
|
+
*/
|
|
1780
|
+
secondaryContent?: ComponentChildren;
|
|
1781
|
+
/**
|
|
1782
|
+
* Content to display when the option is selected.
|
|
1783
|
+
*
|
|
1784
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1785
|
+
*/
|
|
1786
|
+
selectedContent?: ComponentChildren;
|
|
1787
|
+
}
|
|
1788
|
+
interface ChoiceListProps$1 extends GlobalProps, Pick<BasicFieldProps, "label" | "labelAccessibilityVisibility" | "error">, MultipleInputProps, FieldDetailsProps {
|
|
1789
|
+
/**
|
|
1790
|
+
* Whether multiple choices can be selected.
|
|
1791
|
+
*
|
|
1792
|
+
* @default false
|
|
1793
|
+
*/
|
|
1794
|
+
multiple?: boolean;
|
|
1795
|
+
/**
|
|
1796
|
+
* The choices a user can select from.
|
|
1797
|
+
*
|
|
1798
|
+
* Accepts `Choice` components.
|
|
1799
|
+
*/
|
|
1800
|
+
children?: ComponentChildren;
|
|
1801
|
+
/**
|
|
1802
|
+
* Disables the field, disallowing any interaction.
|
|
1803
|
+
*
|
|
1804
|
+
* `disabled` on any child choices is ignored when this is true.
|
|
1805
|
+
*
|
|
1806
|
+
* @default false
|
|
1807
|
+
*/
|
|
1808
|
+
disabled?: MultipleInputProps["disabled"];
|
|
1809
|
+
/**
|
|
1810
|
+
* The variant of the choice grid.
|
|
1811
|
+
*
|
|
1812
|
+
* - `auto`: The variant is determined by the context.
|
|
1813
|
+
* - `list`: The choices are displayed in a list.
|
|
1814
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1815
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1816
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1817
|
+
*
|
|
1818
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1819
|
+
* discretion of each surface.
|
|
1820
|
+
*
|
|
1821
|
+
* @default 'auto'
|
|
1822
|
+
*/
|
|
1823
|
+
variant?: "auto" | "list" | "inline" | "block" | "grid";
|
|
1824
|
+
}
|
|
1825
|
+
interface ClickableProps$1 extends GlobalProps, BaseBoxProps, BaseClickableProps {
|
|
1826
|
+
/**
|
|
1827
|
+
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1828
|
+
*
|
|
1829
|
+
* This also disables the clickable.
|
|
1830
|
+
*/
|
|
1831
|
+
loading?: BaseClickableProps["loading"];
|
|
1832
|
+
/**
|
|
1833
|
+
* Disables the clickable, meaning it cannot be clicked or receive focus.
|
|
1834
|
+
*
|
|
1835
|
+
* In this state, onClick will not fire.
|
|
1836
|
+
* If the click event originates from a child element, the event will immediately stop propagating from this element.
|
|
1837
|
+
*
|
|
1838
|
+
* However, items within the clickable can still receive focus and be interacted with.
|
|
1839
|
+
*
|
|
1840
|
+
* This has no impact on the visual state by default,
|
|
1841
|
+
* but developers are encouraged to style the clickable accordingly.
|
|
1842
|
+
*/
|
|
1843
|
+
disabled?: BaseClickableProps["disabled"];
|
|
1844
|
+
/**
|
|
1845
|
+
* Indicate the text language. Useful when the text is in a different language than the rest of the page.
|
|
1846
|
+
* It will allow assistive technologies such as screen readers to invoke the correct pronunciation.
|
|
1847
|
+
* [Reference of values](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) ("subtag" label)
|
|
1848
|
+
*
|
|
1849
|
+
* @default ''
|
|
1850
|
+
*/
|
|
1851
|
+
lang?: string;
|
|
1852
|
+
}
|
|
1415
1853
|
interface ClipboardItemProps$1 extends GlobalProps {
|
|
1416
1854
|
/**
|
|
1417
1855
|
* Plain text to be written to the clipboard.
|
|
@@ -1422,11 +1860,11 @@ interface ClipboardItemProps$1 extends GlobalProps {
|
|
|
1422
1860
|
/**
|
|
1423
1861
|
* Callback run when the copy to clipboard succeeds.
|
|
1424
1862
|
*/
|
|
1425
|
-
onCopy?: () => void;
|
|
1863
|
+
onCopy?: (event: ClipboardEvent) => void;
|
|
1426
1864
|
/**
|
|
1427
1865
|
* Callback run when the copy to clipboard fails.
|
|
1428
1866
|
*/
|
|
1429
|
-
onCopyError?: () => void;
|
|
1867
|
+
onCopyError?: (event: Event) => void;
|
|
1430
1868
|
}
|
|
1431
1869
|
export interface AutocompleteProps<AutocompleteField extends AnyAutocompleteField> {
|
|
1432
1870
|
/**
|
|
@@ -1469,109 +1907,344 @@ export type AutocompleteGroup = "shipping" | "billing";
|
|
|
1469
1907
|
export type AutocompleteAddressGroup = "fax" | "home" | "mobile" | "pager";
|
|
1470
1908
|
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
1909
|
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">;
|
|
1472
|
-
|
|
1910
|
+
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`>;
|
|
1911
|
+
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
1473
1912
|
/**
|
|
1474
|
-
*
|
|
1475
|
-
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
1476
|
-
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
1477
|
-
* - A valid MIME type string with no extensions
|
|
1913
|
+
* The type of number to collect.
|
|
1478
1914
|
*
|
|
1479
|
-
*
|
|
1915
|
+
* 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.
|
|
1480
1916
|
*
|
|
1481
|
-
* @
|
|
1482
|
-
*/
|
|
1483
|
-
accept?: string;
|
|
1484
|
-
/**
|
|
1485
|
-
* A label that describes the purpose or contents of the item. When set,
|
|
1486
|
-
* it will be announced to buyers using assistive technologies and will
|
|
1487
|
-
* provide them with more context.
|
|
1917
|
+
* @default '' meaning no specific kind of phone number
|
|
1488
1918
|
*/
|
|
1489
|
-
|
|
1919
|
+
type?: "mobile" | "";
|
|
1920
|
+
}
|
|
1921
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
1490
1922
|
/**
|
|
1491
|
-
*
|
|
1923
|
+
* Default month to display in `YYYY-MM` format.
|
|
1492
1924
|
*
|
|
1493
|
-
*
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
/**
|
|
1497
|
-
* Callback when rejected files are dropped. Files are rejected based on the `accept` prop.
|
|
1925
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
1926
|
+
*
|
|
1927
|
+
* Defaults to the current month in the user's locale.
|
|
1498
1928
|
*/
|
|
1499
|
-
|
|
1500
|
-
}
|
|
1501
|
-
export interface ExtendableEvent extends Event {
|
|
1929
|
+
defaultView?: string;
|
|
1502
1930
|
/**
|
|
1503
|
-
*
|
|
1931
|
+
* Displayed month in `YYYY-MM` format.
|
|
1504
1932
|
*
|
|
1505
|
-
*
|
|
1933
|
+
* `onViewChange` is called when this value changes.
|
|
1506
1934
|
*
|
|
1507
|
-
*
|
|
1508
|
-
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
1935
|
+
* Defaults to `defaultView`.
|
|
1509
1936
|
*/
|
|
1510
|
-
|
|
1511
|
-
}
|
|
1512
|
-
interface FormProps$1 extends GlobalProps, ContainerProps {
|
|
1937
|
+
view?: string;
|
|
1513
1938
|
/**
|
|
1514
|
-
*
|
|
1939
|
+
* Called whenever the month to display changes.
|
|
1515
1940
|
*
|
|
1516
|
-
* @
|
|
1941
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
1517
1942
|
*/
|
|
1518
|
-
|
|
1943
|
+
onViewChange?: (view: string) => void;
|
|
1519
1944
|
/**
|
|
1520
|
-
*
|
|
1945
|
+
* The type of selection the date picker allows.
|
|
1521
1946
|
*
|
|
1522
|
-
*
|
|
1947
|
+
* - `single` allows selecting a single date.
|
|
1948
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
1949
|
+
* - `range` allows selecting a single range of dates.
|
|
1523
1950
|
*
|
|
1524
|
-
* @default
|
|
1951
|
+
* @default "single"
|
|
1525
1952
|
*/
|
|
1526
|
-
|
|
1953
|
+
type?: "single" | "multiple" | "range";
|
|
1527
1954
|
/**
|
|
1528
|
-
*
|
|
1955
|
+
* Dates that can be selected.
|
|
1529
1956
|
*
|
|
1530
|
-
*
|
|
1531
|
-
*
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
*
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
*
|
|
1957
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1958
|
+
*
|
|
1959
|
+
* The default `''` allows all dates.
|
|
1960
|
+
*
|
|
1961
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
1962
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
1963
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
1964
|
+
* - Ranges are expressed as `start--end`.
|
|
1965
|
+
* - Ranges are inclusive.
|
|
1966
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1967
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1968
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1969
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1970
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1971
|
+
* - Whitespace is allowed either side of `--`.
|
|
1972
|
+
*
|
|
1973
|
+
* @default ""
|
|
1974
|
+
*
|
|
1975
|
+
* @example
|
|
1976
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
1977
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
1978
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
1540
1979
|
*/
|
|
1541
|
-
|
|
1542
|
-
}
|
|
1543
|
-
export type SpacingKeyword = SizeKeyword | "none";
|
|
1544
|
-
export interface GapProps {
|
|
1980
|
+
allow?: string;
|
|
1545
1981
|
/**
|
|
1546
|
-
*
|
|
1982
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
1547
1983
|
*
|
|
1548
|
-
* A
|
|
1549
|
-
* A pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
|
|
1984
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1550
1985
|
*
|
|
1551
|
-
*
|
|
1986
|
+
* The default `''` has no effect on `allow`.
|
|
1987
|
+
*
|
|
1988
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
1989
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
1990
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
1991
|
+
* - Ranges are expressed as `start--end`.
|
|
1992
|
+
* - Ranges are inclusive.
|
|
1993
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1994
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1995
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1996
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1997
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1998
|
+
* - Whitespace is allowed either side of `--`.
|
|
1999
|
+
*
|
|
2000
|
+
* @default ""
|
|
2001
|
+
*
|
|
2002
|
+
* @example
|
|
2003
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2004
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
1552
2005
|
*/
|
|
1553
|
-
|
|
2006
|
+
disallow?: string;
|
|
1554
2007
|
/**
|
|
1555
|
-
*
|
|
2008
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
1556
2009
|
*
|
|
1557
|
-
*
|
|
2010
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
1558
2011
|
*
|
|
1559
|
-
*
|
|
2012
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2013
|
+
*
|
|
2014
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2015
|
+
*
|
|
2016
|
+
* @default ""
|
|
2017
|
+
*
|
|
2018
|
+
* @example
|
|
2019
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
1560
2020
|
*/
|
|
1561
|
-
|
|
2021
|
+
allowDays?: string;
|
|
1562
2022
|
/**
|
|
1563
|
-
*
|
|
2023
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
1564
2024
|
*
|
|
1565
|
-
*
|
|
2025
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
1566
2026
|
*
|
|
1567
|
-
*
|
|
2027
|
+
* The default `''` has no effect on `allowDays`.
|
|
2028
|
+
*
|
|
2029
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2030
|
+
*
|
|
2031
|
+
* @default ""
|
|
2032
|
+
*
|
|
2033
|
+
* @example
|
|
2034
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2035
|
+
*/
|
|
2036
|
+
disallowDays?: string;
|
|
2037
|
+
/**
|
|
2038
|
+
* Default selected value.
|
|
2039
|
+
*
|
|
2040
|
+
* The default means no date is selected.
|
|
2041
|
+
*
|
|
2042
|
+
* If the provided value is invalid, no date is selected.
|
|
2043
|
+
*
|
|
2044
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2045
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2046
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2047
|
+
*
|
|
2048
|
+
* @default ""
|
|
2049
|
+
*/
|
|
2050
|
+
defaultValue?: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* Current selected value.
|
|
2053
|
+
*
|
|
2054
|
+
* The default means no date is selected.
|
|
2055
|
+
*
|
|
2056
|
+
* If the provided value is invalid, no date is selected.
|
|
2057
|
+
*
|
|
2058
|
+
* Otherwise:
|
|
2059
|
+
*
|
|
2060
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2061
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2062
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2063
|
+
*
|
|
2064
|
+
* @default ""
|
|
2065
|
+
*/
|
|
2066
|
+
value?: string;
|
|
2067
|
+
/**
|
|
2068
|
+
* Callback when any date is selected. Will fire before `onChange`.
|
|
2069
|
+
*/
|
|
2070
|
+
onInput?: (event: Event) => void;
|
|
2071
|
+
/**
|
|
2072
|
+
* Callback when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
2073
|
+
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2074
|
+
*/
|
|
2075
|
+
onChange?: (event: Event) => void;
|
|
2076
|
+
}
|
|
2077
|
+
interface DateFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<DatePickerProps$1, "view" | "defaultView" | "value" | "defaultValue" | "allow" | "disallow" | "allowDays" | "disallowDays" | "onViewChange">, AutocompleteProps<DateAutocompleteField> {
|
|
2078
|
+
/**
|
|
2079
|
+
* Callback when the field has an invalid date.
|
|
2080
|
+
* This callback will be called, if the date typed is invalid or disabled.
|
|
2081
|
+
*
|
|
2082
|
+
* Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
|
|
2083
|
+
* - 2021-02-31: February doesn’t have 31 days
|
|
2084
|
+
* - 2021-02-00: The day can’t be 00
|
|
2085
|
+
*
|
|
2086
|
+
* Disallowed dates are considered invalid.
|
|
2087
|
+
*
|
|
2088
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the date,
|
|
2089
|
+
* and it’s called right after the `onChange` callback.
|
|
2090
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2091
|
+
* they have finished editing the field (typically, by blurring the field), the field gets validated and the callback is run if the value is invalid.
|
|
2092
|
+
*/
|
|
2093
|
+
onInvalid?: (event: Event) => void;
|
|
2094
|
+
}
|
|
2095
|
+
export type DateAutocompleteField = ExtractStrict<AnyAutocompleteField, "bday" | "bday-day" | "bday-month" | "bday-year" | "cc-expiry" | "cc-expiry-month" | "cc-expiry-year">;
|
|
2096
|
+
interface DetailsProps$1 extends GlobalProps, ToggleEventProps {
|
|
2097
|
+
/**
|
|
2098
|
+
* The content of the details.
|
|
2099
|
+
*
|
|
2100
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
2101
|
+
*/
|
|
2102
|
+
children?: ComponentChildren;
|
|
2103
|
+
/**
|
|
2104
|
+
* Name of the element.
|
|
2105
|
+
*
|
|
2106
|
+
* This can be used to create multiple named disclosure boxes that where only one can be open at a time.
|
|
2107
|
+
*
|
|
2108
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#multiple_named_disclosure_boxes
|
|
2109
|
+
*/
|
|
2110
|
+
name?: string;
|
|
2111
|
+
/**
|
|
2112
|
+
* Whether the element is open.
|
|
2113
|
+
*
|
|
2114
|
+
* This does not reflect to any attribute.
|
|
2115
|
+
*
|
|
2116
|
+
* @default false
|
|
2117
|
+
*/
|
|
2118
|
+
open?: boolean;
|
|
2119
|
+
/**
|
|
2120
|
+
* Indicates whether the element should be open by default.
|
|
2121
|
+
*
|
|
2122
|
+
* This reflects to the `open` attribute.
|
|
2123
|
+
*
|
|
2124
|
+
* @default false
|
|
2125
|
+
*/
|
|
2126
|
+
defaultOpen?: boolean;
|
|
2127
|
+
/**
|
|
2128
|
+
* Sets the transition between the two states.
|
|
2129
|
+
*
|
|
2130
|
+
* @default 'auto'
|
|
2131
|
+
*/
|
|
2132
|
+
toggleTransition?: "none" | "auto";
|
|
2133
|
+
}
|
|
2134
|
+
interface DividerProps$1 extends GlobalProps {
|
|
2135
|
+
/**
|
|
2136
|
+
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2137
|
+
*
|
|
2138
|
+
* @default 'inline'
|
|
2139
|
+
*/
|
|
2140
|
+
direction?: "inline" | "block";
|
|
2141
|
+
/**
|
|
2142
|
+
* Modify the color to be more or less intense.
|
|
2143
|
+
*
|
|
2144
|
+
* @default 'base'
|
|
2145
|
+
*/
|
|
2146
|
+
color?: ColorKeyword;
|
|
2147
|
+
}
|
|
2148
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
2149
|
+
/**
|
|
2150
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
2151
|
+
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
2152
|
+
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
2153
|
+
* - A valid MIME type string with no extensions
|
|
2154
|
+
*
|
|
2155
|
+
* If omitted, all file types are accepted.
|
|
2156
|
+
*
|
|
2157
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2158
|
+
* @default ''
|
|
2159
|
+
*/
|
|
2160
|
+
accept?: string;
|
|
2161
|
+
/**
|
|
2162
|
+
* A label that describes the purpose or contents of the item. When set,
|
|
2163
|
+
* it will be announced to buyers using assistive technologies and will
|
|
2164
|
+
* provide them with more context.
|
|
2165
|
+
*/
|
|
2166
|
+
accessibilityLabel?: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* Whether multiple files can be selected or dropped at once.
|
|
2169
|
+
*
|
|
2170
|
+
* @default false
|
|
2171
|
+
*/
|
|
2172
|
+
multiple?: boolean;
|
|
2173
|
+
/**
|
|
2174
|
+
* Callback fired when rejected files are dropped.
|
|
2175
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
2176
|
+
*/
|
|
2177
|
+
onDropRejected?: (event: Event) => void;
|
|
2178
|
+
}
|
|
2179
|
+
interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
|
|
2180
|
+
}
|
|
2181
|
+
export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
|
|
2182
|
+
interface FormProps$1 extends GlobalProps {
|
|
2183
|
+
/**
|
|
2184
|
+
* The content of the form.
|
|
2185
|
+
*/
|
|
2186
|
+
children?: ComponentChildren;
|
|
2187
|
+
/**
|
|
2188
|
+
* Whether the form is able to be submitted.
|
|
2189
|
+
*
|
|
2190
|
+
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
2191
|
+
*
|
|
2192
|
+
* @default false
|
|
2193
|
+
*
|
|
2194
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2195
|
+
* @private
|
|
2196
|
+
*/
|
|
2197
|
+
disabled?: boolean;
|
|
2198
|
+
/**
|
|
2199
|
+
* A callback that is run when the form is submitted.
|
|
2200
|
+
*
|
|
2201
|
+
* Use `event.waitUntil` to signal how long it takes to save the data,
|
|
2202
|
+
* and whether it was successful or not.
|
|
2203
|
+
*/
|
|
2204
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2205
|
+
/**
|
|
2206
|
+
* A callback that is run when the form is reset.
|
|
2207
|
+
*/
|
|
2208
|
+
onReset?: (event: Event) => void;
|
|
2209
|
+
}
|
|
2210
|
+
export type SpacingKeyword = SizeKeyword | "none";
|
|
2211
|
+
export interface GapProps {
|
|
2212
|
+
/**
|
|
2213
|
+
* Adjust spacing between elements.
|
|
2214
|
+
*
|
|
2215
|
+
* A single value applies to both axes.
|
|
2216
|
+
* A pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
|
|
2217
|
+
*
|
|
2218
|
+
* @default 'none'
|
|
2219
|
+
*/
|
|
2220
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
2221
|
+
/**
|
|
2222
|
+
* Adjust spacing between elements in the block axis.
|
|
2223
|
+
*
|
|
2224
|
+
* This overrides the row value of `gap`.
|
|
2225
|
+
*
|
|
2226
|
+
* @default '' - meaning no override
|
|
2227
|
+
*/
|
|
2228
|
+
rowGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
2229
|
+
/**
|
|
2230
|
+
* Adjust spacing between elements in the inline axis.
|
|
2231
|
+
*
|
|
2232
|
+
* This overrides the column value of `gap`.
|
|
2233
|
+
*
|
|
2234
|
+
* @default '' - meaning no override
|
|
1568
2235
|
*/
|
|
1569
|
-
columnGap?: SpacingKeyword | ""
|
|
2236
|
+
columnGap?: MaybeResponsive<SpacingKeyword | "">;
|
|
1570
2237
|
}
|
|
1571
2238
|
export type BaselinePosition = "baseline" | "first baseline" | "last baseline";
|
|
1572
2239
|
export type ContentDistribution = "space-between" | "space-around" | "space-evenly" | "stretch";
|
|
1573
2240
|
export type ContentPosition = "center" | "start" | "end";
|
|
1574
2241
|
export type OverflowPosition = `unsafe ${ContentPosition}` | `safe ${ContentPosition}`;
|
|
2242
|
+
/**
|
|
2243
|
+
* 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.
|
|
2244
|
+
*
|
|
2245
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2246
|
+
*/
|
|
2247
|
+
export type JustifyItemsKeyword = "normal" | "stretch" | BaselinePosition | OverflowPosition | ContentPosition;
|
|
1575
2248
|
/**
|
|
1576
2249
|
* Align items sets the align-self value on all direct children as a group.
|
|
1577
2250
|
*
|
|
@@ -1590,6 +2263,90 @@ export type JustifyContentKeyword = "normal" | ContentDistribution | OverflowPos
|
|
|
1590
2263
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
1591
2264
|
*/
|
|
1592
2265
|
export type AlignContentKeyword = "normal" | BaselinePosition | ContentDistribution | OverflowPosition | ContentPosition;
|
|
2266
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2267
|
+
/**
|
|
2268
|
+
Define columns and specify their size.
|
|
2269
|
+
|
|
2270
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
2271
|
+
@default 'none'
|
|
2272
|
+
*/
|
|
2273
|
+
gridTemplateColumns?: MaybeResponsive<string>;
|
|
2274
|
+
/**
|
|
2275
|
+
Define rows and specify their size.
|
|
2276
|
+
|
|
2277
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
2278
|
+
@default 'none'
|
|
2279
|
+
*/
|
|
2280
|
+
gridTemplateRows?: MaybeResponsive<string>;
|
|
2281
|
+
/**
|
|
2282
|
+
Aligns the grid items along the inline (row) axis.
|
|
2283
|
+
|
|
2284
|
+
This overrides the inline value of `placeItems`.
|
|
2285
|
+
|
|
2286
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2287
|
+
@default '' - meaning no override
|
|
2288
|
+
*/
|
|
2289
|
+
justifyItems?: MaybeResponsive<JustifyItemsKeyword | "">;
|
|
2290
|
+
/**
|
|
2291
|
+
Aligns the grid items along the block (column) axis.
|
|
2292
|
+
|
|
2293
|
+
This overrides the block value of `placeItems`.
|
|
2294
|
+
|
|
2295
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2296
|
+
@default '' - meaning no override
|
|
2297
|
+
*/
|
|
2298
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword | "">;
|
|
2299
|
+
/**
|
|
2300
|
+
A shorthand property for `justify-items` and `align-items`.
|
|
2301
|
+
|
|
2302
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
2303
|
+
@default 'normal normal'
|
|
2304
|
+
*/
|
|
2305
|
+
placeItems?: MaybeResponsive<`${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword>;
|
|
2306
|
+
/**
|
|
2307
|
+
Aligns the grid along the inline (row) axis.
|
|
2308
|
+
|
|
2309
|
+
This overrides the inline value of `placeContent`.
|
|
2310
|
+
|
|
2311
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2312
|
+
@default '' - meaning no override
|
|
2313
|
+
*/
|
|
2314
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword | "">;
|
|
2315
|
+
/**
|
|
2316
|
+
Aligns the grid along the block (column) axis.
|
|
2317
|
+
|
|
2318
|
+
This overrides the block value of `placeContent`.
|
|
2319
|
+
|
|
2320
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2321
|
+
@default '' - meaning no override
|
|
2322
|
+
*/
|
|
2323
|
+
alignContent?: MaybeResponsive<AlignContentKeyword | "">;
|
|
2324
|
+
/**
|
|
2325
|
+
A shorthand property for `justify-content` and `align-content`.
|
|
2326
|
+
|
|
2327
|
+
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
2328
|
+
@default 'normal normal'
|
|
2329
|
+
*/
|
|
2330
|
+
placeContent?: MaybeResponsive<`${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword>;
|
|
2331
|
+
}
|
|
2332
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2333
|
+
/**
|
|
2334
|
+
* Number of columns the item will span across
|
|
2335
|
+
*
|
|
2336
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column
|
|
2337
|
+
*
|
|
2338
|
+
* @default 'auto'
|
|
2339
|
+
*/
|
|
2340
|
+
gridColumn?: `span ${number}` | "auto";
|
|
2341
|
+
/**
|
|
2342
|
+
* Number of rows the item will span across
|
|
2343
|
+
*
|
|
2344
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row
|
|
2345
|
+
*
|
|
2346
|
+
* @default 'auto'
|
|
2347
|
+
*/
|
|
2348
|
+
gridRow?: `span ${number}` | "auto";
|
|
2349
|
+
}
|
|
1593
2350
|
export interface BaseTypographyProps {
|
|
1594
2351
|
/**
|
|
1595
2352
|
* Modify the color to be more or less intense.
|
|
@@ -1645,7 +2402,7 @@ export interface BlockTypographyProps {
|
|
|
1645
2402
|
*/
|
|
1646
2403
|
lineClamp?: number;
|
|
1647
2404
|
}
|
|
1648
|
-
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps
|
|
2405
|
+
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps {
|
|
1649
2406
|
/**
|
|
1650
2407
|
* The content of the Heading.
|
|
1651
2408
|
*/
|
|
@@ -1669,7 +2426,7 @@ interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, Bloc
|
|
|
1669
2426
|
*/
|
|
1670
2427
|
accessibilityRole?: "heading" | ExtractStrict<AccessibilityRole, "presentation" | "none">;
|
|
1671
2428
|
}
|
|
1672
|
-
interface IconProps$1 extends GlobalProps {
|
|
2429
|
+
interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor"> {
|
|
1673
2430
|
/**
|
|
1674
2431
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
1675
2432
|
*
|
|
@@ -1735,13 +2492,6 @@ export interface BaseImageProps {
|
|
|
1735
2492
|
*/
|
|
1736
2493
|
srcSet?: string;
|
|
1737
2494
|
}
|
|
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
2495
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
1746
2496
|
/**
|
|
1747
2497
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -1805,13 +2555,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
1805
2555
|
*
|
|
1806
2556
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
1807
2557
|
*/
|
|
1808
|
-
onLoad?: () => void;
|
|
2558
|
+
onLoad?: (event: Event) => void;
|
|
1809
2559
|
/**
|
|
1810
2560
|
* Invoked on load error.
|
|
1811
2561
|
*
|
|
1812
2562
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
1813
2563
|
*/
|
|
1814
|
-
onError?: () => void;
|
|
2564
|
+
onError?: (event: Event) => void;
|
|
1815
2565
|
}
|
|
1816
2566
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
1817
2567
|
/**
|
|
@@ -1844,115 +2594,348 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
1844
2594
|
*/
|
|
1845
2595
|
children?: ComponentChildren;
|
|
1846
2596
|
}
|
|
1847
|
-
interface
|
|
1848
|
-
}
|
|
1849
|
-
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps, ContainerProps {
|
|
2597
|
+
interface MapProps$1 extends GlobalProps, SizingProps {
|
|
1850
2598
|
/**
|
|
1851
|
-
*
|
|
2599
|
+
* A valid API key for the map service provider.
|
|
2600
|
+
*
|
|
2601
|
+
* 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.
|
|
1852
2602
|
*/
|
|
1853
|
-
|
|
2603
|
+
apiKey?: string;
|
|
1854
2604
|
/**
|
|
1855
|
-
*
|
|
1856
|
-
*
|
|
1857
|
-
* Other presentation properties on `s-paragraph` override the default styling.
|
|
2605
|
+
* Map center’s latitude in degrees.
|
|
1858
2606
|
*
|
|
1859
|
-
* @default
|
|
2607
|
+
* @default 0
|
|
1860
2608
|
*/
|
|
1861
|
-
|
|
1862
|
-
}
|
|
1863
|
-
export type ParagraphType =
|
|
1864
|
-
/**
|
|
1865
|
-
* Indicate the text is a structural grouping of related content.
|
|
1866
|
-
*
|
|
1867
|
-
* In an HTML host, the text will be rendered in an `<p>` element.
|
|
1868
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
|
|
1869
|
-
*/
|
|
1870
|
-
"paragraph"
|
|
1871
|
-
/**
|
|
1872
|
-
* Indicates the text is considered less important than the main content, but is still necessary for the reader to understand.
|
|
1873
|
-
* It can be used for secondary content but also for disclaimers, terms and conditions, or legal information.
|
|
1874
|
-
*
|
|
1875
|
-
* Surfaces should apply a smaller font size than the default size.
|
|
1876
|
-
*
|
|
1877
|
-
* In an HTML host, the text will be rendered in a `<small>` element.
|
|
1878
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
1879
|
-
*/
|
|
1880
|
-
| "small";
|
|
1881
|
-
interface PaymentIconProps$1 extends GlobalProps {
|
|
2609
|
+
latitude?: number;
|
|
1882
2610
|
/**
|
|
1883
|
-
*
|
|
2611
|
+
* Map center’s longitude in degrees.
|
|
1884
2612
|
*
|
|
1885
|
-
* @default
|
|
2613
|
+
* @default 0
|
|
1886
2614
|
*/
|
|
1887
|
-
|
|
2615
|
+
longitude?: number;
|
|
1888
2616
|
/**
|
|
1889
|
-
* A label that describes the purpose or contents of the
|
|
2617
|
+
* A label that describes the purpose or contents of the map.
|
|
1890
2618
|
*
|
|
1891
2619
|
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
1892
|
-
* This should only be used if the icon requires an alternative internationalised label
|
|
1893
|
-
* or if it is otherwise inappropriate to make use of the default label included with the icon.
|
|
1894
2620
|
*/
|
|
1895
2621
|
accessibilityLabel?: string;
|
|
1896
|
-
}
|
|
1897
|
-
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";
|
|
1898
|
-
interface ProgressProps$1 extends GlobalProps {
|
|
1899
2622
|
/**
|
|
1900
|
-
*
|
|
1901
|
-
* it will be announced to users using assistive technologies and will
|
|
1902
|
-
* provide them with more context.
|
|
2623
|
+
* The initial Map zoom level.
|
|
1903
2624
|
*
|
|
1904
|
-
*
|
|
1905
|
-
|
|
1906
|
-
accessibilityLabel?: string;
|
|
1907
|
-
/**
|
|
1908
|
-
* Sets the tone of the progress, based on the intention of the information being conveyed.
|
|
2625
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2626
|
+
* Larger zoom values correspond to a higher resolution.
|
|
1909
2627
|
*
|
|
1910
|
-
* @default
|
|
2628
|
+
* @default 4
|
|
1911
2629
|
*/
|
|
1912
|
-
|
|
2630
|
+
zoom?: number;
|
|
1913
2631
|
/**
|
|
1914
|
-
*
|
|
2632
|
+
* The maximum zoom level which will be displayed on the map.
|
|
1915
2633
|
*
|
|
1916
|
-
*
|
|
1917
|
-
* If there is no value attribute, the progress bar is indeterminate;
|
|
1918
|
-
* this indicates that an activity is ongoing with no indication of how long it is expected to take.
|
|
1919
|
-
*
|
|
1920
|
-
* @implementation Surfaces should apply styling to cover that indeterminate state.
|
|
1921
|
-
* @implementation In a HTML host, you can customize the progress animation via the :indeterminate pseudo-class.
|
|
2634
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
1922
2635
|
*
|
|
1923
|
-
* @
|
|
1924
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate#progress_bar
|
|
2636
|
+
* @default 18
|
|
1925
2637
|
*/
|
|
1926
|
-
|
|
2638
|
+
maxZoom?: number;
|
|
1927
2639
|
/**
|
|
1928
|
-
*
|
|
1929
|
-
*
|
|
1930
|
-
* The `max` attribute, if present, must have a value greater than 0 and be a valid floating point number.
|
|
2640
|
+
* The minimum zoom level which will be displayed on the map.
|
|
1931
2641
|
*
|
|
1932
|
-
*
|
|
2642
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
1933
2643
|
*
|
|
1934
|
-
* @
|
|
2644
|
+
* @default 0
|
|
1935
2645
|
*/
|
|
1936
|
-
|
|
2646
|
+
minZoom?: number;
|
|
2647
|
+
/**
|
|
2648
|
+
* Callback when the viewport bounds have changed or the map is resized.
|
|
2649
|
+
*/
|
|
2650
|
+
onBoundsChange?: (event: MapBoundsChangeEvent) => void;
|
|
2651
|
+
/**
|
|
2652
|
+
* Callback when the map view changes.
|
|
2653
|
+
*/
|
|
2654
|
+
onViewChange?: (event: MapViewChangeEvent) => void;
|
|
2655
|
+
/**
|
|
2656
|
+
* Callback when the user clicks on the map.
|
|
2657
|
+
*/
|
|
2658
|
+
onClick?: (event: MapClickEvent) => void;
|
|
2659
|
+
/**
|
|
2660
|
+
* Callback when the user double-clicks on the map.
|
|
2661
|
+
*/
|
|
2662
|
+
onDblClick?: (event: MapDblClickEvent) => void;
|
|
1937
2663
|
}
|
|
1938
|
-
interface
|
|
2664
|
+
interface Location$1 {
|
|
2665
|
+
latitude?: number;
|
|
2666
|
+
longitude?: number;
|
|
2667
|
+
}
|
|
2668
|
+
export interface Bounds {
|
|
2669
|
+
northEast?: Location$1;
|
|
2670
|
+
southWest?: Location$1;
|
|
2671
|
+
}
|
|
2672
|
+
export interface MapViewChangeEvent extends Event {
|
|
2673
|
+
location?: Location$1;
|
|
2674
|
+
zoom?: number;
|
|
2675
|
+
}
|
|
2676
|
+
export interface MapBoundsChangeEvent extends Event {
|
|
2677
|
+
bounds?: Bounds;
|
|
2678
|
+
}
|
|
2679
|
+
export interface MapClickEvent extends Event {
|
|
2680
|
+
location?: Location$1;
|
|
2681
|
+
}
|
|
2682
|
+
export interface MapDblClickEvent extends Event {
|
|
2683
|
+
location?: Location$1;
|
|
2684
|
+
}
|
|
2685
|
+
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
1939
2686
|
/**
|
|
1940
|
-
*
|
|
2687
|
+
* Marker’s location latitude in degrees.
|
|
1941
2688
|
*
|
|
1942
|
-
*
|
|
1943
|
-
|
|
2689
|
+
* @default 0
|
|
2690
|
+
*/
|
|
2691
|
+
latitude?: number;
|
|
2692
|
+
/**
|
|
2693
|
+
* Marker’s longitude latitude in degrees.
|
|
1944
2694
|
*
|
|
1945
|
-
* @default
|
|
2695
|
+
* @default 0
|
|
1946
2696
|
*/
|
|
1947
|
-
|
|
2697
|
+
longitude?: number;
|
|
1948
2698
|
/**
|
|
1949
|
-
*
|
|
1950
|
-
*
|
|
1951
|
-
*
|
|
2699
|
+
* A label that describes the purpose of the marker. When set,
|
|
2700
|
+
* it will be announced to users using assistive technologies and will
|
|
2701
|
+
* provide them with more context.
|
|
1952
2702
|
*/
|
|
1953
|
-
|
|
2703
|
+
accessibilityLabel?: string;
|
|
1954
2704
|
/**
|
|
1955
|
-
*
|
|
2705
|
+
* Allows grouping the marker in clusters when zoomed out.
|
|
2706
|
+
*
|
|
2707
|
+
* @default false
|
|
2708
|
+
*/
|
|
2709
|
+
clusterable?: boolean;
|
|
2710
|
+
/**
|
|
2711
|
+
* The graphic to use as the marker.
|
|
2712
|
+
*
|
|
2713
|
+
* If unset, it will default to the provider’s default marker.
|
|
2714
|
+
*/
|
|
2715
|
+
graphic?: ComponentChildren;
|
|
2716
|
+
/**
|
|
2717
|
+
* Callback when a marker is clicked.
|
|
2718
|
+
*
|
|
2719
|
+
* It does not trigger a click event on the map itself.
|
|
2720
|
+
*/
|
|
2721
|
+
onClick?: (event: Event) => void;
|
|
2722
|
+
}
|
|
2723
|
+
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ActionSlots {
|
|
2724
|
+
/**
|
|
2725
|
+
* A label that describes the purpose of the modal. When set,
|
|
2726
|
+
* it will be announced to users using assistive technologies and will
|
|
2727
|
+
* provide them with more context.
|
|
2728
|
+
*
|
|
2729
|
+
* This overrides the `heading` prop for screen readers.
|
|
2730
|
+
*/
|
|
2731
|
+
accessibilityLabel?: string;
|
|
2732
|
+
/**
|
|
2733
|
+
* A title that describes the content of the Modal.
|
|
2734
|
+
*
|
|
2735
|
+
*/
|
|
2736
|
+
heading?: string;
|
|
2737
|
+
/**
|
|
2738
|
+
* Adjust the padding around the Modal content.
|
|
2739
|
+
*
|
|
2740
|
+
* `base`: applies padding that is appropriate for the element.
|
|
2741
|
+
*
|
|
2742
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
2743
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
2744
|
+
* to bring back the desired padding for the rest of the content.
|
|
2745
|
+
*
|
|
2746
|
+
* @default 'base'
|
|
2747
|
+
*/
|
|
2748
|
+
padding?: "base" | "none";
|
|
2749
|
+
/**
|
|
2750
|
+
* Adjust the size of the Modal.
|
|
2751
|
+
*
|
|
2752
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
2753
|
+
*
|
|
2754
|
+
* @default 'base'
|
|
2755
|
+
*/
|
|
2756
|
+
size?: SizeKeyword | "max";
|
|
2757
|
+
/**
|
|
2758
|
+
* The content of the Modal.
|
|
2759
|
+
*/
|
|
2760
|
+
children?: ComponentChildren;
|
|
2761
|
+
}
|
|
2762
|
+
interface MoneyFieldProps$1 extends GlobalProps, BaseTextFieldProps, NumberConstraintsProps, AutocompleteProps<MoneyAutocompleteField> {
|
|
2763
|
+
}
|
|
2764
|
+
export type MoneyAutocompleteField = ExtractStrict<AnyAutocompleteField, "transaction-amount">;
|
|
2765
|
+
interface NumberFieldProps$1 extends GlobalProps, BaseTextFieldProps, AutocompleteProps<NumberAutocompleteField>, NumberConstraintsProps, FieldDecorationProps {
|
|
2766
|
+
/**
|
|
2767
|
+
* Sets the virtual keyboard.
|
|
2768
|
+
*
|
|
2769
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
|
|
2770
|
+
* @default 'decimal'
|
|
2771
|
+
*/
|
|
2772
|
+
inputMode?: "decimal" | "numeric";
|
|
2773
|
+
}
|
|
2774
|
+
export type NumberAutocompleteField = ExtractStrict<AnyAutocompleteField, "one-time-code" | "cc-number" | "cc-csc">;
|
|
2775
|
+
interface OptionProps$1 extends GlobalProps, BaseOptionProps {
|
|
2776
|
+
/**
|
|
2777
|
+
* The content to use as the label.
|
|
2778
|
+
*/
|
|
2779
|
+
children?: ComponentChildren;
|
|
2780
|
+
}
|
|
2781
|
+
interface OrderedListProps$1 extends GlobalProps {
|
|
2782
|
+
}
|
|
2783
|
+
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps {
|
|
2784
|
+
/**
|
|
2785
|
+
* The content of the Text.
|
|
2786
|
+
*/
|
|
2787
|
+
children?: ComponentChildren;
|
|
2788
|
+
/**
|
|
2789
|
+
* Provide semantic meaning and default styling to the paragraph.
|
|
2790
|
+
*
|
|
2791
|
+
* Other presentation properties on `s-paragraph` override the default styling.
|
|
2792
|
+
*
|
|
2793
|
+
* @default 'paragraph'
|
|
2794
|
+
*/
|
|
2795
|
+
type?: ParagraphType;
|
|
2796
|
+
}
|
|
2797
|
+
export type ParagraphType =
|
|
2798
|
+
/**
|
|
2799
|
+
* Indicate the text is a structural grouping of related content.
|
|
2800
|
+
*
|
|
2801
|
+
* In an HTML host, the text will be rendered in an `<p>` element.
|
|
2802
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
|
|
2803
|
+
*/
|
|
2804
|
+
"paragraph"
|
|
2805
|
+
/**
|
|
2806
|
+
* Indicates the text is considered less important than the main content, but is still necessary for the reader to understand.
|
|
2807
|
+
* It can be used for secondary content but also for disclaimers, terms and conditions, or legal information.
|
|
2808
|
+
*
|
|
2809
|
+
* Surfaces should apply a smaller font size than the default size.
|
|
2810
|
+
*
|
|
2811
|
+
* In an HTML host, the text will be rendered in a `<small>` element.
|
|
2812
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
|
|
2813
|
+
*/
|
|
2814
|
+
| "small";
|
|
2815
|
+
interface PasswordFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<PasswordAutocompleteField> {
|
|
2816
|
+
}
|
|
2817
|
+
export type PasswordAutocompleteField = ExtractStrict<AnyAutocompleteField, "new-password" | "current-password">;
|
|
2818
|
+
interface PaymentIconProps$1 extends GlobalProps {
|
|
2819
|
+
/**
|
|
2820
|
+
* The icon type of the payment method
|
|
2821
|
+
*
|
|
2822
|
+
* @default ''
|
|
2823
|
+
*/
|
|
2824
|
+
type?: PaymentIconName | AnyString;
|
|
2825
|
+
/**
|
|
2826
|
+
* A label that describes the purpose or contents of the icon.
|
|
2827
|
+
*
|
|
2828
|
+
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
2829
|
+
* This should only be used if the icon requires an alternative internationalised label
|
|
2830
|
+
* or if it is otherwise inappropriate to make use of the default label included with the icon.
|
|
2831
|
+
*/
|
|
2832
|
+
accessibilityLabel?: string;
|
|
2833
|
+
}
|
|
2834
|
+
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";
|
|
2835
|
+
interface PopoverProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, SizingProps {
|
|
2836
|
+
/**
|
|
2837
|
+
* The content of the popover.
|
|
2838
|
+
*/
|
|
2839
|
+
children?: ComponentChildren;
|
|
2840
|
+
}
|
|
2841
|
+
interface PressButtonProps$1 extends GlobalProps, Pick<ButtonProps$1, "accessibilityLabel" | "children" | "icon" | "inlineSize" | "lang" | "tone" | "variant" | "disabled" | "loading" | "onClick" | "onBlur" | "onFocus"> {
|
|
2842
|
+
/**
|
|
2843
|
+
* Whether the button is pressed.
|
|
2844
|
+
*
|
|
2845
|
+
* @default false
|
|
2846
|
+
*/
|
|
2847
|
+
pressed?: boolean;
|
|
2848
|
+
/**
|
|
2849
|
+
* Whether the button is pressed by default.
|
|
2850
|
+
*
|
|
2851
|
+
* @default false
|
|
2852
|
+
*
|
|
2853
|
+
* @implementation `defaultPressed` reflects to the `pressed` attribute.
|
|
2854
|
+
*/
|
|
2855
|
+
defaultPressed?: boolean;
|
|
2856
|
+
}
|
|
2857
|
+
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2858
|
+
/**
|
|
2859
|
+
* Decorates the product thumbnail with the quantity of the product.
|
|
2860
|
+
*/
|
|
2861
|
+
totalItems?: number;
|
|
2862
|
+
/**
|
|
2863
|
+
* Adjusts the size the product thumbnail image.
|
|
2864
|
+
*
|
|
2865
|
+
* @default 'base'
|
|
2866
|
+
*/
|
|
2867
|
+
size?: SizeKeyword;
|
|
2868
|
+
/**
|
|
2869
|
+
* Invoked when load of provided image completes successfully.
|
|
2870
|
+
*
|
|
2871
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2872
|
+
*/
|
|
2873
|
+
onLoad?: (event: Event) => void;
|
|
2874
|
+
/**
|
|
2875
|
+
* Invoked on load error of provided image.
|
|
2876
|
+
*
|
|
2877
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2878
|
+
*/
|
|
2879
|
+
onError?: (event: Event) => void;
|
|
2880
|
+
}
|
|
2881
|
+
interface ProgressProps$1 extends GlobalProps {
|
|
2882
|
+
/**
|
|
2883
|
+
* A label that describes the purpose of the progress. When set,
|
|
2884
|
+
* it will be announced to users using assistive technologies and will
|
|
2885
|
+
* provide them with more context.
|
|
2886
|
+
*
|
|
2887
|
+
* Use it to provide context of what is progressing.
|
|
2888
|
+
*/
|
|
2889
|
+
accessibilityLabel?: string;
|
|
2890
|
+
/**
|
|
2891
|
+
* Sets the tone of the progress, based on the intention of the information being conveyed.
|
|
2892
|
+
*
|
|
2893
|
+
* @default 'auto'
|
|
2894
|
+
*/
|
|
2895
|
+
tone?: ToneKeyword;
|
|
2896
|
+
/**
|
|
2897
|
+
* Specifies how much of the task has been completed.
|
|
2898
|
+
*
|
|
2899
|
+
* It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted.
|
|
2900
|
+
* If there is no value attribute, the progress bar is indeterminate;
|
|
2901
|
+
* this indicates that an activity is ongoing with no indication of how long it is expected to take.
|
|
2902
|
+
*
|
|
2903
|
+
* @implementation Surfaces should apply styling to cover that indeterminate state.
|
|
2904
|
+
* @implementation In a HTML host, you can customize the progress animation via the :indeterminate pseudo-class.
|
|
2905
|
+
*
|
|
2906
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#value
|
|
2907
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/:indeterminate#progress_bar
|
|
2908
|
+
*/
|
|
2909
|
+
value?: number;
|
|
2910
|
+
/**
|
|
2911
|
+
* This attribute describes how much work the task indicated by the progress element requires.
|
|
2912
|
+
*
|
|
2913
|
+
* The `max` attribute, if present, must have a value greater than 0 and be a valid floating point number.
|
|
2914
|
+
*
|
|
2915
|
+
* @default 1
|
|
2916
|
+
*
|
|
2917
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#max
|
|
2918
|
+
*/
|
|
2919
|
+
max?: number;
|
|
2920
|
+
}
|
|
2921
|
+
interface QRCodeProps$1 extends GlobalProps {
|
|
2922
|
+
/**
|
|
2923
|
+
* Set the border of the QR code.
|
|
2924
|
+
*
|
|
2925
|
+
* `base`: applies border that is appropriate for the element.
|
|
2926
|
+
* `none`: removes the border from the element.
|
|
2927
|
+
*
|
|
2928
|
+
* @default 'base'
|
|
2929
|
+
*/
|
|
2930
|
+
border?: "base" | "none";
|
|
2931
|
+
/**
|
|
2932
|
+
* The content to be encoded in the QR code, which can be any string such as a URL, email address, plain text, etc.
|
|
2933
|
+
* Specific string formatting can trigger actions on the user's device when scanned, like opening geolocation
|
|
2934
|
+
* coordinates on a map, opening a preferred app or app store entry, preparing an email, text message, and more.
|
|
2935
|
+
*/
|
|
2936
|
+
content?: string;
|
|
2937
|
+
/**
|
|
2938
|
+
* The displayed size of the QR code.
|
|
1956
2939
|
*
|
|
1957
2940
|
* `fill`: the QR code will takes up 100% of the available inline-size and maintain a 1:1 aspect ratio.
|
|
1958
2941
|
* `base`: the QR code will be displayed at its default size.
|
|
@@ -1972,7 +2955,7 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
1972
2955
|
* Invoked when the conversion of `content` to a QR code fails.
|
|
1973
2956
|
* If an error occurs, the QR code and its child elements will not be displayed.
|
|
1974
2957
|
*/
|
|
1975
|
-
onError?: () => void;
|
|
2958
|
+
onError?: (event: Event) => void;
|
|
1976
2959
|
/**
|
|
1977
2960
|
* URL of an image to be displayed in the center of the QR code.
|
|
1978
2961
|
* This is useful for branding or to indicate to the user what scanning the QR code will do.
|
|
@@ -1980,7 +2963,45 @@ interface QRCodeProps$1 extends GlobalProps {
|
|
|
1980
2963
|
*/
|
|
1981
2964
|
logo?: string;
|
|
1982
2965
|
}
|
|
1983
|
-
interface
|
|
2966
|
+
interface QueryContainerProps$1 extends GlobalProps {
|
|
2967
|
+
/**
|
|
2968
|
+
* The content of the container.
|
|
2969
|
+
*/
|
|
2970
|
+
children?: ComponentChildren;
|
|
2971
|
+
/**
|
|
2972
|
+
* The name of the container, which can be used in your container queries to target this container specifically.
|
|
2973
|
+
*
|
|
2974
|
+
* We place the container name of `s-default` on every container. Because of this, it is not required to add a `containerName` identifier in your queries. For example, a `@container (inline-size <= 300px) none, auto` query is equivalent to `@container s-default (inline-size <= 300px) none, auto`.
|
|
2975
|
+
*
|
|
2976
|
+
* Any value set in `containerName` will be set alongside alongside `s-default`. For example, `containerName="my-container-name"` will result in a value of `s-default my-container-name` set on the `container-name` CSS property of the rendered HTML.
|
|
2977
|
+
*
|
|
2978
|
+
* @default ''
|
|
2979
|
+
*
|
|
2980
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
2981
|
+
*
|
|
2982
|
+
* @implementation You must always have a CSS `container-name` of `s-default` for this component.
|
|
2983
|
+
*/
|
|
2984
|
+
containerName?: string;
|
|
2985
|
+
}
|
|
2986
|
+
export type OverflowKeyword = "auto" | "hidden";
|
|
2987
|
+
interface ScrollBoxProps$1 extends GlobalProps, Omit<BaseBoxPropsWithRole, "overflow"> {
|
|
2988
|
+
/**
|
|
2989
|
+
* Sets the overflow behavior of the element.
|
|
2990
|
+
*
|
|
2991
|
+
* - `hidden`: clips the content when it is larger than the element’s container and the element will not be scrollable in that axis.
|
|
2992
|
+
* - `auto`: clips the content when it is larger than the element’s container and make it scrollable in that axis.
|
|
2993
|
+
*
|
|
2994
|
+
* 1-to-2-value syntax is supported but note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
2995
|
+
*
|
|
2996
|
+
* - 2 values: `block inline`
|
|
2997
|
+
*
|
|
2998
|
+
* @default 'auto'
|
|
2999
|
+
*
|
|
3000
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/overflow
|
|
3001
|
+
*/
|
|
3002
|
+
overflow?: OverflowKeyword | `${OverflowKeyword} ${OverflowKeyword}`;
|
|
3003
|
+
}
|
|
3004
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
1984
3005
|
/**
|
|
1985
3006
|
* The content of the Section.
|
|
1986
3007
|
*/
|
|
@@ -2010,6 +3031,74 @@ interface SectionProps$1 extends GlobalProps, ContainerProps {
|
|
|
2010
3031
|
*/
|
|
2011
3032
|
padding?: "base" | "none";
|
|
2012
3033
|
}
|
|
3034
|
+
interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteField>, Pick<FieldDecorationProps, "icon">, Omit<FieldProps, "defaultValue">, FocusEventProps {
|
|
3035
|
+
/**
|
|
3036
|
+
* The options a user can select from.
|
|
3037
|
+
*
|
|
3038
|
+
* Accepts `Option` and `OptionGroup` components.
|
|
3039
|
+
*/
|
|
3040
|
+
children?: ComponentChildren;
|
|
3041
|
+
}
|
|
3042
|
+
interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, GlobalProps, ActionSlots {
|
|
3043
|
+
/**
|
|
3044
|
+
* A label that describes the purpose of the sheet. When set,
|
|
3045
|
+
* it will be announced to users using assistive technologies and will
|
|
3046
|
+
* provide them with more context.
|
|
3047
|
+
*
|
|
3048
|
+
* This overrides the `heading` prop for screen readers.
|
|
3049
|
+
*/
|
|
3050
|
+
accessibilityLabel?: string;
|
|
3051
|
+
/**
|
|
3052
|
+
* The content of the Sheet.
|
|
3053
|
+
*/
|
|
3054
|
+
children?: ComponentChildren;
|
|
3055
|
+
/**
|
|
3056
|
+
* Indicates whether the Sheet should be open by default.
|
|
3057
|
+
* This property is necessary in some cases, but its usage is generally discouraged due to potential negative impacts on user experience.
|
|
3058
|
+
*
|
|
3059
|
+
* Developers should:
|
|
3060
|
+
* - Only set this property to true when there are vitally important behaviors of the application that depend on the user interacting with the sheet.
|
|
3061
|
+
* - 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.
|
|
3062
|
+
*
|
|
3063
|
+
* This property is useful for when the Sheet needs to be rendered on the page load and not triggered by a user action.
|
|
3064
|
+
* The property should only take effect when the `Sheet` is rendered for the first time.
|
|
3065
|
+
* To toggle the Sheet after it has been rendered, use the `ui.showOverlay()` method instead.
|
|
3066
|
+
*
|
|
3067
|
+
* @default false
|
|
3068
|
+
*/
|
|
3069
|
+
defaultOpen?: boolean;
|
|
3070
|
+
/**
|
|
3071
|
+
* A title that describes the content of the sheet.
|
|
3072
|
+
*/
|
|
3073
|
+
heading?: string;
|
|
3074
|
+
/**
|
|
3075
|
+
* Adjust the padding of all edges.
|
|
3076
|
+
*
|
|
3077
|
+
* `base`: applies padding that is appropriate for the element. Note that it may result in no padding if Shopify
|
|
3078
|
+
* believes this is the right design decision in a particular context.
|
|
3079
|
+
*
|
|
3080
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Sheet need to span
|
|
3081
|
+
* to the edge of the Sheet. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3082
|
+
* to bring back the desired padding for the rest of the content.
|
|
3083
|
+
*
|
|
3084
|
+
* @default 'base'
|
|
3085
|
+
*/
|
|
3086
|
+
padding?: "base" | "none";
|
|
3087
|
+
}
|
|
3088
|
+
interface SkeletonParagraphProps$1 extends GlobalProps {
|
|
3089
|
+
/**
|
|
3090
|
+
* The content to be used as a base for the skeleton. This content will be hidden when the skeleton is visible.
|
|
3091
|
+
*
|
|
3092
|
+
* This can be useful when the skeleton is representing a known piece of content which is part of a larger
|
|
3093
|
+
* element that has not yet fully loaded.
|
|
3094
|
+
*
|
|
3095
|
+
* @implementation When `content` is specified, the visual skeleton should be the size of the content. The element should
|
|
3096
|
+
* still be a block layout.
|
|
3097
|
+
*
|
|
3098
|
+
* @default ''
|
|
3099
|
+
*/
|
|
3100
|
+
content?: string;
|
|
3101
|
+
}
|
|
2013
3102
|
interface SpinnerProps$1 extends GlobalProps {
|
|
2014
3103
|
/**
|
|
2015
3104
|
* Adjusts the size of the spinner icon.
|
|
@@ -2026,50 +3115,68 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2026
3115
|
*/
|
|
2027
3116
|
accessibilityLabel?: string;
|
|
2028
3117
|
}
|
|
2029
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3118
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2030
3119
|
/**
|
|
2031
3120
|
* The content of the Stack.
|
|
2032
3121
|
*/
|
|
2033
3122
|
children?: ComponentChildren;
|
|
2034
3123
|
/**
|
|
2035
|
-
* Sets how the children are placed within the Stack.
|
|
3124
|
+
* Sets how the children are placed within the Stack. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2036
3125
|
*
|
|
2037
3126
|
* @default 'block'
|
|
2038
3127
|
*
|
|
2039
3128
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2040
3129
|
*/
|
|
2041
|
-
direction?: "block" | "inline"
|
|
3130
|
+
direction?: MaybeResponsive<"block" | "inline">;
|
|
2042
3131
|
/**
|
|
2043
3132
|
* Aligns the Stack along the main axis.
|
|
2044
3133
|
*
|
|
2045
3134
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2046
3135
|
* @default 'normal'
|
|
2047
3136
|
*/
|
|
2048
|
-
justifyContent?: JustifyContentKeyword
|
|
3137
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2049
3138
|
/**
|
|
2050
3139
|
* Aligns the Stack's children along the cross axis.
|
|
2051
3140
|
*
|
|
2052
3141
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2053
3142
|
* @default 'normal'
|
|
2054
3143
|
*/
|
|
2055
|
-
alignItems?: AlignItemsKeyword
|
|
3144
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2056
3145
|
/**
|
|
2057
3146
|
* Aligns the Stack along the cross axis.
|
|
2058
3147
|
*
|
|
2059
3148
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2060
3149
|
* @default 'normal'
|
|
2061
3150
|
*/
|
|
2062
|
-
alignContent?: AlignContentKeyword
|
|
3151
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2063
3152
|
}
|
|
2064
|
-
interface
|
|
2065
|
-
/**
|
|
2066
|
-
* The content of the Text.
|
|
2067
|
-
*/
|
|
2068
|
-
children?: ComponentChildren;
|
|
3153
|
+
interface SummaryProps$1 extends GlobalProps {
|
|
2069
3154
|
/**
|
|
2070
|
-
*
|
|
3155
|
+
* The content to use as the label.
|
|
2071
3156
|
*
|
|
2072
|
-
*
|
|
3157
|
+
* Interactive content is disallowed. For example, you can use a `<Text>` element for extra formatting but
|
|
3158
|
+
* elements like buttons and fields are not allowed.
|
|
3159
|
+
*
|
|
3160
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
|
|
3161
|
+
*
|
|
3162
|
+
* @implementation Surfaces may apply styling to this element. An icon suggesting the state (open or closed) of the
|
|
3163
|
+
* details element is recommended.
|
|
3164
|
+
*
|
|
3165
|
+
* @implementation Surface may decide to warn when interactive elements are used.
|
|
3166
|
+
*/
|
|
3167
|
+
children?: ComponentChildren;
|
|
3168
|
+
}
|
|
3169
|
+
interface SwitchProps$1 extends GlobalProps, BaseCheckableProps, BasicFieldProps, FieldDetailsProps, FieldErrorProps {
|
|
3170
|
+
}
|
|
3171
|
+
interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTypographyProps, DisplayProps, Pick<InteractionProps, "interestFor"> {
|
|
3172
|
+
/**
|
|
3173
|
+
* The content of the Text.
|
|
3174
|
+
*/
|
|
3175
|
+
children?: ComponentChildren;
|
|
3176
|
+
/**
|
|
3177
|
+
* Provide semantic meaning and default styling to the text.
|
|
3178
|
+
*
|
|
3179
|
+
* Other presentation properties on Text override the default styling.
|
|
2073
3180
|
*
|
|
2074
3181
|
* @default 'generic'
|
|
2075
3182
|
*/
|
|
@@ -2157,9 +3264,17 @@ export type TextType =
|
|
|
2157
3264
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
|
|
2158
3265
|
*/
|
|
2159
3266
|
| "generic";
|
|
3267
|
+
interface TextAreaProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField> {
|
|
3268
|
+
/**
|
|
3269
|
+
* A number of visible text lines.
|
|
3270
|
+
*
|
|
3271
|
+
* @default 2
|
|
3272
|
+
*/
|
|
3273
|
+
rows?: number;
|
|
3274
|
+
}
|
|
2160
3275
|
interface TextFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField>, FieldDecorationProps {
|
|
2161
3276
|
}
|
|
2162
|
-
interface TimeProps$1 {
|
|
3277
|
+
interface TimeProps$1 extends GlobalProps {
|
|
2163
3278
|
/**
|
|
2164
3279
|
* The content of the Time.
|
|
2165
3280
|
*/
|
|
@@ -2175,406 +3290,1130 @@ interface TimeProps$1 {
|
|
|
2175
3290
|
*/
|
|
2176
3291
|
dateTime?: string;
|
|
2177
3292
|
}
|
|
3293
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3294
|
+
/**
|
|
3295
|
+
* The content of the Tooltip.
|
|
3296
|
+
*/
|
|
3297
|
+
children?: ComponentChildren;
|
|
3298
|
+
}
|
|
2178
3299
|
interface UnorderedListProps$1 extends GlobalProps {
|
|
2179
3300
|
}
|
|
3301
|
+
export interface URLFieldProps extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<URLAutocompleteField> {
|
|
3302
|
+
}
|
|
3303
|
+
export type URLAutocompleteField = ExtractStrict<AnyAutocompleteField, "url" | "photo" | "impp" | `${AutocompleteAddressGroup} impp`>;
|
|
3304
|
+
|
|
3305
|
+
|
|
3306
|
+
|
|
3307
|
+
|
|
3308
|
+
type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3309
|
+
type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
3310
|
+
type ReducedJustifyContentKeyword = Extract<JustifyContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3311
|
+
type ReducedJustifyItemsKeyword = Extract<JustifyItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
3312
|
+
type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
3313
|
+
type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
3314
|
+
type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
3315
|
+
/**
|
|
3316
|
+
* Used when an element does not have children.
|
|
3317
|
+
*/
|
|
3318
|
+
interface BaseElementProps<TClass = HTMLElement> {
|
|
3319
|
+
key?: preact.Key;
|
|
3320
|
+
ref?: preact.Ref<TClass>;
|
|
3321
|
+
slot?: Lowercase<string>;
|
|
3322
|
+
}
|
|
3323
|
+
/**
|
|
3324
|
+
* Used when an element has children.
|
|
3325
|
+
*/
|
|
3326
|
+
interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
3327
|
+
children?: preact.ComponentChildren;
|
|
3328
|
+
}
|
|
3329
|
+
type ReducedIconTypes = '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';
|
|
3330
|
+
|
|
3331
|
+
declare const tagName$S = "s-abbreviation";
|
|
3332
|
+
interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title' | 'id'> {
|
|
3333
|
+
}
|
|
3334
|
+
interface AbbreviationElement extends AbbreviationProps, Omit<HTMLElement, 'id' | 'title'> {
|
|
3335
|
+
}
|
|
3336
|
+
declare global {
|
|
3337
|
+
interface HTMLElementTagNameMap {
|
|
3338
|
+
}
|
|
3339
|
+
}
|
|
3340
|
+
declare module 'preact' {
|
|
3341
|
+
namespace createElement.JSX {
|
|
3342
|
+
interface IntrinsicElements {
|
|
3343
|
+
[tagName$S]: AbbreviationProps & BaseElementPropsWithChildren<AbbreviationElement>;
|
|
3344
|
+
}
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
declare const tagName$R = "s-badge";
|
|
3349
|
+
interface BadgeProps extends Pick<BadgeProps$1, 'color' | 'icon' | 'iconPosition' | 'id' | 'size' | 'tone'> {
|
|
3350
|
+
size?: Extract<BadgeProps$1['size'], 'small' | 'small-100' | 'base'>;
|
|
3351
|
+
tone?: Extract<BadgeProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3352
|
+
color?: Extract<BadgeProps$1['color'], 'base' | 'subdued'>;
|
|
3353
|
+
icon?: '' | ReducedIconTypes;
|
|
3354
|
+
}
|
|
3355
|
+
interface BadgeElement extends BadgeProps, Omit<HTMLElement, 'id'> {
|
|
3356
|
+
}
|
|
3357
|
+
declare global {
|
|
3358
|
+
interface HTMLElementTagNameMap {
|
|
3359
|
+
[tagName$R]: BadgeElement;
|
|
3360
|
+
}
|
|
3361
|
+
}
|
|
3362
|
+
declare module 'preact' {
|
|
3363
|
+
namespace createElement.JSX {
|
|
3364
|
+
interface IntrinsicElements {
|
|
3365
|
+
[tagName$R]: BadgeProps & BaseElementPropsWithChildren<BadgeElement>;
|
|
3366
|
+
}
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
3369
|
+
|
|
3370
|
+
declare const tagName$Q = "s-banner";
|
|
3371
|
+
interface BannerElementProps extends Pick<BannerProps$1, 'collapsible' | 'dismissible' | 'heading' | 'hidden' | 'id' | 'tone'> {
|
|
3372
|
+
tone?: Extract<BannerProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical'>;
|
|
3373
|
+
}
|
|
3374
|
+
interface BannerEvents extends Pick<BannerProps$1, 'onAfterHide' | 'onDismiss'> {
|
|
3375
|
+
}
|
|
3376
|
+
interface BannerElement extends BannerElementProps, Omit<HTMLElement, 'id' | 'title' | 'hidden'> {
|
|
3377
|
+
onafterhide: BannerEvents['onAfterHide'];
|
|
3378
|
+
ondismiss: BannerEvents['onDismiss'];
|
|
3379
|
+
}
|
|
3380
|
+
interface BannerProps extends BannerElementProps, BannerEvents {
|
|
3381
|
+
}
|
|
3382
|
+
declare global {
|
|
3383
|
+
interface HTMLElementTagNameMap {
|
|
3384
|
+
}
|
|
3385
|
+
}
|
|
3386
|
+
declare module 'preact' {
|
|
3387
|
+
namespace createElement.JSX {
|
|
3388
|
+
interface IntrinsicElements {
|
|
3389
|
+
[tagName$Q]: BannerProps & BaseElementPropsWithChildren<BannerElement>;
|
|
3390
|
+
}
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
|
|
3394
|
+
declare const tagName$P = "s-box";
|
|
3395
|
+
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'> {
|
|
3396
|
+
background?: Extract<BoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3397
|
+
border?: BorderShorthand;
|
|
3398
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3399
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<BoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3400
|
+
}
|
|
3401
|
+
interface BoxElement extends BoxProps, Omit<HTMLElement, 'id'> {
|
|
3402
|
+
}
|
|
3403
|
+
declare global {
|
|
3404
|
+
interface HTMLElementTagNameMap {
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3407
|
+
declare module 'preact' {
|
|
3408
|
+
namespace createElement.JSX {
|
|
3409
|
+
interface IntrinsicElements {
|
|
3410
|
+
[tagName$P]: BoxProps & BaseElementPropsWithChildren<BoxElement>;
|
|
3411
|
+
}
|
|
3412
|
+
}
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
declare const tagName$O = "s-button";
|
|
3416
|
+
interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
|
|
3417
|
+
target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
|
|
3418
|
+
tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3419
|
+
type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
|
|
3420
|
+
variant?: Extract<ButtonProps$1['variant'], 'auto' | 'primary' | 'secondary'>;
|
|
3421
|
+
}
|
|
3422
|
+
interface ButtonEvents extends Pick<ButtonProps$1, 'onClick'> {
|
|
3423
|
+
}
|
|
3424
|
+
interface ButtonElement extends ButtonElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
3425
|
+
onclick: ButtonEvents['onClick'];
|
|
3426
|
+
}
|
|
3427
|
+
interface ButtonProps extends ButtonElementProps, ButtonEvents {
|
|
3428
|
+
}
|
|
3429
|
+
declare global {
|
|
3430
|
+
interface HTMLElementTagNameMap {
|
|
3431
|
+
}
|
|
3432
|
+
}
|
|
3433
|
+
declare module 'preact' {
|
|
3434
|
+
namespace createElement.JSX {
|
|
3435
|
+
interface IntrinsicElements {
|
|
3436
|
+
[tagName$O]: ButtonProps & BaseElementPropsWithChildren<ButtonElement>;
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
}
|
|
3440
|
+
|
|
3441
|
+
declare const tagName$N = "s-checkbox";
|
|
3442
|
+
interface CheckboxElementProps extends Pick<CheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'required' | 'value'> {
|
|
3443
|
+
command?: Extract<CheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3444
|
+
}
|
|
3445
|
+
interface CheckboxEvents extends Pick<CheckboxProps$1, 'onChange'> {
|
|
3446
|
+
}
|
|
3447
|
+
interface CheckboxElement extends CheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3448
|
+
onchange: CheckboxEvents['onChange'];
|
|
3449
|
+
}
|
|
3450
|
+
interface CheckboxProps extends CheckboxElementProps, CheckboxEvents {
|
|
3451
|
+
}
|
|
3452
|
+
declare global {
|
|
3453
|
+
interface HTMLElementTagNameMap {
|
|
3454
|
+
[tagName$N]: CheckboxElement;
|
|
3455
|
+
}
|
|
3456
|
+
}
|
|
3457
|
+
declare module 'preact' {
|
|
3458
|
+
namespace createElement.JSX {
|
|
3459
|
+
interface IntrinsicElements {
|
|
3460
|
+
[tagName$N]: CheckboxProps & BaseElementProps<CheckboxElement>;
|
|
3461
|
+
}
|
|
3462
|
+
}
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
interface ChoiceProps extends Pick<ChoiceProps$1, 'accessibilityLabel' | 'defaultSelected' | 'details' | 'disabled' | 'id' | 'secondaryContent' | 'selected' | 'selectedContent' | 'error' | 'value'> {
|
|
3466
|
+
}
|
|
3467
|
+
|
|
3468
|
+
interface ChoiceListProps extends Pick<ChoiceListProps$1, 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'multiple' | 'name' | 'onChange' | 'values' | 'variant'> {
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
declare const tagName$M = "s-clickable";
|
|
3472
|
+
interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
|
|
3473
|
+
background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3474
|
+
border?: BorderShorthand;
|
|
3475
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3476
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ClickableProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3477
|
+
target?: Extract<ClickableProps$1['target'], 'auto' | '_blank'>;
|
|
3478
|
+
type?: Extract<ClickableProps$1['type'], 'submit' | 'button'>;
|
|
3479
|
+
}
|
|
3480
|
+
interface ClickableEvents extends Pick<ClickableProps$1, 'onBlur' | 'onClick' | 'onFocus'> {
|
|
3481
|
+
}
|
|
3482
|
+
interface ClickableElement extends ClickableElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
3483
|
+
onblur: ClickableEvents['onBlur'];
|
|
3484
|
+
onclick: ClickableEvents['onClick'];
|
|
3485
|
+
onfocus: ClickableEvents['onFocus'];
|
|
3486
|
+
}
|
|
3487
|
+
interface ClickableProps extends ClickableElementProps, ClickableEvents {
|
|
3488
|
+
}
|
|
3489
|
+
declare global {
|
|
3490
|
+
interface HTMLElementTagNameMap {
|
|
3491
|
+
[tagName$M]: ClickableElement;
|
|
3492
|
+
}
|
|
3493
|
+
}
|
|
3494
|
+
declare module 'preact' {
|
|
3495
|
+
namespace createElement.JSX {
|
|
3496
|
+
interface IntrinsicElements {
|
|
3497
|
+
[tagName$M]: ClickableProps & BaseElementPropsWithChildren<ClickableElement>;
|
|
3498
|
+
}
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
declare const tagName$L = "s-clipboard-item";
|
|
3503
|
+
interface ClipboardItemElementProps extends Pick<ClipboardItemProps$1, 'id' | 'text'> {
|
|
3504
|
+
}
|
|
3505
|
+
interface ClipboardItemEvents extends Pick<ClipboardItemProps$1, 'onCopy' | 'onCopyError'> {
|
|
3506
|
+
}
|
|
3507
|
+
interface ClipboardItemElement extends ClipboardItemElementProps, Omit<HTMLElement, 'id' | 'oncopy'> {
|
|
3508
|
+
oncopy: ClipboardItemEvents['onCopy'];
|
|
3509
|
+
oncopyerror: ClipboardItemEvents['onCopyError'];
|
|
3510
|
+
}
|
|
3511
|
+
interface ClipboardItemProps extends ClipboardItemElementProps, ClipboardItemEvents {
|
|
3512
|
+
}
|
|
3513
|
+
declare global {
|
|
3514
|
+
interface HTMLElementTagNameMap {
|
|
3515
|
+
}
|
|
3516
|
+
}
|
|
3517
|
+
declare module 'preact' {
|
|
3518
|
+
namespace createElement.JSX {
|
|
3519
|
+
interface IntrinsicElements {
|
|
3520
|
+
[tagName$L]: ClipboardItemProps & BaseElementProps<ClipboardItemElement>;
|
|
3521
|
+
}
|
|
3522
|
+
}
|
|
3523
|
+
}
|
|
3524
|
+
|
|
3525
|
+
declare const tagName$K = "s-date-field";
|
|
3526
|
+
interface DateFieldElementProps extends Pick<DateFieldProps$1, 'allow' | 'allowDays' | 'autocomplete' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'error' | 'id' | 'label' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'value' | 'view'> {
|
|
3527
|
+
}
|
|
3528
|
+
interface DateFieldEvents extends Pick<DateFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'> {
|
|
3529
|
+
}
|
|
3530
|
+
interface DateFieldElement extends DateFieldElementProps, Omit<DateFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'oninvalid' | 'prefix'> {
|
|
3531
|
+
onblur: DateFieldEvents['onBlur'];
|
|
3532
|
+
onchange: DateFieldEvents['onChange'];
|
|
3533
|
+
onfocus: DateFieldEvents['onFocus'];
|
|
3534
|
+
oninput: DateFieldEvents['onInput'];
|
|
3535
|
+
oninvalid: DateFieldEvents['onInvalid'];
|
|
3536
|
+
onviewchange: DateFieldEvents['onViewChange'];
|
|
3537
|
+
}
|
|
3538
|
+
interface DateFieldProps extends DateFieldElementProps, DateFieldEvents {
|
|
3539
|
+
}
|
|
3540
|
+
declare global {
|
|
3541
|
+
interface HTMLElementTagNameMap {
|
|
3542
|
+
[tagName$K]: DateFieldElement;
|
|
3543
|
+
}
|
|
3544
|
+
}
|
|
3545
|
+
declare module 'preact' {
|
|
3546
|
+
namespace createElement.JSX {
|
|
3547
|
+
interface IntrinsicElements {
|
|
3548
|
+
[tagName$K]: DateFieldProps & BaseElementProps<DateFieldElement>;
|
|
3549
|
+
}
|
|
3550
|
+
}
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3553
|
+
declare const tagName$J = "s-date-picker";
|
|
3554
|
+
interface DatePickerElementProps extends Pick<DatePickerProps$1, 'allow' | 'allowDays' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'id' | 'name' | 'type' | 'value' | 'view'> {
|
|
3555
|
+
}
|
|
3556
|
+
interface DatePickerEvents extends Pick<DatePickerProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'> {
|
|
3557
|
+
}
|
|
3558
|
+
interface DatePickerElement extends DatePickerElementProps, Omit<DatePickerEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
3559
|
+
onblur: DatePickerEvents['onBlur'];
|
|
3560
|
+
onchange: DatePickerEvents['onChange'];
|
|
3561
|
+
onfocus: DatePickerEvents['onFocus'];
|
|
3562
|
+
oninput: DatePickerEvents['onInput'];
|
|
3563
|
+
onviewchange: DatePickerEvents['onViewChange'];
|
|
3564
|
+
}
|
|
3565
|
+
interface DatePickerProps extends DatePickerElementProps, DatePickerEvents {
|
|
3566
|
+
}
|
|
3567
|
+
declare global {
|
|
3568
|
+
interface HTMLElementTagNameMap {
|
|
3569
|
+
[tagName$J]: DatePickerElement;
|
|
3570
|
+
}
|
|
3571
|
+
}
|
|
3572
|
+
declare module 'preact' {
|
|
3573
|
+
namespace createElement.JSX {
|
|
3574
|
+
interface IntrinsicElements {
|
|
3575
|
+
[tagName$J]: DatePickerProps & BaseElementProps<DatePickerElement>;
|
|
3576
|
+
}
|
|
3577
|
+
}
|
|
3578
|
+
}
|
|
3579
|
+
|
|
3580
|
+
declare const tagName$I = "s-details";
|
|
3581
|
+
interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'id' | 'open' | 'toggleTransition'> {
|
|
3582
|
+
}
|
|
3583
|
+
interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle' | 'onAfterToggle'> {
|
|
3584
|
+
}
|
|
3585
|
+
interface DetailsElement extends Omit<HTMLElement, 'ontoggle' | 'id'> {
|
|
3586
|
+
ontoggle: DetailsEvents['onToggle'];
|
|
3587
|
+
onaftertoggle: DetailsEvents['onAfterToggle'];
|
|
3588
|
+
}
|
|
3589
|
+
interface DetailsProps extends DetailsElementProps, DetailsEvents {
|
|
3590
|
+
}
|
|
3591
|
+
declare global {
|
|
3592
|
+
interface HTMLElementTagNameMap {
|
|
3593
|
+
[tagName$I]: DetailsElement;
|
|
3594
|
+
}
|
|
3595
|
+
}
|
|
3596
|
+
declare module 'preact' {
|
|
3597
|
+
namespace createElement.JSX {
|
|
3598
|
+
interface IntrinsicElements {
|
|
3599
|
+
[tagName$I]: DetailsProps & BaseElementPropsWithChildren<DetailsElement>;
|
|
3600
|
+
}
|
|
3601
|
+
}
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
declare const tagName$H = "s-divider";
|
|
3605
|
+
interface DividerProps extends Pick<DividerProps$1, 'direction' | 'id'> {
|
|
3606
|
+
}
|
|
3607
|
+
interface DividerElement extends DividerProps, Omit<HTMLElement, 'id'> {
|
|
3608
|
+
}
|
|
3609
|
+
declare global {
|
|
3610
|
+
interface HTMLElementTagNameMap {
|
|
3611
|
+
[tagName$H]: DividerElement;
|
|
3612
|
+
}
|
|
3613
|
+
}
|
|
3614
|
+
declare module 'preact' {
|
|
3615
|
+
namespace createElement.JSX {
|
|
3616
|
+
interface IntrinsicElements {
|
|
3617
|
+
[tagName$H]: DividerProps & BaseElementPropsWithChildren<DividerElement>;
|
|
3618
|
+
}
|
|
3619
|
+
}
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3622
|
+
declare const tagName$G = "s-drop-zone";
|
|
3623
|
+
interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required' | 'value'> {
|
|
3624
|
+
}
|
|
3625
|
+
interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput' | 'onChange'> {
|
|
3626
|
+
}
|
|
3627
|
+
interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput' | 'onchange'> {
|
|
3628
|
+
ondroprejected: DropZoneEvents['onDropRejected'];
|
|
3629
|
+
oninput: DropZoneEvents['onInput'];
|
|
3630
|
+
onchange: DropZoneEvents['onChange'];
|
|
3631
|
+
}
|
|
3632
|
+
interface DropZoneProps extends DropZoneElementProps, DropZoneEvents {
|
|
3633
|
+
}
|
|
3634
|
+
declare global {
|
|
3635
|
+
interface HTMLElementTagNameMap {
|
|
3636
|
+
}
|
|
3637
|
+
}
|
|
3638
|
+
declare module 'preact' {
|
|
3639
|
+
namespace createElement.JSX {
|
|
3640
|
+
interface IntrinsicElements {
|
|
3641
|
+
[tagName$G]: DropZoneProps & BaseElementProps<DropZoneElement>;
|
|
3642
|
+
}
|
|
3643
|
+
}
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
declare const tagName$F = "s-email-field";
|
|
3647
|
+
interface EmailFieldElementProps extends Pick<EmailFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'maxLength' | 'minLength' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
3648
|
+
/**
|
|
3649
|
+
* @deprecated Use `label` instead.
|
|
3650
|
+
* @private
|
|
3651
|
+
*/
|
|
3652
|
+
placeholder?: string;
|
|
3653
|
+
}
|
|
3654
|
+
interface EmailFieldEvents extends Pick<EmailFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3655
|
+
}
|
|
3656
|
+
interface EmailFieldElement extends EmailFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3657
|
+
onblur: EmailFieldEvents['onBlur'];
|
|
3658
|
+
onchange: EmailFieldEvents['onChange'];
|
|
3659
|
+
onfocus: EmailFieldEvents['onFocus'];
|
|
3660
|
+
oninput: EmailFieldEvents['onInput'];
|
|
3661
|
+
}
|
|
3662
|
+
interface EmailFieldProps extends EmailFieldElementProps, EmailFieldEvents {
|
|
3663
|
+
}
|
|
3664
|
+
declare global {
|
|
3665
|
+
interface HTMLElementTagNameMap {
|
|
3666
|
+
[tagName$F]: EmailFieldElement;
|
|
3667
|
+
}
|
|
3668
|
+
}
|
|
3669
|
+
declare module 'preact' {
|
|
3670
|
+
namespace createElement.JSX {
|
|
3671
|
+
interface IntrinsicElements {
|
|
3672
|
+
[tagName$F]: EmailFieldProps & BaseElementProps<EmailFieldElement>;
|
|
3673
|
+
}
|
|
3674
|
+
}
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
declare const tagName$E = "s-form";
|
|
3678
|
+
interface FormElementProps extends Pick<FormProps$1, 'disabled' | 'id'> {
|
|
3679
|
+
}
|
|
3680
|
+
interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
3681
|
+
/**
|
|
3682
|
+
* A callback that is run when the form is submitted.
|
|
3683
|
+
*/
|
|
3684
|
+
onSubmit?: () => void;
|
|
3685
|
+
}
|
|
3686
|
+
interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
3687
|
+
onsubmit: FormEvents['onSubmit'];
|
|
3688
|
+
}
|
|
3689
|
+
interface FormProps extends FormElementProps, FormEvents {
|
|
3690
|
+
}
|
|
3691
|
+
declare global {
|
|
3692
|
+
interface HTMLElementTagNameMap {
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
declare module 'preact' {
|
|
3696
|
+
namespace createElement.JSX {
|
|
3697
|
+
interface IntrinsicElements {
|
|
3698
|
+
[tagName$E]: FormProps & BaseElementPropsWithChildren<FormElement>;
|
|
3699
|
+
}
|
|
3700
|
+
}
|
|
3701
|
+
}
|
|
3702
|
+
|
|
3703
|
+
declare const tagName$D = "s-grid-item";
|
|
3704
|
+
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'> {
|
|
3705
|
+
background?: Extract<GridItemProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3706
|
+
border?: BorderShorthand;
|
|
3707
|
+
borderColor?: ReducedColorKeyword | '';
|
|
3708
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3709
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridItemProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3710
|
+
}
|
|
3711
|
+
interface GridItemElement extends GridItemProps, Omit<HTMLElement, 'id'> {
|
|
3712
|
+
}
|
|
3713
|
+
declare global {
|
|
3714
|
+
interface HTMLElementTagNameMap {
|
|
3715
|
+
[tagName$D]: GridItemElement;
|
|
3716
|
+
}
|
|
3717
|
+
}
|
|
3718
|
+
declare module 'preact' {
|
|
3719
|
+
namespace createElement.JSX {
|
|
3720
|
+
interface IntrinsicElements {
|
|
3721
|
+
[tagName$D]: GridItemProps & BaseElementPropsWithChildren<GridItemElement>;
|
|
3722
|
+
}
|
|
3723
|
+
}
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
declare const tagName$C = "s-grid";
|
|
3727
|
+
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'> {
|
|
3728
|
+
alignContent?: MaybeResponsive<ReducedAlignContentKeyword | ''>;
|
|
3729
|
+
alignItems?: MaybeResponsive<ReducedAlignItemsKeyword | ''>;
|
|
3730
|
+
background?: Extract<GridProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3731
|
+
border?: BorderShorthand;
|
|
3732
|
+
borderColor?: ReducedColorKeyword | '';
|
|
3733
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3734
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3735
|
+
justifyContent?: MaybeResponsive<ReducedJustifyContentKeyword | ''>;
|
|
3736
|
+
justifyItems?: MaybeResponsive<ReducedJustifyItemsKeyword | ''>;
|
|
3737
|
+
placeContent?: MaybeResponsive<`${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword>;
|
|
3738
|
+
placeItems?: MaybeResponsive<`${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword>;
|
|
3739
|
+
}
|
|
3740
|
+
interface GridElement extends GridProps, Omit<HTMLElement, 'id'> {
|
|
3741
|
+
}
|
|
3742
|
+
declare global {
|
|
3743
|
+
interface HTMLElementTagNameMap {
|
|
3744
|
+
[tagName$C]: GridElement;
|
|
3745
|
+
}
|
|
3746
|
+
}
|
|
3747
|
+
declare module 'preact' {
|
|
3748
|
+
namespace createElement.JSX {
|
|
3749
|
+
interface IntrinsicElements {
|
|
3750
|
+
[tagName$C]: GridProps & BaseElementPropsWithChildren<GridElement>;
|
|
3751
|
+
}
|
|
3752
|
+
}
|
|
3753
|
+
}
|
|
3754
|
+
|
|
3755
|
+
declare const tagName$B = "s-heading";
|
|
3756
|
+
interface HeadingProps extends Pick<HeadingProps$1, 'accessibilityRole' | 'id'> {
|
|
3757
|
+
}
|
|
3758
|
+
interface HeadingElement extends HeadingProps, Omit<HTMLElement, 'id'> {
|
|
3759
|
+
}
|
|
3760
|
+
declare global {
|
|
3761
|
+
interface HTMLElementTagNameMap {
|
|
3762
|
+
}
|
|
3763
|
+
}
|
|
3764
|
+
declare module 'preact' {
|
|
3765
|
+
namespace createElement.JSX {
|
|
3766
|
+
interface IntrinsicElements {
|
|
3767
|
+
[tagName$B]: HeadingProps & BaseElementPropsWithChildren<HeadingElement>;
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
|
|
3772
|
+
declare const tagName$A = "s-icon";
|
|
3773
|
+
interface IconProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
3774
|
+
tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
3775
|
+
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
3776
|
+
type?: '' | ReducedIconTypes;
|
|
3777
|
+
}
|
|
3778
|
+
interface IconElement extends IconProps, Omit<HTMLElement, 'id'> {
|
|
3779
|
+
}
|
|
3780
|
+
declare global {
|
|
3781
|
+
interface HTMLElementTagNameMap {
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3784
|
+
declare module 'preact' {
|
|
3785
|
+
namespace createElement.JSX {
|
|
3786
|
+
interface IntrinsicElements {
|
|
3787
|
+
[tagName$A]: IconProps & BaseElementProps<IconElement>;
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
declare const tagName$z = "s-image";
|
|
3793
|
+
interface ImageProps extends Pick<ImageProps$1, 'accessibilityRole' | 'alt' | 'aspectRatio' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'id' | 'inlineSize' | 'loading' | 'objectFit' | 'sizes' | 'src' | 'srcSet'> {
|
|
3794
|
+
border?: BorderShorthand;
|
|
3795
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3796
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ImageProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3797
|
+
}
|
|
3798
|
+
interface ImageElement extends ImageProps, Omit<HTMLElement, 'id'> {
|
|
3799
|
+
}
|
|
3800
|
+
declare global {
|
|
3801
|
+
interface HTMLElementTagNameMap {
|
|
3802
|
+
}
|
|
3803
|
+
}
|
|
3804
|
+
declare module 'preact' {
|
|
3805
|
+
namespace createElement.JSX {
|
|
3806
|
+
interface IntrinsicElements {
|
|
3807
|
+
[tagName$z]: ImageProps & BaseElementProps<ImageElement>;
|
|
3808
|
+
}
|
|
3809
|
+
}
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
declare const tagName$y = "s-link";
|
|
3813
|
+
interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'interestFor' | 'lang' | 'target' | 'tone'> {
|
|
3814
|
+
target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
|
|
3815
|
+
tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
|
|
3816
|
+
}
|
|
3817
|
+
interface LinkEvents extends Pick<LinkProps$1, 'onClick'> {
|
|
3818
|
+
}
|
|
3819
|
+
interface LinkElement extends LinkElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onclick'> {
|
|
3820
|
+
onclick: LinkEvents['onClick'];
|
|
3821
|
+
}
|
|
3822
|
+
interface LinkProps extends LinkElementProps, LinkEvents {
|
|
3823
|
+
}
|
|
3824
|
+
declare global {
|
|
3825
|
+
interface HTMLElementTagNameMap {
|
|
3826
|
+
}
|
|
3827
|
+
}
|
|
3828
|
+
declare module 'preact' {
|
|
3829
|
+
namespace createElement.JSX {
|
|
3830
|
+
interface IntrinsicElements {
|
|
3831
|
+
[tagName$y]: LinkProps & BaseElementPropsWithChildren<LinkElement>;
|
|
3832
|
+
}
|
|
3833
|
+
}
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
declare const tagName$x = "s-list-item";
|
|
3837
|
+
interface ListItemProps extends Pick<ListItemProps$1, 'id'> {
|
|
3838
|
+
}
|
|
3839
|
+
interface ListItemElement extends ListItemProps, Omit<HTMLElement, 'id'> {
|
|
3840
|
+
}
|
|
3841
|
+
declare global {
|
|
3842
|
+
interface HTMLElementTagNameMap {
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
declare module 'preact' {
|
|
3846
|
+
namespace createElement.JSX {
|
|
3847
|
+
interface IntrinsicElements {
|
|
3848
|
+
[tagName$x]: ListItemProps & BaseElementPropsWithChildren<ListItemElement>;
|
|
3849
|
+
}
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
|
|
3853
|
+
declare const tagName$w = "s-map-marker";
|
|
3854
|
+
interface MapMarkerElementProps extends Pick<MapMarkerProps$1, 'accessibilityLabel' | 'blockSize' | 'command' | 'commandFor' | 'clusterable' | 'inlineSize' | 'latitude' | 'longitude'> {
|
|
3855
|
+
command?: Extract<MapMarkerProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3856
|
+
}
|
|
3857
|
+
interface MapMarkerEvents extends Pick<MapMarkerProps$1, 'onClick'> {
|
|
3858
|
+
}
|
|
3859
|
+
interface MapMarkerElement extends MapMarkerElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
3860
|
+
onclick: MapMarkerEvents['onClick'];
|
|
3861
|
+
}
|
|
3862
|
+
interface MapMarkerProps extends MapMarkerElementProps, MapMarkerEvents {
|
|
3863
|
+
}
|
|
3864
|
+
declare global {
|
|
3865
|
+
interface HTMLElementTagNameMap {
|
|
3866
|
+
[tagName$w]: MapMarkerElement;
|
|
3867
|
+
}
|
|
3868
|
+
}
|
|
3869
|
+
declare module 'preact' {
|
|
3870
|
+
namespace createElement.JSX {
|
|
3871
|
+
interface IntrinsicElements {
|
|
3872
|
+
[tagName$w]: MapMarkerProps & BaseElementPropsWithChildren<MapMarkerElement>;
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3875
|
+
}
|
|
2180
3876
|
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
|
|
3877
|
+
declare const tagName$v = "s-map";
|
|
3878
|
+
interface MapElementProps extends Pick<MapProps$1, 'accessibilityLabel' | 'apiKey' | 'blockSize' | 'id' | 'inlineSize' | 'latitude' | 'longitude' | 'maxBlockSize' | 'maxInlineSize' | 'maxZoom' | 'minBlockSize' | 'minInlineSize' | 'minZoom' | 'zoom'> {
|
|
2185
3879
|
}
|
|
2186
|
-
interface
|
|
3880
|
+
interface MapEvents extends Pick<MapProps$1, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'> {
|
|
3881
|
+
}
|
|
3882
|
+
interface MapElement extends MapElementProps, Omit<HTMLElement, 'id' | 'onclick' | 'ondblclick'> {
|
|
3883
|
+
onboundschange: MapEvents['onBoundsChange'];
|
|
3884
|
+
onclick: MapEvents['onClick'];
|
|
3885
|
+
ondblclick: MapEvents['onDblClick'];
|
|
3886
|
+
onviewchange: MapEvents['onViewChange'];
|
|
3887
|
+
}
|
|
3888
|
+
interface MapProps extends MapElementProps, MapEvents {
|
|
2187
3889
|
}
|
|
2188
3890
|
declare global {
|
|
2189
3891
|
interface HTMLElementTagNameMap {
|
|
2190
|
-
|
|
3892
|
+
[tagName$v]: MapElement;
|
|
2191
3893
|
}
|
|
2192
3894
|
}
|
|
2193
3895
|
declare module 'preact' {
|
|
2194
|
-
interface BaseProps {
|
|
2195
|
-
children?: preact.ComponentChildren;
|
|
2196
|
-
slot?: Lowercase<string>;
|
|
2197
|
-
}
|
|
2198
3896
|
namespace createElement.JSX {
|
|
2199
3897
|
interface IntrinsicElements {
|
|
2200
|
-
|
|
3898
|
+
[tagName$v]: MapProps & BaseElementPropsWithChildren<MapElement>;
|
|
2201
3899
|
}
|
|
2202
3900
|
}
|
|
2203
3901
|
}
|
|
2204
3902
|
|
|
2205
|
-
|
|
2206
|
-
|
|
3903
|
+
declare const tagName$u = "s-modal";
|
|
3904
|
+
interface ModalElementProps extends Pick<ModalProps$1, 'accessibilityLabel' | 'heading' | 'id' | 'padding' | 'size'> {
|
|
3905
|
+
size?: Extract<ModalProps$1['size'], 'small-100' | 'small' | 'base' | 'large-100' | 'large' | 'max'>;
|
|
3906
|
+
}
|
|
3907
|
+
interface ModalEvents extends Pick<ModalProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
2207
3908
|
}
|
|
2208
|
-
interface
|
|
2209
|
-
|
|
2210
|
-
|
|
3909
|
+
interface ModalElementMethods extends Pick<ModalProps$1, 'hideOverlay'> {
|
|
3910
|
+
}
|
|
3911
|
+
interface ModalElement extends ModalElementProps, ModalElementMethods, Omit<HTMLElement, 'id'> {
|
|
3912
|
+
onafterhide: ModalEvents['onAfterHide'];
|
|
3913
|
+
onaftershow: ModalEvents['onAfterShow'];
|
|
3914
|
+
onhide: ModalEvents['onHide'];
|
|
3915
|
+
onshow: ModalEvents['onShow'];
|
|
3916
|
+
}
|
|
3917
|
+
interface ModalProps extends ModalElementProps, ModalEvents {
|
|
2211
3918
|
}
|
|
2212
3919
|
declare global {
|
|
2213
3920
|
interface HTMLElementTagNameMap {
|
|
2214
|
-
|
|
3921
|
+
[tagName$u]: ModalElement;
|
|
2215
3922
|
}
|
|
2216
3923
|
}
|
|
2217
3924
|
declare module 'preact' {
|
|
2218
|
-
interface BaseProps {
|
|
2219
|
-
children?: preact.ComponentChildren;
|
|
2220
|
-
slot?: Lowercase<string>;
|
|
2221
|
-
}
|
|
2222
3925
|
namespace createElement.JSX {
|
|
2223
3926
|
interface IntrinsicElements {
|
|
2224
|
-
|
|
3927
|
+
[tagName$u]: ModalProps & BaseElementPropsWithChildren<ModalElement>;
|
|
2225
3928
|
}
|
|
2226
3929
|
}
|
|
2227
3930
|
}
|
|
2228
3931
|
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
2232
|
-
|
|
2233
|
-
interface BoxProps extends Pick<BoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
2234
|
-
background?: Extract<BoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
2235
|
-
border?: BorderShorthand;
|
|
2236
|
-
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
2237
|
-
borderRadius?: MaybeAllValuesShorthandProperty<Extract<BoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3932
|
+
declare const tagName$t = "s-money-field";
|
|
3933
|
+
interface MoneyFieldElementProps extends Pick<MoneyFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'readOnly' | 'required' | 'step' | 'value'> {
|
|
2238
3934
|
}
|
|
2239
|
-
interface
|
|
3935
|
+
interface MoneyFieldEvents extends Pick<MoneyFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3936
|
+
}
|
|
3937
|
+
interface MoneyFieldElement extends MoneyFieldElementProps {
|
|
3938
|
+
onblur: MoneyFieldEvents['onBlur'];
|
|
3939
|
+
onchange: MoneyFieldEvents['onChange'];
|
|
3940
|
+
onfocus: MoneyFieldEvents['onFocus'];
|
|
3941
|
+
oninput: MoneyFieldEvents['onInput'];
|
|
3942
|
+
}
|
|
3943
|
+
interface MoneyFieldProps extends MoneyFieldElementProps, MoneyFieldEvents {
|
|
2240
3944
|
}
|
|
2241
3945
|
declare global {
|
|
2242
3946
|
interface HTMLElementTagNameMap {
|
|
2243
|
-
|
|
3947
|
+
[tagName$t]: MoneyFieldElement;
|
|
2244
3948
|
}
|
|
2245
3949
|
}
|
|
2246
3950
|
declare module 'preact' {
|
|
2247
|
-
interface BaseProps {
|
|
2248
|
-
children?: preact.ComponentChildren;
|
|
2249
|
-
slot?: Lowercase<string>;
|
|
2250
|
-
}
|
|
2251
3951
|
namespace createElement.JSX {
|
|
2252
3952
|
interface IntrinsicElements {
|
|
2253
|
-
|
|
3953
|
+
[tagName$t]: MoneyFieldProps & BaseElementProps<MoneyFieldElement>;
|
|
2254
3954
|
}
|
|
2255
3955
|
}
|
|
2256
3956
|
}
|
|
2257
3957
|
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
3958
|
+
declare const tagName$s = "s-number-field";
|
|
3959
|
+
interface NumberFieldElementProps extends Pick<NumberFieldProps$1, 'accessory' | 'autocomplete' | 'controls' | 'defaultValue' | 'details' | 'disabled' | 'error' | 'icon' | 'id' | 'inputMode' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'prefix' | 'readOnly' | 'required' | 'step' | 'suffix' | 'value'> {
|
|
3960
|
+
/**
|
|
3961
|
+
* @deprecated Use `label` instead.
|
|
3962
|
+
* @private
|
|
3963
|
+
*/
|
|
3964
|
+
placeholder?: string;
|
|
2263
3965
|
}
|
|
2264
|
-
interface
|
|
2265
|
-
|
|
3966
|
+
interface NumberFieldEvents extends Pick<NumberFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3967
|
+
}
|
|
3968
|
+
interface NumberFieldElement extends NumberFieldElementProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3969
|
+
onblur: NumberFieldEvents['onBlur'];
|
|
3970
|
+
onchange: NumberFieldEvents['onChange'];
|
|
3971
|
+
onfocus: NumberFieldEvents['onFocus'];
|
|
3972
|
+
oninput: NumberFieldEvents['onInput'];
|
|
3973
|
+
}
|
|
3974
|
+
interface NumberFieldProps extends NumberFieldElementProps, NumberFieldEvents {
|
|
2266
3975
|
}
|
|
2267
3976
|
declare global {
|
|
2268
3977
|
interface HTMLElementTagNameMap {
|
|
2269
|
-
|
|
3978
|
+
[tagName$s]: NumberFieldElement;
|
|
2270
3979
|
}
|
|
2271
3980
|
}
|
|
2272
3981
|
declare module 'preact' {
|
|
2273
|
-
interface BaseProps {
|
|
2274
|
-
children?: preact.ComponentChildren;
|
|
2275
|
-
slot?: Lowercase<string>;
|
|
2276
|
-
}
|
|
2277
3982
|
namespace createElement.JSX {
|
|
2278
3983
|
interface IntrinsicElements {
|
|
2279
|
-
|
|
3984
|
+
[tagName$s]: NumberFieldProps & BaseElementPropsWithChildren<NumberFieldElement>;
|
|
2280
3985
|
}
|
|
2281
3986
|
}
|
|
2282
3987
|
}
|
|
2283
3988
|
|
|
2284
|
-
|
|
3989
|
+
declare const tagName$r = "s-option";
|
|
3990
|
+
interface OptionProps extends Pick<OptionProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'value'> {
|
|
2285
3991
|
}
|
|
2286
|
-
interface
|
|
2287
|
-
oncopy: ClipboardItemProps['onCopy'];
|
|
2288
|
-
oncopyerror: ClipboardItemProps['onCopyError'];
|
|
3992
|
+
interface OptionElement extends OptionProps, Omit<HTMLElement, 'id'> {
|
|
2289
3993
|
}
|
|
2290
3994
|
declare global {
|
|
2291
3995
|
interface HTMLElementTagNameMap {
|
|
2292
|
-
|
|
3996
|
+
[tagName$r]: OptionElement;
|
|
2293
3997
|
}
|
|
2294
3998
|
}
|
|
2295
3999
|
declare module 'preact' {
|
|
2296
4000
|
namespace createElement.JSX {
|
|
2297
4001
|
interface IntrinsicElements {
|
|
2298
|
-
|
|
4002
|
+
[tagName$r]: OptionProps & BaseElementPropsWithChildren<OptionElement>;
|
|
2299
4003
|
}
|
|
2300
4004
|
}
|
|
2301
4005
|
}
|
|
2302
4006
|
|
|
2303
|
-
|
|
4007
|
+
declare const tagName$q = "s-ordered-list";
|
|
4008
|
+
interface OrderedListProps extends OrderedListProps$1 {
|
|
2304
4009
|
}
|
|
2305
|
-
interface
|
|
2306
|
-
ondroprejected: DropZoneProps['onDropRejected'];
|
|
2307
|
-
oninput: DropZoneProps['onInput'];
|
|
4010
|
+
interface OrderedListElement extends OrderedListProps, Omit<HTMLElement, 'id'> {
|
|
2308
4011
|
}
|
|
2309
4012
|
declare global {
|
|
2310
4013
|
interface HTMLElementTagNameMap {
|
|
2311
|
-
's-drop-zone': DropZoneElement;
|
|
2312
4014
|
}
|
|
2313
4015
|
}
|
|
2314
4016
|
declare module 'preact' {
|
|
2315
4017
|
namespace createElement.JSX {
|
|
2316
4018
|
interface IntrinsicElements {
|
|
2317
|
-
|
|
4019
|
+
[tagName$q]: OrderedListProps & BaseElementPropsWithChildren<OrderedListElement>;
|
|
2318
4020
|
}
|
|
2319
4021
|
}
|
|
2320
4022
|
}
|
|
2321
4023
|
|
|
2322
|
-
|
|
2323
|
-
|
|
4024
|
+
declare const tagName$p = "s-paragraph";
|
|
4025
|
+
interface ParagraphProps extends Pick<ParagraphProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
4026
|
+
color?: Extract<ParagraphProps$1['color'], 'subdued' | 'base'>;
|
|
4027
|
+
tone?: Extract<ParagraphProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'custom'>;
|
|
2324
4028
|
}
|
|
2325
|
-
interface
|
|
2326
|
-
onsubmit: FormProps['onSubmit'];
|
|
4029
|
+
interface ParagraphElement extends ParagraphProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
|
|
2327
4030
|
}
|
|
2328
4031
|
declare global {
|
|
2329
4032
|
interface HTMLElementTagNameMap {
|
|
2330
|
-
's-form': FormElement;
|
|
2331
4033
|
}
|
|
2332
4034
|
}
|
|
2333
4035
|
declare module 'preact' {
|
|
2334
|
-
interface BaseProps {
|
|
2335
|
-
children?: preact.ComponentChildren;
|
|
2336
|
-
slot?: Lowercase<string>;
|
|
2337
|
-
}
|
|
2338
4036
|
namespace createElement.JSX {
|
|
2339
4037
|
interface IntrinsicElements {
|
|
2340
|
-
|
|
4038
|
+
[tagName$p]: ParagraphProps & BaseElementPropsWithChildren<ParagraphElement>;
|
|
2341
4039
|
}
|
|
2342
4040
|
}
|
|
2343
4041
|
}
|
|
2344
4042
|
|
|
2345
|
-
|
|
4043
|
+
declare const tagName$o = "s-password-field";
|
|
4044
|
+
interface PasswordFieldElementProps extends Pick<PasswordFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
2346
4045
|
}
|
|
2347
|
-
interface
|
|
4046
|
+
interface PasswordFieldEvents extends Pick<PasswordFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4047
|
+
}
|
|
4048
|
+
interface PasswordFieldElement extends PasswordFieldProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4049
|
+
onblur: PasswordFieldEvents['onBlur'];
|
|
4050
|
+
onchange: PasswordFieldEvents['onChange'];
|
|
4051
|
+
onfocus: PasswordFieldEvents['onFocus'];
|
|
4052
|
+
oninput: PasswordFieldEvents['onInput'];
|
|
4053
|
+
}
|
|
4054
|
+
interface PasswordFieldProps extends PasswordFieldElementProps, PasswordFieldEvents {
|
|
2348
4055
|
}
|
|
2349
4056
|
declare global {
|
|
2350
4057
|
interface HTMLElementTagNameMap {
|
|
2351
|
-
|
|
4058
|
+
[tagName$o]: PasswordFieldElement;
|
|
2352
4059
|
}
|
|
2353
4060
|
}
|
|
2354
4061
|
declare module 'preact' {
|
|
2355
|
-
interface BaseProps {
|
|
2356
|
-
children?: preact.ComponentChildren;
|
|
2357
|
-
slot?: Lowercase<string>;
|
|
2358
|
-
}
|
|
2359
4062
|
namespace createElement.JSX {
|
|
2360
4063
|
interface IntrinsicElements {
|
|
2361
|
-
|
|
4064
|
+
[tagName$o]: PasswordFieldProps & BaseElementPropsWithChildren<PasswordFieldElement>;
|
|
2362
4065
|
}
|
|
2363
4066
|
}
|
|
2364
4067
|
}
|
|
2365
4068
|
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
2369
|
-
type?: '' | Extract<IconProps$1['type'], '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'>;
|
|
4069
|
+
declare const tagName$n = "s-payment-icon";
|
|
4070
|
+
interface PaymentIconProps extends PaymentIconProps$1 {
|
|
2370
4071
|
}
|
|
2371
|
-
interface
|
|
4072
|
+
interface PaymentIconElement extends PaymentIconProps, Omit<HTMLElement, 'id'> {
|
|
2372
4073
|
}
|
|
2373
4074
|
declare global {
|
|
2374
4075
|
interface HTMLElementTagNameMap {
|
|
2375
|
-
's-icon': IconElement;
|
|
2376
4076
|
}
|
|
2377
4077
|
}
|
|
2378
4078
|
declare module 'preact' {
|
|
2379
|
-
interface BaseProps {
|
|
2380
|
-
slot?: Lowercase<string>;
|
|
2381
|
-
}
|
|
2382
4079
|
namespace createElement.JSX {
|
|
2383
4080
|
interface IntrinsicElements {
|
|
2384
|
-
|
|
4081
|
+
[tagName$n]: PaymentIconProps & BaseElementProps<PaymentIconElement>;
|
|
2385
4082
|
}
|
|
2386
4083
|
}
|
|
2387
4084
|
}
|
|
2388
4085
|
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
4086
|
+
declare const tagName$m = "s-phone-field";
|
|
4087
|
+
interface PhoneFieldElementProps extends Pick<PhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value' | 'type'> {
|
|
4088
|
+
/**
|
|
4089
|
+
* @deprecated Use `label` instead.
|
|
4090
|
+
* @private
|
|
4091
|
+
*/
|
|
4092
|
+
placeholder?: string;
|
|
2393
4093
|
}
|
|
2394
|
-
interface
|
|
4094
|
+
interface PhoneFieldEvents extends Pick<PhoneFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4095
|
+
}
|
|
4096
|
+
interface PhoneFieldElement extends PhoneFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4097
|
+
onblur: PhoneFieldEvents['onBlur'];
|
|
4098
|
+
onchange: PhoneFieldEvents['onChange'];
|
|
4099
|
+
onfocus: PhoneFieldEvents['onFocus'];
|
|
4100
|
+
oninput: PhoneFieldEvents['onInput'];
|
|
4101
|
+
}
|
|
4102
|
+
interface PhoneFieldProps extends PhoneFieldElementProps, PhoneFieldEvents {
|
|
2395
4103
|
}
|
|
2396
4104
|
declare global {
|
|
2397
4105
|
interface HTMLElementTagNameMap {
|
|
2398
|
-
|
|
4106
|
+
[tagName$m]: PhoneFieldElement;
|
|
2399
4107
|
}
|
|
2400
4108
|
}
|
|
2401
4109
|
declare module 'preact' {
|
|
2402
|
-
interface BaseProps {
|
|
2403
|
-
slot?: Lowercase<string>;
|
|
2404
|
-
}
|
|
2405
4110
|
namespace createElement.JSX {
|
|
2406
4111
|
interface IntrinsicElements {
|
|
2407
|
-
|
|
4112
|
+
[tagName$m]: PhoneFieldProps & BaseElementPropsWithChildren<PhoneFieldElement>;
|
|
2408
4113
|
}
|
|
2409
4114
|
}
|
|
2410
4115
|
}
|
|
2411
4116
|
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
4117
|
+
declare const tagName$l = "s-popover";
|
|
4118
|
+
interface PopoverElementProps extends Pick<PopoverProps$1, 'id'> {
|
|
4119
|
+
/**
|
|
4120
|
+
* Adjust the block size.
|
|
4121
|
+
*
|
|
4122
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/block-size
|
|
4123
|
+
*
|
|
4124
|
+
* @default 'auto'
|
|
4125
|
+
*/
|
|
4126
|
+
blockSize?: SizeUnitsOrAuto;
|
|
4127
|
+
/**
|
|
4128
|
+
* Adjust the inline size.
|
|
4129
|
+
*
|
|
4130
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
|
|
4131
|
+
*
|
|
4132
|
+
* @default 'auto'
|
|
4133
|
+
*/
|
|
4134
|
+
inlineSize?: SizeUnitsOrAuto;
|
|
4135
|
+
/**
|
|
4136
|
+
* Adjust the maximum block size.
|
|
4137
|
+
*
|
|
4138
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
|
|
4139
|
+
*
|
|
4140
|
+
* @default 'none'
|
|
4141
|
+
*/
|
|
4142
|
+
maxBlockSize?: SizeUnitsOrNone;
|
|
4143
|
+
/**
|
|
4144
|
+
* Adjust the maximum inline size.
|
|
4145
|
+
*
|
|
4146
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
|
|
4147
|
+
*
|
|
4148
|
+
* @default 'none'
|
|
4149
|
+
*/
|
|
4150
|
+
maxInlineSize?: SizeUnitsOrNone;
|
|
4151
|
+
/**
|
|
4152
|
+
* Adjust the minimum block size.
|
|
4153
|
+
*
|
|
4154
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
|
|
4155
|
+
*
|
|
4156
|
+
* @default '0'
|
|
4157
|
+
*/
|
|
4158
|
+
minBlockSize?: SizeUnits;
|
|
4159
|
+
/**
|
|
4160
|
+
* Adjust the minimum inline size.
|
|
4161
|
+
*
|
|
4162
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
|
|
4163
|
+
*
|
|
4164
|
+
* @default '0'
|
|
4165
|
+
*/
|
|
4166
|
+
minInlineSize?: SizeUnits;
|
|
4167
|
+
}
|
|
4168
|
+
interface PopoverEvents extends Pick<PopoverProps$1, 'onHide' | 'onShow'> {
|
|
4169
|
+
}
|
|
4170
|
+
interface PopoverElement extends Omit<PopoverProps, 'onHide' | 'onShow'>, Omit<HTMLElement, 'id'> {
|
|
4171
|
+
onhide: PopoverProps['onHide'];
|
|
4172
|
+
onshow: PopoverProps['onShow'];
|
|
4173
|
+
}
|
|
4174
|
+
interface PopoverProps extends PopoverElementProps, PopoverEvents {
|
|
2418
4175
|
}
|
|
2419
4176
|
declare global {
|
|
2420
4177
|
interface HTMLElementTagNameMap {
|
|
2421
|
-
|
|
4178
|
+
[tagName$l]: PopoverElement;
|
|
2422
4179
|
}
|
|
2423
4180
|
}
|
|
2424
4181
|
declare module 'preact' {
|
|
2425
|
-
interface BaseProps {
|
|
2426
|
-
children?: preact.ComponentChildren;
|
|
2427
|
-
slot?: Lowercase<string>;
|
|
2428
|
-
}
|
|
2429
4182
|
namespace createElement.JSX {
|
|
2430
4183
|
interface IntrinsicElements {
|
|
2431
|
-
|
|
4184
|
+
[tagName$l]: PopoverProps & BaseElementPropsWithChildren<PopoverElement>;
|
|
2432
4185
|
}
|
|
2433
4186
|
}
|
|
2434
4187
|
}
|
|
2435
4188
|
|
|
2436
|
-
|
|
4189
|
+
declare const tagName$k = "s-press-button";
|
|
4190
|
+
interface PressButtonElementProps extends Pick<PressButtonProps$1, 'accessibilityLabel' | 'id' | 'inlineSize' | 'lang' | 'disabled' | 'loading' | 'pressed' | 'defaultPressed'> {
|
|
4191
|
+
}
|
|
4192
|
+
interface PressButtonEvents extends Pick<PressButtonProps$1, 'onClick' | 'onBlur' | 'onFocus'> {
|
|
2437
4193
|
}
|
|
2438
|
-
interface
|
|
4194
|
+
interface PressButtonElement extends PressButtonElementProps, Omit<HTMLElement, 'children' | 'lang' | 'id' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
4195
|
+
onblur: PressButtonEvents['onBlur'];
|
|
4196
|
+
onclick: PressButtonEvents['onClick'];
|
|
4197
|
+
onfocus: PressButtonEvents['onFocus'];
|
|
4198
|
+
}
|
|
4199
|
+
interface PressButtonProps extends PressButtonElementProps, PressButtonEvents {
|
|
2439
4200
|
}
|
|
2440
4201
|
declare global {
|
|
2441
4202
|
interface HTMLElementTagNameMap {
|
|
2442
|
-
|
|
4203
|
+
[tagName$k]: PressButtonElement;
|
|
2443
4204
|
}
|
|
2444
4205
|
}
|
|
2445
4206
|
declare module 'preact' {
|
|
2446
|
-
interface BaseProps {
|
|
2447
|
-
children?: preact.ComponentChildren;
|
|
2448
|
-
slot?: Lowercase<string>;
|
|
2449
|
-
}
|
|
2450
4207
|
namespace createElement.JSX {
|
|
2451
4208
|
interface IntrinsicElements {
|
|
2452
|
-
|
|
4209
|
+
[tagName$k]: PressButtonProps & BaseElementPropsWithChildren<PressButtonElement>;
|
|
2453
4210
|
}
|
|
2454
4211
|
}
|
|
2455
4212
|
}
|
|
2456
4213
|
|
|
2457
|
-
|
|
4214
|
+
declare const tagName$j = "s-product-thumbnail";
|
|
4215
|
+
interface ProductThumbnailProps extends Pick<ProductThumbnailProps$1, 'alt' | 'size' | 'sizes' | 'src' | 'srcSet' | 'totalItems'> {
|
|
4216
|
+
size?: Extract<ProductThumbnailProps$1['size'], 'small-100' | 'small' | 'base'>;
|
|
2458
4217
|
}
|
|
2459
|
-
interface
|
|
4218
|
+
interface ProductThumbnailElement extends ProductThumbnailProps, Omit<HTMLElement, 'id'> {
|
|
2460
4219
|
}
|
|
2461
4220
|
declare global {
|
|
2462
4221
|
interface HTMLElementTagNameMap {
|
|
2463
|
-
|
|
4222
|
+
[tagName$j]: ProductThumbnailElement;
|
|
2464
4223
|
}
|
|
2465
4224
|
}
|
|
2466
4225
|
declare module 'preact' {
|
|
2467
|
-
interface BaseProps {
|
|
2468
|
-
children?: preact.ComponentChildren;
|
|
2469
|
-
slot?: Lowercase<string>;
|
|
2470
|
-
}
|
|
2471
4226
|
namespace createElement.JSX {
|
|
2472
4227
|
interface IntrinsicElements {
|
|
2473
|
-
|
|
4228
|
+
[tagName$j]: ProductThumbnailProps & BaseElementProps<ProductThumbnailElement>;
|
|
2474
4229
|
}
|
|
2475
4230
|
}
|
|
2476
4231
|
}
|
|
2477
4232
|
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
tone?: Extract<
|
|
4233
|
+
declare const tagName$i = "s-progress";
|
|
4234
|
+
interface ProgressProps extends Pick<ProgressProps$1, 'accessibilityLabel' | 'id' | 'max' | 'tone' | 'value'> {
|
|
4235
|
+
tone?: Extract<ProgressProps$1['tone'], 'auto' | 'critical'>;
|
|
2481
4236
|
}
|
|
2482
|
-
interface
|
|
4237
|
+
interface ProgressElement extends ProgressProps, Omit<HTMLElement, 'id'> {
|
|
2483
4238
|
}
|
|
2484
4239
|
declare global {
|
|
2485
4240
|
interface HTMLElementTagNameMap {
|
|
2486
|
-
's-paragraph': ParagraphElement;
|
|
2487
4241
|
}
|
|
2488
4242
|
}
|
|
2489
4243
|
declare module 'preact' {
|
|
2490
|
-
interface BaseProps {
|
|
2491
|
-
children?: preact.ComponentChildren;
|
|
2492
|
-
slot?: Lowercase<string>;
|
|
2493
|
-
}
|
|
2494
4244
|
namespace createElement.JSX {
|
|
2495
4245
|
interface IntrinsicElements {
|
|
2496
|
-
|
|
4246
|
+
[tagName$i]: ProgressProps & BaseElementProps<ProgressElement>;
|
|
2497
4247
|
}
|
|
2498
4248
|
}
|
|
2499
4249
|
}
|
|
2500
4250
|
|
|
2501
|
-
|
|
4251
|
+
declare const tagName$h = "s-qr-code";
|
|
4252
|
+
interface QRCodeElementProps extends QRCodeProps$1 {
|
|
2502
4253
|
}
|
|
2503
|
-
interface
|
|
4254
|
+
interface QRCodeEvents extends Pick<QRCodeProps$1, 'onError'> {
|
|
4255
|
+
}
|
|
4256
|
+
interface QRCodelement extends QRCodeElementProps, Omit<HTMLElement, 'id' | 'onerror'> {
|
|
4257
|
+
onerror: QRCodeEvents['onError'];
|
|
4258
|
+
}
|
|
4259
|
+
interface QRCodeProps extends QRCodeElementProps, QRCodeEvents {
|
|
2504
4260
|
}
|
|
2505
4261
|
declare global {
|
|
2506
4262
|
interface HTMLElementTagNameMap {
|
|
2507
|
-
|
|
4263
|
+
[tagName$h]: QRCodelement;
|
|
2508
4264
|
}
|
|
2509
4265
|
}
|
|
2510
4266
|
declare module 'preact' {
|
|
2511
|
-
interface BaseProps {
|
|
2512
|
-
slot?: Lowercase<string>;
|
|
2513
|
-
}
|
|
2514
4267
|
namespace createElement.JSX {
|
|
2515
4268
|
interface IntrinsicElements {
|
|
2516
|
-
|
|
4269
|
+
[tagName$h]: QRCodeProps & BaseElementProps<QRCodelement>;
|
|
2517
4270
|
}
|
|
2518
4271
|
}
|
|
2519
4272
|
}
|
|
2520
4273
|
|
|
2521
|
-
|
|
4274
|
+
declare const tagName$g = "s-query-container";
|
|
4275
|
+
interface QueryContainerElementProps extends Pick<QueryContainerProps$1, 'containerName' | 'id'> {
|
|
4276
|
+
}
|
|
4277
|
+
interface QueryContainerElement extends QueryContainerElementProps, Omit<HTMLElement, 'id'> {
|
|
2522
4278
|
}
|
|
2523
|
-
interface
|
|
2524
|
-
onerror: QRCodeProps['onError'];
|
|
4279
|
+
interface QueryContainerProps extends QueryContainerElementProps {
|
|
2525
4280
|
}
|
|
2526
4281
|
declare global {
|
|
2527
4282
|
interface HTMLElementTagNameMap {
|
|
2528
|
-
|
|
4283
|
+
[tagName$g]: QueryContainerElement;
|
|
2529
4284
|
}
|
|
2530
4285
|
}
|
|
2531
4286
|
declare module 'preact' {
|
|
2532
4287
|
namespace createElement.JSX {
|
|
2533
4288
|
interface IntrinsicElements {
|
|
2534
|
-
|
|
4289
|
+
[tagName$g]: QueryContainerProps & BaseElementPropsWithChildren<QueryContainerElement>;
|
|
2535
4290
|
}
|
|
2536
4291
|
}
|
|
2537
4292
|
}
|
|
2538
4293
|
|
|
2539
|
-
|
|
2540
|
-
|
|
4294
|
+
declare const tagName$f = "s-scroll-box";
|
|
4295
|
+
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'> {
|
|
4296
|
+
background?: Extract<ScrollBoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4297
|
+
border?: BorderShorthand;
|
|
4298
|
+
borderColor?: ReducedColorKeyword | '';
|
|
4299
|
+
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ScrollBoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4300
|
+
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
2541
4301
|
}
|
|
2542
|
-
interface
|
|
4302
|
+
interface ScrollBoxElement extends ScrollBoxProps, Omit<HTMLElement, 'id'> {
|
|
2543
4303
|
}
|
|
2544
4304
|
declare global {
|
|
2545
4305
|
interface HTMLElementTagNameMap {
|
|
2546
|
-
|
|
4306
|
+
[tagName$f]: ScrollBoxElement;
|
|
2547
4307
|
}
|
|
2548
4308
|
}
|
|
2549
4309
|
declare module 'preact' {
|
|
2550
4310
|
namespace createElement.JSX {
|
|
2551
4311
|
interface IntrinsicElements {
|
|
2552
|
-
|
|
4312
|
+
[tagName$f]: ScrollBoxProps & BaseElementPropsWithChildren<ScrollBoxElement>;
|
|
2553
4313
|
}
|
|
2554
4314
|
}
|
|
2555
4315
|
}
|
|
2556
4316
|
|
|
4317
|
+
declare const tagName$e = "s-section";
|
|
2557
4318
|
interface SectionProps extends Pick<SectionProps$1, 'accessibilityLabel' | 'heading' | 'id'> {
|
|
2558
4319
|
}
|
|
2559
4320
|
interface SectionElement extends SectionProps, Omit<HTMLElement, 'id'> {
|
|
2560
4321
|
}
|
|
2561
4322
|
declare global {
|
|
2562
4323
|
interface HTMLElementTagNameMap {
|
|
2563
|
-
|
|
4324
|
+
[tagName$e]: SectionElement;
|
|
2564
4325
|
}
|
|
2565
4326
|
}
|
|
2566
4327
|
declare module 'preact' {
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
4328
|
+
namespace createElement.JSX {
|
|
4329
|
+
interface IntrinsicElements {
|
|
4330
|
+
[tagName$e]: SectionProps & BaseElementPropsWithChildren<SectionElement>;
|
|
4331
|
+
}
|
|
4332
|
+
}
|
|
4333
|
+
}
|
|
4334
|
+
|
|
4335
|
+
declare const tagName$d = "s-select";
|
|
4336
|
+
interface SelectElementProps extends Pick<SelectProps$1, 'autocomplete' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value'> {
|
|
4337
|
+
}
|
|
4338
|
+
interface SelectEvents extends Pick<SelectProps$1, 'onBlur' | 'onChange' | 'onFocus'> {
|
|
4339
|
+
}
|
|
4340
|
+
interface SelectElement extends SelectElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus'> {
|
|
4341
|
+
onblur: SelectEvents['onBlur'];
|
|
4342
|
+
onchange: SelectEvents['onChange'];
|
|
4343
|
+
onfocus: SelectEvents['onFocus'];
|
|
4344
|
+
}
|
|
4345
|
+
interface SelectProps extends SelectElementProps, SelectEvents {
|
|
4346
|
+
}
|
|
4347
|
+
declare global {
|
|
4348
|
+
interface HTMLElementTagNameMap {
|
|
4349
|
+
[tagName$d]: SelectElement;
|
|
4350
|
+
}
|
|
4351
|
+
}
|
|
4352
|
+
declare module 'preact' {
|
|
4353
|
+
namespace createElement.JSX {
|
|
4354
|
+
interface IntrinsicElements {
|
|
4355
|
+
[tagName$d]: SelectProps & BaseElementPropsWithChildren<SelectElement>;
|
|
4356
|
+
}
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
declare const tagName$c = "s-sheet";
|
|
4361
|
+
interface SheetElementProps extends Pick<SheetProps$1, 'defaultOpen' | 'heading' | 'id'> {
|
|
4362
|
+
/**
|
|
4363
|
+
* A label that describes the purpose of the modal. When set,
|
|
4364
|
+
* it will be announced to users using assistive technologies and will
|
|
4365
|
+
* provide them with more context.
|
|
4366
|
+
*
|
|
4367
|
+
* This overrides the `heading` prop for screen readers.
|
|
4368
|
+
*/
|
|
4369
|
+
accessibilityLabel?: string;
|
|
4370
|
+
}
|
|
4371
|
+
interface SheetEvents extends Pick<SheetProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
4372
|
+
}
|
|
4373
|
+
interface SheetElementMethods extends Pick<SheetProps$1, 'hideOverlay'> {
|
|
4374
|
+
}
|
|
4375
|
+
interface SheetElement extends SheetElementProps, SheetElementMethods, Omit<HTMLElement, 'id'> {
|
|
4376
|
+
afterhide: SheetEvents['onAfterHide'];
|
|
4377
|
+
aftershow: SheetEvents['onAfterShow'];
|
|
4378
|
+
onhide: SheetEvents['onHide'];
|
|
4379
|
+
onshow: SheetEvents['onShow'];
|
|
4380
|
+
onafterhide: SheetEvents['onAfterHide'];
|
|
4381
|
+
onaftershow: SheetEvents['onAfterShow'];
|
|
4382
|
+
}
|
|
4383
|
+
interface SheetProps extends SheetElementProps, SheetEvents {
|
|
4384
|
+
}
|
|
4385
|
+
declare global {
|
|
4386
|
+
interface HTMLElementTagNameMap {
|
|
4387
|
+
[tagName$c]: SheetElement;
|
|
4388
|
+
}
|
|
4389
|
+
}
|
|
4390
|
+
declare module 'preact' {
|
|
4391
|
+
namespace createElement.JSX {
|
|
4392
|
+
interface IntrinsicElements {
|
|
4393
|
+
[tagName$c]: SheetProps & BaseElementPropsWithChildren<SheetElement>;
|
|
4394
|
+
}
|
|
4395
|
+
}
|
|
4396
|
+
}
|
|
4397
|
+
|
|
4398
|
+
declare const tagName$b = "s-skeleton-paragraph";
|
|
4399
|
+
interface SkeletonParagraphProps extends SkeletonParagraphProps$1 {
|
|
4400
|
+
}
|
|
4401
|
+
interface SkeletonParagraphElement extends SkeletonParagraphProps, Omit<HTMLElement, 'id'> {
|
|
4402
|
+
}
|
|
4403
|
+
declare global {
|
|
4404
|
+
interface HTMLElementTagNameMap {
|
|
4405
|
+
[tagName$b]: SkeletonParagraphElement;
|
|
2570
4406
|
}
|
|
4407
|
+
}
|
|
4408
|
+
declare module 'preact' {
|
|
2571
4409
|
namespace createElement.JSX {
|
|
2572
4410
|
interface IntrinsicElements {
|
|
2573
|
-
|
|
4411
|
+
[tagName$b]: SkeletonParagraphProps & BaseElementProps<SkeletonParagraphElement>;
|
|
2574
4412
|
}
|
|
2575
4413
|
}
|
|
2576
4414
|
}
|
|
2577
4415
|
|
|
4416
|
+
declare const tagName$a = "s-spinner";
|
|
2578
4417
|
interface SpinnerProps extends SpinnerProps$1 {
|
|
2579
4418
|
size?: Extract<SpinnerProps$1['size'], 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
2580
4419
|
}
|
|
@@ -2582,32 +4421,49 @@ interface SpinnerElement extends SpinnerProps, Omit<HTMLElement, 'id'> {
|
|
|
2582
4421
|
}
|
|
2583
4422
|
declare global {
|
|
2584
4423
|
interface HTMLElementTagNameMap {
|
|
2585
|
-
's-spinner': SpinnerElement;
|
|
2586
4424
|
}
|
|
2587
4425
|
}
|
|
2588
4426
|
declare module 'preact' {
|
|
2589
4427
|
namespace createElement.JSX {
|
|
2590
4428
|
interface IntrinsicElements {
|
|
2591
|
-
|
|
4429
|
+
[tagName$a]: SpinnerProps & BaseElementProps<SpinnerElement>;
|
|
2592
4430
|
}
|
|
2593
4431
|
}
|
|
2594
4432
|
}
|
|
2595
4433
|
|
|
2596
|
-
|
|
4434
|
+
declare const tagName$9 = "s-stack";
|
|
4435
|
+
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
4436
|
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
4437
|
background?: Extract<StackProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
2599
4438
|
border?: BorderShorthand;
|
|
2600
4439
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
2601
4440
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<StackProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
2602
|
-
alignContent?: Extract<StackProps$1['alignContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'
|
|
2603
|
-
alignItems?: Extract<StackProps$1['alignItems'], 'normal' | 'stretch' | 'center' | 'start' | 'end'
|
|
2604
|
-
justifyContent?: Extract<StackProps$1['justifyContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'
|
|
4441
|
+
alignContent?: MaybeResponsive<Extract<StackProps$1['alignContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4442
|
+
alignItems?: MaybeResponsive<Extract<StackProps$1['alignItems'], 'normal' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4443
|
+
justifyContent?: MaybeResponsive<Extract<StackProps$1['justifyContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
2605
4444
|
}
|
|
2606
4445
|
interface StackElement extends StackProps, Omit<HTMLElement, 'id'> {
|
|
2607
4446
|
}
|
|
2608
4447
|
declare global {
|
|
2609
4448
|
interface HTMLElementTagNameMap {
|
|
2610
|
-
|
|
4449
|
+
}
|
|
4450
|
+
}
|
|
4451
|
+
declare module 'preact' {
|
|
4452
|
+
namespace createElement.JSX {
|
|
4453
|
+
interface IntrinsicElements {
|
|
4454
|
+
[tagName$9]: StackProps & BaseElementPropsWithChildren<StackElement>;
|
|
4455
|
+
}
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
|
|
4459
|
+
declare const tagName$8 = "s-summary";
|
|
4460
|
+
interface SummaryProps extends Pick<SummaryProps$1, 'id'> {
|
|
4461
|
+
}
|
|
4462
|
+
interface SummaryElement extends SummaryProps, Omit<HTMLElement, 'id'> {
|
|
4463
|
+
}
|
|
4464
|
+
declare global {
|
|
4465
|
+
interface HTMLElementTagNameMap {
|
|
4466
|
+
[tagName$8]: SummaryElement;
|
|
2611
4467
|
}
|
|
2612
4468
|
}
|
|
2613
4469
|
declare module 'preact' {
|
|
@@ -2617,100 +4473,195 @@ declare module 'preact' {
|
|
|
2617
4473
|
}
|
|
2618
4474
|
namespace createElement.JSX {
|
|
2619
4475
|
interface IntrinsicElements {
|
|
2620
|
-
|
|
4476
|
+
[tagName$8]: SummaryProps & BaseProps;
|
|
2621
4477
|
}
|
|
2622
4478
|
}
|
|
2623
4479
|
}
|
|
2624
4480
|
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
|
|
4481
|
+
declare const tagName$7 = "s-switch";
|
|
4482
|
+
interface SwitchElementProps extends Pick<SwitchProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'id' | 'label' | 'name' | 'value'> {
|
|
4483
|
+
command?: Extract<SwitchProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
2629
4484
|
}
|
|
2630
|
-
interface
|
|
4485
|
+
interface SwitchEvents extends Pick<SwitchProps$1, 'onChange'> {
|
|
4486
|
+
}
|
|
4487
|
+
interface SwitchElement extends SwitchElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
4488
|
+
onchange: SwitchEvents['onChange'];
|
|
4489
|
+
}
|
|
4490
|
+
interface SwitchProps extends SwitchElementProps, SwitchEvents {
|
|
2631
4491
|
}
|
|
2632
4492
|
declare global {
|
|
2633
4493
|
interface HTMLElementTagNameMap {
|
|
2634
|
-
|
|
4494
|
+
[tagName$7]: SwitchElement;
|
|
2635
4495
|
}
|
|
2636
4496
|
}
|
|
2637
4497
|
declare module 'preact' {
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
4498
|
+
namespace createElement.JSX {
|
|
4499
|
+
interface IntrinsicElements {
|
|
4500
|
+
[tagName$7]: SwitchProps & BaseElementProps<SwitchElement>;
|
|
4501
|
+
}
|
|
4502
|
+
}
|
|
4503
|
+
}
|
|
4504
|
+
|
|
4505
|
+
declare const tagName$6 = "s-text-area";
|
|
4506
|
+
interface TextAreaElementProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'name' | 'required' | 'value' | 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'readOnly' | 'rows' | 'maxLength' | 'minLength' | 'labelAccessibilityVisibility'> {
|
|
4507
|
+
/**
|
|
4508
|
+
* @deprecated Use `label` instead.
|
|
4509
|
+
* @private
|
|
4510
|
+
*/
|
|
4511
|
+
placeholder?: string;
|
|
4512
|
+
}
|
|
4513
|
+
interface TextAreaEvents extends Pick<TextAreaProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4514
|
+
}
|
|
4515
|
+
interface TextAreaElement extends TextAreaElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
4516
|
+
onblur: TextAreaEvents['onBlur'];
|
|
4517
|
+
onchange: TextAreaEvents['onChange'];
|
|
4518
|
+
onfocus: TextAreaEvents['onFocus'];
|
|
4519
|
+
oninput: TextAreaEvents['onInput'];
|
|
4520
|
+
}
|
|
4521
|
+
interface TextAreaProps extends TextAreaElementProps, TextAreaEvents {
|
|
4522
|
+
}
|
|
4523
|
+
declare global {
|
|
4524
|
+
interface HTMLElementTagNameMap {
|
|
4525
|
+
[tagName$6]: TextAreaElement;
|
|
2641
4526
|
}
|
|
4527
|
+
}
|
|
4528
|
+
declare module 'preact' {
|
|
2642
4529
|
namespace createElement.JSX {
|
|
2643
4530
|
interface IntrinsicElements {
|
|
2644
|
-
|
|
4531
|
+
[tagName$6]: TextAreaProps & BaseElementProps<TextAreaElement>;
|
|
2645
4532
|
}
|
|
2646
4533
|
}
|
|
2647
4534
|
}
|
|
2648
4535
|
|
|
2649
|
-
|
|
4536
|
+
declare const tagName$5 = "s-text-field";
|
|
4537
|
+
interface TextFieldElementProps extends Pick<TextFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'icon' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
|
|
2650
4538
|
icon?: IconProps['type'];
|
|
4539
|
+
/**
|
|
4540
|
+
* @deprecated Use `label` instead.
|
|
4541
|
+
* @private
|
|
4542
|
+
*/
|
|
4543
|
+
placeholder?: string;
|
|
4544
|
+
}
|
|
4545
|
+
interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4546
|
+
}
|
|
4547
|
+
interface TextFieldElement extends TextFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4548
|
+
onblur: TextFieldEvents['onBlur'];
|
|
4549
|
+
onchange: TextFieldEvents['onChange'];
|
|
4550
|
+
onfocus: TextFieldEvents['onFocus'];
|
|
4551
|
+
oninput: TextFieldEvents['onInput'];
|
|
2651
4552
|
}
|
|
2652
|
-
interface
|
|
2653
|
-
onblur: TextFieldProps['onBlur'];
|
|
2654
|
-
onchange: TextFieldProps['onChange'];
|
|
2655
|
-
onfocus: TextFieldProps['onFocus'];
|
|
2656
|
-
oninput: TextFieldProps['onInput'];
|
|
4553
|
+
interface TextFieldProps extends TextFieldElementProps, TextFieldEvents {
|
|
2657
4554
|
}
|
|
2658
4555
|
declare global {
|
|
2659
4556
|
interface HTMLElementTagNameMap {
|
|
2660
|
-
's-text-field': TextFieldElement;
|
|
2661
4557
|
}
|
|
2662
4558
|
}
|
|
2663
4559
|
declare module 'preact' {
|
|
2664
|
-
|
|
2665
|
-
|
|
4560
|
+
namespace createElement.JSX {
|
|
4561
|
+
interface IntrinsicElements {
|
|
4562
|
+
[tagName$5]: TextFieldProps & BaseElementPropsWithChildren<TextFieldElement>;
|
|
4563
|
+
}
|
|
4564
|
+
}
|
|
4565
|
+
}
|
|
4566
|
+
|
|
4567
|
+
declare const tagName$4 = "s-text";
|
|
4568
|
+
interface TextProps extends Pick<TextProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'display' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
4569
|
+
color?: Extract<TextProps$1['color'], 'subdued' | 'base'>;
|
|
4570
|
+
tone?: Extract<TextProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
4571
|
+
type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
|
|
4572
|
+
}
|
|
4573
|
+
interface TextElement extends TextProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
|
|
4574
|
+
}
|
|
4575
|
+
declare global {
|
|
4576
|
+
interface HTMLElementTagNameMap {
|
|
2666
4577
|
}
|
|
4578
|
+
}
|
|
4579
|
+
declare module 'preact' {
|
|
2667
4580
|
namespace createElement.JSX {
|
|
2668
4581
|
interface IntrinsicElements {
|
|
2669
|
-
|
|
4582
|
+
[tagName$4]: TextProps & BaseElementPropsWithChildren<TextElement>;
|
|
2670
4583
|
}
|
|
2671
4584
|
}
|
|
2672
4585
|
}
|
|
2673
4586
|
|
|
2674
|
-
|
|
4587
|
+
declare const tagName$3 = "s-time";
|
|
4588
|
+
interface TimeProps extends Pick<TimeProps$1, 'dateTime' | 'id'> {
|
|
2675
4589
|
}
|
|
2676
4590
|
interface TimeElement extends TimeProps, Omit<HTMLElement, 'id'> {
|
|
2677
4591
|
}
|
|
2678
4592
|
declare global {
|
|
2679
4593
|
interface HTMLElementTagNameMap {
|
|
2680
|
-
's-time': TimeElement;
|
|
2681
4594
|
}
|
|
2682
4595
|
}
|
|
2683
4596
|
declare module 'preact' {
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
4597
|
+
namespace createElement.JSX {
|
|
4598
|
+
interface IntrinsicElements {
|
|
4599
|
+
[tagName$3]: TimeProps & BaseElementPropsWithChildren<TimeElement>;
|
|
4600
|
+
}
|
|
4601
|
+
}
|
|
4602
|
+
}
|
|
4603
|
+
|
|
4604
|
+
declare const tagName$2 = "s-tooltip";
|
|
4605
|
+
interface TooltipElementProps extends Pick<TooltipProps$1, 'id'> {
|
|
4606
|
+
}
|
|
4607
|
+
interface TooltipElement extends TooltipElementProps {
|
|
4608
|
+
}
|
|
4609
|
+
interface TooltipProps extends TooltipElementProps {
|
|
4610
|
+
}
|
|
4611
|
+
declare global {
|
|
4612
|
+
interface HTMLElementTagNameMap {
|
|
4613
|
+
[tagName$2]: TooltipElement;
|
|
2687
4614
|
}
|
|
4615
|
+
}
|
|
4616
|
+
declare module 'preact' {
|
|
2688
4617
|
namespace createElement.JSX {
|
|
2689
4618
|
interface IntrinsicElements {
|
|
2690
|
-
|
|
4619
|
+
[tagName$2]: TooltipProps & BaseElementPropsWithChildren<TooltipElement>;
|
|
2691
4620
|
}
|
|
2692
4621
|
}
|
|
2693
4622
|
}
|
|
2694
4623
|
|
|
4624
|
+
declare const tagName$1 = "s-unordered-list";
|
|
2695
4625
|
interface UnorderedListProps extends UnorderedListProps$1 {
|
|
2696
4626
|
}
|
|
2697
4627
|
interface UnorderedListElement extends UnorderedListProps, Omit<HTMLElement, 'id'> {
|
|
2698
4628
|
}
|
|
2699
4629
|
declare global {
|
|
2700
4630
|
interface HTMLElementTagNameMap {
|
|
2701
|
-
's-unordered-list': UnorderedListElement;
|
|
2702
4631
|
}
|
|
2703
4632
|
}
|
|
2704
4633
|
declare module 'preact' {
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
4634
|
+
namespace createElement.JSX {
|
|
4635
|
+
interface IntrinsicElements {
|
|
4636
|
+
[tagName$1]: UnorderedListProps & BaseElementPropsWithChildren<UnorderedListElement>;
|
|
4637
|
+
}
|
|
4638
|
+
}
|
|
4639
|
+
}
|
|
4640
|
+
|
|
4641
|
+
declare const tagName = "s-url-field";
|
|
4642
|
+
interface UrlFieldElementProps extends Pick<URLFieldProps, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
4643
|
+
}
|
|
4644
|
+
interface UrlFieldEvents extends Pick<URLFieldProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4645
|
+
}
|
|
4646
|
+
interface UrlFieldElement extends UrlFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4647
|
+
onblur: UrlFieldEvents['onBlur'];
|
|
4648
|
+
onchange: UrlFieldEvents['onChange'];
|
|
4649
|
+
onfocus: UrlFieldEvents['onFocus'];
|
|
4650
|
+
oninput: UrlFieldEvents['onInput'];
|
|
4651
|
+
}
|
|
4652
|
+
interface UrlFieldProps extends UrlFieldElementProps, UrlFieldEvents {
|
|
4653
|
+
}
|
|
4654
|
+
declare global {
|
|
4655
|
+
interface HTMLElementTagNameMap {
|
|
4656
|
+
[tagName]: UrlFieldElement;
|
|
2708
4657
|
}
|
|
4658
|
+
}
|
|
4659
|
+
declare module 'preact' {
|
|
2709
4660
|
namespace createElement.JSX {
|
|
2710
4661
|
interface IntrinsicElements {
|
|
2711
|
-
|
|
4662
|
+
[tagName]: UrlFieldProps & BaseElementPropsWithChildren<UrlFieldElement>;
|
|
2712
4663
|
}
|
|
2713
4664
|
}
|
|
2714
4665
|
}
|
|
2715
4666
|
|
|
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 };
|
|
4667
|
+
export type { AbbreviationProps, BadgeProps, BannerProps, BoxProps, ButtonProps, CheckboxProps, ChoiceListProps, ChoiceProps, ClickableProps, ClipboardItemProps, DateFieldProps, DatePickerProps, DetailsProps, DividerProps, DropZoneProps, EmailFieldProps, FormProps, GridItemProps, GridProps, HeadingProps, IconProps, ImageProps, LinkProps, ListItemProps, MapMarkerProps, MapProps, ModalProps, MoneyFieldProps, NumberFieldProps, OptionProps, OrderedListProps, ParagraphProps, PasswordFieldProps, PaymentIconProps, PhoneFieldProps, PopoverProps, PressButtonProps, ProductThumbnailProps, ProgressProps, QRCodeProps, QueryContainerProps, ScrollBoxProps, SectionProps, SelectProps, SheetProps, SkeletonParagraphProps, SpinnerProps, StackProps, SummaryProps, SwitchProps, TextAreaProps, TextFieldProps, TextProps, TimeProps, TooltipProps, UnorderedListProps, UrlFieldProps };
|