@shopify/ui-extensions 2025.10.0-rc.4 → 2025.10.0-rc.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
- package/build/cjs/surfaces/checkout/shared.js +22 -0
- package/build/cjs/surfaces/checkout.js +2 -0
- package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
- package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
- package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
- package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
- package/build/cjs/surfaces/point-of-sale.js +9 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +18 -0
- package/build/esm/surfaces/checkout.mjs +1 -0
- package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
- package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
- package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
- package/build/esm/surfaces/point-of-sale.mjs +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +18 -0
- package/build/esnext/surfaces/checkout.esnext +1 -0
- package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
- package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
- package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
- package/build/esnext/surfaces/point-of-sale.esnext +1 -0
- package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
- package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Badge.d.ts +1 -1
- package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts +1 -1
- package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
- package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Chip.d.ts +4 -0
- package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Choice.d.ts +1 -1
- package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
- package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
- package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
- package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
- package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
- package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/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/Divider.d.ts +1 -1
- package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
- package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts +1 -1
- package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
- package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Menu.d.ts +4 -0
- package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
- package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
- package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
- package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Popover.d.ts +4 -0
- package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
- package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
- package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Section.d.ts +1 -1
- package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Select.d.ts +1 -1
- package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts +1 -1
- package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Table.d.ts +1 -1
- package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
- package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
- package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
- package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
- package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
- package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
- package/build/ts/docs/shared/components/URLField.d.ts +1 -1
- package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/index.d.ts +1 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/docs/shared/docs-type.d.ts +3 -2
- package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
- package/build/ts/shared.d.ts +43 -0
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +133 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +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/cart-line/cart-line-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +18 -2
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +21 -3
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/Details.d.ts +72 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +94 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/checkout/components/components.d.ts +1683 -244
- package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +8 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +47 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +47 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +47 -596
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +49 -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 +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +49 -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 +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +47 -596
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +47 -596
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +54 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +49 -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 +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +49 -651
- package/build/ts/surfaces/checkout.d.ts +1 -1
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +53 -46
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api.d.ts +2 -2
- package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/build/ts/surfaces/customer-account/components/Details.d.ts +72 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +31 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +39 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +90 -0
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +19 -6
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +100 -0
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +68 -0
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +94 -0
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
- package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +88 -21
- package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +853 -85
- package/build/ts/surfaces/customer-account/components/components.d.ts +1683 -244
- package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +29 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
- package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
- package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +61 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +56 -742
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +56 -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 +60 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +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 +67 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +71 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +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/Navigator.d.ts +50 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/build/ts/surfaces/point-of-sale/components/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/Screen.d.ts +91 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +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 +3095 -0
- package/build/ts/surfaces/point-of-sale/components/shared.d.ts +76 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
- package/build/ts/surfaces/point-of-sale/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 +8 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +8 -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/Divider.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +1 -1
- package/src/docs/shared/components/Grid.ts +1 -1
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Menu.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/MoneyField.ts +2 -3
- package/src/docs/shared/components/NumberField.ts +1 -1
- package/src/docs/shared/components/Option.ts +12 -0
- package/src/docs/shared/components/OptionGroup.ts +12 -0
- package/src/docs/shared/components/Paragraph.ts +1 -1
- package/src/docs/shared/components/PasswordField.ts +1 -1
- package/src/docs/shared/components/PhoneField.ts +11 -0
- package/src/docs/shared/components/Popover.ts +12 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/docs/shared/components/QueryContainer.ts +12 -0
- package/src/docs/shared/components/SearchField.ts +1 -1
- package/src/docs/shared/components/Section.ts +1 -1
- package/src/docs/shared/components/Select.ts +1 -1
- package/src/docs/shared/components/Switch.ts +1 -1
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/TextArea.ts +1 -1
- package/src/docs/shared/components/Thumbnail.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +12 -0
- package/src/docs/shared/components/URLField.ts +1 -1
- package/src/docs/shared/components/index.ts +1 -0
- package/src/docs/shared/docs-type.ts +6 -5
- package/src/shared.ts +46 -0
- package/src/surfaces/admin/api/standard/standard.ts +7 -1
- package/src/surfaces/admin/api/standard/storage.ts +110 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
- package/src/surfaces/admin/components/Avatar.d.ts +133 -0
- package/src/surfaces/admin/components/Badge.d.ts +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/cart-line/cart-line-item.ts +1 -2
- package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +1 -1
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +1 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +1 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +1 -1
- package/src/surfaces/checkout/api/shared.ts +5 -0
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -2
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +1 -2
- package/src/surfaces/checkout/api/standard/standard.ts +23 -3
- package/src/surfaces/checkout/components/Abbreviation.d.ts +21 -9
- package/src/surfaces/checkout/components/Badge.d.ts +56 -0
- package/src/surfaces/checkout/components/Banner.d.ts +55 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +44 -13
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
- package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
- package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
- package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
- package/src/surfaces/checkout/components/Details.d.ts +72 -0
- package/src/surfaces/checkout/components/Divider.d.ts +31 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +39 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +85 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- package/src/surfaces/checkout/components/Grid.d.ts +64 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
- package/src/surfaces/checkout/components/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +22 -9
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +44 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +78 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +77 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +90 -0
- package/src/surfaces/checkout/components/NumberField.d.ts +85 -0
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PasswordField.d.ts +84 -0
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +100 -0
- package/src/surfaces/checkout/components/Popover.d.ts +68 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
- package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +94 -0
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack.d.ts +20 -9
- package/src/surfaces/checkout/components/Summary.d.ts +35 -0
- package/src/surfaces/checkout/components/Switch.d.ts +60 -0
- package/src/surfaces/checkout/components/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
- package/src/surfaces/checkout/components/TextField.d.ts +88 -21
- package/src/surfaces/checkout/components/Time.d.ts +21 -9
- package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/UrlField.d.ts +84 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +853 -85
- package/src/surfaces/checkout/components/components.d.ts +1683 -244
- package/src/surfaces/checkout/extension-targets.ts +8 -0
- package/src/surfaces/checkout/preact/attributes.ts +2 -2
- package/src/surfaces/checkout/preact/subscription.ts +2 -1
- package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
- package/src/surfaces/checkout/shared.ts +65 -31
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
- package/src/surfaces/customer-account/api/docs.ts +81 -26
- package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
- package/src/surfaces/customer-account/api/shared.ts +55 -44
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
- package/src/surfaces/customer-account/api.ts +8 -4
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +10 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +92 -0
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +22 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +8 -7
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +6 -4
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +24 -0
- package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +10 -9
- package/src/surfaces/customer-account/components/Page.d.ts +19 -6
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +23 -0
- package/src/surfaces/customer-account/components/Section.d.ts +46 -0
- package/src/surfaces/customer-account/components/StandardComponents.ts +6 -2
- package/src/surfaces/customer-account/components/shared.ts +29 -5
- package/src/surfaces/customer-account/components.d.ts +124 -31
- package/src/surfaces/customer-account/extension-targets.ts +15 -9
- package/src/surfaces/customer-account/globals.ts +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 +60 -0
- package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +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 +67 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
- package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
- package/src/surfaces/point-of-sale/components/DateField/examples/default.html +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/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/Navigator.d.ts +50 -0
- package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
- package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
- package/src/surfaces/point-of-sale/components/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/Screen.d.ts +91 -0
- package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
- package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +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 +3095 -0
- package/src/surfaces/point-of-sale/components/shared.d.ts +76 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
- package/src/surfaces/point-of-sale/components.d.ts +5838 -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/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.19.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
|
|
@@ -9,6 +9,167 @@
|
|
|
9
9
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
10
10
|
*/
|
|
11
11
|
export type ComponentChildren = any;
|
|
12
|
+
export type StringChildren = string;
|
|
13
|
+
export interface GlobalProps {
|
|
14
|
+
/**
|
|
15
|
+
* A unique identifier for the element.
|
|
16
|
+
*/
|
|
17
|
+
id?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface ActionProps {
|
|
20
|
+
/**
|
|
21
|
+
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
22
|
+
*/
|
|
23
|
+
heading?: string;
|
|
24
|
+
}
|
|
25
|
+
export interface ActionSlots {
|
|
26
|
+
/**
|
|
27
|
+
* The primary action to perform, provided as a button or link type element.
|
|
28
|
+
*/
|
|
29
|
+
primaryAction?: ComponentChildren;
|
|
30
|
+
/**
|
|
31
|
+
* The secondary actions to perform, provided as button or link type elements.
|
|
32
|
+
*/
|
|
33
|
+
secondaryActions?: ComponentChildren;
|
|
34
|
+
}
|
|
35
|
+
interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
|
|
36
|
+
/**
|
|
37
|
+
* Whether the action is in a loading state, such as initial page load or action opening.
|
|
38
|
+
* When true, the action could be in an inert state, which prevents user interaction.
|
|
39
|
+
*
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface AdminBlockProps$1 extends GlobalProps {
|
|
45
|
+
/**
|
|
46
|
+
* The text to use as the Block title in the block header. If not provided, the name of the
|
|
47
|
+
* extension will be used.
|
|
48
|
+
*/
|
|
49
|
+
heading?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The summary to display when the app block is collapsed.
|
|
52
|
+
* Summary longer than 30 characters will be truncated.
|
|
53
|
+
*/
|
|
54
|
+
collapsedSummary?: string;
|
|
55
|
+
}
|
|
56
|
+
interface AdminPrintActionProps$1 extends GlobalProps {
|
|
57
|
+
/**
|
|
58
|
+
* Sets the src URL of the preview and the document to print.
|
|
59
|
+
* If not provided, the preview will show an empty state and the print button will be disabled.
|
|
60
|
+
* HTML, PDFs and images are supported.
|
|
61
|
+
*/
|
|
62
|
+
src?: string;
|
|
63
|
+
}
|
|
64
|
+
export interface BaseOverlayProps {
|
|
65
|
+
/**
|
|
66
|
+
* Callback fired after the overlay is shown.
|
|
67
|
+
*/
|
|
68
|
+
onShow?: (event: Event) => void;
|
|
69
|
+
/**
|
|
70
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
71
|
+
*/
|
|
72
|
+
onAfterShow?: (event: Event) => void;
|
|
73
|
+
/**
|
|
74
|
+
* Callback fired after the overlay is hidden.
|
|
75
|
+
*/
|
|
76
|
+
onHide?: (event: Event) => void;
|
|
77
|
+
/**
|
|
78
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
79
|
+
*/
|
|
80
|
+
onAfterHide?: (event: Event) => void;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Shared interfaces for web component methods.
|
|
84
|
+
*
|
|
85
|
+
* Methods are required (not optional) because:
|
|
86
|
+
* - Components implementing this interface must provide all methods
|
|
87
|
+
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
88
|
+
* - Consumers expect these methods to be consistently available on all instances
|
|
89
|
+
*/
|
|
90
|
+
export interface BaseOverlayMethods {
|
|
91
|
+
/**
|
|
92
|
+
* Method to show an overlay.
|
|
93
|
+
*
|
|
94
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
95
|
+
*/
|
|
96
|
+
showOverlay: () => void;
|
|
97
|
+
/**
|
|
98
|
+
* Method to hide an overlay.
|
|
99
|
+
*
|
|
100
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
101
|
+
*/
|
|
102
|
+
hideOverlay: () => void;
|
|
103
|
+
/**
|
|
104
|
+
* Method to toggle the visiblity of an overlay.
|
|
105
|
+
*
|
|
106
|
+
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
107
|
+
*/
|
|
108
|
+
toggleOverlay: () => void;
|
|
109
|
+
}
|
|
110
|
+
export interface FocusEventProps {
|
|
111
|
+
/**
|
|
112
|
+
* Callback when the element loses focus.
|
|
113
|
+
*
|
|
114
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
|
|
115
|
+
*/
|
|
116
|
+
onBlur?: (event: FocusEvent) => void;
|
|
117
|
+
/**
|
|
118
|
+
* Callback when the element receives focus.
|
|
119
|
+
*
|
|
120
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
|
|
121
|
+
*/
|
|
122
|
+
onFocus?: (event: FocusEvent) => void;
|
|
123
|
+
}
|
|
124
|
+
export interface ToggleEventProps {
|
|
125
|
+
/**
|
|
126
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
127
|
+
*
|
|
128
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
129
|
+
* `newState` property will be set to `open`.
|
|
130
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
131
|
+
* `newState` will be `closed`.
|
|
132
|
+
*
|
|
133
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
134
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
135
|
+
*/
|
|
136
|
+
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
137
|
+
/**
|
|
138
|
+
* Callback straight after the element state changes.
|
|
139
|
+
*
|
|
140
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
141
|
+
* `newState` property will be set to `open`.
|
|
142
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
143
|
+
* `newState` will be `closed`.
|
|
144
|
+
*
|
|
145
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
146
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
147
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
148
|
+
*/
|
|
149
|
+
onToggle?: (event: ToggleEvent$1) => void;
|
|
150
|
+
}
|
|
151
|
+
export type ToggleState = 'open' | 'closed';
|
|
152
|
+
interface ToggleEvent$1 extends Event {
|
|
153
|
+
readonly newState: ToggleState;
|
|
154
|
+
readonly oldState: ToggleState;
|
|
155
|
+
}
|
|
156
|
+
export interface ExtendableEvent extends Event {
|
|
157
|
+
/**
|
|
158
|
+
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
159
|
+
*
|
|
160
|
+
* This may be called many times, which adds promises to the event.
|
|
161
|
+
*
|
|
162
|
+
* However, this may only be called synchronously during the dispatch of the event.
|
|
163
|
+
* As in, you cannot call it after a `setTimeout` or microtask.
|
|
164
|
+
*/
|
|
165
|
+
waitUntil?: (promise: Promise<void>) => void;
|
|
166
|
+
}
|
|
167
|
+
interface AggregateError$1<T extends Error> extends Error {
|
|
168
|
+
errors: T[];
|
|
169
|
+
}
|
|
170
|
+
export interface ArgregatedErrorEvent<T extends Error> extends ErrorEvent {
|
|
171
|
+
error: AggregateError$1<T>;
|
|
172
|
+
}
|
|
12
173
|
export type SizeKeyword =
|
|
13
174
|
| 'small-500'
|
|
14
175
|
| 'small-400'
|
|
@@ -24,11 +185,40 @@ export type SizeKeyword =
|
|
|
24
185
|
| 'large-400'
|
|
25
186
|
| 'large-500';
|
|
26
187
|
export type ColorKeyword = 'subdued' | 'base' | 'strong';
|
|
27
|
-
|
|
188
|
+
interface AvatarProps$1 extends GlobalProps {
|
|
28
189
|
/**
|
|
29
|
-
*
|
|
190
|
+
* Initials to display in the avatar.
|
|
30
191
|
*/
|
|
31
|
-
|
|
192
|
+
initials?: string;
|
|
193
|
+
/**
|
|
194
|
+
* The URL or path to the image.
|
|
195
|
+
*
|
|
196
|
+
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly
|
|
197
|
+
*/
|
|
198
|
+
src?: string;
|
|
199
|
+
/**
|
|
200
|
+
* Invoked when load of provided image completes successfully.
|
|
201
|
+
*
|
|
202
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
203
|
+
*/
|
|
204
|
+
onLoad?: (event: Event) => void;
|
|
205
|
+
/**
|
|
206
|
+
* Invoked on load error of provided image.
|
|
207
|
+
*
|
|
208
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
209
|
+
*/
|
|
210
|
+
onError?: (event: Event) => void;
|
|
211
|
+
/**
|
|
212
|
+
* Size of the avatar.
|
|
213
|
+
*
|
|
214
|
+
* @default 'base'
|
|
215
|
+
*/
|
|
216
|
+
size?: SizeKeyword;
|
|
217
|
+
/**
|
|
218
|
+
* An alternative text that describes the avatar for the reader
|
|
219
|
+
* to understand what it is about or identify the user the avatar belongs to.
|
|
220
|
+
*/
|
|
221
|
+
alt?: string;
|
|
32
222
|
}
|
|
33
223
|
export type BackgroundColorKeyword = 'transparent' | ColorKeyword;
|
|
34
224
|
export interface BackgroundProps {
|
|
@@ -57,6 +247,7 @@ export type ToneKeyword =
|
|
|
57
247
|
| 'caution'
|
|
58
248
|
| 'warning'
|
|
59
249
|
| 'critical'
|
|
250
|
+
| 'accent'
|
|
60
251
|
| 'custom';
|
|
61
252
|
declare const privateIconArray: readonly [
|
|
62
253
|
'adjust',
|
|
@@ -66,23 +257,23 @@ declare const privateIconArray: readonly [
|
|
|
66
257
|
'alert-circle',
|
|
67
258
|
'alert-diamond',
|
|
68
259
|
'alert-location',
|
|
69
|
-
'alert-octagon-filled',
|
|
70
260
|
'alert-octagon',
|
|
261
|
+
'alert-octagon-filled',
|
|
71
262
|
'alert-triangle',
|
|
72
263
|
'alert-triangle-filled',
|
|
73
264
|
'app-extension',
|
|
74
265
|
'apps',
|
|
75
266
|
'archive',
|
|
267
|
+
'arrow-down',
|
|
76
268
|
'arrow-down-circle',
|
|
77
269
|
'arrow-down-right',
|
|
78
|
-
'arrow-down',
|
|
79
|
-
'arrow-left-circle',
|
|
80
270
|
'arrow-left',
|
|
81
|
-
'arrow-
|
|
271
|
+
'arrow-left-circle',
|
|
82
272
|
'arrow-right',
|
|
273
|
+
'arrow-right-circle',
|
|
274
|
+
'arrow-up',
|
|
83
275
|
'arrow-up-circle',
|
|
84
276
|
'arrow-up-right',
|
|
85
|
-
'arrow-up',
|
|
86
277
|
'arrows-in-horizontal',
|
|
87
278
|
'arrows-out-horizontal',
|
|
88
279
|
'attachment',
|
|
@@ -91,34 +282,39 @@ declare const privateIconArray: readonly [
|
|
|
91
282
|
'bag',
|
|
92
283
|
'bank',
|
|
93
284
|
'barcode',
|
|
285
|
+
'battery-low',
|
|
94
286
|
'bill',
|
|
95
287
|
'blank',
|
|
96
288
|
'blog',
|
|
97
|
-
'bolt-filled',
|
|
98
289
|
'bolt',
|
|
99
|
-
'
|
|
290
|
+
'bolt-filled',
|
|
100
291
|
'book',
|
|
292
|
+
'book-open',
|
|
101
293
|
'bug',
|
|
102
294
|
'bullet',
|
|
103
295
|
'business-entity',
|
|
104
|
-
'button-press',
|
|
105
296
|
'button',
|
|
297
|
+
'button-press',
|
|
106
298
|
'calculator',
|
|
299
|
+
'calendar',
|
|
107
300
|
'calendar-check',
|
|
108
301
|
'calendar-compare',
|
|
109
302
|
'calendar-list',
|
|
110
303
|
'calendar-time',
|
|
111
|
-
'calendar',
|
|
112
|
-
'camera-flip',
|
|
113
304
|
'camera',
|
|
305
|
+
'camera-flip',
|
|
114
306
|
'caret-down',
|
|
307
|
+
'caret-left',
|
|
308
|
+
'caret-right',
|
|
115
309
|
'caret-up',
|
|
310
|
+
'cart',
|
|
116
311
|
'cart-abandoned',
|
|
117
312
|
'cart-discount',
|
|
118
313
|
'cart-down',
|
|
314
|
+
'cart-filled',
|
|
119
315
|
'cart-sale',
|
|
316
|
+
'cart-send',
|
|
120
317
|
'cart-up',
|
|
121
|
-
'cart',
|
|
122
318
|
'cash-dollar',
|
|
123
319
|
'cash-euro',
|
|
124
320
|
'cash-pound',
|
|
@@ -130,8 +326,8 @@ declare const privateIconArray: readonly [
|
|
|
130
326
|
'chart-cohort',
|
|
131
327
|
'chart-donut',
|
|
132
328
|
'chart-funnel',
|
|
133
|
-
'chart-histogram-first-last',
|
|
134
329
|
'chart-histogram-first',
|
|
330
|
+
'chart-histogram-first-last',
|
|
135
331
|
'chart-histogram-flat',
|
|
136
332
|
'chart-histogram-full',
|
|
137
333
|
'chart-histogram-growth',
|
|
@@ -142,36 +338,36 @@ declare const privateIconArray: readonly [
|
|
|
142
338
|
'chart-popular',
|
|
143
339
|
'chart-stacked',
|
|
144
340
|
'chart-vertical',
|
|
341
|
+
'chat',
|
|
145
342
|
'chat-new',
|
|
146
343
|
'chat-referral',
|
|
147
|
-
'chat',
|
|
148
|
-
'check-circle-filled',
|
|
149
|
-
'check-circle',
|
|
150
344
|
'check',
|
|
345
|
+
'check-circle',
|
|
346
|
+
'check-circle-filled',
|
|
151
347
|
'checkbox',
|
|
152
|
-
'chevron-down-circle',
|
|
153
348
|
'chevron-down',
|
|
154
|
-
'chevron-
|
|
349
|
+
'chevron-down-circle',
|
|
155
350
|
'chevron-left',
|
|
156
|
-
'chevron-
|
|
351
|
+
'chevron-left-circle',
|
|
157
352
|
'chevron-right',
|
|
158
|
-
'chevron-
|
|
353
|
+
'chevron-right-circle',
|
|
159
354
|
'chevron-up',
|
|
160
|
-
'circle
|
|
355
|
+
'chevron-up-circle',
|
|
161
356
|
'circle',
|
|
357
|
+
'circle-dashed',
|
|
358
|
+
'clipboard',
|
|
162
359
|
'clipboard-check',
|
|
163
360
|
'clipboard-checklist',
|
|
164
|
-
'clipboard',
|
|
165
|
-
'clock-revert',
|
|
166
361
|
'clock',
|
|
167
|
-
'
|
|
362
|
+
'clock-revert',
|
|
168
363
|
'code',
|
|
364
|
+
'code-add',
|
|
365
|
+
'collection',
|
|
169
366
|
'collection-featured',
|
|
170
367
|
'collection-list',
|
|
171
368
|
'collection-reference',
|
|
172
|
-
'collection',
|
|
173
|
-
'color-none',
|
|
174
369
|
'color',
|
|
370
|
+
'color-none',
|
|
175
371
|
'compass',
|
|
176
372
|
'complete',
|
|
177
373
|
'compose',
|
|
@@ -182,76 +378,81 @@ declare const privateIconArray: readonly [
|
|
|
182
378
|
'corner-pill',
|
|
183
379
|
'corner-round',
|
|
184
380
|
'corner-square',
|
|
381
|
+
'credit-card',
|
|
185
382
|
'credit-card-cancel',
|
|
186
383
|
'credit-card-percent',
|
|
384
|
+
'credit-card-reader',
|
|
187
385
|
'credit-card-reader-chip',
|
|
188
386
|
'credit-card-reader-tap',
|
|
189
|
-
'credit-card-reader',
|
|
190
387
|
'credit-card-secure',
|
|
191
388
|
'credit-card-tap-chip',
|
|
192
|
-
'credit-card',
|
|
193
389
|
'crop',
|
|
194
390
|
'currency-convert',
|
|
391
|
+
'cursor',
|
|
195
392
|
'cursor-banner',
|
|
196
393
|
'cursor-option',
|
|
197
|
-
'cursor',
|
|
198
394
|
'data-presentation',
|
|
199
395
|
'data-table',
|
|
396
|
+
'database',
|
|
200
397
|
'database-add',
|
|
201
398
|
'database-connect',
|
|
202
|
-
'database',
|
|
203
399
|
'delete',
|
|
204
400
|
'delivered',
|
|
205
401
|
'delivery',
|
|
206
402
|
'desktop',
|
|
207
403
|
'disabled',
|
|
404
|
+
'disabled-filled',
|
|
405
|
+
'discount',
|
|
208
406
|
'discount-add',
|
|
407
|
+
'discount-automatic',
|
|
209
408
|
'discount-code',
|
|
210
|
-
'discount',
|
|
409
|
+
'discount-remove',
|
|
211
410
|
'dns-settings',
|
|
212
411
|
'dock-floating',
|
|
213
412
|
'dock-side',
|
|
413
|
+
'domain',
|
|
214
414
|
'domain-landing-page',
|
|
215
415
|
'domain-new',
|
|
216
416
|
'domain-redirect',
|
|
217
|
-
'domain',
|
|
218
417
|
'download',
|
|
219
418
|
'drag-drop',
|
|
220
419
|
'drag-handle',
|
|
420
|
+
'drawer',
|
|
221
421
|
'duplicate',
|
|
222
422
|
'edit',
|
|
423
|
+
'email',
|
|
223
424
|
'email-follow-up',
|
|
224
425
|
'email-newsletter',
|
|
225
|
-
'email',
|
|
226
426
|
'empty',
|
|
227
427
|
'enabled',
|
|
228
428
|
'enter',
|
|
229
|
-
'envelope-soft-pack',
|
|
230
429
|
'envelope',
|
|
430
|
+
'envelope-soft-pack',
|
|
231
431
|
'eraser',
|
|
232
432
|
'exchange',
|
|
233
433
|
'exit',
|
|
234
434
|
'export',
|
|
235
435
|
'external',
|
|
236
436
|
'eye-check-mark',
|
|
237
|
-
'eye-dropper-list',
|
|
238
437
|
'eye-dropper',
|
|
438
|
+
'eye-dropper-list',
|
|
239
439
|
'eye-first',
|
|
240
440
|
'eyeglasses',
|
|
241
441
|
'fav',
|
|
242
442
|
'favicon',
|
|
243
|
-
'file-list',
|
|
244
443
|
'file',
|
|
444
|
+
'file-list',
|
|
245
445
|
'filter',
|
|
446
|
+
'filter-active',
|
|
246
447
|
'flag',
|
|
247
448
|
'flip-horizontal',
|
|
248
449
|
'flip-vertical',
|
|
249
450
|
'flower',
|
|
451
|
+
'folder',
|
|
250
452
|
'folder-add',
|
|
251
453
|
'folder-down',
|
|
252
454
|
'folder-remove',
|
|
253
455
|
'folder-up',
|
|
254
|
-
'folder',
|
|
255
456
|
'food',
|
|
256
457
|
'foreground',
|
|
257
458
|
'forklift',
|
|
@@ -259,33 +460,35 @@ declare const privateIconArray: readonly [
|
|
|
259
460
|
'games',
|
|
260
461
|
'gauge',
|
|
261
462
|
'geolocation',
|
|
262
|
-
'gift-card',
|
|
263
463
|
'gift',
|
|
464
|
+
'gift-card',
|
|
264
465
|
'git-branch',
|
|
265
466
|
'git-commit',
|
|
266
467
|
'git-repository',
|
|
468
|
+
'globe',
|
|
267
469
|
'globe-asia',
|
|
268
470
|
'globe-europe',
|
|
269
471
|
'globe-lines',
|
|
270
472
|
'globe-list',
|
|
271
|
-
'
|
|
473
|
+
'graduation-hat',
|
|
272
474
|
'grid',
|
|
475
|
+
'hashtag',
|
|
273
476
|
'hashtag-decimal',
|
|
274
477
|
'hashtag-list',
|
|
275
|
-
'hashtag',
|
|
276
478
|
'heart',
|
|
277
|
-
'hide-filled',
|
|
278
479
|
'hide',
|
|
480
|
+
'hide-filled',
|
|
279
481
|
'home',
|
|
482
|
+
'home-filled',
|
|
280
483
|
'icons',
|
|
281
484
|
'identity-card',
|
|
485
|
+
'image',
|
|
282
486
|
'image-add',
|
|
283
487
|
'image-alt',
|
|
284
488
|
'image-explore',
|
|
285
489
|
'image-magic',
|
|
286
490
|
'image-none',
|
|
287
491
|
'image-with-text-overlay',
|
|
288
|
-
'image',
|
|
289
492
|
'images',
|
|
290
493
|
'import',
|
|
291
494
|
'in-progress',
|
|
@@ -294,20 +497,25 @@ declare const privateIconArray: readonly [
|
|
|
294
497
|
'incomplete',
|
|
295
498
|
'info',
|
|
296
499
|
'info-filled',
|
|
297
|
-
'
|
|
500
|
+
'inheritance',
|
|
298
501
|
'inventory',
|
|
502
|
+
'inventory-edit',
|
|
503
|
+
'inventory-list',
|
|
504
|
+
'inventory-transfer',
|
|
505
|
+
'inventory-updated',
|
|
299
506
|
'iq',
|
|
300
507
|
'key',
|
|
508
|
+
'keyboard',
|
|
301
509
|
'keyboard-filled',
|
|
302
510
|
'keyboard-hide',
|
|
303
|
-
'
|
|
511
|
+
'keypad',
|
|
304
512
|
'label-printer',
|
|
305
|
-
'language-translate',
|
|
306
513
|
'language',
|
|
514
|
+
'language-translate',
|
|
307
515
|
'layout-block',
|
|
516
|
+
'layout-buy-button',
|
|
308
517
|
'layout-buy-button-horizontal',
|
|
309
518
|
'layout-buy-button-vertical',
|
|
310
|
-
'layout-buy-button',
|
|
311
519
|
'layout-column-1',
|
|
312
520
|
'layout-columns-2',
|
|
313
521
|
'layout-columns-3',
|
|
@@ -320,64 +528,73 @@ declare const privateIconArray: readonly [
|
|
|
320
528
|
'layout-sidebar-left',
|
|
321
529
|
'layout-sidebar-right',
|
|
322
530
|
'lightbulb',
|
|
323
|
-
'link-list',
|
|
324
531
|
'link',
|
|
532
|
+
'link-list',
|
|
325
533
|
'list-bulleted',
|
|
534
|
+
'list-bulleted-filled',
|
|
326
535
|
'list-numbered',
|
|
327
536
|
'live',
|
|
328
|
-
'
|
|
537
|
+
'live-critical',
|
|
538
|
+
'live-none',
|
|
329
539
|
'location',
|
|
540
|
+
'location-none',
|
|
330
541
|
'lock',
|
|
331
542
|
'map',
|
|
543
|
+
'markets',
|
|
332
544
|
'markets-euro',
|
|
333
545
|
'markets-rupee',
|
|
334
546
|
'markets-yen',
|
|
335
|
-
'markets',
|
|
336
547
|
'maximize',
|
|
337
|
-
'measurement-size-list',
|
|
338
548
|
'measurement-size',
|
|
339
|
-
'measurement-
|
|
549
|
+
'measurement-size-list',
|
|
340
550
|
'measurement-volume',
|
|
341
|
-
'measurement-
|
|
551
|
+
'measurement-volume-list',
|
|
342
552
|
'measurement-weight',
|
|
553
|
+
'measurement-weight-list',
|
|
343
554
|
'media-receiver',
|
|
344
555
|
'megaphone',
|
|
345
556
|
'mention',
|
|
557
|
+
'menu',
|
|
558
|
+
'menu-filled',
|
|
346
559
|
'menu-horizontal',
|
|
347
560
|
'menu-vertical',
|
|
348
|
-
'menu',
|
|
349
561
|
'merge',
|
|
350
562
|
'metafields',
|
|
563
|
+
'metaobject',
|
|
351
564
|
'metaobject-list',
|
|
352
565
|
'metaobject-reference',
|
|
353
|
-
'metaobject',
|
|
354
566
|
'microphone',
|
|
355
567
|
'minimize',
|
|
356
|
-
'minus-circle',
|
|
357
568
|
'minus',
|
|
569
|
+
'minus-circle',
|
|
358
570
|
'mobile',
|
|
359
|
-
'money-none',
|
|
360
571
|
'money',
|
|
572
|
+
'money-none',
|
|
573
|
+
'money-split',
|
|
361
574
|
'moon',
|
|
362
575
|
'nature',
|
|
363
|
-
'note-add',
|
|
364
576
|
'note',
|
|
577
|
+
'note-add',
|
|
365
578
|
'notification',
|
|
579
|
+
'order',
|
|
366
580
|
'order-batches',
|
|
367
581
|
'order-draft',
|
|
582
|
+
'order-filled',
|
|
368
583
|
'order-first',
|
|
369
584
|
'order-fulfilled',
|
|
370
585
|
'order-repeat',
|
|
371
586
|
'order-unfulfilled',
|
|
372
|
-
'order',
|
|
373
587
|
'orders-status',
|
|
374
588
|
'organization',
|
|
375
589
|
'outdent',
|
|
376
590
|
'outgoing',
|
|
591
|
+
'package',
|
|
592
|
+
'package-cancel',
|
|
377
593
|
'package-fulfilled',
|
|
378
594
|
'package-on-hold',
|
|
595
|
+
'package-reassign',
|
|
379
596
|
'package-returned',
|
|
380
|
-
'
|
|
597
|
+
'page',
|
|
381
598
|
'page-add',
|
|
382
599
|
'page-attachment',
|
|
383
600
|
'page-clock',
|
|
@@ -388,7 +605,6 @@ declare const privateIconArray: readonly [
|
|
|
388
605
|
'page-remove',
|
|
389
606
|
'page-report',
|
|
390
607
|
'page-up',
|
|
391
|
-
'page',
|
|
392
608
|
'pagination-end',
|
|
393
609
|
'pagination-start',
|
|
394
610
|
'paint-brush-flat',
|
|
@@ -398,49 +614,55 @@ declare const privateIconArray: readonly [
|
|
|
398
614
|
'passkey',
|
|
399
615
|
'paste',
|
|
400
616
|
'pause-circle',
|
|
401
|
-
'payment-capture',
|
|
402
617
|
'payment',
|
|
618
|
+
'payment-capture',
|
|
619
|
+
'payout',
|
|
403
620
|
'payout-dollar',
|
|
404
621
|
'payout-euro',
|
|
405
622
|
'payout-pound',
|
|
406
623
|
'payout-rupee',
|
|
407
624
|
'payout-yen',
|
|
408
|
-
'
|
|
625
|
+
'person',
|
|
409
626
|
'person-add',
|
|
410
627
|
'person-exit',
|
|
628
|
+
'person-filled',
|
|
411
629
|
'person-list',
|
|
412
630
|
'person-lock',
|
|
413
631
|
'person-remove',
|
|
414
632
|
'person-segment',
|
|
415
|
-
'person',
|
|
416
633
|
'personalized-text',
|
|
634
|
+
'phablet',
|
|
635
|
+
'phone',
|
|
417
636
|
'phone-in',
|
|
418
637
|
'phone-out',
|
|
419
|
-
'phone',
|
|
420
638
|
'pin',
|
|
421
639
|
'pin-remove',
|
|
422
640
|
'plan',
|
|
423
|
-
'play-circle',
|
|
424
641
|
'play',
|
|
642
|
+
'play-circle',
|
|
643
|
+
'plus',
|
|
425
644
|
'plus-circle',
|
|
426
645
|
'plus-circle-down',
|
|
646
|
+
'plus-circle-filled',
|
|
427
647
|
'plus-circle-up',
|
|
428
|
-
'plus',
|
|
429
648
|
'point-of-sale',
|
|
649
|
+
'point-of-sale-register',
|
|
430
650
|
'price-list',
|
|
431
651
|
'print',
|
|
652
|
+
'product',
|
|
432
653
|
'product-add',
|
|
433
654
|
'product-cost',
|
|
655
|
+
'product-filled',
|
|
434
656
|
'product-list',
|
|
435
657
|
'product-reference',
|
|
436
658
|
'product-remove',
|
|
437
659
|
'product-return',
|
|
438
660
|
'product-unavailable',
|
|
439
|
-
'product',
|
|
440
|
-
'profile-filled',
|
|
441
661
|
'profile',
|
|
442
|
-
'
|
|
662
|
+
'profile-filled',
|
|
443
663
|
'question-circle',
|
|
664
|
+
'question-circle-filled',
|
|
665
|
+
'receipt',
|
|
444
666
|
'receipt-dollar',
|
|
445
667
|
'receipt-euro',
|
|
446
668
|
'receipt-folded',
|
|
@@ -449,7 +671,6 @@ declare const privateIconArray: readonly [
|
|
|
449
671
|
'receipt-refund',
|
|
450
672
|
'receipt-rupee',
|
|
451
673
|
'receipt-yen',
|
|
452
|
-
'receipt',
|
|
453
674
|
'receivables',
|
|
454
675
|
'redo',
|
|
455
676
|
'referral-code',
|
|
@@ -467,10 +688,12 @@ declare const privateIconArray: readonly [
|
|
|
467
688
|
'sandbox',
|
|
468
689
|
'save',
|
|
469
690
|
'savings',
|
|
691
|
+
'scan-qr-code',
|
|
692
|
+
'search',
|
|
693
|
+
'search-add',
|
|
470
694
|
'search-list',
|
|
471
695
|
'search-recent',
|
|
472
696
|
'search-resource',
|
|
473
|
-
'search',
|
|
474
697
|
'select',
|
|
475
698
|
'send',
|
|
476
699
|
'settings',
|
|
@@ -480,6 +703,7 @@ declare const privateIconArray: readonly [
|
|
|
480
703
|
'shield-pending',
|
|
481
704
|
'shield-person',
|
|
482
705
|
'shipping-label',
|
|
706
|
+
'shipping-label-cancel',
|
|
483
707
|
'shopcodes',
|
|
484
708
|
'slideshow',
|
|
485
709
|
'smiley-happy',
|
|
@@ -488,68 +712,70 @@ declare const privateIconArray: readonly [
|
|
|
488
712
|
'smiley-sad',
|
|
489
713
|
'social-ad',
|
|
490
714
|
'social-post',
|
|
715
|
+
'sort',
|
|
491
716
|
'sort-ascending',
|
|
492
717
|
'sort-descending',
|
|
493
|
-
'sort',
|
|
494
718
|
'sound',
|
|
495
719
|
'sports',
|
|
720
|
+
'star',
|
|
721
|
+
'star-circle',
|
|
496
722
|
'star-filled',
|
|
497
723
|
'star-half',
|
|
498
724
|
'star-list',
|
|
499
|
-
'star',
|
|
500
|
-
'status-active',
|
|
501
725
|
'status',
|
|
726
|
+
'status-active',
|
|
502
727
|
'stop-circle',
|
|
728
|
+
'store',
|
|
503
729
|
'store-import',
|
|
504
730
|
'store-managed',
|
|
505
731
|
'store-online',
|
|
506
|
-
'store',
|
|
507
732
|
'sun',
|
|
508
|
-
'table-masonry',
|
|
509
733
|
'table',
|
|
734
|
+
'table-masonry',
|
|
510
735
|
'tablet',
|
|
511
736
|
'target',
|
|
512
737
|
'tax',
|
|
513
738
|
'team',
|
|
739
|
+
'text',
|
|
514
740
|
'text-align-center',
|
|
515
741
|
'text-align-left',
|
|
516
742
|
'text-align-right',
|
|
517
743
|
'text-block',
|
|
518
744
|
'text-bold',
|
|
519
745
|
'text-color',
|
|
520
|
-
'text-font-list',
|
|
521
746
|
'text-font',
|
|
747
|
+
'text-font-list',
|
|
522
748
|
'text-grammar',
|
|
523
749
|
'text-in-columns',
|
|
524
750
|
'text-in-rows',
|
|
525
|
-
'text-indent-remove',
|
|
526
751
|
'text-indent',
|
|
752
|
+
'text-indent-remove',
|
|
527
753
|
'text-italic',
|
|
528
754
|
'text-quote',
|
|
529
755
|
'text-title',
|
|
530
756
|
'text-underline',
|
|
531
757
|
'text-with-image',
|
|
532
|
-
'
|
|
758
|
+
'theme',
|
|
533
759
|
'theme-edit',
|
|
534
760
|
'theme-store',
|
|
535
761
|
'theme-template',
|
|
536
|
-
'theme',
|
|
537
762
|
'three-d-environment',
|
|
538
763
|
'thumbs-down',
|
|
539
764
|
'thumbs-up',
|
|
540
765
|
'tip-jar',
|
|
541
766
|
'toggle-off',
|
|
542
767
|
'toggle-on',
|
|
768
|
+
'transaction',
|
|
769
|
+
'transaction-fee-add',
|
|
543
770
|
'transaction-fee-dollar',
|
|
544
771
|
'transaction-fee-euro',
|
|
545
772
|
'transaction-fee-pound',
|
|
546
773
|
'transaction-fee-rupee',
|
|
547
774
|
'transaction-fee-yen',
|
|
548
|
-
'
|
|
775
|
+
'transfer',
|
|
549
776
|
'transfer-in',
|
|
550
777
|
'transfer-internal',
|
|
551
778
|
'transfer-out',
|
|
552
|
-
'transfer',
|
|
553
779
|
'truck',
|
|
554
780
|
'undo',
|
|
555
781
|
'unknown-device',
|
|
@@ -565,12 +791,12 @@ declare const privateIconArray: readonly [
|
|
|
565
791
|
'wand',
|
|
566
792
|
'watch',
|
|
567
793
|
'wifi',
|
|
568
|
-
'work-list',
|
|
569
794
|
'work',
|
|
795
|
+
'work-list',
|
|
570
796
|
'wrench',
|
|
571
|
-
'x-circle-filled',
|
|
572
|
-
'x-circle',
|
|
573
797
|
'x',
|
|
798
|
+
'x-circle',
|
|
799
|
+
'x-circle-filled',
|
|
574
800
|
];
|
|
575
801
|
export type IconType = (typeof privateIconArray)[number];
|
|
576
802
|
/**
|
|
@@ -583,6 +809,7 @@ export type MaybeAllValuesShorthandProperty<T extends string> =
|
|
|
583
809
|
| `${T} ${T} ${T}`
|
|
584
810
|
| `${T} ${T} ${T} ${T}`;
|
|
585
811
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
812
|
+
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
586
813
|
/**
|
|
587
814
|
* Prevents widening string literal types in a union to `string`.
|
|
588
815
|
* @example
|
|
@@ -592,6 +819,13 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
592
819
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
593
820
|
*/
|
|
594
821
|
export type AnyString = string & {};
|
|
822
|
+
/**
|
|
823
|
+
* This is purely to give the ability
|
|
824
|
+
* to have a space or not in the string literal types.
|
|
825
|
+
*
|
|
826
|
+
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
827
|
+
*/
|
|
828
|
+
export type optionalSpace = '' | ' ';
|
|
595
829
|
interface BadgeProps$1 extends GlobalProps {
|
|
596
830
|
/**
|
|
597
831
|
* The content of the Badge.
|
|
@@ -626,50 +860,7 @@ interface BadgeProps$1 extends GlobalProps {
|
|
|
626
860
|
*/
|
|
627
861
|
size?: SizeKeyword;
|
|
628
862
|
}
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
632
|
-
*/
|
|
633
|
-
heading?: string;
|
|
634
|
-
}
|
|
635
|
-
export interface ActionSlots {
|
|
636
|
-
/**
|
|
637
|
-
* The primary action to perform, provided as a button or link type element.
|
|
638
|
-
*/
|
|
639
|
-
primaryAction?: ComponentChildren;
|
|
640
|
-
/**
|
|
641
|
-
* The secondary actions to perform, provided as button or link type elements.
|
|
642
|
-
*/
|
|
643
|
-
secondaryActions?: ComponentChildren;
|
|
644
|
-
}
|
|
645
|
-
/**
|
|
646
|
-
* Used for Container Query-related props.
|
|
647
|
-
*/
|
|
648
|
-
export interface ContainerProps {
|
|
649
|
-
/**
|
|
650
|
-
* The name of the container used for Container Queries.
|
|
651
|
-
*
|
|
652
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
653
|
-
*
|
|
654
|
-
* @default ''
|
|
655
|
-
*
|
|
656
|
-
* @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`.
|
|
657
|
-
* The developer-supplied containerName here would be in addition to the above-mentioned containerName.
|
|
658
|
-
*/
|
|
659
|
-
containerName?: string;
|
|
660
|
-
/**
|
|
661
|
-
* The type of container used for Container Queries.
|
|
662
|
-
*
|
|
663
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-type
|
|
664
|
-
*
|
|
665
|
-
* - `normal`: The element is not a query container for any container size queries.
|
|
666
|
-
* - `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.
|
|
667
|
-
*
|
|
668
|
-
* @default 'normal'
|
|
669
|
-
*/
|
|
670
|
-
containerType?: 'normal' | 'inline-size';
|
|
671
|
-
}
|
|
672
|
-
interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
863
|
+
interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
673
864
|
/**
|
|
674
865
|
* The title of the banner.
|
|
675
866
|
*
|
|
@@ -720,7 +911,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
720
911
|
*
|
|
721
912
|
* The `hidden` property will be `false` when this event fires.
|
|
722
913
|
*/
|
|
723
|
-
onDismiss?: () => void;
|
|
914
|
+
onDismiss?: (event: Event) => void;
|
|
724
915
|
/**
|
|
725
916
|
* Event handler when the banner has fully hidden.
|
|
726
917
|
*
|
|
@@ -730,7 +921,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots, ContainerProps {
|
|
|
730
921
|
* this event must fire after the banner has fully hidden.
|
|
731
922
|
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
732
923
|
*/
|
|
733
|
-
onAfterHide?: () => void;
|
|
924
|
+
onAfterHide?: (event: Event) => void;
|
|
734
925
|
/**
|
|
735
926
|
* Determines whether the banner is hidden.
|
|
736
927
|
*
|
|
@@ -754,7 +945,7 @@ export interface DisplayProps {
|
|
|
754
945
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
755
946
|
* @default 'auto'
|
|
756
947
|
*/
|
|
757
|
-
display?: 'auto' | 'none'
|
|
948
|
+
display?: MaybeResponsive<'auto' | 'none'>;
|
|
758
949
|
}
|
|
759
950
|
export interface AccessibilityRoleProps {
|
|
760
951
|
/**
|
|
@@ -932,7 +1123,7 @@ export interface PaddingProps {
|
|
|
932
1123
|
*
|
|
933
1124
|
* @default 'none'
|
|
934
1125
|
*/
|
|
935
|
-
padding?: MaybeAllValuesShorthandProperty<PaddingKeyword
|
|
1126
|
+
padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
|
|
936
1127
|
/**
|
|
937
1128
|
* Adjust the block-padding.
|
|
938
1129
|
*
|
|
@@ -942,7 +1133,9 @@ export interface PaddingProps {
|
|
|
942
1133
|
*
|
|
943
1134
|
* @default '' - meaning no override
|
|
944
1135
|
*/
|
|
945
|
-
paddingBlock?:
|
|
1136
|
+
paddingBlock?: MaybeResponsive<
|
|
1137
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1138
|
+
>;
|
|
946
1139
|
/**
|
|
947
1140
|
* Adjust the block-start padding.
|
|
948
1141
|
*
|
|
@@ -950,7 +1143,7 @@ export interface PaddingProps {
|
|
|
950
1143
|
*
|
|
951
1144
|
* @default '' - meaning no override
|
|
952
1145
|
*/
|
|
953
|
-
paddingBlockStart?: PaddingKeyword | ''
|
|
1146
|
+
paddingBlockStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
954
1147
|
/**
|
|
955
1148
|
* Adjust the block-end padding.
|
|
956
1149
|
*
|
|
@@ -958,7 +1151,7 @@ export interface PaddingProps {
|
|
|
958
1151
|
*
|
|
959
1152
|
* @default '' - meaning no override
|
|
960
1153
|
*/
|
|
961
|
-
paddingBlockEnd?: PaddingKeyword | ''
|
|
1154
|
+
paddingBlockEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
962
1155
|
/**
|
|
963
1156
|
* Adjust the inline padding.
|
|
964
1157
|
*
|
|
@@ -968,7 +1161,9 @@ export interface PaddingProps {
|
|
|
968
1161
|
*
|
|
969
1162
|
* @default '' - meaning no override
|
|
970
1163
|
*/
|
|
971
|
-
paddingInline?:
|
|
1164
|
+
paddingInline?: MaybeResponsive<
|
|
1165
|
+
MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
|
|
1166
|
+
>;
|
|
972
1167
|
/**
|
|
973
1168
|
* Adjust the inline-start padding.
|
|
974
1169
|
*
|
|
@@ -976,7 +1171,7 @@ export interface PaddingProps {
|
|
|
976
1171
|
*
|
|
977
1172
|
* @default '' - meaning no override
|
|
978
1173
|
*/
|
|
979
|
-
paddingInlineStart?: PaddingKeyword | ''
|
|
1174
|
+
paddingInlineStart?: MaybeResponsive<PaddingKeyword | ''>;
|
|
980
1175
|
/**
|
|
981
1176
|
* Adjust the inline-end padding.
|
|
982
1177
|
*
|
|
@@ -984,7 +1179,7 @@ export interface PaddingProps {
|
|
|
984
1179
|
*
|
|
985
1180
|
* @default '' - meaning no override
|
|
986
1181
|
*/
|
|
987
|
-
paddingInlineEnd?: PaddingKeyword | ''
|
|
1182
|
+
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
988
1183
|
}
|
|
989
1184
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
990
1185
|
export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
@@ -997,7 +1192,7 @@ export interface SizingProps {
|
|
|
997
1192
|
*
|
|
998
1193
|
* @default 'auto'
|
|
999
1194
|
*/
|
|
1000
|
-
blockSize?: SizeUnitsOrAuto
|
|
1195
|
+
blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
1001
1196
|
/**
|
|
1002
1197
|
* Adjust the minimum block size.
|
|
1003
1198
|
*
|
|
@@ -1005,7 +1200,7 @@ export interface SizingProps {
|
|
|
1005
1200
|
*
|
|
1006
1201
|
* @default '0'
|
|
1007
1202
|
*/
|
|
1008
|
-
minBlockSize?: SizeUnits
|
|
1203
|
+
minBlockSize?: MaybeResponsive<SizeUnits>;
|
|
1009
1204
|
/**
|
|
1010
1205
|
* Adjust the maximum block size.
|
|
1011
1206
|
*
|
|
@@ -1013,7 +1208,7 @@ export interface SizingProps {
|
|
|
1013
1208
|
*
|
|
1014
1209
|
* @default 'none'
|
|
1015
1210
|
*/
|
|
1016
|
-
maxBlockSize?: SizeUnitsOrNone
|
|
1211
|
+
maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1017
1212
|
/**
|
|
1018
1213
|
* Adjust the inline size.
|
|
1019
1214
|
*
|
|
@@ -1021,7 +1216,7 @@ export interface SizingProps {
|
|
|
1021
1216
|
*
|
|
1022
1217
|
* @default 'auto'
|
|
1023
1218
|
*/
|
|
1024
|
-
inlineSize?: SizeUnitsOrAuto
|
|
1219
|
+
inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
|
|
1025
1220
|
/**
|
|
1026
1221
|
* Adjust the minimum inline size.
|
|
1027
1222
|
*
|
|
@@ -1029,7 +1224,7 @@ export interface SizingProps {
|
|
|
1029
1224
|
*
|
|
1030
1225
|
* @default '0'
|
|
1031
1226
|
*/
|
|
1032
|
-
minInlineSize?: SizeUnits
|
|
1227
|
+
minInlineSize?: MaybeResponsive<SizeUnits>;
|
|
1033
1228
|
/**
|
|
1034
1229
|
* Adjust the maximum inline size.
|
|
1035
1230
|
*
|
|
@@ -1037,7 +1232,7 @@ export interface SizingProps {
|
|
|
1037
1232
|
*
|
|
1038
1233
|
* @default 'none'
|
|
1039
1234
|
*/
|
|
1040
|
-
maxInlineSize?: SizeUnitsOrNone
|
|
1235
|
+
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1041
1236
|
}
|
|
1042
1237
|
export type BorderStyleKeyword =
|
|
1043
1238
|
| 'none'
|
|
@@ -1152,15 +1347,13 @@ export interface OverflowProps {
|
|
|
1152
1347
|
overflow?: 'hidden' | 'visible';
|
|
1153
1348
|
}
|
|
1154
1349
|
export interface BaseBoxProps
|
|
1155
|
-
extends
|
|
1156
|
-
AccessibilityVisibilityProps,
|
|
1350
|
+
extends AccessibilityVisibilityProps,
|
|
1157
1351
|
BackgroundProps,
|
|
1158
1352
|
DisplayProps,
|
|
1159
1353
|
SizingProps,
|
|
1160
1354
|
PaddingProps,
|
|
1161
1355
|
BorderProps,
|
|
1162
|
-
OverflowProps
|
|
1163
|
-
ContainerProps {
|
|
1356
|
+
OverflowProps {
|
|
1164
1357
|
/**
|
|
1165
1358
|
* The content of the Box.
|
|
1166
1359
|
*/
|
|
@@ -1176,20 +1369,10 @@ export interface BaseBoxProps
|
|
|
1176
1369
|
export interface BaseBoxPropsWithRole
|
|
1177
1370
|
extends BaseBoxProps,
|
|
1178
1371
|
AccessibilityRoleProps {}
|
|
1179
|
-
interface BoxProps$1 extends BaseBoxPropsWithRole {}
|
|
1180
|
-
export interface FocusEventProps {
|
|
1181
|
-
/**
|
|
1182
|
-
* Callback when the element loses focus.
|
|
1183
|
-
*/
|
|
1184
|
-
onBlur?: () => void;
|
|
1185
|
-
/**
|
|
1186
|
-
* Callback when the element receives focus.
|
|
1187
|
-
*/
|
|
1188
|
-
onFocus?: () => void;
|
|
1189
|
-
}
|
|
1372
|
+
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {}
|
|
1190
1373
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1191
1374
|
/**
|
|
1192
|
-
* The behavior of the
|
|
1375
|
+
* The behavior of the Button.
|
|
1193
1376
|
*
|
|
1194
1377
|
* - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
|
|
1195
1378
|
* - `button`: Used to indicate the component acts as a button, meaning it has no default action.
|
|
@@ -1201,12 +1384,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1201
1384
|
*/
|
|
1202
1385
|
type?: 'submit' | 'button' | 'reset';
|
|
1203
1386
|
/**
|
|
1204
|
-
* Callback when the
|
|
1387
|
+
* Callback when the Button is activated.
|
|
1205
1388
|
* This will be called before the action indicated by `type`.
|
|
1389
|
+
*
|
|
1390
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1206
1391
|
*/
|
|
1207
|
-
onClick?: () => void;
|
|
1392
|
+
onClick?: (event: Event) => void;
|
|
1208
1393
|
/**
|
|
1209
|
-
* Disables the
|
|
1394
|
+
* Disables the Button meaning it cannot be clicked or receive focus.
|
|
1210
1395
|
*
|
|
1211
1396
|
* @default false
|
|
1212
1397
|
*/
|
|
@@ -1214,7 +1399,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1214
1399
|
/**
|
|
1215
1400
|
* Replaces content with a loading indicator while a background action is being performed.
|
|
1216
1401
|
*
|
|
1217
|
-
* This also disables the
|
|
1402
|
+
* This also disables the Button.
|
|
1218
1403
|
*
|
|
1219
1404
|
* @default false
|
|
1220
1405
|
*/
|
|
@@ -1244,15 +1429,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1244
1429
|
target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | AnyString;
|
|
1245
1430
|
/**
|
|
1246
1431
|
* Causes the browser to treat the linked URL as a download with the string being the file name.
|
|
1247
|
-
* Download only works for same-origin URLs
|
|
1432
|
+
* Download only works for same-origin URLs or the `blob:` and `data:` schemes.
|
|
1248
1433
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
|
|
1249
1434
|
*/
|
|
1250
1435
|
download?: string;
|
|
1251
1436
|
/**
|
|
1252
1437
|
* Callback when the link is activated.
|
|
1253
1438
|
* This will be called before navigating to the location specified by `href`.
|
|
1439
|
+
*
|
|
1440
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
|
|
1254
1441
|
*/
|
|
1255
|
-
onClick?: () => void;
|
|
1442
|
+
onClick?: (event: Event) => void;
|
|
1256
1443
|
}
|
|
1257
1444
|
export interface InteractionProps {
|
|
1258
1445
|
/**
|
|
@@ -1279,6 +1466,10 @@ export interface InteractionProps {
|
|
|
1279
1466
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
1280
1467
|
*/
|
|
1281
1468
|
command?: '--auto' | '--show' | '--hide' | '--toggle' | '--copy';
|
|
1469
|
+
/**
|
|
1470
|
+
* ID of a component that should respond to interest (e.g. hover and focus) on this component.
|
|
1471
|
+
*/
|
|
1472
|
+
interestFor?: string;
|
|
1282
1473
|
}
|
|
1283
1474
|
export interface BaseClickableProps
|
|
1284
1475
|
extends ButtonBehaviorProps,
|
|
@@ -1287,7 +1478,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1287
1478
|
/**
|
|
1288
1479
|
* A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
|
|
1289
1480
|
*
|
|
1290
|
-
* Use this when using only an icon or the
|
|
1481
|
+
* Use this when using only an icon or the Button text is not enough context
|
|
1291
1482
|
* for users using assistive technologies.
|
|
1292
1483
|
*/
|
|
1293
1484
|
accessibilityLabel?: string;
|
|
@@ -1296,13 +1487,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1296
1487
|
*/
|
|
1297
1488
|
children?: ComponentChildren;
|
|
1298
1489
|
/**
|
|
1299
|
-
* The type of icon to be displayed in the
|
|
1490
|
+
* The type of icon to be displayed in the Button.
|
|
1300
1491
|
*
|
|
1301
1492
|
* @default ''
|
|
1302
1493
|
*/
|
|
1303
1494
|
icon?: IconType | AnyString;
|
|
1304
1495
|
/**
|
|
1305
|
-
* The displayed inline width of the
|
|
1496
|
+
* The displayed inline width of the Button.
|
|
1306
1497
|
*
|
|
1307
1498
|
* - `auto`: the size of the button depends on the surface and context.
|
|
1308
1499
|
* - `fill`: the button will takes up 100% of the available inline size.
|
|
@@ -1318,7 +1509,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1318
1509
|
*/
|
|
1319
1510
|
variant?: 'auto' | 'primary' | 'secondary' | 'tertiary';
|
|
1320
1511
|
/**
|
|
1321
|
-
* Sets the tone of the Button
|
|
1512
|
+
* Sets the tone of the Button based on the intention of the information being conveyed.
|
|
1322
1513
|
*
|
|
1323
1514
|
* @default 'auto'
|
|
1324
1515
|
*/
|
|
@@ -1330,6 +1521,23 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
|
|
|
1330
1521
|
*/
|
|
1331
1522
|
lang?: string;
|
|
1332
1523
|
}
|
|
1524
|
+
interface ButtonGroupProps$1 extends GlobalProps, ActionSlots {
|
|
1525
|
+
/**
|
|
1526
|
+
* The content of the ButtonGroup.
|
|
1527
|
+
*/
|
|
1528
|
+
children?: ComponentChildren;
|
|
1529
|
+
/**
|
|
1530
|
+
* The gap between elements.
|
|
1531
|
+
* @default 'base'
|
|
1532
|
+
*/
|
|
1533
|
+
gap?: 'base' | 'none';
|
|
1534
|
+
/**
|
|
1535
|
+
* Label for the button group that describes the content of the group for screen reader users to understand what's included.
|
|
1536
|
+
*
|
|
1537
|
+
* @implementation Used as a hidden heading or an aria-label on the wrapping element.
|
|
1538
|
+
*/
|
|
1539
|
+
accessibilityLabel?: string;
|
|
1540
|
+
}
|
|
1333
1541
|
export interface BaseInputProps {
|
|
1334
1542
|
/**
|
|
1335
1543
|
* An identifier for the field that is unique within the nearest containing form.
|
|
@@ -1345,12 +1553,16 @@ export interface BaseInputProps {
|
|
|
1345
1553
|
export interface InputProps extends BaseInputProps {
|
|
1346
1554
|
/**
|
|
1347
1555
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
1556
|
+
*
|
|
1557
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1348
1558
|
*/
|
|
1349
|
-
onChange?: (
|
|
1559
|
+
onChange?: (event: Event) => void;
|
|
1350
1560
|
/**
|
|
1351
1561
|
* Callback when the user makes any changes in the field.
|
|
1562
|
+
*
|
|
1563
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1352
1564
|
*/
|
|
1353
|
-
onInput?: (
|
|
1565
|
+
onInput?: (event: Event) => void;
|
|
1354
1566
|
/**
|
|
1355
1567
|
* The current value for the field. If omitted, the field will be empty.
|
|
1356
1568
|
*/
|
|
@@ -1364,13 +1576,17 @@ export interface InputProps extends BaseInputProps {
|
|
|
1364
1576
|
}
|
|
1365
1577
|
export interface MultipleInputProps extends BaseInputProps {
|
|
1366
1578
|
/**
|
|
1367
|
-
* Callback when the user has selected
|
|
1579
|
+
* Callback when the user has selected option(s).
|
|
1580
|
+
*
|
|
1581
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1368
1582
|
*/
|
|
1369
|
-
onChange?: (
|
|
1583
|
+
onChange?: (event: Event) => void;
|
|
1370
1584
|
/**
|
|
1371
|
-
* Callback when the user has selected
|
|
1585
|
+
* Callback when the user has selected option(s).
|
|
1586
|
+
*
|
|
1587
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1372
1588
|
*/
|
|
1373
|
-
onInput?: (
|
|
1589
|
+
onInput?: (event: Event) => void;
|
|
1374
1590
|
/**
|
|
1375
1591
|
* An array of the `value`s of the selected options.
|
|
1376
1592
|
*
|
|
@@ -1378,6 +1594,35 @@ export interface MultipleInputProps extends BaseInputProps {
|
|
|
1378
1594
|
*/
|
|
1379
1595
|
values?: string[];
|
|
1380
1596
|
}
|
|
1597
|
+
export interface FileInputProps extends BaseInputProps {
|
|
1598
|
+
/**
|
|
1599
|
+
* Callback when the user has **finished selecting** a file or files.
|
|
1600
|
+
*/
|
|
1601
|
+
onChange?: (event: Event) => void;
|
|
1602
|
+
/**
|
|
1603
|
+
* Callback when the user makes any changes in the file selection.
|
|
1604
|
+
*/
|
|
1605
|
+
onInput?: (event: Event) => void;
|
|
1606
|
+
/**
|
|
1607
|
+
* A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
|
|
1608
|
+
* When the user selected multiple files, the value represents the first file in the list of files they selected.
|
|
1609
|
+
* The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
|
|
1610
|
+
*
|
|
1611
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
|
|
1612
|
+
*
|
|
1613
|
+
* @default ''
|
|
1614
|
+
*/
|
|
1615
|
+
value?: string;
|
|
1616
|
+
/**
|
|
1617
|
+
* An array of File objects representing the files currently selected by the user.
|
|
1618
|
+
*
|
|
1619
|
+
* This property is read-only and cannot be directly modified.
|
|
1620
|
+
* To clear the selected files, set the `value` prop to an empty string or null.
|
|
1621
|
+
*
|
|
1622
|
+
* @default []
|
|
1623
|
+
*/
|
|
1624
|
+
files?: ReadonlyArray<File>;
|
|
1625
|
+
}
|
|
1381
1626
|
export interface FieldErrorProps {
|
|
1382
1627
|
/**
|
|
1383
1628
|
* Indicate an error to the user. The field will be given a specific stylistic treatment
|
|
@@ -1586,12 +1831,16 @@ export interface BaseCheckableProps
|
|
|
1586
1831
|
name?: string;
|
|
1587
1832
|
/**
|
|
1588
1833
|
* A callback that is run whenever the control is changed.
|
|
1834
|
+
*
|
|
1835
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
1589
1836
|
*/
|
|
1590
|
-
onChange?: (
|
|
1837
|
+
onChange?: (event: Event) => void;
|
|
1591
1838
|
/**
|
|
1592
1839
|
* A callback that is run whenever the control is changed.
|
|
1840
|
+
*
|
|
1841
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
1593
1842
|
*/
|
|
1594
|
-
onInput?: (
|
|
1843
|
+
onInput?: (event: Event) => void;
|
|
1595
1844
|
}
|
|
1596
1845
|
interface CheckboxProps$1
|
|
1597
1846
|
extends GlobalProps,
|
|
@@ -1631,11 +1880,42 @@ interface CheckboxProps$1
|
|
|
1631
1880
|
*/
|
|
1632
1881
|
required?: boolean;
|
|
1633
1882
|
}
|
|
1883
|
+
export interface ChipProps$1 extends GlobalProps {
|
|
1884
|
+
/**
|
|
1885
|
+
* The content of the chip.
|
|
1886
|
+
*/
|
|
1887
|
+
children?: ComponentChildren;
|
|
1888
|
+
/**
|
|
1889
|
+
* The graphic to display inside of the chip.
|
|
1890
|
+
*
|
|
1891
|
+
* @implementation Only `s-icon` is supported.
|
|
1892
|
+
*/
|
|
1893
|
+
graphic?: ComponentChildren;
|
|
1894
|
+
/**
|
|
1895
|
+
* A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers.
|
|
1896
|
+
*/
|
|
1897
|
+
accessibilityLabel?: string;
|
|
1898
|
+
/**
|
|
1899
|
+
* Modify the color to be more or less intense.
|
|
1900
|
+
*
|
|
1901
|
+
* @default 'base'
|
|
1902
|
+
*/
|
|
1903
|
+
color?: ColorKeyword;
|
|
1904
|
+
}
|
|
1905
|
+
interface ChipProps$2 extends ChipProps$1, GlobalProps {}
|
|
1634
1906
|
interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
1635
1907
|
/**
|
|
1636
1908
|
* Content to use as the choice label.
|
|
1909
|
+
*
|
|
1910
|
+
* @implementation (StringChildren) The label is produced by extracting and
|
|
1911
|
+
* concatenating the text nodes from the provided content; any markup or
|
|
1912
|
+
* element structure is ignored.
|
|
1913
|
+
*
|
|
1914
|
+
* @implementation (ComponentChildren) Behaves as a slot: any elements passed
|
|
1915
|
+
* are rendered as the label content (subject to surface constraints); there
|
|
1916
|
+
* is no coercion to a string.
|
|
1637
1917
|
*/
|
|
1638
|
-
|
|
1918
|
+
children?: ComponentChildren | StringChildren;
|
|
1639
1919
|
/**
|
|
1640
1920
|
* Additional text to provide context or guidance for the input.
|
|
1641
1921
|
*
|
|
@@ -1644,13 +1924,23 @@ interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
|
|
|
1644
1924
|
*
|
|
1645
1925
|
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
1646
1926
|
*/
|
|
1647
|
-
details?:
|
|
1927
|
+
details?: ComponentChildren;
|
|
1648
1928
|
/**
|
|
1649
1929
|
* Set to `true` to associate a choice with the error passed to `ChoiceList`
|
|
1650
1930
|
*
|
|
1651
1931
|
* @default false
|
|
1652
1932
|
*/
|
|
1653
1933
|
error?: boolean;
|
|
1934
|
+
/**
|
|
1935
|
+
* Secondary content for a choice.
|
|
1936
|
+
*/
|
|
1937
|
+
secondaryContent?: ComponentChildren;
|
|
1938
|
+
/**
|
|
1939
|
+
* Content to display when the option is selected.
|
|
1940
|
+
*
|
|
1941
|
+
* This can be used to provide additional information or options related to the choice.
|
|
1942
|
+
*/
|
|
1943
|
+
selectedContent?: ComponentChildren;
|
|
1654
1944
|
}
|
|
1655
1945
|
interface ChoiceListProps$1
|
|
1656
1946
|
extends GlobalProps,
|
|
@@ -1677,8 +1967,26 @@ interface ChoiceListProps$1
|
|
|
1677
1967
|
* @default false
|
|
1678
1968
|
*/
|
|
1679
1969
|
disabled?: MultipleInputProps['disabled'];
|
|
1970
|
+
/**
|
|
1971
|
+
* The variant of the choice grid.
|
|
1972
|
+
*
|
|
1973
|
+
* - `auto`: The variant is determined by the context.
|
|
1974
|
+
* - `list`: The choices are displayed in a list.
|
|
1975
|
+
* - `inline`: The choices are displayed on the inline axis.
|
|
1976
|
+
* - `block`: The choices are displayed on the block axis.
|
|
1977
|
+
* - `grid`: The choices are displayed in a grid.
|
|
1978
|
+
*
|
|
1979
|
+
* @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
|
|
1980
|
+
* discretion of each surface.
|
|
1981
|
+
*
|
|
1982
|
+
* @default 'auto'
|
|
1983
|
+
*/
|
|
1984
|
+
variant?: 'auto' | 'list' | 'inline' | 'block' | 'grid';
|
|
1680
1985
|
}
|
|
1681
|
-
interface ClickableProps$1
|
|
1986
|
+
interface ClickableProps$1
|
|
1987
|
+
extends GlobalProps,
|
|
1988
|
+
BaseBoxProps,
|
|
1989
|
+
BaseClickableProps {
|
|
1682
1990
|
/**
|
|
1683
1991
|
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1684
1992
|
*
|
|
@@ -1706,158 +2014,95 @@ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
|
|
|
1706
2014
|
*/
|
|
1707
2015
|
lang?: string;
|
|
1708
2016
|
}
|
|
1709
|
-
interface
|
|
2017
|
+
interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
|
|
1710
2018
|
/**
|
|
1711
|
-
*
|
|
1712
|
-
*
|
|
1713
|
-
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
1714
|
-
*
|
|
1715
|
-
* Defaults to the current month in the user's locale.
|
|
2019
|
+
* Callback when the chip is clicked.
|
|
1716
2020
|
*/
|
|
1717
|
-
|
|
2021
|
+
onClick?: (event: Event) => void;
|
|
1718
2022
|
/**
|
|
1719
|
-
*
|
|
1720
|
-
*
|
|
1721
|
-
* `onViewChange` is called when this value changes.
|
|
2023
|
+
* The URL to link to.
|
|
1722
2024
|
*
|
|
1723
|
-
*
|
|
2025
|
+
* - If set, it will navigate to the location specified by `href` after executing the `click` event.
|
|
1724
2026
|
*/
|
|
1725
|
-
|
|
2027
|
+
href?: string;
|
|
1726
2028
|
/**
|
|
1727
|
-
*
|
|
2029
|
+
* Whether the chip is removable.
|
|
1728
2030
|
*
|
|
1729
|
-
* @
|
|
2031
|
+
* @default false
|
|
1730
2032
|
*/
|
|
1731
|
-
|
|
2033
|
+
removable?: boolean;
|
|
1732
2034
|
/**
|
|
1733
|
-
*
|
|
1734
|
-
*
|
|
1735
|
-
* - `single` allows selecting a single date.
|
|
1736
|
-
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
1737
|
-
* - `range` allows selecting a single range of dates.
|
|
1738
|
-
*
|
|
1739
|
-
* @default "single"
|
|
2035
|
+
* Callback when the chip is removed.
|
|
1740
2036
|
*/
|
|
1741
|
-
|
|
2037
|
+
onRemove?: (event: Event) => void;
|
|
1742
2038
|
/**
|
|
1743
|
-
*
|
|
1744
|
-
*
|
|
1745
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2039
|
+
* Determines whether the chip is hidden.
|
|
1746
2040
|
*
|
|
1747
|
-
*
|
|
1748
|
-
*
|
|
1749
|
-
*
|
|
1750
|
-
* - Dates in `YYYY-MM` format allow a whole month.
|
|
1751
|
-
* - Dates in `YYYY` format allow a whole year.
|
|
1752
|
-
* - Ranges are expressed as `start--end`.
|
|
1753
|
-
* - Ranges are inclusive.
|
|
1754
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1755
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1756
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1757
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1758
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1759
|
-
* - Whitespace is allowed either side of `--`.
|
|
2041
|
+
* If this property is being set on each framework render (as in 'controlled' usage),
|
|
2042
|
+
* and the chip is `removable`,
|
|
2043
|
+
* ensure you update app state for this property when the `remove` event fires.
|
|
1760
2044
|
*
|
|
1761
|
-
*
|
|
2045
|
+
* If the chip is not `removable`, it can still be hidden by setting this property.
|
|
1762
2046
|
*
|
|
1763
|
-
* @
|
|
1764
|
-
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
1765
|
-
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
1766
|
-
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2047
|
+
* @default false
|
|
1767
2048
|
*/
|
|
1768
|
-
|
|
2049
|
+
hidden?: boolean;
|
|
1769
2050
|
/**
|
|
1770
|
-
*
|
|
1771
|
-
*
|
|
1772
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
1773
|
-
*
|
|
1774
|
-
* The default `''` has no effect on `allowDates`.
|
|
1775
|
-
*
|
|
1776
|
-
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
1777
|
-
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
1778
|
-
* - Dates in `YYYY` format disallow a whole year.
|
|
1779
|
-
* - Ranges are expressed as `start--end`.
|
|
1780
|
-
* - Ranges are inclusive.
|
|
1781
|
-
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
1782
|
-
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
1783
|
-
* So `2024--` is equivalent to `2024-01-01--`.
|
|
1784
|
-
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
1785
|
-
* So `--2024` is equivalent to `--2024-12-31`.
|
|
1786
|
-
* - Whitespace is allowed either side of `--`.
|
|
2051
|
+
* Event handler when the chip has fully hidden.
|
|
1787
2052
|
*
|
|
1788
|
-
*
|
|
2053
|
+
* The `hidden` property will be `true` when this event fires.
|
|
1789
2054
|
*
|
|
1790
|
-
* @
|
|
1791
|
-
*
|
|
1792
|
-
*
|
|
2055
|
+
* @implementation If implementations animate the hiding of the chip,
|
|
2056
|
+
* this event must fire after the chip has fully hidden.
|
|
2057
|
+
* We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
|
|
1793
2058
|
*/
|
|
1794
|
-
|
|
2059
|
+
onAfterHide?: (event: Event) => void;
|
|
1795
2060
|
/**
|
|
1796
|
-
*
|
|
1797
|
-
*
|
|
1798
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2061
|
+
* Disables the chip, disallowing any interaction.
|
|
1799
2062
|
*
|
|
1800
|
-
*
|
|
1801
|
-
*
|
|
1802
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
1803
|
-
*
|
|
1804
|
-
* @default ""
|
|
1805
|
-
*
|
|
1806
|
-
* @example
|
|
1807
|
-
* 'saturday, sunday' // allow only weekends within the result of `allowDates` and `disallowDates`.
|
|
2063
|
+
* @default false
|
|
1808
2064
|
*/
|
|
1809
|
-
|
|
2065
|
+
disabled?: boolean;
|
|
2066
|
+
}
|
|
2067
|
+
interface ColorPickerProps$1 extends GlobalProps, InputProps {
|
|
1810
2068
|
/**
|
|
1811
|
-
*
|
|
2069
|
+
* Allow user to select an alpha value.
|
|
1812
2070
|
*
|
|
1813
|
-
*
|
|
1814
|
-
*
|
|
1815
|
-
* The default `''` has no effect on `allowDays`.
|
|
1816
|
-
*
|
|
1817
|
-
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
1818
|
-
*
|
|
1819
|
-
* @default ""
|
|
1820
|
-
*
|
|
1821
|
-
* @example
|
|
1822
|
-
* 'saturday, sunday' // disallow weekends within the result of `allowDates` and `disallowDates`.
|
|
2071
|
+
* @default false
|
|
1823
2072
|
*/
|
|
1824
|
-
|
|
2073
|
+
alpha?: boolean;
|
|
1825
2074
|
/**
|
|
1826
|
-
*
|
|
2075
|
+
* This callback will emit the value in hex.
|
|
1827
2076
|
*
|
|
1828
|
-
*
|
|
1829
|
-
*
|
|
1830
|
-
* If the provided value is invalid, no date is selected.
|
|
1831
|
-
*
|
|
1832
|
-
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
1833
|
-
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
1834
|
-
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
1835
|
-
*
|
|
1836
|
-
* @default ""
|
|
2077
|
+
* If the `alpha` prop is `true`, `onChange` will emit an 8-value hex (#RRGGBBAA).
|
|
2078
|
+
* If the `alpha` prop is `false`, `onChange` will emit a 6-value hex (#RRGGBB).
|
|
1837
2079
|
*/
|
|
1838
|
-
|
|
2080
|
+
onChange?: InputProps['onChange'];
|
|
1839
2081
|
/**
|
|
1840
|
-
*
|
|
1841
|
-
*
|
|
1842
|
-
* The default means no date is selected.
|
|
2082
|
+
* This callback will emit the value in hex.
|
|
1843
2083
|
*
|
|
1844
|
-
* If the
|
|
1845
|
-
*
|
|
1846
|
-
|
|
2084
|
+
* If the `alpha` prop is `true`, `onInput` will emit an 8-value hex (#RRGGBBAA).
|
|
2085
|
+
* If the `alpha` prop is `false`, `onInput` will emit a 6-value hex (#RRGGBB).
|
|
2086
|
+
*/
|
|
2087
|
+
onInput?: InputProps['onChange'];
|
|
2088
|
+
/**
|
|
2089
|
+
* The currently selected color.
|
|
1847
2090
|
*
|
|
1848
|
-
*
|
|
1849
|
-
* -
|
|
1850
|
-
* -
|
|
2091
|
+
* Supported formats include:
|
|
2092
|
+
* - HSL @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
|
|
2093
|
+
* - HSLA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsla
|
|
2094
|
+
* - RGB @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2095
|
+
* - RGBA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
2096
|
+
* - Hex (3-value, 4-value, 6-value, 8-value) @see https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color
|
|
1851
2097
|
*
|
|
1852
|
-
*
|
|
2098
|
+
* For RGB and RGBA, both the legacy syntax (comma-separated) and modern syntax (space-separate) are supported.
|
|
2099
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
|
|
1853
2100
|
*
|
|
1854
|
-
*
|
|
1855
|
-
* - `onChange` - Invoked when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
1856
|
-
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2101
|
+
* If the value is invalid, the component will select rgb(0, 0, 0).
|
|
1857
2102
|
*
|
|
1858
|
-
*
|
|
2103
|
+
* Note that the `onChange` handler will emit the value in hex.
|
|
1859
2104
|
*/
|
|
1860
|
-
value?:
|
|
2105
|
+
value?: InputProps['value'];
|
|
1861
2106
|
}
|
|
1862
2107
|
export interface AutocompleteProps<
|
|
1863
2108
|
AutocompleteField extends AnyAutocompleteField,
|
|
@@ -2004,15 +2249,217 @@ export type TextAutocompleteField = ExtractStrict<
|
|
|
2004
2249
|
| 'cc-family-name'
|
|
2005
2250
|
| 'cc-type'
|
|
2006
2251
|
>;
|
|
2007
|
-
interface
|
|
2252
|
+
interface ColorFieldProps$1
|
|
2253
|
+
extends GlobalProps,
|
|
2254
|
+
BaseTextFieldProps,
|
|
2255
|
+
Pick<ColorPickerProps$1, 'alpha' | 'value' | 'defaultValue'> {
|
|
2256
|
+
autocomplete?: Extract<
|
|
2257
|
+
AutocompleteProps<never>['autocomplete'],
|
|
2258
|
+
'on' | 'off'
|
|
2259
|
+
>;
|
|
2260
|
+
}
|
|
2261
|
+
interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
2262
|
+
/**
|
|
2263
|
+
* Default month to display in `YYYY-MM` format.
|
|
2264
|
+
*
|
|
2265
|
+
* This value is used until `view` is set, either directly or as a result of user interaction.
|
|
2266
|
+
*
|
|
2267
|
+
* Defaults to the current month in the user's locale.
|
|
2268
|
+
*/
|
|
2269
|
+
defaultView?: string;
|
|
2270
|
+
/**
|
|
2271
|
+
* Displayed month in `YYYY-MM` format.
|
|
2272
|
+
*
|
|
2273
|
+
* `onViewChange` is called when this value changes.
|
|
2274
|
+
*
|
|
2275
|
+
* Defaults to `defaultView`.
|
|
2276
|
+
*/
|
|
2277
|
+
view?: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* Called whenever the month to display changes.
|
|
2280
|
+
*
|
|
2281
|
+
* @param view The new month to display in `YYYY-MM` format.
|
|
2282
|
+
*/
|
|
2283
|
+
onViewChange?: (view: string) => void;
|
|
2284
|
+
/**
|
|
2285
|
+
* The type of selection the date picker allows.
|
|
2286
|
+
*
|
|
2287
|
+
* - `single` allows selecting a single date.
|
|
2288
|
+
* - `multiple` allows selecting multiple non-contiguous dates.
|
|
2289
|
+
* - `range` allows selecting a single range of dates.
|
|
2290
|
+
*
|
|
2291
|
+
* @default "single"
|
|
2292
|
+
*/
|
|
2293
|
+
type?: 'single' | 'multiple' | 'range';
|
|
2294
|
+
/**
|
|
2295
|
+
* Dates that can be selected.
|
|
2296
|
+
*
|
|
2297
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2298
|
+
*
|
|
2299
|
+
* The default `''` allows all dates.
|
|
2300
|
+
*
|
|
2301
|
+
* - Dates in `YYYY-MM-DD` format allow a single date.
|
|
2302
|
+
* - Dates in `YYYY-MM` format allow a whole month.
|
|
2303
|
+
* - Dates in `YYYY` format allow a whole year.
|
|
2304
|
+
* - Ranges are expressed as `start--end`.
|
|
2305
|
+
* - Ranges are inclusive.
|
|
2306
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2307
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2308
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2309
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2310
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2311
|
+
* - Whitespace is allowed either side of `--`.
|
|
2312
|
+
*
|
|
2313
|
+
* @default ""
|
|
2314
|
+
*
|
|
2315
|
+
* @example
|
|
2316
|
+
* `2024-02--2025` // allow any date from February 2024 to the end of 2025
|
|
2317
|
+
* `2024-02--` // allow any date from February 2024 to the end of the month
|
|
2318
|
+
* `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
|
|
2319
|
+
*/
|
|
2320
|
+
allow?: string;
|
|
2008
2321
|
/**
|
|
2009
|
-
*
|
|
2322
|
+
* Dates that cannot be selected. These subtract from `allow`.
|
|
2323
|
+
*
|
|
2324
|
+
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2010
2325
|
*
|
|
2011
|
-
*
|
|
2012
|
-
* In a left-to-right or right-to-left writing mode, this would typically be a horizontal line.
|
|
2326
|
+
* The default `''` has no effect on `allow`.
|
|
2013
2327
|
*
|
|
2014
|
-
*
|
|
2015
|
-
*
|
|
2328
|
+
* - Dates in `YYYY-MM-DD` format disallow a single date.
|
|
2329
|
+
* - Dates in `YYYY-MM` format disallow a whole month.
|
|
2330
|
+
* - Dates in `YYYY` format disallow a whole year.
|
|
2331
|
+
* - Ranges are expressed as `start--end`.
|
|
2332
|
+
* - Ranges are inclusive.
|
|
2333
|
+
* - If either `start` or `end` is omitted, the range is unbounded in that direction.
|
|
2334
|
+
* - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
|
|
2335
|
+
* So `2024--` is equivalent to `2024-01-01--`.
|
|
2336
|
+
* - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
|
|
2337
|
+
* So `--2024` is equivalent to `--2024-12-31`.
|
|
2338
|
+
* - Whitespace is allowed either side of `--`.
|
|
2339
|
+
*
|
|
2340
|
+
* @default ""
|
|
2341
|
+
*
|
|
2342
|
+
* @example
|
|
2343
|
+
* `--2024-02` // disallow any date before February 2024
|
|
2344
|
+
* `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
|
|
2345
|
+
*/
|
|
2346
|
+
disallow?: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
|
|
2349
|
+
*
|
|
2350
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2351
|
+
*
|
|
2352
|
+
* The default `''` has no effect on the result of `allow` and `disallow`.
|
|
2353
|
+
*
|
|
2354
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2355
|
+
*
|
|
2356
|
+
* @default ""
|
|
2357
|
+
*
|
|
2358
|
+
* @example
|
|
2359
|
+
* 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
|
|
2360
|
+
*/
|
|
2361
|
+
allowDays?: string;
|
|
2362
|
+
/**
|
|
2363
|
+
* Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
|
|
2364
|
+
*
|
|
2365
|
+
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2366
|
+
*
|
|
2367
|
+
* The default `''` has no effect on `allowDays`.
|
|
2368
|
+
*
|
|
2369
|
+
* Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
|
|
2370
|
+
*
|
|
2371
|
+
* @default ""
|
|
2372
|
+
*
|
|
2373
|
+
* @example
|
|
2374
|
+
* 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
|
|
2375
|
+
*/
|
|
2376
|
+
disallowDays?: string;
|
|
2377
|
+
/**
|
|
2378
|
+
* Default selected value.
|
|
2379
|
+
*
|
|
2380
|
+
* The default means no date is selected.
|
|
2381
|
+
*
|
|
2382
|
+
* If the provided value is invalid, no date is selected.
|
|
2383
|
+
*
|
|
2384
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2385
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2386
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2387
|
+
*
|
|
2388
|
+
* @default ""
|
|
2389
|
+
*/
|
|
2390
|
+
defaultValue?: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* Current selected value.
|
|
2393
|
+
*
|
|
2394
|
+
* The default means no date is selected.
|
|
2395
|
+
*
|
|
2396
|
+
* If the provided value is invalid, no date is selected.
|
|
2397
|
+
*
|
|
2398
|
+
* Otherwise:
|
|
2399
|
+
*
|
|
2400
|
+
* - If `type="single"`, this is a date in `YYYY-MM-DD` format.
|
|
2401
|
+
* - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
|
|
2402
|
+
* - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
|
|
2403
|
+
*
|
|
2404
|
+
* @default ""
|
|
2405
|
+
*/
|
|
2406
|
+
value?: string;
|
|
2407
|
+
/**
|
|
2408
|
+
* Callback when any date is selected. Will fire before `onChange`.
|
|
2409
|
+
*/
|
|
2410
|
+
onInput?: (event: Event) => void;
|
|
2411
|
+
/**
|
|
2412
|
+
* Callback when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
|
|
2413
|
+
* For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
|
|
2414
|
+
*/
|
|
2415
|
+
onChange?: (event: Event) => void;
|
|
2416
|
+
}
|
|
2417
|
+
interface DateFieldProps$1
|
|
2418
|
+
extends GlobalProps,
|
|
2419
|
+
BaseTextFieldProps,
|
|
2420
|
+
Pick<
|
|
2421
|
+
DatePickerProps$1,
|
|
2422
|
+
| 'view'
|
|
2423
|
+
| 'defaultView'
|
|
2424
|
+
| 'value'
|
|
2425
|
+
| 'defaultValue'
|
|
2426
|
+
| 'allow'
|
|
2427
|
+
| 'disallow'
|
|
2428
|
+
| 'allowDays'
|
|
2429
|
+
| 'disallowDays'
|
|
2430
|
+
| 'onViewChange'
|
|
2431
|
+
>,
|
|
2432
|
+
AutocompleteProps<DateAutocompleteField> {
|
|
2433
|
+
/**
|
|
2434
|
+
* Callback when the field has an invalid date.
|
|
2435
|
+
* This callback will be called, if the date typed is invalid or disabled.
|
|
2436
|
+
*
|
|
2437
|
+
* Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
|
|
2438
|
+
* - 2021-02-31: February doesn’t have 31 days
|
|
2439
|
+
* - 2021-02-00: The day can’t be 00
|
|
2440
|
+
*
|
|
2441
|
+
* Disallowed dates are considered invalid.
|
|
2442
|
+
*
|
|
2443
|
+
* It’s important to note that this callback will be called only when the user **finishes editing** the date,
|
|
2444
|
+
* and it’s called right after the `onChange` callback.
|
|
2445
|
+
* The field is **not** validated on every change to the input. Once the buyer has signalled that
|
|
2446
|
+
* 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.
|
|
2447
|
+
*/
|
|
2448
|
+
onInvalid?: (event: Event) => void;
|
|
2449
|
+
}
|
|
2450
|
+
export type DateAutocompleteField = ExtractStrict<
|
|
2451
|
+
AnyAutocompleteField,
|
|
2452
|
+
| 'bday'
|
|
2453
|
+
| 'bday-day'
|
|
2454
|
+
| 'bday-month'
|
|
2455
|
+
| 'bday-year'
|
|
2456
|
+
| 'cc-expiry'
|
|
2457
|
+
| 'cc-expiry-month'
|
|
2458
|
+
| 'cc-expiry-year'
|
|
2459
|
+
>;
|
|
2460
|
+
interface DividerProps$1 extends GlobalProps {
|
|
2461
|
+
/**
|
|
2462
|
+
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
2016
2463
|
*
|
|
2017
2464
|
* @default 'inline'
|
|
2018
2465
|
*/
|
|
@@ -2022,7 +2469,38 @@ interface DividerProps$1 extends GlobalProps {
|
|
|
2022
2469
|
*
|
|
2023
2470
|
* @default 'base'
|
|
2024
2471
|
*/
|
|
2025
|
-
color?: ColorKeyword;
|
|
2472
|
+
color?: ColorKeyword;
|
|
2473
|
+
}
|
|
2474
|
+
interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
|
|
2475
|
+
/**
|
|
2476
|
+
* A string representing the types of files that are accepted by the drop zone.
|
|
2477
|
+
* This string is a comma-separated list of unique file type specifiers which can be one of the following:
|
|
2478
|
+
* - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
|
|
2479
|
+
* - A valid MIME type string with no extensions
|
|
2480
|
+
*
|
|
2481
|
+
* If omitted, all file types are accepted.
|
|
2482
|
+
*
|
|
2483
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
|
|
2484
|
+
* @default ''
|
|
2485
|
+
*/
|
|
2486
|
+
accept?: string;
|
|
2487
|
+
/**
|
|
2488
|
+
* A label that describes the purpose or contents of the item. When set,
|
|
2489
|
+
* it will be announced to buyers using assistive technologies and will
|
|
2490
|
+
* provide them with more context.
|
|
2491
|
+
*/
|
|
2492
|
+
accessibilityLabel?: string;
|
|
2493
|
+
/**
|
|
2494
|
+
* Whether multiple files can be selected or dropped at once.
|
|
2495
|
+
*
|
|
2496
|
+
* @default false
|
|
2497
|
+
*/
|
|
2498
|
+
multiple?: boolean;
|
|
2499
|
+
/**
|
|
2500
|
+
* Callback fired when rejected files are dropped.
|
|
2501
|
+
* Files are rejected based on the `accept` prop and are not added to `files`.
|
|
2502
|
+
*/
|
|
2503
|
+
onDropRejected?: (event: Event) => void;
|
|
2026
2504
|
}
|
|
2027
2505
|
interface EmailFieldProps$1
|
|
2028
2506
|
extends GlobalProps,
|
|
@@ -2033,6 +2511,68 @@ export type EmailAutocompleteField = ExtractStrict<
|
|
|
2033
2511
|
AnyAutocompleteField,
|
|
2034
2512
|
'email' | `${AutocompleteAddressGroup} email`
|
|
2035
2513
|
>;
|
|
2514
|
+
interface FormProps$1 extends GlobalProps {
|
|
2515
|
+
/**
|
|
2516
|
+
* The content of the form.
|
|
2517
|
+
*/
|
|
2518
|
+
children?: ComponentChildren;
|
|
2519
|
+
/**
|
|
2520
|
+
* Whether the form is able to be submitted.
|
|
2521
|
+
*
|
|
2522
|
+
* When set to `true`, this will also disable the implicit submit behavior of the form.
|
|
2523
|
+
*
|
|
2524
|
+
* @default false
|
|
2525
|
+
*
|
|
2526
|
+
* @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
|
|
2527
|
+
* @private
|
|
2528
|
+
*/
|
|
2529
|
+
disabled?: boolean;
|
|
2530
|
+
/**
|
|
2531
|
+
* A callback that is run when the form is submitted.
|
|
2532
|
+
*
|
|
2533
|
+
* Use `event.waitUntil` to signal how long it takes to save the data,
|
|
2534
|
+
* and whether it was successful or not.
|
|
2535
|
+
*/
|
|
2536
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2537
|
+
/**
|
|
2538
|
+
* A callback that is run when the form is reset.
|
|
2539
|
+
*/
|
|
2540
|
+
onReset?: (event: Event) => void;
|
|
2541
|
+
}
|
|
2542
|
+
interface FunctionSettingsProps$1 extends GlobalProps, FormProps$1 {
|
|
2543
|
+
/**
|
|
2544
|
+
* An optional callback function that will be run by the admin when the user
|
|
2545
|
+
* commits their changes in the admin-rendered part of the function settings
|
|
2546
|
+
* experience. If `event.waitUntil` is called with a promise, the admin will wait for the
|
|
2547
|
+
* promise to resolve before committing any changes to Shopify’s servers. If
|
|
2548
|
+
* the promise rejects, the admin will abort the changes and display an error,
|
|
2549
|
+
* using the `message` property of the error you reject with.
|
|
2550
|
+
*/
|
|
2551
|
+
onSubmit?: (event: ExtendableEvent) => void;
|
|
2552
|
+
/**
|
|
2553
|
+
* An optional callback function that will be run by the admin when
|
|
2554
|
+
* committing the changes to Shopify’s servers fails. The error event you receive includes
|
|
2555
|
+
* an `error` property that is an `AggregateError` object. This object includes
|
|
2556
|
+
* an array of errors that were caused by data your extension provided.
|
|
2557
|
+
* Network errors and user errors that are out of your control will not be reported here.
|
|
2558
|
+
*
|
|
2559
|
+
* In the `onError` callback, you should update your extension’s UI to
|
|
2560
|
+
* highlight the fields that caused the errors, and display the error messages
|
|
2561
|
+
* to the user.
|
|
2562
|
+
*/
|
|
2563
|
+
onError?: (event: ArgregatedErrorEvent<FunctionSettingsError>) => void;
|
|
2564
|
+
}
|
|
2565
|
+
export interface FunctionSettingsError extends Error {
|
|
2566
|
+
/**
|
|
2567
|
+
* A unique identifier describing the “class” of error. These will match
|
|
2568
|
+
* the GraphQL error codes as closely as possible. For example the enums
|
|
2569
|
+
* returned by the `metafieldsSet` mutation
|
|
2570
|
+
*
|
|
2571
|
+
* @see https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldsSetUserErrorCode
|
|
2572
|
+
*/
|
|
2573
|
+
code: string;
|
|
2574
|
+
name: 'FunctionSettingsError';
|
|
2575
|
+
}
|
|
2036
2576
|
export type SpacingKeyword = SizeKeyword | 'none';
|
|
2037
2577
|
export interface GapProps {
|
|
2038
2578
|
/**
|
|
@@ -2043,7 +2583,7 @@ export interface GapProps {
|
|
|
2043
2583
|
*
|
|
2044
2584
|
* @default 'none'
|
|
2045
2585
|
*/
|
|
2046
|
-
gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword
|
|
2586
|
+
gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
|
|
2047
2587
|
/**
|
|
2048
2588
|
* Adjust spacing between elements in the block axis.
|
|
2049
2589
|
*
|
|
@@ -2051,7 +2591,7 @@ export interface GapProps {
|
|
|
2051
2591
|
*
|
|
2052
2592
|
* @default '' - meaning no override
|
|
2053
2593
|
*/
|
|
2054
|
-
rowGap?: SpacingKeyword | ''
|
|
2594
|
+
rowGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2055
2595
|
/**
|
|
2056
2596
|
* Adjust spacing between elements in the inline axis.
|
|
2057
2597
|
*
|
|
@@ -2059,7 +2599,7 @@ export interface GapProps {
|
|
|
2059
2599
|
*
|
|
2060
2600
|
* @default '' - meaning no override
|
|
2061
2601
|
*/
|
|
2062
|
-
columnGap?: SpacingKeyword | ''
|
|
2602
|
+
columnGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2063
2603
|
}
|
|
2064
2604
|
export type BaselinePosition = 'baseline' | 'first baseline' | 'last baseline';
|
|
2065
2605
|
export type ContentDistribution =
|
|
@@ -2114,21 +2654,21 @@ export type AlignContentKeyword =
|
|
|
2114
2654
|
| ContentDistribution
|
|
2115
2655
|
| OverflowPosition
|
|
2116
2656
|
| ContentPosition;
|
|
2117
|
-
interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
2657
|
+
interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2118
2658
|
/**
|
|
2119
2659
|
Define columns and specify their size.
|
|
2120
2660
|
|
|
2121
2661
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
|
|
2122
2662
|
@default 'none'
|
|
2123
2663
|
*/
|
|
2124
|
-
gridTemplateColumns?: string
|
|
2664
|
+
gridTemplateColumns?: MaybeResponsive<string>;
|
|
2125
2665
|
/**
|
|
2126
2666
|
Define rows and specify their size.
|
|
2127
2667
|
|
|
2128
2668
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
|
|
2129
2669
|
@default 'none'
|
|
2130
2670
|
*/
|
|
2131
|
-
gridTemplateRows?: string
|
|
2671
|
+
gridTemplateRows?: MaybeResponsive<string>;
|
|
2132
2672
|
/**
|
|
2133
2673
|
Aligns the grid items along the inline (row) axis.
|
|
2134
2674
|
|
|
@@ -2137,7 +2677,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2137
2677
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
|
|
2138
2678
|
@default '' - meaning no override
|
|
2139
2679
|
*/
|
|
2140
|
-
justifyItems?: JustifyItemsKeyword | ''
|
|
2680
|
+
justifyItems?: MaybeResponsive<JustifyItemsKeyword | ''>;
|
|
2141
2681
|
/**
|
|
2142
2682
|
Aligns the grid items along the block (column) axis.
|
|
2143
2683
|
|
|
@@ -2146,16 +2686,16 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2146
2686
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2147
2687
|
@default '' - meaning no override
|
|
2148
2688
|
*/
|
|
2149
|
-
alignItems?: AlignItemsKeyword | ''
|
|
2689
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword | ''>;
|
|
2150
2690
|
/**
|
|
2151
2691
|
A shorthand property for `justify-items` and `align-items`.
|
|
2152
2692
|
|
|
2153
2693
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
|
|
2154
2694
|
@default 'normal normal'
|
|
2155
2695
|
*/
|
|
2156
|
-
placeItems?:
|
|
2157
|
-
|
|
2158
|
-
|
|
2696
|
+
placeItems?: MaybeResponsive<
|
|
2697
|
+
`${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword
|
|
2698
|
+
>;
|
|
2159
2699
|
/**
|
|
2160
2700
|
Aligns the grid along the inline (row) axis.
|
|
2161
2701
|
|
|
@@ -2164,7 +2704,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2164
2704
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2165
2705
|
@default '' - meaning no override
|
|
2166
2706
|
*/
|
|
2167
|
-
justifyContent?: JustifyContentKeyword | ''
|
|
2707
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword | ''>;
|
|
2168
2708
|
/**
|
|
2169
2709
|
Aligns the grid along the block (column) axis.
|
|
2170
2710
|
|
|
@@ -2173,18 +2713,18 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2173
2713
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2174
2714
|
@default '' - meaning no override
|
|
2175
2715
|
*/
|
|
2176
|
-
alignContent?: AlignContentKeyword | ''
|
|
2716
|
+
alignContent?: MaybeResponsive<AlignContentKeyword | ''>;
|
|
2177
2717
|
/**
|
|
2178
2718
|
A shorthand property for `justify-content` and `align-content`.
|
|
2179
2719
|
|
|
2180
2720
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
|
|
2181
2721
|
@default 'normal normal'
|
|
2182
2722
|
*/
|
|
2183
|
-
placeContent?:
|
|
2184
|
-
|
|
2185
|
-
|
|
2723
|
+
placeContent?: MaybeResponsive<
|
|
2724
|
+
`${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword
|
|
2725
|
+
>;
|
|
2186
2726
|
}
|
|
2187
|
-
interface GridItemProps$1 extends BaseBoxPropsWithRole {
|
|
2727
|
+
interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
2188
2728
|
/**
|
|
2189
2729
|
* Number of columns the item will span across
|
|
2190
2730
|
*
|
|
@@ -2260,8 +2800,7 @@ export interface BlockTypographyProps {
|
|
|
2260
2800
|
interface HeadingProps$1
|
|
2261
2801
|
extends GlobalProps,
|
|
2262
2802
|
AccessibilityVisibilityProps,
|
|
2263
|
-
BlockTypographyProps
|
|
2264
|
-
ContainerProps {
|
|
2803
|
+
BlockTypographyProps {
|
|
2265
2804
|
/**
|
|
2266
2805
|
* The content of the Heading.
|
|
2267
2806
|
*/
|
|
@@ -2287,7 +2826,9 @@ interface HeadingProps$1
|
|
|
2287
2826
|
| 'heading'
|
|
2288
2827
|
| ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
|
|
2289
2828
|
}
|
|
2290
|
-
interface IconProps$1
|
|
2829
|
+
interface IconProps$1
|
|
2830
|
+
extends GlobalProps,
|
|
2831
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
2291
2832
|
/**
|
|
2292
2833
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2293
2834
|
*
|
|
@@ -2353,13 +2894,6 @@ export interface BaseImageProps {
|
|
|
2353
2894
|
*/
|
|
2354
2895
|
srcSet?: string;
|
|
2355
2896
|
}
|
|
2356
|
-
/**
|
|
2357
|
-
* This is purely to give the ability
|
|
2358
|
-
* to have a space or not in the string literal types.
|
|
2359
|
-
*
|
|
2360
|
-
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
2361
|
-
*/
|
|
2362
|
-
export type optionalSpace = '' | ' ';
|
|
2363
2897
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
2364
2898
|
/**
|
|
2365
2899
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2427,13 +2961,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
2427
2961
|
*
|
|
2428
2962
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2429
2963
|
*/
|
|
2430
|
-
onLoad?: () => void;
|
|
2964
|
+
onLoad?: (event: Event) => void;
|
|
2431
2965
|
/**
|
|
2432
2966
|
* Invoked on load error.
|
|
2433
2967
|
*
|
|
2434
2968
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2435
2969
|
*/
|
|
2436
|
-
onError?: () => void;
|
|
2970
|
+
onError?: (event: Event) => void;
|
|
2437
2971
|
}
|
|
2438
2972
|
interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
|
|
2439
2973
|
/**
|
|
@@ -2466,189 +3000,69 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
2466
3000
|
*/
|
|
2467
3001
|
children?: ComponentChildren;
|
|
2468
3002
|
}
|
|
2469
|
-
interface
|
|
3003
|
+
interface MenuProps$1 extends GlobalProps {
|
|
3004
|
+
/**
|
|
3005
|
+
* A label that describes the purpose or contents of the element. When set,
|
|
3006
|
+
* it will be announced using assistive technologies and provide additional context.
|
|
3007
|
+
*/
|
|
3008
|
+
accessibilityLabel?: string;
|
|
3009
|
+
/**
|
|
3010
|
+
* The children define the actions to render inside the Menu. Only Button components are allowed as children of a Menu, and these Buttons can perform actions (using `onClick`) or link to other parts of the application (using `to`/ `href`). Any other component placed here will be ignored.
|
|
3011
|
+
*/
|
|
3012
|
+
children?: ComponentChildren;
|
|
3013
|
+
}
|
|
3014
|
+
interface ModalProps$1
|
|
2470
3015
|
extends GlobalProps,
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
3016
|
+
BaseOverlayProps,
|
|
3017
|
+
BaseOverlayMethods,
|
|
3018
|
+
ActionSlots {
|
|
2474
3019
|
/**
|
|
2475
|
-
*
|
|
3020
|
+
* A label that describes the purpose of the modal. When set,
|
|
3021
|
+
* it will be announced to users using assistive technologies and will
|
|
3022
|
+
* provide them with more context.
|
|
2476
3023
|
*
|
|
2477
|
-
*
|
|
3024
|
+
* This overrides the `heading` prop for screen readers.
|
|
3025
|
+
*/
|
|
3026
|
+
accessibilityLabel?: string;
|
|
3027
|
+
/**
|
|
3028
|
+
* A title that describes the content of the Modal.
|
|
3029
|
+
*
|
|
3030
|
+
*/
|
|
3031
|
+
heading?: string;
|
|
3032
|
+
/**
|
|
3033
|
+
* Adjust the padding around the Modal content.
|
|
3034
|
+
*
|
|
3035
|
+
* `base`: applies padding that is appropriate for the element.
|
|
3036
|
+
*
|
|
3037
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
3038
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3039
|
+
* to bring back the desired padding for the rest of the content.
|
|
3040
|
+
*
|
|
3041
|
+
* @default 'base'
|
|
3042
|
+
*/
|
|
3043
|
+
padding?: 'base' | 'none';
|
|
3044
|
+
/**
|
|
3045
|
+
* Adjust the size of the Modal.
|
|
3046
|
+
*
|
|
3047
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
3048
|
+
*
|
|
3049
|
+
* @default 'base'
|
|
2478
3050
|
*/
|
|
2479
|
-
|
|
3051
|
+
size?: SizeKeyword | 'max';
|
|
3052
|
+
/**
|
|
3053
|
+
* The content of the Modal.
|
|
3054
|
+
*/
|
|
3055
|
+
children?: ComponentChildren;
|
|
2480
3056
|
}
|
|
3057
|
+
interface MoneyFieldProps$1
|
|
3058
|
+
extends GlobalProps,
|
|
3059
|
+
BaseTextFieldProps,
|
|
3060
|
+
NumberConstraintsProps,
|
|
3061
|
+
AutocompleteProps<MoneyAutocompleteField> {}
|
|
2481
3062
|
export type MoneyAutocompleteField = ExtractStrict<
|
|
2482
3063
|
AnyAutocompleteField,
|
|
2483
3064
|
'transaction-amount'
|
|
2484
3065
|
>;
|
|
2485
|
-
/**
|
|
2486
|
-
* Supported monetary currencies from [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).
|
|
2487
|
-
*
|
|
2488
|
-
* @see https://www.iso.org/iso-4217-currency-codes.html
|
|
2489
|
-
*/
|
|
2490
|
-
export type CurrencyCode =
|
|
2491
|
-
| 'USD'
|
|
2492
|
-
| 'EUR'
|
|
2493
|
-
| 'GBP'
|
|
2494
|
-
| 'CAD'
|
|
2495
|
-
| 'AFN'
|
|
2496
|
-
| 'ALL'
|
|
2497
|
-
| 'DZD'
|
|
2498
|
-
| 'AOA'
|
|
2499
|
-
| 'ARS'
|
|
2500
|
-
| 'AMD'
|
|
2501
|
-
| 'AWG'
|
|
2502
|
-
| 'AUD'
|
|
2503
|
-
| 'BBD'
|
|
2504
|
-
| 'AZN'
|
|
2505
|
-
| 'BDT'
|
|
2506
|
-
| 'BSD'
|
|
2507
|
-
| 'BHD'
|
|
2508
|
-
| 'BIF'
|
|
2509
|
-
| 'BZD'
|
|
2510
|
-
| 'BMD'
|
|
2511
|
-
| 'BTN'
|
|
2512
|
-
| 'BAM'
|
|
2513
|
-
| 'BRL'
|
|
2514
|
-
| 'BOB'
|
|
2515
|
-
| 'BWP'
|
|
2516
|
-
| 'BND'
|
|
2517
|
-
| 'BGN'
|
|
2518
|
-
| 'MMK'
|
|
2519
|
-
| 'KHR'
|
|
2520
|
-
| 'CVE'
|
|
2521
|
-
| 'KYD'
|
|
2522
|
-
| 'XAF'
|
|
2523
|
-
| 'CLP'
|
|
2524
|
-
| 'CNY'
|
|
2525
|
-
| 'COP'
|
|
2526
|
-
| 'KMF'
|
|
2527
|
-
| 'CDF'
|
|
2528
|
-
| 'CRC'
|
|
2529
|
-
| 'HRK'
|
|
2530
|
-
| 'CZK'
|
|
2531
|
-
| 'DKK'
|
|
2532
|
-
| 'DOP'
|
|
2533
|
-
| 'XCD'
|
|
2534
|
-
| 'EGP'
|
|
2535
|
-
| 'ETB'
|
|
2536
|
-
| 'XPF'
|
|
2537
|
-
| 'FJD'
|
|
2538
|
-
| 'GMD'
|
|
2539
|
-
| 'GHS'
|
|
2540
|
-
| 'GTQ'
|
|
2541
|
-
| 'GYD'
|
|
2542
|
-
| 'GEL'
|
|
2543
|
-
| 'HTG'
|
|
2544
|
-
| 'HNL'
|
|
2545
|
-
| 'HKD'
|
|
2546
|
-
| 'HUF'
|
|
2547
|
-
| 'ISK'
|
|
2548
|
-
| 'INR'
|
|
2549
|
-
| 'IDR'
|
|
2550
|
-
| 'ILS'
|
|
2551
|
-
| 'IQD'
|
|
2552
|
-
| 'JMD'
|
|
2553
|
-
| 'JPY'
|
|
2554
|
-
| 'JEP'
|
|
2555
|
-
| 'JOD'
|
|
2556
|
-
| 'KZT'
|
|
2557
|
-
| 'KES'
|
|
2558
|
-
| 'KWD'
|
|
2559
|
-
| 'KGS'
|
|
2560
|
-
| 'LAK'
|
|
2561
|
-
| 'LVL'
|
|
2562
|
-
| 'LBP'
|
|
2563
|
-
| 'LSL'
|
|
2564
|
-
| 'LRD'
|
|
2565
|
-
| 'LTL'
|
|
2566
|
-
| 'MGA'
|
|
2567
|
-
| 'MKD'
|
|
2568
|
-
| 'MOP'
|
|
2569
|
-
| 'MWK'
|
|
2570
|
-
| 'MVR'
|
|
2571
|
-
| 'MXN'
|
|
2572
|
-
| 'MYR'
|
|
2573
|
-
| 'MUR'
|
|
2574
|
-
| 'MDL'
|
|
2575
|
-
| 'MAD'
|
|
2576
|
-
| 'MNT'
|
|
2577
|
-
| 'MZN'
|
|
2578
|
-
| 'NAD'
|
|
2579
|
-
| 'NPR'
|
|
2580
|
-
| 'ANG'
|
|
2581
|
-
| 'NZD'
|
|
2582
|
-
| 'NIO'
|
|
2583
|
-
| 'NGN'
|
|
2584
|
-
| 'NOK'
|
|
2585
|
-
| 'OMR'
|
|
2586
|
-
| 'PAB'
|
|
2587
|
-
| 'PKR'
|
|
2588
|
-
| 'PGK'
|
|
2589
|
-
| 'PYG'
|
|
2590
|
-
| 'PEN'
|
|
2591
|
-
| 'PHP'
|
|
2592
|
-
| 'PLN'
|
|
2593
|
-
| 'QAR'
|
|
2594
|
-
| 'RON'
|
|
2595
|
-
| 'RUB'
|
|
2596
|
-
| 'RWF'
|
|
2597
|
-
| 'WST'
|
|
2598
|
-
| 'SAR'
|
|
2599
|
-
| 'RSD'
|
|
2600
|
-
| 'SCR'
|
|
2601
|
-
| 'SGD'
|
|
2602
|
-
| 'SDG'
|
|
2603
|
-
| 'SYP'
|
|
2604
|
-
| 'ZAR'
|
|
2605
|
-
| 'KRW'
|
|
2606
|
-
| 'SSP'
|
|
2607
|
-
| 'SBD'
|
|
2608
|
-
| 'LKR'
|
|
2609
|
-
| 'SRD'
|
|
2610
|
-
| 'SZL'
|
|
2611
|
-
| 'SEK'
|
|
2612
|
-
| 'CHF'
|
|
2613
|
-
| 'TWD'
|
|
2614
|
-
| 'THB'
|
|
2615
|
-
| 'TZS'
|
|
2616
|
-
| 'TTD'
|
|
2617
|
-
| 'TND'
|
|
2618
|
-
| 'TRY'
|
|
2619
|
-
| 'TMT'
|
|
2620
|
-
| 'UGX'
|
|
2621
|
-
| 'UAH'
|
|
2622
|
-
| 'AED'
|
|
2623
|
-
| 'UYU'
|
|
2624
|
-
| 'UZS'
|
|
2625
|
-
| 'VUV'
|
|
2626
|
-
| 'VND'
|
|
2627
|
-
| 'XOF'
|
|
2628
|
-
| 'YER'
|
|
2629
|
-
| 'ZMW'
|
|
2630
|
-
| 'BYN'
|
|
2631
|
-
| 'BYR'
|
|
2632
|
-
| 'DJF'
|
|
2633
|
-
| 'ERN'
|
|
2634
|
-
| 'FKP'
|
|
2635
|
-
| 'GIP'
|
|
2636
|
-
| 'GNF'
|
|
2637
|
-
| 'IRR'
|
|
2638
|
-
| 'KID'
|
|
2639
|
-
| 'LYD'
|
|
2640
|
-
| 'MRU'
|
|
2641
|
-
| 'SLL'
|
|
2642
|
-
| 'SHP'
|
|
2643
|
-
| 'SOS'
|
|
2644
|
-
| 'STD'
|
|
2645
|
-
| 'STN'
|
|
2646
|
-
| 'TJS'
|
|
2647
|
-
| 'TOP'
|
|
2648
|
-
| 'VED'
|
|
2649
|
-
| 'VEF'
|
|
2650
|
-
| 'VES'
|
|
2651
|
-
| 'XXX';
|
|
2652
3066
|
interface NumberFieldProps$1
|
|
2653
3067
|
extends GlobalProps,
|
|
2654
3068
|
BaseTextFieldProps,
|
|
@@ -2692,7 +3106,7 @@ interface OptionGroupProps$1 extends GlobalProps {
|
|
|
2692
3106
|
children?: ComponentChildren;
|
|
2693
3107
|
}
|
|
2694
3108
|
interface OrderedListProps$1 extends GlobalProps {}
|
|
2695
|
-
interface PageProps$1 extends GlobalProps,
|
|
3109
|
+
interface PageProps$1 extends GlobalProps, ActionSlots {
|
|
2696
3110
|
/**
|
|
2697
3111
|
* The content of the Page.
|
|
2698
3112
|
*/
|
|
@@ -2706,18 +3120,13 @@ interface PageProps$1 extends GlobalProps, ContainerProps {
|
|
|
2706
3120
|
*/
|
|
2707
3121
|
subheading?: string;
|
|
2708
3122
|
/**
|
|
2709
|
-
*
|
|
2710
|
-
* When a `Button` is added to the `primaryAction` it's variant is set to `primary`
|
|
3123
|
+
* Additional contextual information about the page.
|
|
2711
3124
|
*/
|
|
2712
|
-
|
|
3125
|
+
accessory?: ComponentChildren;
|
|
2713
3126
|
/**
|
|
2714
3127
|
* The breadcrumb actions to perform, provided as link elements.
|
|
2715
3128
|
*/
|
|
2716
3129
|
breadcrumbActions?: ComponentChildren;
|
|
2717
|
-
/**
|
|
2718
|
-
* Secondary actions. These are `Button`s that will be contextually the 'secondary' variant.
|
|
2719
|
-
*/
|
|
2720
|
-
secondaryActions?: ComponentChildren;
|
|
2721
3130
|
/**
|
|
2722
3131
|
* The aside element is section of a page that contains content that is tangentially related to the content around the aside element, and which could be considered separate from that content.
|
|
2723
3132
|
* Such sections are often represented as sidebars in printed typography.
|
|
@@ -2737,8 +3146,7 @@ interface ParagraphProps$1
|
|
|
2737
3146
|
extends GlobalProps,
|
|
2738
3147
|
BaseTypographyProps,
|
|
2739
3148
|
BlockTypographyProps,
|
|
2740
|
-
AccessibilityVisibilityProps
|
|
2741
|
-
ContainerProps {
|
|
3149
|
+
AccessibilityVisibilityProps {
|
|
2742
3150
|
/**
|
|
2743
3151
|
* The content of the Text.
|
|
2744
3152
|
*/
|
|
@@ -2779,7 +3187,38 @@ export type PasswordAutocompleteField = ExtractStrict<
|
|
|
2779
3187
|
AnyAutocompleteField,
|
|
2780
3188
|
'new-password' | 'current-password'
|
|
2781
3189
|
>;
|
|
2782
|
-
interface
|
|
3190
|
+
interface PopoverProps$1
|
|
3191
|
+
extends GlobalProps,
|
|
3192
|
+
BaseOverlayProps,
|
|
3193
|
+
BaseOverlayMethods,
|
|
3194
|
+
ToggleEventProps,
|
|
3195
|
+
SizingProps {
|
|
3196
|
+
/**
|
|
3197
|
+
* The content of the popover.
|
|
3198
|
+
*/
|
|
3199
|
+
children?: ComponentChildren;
|
|
3200
|
+
}
|
|
3201
|
+
interface QueryContainerProps$1 extends GlobalProps {
|
|
3202
|
+
/**
|
|
3203
|
+
* The content of the container.
|
|
3204
|
+
*/
|
|
3205
|
+
children?: ComponentChildren;
|
|
3206
|
+
/**
|
|
3207
|
+
* The name of the container, which can be used in your container queries to target this container specifically.
|
|
3208
|
+
*
|
|
3209
|
+
* 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`.
|
|
3210
|
+
*
|
|
3211
|
+
* 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.
|
|
3212
|
+
*
|
|
3213
|
+
* @default ''
|
|
3214
|
+
*
|
|
3215
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/container-name
|
|
3216
|
+
*
|
|
3217
|
+
* @implementation You must always have a CSS `container-name` of `s-default` for this component.
|
|
3218
|
+
*/
|
|
3219
|
+
containerName?: string;
|
|
3220
|
+
}
|
|
3221
|
+
interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
2783
3222
|
/**
|
|
2784
3223
|
* The content of the Section.
|
|
2785
3224
|
*/
|
|
@@ -2838,40 +3277,40 @@ interface SpinnerProps$1 extends GlobalProps {
|
|
|
2838
3277
|
*/
|
|
2839
3278
|
accessibilityLabel?: string;
|
|
2840
3279
|
}
|
|
2841
|
-
interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
3280
|
+
interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
|
|
2842
3281
|
/**
|
|
2843
3282
|
* The content of the Stack.
|
|
2844
3283
|
*/
|
|
2845
3284
|
children?: ComponentChildren;
|
|
2846
3285
|
/**
|
|
2847
|
-
* Sets how the children are placed within the Stack.
|
|
3286
|
+
* 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).
|
|
2848
3287
|
*
|
|
2849
3288
|
* @default 'block'
|
|
2850
3289
|
*
|
|
2851
3290
|
* @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
|
|
2852
3291
|
*/
|
|
2853
|
-
direction?: 'block' | 'inline'
|
|
3292
|
+
direction?: MaybeResponsive<'block' | 'inline'>;
|
|
2854
3293
|
/**
|
|
2855
3294
|
* Aligns the Stack along the main axis.
|
|
2856
3295
|
*
|
|
2857
3296
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2858
3297
|
* @default 'normal'
|
|
2859
3298
|
*/
|
|
2860
|
-
justifyContent?: JustifyContentKeyword
|
|
3299
|
+
justifyContent?: MaybeResponsive<JustifyContentKeyword>;
|
|
2861
3300
|
/**
|
|
2862
3301
|
* Aligns the Stack's children along the cross axis.
|
|
2863
3302
|
*
|
|
2864
3303
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2865
3304
|
* @default 'normal'
|
|
2866
3305
|
*/
|
|
2867
|
-
alignItems?: AlignItemsKeyword
|
|
3306
|
+
alignItems?: MaybeResponsive<AlignItemsKeyword>;
|
|
2868
3307
|
/**
|
|
2869
3308
|
* Aligns the Stack along the cross axis.
|
|
2870
3309
|
*
|
|
2871
3310
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2872
3311
|
* @default 'normal'
|
|
2873
3312
|
*/
|
|
2874
|
-
alignContent?: AlignContentKeyword
|
|
3313
|
+
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2875
3314
|
}
|
|
2876
3315
|
interface SwitchProps$1
|
|
2877
3316
|
extends GlobalProps,
|
|
@@ -2889,11 +3328,11 @@ export interface PaginationProps {
|
|
|
2889
3328
|
/**
|
|
2890
3329
|
* Called when the previous page button is clicked.
|
|
2891
3330
|
*/
|
|
2892
|
-
onPreviousPage?: () => void;
|
|
3331
|
+
onPreviousPage?: (event: Event) => void;
|
|
2893
3332
|
/**
|
|
2894
3333
|
* Called when the next page button is clicked.
|
|
2895
3334
|
*/
|
|
2896
|
-
onNextPage?: () => void;
|
|
3335
|
+
onNextPage?: (event: Event) => void;
|
|
2897
3336
|
/**
|
|
2898
3337
|
* Whether there's an additional page of data.
|
|
2899
3338
|
*
|
|
@@ -2914,7 +3353,7 @@ export interface PaginationProps {
|
|
|
2914
3353
|
*/
|
|
2915
3354
|
loading?: boolean;
|
|
2916
3355
|
}
|
|
2917
|
-
interface TableProps$1 extends GlobalProps, PaginationProps
|
|
3356
|
+
interface TableProps$1 extends GlobalProps, PaginationProps {
|
|
2918
3357
|
/**
|
|
2919
3358
|
* The content of the Table.
|
|
2920
3359
|
*/
|
|
@@ -2938,11 +3377,11 @@ interface TableBodyProps$1 extends GlobalProps {
|
|
|
2938
3377
|
/**
|
|
2939
3378
|
* The body of the table. May not have any semantic meaning in the Table's `list` variant.
|
|
2940
3379
|
*/
|
|
2941
|
-
children
|
|
3380
|
+
children?: ComponentChildren;
|
|
2942
3381
|
}
|
|
2943
3382
|
interface TableCellProps$1 extends GlobalProps {
|
|
2944
3383
|
/**
|
|
2945
|
-
* The content of the table
|
|
3384
|
+
* The content of the table cell.
|
|
2946
3385
|
*/
|
|
2947
3386
|
children?: ComponentChildren;
|
|
2948
3387
|
}
|
|
@@ -2960,7 +3399,7 @@ interface TableHeaderProps$1 extends GlobalProps {
|
|
|
2960
3399
|
/**
|
|
2961
3400
|
* Content designation for the table's `list` variant.
|
|
2962
3401
|
*
|
|
2963
|
-
* - `primary
|
|
3402
|
+
* - `primary`: The most important content. Only one column can have this designation.
|
|
2964
3403
|
* - `secondary`: The secondary content. Only one column can have this designation.
|
|
2965
3404
|
* - `kicker`: Content that is displayed before primary and secondary content, but with less visual prominence. Only one column can have this designation.
|
|
2966
3405
|
* - `inline`: Content that is displayed inline.
|
|
@@ -2969,6 +3408,16 @@ interface TableHeaderProps$1 extends GlobalProps {
|
|
|
2969
3408
|
* @default 'labeled'
|
|
2970
3409
|
*/
|
|
2971
3410
|
listSlot?: ListSlotType;
|
|
3411
|
+
/**
|
|
3412
|
+
* The format of the column. Will automatically apply styling and alignment to cell content based on the value.
|
|
3413
|
+
*
|
|
3414
|
+
* - `base`: The base format for columns.
|
|
3415
|
+
* - `currency`: Formats the column as currency.
|
|
3416
|
+
* - `numeric`: Formats the column as a number.
|
|
3417
|
+
*
|
|
3418
|
+
* @default 'base'
|
|
3419
|
+
*/
|
|
3420
|
+
format?: 'base' | 'currency' | 'numeric';
|
|
2972
3421
|
}
|
|
2973
3422
|
interface TableHeaderRowProps$1 extends GlobalProps {
|
|
2974
3423
|
/**
|
|
@@ -2981,12 +3430,24 @@ interface TableRowProps$1 extends GlobalProps {
|
|
|
2981
3430
|
* The content of a TableRow, which should be `TableCell` components.
|
|
2982
3431
|
*/
|
|
2983
3432
|
children?: ComponentChildren;
|
|
3433
|
+
/**
|
|
3434
|
+
* The ID of an interactive element (e.g. `s-link`) in the row that will be the target of the click when the row is clicked.
|
|
3435
|
+
* This is the primary action for the row; it should not be used for secondary actions.
|
|
3436
|
+
*
|
|
3437
|
+
* This is a click-only affordance, and does not introduce any keyboard or screen reader affordances.
|
|
3438
|
+
* Which is why the target element must be in the table; so that keyboard and screen reader users can interact with it normally.
|
|
3439
|
+
*
|
|
3440
|
+
* @implementation no focus or keyboard affordances are introduced by this property. No aria attributes need to be added to the table row.
|
|
3441
|
+
* @implementation the row and/or delegate should have some affordance that indicates it is clickable. This may be a background color, a border, a hover effect, etc.
|
|
3442
|
+
*/
|
|
3443
|
+
clickDelegate?: string;
|
|
2984
3444
|
}
|
|
2985
3445
|
interface TextProps$1
|
|
2986
3446
|
extends GlobalProps,
|
|
2987
3447
|
AccessibilityVisibilityProps,
|
|
2988
3448
|
BaseTypographyProps,
|
|
2989
|
-
DisplayProps
|
|
3449
|
+
DisplayProps,
|
|
3450
|
+
Pick<InteractionProps, 'interestFor'> {
|
|
2990
3451
|
/**
|
|
2991
3452
|
* The content of the Text.
|
|
2992
3453
|
*/
|
|
@@ -2994,7 +3455,7 @@ interface TextProps$1
|
|
|
2994
3455
|
/**
|
|
2995
3456
|
* Provide semantic meaning and default styling to the text.
|
|
2996
3457
|
*
|
|
2997
|
-
* Other presentation properties on
|
|
3458
|
+
* Other presentation properties on Text override the default styling.
|
|
2998
3459
|
*
|
|
2999
3460
|
* @default 'generic'
|
|
3000
3461
|
*/
|
|
@@ -3094,22 +3555,207 @@ interface TextAreaProps$1
|
|
|
3094
3555
|
*/
|
|
3095
3556
|
rows?: number;
|
|
3096
3557
|
}
|
|
3097
|
-
interface TextFieldProps$1
|
|
3098
|
-
extends GlobalProps,
|
|
3099
|
-
BaseTextFieldProps,
|
|
3100
|
-
MinMaxLengthProps,
|
|
3101
|
-
AutocompleteProps<TextAutocompleteField>,
|
|
3102
|
-
FieldDecorationProps {}
|
|
3103
|
-
interface
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3109
|
-
|
|
3110
|
-
|
|
3111
|
-
|
|
3112
|
-
|
|
3558
|
+
interface TextFieldProps$1
|
|
3559
|
+
extends GlobalProps,
|
|
3560
|
+
BaseTextFieldProps,
|
|
3561
|
+
MinMaxLengthProps,
|
|
3562
|
+
AutocompleteProps<TextAutocompleteField>,
|
|
3563
|
+
FieldDecorationProps {}
|
|
3564
|
+
interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
3565
|
+
/**
|
|
3566
|
+
* Invoked when load of provided image completes successfully.
|
|
3567
|
+
*
|
|
3568
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
3569
|
+
*/
|
|
3570
|
+
onLoad?: (event: Event) => void;
|
|
3571
|
+
/**
|
|
3572
|
+
* Invoked on load error of provided image.
|
|
3573
|
+
*
|
|
3574
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
3575
|
+
*/
|
|
3576
|
+
onError?: (event: Event) => void;
|
|
3577
|
+
/**
|
|
3578
|
+
* Adjusts the size the product thumbnail image.
|
|
3579
|
+
*
|
|
3580
|
+
* @default 'base'
|
|
3581
|
+
*/
|
|
3582
|
+
size?: SizeKeyword;
|
|
3583
|
+
}
|
|
3584
|
+
interface TooltipProps$1 extends GlobalProps {
|
|
3585
|
+
/**
|
|
3586
|
+
* The content of the Tooltip.
|
|
3587
|
+
*/
|
|
3588
|
+
children?: ComponentChildren;
|
|
3589
|
+
}
|
|
3590
|
+
interface UnorderedListProps$1 extends GlobalProps {}
|
|
3591
|
+
interface URLFieldProps$1
|
|
3592
|
+
extends GlobalProps,
|
|
3593
|
+
BaseTextFieldProps,
|
|
3594
|
+
MinMaxLengthProps,
|
|
3595
|
+
AutocompleteProps<URLAutocompleteField> {}
|
|
3596
|
+
export type URLAutocompleteField = ExtractStrict<
|
|
3597
|
+
AnyAutocompleteField,
|
|
3598
|
+
'url' | 'photo' | 'impp' | `${AutocompleteAddressGroup} impp`
|
|
3599
|
+
>;
|
|
3600
|
+
//
|
|
3601
|
+
// Preact Virtual DOM
|
|
3602
|
+
// -----------------------------------
|
|
3603
|
+
export interface VNode<P = {}> {
|
|
3604
|
+
type: ComponentType<P> | string;
|
|
3605
|
+
props: P & {
|
|
3606
|
+
children: ComponentChildren$1;
|
|
3607
|
+
};
|
|
3608
|
+
key: Key;
|
|
3609
|
+
/**
|
|
3610
|
+
* ref is not guaranteed by React.ReactElement, for compatibility reasons
|
|
3611
|
+
* with popular react libs we define it as optional too
|
|
3612
|
+
*/
|
|
3613
|
+
ref?: Ref<any> | null;
|
|
3614
|
+
/**
|
|
3615
|
+
* The time this `vnode` started rendering. Will only be set when
|
|
3616
|
+
* the devtools are attached.
|
|
3617
|
+
* Default value: `0`
|
|
3618
|
+
*/
|
|
3619
|
+
startTime?: number;
|
|
3620
|
+
/**
|
|
3621
|
+
* The time that the rendering of this `vnode` was completed. Will only be
|
|
3622
|
+
* set when the devtools are attached.
|
|
3623
|
+
* Default value: `-1`
|
|
3624
|
+
*/
|
|
3625
|
+
endTime?: number;
|
|
3626
|
+
}
|
|
3627
|
+
//
|
|
3628
|
+
// Preact Component interface
|
|
3629
|
+
// -----------------------------------
|
|
3630
|
+
export type Key = string | number | any;
|
|
3631
|
+
export interface RefObject<T> {
|
|
3632
|
+
current: T | null;
|
|
3633
|
+
}
|
|
3634
|
+
export type RefCallback<T> = (instance: T | null) => void;
|
|
3635
|
+
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3636
|
+
export type ComponentChild =
|
|
3637
|
+
| VNode<any>
|
|
3638
|
+
| object
|
|
3639
|
+
| string
|
|
3640
|
+
| number
|
|
3641
|
+
| bigint
|
|
3642
|
+
| boolean
|
|
3643
|
+
| null
|
|
3644
|
+
| undefined;
|
|
3645
|
+
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3646
|
+
export interface Attributes {
|
|
3647
|
+
key?: Key | undefined;
|
|
3648
|
+
jsx?: boolean | undefined;
|
|
3649
|
+
}
|
|
3650
|
+
export interface ErrorInfo {
|
|
3651
|
+
componentStack?: string;
|
|
3652
|
+
}
|
|
3653
|
+
export type RenderableProps<P, RefType = any> = P &
|
|
3654
|
+
Readonly<
|
|
3655
|
+
Attributes & {
|
|
3656
|
+
children?: ComponentChildren$1;
|
|
3657
|
+
ref?: Ref<RefType>;
|
|
3658
|
+
}
|
|
3659
|
+
>;
|
|
3660
|
+
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3661
|
+
export interface FunctionComponent<P = {}> {
|
|
3662
|
+
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3663
|
+
displayName?: string;
|
|
3664
|
+
defaultProps?: Partial<P> | undefined;
|
|
3665
|
+
}
|
|
3666
|
+
export interface ComponentClass<P = {}, S = {}> {
|
|
3667
|
+
new (props: P, context?: any): Component<P, S>;
|
|
3668
|
+
displayName?: string;
|
|
3669
|
+
defaultProps?: Partial<P>;
|
|
3670
|
+
contextType?: Context<any>;
|
|
3671
|
+
getDerivedStateFromProps?(
|
|
3672
|
+
props: Readonly<P>,
|
|
3673
|
+
state: Readonly<S>,
|
|
3674
|
+
): Partial<S> | null;
|
|
3675
|
+
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3676
|
+
}
|
|
3677
|
+
export interface Component<P = {}, S = {}> {
|
|
3678
|
+
componentWillMount?(): void;
|
|
3679
|
+
componentDidMount?(): void;
|
|
3680
|
+
componentWillUnmount?(): void;
|
|
3681
|
+
getChildContext?(): object;
|
|
3682
|
+
componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
3683
|
+
shouldComponentUpdate?(
|
|
3684
|
+
nextProps: Readonly<P>,
|
|
3685
|
+
nextState: Readonly<S>,
|
|
3686
|
+
nextContext: any,
|
|
3687
|
+
): boolean;
|
|
3688
|
+
componentWillUpdate?(
|
|
3689
|
+
nextProps: Readonly<P>,
|
|
3690
|
+
nextState: Readonly<S>,
|
|
3691
|
+
nextContext: any,
|
|
3692
|
+
): void;
|
|
3693
|
+
getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
|
|
3694
|
+
componentDidUpdate?(
|
|
3695
|
+
previousProps: Readonly<P>,
|
|
3696
|
+
previousState: Readonly<S>,
|
|
3697
|
+
snapshot: any,
|
|
3698
|
+
): void;
|
|
3699
|
+
componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
|
|
3700
|
+
}
|
|
3701
|
+
declare abstract class Component<P, S> {
|
|
3702
|
+
constructor(props?: P, context?: any);
|
|
3703
|
+
static displayName?: string;
|
|
3704
|
+
static defaultProps?: any;
|
|
3705
|
+
static contextType?: Context<any>;
|
|
3706
|
+
// Static members cannot reference class type parameters. This is not
|
|
3707
|
+
// supported in TypeScript. Reusing the same type arguments from `Component`
|
|
3708
|
+
// will lead to an impossible state where one cannot satisfy the type
|
|
3709
|
+
// constraint under no circumstances, see #1356.In general type arguments
|
|
3710
|
+
// seem to be a bit buggy and not supported well at the time of this
|
|
3711
|
+
// writing with TS 3.3.3333.
|
|
3712
|
+
static getDerivedStateFromProps?(
|
|
3713
|
+
props: Readonly<object>,
|
|
3714
|
+
state: Readonly<object>,
|
|
3715
|
+
): object | null;
|
|
3716
|
+
|
|
3717
|
+
static getDerivedStateFromError?(error: any): object | null;
|
|
3718
|
+
state: Readonly<S>;
|
|
3719
|
+
props: RenderableProps<P>;
|
|
3720
|
+
context: any;
|
|
3721
|
+
base?: Element | Text;
|
|
3722
|
+
// From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
|
|
3723
|
+
// // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
|
|
3724
|
+
// // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
|
|
3725
|
+
setState<K extends keyof S>(
|
|
3726
|
+
state:
|
|
3727
|
+
| ((
|
|
3728
|
+
prevState: Readonly<S>,
|
|
3729
|
+
props: Readonly<P>,
|
|
3730
|
+
) => Pick<S, K> | Partial<S> | null)
|
|
3731
|
+
| (Pick<S, K> | Partial<S> | null),
|
|
3732
|
+
callback?: () => void,
|
|
3733
|
+
): void;
|
|
3734
|
+
|
|
3735
|
+
forceUpdate(callback?: () => void): void;
|
|
3736
|
+
abstract render(
|
|
3737
|
+
props?: RenderableProps<P>,
|
|
3738
|
+
state?: Readonly<S>,
|
|
3739
|
+
context?: any,
|
|
3740
|
+
): ComponentChildren$1;
|
|
3741
|
+
}
|
|
3742
|
+
//
|
|
3743
|
+
// Context
|
|
3744
|
+
// -----------------------------------
|
|
3745
|
+
export interface Consumer<T>
|
|
3746
|
+
extends FunctionComponent<{
|
|
3747
|
+
children: (value: T) => ComponentChildren$1;
|
|
3748
|
+
}> {}
|
|
3749
|
+
export interface Provider<T>
|
|
3750
|
+
extends FunctionComponent<{
|
|
3751
|
+
value: T;
|
|
3752
|
+
children?: ComponentChildren$1;
|
|
3753
|
+
}> {}
|
|
3754
|
+
export interface Context<T> extends Provider<T> {
|
|
3755
|
+
Consumer: Consumer<T>;
|
|
3756
|
+
Provider: Provider<T>;
|
|
3757
|
+
displayName?: string;
|
|
3758
|
+
}
|
|
3113
3759
|
type IconType$1 =
|
|
3114
3760
|
| 'adjust'
|
|
3115
3761
|
| 'affiliate'
|
|
@@ -3150,6 +3796,7 @@ type IconType$1 =
|
|
|
3150
3796
|
| 'book-open'
|
|
3151
3797
|
| 'bug'
|
|
3152
3798
|
| 'bullet'
|
|
3799
|
+
| 'business-entity'
|
|
3153
3800
|
| 'button'
|
|
3154
3801
|
| 'button-press'
|
|
3155
3802
|
| 'calculator'
|
|
@@ -3161,6 +3808,8 @@ type IconType$1 =
|
|
|
3161
3808
|
| 'camera'
|
|
3162
3809
|
| 'camera-flip'
|
|
3163
3810
|
| 'caret-down'
|
|
3811
|
+
| 'caret-left'
|
|
3812
|
+
| 'caret-right'
|
|
3164
3813
|
| 'caret-up'
|
|
3165
3814
|
| 'cart'
|
|
3166
3815
|
| 'cart-abandoned'
|
|
@@ -3288,6 +3937,7 @@ type IconType$1 =
|
|
|
3288
3937
|
| 'file'
|
|
3289
3938
|
| 'file-list'
|
|
3290
3939
|
| 'filter'
|
|
3940
|
+
| 'filter-active'
|
|
3291
3941
|
| 'flag'
|
|
3292
3942
|
| 'flip-horizontal'
|
|
3293
3943
|
| 'flip-vertical'
|
|
@@ -3336,6 +3986,7 @@ type IconType$1 =
|
|
|
3336
3986
|
| 'incoming'
|
|
3337
3987
|
| 'incomplete'
|
|
3338
3988
|
| 'info'
|
|
3989
|
+
| 'inheritance'
|
|
3339
3990
|
| 'inventory'
|
|
3340
3991
|
| 'inventory-updated'
|
|
3341
3992
|
| 'iq'
|
|
@@ -3466,6 +4117,7 @@ type IconType$1 =
|
|
|
3466
4117
|
| 'plus'
|
|
3467
4118
|
| 'plus-circle'
|
|
3468
4119
|
| 'plus-circle-down'
|
|
4120
|
+
| 'plus-circle-filled'
|
|
3469
4121
|
| 'plus-circle-up'
|
|
3470
4122
|
| 'point-of-sale'
|
|
3471
4123
|
| 'price-list'
|
|
@@ -3506,6 +4158,7 @@ type IconType$1 =
|
|
|
3506
4158
|
| 'sandbox'
|
|
3507
4159
|
| 'save'
|
|
3508
4160
|
| 'search'
|
|
4161
|
+
| 'search-add'
|
|
3509
4162
|
| 'search-list'
|
|
3510
4163
|
| 'search-recent'
|
|
3511
4164
|
| 'search-resource'
|
|
@@ -3605,191 +4258,3 @@ type IconType$1 =
|
|
|
3605
4258
|
| 'wrench'
|
|
3606
4259
|
| 'x'
|
|
3607
4260
|
| 'x-circle';
|
|
3608
|
-
//
|
|
3609
|
-
// Preact Virtual DOM
|
|
3610
|
-
// -----------------------------------
|
|
3611
|
-
export interface VNode<P = {}> {
|
|
3612
|
-
type: ComponentType<P> | string;
|
|
3613
|
-
props: P & {
|
|
3614
|
-
children: ComponentChildren$1;
|
|
3615
|
-
};
|
|
3616
|
-
key: Key;
|
|
3617
|
-
/**
|
|
3618
|
-
* ref is not guaranteed by React.ReactElement, for compatibility reasons
|
|
3619
|
-
* with popular react libs we define it as optional too
|
|
3620
|
-
*/
|
|
3621
|
-
ref?: Ref<any> | null;
|
|
3622
|
-
/**
|
|
3623
|
-
* The time this `vnode` started rendering. Will only be set when
|
|
3624
|
-
* the devtools are attached.
|
|
3625
|
-
* Default value: `0`
|
|
3626
|
-
*/
|
|
3627
|
-
startTime?: number;
|
|
3628
|
-
/**
|
|
3629
|
-
* The time that the rendering of this `vnode` was completed. Will only be
|
|
3630
|
-
* set when the devtools are attached.
|
|
3631
|
-
* Default value: `-1`
|
|
3632
|
-
*/
|
|
3633
|
-
endTime?: number;
|
|
3634
|
-
}
|
|
3635
|
-
//
|
|
3636
|
-
// Preact Component interface
|
|
3637
|
-
// -----------------------------------
|
|
3638
|
-
export type Key = string | number | any;
|
|
3639
|
-
export interface RefObject<T> {
|
|
3640
|
-
current: T | null;
|
|
3641
|
-
}
|
|
3642
|
-
export type RefCallback<T> = (instance: T | null) => void;
|
|
3643
|
-
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3644
|
-
export type ComponentChild =
|
|
3645
|
-
| VNode<any>
|
|
3646
|
-
| object
|
|
3647
|
-
| string
|
|
3648
|
-
| number
|
|
3649
|
-
| bigint
|
|
3650
|
-
| boolean
|
|
3651
|
-
| null
|
|
3652
|
-
| undefined;
|
|
3653
|
-
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3654
|
-
export interface Attributes {
|
|
3655
|
-
key?: Key | undefined;
|
|
3656
|
-
jsx?: boolean | undefined;
|
|
3657
|
-
}
|
|
3658
|
-
export interface ErrorInfo {
|
|
3659
|
-
componentStack?: string;
|
|
3660
|
-
}
|
|
3661
|
-
export type RenderableProps<P, RefType = any> = P &
|
|
3662
|
-
Readonly<
|
|
3663
|
-
Attributes & {
|
|
3664
|
-
children?: ComponentChildren$1;
|
|
3665
|
-
ref?: Ref<RefType>;
|
|
3666
|
-
}
|
|
3667
|
-
>;
|
|
3668
|
-
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3669
|
-
export interface FunctionComponent<P = {}> {
|
|
3670
|
-
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3671
|
-
displayName?: string;
|
|
3672
|
-
defaultProps?: Partial<P> | undefined;
|
|
3673
|
-
}
|
|
3674
|
-
export interface ComponentClass<P = {}, S = {}> {
|
|
3675
|
-
new (props: P, context?: any): Component<P, S>;
|
|
3676
|
-
displayName?: string;
|
|
3677
|
-
defaultProps?: Partial<P>;
|
|
3678
|
-
contextType?: Context<any>;
|
|
3679
|
-
getDerivedStateFromProps?(
|
|
3680
|
-
props: Readonly<P>,
|
|
3681
|
-
state: Readonly<S>,
|
|
3682
|
-
): Partial<S> | null;
|
|
3683
|
-
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3684
|
-
}
|
|
3685
|
-
export interface Component<P = {}, S = {}> {
|
|
3686
|
-
componentWillMount?(): void;
|
|
3687
|
-
componentDidMount?(): void;
|
|
3688
|
-
componentWillUnmount?(): void;
|
|
3689
|
-
getChildContext?(): object;
|
|
3690
|
-
componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
|
|
3691
|
-
shouldComponentUpdate?(
|
|
3692
|
-
nextProps: Readonly<P>,
|
|
3693
|
-
nextState: Readonly<S>,
|
|
3694
|
-
nextContext: any,
|
|
3695
|
-
): boolean;
|
|
3696
|
-
componentWillUpdate?(
|
|
3697
|
-
nextProps: Readonly<P>,
|
|
3698
|
-
nextState: Readonly<S>,
|
|
3699
|
-
nextContext: any,
|
|
3700
|
-
): void;
|
|
3701
|
-
getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
|
|
3702
|
-
componentDidUpdate?(
|
|
3703
|
-
previousProps: Readonly<P>,
|
|
3704
|
-
previousState: Readonly<S>,
|
|
3705
|
-
snapshot: any,
|
|
3706
|
-
): void;
|
|
3707
|
-
componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
|
|
3708
|
-
}
|
|
3709
|
-
declare abstract class Component<P, S> {
|
|
3710
|
-
constructor(props?: P, context?: any);
|
|
3711
|
-
static displayName?: string;
|
|
3712
|
-
static defaultProps?: any;
|
|
3713
|
-
static contextType?: Context<any>;
|
|
3714
|
-
// Static members cannot reference class type parameters. This is not
|
|
3715
|
-
// supported in TypeScript. Reusing the same type arguments from `Component`
|
|
3716
|
-
// will lead to an impossible state where one cannot satisfy the type
|
|
3717
|
-
// constraint under no circumstances, see #1356.In general type arguments
|
|
3718
|
-
// seem to be a bit buggy and not supported well at the time of this
|
|
3719
|
-
// writing with TS 3.3.3333.
|
|
3720
|
-
static getDerivedStateFromProps?(
|
|
3721
|
-
props: Readonly<object>,
|
|
3722
|
-
state: Readonly<object>,
|
|
3723
|
-
): object | null;
|
|
3724
|
-
|
|
3725
|
-
static getDerivedStateFromError?(error: any): object | null;
|
|
3726
|
-
state: Readonly<S>;
|
|
3727
|
-
props: RenderableProps<P>;
|
|
3728
|
-
context: any;
|
|
3729
|
-
base?: Element | Text;
|
|
3730
|
-
// From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
|
|
3731
|
-
// // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
|
|
3732
|
-
// // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
|
|
3733
|
-
setState<K extends keyof S>(
|
|
3734
|
-
state:
|
|
3735
|
-
| ((
|
|
3736
|
-
prevState: Readonly<S>,
|
|
3737
|
-
props: Readonly<P>,
|
|
3738
|
-
) => Pick<S, K> | Partial<S> | null)
|
|
3739
|
-
| (Pick<S, K> | Partial<S> | null),
|
|
3740
|
-
callback?: () => void,
|
|
3741
|
-
): void;
|
|
3742
|
-
|
|
3743
|
-
forceUpdate(callback?: () => void): void;
|
|
3744
|
-
abstract render(
|
|
3745
|
-
props?: RenderableProps<P>,
|
|
3746
|
-
state?: Readonly<S>,
|
|
3747
|
-
context?: any,
|
|
3748
|
-
): ComponentChildren$1;
|
|
3749
|
-
}
|
|
3750
|
-
//
|
|
3751
|
-
// Context
|
|
3752
|
-
// -----------------------------------
|
|
3753
|
-
export interface Consumer<T>
|
|
3754
|
-
extends FunctionComponent<{
|
|
3755
|
-
children: (value: T) => ComponentChildren$1;
|
|
3756
|
-
}> {}
|
|
3757
|
-
export interface Provider<T>
|
|
3758
|
-
extends FunctionComponent<{
|
|
3759
|
-
value: T;
|
|
3760
|
-
children?: ComponentChildren$1;
|
|
3761
|
-
}> {}
|
|
3762
|
-
export interface Context<T> extends Provider<T> {
|
|
3763
|
-
Consumer: Consumer<T>;
|
|
3764
|
-
Provider: Provider<T>;
|
|
3765
|
-
displayName?: string;
|
|
3766
|
-
}
|
|
3767
|
-
interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
|
|
3768
|
-
/**
|
|
3769
|
-
* Whether the action is in a loading state, such as initial page load or action opening.
|
|
3770
|
-
* When true, the action could be in an inert state, which prevents user interaction.
|
|
3771
|
-
*
|
|
3772
|
-
* @default false
|
|
3773
|
-
*/
|
|
3774
|
-
loading?: boolean;
|
|
3775
|
-
}
|
|
3776
|
-
interface AdminBlockProps$1 extends GlobalProps {
|
|
3777
|
-
/**
|
|
3778
|
-
* The text to use as the Block title in the block header. If not provided, the name of the
|
|
3779
|
-
* extension will be used.
|
|
3780
|
-
*/
|
|
3781
|
-
heading?: string;
|
|
3782
|
-
/**
|
|
3783
|
-
* The summary to display when the app block is collapsed.
|
|
3784
|
-
* Summary longer than 30 characters will be truncated.
|
|
3785
|
-
*/
|
|
3786
|
-
collapsedSummary?: string;
|
|
3787
|
-
}
|
|
3788
|
-
interface AdminPrintActionProps$1 extends GlobalProps {
|
|
3789
|
-
/**
|
|
3790
|
-
* Sets the src URL of the preview and the document to print.
|
|
3791
|
-
* If not provided, the preview will show an empty state and the print button will be disabled.
|
|
3792
|
-
* HTML, PDFs and images are supported.
|
|
3793
|
-
*/
|
|
3794
|
-
src?: string;
|
|
3795
|
-
}
|