@shopify/ui-extensions 2025.10.2 → 2025.10.4
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/README.md +2 -0
- package/build/cjs/surfaces/customer-account/preact/api.js +0 -12
- package/build/esm/surfaces/customer-account/preact/api.mjs +0 -12
- package/build/esnext/surfaces/customer-account/preact/api.esnext +0 -12
- package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +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.map +1 -1
- package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Banner.d.ts +6 -2
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +6 -2
- package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +6 -2
- package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +6 -2
- package/build/ts/surfaces/admin/components/Choice.d.ts +20 -2
- package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +8 -2
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +6 -2
- package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +47 -4
- package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ColorField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +11 -2
- package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/DateField.d.ts +11 -2
- package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/DropZone.d.ts +183 -0
- package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +10 -5
- package/build/ts/surfaces/admin/components/GridItem.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +13 -11
- package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Image.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +6 -2
- package/build/ts/surfaces/admin/components/ListItem.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Menu.d.ts +68 -12
- package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Modal.d.ts +106 -15
- package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Option.d.ts +7 -2
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +9 -2
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +9 -2
- package/build/ts/surfaces/admin/components/Page/Page.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Page.d.ts +8 -2
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +7 -3
- package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +24 -3
- package/build/ts/surfaces/admin/components/SearchField/SearchField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +8 -2
- package/build/ts/surfaces/admin/components/Spinner/Spinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +10 -5
- 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/Switch.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +35 -2
- package/build/ts/surfaces/admin/components/TableBody.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableCell.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TableRow.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +7 -2
- package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/TextField.d.ts +7 -2
- package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +52 -11
- package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +9 -2
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +2 -2
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared.d.ts +37 -4
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +3 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +3 -0
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +5 -5
- package/build/ts/surfaces/customer-account/api/shared.d.ts +4 -6
- 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 +2 -2
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +2 -2
- package/build/ts/surfaces/customer-account/preact/api.d.ts +0 -12
- package/build/ts/surfaces/customer-account/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +2 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +4 -2
- package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +1 -0
- package/src/surfaces/admin/api/intents/examples/edit-variant.js +1 -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.d.ts +1 -1
- package/src/surfaces/admin/components/Avatar/examples/basic-usage.jsx +1 -0
- package/src/surfaces/admin/components/Avatar/examples/color-consistency-demo.jsx +7 -0
- package/src/surfaces/admin/components/Avatar/examples/default-avatar-no-props.jsx +1 -0
- package/src/surfaces/admin/components/Avatar/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/Avatar/examples/error-handling-example.jsx +5 -0
- package/src/surfaces/admin/components/Avatar/examples/fulfillment-partner-avatars.jsx +14 -0
- package/src/surfaces/admin/components/Avatar/examples/in-customer-list-context.jsx +24 -0
- package/src/surfaces/admin/components/Avatar/examples/long-initials-handling.jsx +5 -0
- package/src/surfaces/admin/components/Avatar/examples/size-variations.jsx +7 -0
- package/src/surfaces/admin/components/Avatar/examples/staff-member-profiles.jsx +10 -0
- package/src/surfaces/admin/components/Avatar/examples/with-image-source-and-fallback.jsx +6 -0
- package/src/surfaces/admin/components/Avatar/examples/with-section-component.jsx +17 -0
- package/src/surfaces/admin/components/Avatar.d.ts +1 -1
- package/src/surfaces/admin/components/Badge/examples/default.jsx +8 -0
- package/src/surfaces/admin/components/Badge/examples/different-sizes-for-emphasis.jsx +4 -0
- package/src/surfaces/admin/components/Badge/examples/order-status-badges.jsx +6 -0
- package/src/surfaces/admin/components/Badge/examples/status-indicators-with-icons.jsx +21 -0
- package/src/surfaces/admin/components/Badge/examples/within-table-context.jsx +18 -0
- package/src/surfaces/admin/components/Badge.d.ts +7 -2
- package/src/surfaces/admin/components/Banner/examples/basic-information-banner.html +3 -0
- package/src/surfaces/admin/components/Banner/examples/basic-information-banner.jsx +3 -0
- package/src/surfaces/admin/components/Banner/examples/critical-banner-with-clear-next-steps.html +18 -0
- package/src/surfaces/admin/components/Banner/examples/critical-banner-with-clear-next-steps.jsx +18 -0
- package/src/surfaces/admin/components/Banner/examples/default.jsx +3 -0
- package/src/surfaces/admin/components/Banner/examples/dismissible-success-banner.html +3 -0
- package/src/surfaces/admin/components/Banner/examples/dismissible-success-banner.jsx +3 -0
- package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.html +14 -0
- package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.jsx +14 -0
- package/src/surfaces/admin/components/Banner/examples/warning-banner-with-specific-actions.html +18 -0
- package/src/surfaces/admin/components/Banner/examples/warning-banner-with-specific-actions.jsx +18 -0
- package/src/surfaces/admin/components/Banner.d.ts +6 -2
- package/src/surfaces/admin/components/Box/examples/accessible-status-messages.html +14 -0
- package/src/surfaces/admin/components/Box/examples/accessible-status-messages.jsx +14 -0
- package/src/surfaces/admin/components/Box/examples/basic-container.html +9 -0
- package/src/surfaces/admin/components/Box/examples/basic-container.jsx +9 -0
- package/src/surfaces/admin/components/Box/examples/complex-merchant-dashboard-layout.html +34 -0
- package/src/surfaces/admin/components/Box/examples/complex-merchant-dashboard-layout.jsx +34 -0
- package/src/surfaces/admin/components/Box/examples/default.jsx +2 -2
- package/src/surfaces/admin/components/Box/examples/responsive-shipping-notice.html +10 -0
- package/src/surfaces/admin/components/Box/examples/responsive-shipping-notice.jsx +10 -0
- package/src/surfaces/admin/components/Box.d.ts +7 -2
- package/src/surfaces/admin/components/Button/examples/basic-usage.html +1 -0
- package/src/surfaces/admin/components/Button/examples/basic-usage.jsx +1 -0
- package/src/surfaces/admin/components/Button/examples/bulk-actions.html +4 -0
- package/src/surfaces/admin/components/Button/examples/bulk-actions.jsx +6 -0
- package/src/surfaces/admin/components/Button/examples/component-interactions.html +7 -0
- package/src/surfaces/admin/components/Button/examples/component-interactions.jsx +7 -0
- package/src/surfaces/admin/components/Button/examples/default.jsx +4 -0
- package/src/surfaces/admin/components/Button/examples/delete-confirmation.html +4 -0
- package/src/surfaces/admin/components/Button/examples/delete-confirmation.jsx +6 -0
- package/src/surfaces/admin/components/Button/examples/form-states.html +4 -0
- package/src/surfaces/admin/components/Button/examples/form-states.jsx +6 -0
- package/src/surfaces/admin/components/Button/examples/icon-only-button.html +1 -0
- package/src/surfaces/admin/components/Button/examples/icon-only-button.jsx +1 -0
- package/src/surfaces/admin/components/Button/examples/link-buttons.html +7 -0
- package/src/surfaces/admin/components/Button/examples/link-buttons.jsx +9 -0
- package/src/surfaces/admin/components/Button/examples/loading-state-for-merchant-actions.html +8 -0
- package/src/surfaces/admin/components/Button/examples/loading-state-for-merchant-actions.jsx +11 -0
- package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.html +2 -0
- package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.jsx +3 -0
- package/src/surfaces/admin/components/Button/examples/product-save-form.html +4 -0
- package/src/surfaces/admin/components/Button/examples/product-save-form.jsx +6 -0
- package/src/surfaces/admin/components/Button/examples/tones.html +5 -0
- package/src/surfaces/admin/components/Button/examples/tones.jsx +5 -0
- package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.html +17 -0
- package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.jsx +17 -0
- package/src/surfaces/admin/components/Button/examples/variants.html +6 -0
- package/src/surfaces/admin/components/Button/examples/variants.jsx +6 -0
- package/src/surfaces/admin/components/Button/examples/with-icon.html +1 -0
- package/src/surfaces/admin/components/Button/examples/with-icon.jsx +1 -0
- package/src/surfaces/admin/components/Button.d.ts +6 -2
- package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.jsx +6 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/bulk-actions-in-data-tables.html +5 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/bulk-actions-in-data-tables.jsx +7 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/default.html +1 -1
- package/src/surfaces/admin/components/ButtonGroup/examples/default.jsx +4 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/destructive-actions-pattern.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/destructive-actions-pattern.jsx +6 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.html +4 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.jsx +6 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/segmented-appearance.html +5 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/segmented-appearance.jsx +5 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/toolbar-buttons-with-icons.html +7 -0
- package/src/surfaces/admin/components/ButtonGroup/examples/toolbar-buttons-with-icons.jsx +11 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +6 -2
- package/src/surfaces/admin/components/Checkbox/examples/default.jsx +4 -0
- package/src/surfaces/admin/components/Checkbox/examples/disabled-state.html +5 -0
- package/src/surfaces/admin/components/Checkbox/examples/disabled-state.jsx +5 -0
- package/src/surfaces/admin/components/Checkbox/examples/error-state.html +4 -0
- package/src/surfaces/admin/components/Checkbox/examples/error-state.jsx +4 -0
- package/src/surfaces/admin/components/Checkbox/examples/help-text.html +4 -0
- package/src/surfaces/admin/components/Checkbox/examples/help-text.jsx +4 -0
- package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.jsx +21 -0
- package/src/surfaces/admin/components/Checkbox/examples/settings-group.html +12 -0
- package/src/surfaces/admin/components/Checkbox/examples/settings-group.jsx +12 -0
- package/src/surfaces/admin/components/Checkbox/examples/validation-example.jsx +20 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/src/surfaces/admin/components/Chip/examples/basic-usage.jsx +3 -0
- package/src/surfaces/admin/components/Chip/examples/color-variants.jsx +12 -0
- package/src/surfaces/admin/components/Chip/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/Chip/examples/product-status.jsx +12 -0
- package/src/surfaces/admin/components/Chip/examples/text-truncation.jsx +12 -0
- package/src/surfaces/admin/components/Chip/examples/with-icon-graphic.jsx +4 -0
- package/src/surfaces/admin/components/Chip.d.ts +6 -2
- package/src/surfaces/admin/components/Choice.d.ts +20 -2
- package/src/surfaces/admin/components/ChoiceList/examples/basic-usage.html +5 -0
- package/src/surfaces/admin/components/ChoiceList/examples/basic-usage.jsx +7 -0
- package/src/surfaces/admin/components/ChoiceList/examples/default.html +5 -0
- package/src/surfaces/admin/components/ChoiceList/examples/default.jsx +16 -0
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.html +18 -0
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.jsx +18 -0
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-selections.html +15 -0
- package/src/surfaces/admin/components/ChoiceList/examples/multiple-selections.jsx +15 -0
- package/src/surfaces/admin/components/ChoiceList/examples/validation-example.jsx +20 -0
- package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.html +9 -0
- package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.jsx +8 -0
- package/src/surfaces/admin/components/ChoiceList.d.ts +8 -2
- package/src/surfaces/admin/components/Clickable/examples/accessibility-with-aria-attributes.html +8 -0
- package/src/surfaces/admin/components/Clickable/examples/accessibility-with-aria-attributes.jsx +8 -0
- package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.html +1 -0
- package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.jsx +3 -0
- package/src/surfaces/admin/components/Clickable/examples/default.jsx +12 -0
- package/src/surfaces/admin/components/Clickable/examples/disabled-link-with-aria.html +7 -0
- package/src/surfaces/admin/components/Clickable/examples/disabled-link-with-aria.jsx +7 -0
- package/src/surfaces/admin/components/Clickable/examples/form-submit-button.html +3 -0
- package/src/surfaces/admin/components/Clickable/examples/form-submit-button.jsx +3 -0
- package/src/surfaces/admin/components/Clickable/examples/link-mode.html +3 -0
- package/src/surfaces/admin/components/Clickable/examples/link-mode.jsx +3 -0
- package/src/surfaces/admin/components/Clickable/examples/section-with-clickable-action.html +9 -0
- package/src/surfaces/admin/components/Clickable/examples/section-with-clickable-action.jsx +9 -0
- package/src/surfaces/admin/components/Clickable.d.ts +6 -2
- package/src/surfaces/admin/components/ClickableChip/examples/as-a-link.html +8 -0
- package/src/surfaces/admin/components/ClickableChip/examples/as-a-link.jsx +8 -0
- package/src/surfaces/admin/components/ClickableChip/examples/basic-usage.html +17 -0
- package/src/surfaces/admin/components/ClickableChip/examples/basic-usage.jsx +17 -0
- package/src/surfaces/admin/components/ClickableChip/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/ClickableChip/examples/disabled-state.html +7 -0
- package/src/surfaces/admin/components/ClickableChip/examples/disabled-state.jsx +7 -0
- package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.html +17 -0
- package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.jsx +17 -0
- package/src/surfaces/admin/components/ClickableChip/examples/with-icon-and-remove-button.html +8 -0
- package/src/surfaces/admin/components/ClickableChip/examples/with-icon-and-remove-button.jsx +8 -0
- package/src/surfaces/admin/components/ClickableChip.d.ts +47 -4
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-required.html +3 -0
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-required.jsx +3 -0
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-web-component.html +3 -0
- package/src/surfaces/admin/components/ColorField/examples/basic-usage-web-component.jsx +3 -0
- package/src/surfaces/admin/components/ColorField/examples/default.html +1 -4
- package/src/surfaces/admin/components/ColorField/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/ColorField/examples/form-integration.html +28 -0
- package/src/surfaces/admin/components/ColorField/examples/form-integration.jsx +28 -0
- package/src/surfaces/admin/components/ColorField/examples/read-only-state.html +3 -0
- package/src/surfaces/admin/components/ColorField/examples/read-only-state.jsx +3 -0
- package/src/surfaces/admin/components/ColorField/examples/validation-example.jsx +21 -0
- package/src/surfaces/admin/components/ColorField/examples/with-alpha-transparency.html +7 -0
- package/src/surfaces/admin/components/ColorField/examples/with-alpha-transparency.jsx +7 -0
- package/src/surfaces/admin/components/ColorField/examples/with-error-state.html +9 -0
- package/src/surfaces/admin/components/ColorField/examples/with-error-state.jsx +9 -0
- package/src/surfaces/admin/components/ColorField/examples/with-help-text.html +7 -0
- package/src/surfaces/admin/components/ColorField/examples/with-help-text.jsx +7 -0
- package/src/surfaces/admin/components/ColorField/examples/with-placeholder.html +7 -0
- package/src/surfaces/admin/components/ColorField/examples/with-placeholder.jsx +7 -0
- package/src/surfaces/admin/components/ColorField.d.ts +1 -1
- package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.html +3 -0
- package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.jsx +3 -0
- package/src/surfaces/admin/components/ColorPicker/examples/default.html +1 -4
- package/src/surfaces/admin/components/ColorPicker/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/ColorPicker/examples/with-alpha-transparency.html +7 -0
- package/src/surfaces/admin/components/ColorPicker/examples/with-alpha-transparency.jsx +7 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +11 -2
- package/src/surfaces/admin/components/DateField/examples/basic-usage.html +5 -0
- package/src/surfaces/admin/components/DateField/examples/basic-usage.jsx +5 -0
- package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.html +29 -0
- package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.jsx +29 -0
- package/src/surfaces/admin/components/DateField/examples/date-range-selection.html +19 -0
- package/src/surfaces/admin/components/DateField/examples/date-range-selection.jsx +19 -0
- package/src/surfaces/admin/components/DateField/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/DateField/examples/disabled-and-read-only-states.html +15 -0
- package/src/surfaces/admin/components/DateField/examples/disabled-and-read-only-states.jsx +15 -0
- package/src/surfaces/admin/components/DateField/examples/form-integration.html +25 -0
- package/src/surfaces/admin/components/DateField/examples/form-integration.jsx +27 -0
- package/src/surfaces/admin/components/DateField/examples/validation-example.html +6 -0
- package/src/surfaces/admin/components/DateField/examples/validation-example.jsx +20 -0
- package/src/surfaces/admin/components/DateField/examples/with-date-restrictions.html +6 -0
- package/src/surfaces/admin/components/DateField/examples/with-date-restrictions.jsx +6 -0
- package/src/surfaces/admin/components/DateField/examples/with-default-value.html +5 -0
- package/src/surfaces/admin/components/DateField/examples/with-default-value.jsx +5 -0
- package/src/surfaces/admin/components/DateField/examples/with-error-state.html +6 -0
- package/src/surfaces/admin/components/DateField/examples/with-error-state.jsx +5 -0
- package/src/surfaces/admin/components/DateField/examples/with-specific-allowed-dates.html +6 -0
- package/src/surfaces/admin/components/DateField/examples/with-specific-allowed-dates.jsx +6 -0
- package/src/surfaces/admin/components/DateField.d.ts +11 -2
- package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.html +45 -0
- package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.jsx +35 -0
- package/src/surfaces/admin/components/DatePicker/examples/default.jsx +5 -1
- package/src/surfaces/admin/components/DatePicker/examples/form-integration.html +13 -0
- package/src/surfaces/admin/components/DatePicker/examples/form-integration.jsx +28 -0
- package/src/surfaces/admin/components/DatePicker/examples/single-date-selection.html +6 -0
- package/src/surfaces/admin/components/DatePicker/examples/single-date-selection.jsx +6 -0
- package/src/surfaces/admin/components/DatePicker/examples/with-date-restrictions.html +8 -0
- package/src/surfaces/admin/components/DatePicker/examples/with-date-restrictions.jsx +7 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/src/surfaces/admin/components/Divider/examples/basic-usage.html +1 -0
- package/src/surfaces/admin/components/Divider/examples/basic-usage.jsx +1 -0
- package/src/surfaces/admin/components/Divider/examples/custom-color.html +1 -0
- package/src/surfaces/admin/components/Divider/examples/custom-color.jsx +1 -0
- package/src/surfaces/admin/components/Divider/examples/custom-direction.html +5 -0
- package/src/surfaces/admin/components/Divider/examples/custom-direction.jsx +5 -0
- package/src/surfaces/admin/components/Divider/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.html +9 -0
- package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.jsx +9 -0
- package/src/surfaces/admin/components/Divider/examples/separating-content-sections.html +13 -0
- package/src/surfaces/admin/components/Divider/examples/separating-content-sections.jsx +13 -0
- package/src/surfaces/admin/components/Divider/examples/separating-form-sections.html +7 -0
- package/src/surfaces/admin/components/Divider/examples/separating-form-sections.jsx +7 -0
- package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.html +12 -0
- package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.jsx +12 -0
- package/src/surfaces/admin/components/Divider.d.ts +1 -1
- package/src/surfaces/admin/components/DropZone/examples/basic-usage.html +1 -0
- package/src/surfaces/admin/components/DropZone/examples/basic-usage.jsx +1 -0
- package/src/surfaces/admin/components/DropZone/examples/default.jsx +9 -0
- package/src/surfaces/admin/components/DropZone/examples/disabled-state.html +1 -0
- package/src/surfaces/admin/components/DropZone/examples/disabled-state.jsx +1 -0
- package/src/surfaces/admin/components/DropZone/examples/file-type-restrictions.html +5 -0
- package/src/surfaces/admin/components/DropZone/examples/file-type-restrictions.jsx +5 -0
- package/src/surfaces/admin/components/DropZone/examples/image-upload.html +1 -0
- package/src/surfaces/admin/components/DropZone/examples/image-upload.jsx +1 -0
- package/src/surfaces/admin/components/DropZone/examples/required-field.html +1 -0
- package/src/surfaces/admin/components/DropZone/examples/required-field.jsx +1 -0
- package/src/surfaces/admin/components/DropZone/examples/with-accessibility-options.html +6 -0
- package/src/surfaces/admin/components/DropZone/examples/with-accessibility-options.jsx +6 -0
- package/src/surfaces/admin/components/DropZone/examples/with-error-state.html +4 -0
- package/src/surfaces/admin/components/DropZone/examples/with-error-state.jsx +4 -0
- package/src/surfaces/admin/components/DropZone.d.ts +183 -0
- package/src/surfaces/admin/components/EmailField/examples/basic-usage.html +3 -0
- package/src/surfaces/admin/components/EmailField/examples/basic-usage.jsx +3 -0
- package/src/surfaces/admin/components/EmailField/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.html +7 -0
- package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.jsx +7 -0
- package/src/surfaces/admin/components/EmailField/examples/read-only-display.html +7 -0
- package/src/surfaces/admin/components/EmailField/examples/read-only-display.jsx +7 -0
- package/src/surfaces/admin/components/EmailField/examples/validation-example.jsx +21 -0
- package/src/surfaces/admin/components/EmailField/examples/with-error-and-help-text.html +8 -0
- package/src/surfaces/admin/components/EmailField/examples/with-error-and-help-text.jsx +8 -0
- package/src/surfaces/admin/components/EmailField/examples/with-length-constraints.html +8 -0
- package/src/surfaces/admin/components/EmailField/examples/with-length-constraints.jsx +8 -0
- package/src/surfaces/admin/components/EmailField.d.ts +1 -1
- package/src/surfaces/admin/components/Form/examples/default.jsx +6 -1
- package/src/surfaces/admin/components/Form.d.ts +1 -1
- package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
- package/src/surfaces/admin/components/Grid/examples/basic-two-column-layout.html +12 -0
- package/src/surfaces/admin/components/Grid/examples/basic-two-column-layout.jsx +12 -0
- package/src/surfaces/admin/components/Grid/examples/col-span-layouts.html +34 -0
- package/src/surfaces/admin/components/Grid/examples/col-span-layouts.jsx +34 -0
- package/src/surfaces/admin/components/Grid/examples/default.jsx +15 -0
- package/src/surfaces/admin/components/Grid/examples/mobile-first-responsive-grid.html +53 -0
- package/src/surfaces/admin/components/Grid/examples/mobile-first-responsive-grid.jsx +53 -0
- package/src/surfaces/admin/components/Grid.d.ts +10 -5
- package/src/surfaces/admin/components/GridItem.d.ts +7 -2
- package/src/surfaces/admin/components/Heading/examples/basic-heading.jsx +1 -0
- package/src/surfaces/admin/components/Heading/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/Heading/examples/heading-with-custom-accessibility.jsx +3 -0
- package/src/surfaces/admin/components/Heading/examples/heading-with-line-clamping.jsx +5 -0
- package/src/surfaces/admin/components/Heading/examples/heading-within-section-hierarchy.jsx +12 -0
- package/src/surfaces/admin/components/Heading.d.ts +13 -11
- package/src/surfaces/admin/components/Icon/examples/basic-usage.jsx +7 -0
- package/src/surfaces/admin/components/Icon/examples/default.html +6 -4
- package/src/surfaces/admin/components/Icon/examples/default.jsx +6 -0
- package/src/surfaces/admin/components/Icon/examples/in-badge-components.jsx +8 -0
- package/src/surfaces/admin/components/Icon/examples/in-button-components.jsx +8 -0
- package/src/surfaces/admin/components/Icon/examples/small-size.jsx +1 -0
- package/src/surfaces/admin/components/Icon/examples/subdued-color.jsx +1 -0
- package/src/surfaces/admin/components/Icon/examples/with-id-property.jsx +1 -0
- package/src/surfaces/admin/components/Icon/examples/with-interest-relationship.html +4 -1
- package/src/surfaces/admin/components/Icon/examples/with-interest-relationship.jsx +6 -0
- package/src/surfaces/admin/components/Icon/examples/with-semantic-tone.jsx +6 -0
- package/src/surfaces/admin/components/Icon.d.ts +1 -1
- package/src/surfaces/admin/components/Image/examples/auto-sized-image.html +1 -1
- package/src/surfaces/admin/components/Image/examples/auto-sized-image.jsx +5 -0
- package/src/surfaces/admin/components/Image/examples/basic-usage.html +4 -1
- package/src/surfaces/admin/components/Image/examples/basic-usage.jsx +1 -0
- package/src/surfaces/admin/components/Image/examples/decorative-image.html +1 -2
- package/src/surfaces/admin/components/Image/examples/decorative-image.jsx +6 -0
- package/src/surfaces/admin/components/Image/examples/default.jsx +6 -0
- package/src/surfaces/admin/components/Image/examples/responsive-images-with-srcset.html +3 -3
- package/src/surfaces/admin/components/Image/examples/responsive-images-with-srcset.jsx +9 -0
- package/src/surfaces/admin/components/Image/examples/responsive-layout-with-aspect-ratio.html +1 -1
- package/src/surfaces/admin/components/Image/examples/responsive-layout-with-aspect-ratio.jsx +7 -0
- package/src/surfaces/admin/components/Image/examples/with-border-styling.html +1 -1
- package/src/surfaces/admin/components/Image/examples/with-border-styling.jsx +12 -0
- package/src/surfaces/admin/components/Image/examples/within-layout-components.html +3 -3
- package/src/surfaces/admin/components/Image/examples/within-layout-components.jsx +26 -0
- package/src/surfaces/admin/components/Image.d.ts +1 -1
- package/src/surfaces/admin/components/Link/examples/basic-links-in-paragraph.html +3 -0
- package/src/surfaces/admin/components/Link/examples/basic-links-in-paragraph.jsx +3 -0
- package/src/surfaces/admin/components/Link/examples/critical-context-links.html +3 -0
- package/src/surfaces/admin/components/Link/examples/critical-context-links.jsx +3 -0
- package/src/surfaces/admin/components/Link/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/Link/examples/download-links.html +3 -0
- package/src/surfaces/admin/components/Link/examples/download-links.jsx +3 -0
- package/src/surfaces/admin/components/Link/examples/external-links.html +5 -0
- package/src/surfaces/admin/components/Link/examples/external-links.jsx +5 -0
- package/src/surfaces/admin/components/Link/examples/links-in-banner-context.html +5 -0
- package/src/surfaces/admin/components/Link/examples/links-in-banner-context.jsx +5 -0
- package/src/surfaces/admin/components/Link/examples/links-in-banner.html +6 -0
- package/src/surfaces/admin/components/Link/examples/links-in-banner.jsx +5 -0
- package/src/surfaces/admin/components/Link/examples/links-in-box-container.html +5 -0
- package/src/surfaces/admin/components/Link/examples/links-in-box-container.jsx +5 -0
- package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.html +3 -0
- package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.jsx +3 -0
- package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.html +3 -0
- package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.jsx +3 -0
- package/src/surfaces/admin/components/Link/examples/links-with-different-tones.html +25 -0
- package/src/surfaces/admin/components/Link/examples/links-with-different-tones.jsx +25 -0
- package/src/surfaces/admin/components/Link/examples/links-with-language-attribute.html +3 -0
- package/src/surfaces/admin/components/Link/examples/links-with-language-attribute.jsx +3 -0
- package/src/surfaces/admin/components/Link.d.ts +6 -2
- package/src/surfaces/admin/components/ListItem.d.ts +7 -2
- package/src/surfaces/admin/components/Menu/examples/basic-menu.html +7 -0
- package/src/surfaces/admin/components/Menu/examples/basic-menu.jsx +9 -0
- package/src/surfaces/admin/components/Menu/examples/customer-actions-menu.html +14 -0
- package/src/surfaces/admin/components/Menu/examples/customer-actions-menu.jsx +18 -0
- package/src/surfaces/admin/components/Menu/examples/default.jsx +11 -0
- package/src/surfaces/admin/components/Menu/examples/menu-with-icons.html +8 -0
- package/src/surfaces/admin/components/Menu/examples/menu-with-icons.jsx +14 -0
- package/src/surfaces/admin/components/Menu/examples/menu-with-links-and-disabled-items.html +9 -0
- package/src/surfaces/admin/components/Menu/examples/menu-with-links-and-disabled-items.jsx +13 -0
- package/src/surfaces/admin/components/Menu/examples/menu-with-sections.html +13 -0
- package/src/surfaces/admin/components/Menu/examples/menu-with-sections.jsx +15 -0
- package/src/surfaces/admin/components/Menu/examples/settings-menu.html +15 -0
- package/src/surfaces/admin/components/Menu/examples/settings-menu.jsx +19 -0
- package/src/surfaces/admin/components/Menu.d.ts +68 -12
- package/src/surfaces/admin/components/Modal/examples/basic-modal.html +9 -0
- package/src/surfaces/admin/components/Modal/examples/basic-modal.jsx +15 -0
- package/src/surfaces/admin/components/Modal/examples/confirmation-modal-with-actions.html +30 -0
- package/src/surfaces/admin/components/Modal/examples/confirmation-modal-with-actions.jsx +30 -0
- package/src/surfaces/admin/components/Modal/examples/default.html +5 -11
- package/src/surfaces/admin/components/Modal/examples/default.jsx +19 -0
- package/src/surfaces/admin/components/Modal/examples/different-modal-sizes.html +61 -0
- package/src/surfaces/admin/components/Modal/examples/different-modal-sizes.jsx +65 -0
- package/src/surfaces/admin/components/Modal/examples/form-modal.html +50 -0
- package/src/surfaces/admin/components/Modal/examples/form-modal.jsx +52 -0
- package/src/surfaces/admin/components/Modal/examples/modal-without-padding.html +20 -0
- package/src/surfaces/admin/components/Modal/examples/modal-without-padding.jsx +20 -0
- package/src/surfaces/admin/components/Modal.d.ts +106 -15
- package/src/surfaces/admin/components/MoneyField/examples/basic-field.html +6 -0
- package/src/surfaces/admin/components/MoneyField/examples/basic-field.jsx +6 -0
- package/src/surfaces/admin/components/MoneyField/examples/basic-usage.html +6 -0
- package/src/surfaces/admin/components/MoneyField/examples/basic-usage.jsx +6 -0
- package/src/surfaces/admin/components/MoneyField/examples/currency-formatting-with-form-integration.html +25 -0
- package/src/surfaces/admin/components/MoneyField/examples/currency-formatting-with-form-integration.jsx +25 -0
- package/src/surfaces/admin/components/MoneyField/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/MoneyField/examples/validation-example.jsx +23 -0
- package/src/surfaces/admin/components/MoneyField/examples/with-validation-limits.html +7 -0
- package/src/surfaces/admin/components/MoneyField/examples/with-validation-limits.jsx +7 -0
- package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/src/surfaces/admin/components/NumberField/examples/basic-usage.html +7 -0
- package/src/surfaces/admin/components/NumberField/examples/basic-usage.jsx +7 -0
- package/src/surfaces/admin/components/NumberField/examples/default.html +1 -1
- package/src/surfaces/admin/components/NumberField/examples/default.jsx +8 -0
- package/src/surfaces/admin/components/NumberField/examples/multiple-examples.html +29 -0
- package/src/surfaces/admin/components/NumberField/examples/multiple-examples.jsx +29 -0
- package/src/surfaces/admin/components/NumberField/examples/with-prefix-and-suffix.html +9 -0
- package/src/surfaces/admin/components/NumberField/examples/with-prefix-and-suffix.jsx +9 -0
- package/src/surfaces/admin/components/NumberField.d.ts +1 -1
- package/src/surfaces/admin/components/Option.d.ts +7 -2
- package/src/surfaces/admin/components/OptionGroup.d.ts +9 -2
- package/src/surfaces/admin/components/OrderedList/examples/basic-usage.html +5 -0
- package/src/surfaces/admin/components/OrderedList/examples/basic-usage.jsx +5 -0
- package/src/surfaces/admin/components/OrderedList/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.html +18 -0
- package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.jsx +18 -0
- package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.html +8 -0
- package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.jsx +8 -0
- package/src/surfaces/admin/components/OrderedList/examples/product-setup-instructions.html +13 -0
- package/src/surfaces/admin/components/OrderedList/examples/product-setup-instructions.jsx +13 -0
- package/src/surfaces/admin/components/OrderedList.d.ts +9 -2
- package/src/surfaces/admin/components/Page/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/Page/examples/large-inline-size-for-wide-content.html +33 -0
- package/src/surfaces/admin/components/Page/examples/large-inline-size-for-wide-content.jsx +33 -0
- package/src/surfaces/admin/components/Page/examples/page-with-heading.html +5 -0
- package/src/surfaces/admin/components/Page/examples/page-with-heading.jsx +5 -0
- package/src/surfaces/admin/components/Page/examples/small-inline-size-for-focused-content.html +9 -0
- package/src/surfaces/admin/components/Page/examples/small-inline-size-for-focused-content.jsx +9 -0
- package/src/surfaces/admin/components/Page.d.ts +8 -2
- package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.jsx +21 -0
- package/src/surfaces/admin/components/Paragraph/examples/basic-usage.jsx +3 -0
- package/src/surfaces/admin/components/Paragraph/examples/default.jsx +4 -0
- package/src/surfaces/admin/components/Paragraph/examples/line-clamping.jsx +8 -0
- package/src/surfaces/admin/components/Paragraph/examples/rtl-support.html +3 -1
- package/src/surfaces/admin/components/Paragraph/examples/rtl-support.jsx +3 -0
- package/src/surfaces/admin/components/Paragraph/examples/screen-reader-text.jsx +3 -0
- package/src/surfaces/admin/components/Paragraph/examples/tabular-numbers.jsx +3 -0
- package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.jsx +9 -0
- package/src/surfaces/admin/components/Paragraph.d.ts +7 -3
- package/src/surfaces/admin/components/PasswordField/examples/basic-usage.html +7 -0
- package/src/surfaces/admin/components/PasswordField/examples/basic-usage.jsx +7 -0
- package/src/surfaces/admin/components/PasswordField/examples/default.jsx +6 -0
- package/src/surfaces/admin/components/PasswordField/examples/in-form-layout.html +14 -0
- package/src/surfaces/admin/components/PasswordField/examples/in-form-layout.jsx +14 -0
- package/src/surfaces/admin/components/PasswordField/examples/with-error-state.html +7 -0
- package/src/surfaces/admin/components/PasswordField/examples/with-error-state.jsx +7 -0
- package/src/surfaces/admin/components/PasswordField/examples/with-helper-text.html +7 -0
- package/src/surfaces/admin/components/PasswordField/examples/with-helper-text.jsx +7 -0
- package/src/surfaces/admin/components/PasswordField/examples/with-password-strength-requirements.html +15 -0
- package/src/surfaces/admin/components/PasswordField/examples/with-password-strength-requirements.jsx +15 -0
- package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/src/surfaces/admin/components/Popover/examples/default.jsx +10 -0
- package/src/surfaces/admin/components/Popover/examples/inventory-stock-details.html +35 -0
- package/src/surfaces/admin/components/Popover/examples/inventory-stock-details.jsx +37 -0
- package/src/surfaces/admin/components/Popover/examples/notifications.html +34 -0
- package/src/surfaces/admin/components/Popover/examples/notifications.jsx +30 -0
- package/src/surfaces/admin/components/Popover/examples/table-display-options.html +21 -0
- package/src/surfaces/admin/components/Popover/examples/table-display-options.jsx +29 -0
- package/src/surfaces/admin/components/QueryContainer/examples/basic-usage.html +15 -0
- package/src/surfaces/admin/components/QueryContainer/examples/basic-usage.jsx +17 -0
- package/src/surfaces/admin/components/QueryContainer/examples/default.html +1 -1
- package/src/surfaces/admin/components/QueryContainer/examples/default.jsx +8 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +24 -3
- package/src/surfaces/admin/components/SearchField/examples/basic-usage.html +5 -0
- package/src/surfaces/admin/components/SearchField/examples/basic-usage.jsx +5 -0
- package/src/surfaces/admin/components/SearchField/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/SearchField/examples/disabled-state.html +6 -0
- package/src/surfaces/admin/components/SearchField/examples/disabled-state.jsx +6 -0
- package/src/surfaces/admin/components/SearchField/examples/with-character-limits.html +7 -0
- package/src/surfaces/admin/components/SearchField/examples/with-character-limits.jsx +7 -0
- package/src/surfaces/admin/components/SearchField/examples/with-error-state.html +6 -0
- package/src/surfaces/admin/components/SearchField/examples/with-error-state.jsx +6 -0
- package/src/surfaces/admin/components/SearchField.d.ts +1 -1
- package/src/surfaces/admin/components/Section/examples/default.jsx +3 -0
- package/src/surfaces/admin/components/Section/examples/full-width-content-layout.html +16 -0
- package/src/surfaces/admin/components/Section/examples/full-width-content-layout.jsx +18 -0
- package/src/surfaces/admin/components/Section/examples/nested-sections-with-visual-level-differences.html +23 -0
- package/src/surfaces/admin/components/Section/examples/nested-sections-with-visual-level-differences.jsx +23 -0
- package/src/surfaces/admin/components/Section/examples/section-with-accessibility-label.html +13 -0
- package/src/surfaces/admin/components/Section/examples/section-with-accessibility-label.jsx +13 -0
- package/src/surfaces/admin/components/Section/examples/top-level-section-with-form-elements.html +6 -0
- package/src/surfaces/admin/components/Section/examples/top-level-section-with-form-elements.jsx +5 -0
- package/src/surfaces/admin/components/Section.d.ts +7 -2
- package/src/surfaces/admin/components/Select/examples/basic-usage.html +7 -0
- package/src/surfaces/admin/components/Select/examples/basic-usage.jsx +7 -0
- package/src/surfaces/admin/components/Select/examples/default.html +1 -1
- package/src/surfaces/admin/components/Select/examples/default.jsx +9 -0
- package/src/surfaces/admin/components/Select/examples/disabled-state.html +6 -0
- package/src/surfaces/admin/components/Select/examples/disabled-state.jsx +6 -0
- package/src/surfaces/admin/components/Select/examples/with-error-state.html +10 -0
- package/src/surfaces/admin/components/Select/examples/with-error-state.jsx +10 -0
- package/src/surfaces/admin/components/Select/examples/with-icon.html +6 -0
- package/src/surfaces/admin/components/Select/examples/with-icon.jsx +6 -0
- package/src/surfaces/admin/components/Select/examples/with-option-groups.html +18 -0
- package/src/surfaces/admin/components/Select/examples/with-option-groups.jsx +18 -0
- package/src/surfaces/admin/components/Select/examples/with-placeholder.html +10 -0
- package/src/surfaces/admin/components/Select/examples/with-placeholder.jsx +10 -0
- package/src/surfaces/admin/components/Select.d.ts +8 -2
- package/src/surfaces/admin/components/Spinner/examples/basic-usage.html +1 -0
- package/src/surfaces/admin/components/Spinner/examples/basic-usage.jsx +1 -0
- package/src/surfaces/admin/components/Spinner/examples/default.jsx +1 -0
- package/src/surfaces/admin/components/Spinner/examples/inline-loading-with-text.html +4 -0
- package/src/surfaces/admin/components/Spinner/examples/inline-loading-with-text.jsx +4 -0
- package/src/surfaces/admin/components/Spinner/examples/loading-state-in-section.html +4 -0
- package/src/surfaces/admin/components/Spinner/examples/loading-state-in-section.jsx +4 -0
- package/src/surfaces/admin/components/Spinner.d.ts +1 -1
- package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.html +5 -0
- package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.jsx +5 -0
- package/src/surfaces/admin/components/Stack/examples/custom-alignment.html +5 -0
- package/src/surfaces/admin/components/Stack/examples/custom-alignment.jsx +5 -0
- package/src/surfaces/admin/components/Stack/examples/custom-spacing.html +18 -0
- package/src/surfaces/admin/components/Stack/examples/custom-spacing.jsx +18 -0
- package/src/surfaces/admin/components/Stack/examples/default.jsx +6 -0
- package/src/surfaces/admin/components/Stack/examples/inline-stack-horizontal.html +5 -0
- package/src/surfaces/admin/components/Stack/examples/inline-stack-horizontal.jsx +5 -0
- package/src/surfaces/admin/components/Stack/examples/responsive-stack-with-container-queries.html +23 -0
- package/src/surfaces/admin/components/Stack/examples/responsive-stack-with-container-queries.jsx +23 -0
- package/src/surfaces/admin/components/Stack.d.ts +10 -5
- package/src/surfaces/admin/components/StandardComponents.ts +3 -0
- package/src/surfaces/admin/components/Switch/examples/basic-switch.html +1 -0
- package/src/surfaces/admin/components/Switch/examples/basic-switch.jsx +1 -0
- package/src/surfaces/admin/components/Switch/examples/default.jsx +4 -0
- package/src/surfaces/admin/components/Switch/examples/disabled-switch.html +6 -0
- package/src/surfaces/admin/components/Switch/examples/disabled-switch.jsx +6 -0
- package/src/surfaces/admin/components/Switch/examples/form-integration.html +14 -0
- package/src/surfaces/admin/components/Switch/examples/form-integration.jsx +14 -0
- package/src/surfaces/admin/components/Switch/examples/hidden-label-for-accessibility.html +6 -0
- package/src/surfaces/admin/components/Switch/examples/hidden-label-for-accessibility.jsx +6 -0
- package/src/surfaces/admin/components/Switch/examples/settings-panel-with-stack.html +9 -0
- package/src/surfaces/admin/components/Switch/examples/settings-panel-with-stack.jsx +9 -0
- package/src/surfaces/admin/components/Switch/examples/switch-with-accessibility-label.html +5 -0
- package/src/surfaces/admin/components/Switch/examples/switch-with-accessibility-label.jsx +5 -0
- package/src/surfaces/admin/components/Switch/examples/with-details-and-error.html +9 -0
- package/src/surfaces/admin/components/Switch/examples/with-details-and-error.jsx +9 -0
- package/src/surfaces/admin/components/Switch.d.ts +1 -1
- package/src/surfaces/admin/components/Table/examples/basic-usage.html +37 -0
- package/src/surfaces/admin/components/Table/examples/basic-usage.jsx +37 -0
- package/src/surfaces/admin/components/Table/examples/default.html +30 -24
- package/src/surfaces/admin/components/Table/examples/default.jsx +30 -0
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.html +65 -0
- package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.jsx +65 -0
- package/src/surfaces/admin/components/Table/examples/list-variant.html +48 -0
- package/src/surfaces/admin/components/Table/examples/list-variant.jsx +44 -0
- package/src/surfaces/admin/components/Table/examples/with-loading-state.html +40 -0
- package/src/surfaces/admin/components/Table/examples/with-loading-state.jsx +40 -0
- package/src/surfaces/admin/components/Table/examples/with-pagination.html +27 -0
- package/src/surfaces/admin/components/Table/examples/with-pagination.jsx +27 -0
- package/src/surfaces/admin/components/Table.d.ts +35 -2
- package/src/surfaces/admin/components/TableBody.d.ts +7 -2
- package/src/surfaces/admin/components/TableCell.d.ts +7 -2
- package/src/surfaces/admin/components/TableHeader.d.ts +7 -2
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +7 -2
- package/src/surfaces/admin/components/TableRow.d.ts +7 -2
- package/src/surfaces/admin/components/Text/examples/accessibility-hidden-text.html +3 -1
- package/src/surfaces/admin/components/Text/examples/accessibility-hidden-text.jsx +3 -0
- package/src/surfaces/admin/components/Text/examples/basic-usage.html +3 -1
- package/src/surfaces/admin/components/Text/examples/basic-usage.jsx +3 -0
- package/src/surfaces/admin/components/Text/examples/default.html +4 -2
- package/src/surfaces/admin/components/Text/examples/default.jsx +4 -0
- package/src/surfaces/admin/components/Text/examples/interest-for-association.html +1 -1
- package/src/surfaces/admin/components/Text/examples/interest-for-association.jsx +8 -0
- package/src/surfaces/admin/components/Text/examples/right-to-left-text.html +3 -1
- package/src/surfaces/admin/components/Text/examples/right-to-left-text.jsx +3 -0
- package/src/surfaces/admin/components/Text/examples/semantic-address.html +3 -1
- package/src/surfaces/admin/components/Text/examples/semantic-address.jsx +3 -0
- package/src/surfaces/admin/components/Text/examples/status-tones.html +1 -1
- package/src/surfaces/admin/components/Text/examples/status-tones.jsx +5 -0
- package/src/surfaces/admin/components/Text/examples/strong-text.html +3 -1
- package/src/surfaces/admin/components/Text/examples/strong-text.jsx +3 -0
- package/src/surfaces/admin/components/Text/examples/subdued-color.html +3 -1
- package/src/surfaces/admin/components/Text/examples/subdued-color.jsx +3 -0
- package/src/surfaces/admin/components/Text/examples/tabular-numbers.html +3 -1
- package/src/surfaces/admin/components/Text/examples/tabular-numbers.jsx +3 -0
- package/src/surfaces/admin/components/Text.d.ts +7 -2
- package/src/surfaces/admin/components/TextArea/examples/basic-usage.html +5 -0
- package/src/surfaces/admin/components/TextArea/examples/basic-usage.jsx +5 -0
- package/src/surfaces/admin/components/TextArea/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/TextArea/examples/error-state.html +8 -0
- package/src/surfaces/admin/components/TextArea/examples/error-state.jsx +8 -0
- package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.html +7 -0
- package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.jsx +7 -0
- package/src/surfaces/admin/components/TextArea/examples/seo-meta-description-with-character-limit.html +8 -0
- package/src/surfaces/admin/components/TextArea/examples/seo-meta-description-with-character-limit.jsx +8 -0
- package/src/surfaces/admin/components/TextArea.d.ts +1 -1
- package/src/surfaces/admin/components/TextField/examples/basic-usage.html +1 -0
- package/src/surfaces/admin/components/TextField/examples/basic-usage.jsx +1 -0
- package/src/surfaces/admin/components/TextField/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.html +1 -0
- package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.jsx +1 -0
- package/src/surfaces/admin/components/TextField/examples/specific-error-messages-for-merchant-context.html +16 -0
- package/src/surfaces/admin/components/TextField/examples/specific-error-messages-for-merchant-context.jsx +16 -0
- package/src/surfaces/admin/components/TextField/examples/with-accessory.html +4 -0
- package/src/surfaces/admin/components/TextField/examples/with-accessory.jsx +6 -0
- package/src/surfaces/admin/components/TextField/examples/with-icon.html +5 -0
- package/src/surfaces/admin/components/TextField/examples/with-icon.jsx +5 -0
- package/src/surfaces/admin/components/TextField/examples/with-prefix-and-suffix.html +8 -0
- package/src/surfaces/admin/components/TextField/examples/with-prefix-and-suffix.jsx +11 -0
- package/src/surfaces/admin/components/TextField.d.ts +7 -2
- package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.html +1 -1
- package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.jsx +5 -0
- package/src/surfaces/admin/components/Thumbnail/examples/default.jsx +4 -0
- package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.html +3 -3
- package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.jsx +17 -0
- package/src/surfaces/admin/components/Thumbnail/examples/empty-state.jsx +1 -0
- package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.html +9 -6
- package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.jsx +13 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
- package/src/surfaces/admin/components/Tooltip/examples/basic-usage.html +4 -0
- package/src/surfaces/admin/components/Tooltip/examples/basic-usage.jsx +6 -0
- package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -2
- package/src/surfaces/admin/components/Tooltip/examples/default.jsx +6 -0
- package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.html +6 -0
- package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.jsx +8 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +52 -11
- package/src/surfaces/admin/components/URLField/examples/basic-usage.html +7 -0
- package/src/surfaces/admin/components/URLField/examples/basic-usage.jsx +7 -0
- package/src/surfaces/admin/components/URLField/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/URLField/examples/disabled-state.html +5 -0
- package/src/surfaces/admin/components/URLField/examples/disabled-state.jsx +5 -0
- package/src/surfaces/admin/components/URLField/examples/with-default-value.html +7 -0
- package/src/surfaces/admin/components/URLField/examples/with-default-value.jsx +7 -0
- package/src/surfaces/admin/components/URLField/examples/with-validation.html +7 -0
- package/src/surfaces/admin/components/URLField/examples/with-validation.jsx +7 -0
- package/src/surfaces/admin/components/URLField.d.ts +1 -1
- package/src/surfaces/admin/components/UnorderedList/examples/default.jsx +5 -0
- package/src/surfaces/admin/components/UnorderedList/examples/store-setup-checklist.html +24 -0
- package/src/surfaces/admin/components/UnorderedList/examples/store-setup-checklist.jsx +24 -0
- package/src/surfaces/admin/components/UnorderedList.d.ts +9 -2
- package/src/surfaces/admin/components/patterns/examples/accountConnection.jsx +20 -0
- package/src/surfaces/admin/components/patterns/examples/appCard.html +0 -1
- package/src/surfaces/admin/components/patterns/examples/appCard.jsx +29 -0
- package/src/surfaces/admin/components/patterns/examples/calloutCard.jsx +39 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +38 -42
- package/src/surfaces/admin/components/patterns/examples/emptyState.html +1 -0
- package/src/surfaces/admin/components/patterns/examples/emptyState.jsx +33 -0
- package/src/surfaces/admin/components/patterns/examples/footerHelp.html +3 -0
- package/src/surfaces/admin/components/patterns/examples/footerHelp.jsx +3 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +178 -166
- package/src/surfaces/admin/components/patterns/examples/index.html +1 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +31 -26
- package/src/surfaces/admin/components/patterns/examples/indexTable.html +3 -0
- package/src/surfaces/admin/components/patterns/examples/indexTable.jsx +140 -0
- package/src/surfaces/admin/components/patterns/examples/interstitialNav.jsx +55 -0
- package/src/surfaces/admin/components/patterns/examples/mediaCard.html +1 -1
- package/src/surfaces/admin/components/patterns/examples/mediaCard.jsx +28 -0
- package/src/surfaces/admin/components/patterns/examples/metricsCard.jsx +57 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList.html +58 -0
- package/src/surfaces/admin/components/patterns/examples/resourceList.jsx +58 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +21 -30
- package/src/surfaces/admin/components/patterns/examples/setupGuide.jsx +101 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +6 -6
- package/src/surfaces/admin/components/shared.d.ts +37 -4
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +2 -0
- package/src/surfaces/admin/components/using-polaris-web-components/examples/html-forms.html +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/property-vs-attribute-2.jsx +2 -0
- package/src/surfaces/admin/components.d.ts +164 -55
- package/src/surfaces/customer-account/api/order-status/order-status.ts +5 -5
- package/src/surfaces/customer-account/api/shared.ts +4 -6
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +2 -2
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +2 -2
- package/src/surfaces/customer-account/extension-targets.ts +2 -2
- package/src/surfaces/customer-account/preact/api.ts +0 -12
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +2 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +0 -65
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +0 -65
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +0 -65
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +0 -67
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +0 -67
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.25.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -166,11 +166,11 @@ export interface ExtendableEvent extends Event {
|
|
|
166
166
|
*/
|
|
167
167
|
waitUntil?: (promise: Promise<void>) => void;
|
|
168
168
|
}
|
|
169
|
-
interface AggregateError
|
|
169
|
+
export interface AggregateError<T extends Error> extends Error {
|
|
170
170
|
errors: T[];
|
|
171
171
|
}
|
|
172
172
|
export interface AggregateErrorEvent<T extends Error> extends ErrorEvent {
|
|
173
|
-
error: AggregateError
|
|
173
|
+
error: AggregateError<T>;
|
|
174
174
|
}
|
|
175
175
|
export type SizeKeyword =
|
|
176
176
|
| 'small-500'
|
|
@@ -278,6 +278,7 @@ declare const privateIconArray: readonly [
|
|
|
278
278
|
'arrow-up-right',
|
|
279
279
|
'arrows-in-horizontal',
|
|
280
280
|
'arrows-out-horizontal',
|
|
281
|
+
'asterisk',
|
|
281
282
|
'attachment',
|
|
282
283
|
'automation',
|
|
283
284
|
'backspace',
|
|
@@ -567,6 +568,7 @@ declare const privateIconArray: readonly [
|
|
|
567
568
|
'metaobject-list',
|
|
568
569
|
'metaobject-reference',
|
|
569
570
|
'microphone',
|
|
571
|
+
'microphone-muted',
|
|
570
572
|
'minimize',
|
|
571
573
|
'minus',
|
|
572
574
|
'minus-circle',
|
|
@@ -637,6 +639,8 @@ declare const privateIconArray: readonly [
|
|
|
637
639
|
'personalized-text',
|
|
638
640
|
'phablet',
|
|
639
641
|
'phone',
|
|
642
|
+
'phone-down',
|
|
643
|
+
'phone-down-filled',
|
|
640
644
|
'phone-in',
|
|
641
645
|
'phone-out',
|
|
642
646
|
'pin',
|
|
@@ -2023,7 +2027,10 @@ interface ClickableProps$1
|
|
|
2023
2027
|
*/
|
|
2024
2028
|
lang?: string;
|
|
2025
2029
|
}
|
|
2026
|
-
interface ClickableChipProps$1
|
|
2030
|
+
interface ClickableChipProps$1
|
|
2031
|
+
extends ChipProps$1,
|
|
2032
|
+
GlobalProps,
|
|
2033
|
+
InteractionProps {
|
|
2027
2034
|
/**
|
|
2028
2035
|
* Callback when the chip is clicked.
|
|
2029
2036
|
*/
|
|
@@ -2032,6 +2039,7 @@ interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
|
|
|
2032
2039
|
* The URL to link to.
|
|
2033
2040
|
*
|
|
2034
2041
|
* - If set, it will navigate to the location specified by `href` after executing the `click` event.
|
|
2042
|
+
* - If a `commandFor` is set, the `command` will be executed instead of the navigation.
|
|
2035
2043
|
*/
|
|
2036
2044
|
href?: string;
|
|
2037
2045
|
/**
|
|
@@ -3102,6 +3110,21 @@ interface NumberFieldProps$1
|
|
|
3102
3110
|
* @default 'decimal'
|
|
3103
3111
|
*/
|
|
3104
3112
|
inputMode?: 'decimal' | 'numeric';
|
|
3113
|
+
/**
|
|
3114
|
+
* Callback when the user has **finished editing** a field, e.g. once they have blurred
|
|
3115
|
+
* the field after changing the value.
|
|
3116
|
+
* Also fired after `onInput` on every step when interacting with the controls or the keyboard up and down arrows.
|
|
3117
|
+
*
|
|
3118
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
|
|
3119
|
+
*/
|
|
3120
|
+
onChange?: (event: Event) => void;
|
|
3121
|
+
/**
|
|
3122
|
+
* Callback when the user makes any changes in the field.
|
|
3123
|
+
* Also fired before `onChange` on every step when interacting with the controls or the keyboard up and down arrows.
|
|
3124
|
+
*
|
|
3125
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
|
|
3126
|
+
*/
|
|
3127
|
+
onInput?: (event: Event) => void;
|
|
3105
3128
|
}
|
|
3106
3129
|
export type NumberAutocompleteField = ExtractStrict<
|
|
3107
3130
|
AnyAutocompleteField,
|
|
@@ -3807,6 +3830,7 @@ type IconType$1 =
|
|
|
3807
3830
|
| 'arrow-up-right'
|
|
3808
3831
|
| 'arrows-in-horizontal'
|
|
3809
3832
|
| 'arrows-out-horizontal'
|
|
3833
|
+
| 'asterisk'
|
|
3810
3834
|
| 'attachment'
|
|
3811
3835
|
| 'automation'
|
|
3812
3836
|
| 'backspace'
|
|
@@ -3887,6 +3911,7 @@ type IconType$1 =
|
|
|
3887
3911
|
| 'clipboard-check'
|
|
3888
3912
|
| 'clipboard-checklist'
|
|
3889
3913
|
| 'clock'
|
|
3914
|
+
| 'clock-list'
|
|
3890
3915
|
| 'clock-revert'
|
|
3891
3916
|
| 'code'
|
|
3892
3917
|
| 'code-add'
|
|
@@ -4071,6 +4096,7 @@ type IconType$1 =
|
|
|
4071
4096
|
| 'metaobject-list'
|
|
4072
4097
|
| 'metaobject-reference'
|
|
4073
4098
|
| 'microphone'
|
|
4099
|
+
| 'microphone-muted'
|
|
4074
4100
|
| 'minimize'
|
|
4075
4101
|
| 'minus'
|
|
4076
4102
|
| 'minus-circle'
|
|
@@ -4082,6 +4108,7 @@ type IconType$1 =
|
|
|
4082
4108
|
| 'note'
|
|
4083
4109
|
| 'note-add'
|
|
4084
4110
|
| 'notification'
|
|
4111
|
+
| 'number-one'
|
|
4085
4112
|
| 'order'
|
|
4086
4113
|
| 'order-batches'
|
|
4087
4114
|
| 'order-draft'
|
|
@@ -4133,6 +4160,8 @@ type IconType$1 =
|
|
|
4133
4160
|
| 'person-segment'
|
|
4134
4161
|
| 'personalized-text'
|
|
4135
4162
|
| 'phone'
|
|
4163
|
+
| 'phone-down'
|
|
4164
|
+
| 'phone-down-filled'
|
|
4136
4165
|
| 'phone-in'
|
|
4137
4166
|
| 'phone-out'
|
|
4138
4167
|
| 'pin'
|
|
@@ -4160,6 +4189,7 @@ type IconType$1 =
|
|
|
4160
4189
|
| 'profile-filled'
|
|
4161
4190
|
| 'question-circle'
|
|
4162
4191
|
| 'question-circle-filled'
|
|
4192
|
+
| 'radio-control'
|
|
4163
4193
|
| 'receipt'
|
|
4164
4194
|
| 'receipt-dollar'
|
|
4165
4195
|
| 'receipt-euro'
|
|
@@ -4270,6 +4300,9 @@ type IconType$1 =
|
|
|
4270
4300
|
| 'unlock'
|
|
4271
4301
|
| 'upload'
|
|
4272
4302
|
| 'variant'
|
|
4303
|
+
| 'variant-list'
|
|
4304
|
+
| 'video'
|
|
4305
|
+
| 'video-list'
|
|
4273
4306
|
| 'view'
|
|
4274
4307
|
| 'viewport-narrow'
|
|
4275
4308
|
| 'viewport-short'
|
|
@@ -5178,6 +5211,15 @@ export interface ChoiceJSXProps
|
|
|
5178
5211
|
* any markup or element structure is ignored.
|
|
5179
5212
|
*/
|
|
5180
5213
|
children?: ComponentChildren;
|
|
5214
|
+
/**
|
|
5215
|
+
* Additional text to provide context or guidance for the input.
|
|
5216
|
+
*
|
|
5217
|
+
* This text is displayed along with the input and its label
|
|
5218
|
+
* to offer more information or instructions to the user.
|
|
5219
|
+
*
|
|
5220
|
+
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
5221
|
+
*/
|
|
5222
|
+
details?: ComponentChildren;
|
|
5181
5223
|
}
|
|
5182
5224
|
|
|
5183
5225
|
export interface ChoiceListProps
|
|
@@ -5318,11 +5360,18 @@ export interface ClickableChipProps
|
|
|
5318
5360
|
| 'hidden'
|
|
5319
5361
|
| 'href'
|
|
5320
5362
|
| 'disabled'
|
|
5363
|
+
| 'command'
|
|
5364
|
+
| 'commandFor'
|
|
5365
|
+
| 'interestFor'
|
|
5321
5366
|
>
|
|
5322
5367
|
> {}
|
|
5323
5368
|
|
|
5369
|
+
declare const ClickableChip_base: (abstract new (
|
|
5370
|
+
args_0: RenderImpl,
|
|
5371
|
+
) => PreactCustomElement & PreactOverlayControlProps) &
|
|
5372
|
+
Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
|
|
5324
5373
|
declare class ClickableChip
|
|
5325
|
-
extends
|
|
5374
|
+
extends ClickableChip_base
|
|
5326
5375
|
implements ClickableChipProps
|
|
5327
5376
|
{
|
|
5328
5377
|
accessor color: ClickableChipProps['color'];
|
|
@@ -5512,7 +5561,7 @@ declare global {
|
|
|
5512
5561
|
declare module 'preact' {
|
|
5513
5562
|
namespace createElement.JSX {
|
|
5514
5563
|
interface IntrinsicElements {
|
|
5515
|
-
[tagName$M]: ColorPickerJSXProps
|
|
5564
|
+
[tagName$M]: ColorPickerJSXProps & PreactBaseElementProps<ColorPicker>;
|
|
5516
5565
|
}
|
|
5517
5566
|
}
|
|
5518
5567
|
}
|
|
@@ -5565,7 +5614,7 @@ declare global {
|
|
|
5565
5614
|
declare module 'preact' {
|
|
5566
5615
|
namespace createElement.JSX {
|
|
5567
5616
|
interface IntrinsicElements {
|
|
5568
|
-
[tagName$L]: DateFieldJSXProps
|
|
5617
|
+
[tagName$L]: DateFieldJSXProps & PreactBaseElementProps<DateField>;
|
|
5569
5618
|
}
|
|
5570
5619
|
}
|
|
5571
5620
|
}
|
|
@@ -5746,7 +5795,8 @@ declare global {
|
|
|
5746
5795
|
declare module 'preact' {
|
|
5747
5796
|
namespace createElement.JSX {
|
|
5748
5797
|
interface IntrinsicElements {
|
|
5749
|
-
[tagName$I]: DropZoneJSXProps
|
|
5798
|
+
[tagName$I]: DropZoneJSXProps &
|
|
5799
|
+
PreactBaseElementPropsWithChildren<DropZone>;
|
|
5750
5800
|
}
|
|
5751
5801
|
}
|
|
5752
5802
|
}
|
|
@@ -5861,7 +5911,7 @@ export interface GridProps
|
|
|
5861
5911
|
* Adjust spacing between elements.
|
|
5862
5912
|
*
|
|
5863
5913
|
* `gap` can either accept:
|
|
5864
|
-
* - a single SpacingKeyword value applied to both axes (e.g. `large-100`)
|
|
5914
|
+
* - a single [SpacingKeyword](https://shopify.dev/docs/api/app-home/using-polaris-components#scale) value applied to both axes (e.g. `large-100`)
|
|
5865
5915
|
* - OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively
|
|
5866
5916
|
* - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
|
|
5867
5917
|
*
|
|
@@ -5873,7 +5923,7 @@ export interface GridProps
|
|
|
5873
5923
|
*
|
|
5874
5924
|
* This overrides the row value of `gap`.
|
|
5875
5925
|
* `rowGap` either accepts:
|
|
5876
|
-
* - a single SpacingKeyword value (e.g. `large-100`)
|
|
5926
|
+
* - a single [SpacingKeyword](https://shopify.dev/docs/api/app-home/using-polaris-components#scale) value (e.g. `large-100`)
|
|
5877
5927
|
* - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
|
|
5878
5928
|
*
|
|
5879
5929
|
* @default '' - meaning no override
|
|
@@ -5884,7 +5934,7 @@ export interface GridProps
|
|
|
5884
5934
|
*
|
|
5885
5935
|
* This overrides the column value of `gap`.
|
|
5886
5936
|
* `columnGap` either accepts:
|
|
5887
|
-
* - a single SpacingKeyword value (e.g. `large-100`)
|
|
5937
|
+
* - a single [SpacingKeyword](https://shopify.dev/docs/api/app-home/using-polaris-components#scale) value (e.g. `large-100`)
|
|
5888
5938
|
* - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
|
|
5889
5939
|
*
|
|
5890
5940
|
* @default '' - meaning no override
|
|
@@ -5984,16 +6034,13 @@ export interface GridItemJSXProps
|
|
|
5984
6034
|
children?: ComponentChildren;
|
|
5985
6035
|
}
|
|
5986
6036
|
|
|
5987
|
-
export type RequiredHeadingProps = Required<HeadingProps$1>;
|
|
5988
6037
|
export interface HeadingProps
|
|
5989
|
-
extends
|
|
5990
|
-
|
|
5991
|
-
|
|
5992
|
-
|
|
5993
|
-
|
|
5994
|
-
|
|
5995
|
-
lineClamp: RequiredHeadingProps['lineClamp'];
|
|
5996
|
-
}
|
|
6038
|
+
extends Required<
|
|
6039
|
+
Pick<
|
|
6040
|
+
HeadingProps$1,
|
|
6041
|
+
'accessibilityRole' | 'accessibilityVisibility' | 'lineClamp'
|
|
6042
|
+
>
|
|
6043
|
+
> {}
|
|
5997
6044
|
|
|
5998
6045
|
declare class Heading extends PreactCustomElement implements HeadingProps {
|
|
5999
6046
|
accessor accessibilityRole: HeadingProps['accessibilityRole'];
|
|
@@ -6208,10 +6255,6 @@ export interface MenuProps
|
|
|
6208
6255
|
* These symbols are used by components that implement overlay behavior
|
|
6209
6256
|
* (like Popover, Tooltip, Modal, etc.) to communicate with the overlay control system.
|
|
6210
6257
|
*/
|
|
6211
|
-
/**
|
|
6212
|
-
* Symbol used to invoke the method for overlay commands, e.g. `--show`, `--hide`, etc.
|
|
6213
|
-
*/
|
|
6214
|
-
declare const overlayCommand: unique symbol;
|
|
6215
6258
|
/**
|
|
6216
6259
|
* Symbol used to track the open or closed state of the overlay.
|
|
6217
6260
|
*/
|
|
@@ -6221,6 +6264,21 @@ declare const overlayHidden: unique symbol;
|
|
|
6221
6264
|
*/
|
|
6222
6265
|
declare const overlayActivator: unique symbol;
|
|
6223
6266
|
declare const overlayHideFrameId: unique symbol;
|
|
6267
|
+
export type PolyfillCommandEventInit = EventInit & {
|
|
6268
|
+
source: HTMLElement | null | undefined;
|
|
6269
|
+
command: PreactOverlayControlProps['command'];
|
|
6270
|
+
};
|
|
6271
|
+
export type PolyfillCommandEvent = Event & {
|
|
6272
|
+
source: PolyfillCommandEventInit['source'];
|
|
6273
|
+
command: PolyfillCommandEventInit['command'];
|
|
6274
|
+
/** Have to use `_s_shadowSource` because `source` is retargeted to the shadow host by browsers */
|
|
6275
|
+
_s_shadowSource: PolyfillCommandEventInit['source'];
|
|
6276
|
+
};
|
|
6277
|
+
declare global {
|
|
6278
|
+
interface GlobalEventHandlersEventMap {
|
|
6279
|
+
command: PolyfillCommandEvent;
|
|
6280
|
+
}
|
|
6281
|
+
}
|
|
6224
6282
|
|
|
6225
6283
|
declare class PreactOverlayElement extends PreactCustomElement {
|
|
6226
6284
|
constructor(renderImpl: RenderImpl);
|
|
@@ -6230,11 +6288,6 @@ declare class PreactOverlayElement extends PreactCustomElement {
|
|
|
6230
6288
|
[overlayActivator]: HTMLElement | null | undefined;
|
|
6231
6289
|
/** @private */
|
|
6232
6290
|
[overlayHideFrameId]?: number;
|
|
6233
|
-
/** @private */
|
|
6234
|
-
[overlayCommand](
|
|
6235
|
-
command: InteractionProps['command'],
|
|
6236
|
-
overlayActivatorEl: HTMLElement | null | undefined,
|
|
6237
|
-
): void;
|
|
6238
6291
|
}
|
|
6239
6292
|
|
|
6240
6293
|
declare class Menu extends PreactOverlayElement implements MenuProps {
|
|
@@ -6253,7 +6306,7 @@ declare global {
|
|
|
6253
6306
|
declare module 'preact' {
|
|
6254
6307
|
namespace createElement.JSX {
|
|
6255
6308
|
interface IntrinsicElements {
|
|
6256
|
-
[tagName$z]: MenuJSXProps
|
|
6309
|
+
[tagName$z]: MenuJSXProps & PreactBaseElementPropsWithChildren<Menu>;
|
|
6257
6310
|
}
|
|
6258
6311
|
}
|
|
6259
6312
|
}
|
|
@@ -6291,24 +6344,56 @@ export interface ModalProps
|
|
|
6291
6344
|
>;
|
|
6292
6345
|
}
|
|
6293
6346
|
|
|
6347
|
+
export interface Context<T> {
|
|
6348
|
+
readonly defaultValue: T;
|
|
6349
|
+
}
|
|
6294
6350
|
declare class AddedContext<T> extends EventTarget {
|
|
6295
6351
|
constructor(defaultValue: T);
|
|
6296
6352
|
get value(): T;
|
|
6297
6353
|
set value(value: T);
|
|
6298
6354
|
}
|
|
6299
6355
|
|
|
6356
|
+
/**
|
|
6357
|
+
* A callback which is provided by a context requester and is called with the value satisfying the request.
|
|
6358
|
+
* This callback can be called multiple times by context providers as the requested value is changed.
|
|
6359
|
+
*/
|
|
6360
|
+
export type ContextCallback<T> = (value: T) => void;
|
|
6361
|
+
/**
|
|
6362
|
+
* An event fired by a context requester to signal it desires a named context.
|
|
6363
|
+
*
|
|
6364
|
+
* A provider should inspect the `context` property of the event to determine if it has a value that can
|
|
6365
|
+
* satisfy the request, calling the `callback` with the requested value if so.
|
|
6366
|
+
*/
|
|
6367
|
+
declare class ContextRequestEvent<T> extends Event {
|
|
6368
|
+
readonly context: Context<T>;
|
|
6369
|
+
readonly callback: ContextCallback<T>;
|
|
6370
|
+
constructor(context: Context<T>, callback: ContextCallback<T>);
|
|
6371
|
+
}
|
|
6372
|
+
declare global {
|
|
6373
|
+
interface HTMLElementEventMap {
|
|
6374
|
+
/**
|
|
6375
|
+
* A 'context-request' event can be emitted by any element which desires
|
|
6376
|
+
* a context value to be injected by an external provider.
|
|
6377
|
+
*/
|
|
6378
|
+
'context-request': ContextRequestEvent<unknown>;
|
|
6379
|
+
}
|
|
6380
|
+
}
|
|
6381
|
+
|
|
6300
6382
|
declare const hasOpenChildModal: unique symbol;
|
|
6301
6383
|
|
|
6302
|
-
declare const open: unique symbol;
|
|
6303
6384
|
declare const show: unique symbol;
|
|
6304
6385
|
declare const hide: unique symbol;
|
|
6386
|
+
declare const isOpen: unique symbol;
|
|
6305
6387
|
declare const dialog: unique symbol;
|
|
6388
|
+
declare const dismiss: unique symbol;
|
|
6389
|
+
declare const focusedElement: unique symbol;
|
|
6306
6390
|
declare const onEscape: unique symbol;
|
|
6307
6391
|
declare const nestedModals: unique symbol;
|
|
6308
6392
|
declare const onBackdropClick: unique symbol;
|
|
6309
6393
|
declare const abortController: unique symbol;
|
|
6310
6394
|
declare const onChildModalChange: unique symbol;
|
|
6311
6395
|
declare const childrenRerenderObserver: unique symbol;
|
|
6396
|
+
declare const shadowDomRerenderObserver: unique symbol;
|
|
6312
6397
|
declare class Modal extends PreactOverlayElement implements ModalProps {
|
|
6313
6398
|
accessor accessibilityLabel: ModalProps['accessibilityLabel'];
|
|
6314
6399
|
accessor heading: ModalProps['heading'];
|
|
@@ -6319,17 +6404,23 @@ declare class Modal extends PreactOverlayElement implements ModalProps {
|
|
|
6319
6404
|
/** @private */
|
|
6320
6405
|
[dialog]: HTMLDialogElement | null;
|
|
6321
6406
|
/** @private */
|
|
6407
|
+
[focusedElement]: HTMLElement | null;
|
|
6408
|
+
/** @private */
|
|
6322
6409
|
[nestedModals]: Map<Modal, boolean>;
|
|
6323
6410
|
/** @private */
|
|
6324
6411
|
[childrenRerenderObserver]: MutationObserver;
|
|
6325
6412
|
/** @private */
|
|
6413
|
+
[shadowDomRerenderObserver]: MutationObserver;
|
|
6414
|
+
/** @private */
|
|
6326
6415
|
[onEscape]: (event: KeyboardEvent) => void;
|
|
6327
6416
|
/** @private */
|
|
6328
6417
|
[onBackdropClick]: (event: MouseEvent) => void;
|
|
6329
6418
|
/** @private */
|
|
6330
6419
|
[onChildModalChange]: EventListenerOrEventListenerObject;
|
|
6331
6420
|
/** @private */
|
|
6332
|
-
get [
|
|
6421
|
+
get [isOpen](): boolean;
|
|
6422
|
+
/** @private */
|
|
6423
|
+
[dismiss](): void;
|
|
6333
6424
|
/** @private */
|
|
6334
6425
|
get [hasOpenChildModal](): boolean;
|
|
6335
6426
|
/** @private */
|
|
@@ -6353,7 +6444,8 @@ declare global {
|
|
|
6353
6444
|
declare module 'preact' {
|
|
6354
6445
|
namespace createElement.JSX {
|
|
6355
6446
|
interface IntrinsicElements {
|
|
6356
|
-
[tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'
|
|
6447
|
+
[tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
6448
|
+
PreactBaseElementPropsWithChildren<Modal>;
|
|
6357
6449
|
}
|
|
6358
6450
|
}
|
|
6359
6451
|
}
|
|
@@ -6375,7 +6467,7 @@ export interface ModalJSXProps
|
|
|
6375
6467
|
/**
|
|
6376
6468
|
* The secondary actions to perform.
|
|
6377
6469
|
*
|
|
6378
|
-
* Only `
|
|
6470
|
+
* Only `Button` elements with a variant of `secondary` or `auto` are allowed.
|
|
6379
6471
|
*/
|
|
6380
6472
|
secondaryActions?: ComponentChildren;
|
|
6381
6473
|
onHide?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
|
|
@@ -6582,7 +6674,9 @@ declare class Page extends PreactCustomElement implements PageProps {
|
|
|
6582
6674
|
accessor inlineSize: PageProps['inlineSize'];
|
|
6583
6675
|
accessor heading: PageProps['heading'];
|
|
6584
6676
|
constructor();
|
|
6677
|
+
/** @private */
|
|
6585
6678
|
connectedCallback(): void;
|
|
6679
|
+
/** @private */
|
|
6586
6680
|
disconnectedCallback(): void;
|
|
6587
6681
|
}
|
|
6588
6682
|
declare global {
|
|
@@ -6650,7 +6744,6 @@ export interface ParagraphProps
|
|
|
6650
6744
|
>
|
|
6651
6745
|
> {
|
|
6652
6746
|
color: Extract<ParagraphProps$1['color'], 'base' | 'subdued'>;
|
|
6653
|
-
lineClamp: Extract<ParagraphProps$1['lineClamp'], number>;
|
|
6654
6747
|
}
|
|
6655
6748
|
|
|
6656
6749
|
declare class Paragraph extends PreactCustomElement implements ParagraphProps {
|
|
@@ -6822,7 +6915,8 @@ declare global {
|
|
|
6822
6915
|
declare module 'preact' {
|
|
6823
6916
|
namespace createElement.JSX {
|
|
6824
6917
|
interface IntrinsicElements {
|
|
6825
|
-
[tagName$o]: QueryContainerJSXProps
|
|
6918
|
+
[tagName$o]: QueryContainerJSXProps &
|
|
6919
|
+
PreactBaseElementPropsWithChildren<QueryContainer>;
|
|
6826
6920
|
}
|
|
6827
6921
|
}
|
|
6828
6922
|
}
|
|
@@ -7075,7 +7169,7 @@ export interface StackProps
|
|
|
7075
7169
|
* Adjust spacing between elements.
|
|
7076
7170
|
*
|
|
7077
7171
|
* `gap` can either accept:
|
|
7078
|
-
* - a single SpacingKeyword value applied to both axes (e.g. `large-100`)
|
|
7172
|
+
* - a single [SpacingKeyword](https://shopify.dev/docs/api/app-home/using-polaris-components#scale) value applied to both axes (e.g. `large-100`)
|
|
7079
7173
|
* - OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively
|
|
7080
7174
|
* - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
|
|
7081
7175
|
*
|
|
@@ -7087,7 +7181,7 @@ export interface StackProps
|
|
|
7087
7181
|
*
|
|
7088
7182
|
* This overrides the row value of `gap`.
|
|
7089
7183
|
* `rowGap` either accepts:
|
|
7090
|
-
* - a single SpacingKeyword value (e.g. `large-100`)
|
|
7184
|
+
* - a single [SpacingKeyword](https://shopify.dev/docs/api/app-home/using-polaris-components#scale) value (e.g. `large-100`)
|
|
7091
7185
|
* - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
|
|
7092
7186
|
*
|
|
7093
7187
|
* @default '' - meaning no override
|
|
@@ -7098,7 +7192,7 @@ export interface StackProps
|
|
|
7098
7192
|
*
|
|
7099
7193
|
* This overrides the column value of `gap`.
|
|
7100
7194
|
* `columnGap` either accepts:
|
|
7101
|
-
* - a single SpacingKeyword value (e.g. `large-100`)
|
|
7195
|
+
* - a single [SpacingKeyword](https://shopify.dev/docs/api/app-home/using-polaris-components#scale) value (e.g. `large-100`)
|
|
7102
7196
|
* - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
|
|
7103
7197
|
*
|
|
7104
7198
|
* @default '' - meaning no override
|
|
@@ -7545,7 +7639,7 @@ declare module 'preact' {
|
|
|
7545
7639
|
namespace createElement.JSX {
|
|
7546
7640
|
interface IntrinsicElements {
|
|
7547
7641
|
[tagName$9]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
7548
|
-
|
|
7642
|
+
PreactBaseElementPropsWithChildren<TextField>;
|
|
7549
7643
|
}
|
|
7550
7644
|
}
|
|
7551
7645
|
}
|
|
@@ -8103,6 +8197,15 @@ export interface ChoiceSlots {
|
|
|
8103
8197
|
* any markup or element structure is ignored.
|
|
8104
8198
|
*/
|
|
8105
8199
|
children?: HTMLElement;
|
|
8200
|
+
/**
|
|
8201
|
+
* Additional text to provide context or guidance for the input.
|
|
8202
|
+
*
|
|
8203
|
+
* This text is displayed along with the input and its label
|
|
8204
|
+
* to offer more information or instructions to the user.
|
|
8205
|
+
*
|
|
8206
|
+
* @implementation this content should be linked to the input with an `aria-describedby` attribute.
|
|
8207
|
+
*/
|
|
8208
|
+
details?: HTMLElement;
|
|
8106
8209
|
}
|
|
8107
8210
|
|
|
8108
8211
|
export interface ChoiceListEvents {
|
|
@@ -8274,7 +8377,7 @@ export interface ModalSlots {
|
|
|
8274
8377
|
/**
|
|
8275
8378
|
* The secondary actions to perform.
|
|
8276
8379
|
*
|
|
8277
|
-
* Only `
|
|
8380
|
+
* Only `Button` elements with a variant of `secondary` or `auto` are allowed.
|
|
8278
8381
|
*/
|
|
8279
8382
|
'secondary-actions'?: HTMLElement;
|
|
8280
8383
|
}
|
|
@@ -8793,28 +8896,28 @@ declare global {
|
|
|
8793
8896
|
declare module 'react' {
|
|
8794
8897
|
namespace JSX {
|
|
8795
8898
|
interface IntrinsicElements {
|
|
8796
|
-
[tagName$M]: ColorPickerJSXProps
|
|
8899
|
+
[tagName$M]: ColorPickerJSXProps & ReactBaseElementProps<ColorPicker>;
|
|
8797
8900
|
}
|
|
8798
8901
|
}
|
|
8799
8902
|
}
|
|
8800
8903
|
declare global {
|
|
8801
8904
|
namespace JSX {
|
|
8802
8905
|
interface IntrinsicElements {
|
|
8803
|
-
[tagName$M]: ColorPickerJSXProps
|
|
8906
|
+
[tagName$M]: ColorPickerJSXProps & ReactBaseElementProps<ColorPicker>;
|
|
8804
8907
|
}
|
|
8805
8908
|
}
|
|
8806
8909
|
}
|
|
8807
8910
|
declare module 'react' {
|
|
8808
8911
|
namespace JSX {
|
|
8809
8912
|
interface IntrinsicElements {
|
|
8810
|
-
[tagName$L]: DateFieldJSXProps
|
|
8913
|
+
[tagName$L]: DateFieldJSXProps & ReactBaseElementProps<DateField>;
|
|
8811
8914
|
}
|
|
8812
8915
|
}
|
|
8813
8916
|
}
|
|
8814
8917
|
declare global {
|
|
8815
8918
|
namespace JSX {
|
|
8816
8919
|
interface IntrinsicElements {
|
|
8817
|
-
[tagName$L]: DateFieldJSXProps
|
|
8920
|
+
[tagName$L]: DateFieldJSXProps & ReactBaseElementProps<DateField>;
|
|
8818
8921
|
}
|
|
8819
8922
|
}
|
|
8820
8923
|
}
|
|
@@ -8849,14 +8952,16 @@ declare global {
|
|
|
8849
8952
|
declare module 'react' {
|
|
8850
8953
|
namespace JSX {
|
|
8851
8954
|
interface IntrinsicElements {
|
|
8852
|
-
[tagName$I]: DropZoneJSXProps
|
|
8955
|
+
[tagName$I]: DropZoneJSXProps &
|
|
8956
|
+
ReactBaseElementPropsWithChildren<DropZone>;
|
|
8853
8957
|
}
|
|
8854
8958
|
}
|
|
8855
8959
|
}
|
|
8856
8960
|
declare global {
|
|
8857
8961
|
namespace JSX {
|
|
8858
8962
|
interface IntrinsicElements {
|
|
8859
|
-
[tagName$I]: DropZoneJSXProps
|
|
8963
|
+
[tagName$I]: DropZoneJSXProps &
|
|
8964
|
+
ReactBaseElementPropsWithChildren<DropZone>;
|
|
8860
8965
|
}
|
|
8861
8966
|
}
|
|
8862
8967
|
}
|
|
@@ -8979,28 +9084,30 @@ declare global {
|
|
|
8979
9084
|
declare module 'react' {
|
|
8980
9085
|
namespace JSX {
|
|
8981
9086
|
interface IntrinsicElements {
|
|
8982
|
-
[tagName$z]: MenuJSXProps
|
|
9087
|
+
[tagName$z]: MenuJSXProps & ReactBaseElementPropsWithChildren<Menu>;
|
|
8983
9088
|
}
|
|
8984
9089
|
}
|
|
8985
9090
|
}
|
|
8986
9091
|
declare global {
|
|
8987
9092
|
namespace JSX {
|
|
8988
9093
|
interface IntrinsicElements {
|
|
8989
|
-
[tagName$z]: MenuJSXProps
|
|
9094
|
+
[tagName$z]: MenuJSXProps & ReactBaseElementPropsWithChildren<Menu>;
|
|
8990
9095
|
}
|
|
8991
9096
|
}
|
|
8992
9097
|
}
|
|
8993
9098
|
declare module 'react' {
|
|
8994
9099
|
namespace JSX {
|
|
8995
9100
|
interface IntrinsicElements {
|
|
8996
|
-
[tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'
|
|
9101
|
+
[tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
9102
|
+
ReactBaseElementPropsWithChildren<Modal>;
|
|
8997
9103
|
}
|
|
8998
9104
|
}
|
|
8999
9105
|
}
|
|
9000
9106
|
declare global {
|
|
9001
9107
|
namespace JSX {
|
|
9002
9108
|
interface IntrinsicElements {
|
|
9003
|
-
[tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'
|
|
9109
|
+
[tagName$y]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
|
|
9110
|
+
ReactBaseElementPropsWithChildren<Modal>;
|
|
9004
9111
|
}
|
|
9005
9112
|
}
|
|
9006
9113
|
}
|
|
@@ -9147,14 +9254,16 @@ declare global {
|
|
|
9147
9254
|
declare module 'react' {
|
|
9148
9255
|
namespace JSX {
|
|
9149
9256
|
interface IntrinsicElements {
|
|
9150
|
-
[tagName$o]: QueryContainerJSXProps
|
|
9257
|
+
[tagName$o]: QueryContainerJSXProps &
|
|
9258
|
+
ReactBaseElementPropsWithChildren<QueryContainer>;
|
|
9151
9259
|
}
|
|
9152
9260
|
}
|
|
9153
9261
|
}
|
|
9154
9262
|
declare global {
|
|
9155
9263
|
namespace JSX {
|
|
9156
9264
|
interface IntrinsicElements {
|
|
9157
|
-
[tagName$o]: QueryContainerJSXProps
|
|
9265
|
+
[tagName$o]: QueryContainerJSXProps &
|
|
9266
|
+
ReactBaseElementPropsWithChildren<QueryContainer>;
|
|
9158
9267
|
}
|
|
9159
9268
|
}
|
|
9160
9269
|
}
|
|
@@ -9370,7 +9479,7 @@ declare module 'react' {
|
|
|
9370
9479
|
namespace JSX {
|
|
9371
9480
|
interface IntrinsicElements {
|
|
9372
9481
|
[tagName$9]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
9373
|
-
|
|
9482
|
+
ReactBaseElementPropsWithChildren<TextField>;
|
|
9374
9483
|
}
|
|
9375
9484
|
}
|
|
9376
9485
|
}
|
|
@@ -9378,7 +9487,7 @@ declare global {
|
|
|
9378
9487
|
namespace JSX {
|
|
9379
9488
|
interface IntrinsicElements {
|
|
9380
9489
|
[tagName$9]: Omit<TextFieldJSXProps, 'accessory'> &
|
|
9381
|
-
|
|
9490
|
+
ReactBaseElementPropsWithChildren<TextField>;
|
|
9382
9491
|
}
|
|
9383
9492
|
}
|
|
9384
9493
|
}
|
|
@@ -190,7 +190,7 @@ export interface OrderStatusApi<Target extends ExtensionTarget> {
|
|
|
190
190
|
|
|
191
191
|
/**
|
|
192
192
|
* The metafields requested in the
|
|
193
|
-
* [`shopify.ui.extension.toml`](https://shopify.dev/docs/api/
|
|
193
|
+
* [`shopify.ui.extension.toml`](https://shopify.dev/docs/api/customer-account-ui-extensions/configuration)
|
|
194
194
|
* file. These metafields are updated when there's a change in the merchandise items
|
|
195
195
|
* being purchased by the customer.
|
|
196
196
|
*
|
|
@@ -241,7 +241,7 @@ export interface OrderStatusApi<Target extends ExtensionTarget> {
|
|
|
241
241
|
* extension’s configuration file.
|
|
242
242
|
*
|
|
243
243
|
* @example 'customer-account.order-status.block.render'
|
|
244
|
-
* @see https://shopify.dev/docs/api/
|
|
244
|
+
* @see https://shopify.dev/docs/api/customer-account-ui-extensions/extension-targets-overview
|
|
245
245
|
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
246
246
|
*
|
|
247
247
|
* @deprecated Deprecated as of version `2023-07`, use `extension.target` instead.
|
|
@@ -256,7 +256,7 @@ export interface OrderStatusApi<Target extends ExtensionTarget> {
|
|
|
256
256
|
/**
|
|
257
257
|
* Details about the location, language, and currency of the buyer. For utilities to easily
|
|
258
258
|
* format and translate content based on these details, you can use the
|
|
259
|
-
* [`i18n`](https://shopify.dev/docs/api/
|
|
259
|
+
* [`i18n`](https://shopify.dev/docs/api/customer-account-ui-extensions/apis/localization)
|
|
260
260
|
* object instead.
|
|
261
261
|
*/
|
|
262
262
|
localization: OrderStatusLocalization;
|
|
@@ -751,7 +751,7 @@ export interface SelectedPaymentOption {
|
|
|
751
751
|
/**
|
|
752
752
|
* The unique handle referencing `PaymentOption.handle`.
|
|
753
753
|
*
|
|
754
|
-
* See [availablePaymentOptions](https://shopify.dev/docs/api/checkout-ui-extensions/apis/standardapi
|
|
754
|
+
* See [availablePaymentOptions](https://shopify.dev/docs/api/checkout-ui-extensions/apis/payments#standardapi-propertydetail-selectedpaymentoptions).
|
|
755
755
|
*/
|
|
756
756
|
handle: string;
|
|
757
757
|
}
|
|
@@ -918,7 +918,7 @@ export interface PaymentTermsTemplate {
|
|
|
918
918
|
*/
|
|
919
919
|
id: string;
|
|
920
920
|
/**
|
|
921
|
-
* The name of the payment terms translated to the buyer's current language. See [localization.language](https://shopify.dev/docs/api/
|
|
921
|
+
* The name of the payment terms translated to the buyer's current language. See [localization.language](https://shopify.dev/docs/api/customer-account-ui-extensions/apis/localization#standardapi-propertydetail-localization).
|
|
922
922
|
*/
|
|
923
923
|
name: string;
|
|
924
924
|
/**
|
|
@@ -156,13 +156,11 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
156
156
|
|
|
157
157
|
/**
|
|
158
158
|
* The allowed capabilities of the extension, defined
|
|
159
|
-
* in your [shopify.ui.extension.toml](https://shopify.dev/docs/api/
|
|
159
|
+
* in your [shopify.ui.extension.toml](https://shopify.dev/docs/api/customer-account-ui-extensions/configuration) file.
|
|
160
160
|
*
|
|
161
|
-
* * [`api_access`](https://shopify.dev/docs/api/
|
|
161
|
+
* * [`api_access`](https://shopify.dev/docs/api/customer-account-ui-extensions/configuration#api-access): the extension can access the Storefront API.
|
|
162
162
|
*
|
|
163
|
-
* * [`network_access`](https://shopify.dev/docs/api/
|
|
164
|
-
*
|
|
165
|
-
* * [`block_progress`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress): the extension can block a buyer's progress and the merchant has allowed this blocking behavior.
|
|
163
|
+
* * [`network_access`](https://shopify.dev/docs/api/customer-account-ui-extensions/configuration#network-access): the extension can make external network calls.
|
|
166
164
|
*/
|
|
167
165
|
capabilities: SubscribableSignalLike<Capability[]>;
|
|
168
166
|
|
|
@@ -197,7 +195,7 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
|
|
|
197
195
|
* extension’s configuration file.
|
|
198
196
|
*
|
|
199
197
|
* @example 'customer-account.order-status.block.render'
|
|
200
|
-
* @see https://shopify.dev/docs/api/
|
|
198
|
+
* @see https://shopify.dev/docs/api/customer-account-ui-extensions/extension-targets-overview
|
|
201
199
|
* @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
|
|
202
200
|
*/
|
|
203
201
|
target: Target;
|