@shopify/ui-extensions 2026.4.0-rc.3 → 2026.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +2 -0
- package/build/cjs/surfaces/checkout/preact/app-metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/attributes.js +3 -0
- package/build/cjs/surfaces/checkout/preact/billing-address.js +1 -0
- package/build/cjs/surfaces/checkout/preact/buyer-identity.js +4 -0
- package/build/cjs/surfaces/checkout/preact/buyer-journey.js +5 -0
- package/build/cjs/surfaces/checkout/preact/capabilities.js +2 -0
- package/build/cjs/surfaces/checkout/preact/cart-line-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cart-lines.js +2 -0
- package/build/cjs/surfaces/checkout/preact/checkout-settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/checkout-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cost.js +4 -0
- package/build/cjs/surfaces/checkout/preact/country.js +1 -0
- package/build/cjs/surfaces/checkout/preact/currency.js +1 -0
- package/build/cjs/surfaces/checkout/preact/customer-privacy.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-list-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-selection-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/discounts.js +3 -0
- package/build/cjs/surfaces/checkout/preact/extension-editor.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension-language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension.js +2 -0
- package/build/cjs/surfaces/checkout/preact/gift-cards.js +2 -0
- package/build/cjs/surfaces/checkout/preact/instructions.js +1 -0
- package/build/cjs/surfaces/checkout/preact/language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/localized-fields.js +2 -0
- package/build/cjs/surfaces/checkout/preact/market.js +1 -0
- package/build/cjs/surfaces/checkout/preact/metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/note.js +2 -0
- package/build/cjs/surfaces/checkout/preact/payment-method.js +3 -0
- package/build/cjs/surfaces/checkout/preact/payment-options.js +2 -0
- package/build/cjs/surfaces/checkout/preact/pickup-location-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/redeemable.js +1 -0
- package/build/cjs/surfaces/checkout/preact/session-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shipping-address.js +2 -0
- package/build/cjs/surfaces/checkout/preact/shipping-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shop.js +1 -0
- package/build/cjs/surfaces/checkout/preact/storage.js +1 -0
- package/build/cjs/surfaces/checkout/preact/subscription.js +1 -0
- package/build/cjs/surfaces/checkout/preact/target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/timezone.js +1 -0
- package/build/cjs/surfaces/checkout/preact/translate.js +1 -0
- package/build/cjs/surfaces/checkout/shared.js +3 -16
- package/build/cjs/surfaces/checkout/style/style.js +1 -0
- package/build/cjs/surfaces/point-of-sale/types/storage.js +4 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/app-metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/billing-address.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/buyer-identity.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +5 -0
- package/build/esm/surfaces/checkout/preact/capabilities.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/cart-line-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cart-lines.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/checkout-settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/checkout-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cost.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/country.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/currency.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/customer-privacy.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-list-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-selection-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/discounts.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/extension-editor.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension-language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/gift-cards.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/instructions.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/localized-fields.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/market.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/note.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/payment-method.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/payment-options.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/pickup-location-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/redeemable.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/session-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shipping-address.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/shipping-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shop.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/storage.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/subscription.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/timezone.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/translate.mjs +1 -0
- package/build/esm/surfaces/checkout/shared.mjs +3 -16
- package/build/esm/surfaces/checkout/style/style.mjs +1 -0
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +4 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/app-metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/billing-address.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/buyer-identity.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +5 -0
- package/build/esnext/surfaces/checkout/preact/capabilities.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/cart-line-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cart-lines.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/checkout-settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/checkout-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cost.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/country.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/currency.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/customer-privacy.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-list-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-selection-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/discounts.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/extension-editor.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension-language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/gift-cards.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/instructions.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/localized-fields.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/market.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/note.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/payment-method.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/payment-options.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/pickup-location-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/redeemable.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/session-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shipping-address.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/shipping-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shop.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/storage.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/timezone.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/translate.esnext +1 -0
- package/build/esnext/surfaces/checkout/shared.esnext +3 -16
- package/build/esnext/surfaces/checkout/style/style.esnext +1 -0
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +4 -0
- package/build/ts/shared.d.ts +32 -12
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +2 -0
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +7 -4
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +3 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +7 -3
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/generated/generated.d.ts +62 -0
- package/build/ts/surfaces/admin/api/generated/generated.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts +24 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +44 -8
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +5 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +8 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +1 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/picker/picker.d.ts +15 -7
- package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +36 -17
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/shared.d.ts +2 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts +3 -0
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +4 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +4 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +2 -0
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Banner.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Box.d.ts +14 -0
- package/build/ts/surfaces/admin/components/Button.d.ts +14 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -2
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Clickable.d.ts +16 -4
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +11 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +7 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +8 -4
- package/build/ts/surfaces/admin/components/EmailField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Form.d.ts +10 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +16 -0
- package/build/ts/surfaces/admin/components/GridItem.d.ts +15 -0
- package/build/ts/surfaces/admin/components/Heading.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Icon.d.ts +6 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +15 -0
- package/build/ts/surfaces/admin/components/Link.d.ts +13 -3
- package/build/ts/surfaces/admin/components/ListItem.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +8 -4
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/build/ts/surfaces/admin/components/NumberField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Option.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Page.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +13 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Select.d.ts +14 -2
- package/build/ts/surfaces/admin/components/Spinner.d.ts +7 -0
- package/build/ts/surfaces/admin/components/Stack.d.ts +16 -0
- package/build/ts/surfaces/admin/components/Switch.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +15 -0
- package/build/ts/surfaces/admin/components/TableBody.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableCell.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -0
- package/build/ts/surfaces/admin/components/TextArea.d.ts +12 -0
- package/build/ts/surfaces/admin/components/TextField.d.ts +13 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +267 -0
- package/build/ts/surfaces/admin/extension-targets.d.ts +8 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +61 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +3 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +2 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +1 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +5 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +258 -122
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +33 -6
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +12 -5
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +79 -31
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +6 -4
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +18 -12
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +659 -425
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/checkout/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/checkout/components/Box.d.ts +50 -0
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -3
- package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/checkout/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/checkout/components/Details.d.ts +13 -8
- package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Form.d.ts +9 -1
- package/build/ts/surfaces/checkout/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/checkout/components/Heading.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/checkout/components/Image.d.ts +43 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -3
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Option.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +27 -0
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +55 -0
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/checkout/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Text.d.ts +18 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/checkout/components/components.d.ts +575 -297
- package/build/ts/surfaces/checkout/extension-targets.d.ts +13 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +1 -0
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +5 -0
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cost.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/cost.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/country.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/currency.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/currency.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/discounts.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/discounts.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/instructions.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/instructions.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/market.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/note.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/note.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/session-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/session-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shop.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shop.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/storage.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/storage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/timezone.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/timezone.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/translate.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/translate.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +11 -19
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +1 -0
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/types.d.ts +20 -8
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +3 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +239 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +453 -296
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +209 -138
- 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 +84 -68
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/customer-account/components/Box.d.ts +50 -0
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -3
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/customer-account/components/Details.d.ts +13 -8
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Form.d.ts +9 -1
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/customer-account/components/Image.d.ts +43 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -3
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +36 -8
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Option.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +27 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +55 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Text.d.ts +18 -1
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/customer-account/components/components.d.ts +575 -297
- package/build/ts/surfaces/customer-account/components/shared.d.ts +23 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +23 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +8 -0
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +12 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +3 -2
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/shared.ts +32 -12
- package/src/surfaces/admin/api/action/action.ts +1 -0
- package/src/surfaces/admin/api/block/block.ts +2 -0
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +7 -3
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +13 -6
- package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +3 -0
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +1 -0
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +7 -2
- package/src/surfaces/admin/api/discount-function-settings/metafields.ts +13 -6
- package/src/surfaces/admin/api/generated/generated.ts +76 -0
- package/src/surfaces/admin/api/intents/intent-render.ts +26 -0
- package/src/surfaces/admin/api/intents/intents.ts +49 -8
- package/src/surfaces/admin/api/order-routing-rule/data.ts +5 -2
- package/src/surfaces/admin/api/order-routing-rule/metafields.ts +8 -3
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +1 -0
- package/src/surfaces/admin/api/picker/picker.ts +15 -6
- package/src/surfaces/admin/api/print-action/print-action.ts +1 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/purchase-options-card-action.ts +1 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.ts +36 -17
- package/src/surfaces/admin/api/shared.ts +2 -0
- package/src/surfaces/admin/api/standard/standard-rendering.ts +3 -0
- package/src/surfaces/admin/api/standard/standard.ts +4 -1
- package/src/surfaces/admin/api/standard/storage.ts +4 -0
- package/src/surfaces/admin/api.ts +7 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/src/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -0
- package/src/surfaces/admin/components/Badge.d.ts +9 -0
- package/src/surfaces/admin/components/Banner.d.ts +11 -0
- package/src/surfaces/admin/components/Box.d.ts +14 -0
- package/src/surfaces/admin/components/Button.d.ts +14 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/src/surfaces/admin/components/Chip.d.ts +4 -2
- package/src/surfaces/admin/components/Choice.d.ts +10 -2
- package/src/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/src/surfaces/admin/components/Clickable.d.ts +16 -4
- package/src/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/src/surfaces/admin/components/ColorField.d.ts +12 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/src/surfaces/admin/components/DateField.d.ts +11 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/src/surfaces/admin/components/Divider.d.ts +7 -0
- package/src/surfaces/admin/components/DropZone.d.ts +8 -4
- package/src/surfaces/admin/components/EmailField.d.ts +12 -0
- package/src/surfaces/admin/components/Form.d.ts +10 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/src/surfaces/admin/components/Grid.d.ts +16 -0
- package/src/surfaces/admin/components/GridItem.d.ts +15 -0
- package/src/surfaces/admin/components/Heading.d.ts +8 -0
- package/src/surfaces/admin/components/Icon.d.ts +6 -3
- package/src/surfaces/admin/components/Image.d.ts +15 -0
- package/src/surfaces/admin/components/Link.d.ts +13 -3
- package/src/surfaces/admin/components/ListItem.d.ts +8 -0
- package/src/surfaces/admin/components/Menu.d.ts +11 -0
- package/src/surfaces/admin/components/Modal.d.ts +8 -4
- package/src/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/src/surfaces/admin/components/NumberField.d.ts +12 -0
- package/src/surfaces/admin/components/Option.d.ts +10 -2
- package/src/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/src/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/src/surfaces/admin/components/Page.d.ts +4 -2
- package/src/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/src/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/src/surfaces/admin/components/SearchField.d.ts +13 -1
- package/src/surfaces/admin/components/Section.d.ts +9 -0
- package/src/surfaces/admin/components/Select.d.ts +14 -2
- package/src/surfaces/admin/components/Spinner.d.ts +7 -0
- package/src/surfaces/admin/components/Stack.d.ts +16 -0
- package/src/surfaces/admin/components/Switch.d.ts +12 -1
- package/src/surfaces/admin/components/Table.d.ts +15 -0
- package/src/surfaces/admin/components/TableBody.d.ts +8 -0
- package/src/surfaces/admin/components/TableCell.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/src/surfaces/admin/components/TableRow.d.ts +8 -0
- package/src/surfaces/admin/components/Text.d.ts +19 -0
- package/src/surfaces/admin/components/TextArea.d.ts +12 -0
- package/src/surfaces/admin/components/TextField.d.ts +13 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/src/surfaces/admin/components/URLField.d.ts +12 -0
- package/src/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/src/surfaces/admin/components/shared.d.ts +267 -0
- package/src/surfaces/admin/components.d.ts +700 -0
- package/src/surfaces/admin/extension-targets.ts +12 -0
- package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +2 -0
- package/src/surfaces/checkout/api/address-autocomplete/shared.ts +3 -0
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +2 -1
- package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +2 -0
- package/src/surfaces/checkout/api/announcement/announcement.ts +1 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +5 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +258 -122
- package/src/surfaces/checkout/api/docs.ts +34 -1
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +12 -5
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +7 -0
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +4 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +4 -1
- package/src/surfaces/checkout/api/redeemable/redeemable.ts +7 -0
- package/src/surfaces/checkout/api/shared.ts +79 -31
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +6 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +18 -12
- package/src/surfaces/checkout/api/standard/standard.ts +661 -425
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/src/surfaces/checkout/components/Badge.d.ts +44 -3
- package/src/surfaces/checkout/components/Banner.d.ts +60 -9
- package/src/surfaces/checkout/components/Box.d.ts +50 -0
- package/src/surfaces/checkout/components/Button.d.ts +10 -3
- package/src/surfaces/checkout/components/Chat.d.ts +20 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/src/surfaces/checkout/components/Chip.d.ts +3 -3
- package/src/surfaces/checkout/components/Choice.d.ts +2 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/src/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/src/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/src/surfaces/checkout/components/DateField.d.ts +24 -6
- package/src/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/src/surfaces/checkout/components/Details.d.ts +13 -8
- package/src/surfaces/checkout/components/Divider.d.ts +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/src/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/src/surfaces/checkout/components/Form.d.ts +9 -1
- package/src/surfaces/checkout/components/Grid.d.ts +137 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/src/surfaces/checkout/components/Heading.d.ts +1 -0
- package/src/surfaces/checkout/components/Icon.d.ts +49 -4
- package/src/surfaces/checkout/components/Image.d.ts +43 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -3
- package/src/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/src/surfaces/checkout/components/Map.d.ts +68 -6
- package/src/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/src/surfaces/checkout/components/Modal.d.ts +52 -8
- package/src/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/src/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/src/surfaces/checkout/components/Option.d.ts +1 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/src/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/src/surfaces/checkout/components/Popover.d.ts +39 -22
- package/src/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/src/surfaces/checkout/components/Progress.d.ts +27 -0
- package/src/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/src/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +55 -0
- package/src/surfaces/checkout/components/Section.d.ts +4 -0
- package/src/surfaces/checkout/components/Select.d.ts +14 -6
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/src/surfaces/checkout/components/Stack.d.ts +110 -0
- package/src/surfaces/checkout/components/Summary.d.ts +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +10 -2
- package/src/surfaces/checkout/components/Text.d.ts +18 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/src/surfaces/checkout/components/TextField.d.ts +18 -10
- package/src/surfaces/checkout/components/Time.d.ts +1 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/src/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/src/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/src/surfaces/checkout/components/components.d.ts +575 -297
- package/src/surfaces/checkout/extension-targets.ts +13 -0
- package/src/surfaces/checkout/globals.ts +1 -0
- package/src/surfaces/checkout/preact/api.ts +2 -0
- package/src/surfaces/checkout/preact/app-metafields.ts +1 -0
- package/src/surfaces/checkout/preact/attributes.ts +3 -0
- package/src/surfaces/checkout/preact/billing-address.ts +1 -0
- package/src/surfaces/checkout/preact/buyer-identity.ts +4 -0
- package/src/surfaces/checkout/preact/buyer-journey.ts +5 -0
- package/src/surfaces/checkout/preact/capabilities.ts +2 -0
- package/src/surfaces/checkout/preact/cart-line-target.ts +1 -0
- package/src/surfaces/checkout/preact/cart-lines.ts +2 -0
- package/src/surfaces/checkout/preact/checkout-settings.ts +1 -0
- package/src/surfaces/checkout/preact/checkout-token.ts +1 -0
- package/src/surfaces/checkout/preact/cost.ts +4 -0
- package/src/surfaces/checkout/preact/country.ts +1 -0
- package/src/surfaces/checkout/preact/currency.ts +1 -0
- package/src/surfaces/checkout/preact/customer-privacy.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-list-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-groups.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-selection-groups.ts +1 -0
- package/src/surfaces/checkout/preact/discounts.ts +3 -0
- package/src/surfaces/checkout/preact/extension-editor.ts +1 -0
- package/src/surfaces/checkout/preact/extension-language.ts +1 -0
- package/src/surfaces/checkout/preact/extension.ts +2 -0
- package/src/surfaces/checkout/preact/gift-cards.ts +2 -0
- package/src/surfaces/checkout/preact/instructions.ts +1 -0
- package/src/surfaces/checkout/preact/language.ts +1 -0
- package/src/surfaces/checkout/preact/localized-fields.ts +2 -0
- package/src/surfaces/checkout/preact/market.ts +1 -0
- package/src/surfaces/checkout/preact/metafields.ts +1 -0
- package/src/surfaces/checkout/preact/note.ts +2 -0
- package/src/surfaces/checkout/preact/payment-method.ts +3 -0
- package/src/surfaces/checkout/preact/payment-options.ts +2 -0
- package/src/surfaces/checkout/preact/pickup-location-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/redeemable.ts +1 -0
- package/src/surfaces/checkout/preact/session-token.ts +1 -0
- package/src/surfaces/checkout/preact/settings.ts +1 -0
- package/src/surfaces/checkout/preact/shipping-address.ts +2 -0
- package/src/surfaces/checkout/preact/shipping-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/shop.ts +1 -0
- package/src/surfaces/checkout/preact/storage.ts +1 -0
- package/src/surfaces/checkout/preact/subscription.ts +1 -0
- package/src/surfaces/checkout/preact/target.ts +1 -0
- package/src/surfaces/checkout/preact/timezone.ts +1 -0
- package/src/surfaces/checkout/preact/translate.ts +1 -0
- package/src/surfaces/checkout/shared.ts +11 -21
- package/src/surfaces/checkout/style/style.ts +1 -0
- package/src/surfaces/checkout/style/types.ts +20 -7
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +3 -0
- package/src/surfaces/customer-account/api/docs.ts +244 -19
- package/src/surfaces/customer-account/api/order-status/order-status.ts +460 -296
- package/src/surfaces/customer-account/api/shared.ts +210 -138
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +84 -68
- package/src/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/src/surfaces/customer-account/components/Page.d.ts +5 -5
- package/src/surfaces/customer-account/components/Section.d.ts +3 -7
- package/src/surfaces/customer-account/components/shared.ts +23 -5
- package/src/surfaces/customer-account/components.d.ts +93 -0
- package/src/surfaces/customer-account/extension-targets.ts +8 -0
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/camera-api/camera-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +12 -1
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components.d.ts +286 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +7 -2
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +2 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +18 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +1 -0
- package/src/surfaces/point-of-sale/types/cart.ts +13 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +1 -0
- package/src/surfaces/point-of-sale/types/device.ts +1 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +1 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +1 -0
- package/src/surfaces/point-of-sale/types/money.ts +2 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/order.ts +2 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/payment.ts +2 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +5 -0
- package/src/surfaces/point-of-sale/types/product.ts +5 -0
- package/src/surfaces/point-of-sale/types/session.ts +1 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +3 -0
- package/src/surfaces/point-of-sale/types/storage.ts +4 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +1 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
|
@@ -10,6 +10,7 @@ import {useApi} from './api';
|
|
|
10
10
|
*
|
|
11
11
|
* Data is shared across all activated extension targets of this extension. In versions `<=2023-07`,
|
|
12
12
|
* each activated extension target had its own storage.
|
|
13
|
+
* @publicDocs
|
|
13
14
|
*/
|
|
14
15
|
export function useStorage<
|
|
15
16
|
Target extends RenderExtensionTarget = RenderExtensionTarget,
|
|
@@ -13,6 +13,7 @@ type Subscriber<T> = Parameters<SubscribableSignalLike<T>['subscribe']>[0];
|
|
|
13
13
|
* > As of version 2025-10, you no longer need this hook. When you access `.value`
|
|
14
14
|
* > (instead of `.current`) on subscribable properties, Preact will automatically
|
|
15
15
|
* > re-render as `.value` changes.
|
|
16
|
+
* @publicDocs
|
|
16
17
|
*/
|
|
17
18
|
export function useSubscription<Value>(
|
|
18
19
|
subscription: SubscribableSignalLike<Value>,
|
|
@@ -23,6 +23,7 @@ class ExtensionHasNoTargetError extends Error {
|
|
|
23
23
|
* > Caution: Deprecated as of version `2023-10`, use `useCartLineTarget()` instead.
|
|
24
24
|
*
|
|
25
25
|
* @deprecated Deprecated as of version `2023-10`, use `useCartLineTarget()` instead.
|
|
26
|
+
* @publicDocs
|
|
26
27
|
*/
|
|
27
28
|
export function useTarget(): CartLine {
|
|
28
29
|
const api = useApi<
|
|
@@ -7,6 +7,7 @@ import {useSubscription} from './subscription';
|
|
|
7
7
|
/**
|
|
8
8
|
* Returns the time zone of the checkout, and automatically re-renders
|
|
9
9
|
* your component if the time zone changes.
|
|
10
|
+
* @publicDocs
|
|
10
11
|
*/
|
|
11
12
|
export function useTimezone<
|
|
12
13
|
Target extends RenderExtensionTarget = RenderExtensionTarget,
|
|
@@ -11,6 +11,7 @@ export const SUPPORTED_COMPONENTS = [
|
|
|
11
11
|
'Banner',
|
|
12
12
|
'Box',
|
|
13
13
|
'Button',
|
|
14
|
+
'Chat',
|
|
14
15
|
'Checkbox',
|
|
15
16
|
'Chip',
|
|
16
17
|
'Choice',
|
|
@@ -69,18 +70,10 @@ export const SUPPORTED_COMPONENTS = [
|
|
|
69
70
|
'UrlField',
|
|
70
71
|
] as const;
|
|
71
72
|
|
|
72
|
-
/**
|
|
73
|
-
* Note: Chat is not supported in the 2025-10 release candidate, but it is tied to a target, and we don't want to remove the target documentation.
|
|
74
|
-
* Once Chat is supported, you can remove this note.
|
|
75
|
-
* @private
|
|
76
|
-
*/
|
|
77
|
-
export type PrivateComponent = 'Chat';
|
|
78
|
-
|
|
79
73
|
export type ThankYouComponent = 'Announcement';
|
|
80
74
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
| PrivateComponent;
|
|
75
|
+
/** @publicDocs */
|
|
76
|
+
export type AnyComponent = (typeof SUPPORTED_COMPONENTS)[number];
|
|
84
77
|
|
|
85
78
|
/**
|
|
86
79
|
* The list of supported components.
|
|
@@ -95,24 +88,21 @@ export type AnyCheckoutComponentExcept<Except extends AnyCheckoutComponent> =
|
|
|
95
88
|
Exclude<AnyCheckoutComponent, Except>;
|
|
96
89
|
|
|
97
90
|
/**
|
|
98
|
-
* Represents a
|
|
99
|
-
*
|
|
100
|
-
* Example: Checkout uses this to manage the state of an object and
|
|
101
|
-
* communicate state changes to extensions running in a sandboxed web worker.
|
|
102
|
-
*
|
|
103
|
-
* This interface is compatible with [Preact's ReadonlySignal](https://github.com/preactjs/signals/blob/a023a132a81bd4ba4a0bebb8cbbeffbd8c8bbafc/packages/core/src/index.ts#L700-L709).
|
|
104
|
-
*
|
|
105
|
-
* Some fields are deprecated but still supported for backwards compatibility.
|
|
106
|
-
* In version 2025-10, [`StatefulRemoteSubscribable`](https://github.com/Shopify/remote-dom/blob/03929aa8418a89d41d294005f219837582718df8/packages/async-subscription/src/types.ts#L17) was replaced with `ReadonlySignalLike`. Checkout will remove the old fields some time in the future.
|
|
107
|
-
*
|
|
91
|
+
* Represents a reactive signal interface that provides both immediate value access and subscription-based updates. Enables real-time synchronization with changing data through the observer pattern. This interface extends `ReadonlySignalLike` with deprecated fields that are still supported for backwards compatibility.
|
|
108
92
|
*/
|
|
109
93
|
export interface SubscribableSignalLike<T> extends ReadonlySignalLike<T> {
|
|
110
94
|
/**
|
|
95
|
+
* The current value of the signal. Equivalent to `.value`, accessing this property
|
|
96
|
+
* subscribes to changes when used in a reactive context.
|
|
97
|
+
*
|
|
111
98
|
* @deprecated Use `.value` instead.
|
|
112
99
|
*/
|
|
113
100
|
readonly current: T;
|
|
114
101
|
/**
|
|
115
|
-
*
|
|
102
|
+
* Cleans up the subscription and releases any resources held by this signal. After calling
|
|
103
|
+
* `destroy()`, the signal stops receiving updates from the main thread.
|
|
104
|
+
*
|
|
105
|
+
* @deprecated No longer needed. Use [Preact Signals](https://preactjs.com/guide/v10/signals) to manage reactive state instead.
|
|
116
106
|
*/
|
|
117
107
|
destroy(): Promise<void>;
|
|
118
108
|
}
|
|
@@ -88,6 +88,7 @@ const when: WhenFunction = function when<
|
|
|
88
88
|
|
|
89
89
|
// This interface is only used to provide documentation for the Style helper.
|
|
90
90
|
// It is not used in the implementation.
|
|
91
|
+
/** @publicDocs */
|
|
91
92
|
export interface DocsStyle {
|
|
92
93
|
/**
|
|
93
94
|
* Sets an optional default value to use when no other condition is met.
|
|
@@ -1,33 +1,43 @@
|
|
|
1
|
-
|
|
1
|
+
/** @publicDocs */
|
|
2
|
+
export type Resolution = 1 | 1.3 | 1.5 | 2 | 2.6 | 3 | 3.5 | 4;
|
|
2
3
|
|
|
4
|
+
/** @publicDocs */
|
|
3
5
|
export interface InteractiveConditions {
|
|
4
6
|
hover: true;
|
|
5
7
|
focus: true;
|
|
6
8
|
}
|
|
7
9
|
|
|
10
|
+
/** @publicDocs */
|
|
8
11
|
export interface ResolutionCondition {
|
|
9
12
|
resolution: Resolution;
|
|
10
13
|
}
|
|
11
14
|
|
|
12
|
-
|
|
15
|
+
/** @publicDocs */
|
|
16
|
+
export type ViewportInlineSize = 'extraSmall' | 'small' | 'medium' | 'large';
|
|
13
17
|
|
|
18
|
+
/** @publicDocs */
|
|
14
19
|
export interface ViewportSizeCondition<T = ViewportInlineSize> {
|
|
15
20
|
viewportInlineSize: {min: T};
|
|
16
21
|
}
|
|
17
22
|
|
|
23
|
+
/** @publicDocs */
|
|
18
24
|
export type AtLeastOne<T, U = {[K in keyof T]: Pick<T, K>}> = Partial<T> &
|
|
19
25
|
U[keyof U];
|
|
20
26
|
|
|
21
|
-
|
|
27
|
+
/** @publicDocs */
|
|
28
|
+
export type DefaultConditions = InteractiveConditions & ViewportSizeCondition;
|
|
22
29
|
|
|
30
|
+
/** @publicDocs */
|
|
23
31
|
export type Conditions = AtLeastOne<DefaultConditions>;
|
|
24
32
|
|
|
33
|
+
/** @publicDocs */
|
|
25
34
|
export type BaseConditions = AtLeastOne<
|
|
26
35
|
DefaultConditions & ResolutionCondition
|
|
27
36
|
>;
|
|
28
37
|
|
|
29
38
|
// This interface is only used to provide documentation for the Style helper.
|
|
30
39
|
// It is not used in the implementation.
|
|
40
|
+
/** @publicDocs */
|
|
31
41
|
export interface StylesBaseConditions {
|
|
32
42
|
viewportInlineSize?: {min: ViewportInlineSize};
|
|
33
43
|
hover?: true;
|
|
@@ -37,6 +47,7 @@ export interface StylesBaseConditions {
|
|
|
37
47
|
|
|
38
48
|
// This interface is only used to provide documentation for the Style helper.
|
|
39
49
|
// It is not used in the implementation.
|
|
50
|
+
/** @publicDocs */
|
|
40
51
|
export interface StylesConditions {
|
|
41
52
|
viewportInlineSize?: {min: ViewportInlineSize};
|
|
42
53
|
hover?: true;
|
|
@@ -45,6 +56,7 @@ export interface StylesConditions {
|
|
|
45
56
|
|
|
46
57
|
// This interface is only used to provide documentation for the Style helper.
|
|
47
58
|
// It is not used in the implementation.
|
|
59
|
+
/** @publicDocs */
|
|
48
60
|
export interface StylesConditionalValue<
|
|
49
61
|
T,
|
|
50
62
|
AcceptedConditions extends StylesBaseConditions = StylesBaseConditions,
|
|
@@ -62,6 +74,7 @@ export interface StylesConditionalValue<
|
|
|
62
74
|
|
|
63
75
|
// This interface is only used to provide documentation for the Style helper.
|
|
64
76
|
// It is not used in the implementation.
|
|
77
|
+
/** @publicDocs */
|
|
65
78
|
export interface StylesConditionalStyle<
|
|
66
79
|
T,
|
|
67
80
|
AcceptedConditions extends StylesBaseConditions = StylesBaseConditions,
|
|
@@ -77,6 +90,7 @@ export interface StylesConditionalStyle<
|
|
|
77
90
|
conditionals: StylesConditionalValue<T, AcceptedConditions>[];
|
|
78
91
|
}
|
|
79
92
|
|
|
93
|
+
/** @publicDocs */
|
|
80
94
|
export interface ConditionalValue<
|
|
81
95
|
T,
|
|
82
96
|
AcceptedConditions extends BaseConditions = Conditions,
|
|
@@ -92,6 +106,7 @@ export interface ConditionalValue<
|
|
|
92
106
|
value: T;
|
|
93
107
|
}
|
|
94
108
|
|
|
109
|
+
/** @publicDocs */
|
|
95
110
|
export interface ConditionalStyle<
|
|
96
111
|
T,
|
|
97
112
|
AcceptedConditions extends BaseConditions = Conditions,
|
|
@@ -110,8 +125,7 @@ export interface ConditionalStyle<
|
|
|
110
125
|
/**
|
|
111
126
|
* A type that represents a value that can be a conditional style.
|
|
112
127
|
* We highly recommend using the `Style` helper which simplifies the creation of conditional styles.
|
|
113
|
-
*
|
|
114
|
-
* To learn more check out the [conditional styles](/api/checkout-ui-extensions/components/utilities/stylehelper) documentation.
|
|
128
|
+
* @publicDocs
|
|
115
129
|
*/
|
|
116
130
|
export type MaybeConditionalStyle<
|
|
117
131
|
T,
|
|
@@ -121,8 +135,7 @@ export type MaybeConditionalStyle<
|
|
|
121
135
|
/**
|
|
122
136
|
* A type that represents a value that can be a conditional style. The conditions are based on the viewport size.
|
|
123
137
|
* We highly recommend using the `Style` helper which simplifies the creation of conditional styles.
|
|
124
|
-
*
|
|
125
|
-
* To learn more check out the [conditional styles](/api/checkout-ui-extensions/components/utilities/stylehelper) documentation.
|
|
138
|
+
* @publicDocs
|
|
126
139
|
*/
|
|
127
140
|
export type MaybeResponsiveConditionalStyle<T> =
|
|
128
141
|
| T
|
|
@@ -2,6 +2,10 @@ import {OrderStatusApi} from './order-status/order-status';
|
|
|
2
2
|
import {StandardApi} from './standard-api/standard-api';
|
|
3
3
|
import {CartLineItemApi} from './cart-line/cart-line-item';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* An event type that narrows the `currentTarget` to the specific HTML element associated with the custom element tag. This provides type-safe event handling in callback listeners.
|
|
7
|
+
* @publicDocs
|
|
8
|
+
*/
|
|
5
9
|
export type CallbackEvent<
|
|
6
10
|
TTagName extends keyof HTMLElementTagNameMap,
|
|
7
11
|
TEvent extends Event = Event,
|
|
@@ -9,6 +13,10 @@ export type CallbackEvent<
|
|
|
9
13
|
currentTarget: HTMLElementTagNameMap[TTagName];
|
|
10
14
|
};
|
|
11
15
|
|
|
16
|
+
/**
|
|
17
|
+
* A typed event listener for custom element events. The listener receives a `CallbackEvent` with the correct `currentTarget` type for the associated custom element tag.
|
|
18
|
+
* @publicDocs
|
|
19
|
+
*/
|
|
12
20
|
export type CallbackEventListener<
|
|
13
21
|
TTagName extends keyof HTMLElementTagNameMap,
|
|
14
22
|
TEvent extends Event = Event,
|
|
@@ -29,27 +37,21 @@ interface ButtonProps {
|
|
|
29
37
|
*/
|
|
30
38
|
accessibilityLabel?: string;
|
|
31
39
|
/**
|
|
32
|
-
* ID of
|
|
33
|
-
*
|
|
34
|
-
* See `command` for how to control the behavior of the target.
|
|
35
|
-
*
|
|
36
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor
|
|
40
|
+
* The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
|
|
37
41
|
*/
|
|
38
42
|
commandFor?: string;
|
|
39
43
|
/**
|
|
40
|
-
* Sets the action the `commandFor` should take when this
|
|
44
|
+
* Sets the action the `commandFor` target should take when this component is activated.
|
|
41
45
|
*
|
|
42
|
-
*
|
|
46
|
+
* - `--auto`: A default action for the target component.
|
|
47
|
+
* - `--show`: Shows the target component.
|
|
48
|
+
* - `--hide`: Hides the target component.
|
|
49
|
+
* - `--toggle`: Toggles the target component.
|
|
50
|
+
* - `--copy`: Copies the target clipboard item.
|
|
43
51
|
*
|
|
44
|
-
*
|
|
45
|
-
* - `--show`: shows the target component.
|
|
46
|
-
* - `--hide`: hides the target component.
|
|
47
|
-
* - `--toggle`: toggles the target component.
|
|
48
|
-
* - `--copy`: copies the target ClipboardItem.
|
|
52
|
+
* Learn more about the [`command` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command).
|
|
49
53
|
*
|
|
50
54
|
* @default '--auto'
|
|
51
|
-
*
|
|
52
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
|
|
53
55
|
*/
|
|
54
56
|
command?: '--auto' | '--show' | '--hide' | '--toggle' | '--copy';
|
|
55
57
|
/**
|
|
@@ -76,11 +78,11 @@ interface ButtonProps {
|
|
|
76
78
|
*/
|
|
77
79
|
loading?: boolean;
|
|
78
80
|
/**
|
|
79
|
-
* Specifies where to display the linked URL
|
|
81
|
+
* Specifies where to display the linked URL.
|
|
80
82
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#target
|
|
81
83
|
*
|
|
82
84
|
* 'auto' - The target is automatically determined based on the origin of the URL. Surfaces can set specific rules on how they handle each URL.
|
|
83
|
-
* It
|
|
85
|
+
* It's expected that the behavior of `auto` is as `_self` except in specific cases.
|
|
84
86
|
* For example, a surface could decide to open cross-origin URLs in a new window (as `_blank`).
|
|
85
87
|
*
|
|
86
88
|
* @default 'auto'
|
|
@@ -120,92 +122,206 @@ interface ButtonProps {
|
|
|
120
122
|
click?: ((event: CallbackEventListener<typeof buttonTagName>) => void) | null;
|
|
121
123
|
}
|
|
122
124
|
|
|
125
|
+
/**
|
|
126
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with metafields.
|
|
127
|
+
* @publicDocs
|
|
128
|
+
*/
|
|
123
129
|
export interface Docs_OrderStatus_MetafieldsApi
|
|
124
130
|
extends Pick<OrderStatusApi<any>, 'appMetafields'> {}
|
|
125
131
|
|
|
132
|
+
/**
|
|
133
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with attributes.
|
|
134
|
+
* @publicDocs
|
|
135
|
+
*/
|
|
126
136
|
export interface Docs_OrderStatus_AttributesApi
|
|
127
137
|
extends Pick<OrderStatusApi<any>, 'attributes'> {}
|
|
128
138
|
|
|
139
|
+
/**
|
|
140
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with buyer identity.
|
|
141
|
+
* @publicDocs
|
|
142
|
+
*/
|
|
129
143
|
export interface Docs_OrderStatus_BuyerIdentityApi
|
|
130
144
|
extends Pick<OrderStatusApi<any>, 'buyerIdentity'> {}
|
|
131
145
|
|
|
146
|
+
/**
|
|
147
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with checkout settings.
|
|
148
|
+
* @publicDocs
|
|
149
|
+
*/
|
|
132
150
|
export interface Docs_OrderStatus_CheckoutSettingsApi
|
|
133
151
|
extends Pick<OrderStatusApi<any>, 'checkoutSettings'> {}
|
|
134
152
|
|
|
153
|
+
/**
|
|
154
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with order cost.
|
|
155
|
+
* @publicDocs
|
|
156
|
+
*/
|
|
135
157
|
export interface Docs_OrderStatus_CostApi
|
|
136
158
|
extends Pick<OrderStatusApi<any>, 'cost'> {}
|
|
137
159
|
|
|
160
|
+
/**
|
|
161
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with localization.
|
|
162
|
+
* @publicDocs
|
|
163
|
+
*/
|
|
138
164
|
export interface Docs_OrderStatus_LocalizationApi
|
|
139
165
|
extends Pick<OrderStatusApi<any>, 'localization'> {}
|
|
140
166
|
|
|
167
|
+
/**
|
|
168
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with discounts.
|
|
169
|
+
* @publicDocs
|
|
170
|
+
*/
|
|
141
171
|
export interface Docs_OrderStatus_DiscountsApi
|
|
142
172
|
extends Pick<OrderStatusApi<any>, 'discountAllocations' | 'discountCodes'> {}
|
|
143
173
|
|
|
174
|
+
/**
|
|
175
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with gift cards.
|
|
176
|
+
* @publicDocs
|
|
177
|
+
*/
|
|
144
178
|
export interface Docs_OrderStatus_GiftCardsApi
|
|
145
179
|
extends Pick<OrderStatusApi<any>, 'appliedGiftCards'> {}
|
|
146
180
|
|
|
181
|
+
/**
|
|
182
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with the order note.
|
|
183
|
+
* @publicDocs
|
|
184
|
+
*/
|
|
147
185
|
export interface Docs_OrderStatus_NoteApi
|
|
148
186
|
extends Pick<OrderStatusApi<any>, 'note'> {}
|
|
149
187
|
|
|
188
|
+
/**
|
|
189
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with shipping and billing addresses.
|
|
190
|
+
* @publicDocs
|
|
191
|
+
*/
|
|
150
192
|
export interface Docs_OrderStatus_AddressApi
|
|
151
193
|
extends Pick<OrderStatusApi<any>, 'shippingAddress' | 'billingAddress'> {}
|
|
152
194
|
|
|
195
|
+
/**
|
|
196
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with shop information.
|
|
197
|
+
* @publicDocs
|
|
198
|
+
*/
|
|
153
199
|
export interface Docs_OrderStatus_ShopApi
|
|
154
200
|
extends Pick<OrderStatusApi<any>, 'shop'> {}
|
|
155
201
|
|
|
202
|
+
/**
|
|
203
|
+
* The API object provided to `customer-account.order-status` extension targets for requiring buyer login.
|
|
204
|
+
* @publicDocs
|
|
205
|
+
*/
|
|
156
206
|
export interface Docs_OrderStatus_RequireLoginApi
|
|
157
207
|
extends Pick<OrderStatusApi<any>, 'requireLogin'> {}
|
|
158
208
|
|
|
209
|
+
/**
|
|
210
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with authentication state.
|
|
211
|
+
* @publicDocs
|
|
212
|
+
*/
|
|
159
213
|
export interface Docs_OrderStatus_AuthenticationStateApi
|
|
160
214
|
extends Pick<OrderStatusApi<any>, 'authenticationState'> {}
|
|
161
215
|
|
|
216
|
+
/**
|
|
217
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with cart lines.
|
|
218
|
+
* @publicDocs
|
|
219
|
+
*/
|
|
162
220
|
export interface Docs_OrderStatus_CartLinesApi
|
|
163
221
|
extends Pick<OrderStatusApi<any>, 'lines'> {}
|
|
164
222
|
|
|
223
|
+
/**
|
|
224
|
+
* The API object provided to `customer-account.order-status` cart line item extension targets.
|
|
225
|
+
* @publicDocs
|
|
226
|
+
*/
|
|
165
227
|
export interface Docs_CartLineItem_CartLinesApi
|
|
166
228
|
extends Pick<CartLineItemApi, 'target'> {}
|
|
167
229
|
|
|
230
|
+
/**
|
|
231
|
+
* The API object provided to `customer-account.order-status` extension targets for interacting with order details.
|
|
232
|
+
* @publicDocs
|
|
233
|
+
*/
|
|
168
234
|
export interface Docs_OrderStatus_OrderApi
|
|
169
235
|
extends Pick<OrderStatusApi<any>, 'order'> {}
|
|
170
236
|
|
|
237
|
+
/**
|
|
238
|
+
* The base API object provided to all `customer-account` extension targets for interacting with extension metadata.
|
|
239
|
+
* @publicDocs
|
|
240
|
+
*/
|
|
171
241
|
export interface Docs_Standard_ExtensionApi
|
|
172
242
|
extends Pick<StandardApi<any>, 'extension'> {}
|
|
173
243
|
|
|
244
|
+
/**
|
|
245
|
+
* The base API object provided to all `customer-account` extension targets for interacting with the authenticated account.
|
|
246
|
+
* @publicDocs
|
|
247
|
+
*/
|
|
174
248
|
export interface Docs_Standard_AuthenticatedAccountApi
|
|
175
249
|
extends Pick<StandardApi<any>, 'authenticatedAccount'> {}
|
|
176
250
|
|
|
251
|
+
/**
|
|
252
|
+
* The base API object provided to all `customer-account` extension targets for retrieving the renderer version.
|
|
253
|
+
* @publicDocs
|
|
254
|
+
*/
|
|
177
255
|
export interface Docs_Standard_VersionApi
|
|
178
256
|
extends Pick<StandardApi<any>, 'version'> {}
|
|
179
257
|
|
|
258
|
+
/**
|
|
259
|
+
* The base API object provided to all `customer-account` extension targets for interacting with localization.
|
|
260
|
+
* @publicDocs
|
|
261
|
+
*/
|
|
180
262
|
export interface Docs_Standard_LocalizationApi
|
|
181
263
|
extends Pick<StandardApi<any>, 'localization' | 'i18n'> {}
|
|
182
264
|
|
|
265
|
+
/**
|
|
266
|
+
* The base API object provided to all `customer-account` extension targets for interacting with session tokens.
|
|
267
|
+
* @publicDocs
|
|
268
|
+
*/
|
|
183
269
|
export interface Docs_Standard_SessionTokenApi
|
|
184
270
|
extends Pick<StandardApi<any>, 'sessionToken'> {}
|
|
185
271
|
|
|
272
|
+
/**
|
|
273
|
+
* The base API object provided to all `customer-account` extension targets for interacting with analytics.
|
|
274
|
+
* @publicDocs
|
|
275
|
+
*/
|
|
186
276
|
export interface Docs_Standard_AnalyticsApi
|
|
187
277
|
extends Pick<StandardApi<any>, 'analytics'> {}
|
|
188
278
|
|
|
279
|
+
/**
|
|
280
|
+
* The base API object provided to all `customer-account` extension targets for interacting with extension settings.
|
|
281
|
+
* @publicDocs
|
|
282
|
+
*/
|
|
189
283
|
export interface Docs_Standard_SettingsApi
|
|
190
284
|
extends Pick<StandardApi, 'settings'> {}
|
|
191
285
|
|
|
286
|
+
/**
|
|
287
|
+
* The base API object provided to all `customer-account` extension targets for interacting with key-value storage.
|
|
288
|
+
* @publicDocs
|
|
289
|
+
*/
|
|
192
290
|
export interface Docs_Standard_StorageApi
|
|
193
291
|
extends Pick<StandardApi<any>, 'storage'> {}
|
|
194
292
|
|
|
293
|
+
/**
|
|
294
|
+
* The base API object provided to all `customer-account` extension targets for interacting with customer privacy and tracking consent.
|
|
295
|
+
* @publicDocs
|
|
296
|
+
*/
|
|
195
297
|
export interface Docs_Standard_CustomerPrivacyApi
|
|
196
298
|
extends Pick<
|
|
197
299
|
StandardApi<any>,
|
|
198
300
|
'customerPrivacy' | 'applyTrackingConsentChange'
|
|
199
301
|
> {}
|
|
200
302
|
|
|
303
|
+
/**
|
|
304
|
+
* The base API object provided to all `customer-account` extension targets for displaying toast notifications.
|
|
305
|
+
* @publicDocs
|
|
306
|
+
*/
|
|
201
307
|
export interface Docs_Standard_ToastApi
|
|
202
308
|
extends Pick<StandardApi<any>, 'toast'> {}
|
|
203
309
|
|
|
310
|
+
/**
|
|
311
|
+
* The base API object provided to all `customer-account` extension targets for querying the Storefront API.
|
|
312
|
+
* @publicDocs
|
|
313
|
+
*/
|
|
204
314
|
export interface Docs_Standard_QueryApi
|
|
205
315
|
extends Pick<StandardApi<any>, 'query'> {}
|
|
206
316
|
|
|
317
|
+
/**
|
|
318
|
+
* @publicDocs
|
|
319
|
+
*/
|
|
207
320
|
export interface Docs_StandardApi extends Omit<StandardApi<any>, 'router'> {}
|
|
208
321
|
|
|
322
|
+
/**
|
|
323
|
+
* @publicDocs
|
|
324
|
+
*/
|
|
209
325
|
export interface Docs_Page_Button_PrimaryAction
|
|
210
326
|
extends Pick<
|
|
211
327
|
ButtonProps,
|
|
@@ -216,7 +332,52 @@ export interface Docs_Page_Button_PrimaryAction
|
|
|
216
332
|
| 'href'
|
|
217
333
|
| 'command'
|
|
218
334
|
| 'commandFor'
|
|
219
|
-
> {
|
|
335
|
+
> {
|
|
336
|
+
/**
|
|
337
|
+
* A label that describes the button's purpose to assistive technologies. Use this when the button text alone doesn't provide enough context.
|
|
338
|
+
*/
|
|
339
|
+
accessibilityLabel?: ButtonProps['accessibilityLabel'];
|
|
340
|
+
/**
|
|
341
|
+
* A callback that fires when the button is activated, before the action indicated by `type`.
|
|
342
|
+
*/
|
|
343
|
+
click?: ButtonProps['click'];
|
|
344
|
+
/**
|
|
345
|
+
* The action the `commandFor` target should take when this button is activated.
|
|
346
|
+
*
|
|
347
|
+
* - `--auto`: A default action for the target component.
|
|
348
|
+
* - `--show`: Shows the target component.
|
|
349
|
+
* - `--hide`: Hides the target component.
|
|
350
|
+
* - `--toggle`: Toggles the target component.
|
|
351
|
+
* - `--copy`: Copies the target ClipboardItem.
|
|
352
|
+
*
|
|
353
|
+
* @default '--auto'
|
|
354
|
+
*/
|
|
355
|
+
command?: ButtonProps['command'];
|
|
356
|
+
/**
|
|
357
|
+
* The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
|
|
358
|
+
*/
|
|
359
|
+
commandFor?: ButtonProps['commandFor'];
|
|
360
|
+
/**
|
|
361
|
+
* Whether the button is disabled and non-interactive.
|
|
362
|
+
*
|
|
363
|
+
* @default false
|
|
364
|
+
*/
|
|
365
|
+
disabled?: ButtonProps['disabled'];
|
|
366
|
+
/**
|
|
367
|
+
* The URL to navigate to when the button is activated. If a `commandFor` is set, the `command` is executed instead of the navigation.
|
|
368
|
+
*/
|
|
369
|
+
href?: ButtonProps['href'];
|
|
370
|
+
/**
|
|
371
|
+
* Whether to replace the button content with a loading indicator.
|
|
372
|
+
*
|
|
373
|
+
* @default false
|
|
374
|
+
*/
|
|
375
|
+
loading?: ButtonProps['loading'];
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* @publicDocs
|
|
380
|
+
*/
|
|
220
381
|
export interface Docs_Page_Button_SecondaryAction
|
|
221
382
|
extends Pick<
|
|
222
383
|
ButtonProps,
|
|
@@ -227,22 +388,82 @@ export interface Docs_Page_Button_SecondaryAction
|
|
|
227
388
|
| 'href'
|
|
228
389
|
| 'command'
|
|
229
390
|
| 'commandFor'
|
|
230
|
-
> {
|
|
391
|
+
> {
|
|
392
|
+
/**
|
|
393
|
+
* A label that describes the button's purpose to assistive technologies. Use this when the button text alone doesn't provide enough context.
|
|
394
|
+
*/
|
|
395
|
+
accessibilityLabel?: ButtonProps['accessibilityLabel'];
|
|
396
|
+
/**
|
|
397
|
+
* A callback that fires when the button is activated, before the action indicated by `type`.
|
|
398
|
+
*/
|
|
399
|
+
click?: ButtonProps['click'];
|
|
400
|
+
/**
|
|
401
|
+
* The action the `commandFor` target should take when this button is activated.
|
|
402
|
+
*
|
|
403
|
+
* - `--auto`: A default action for the target component.
|
|
404
|
+
* - `--show`: Shows the target component.
|
|
405
|
+
* - `--hide`: Hides the target component.
|
|
406
|
+
* - `--toggle`: Toggles the target component.
|
|
407
|
+
* - `--copy`: Copies the target ClipboardItem.
|
|
408
|
+
*
|
|
409
|
+
* @default '--auto'
|
|
410
|
+
*/
|
|
411
|
+
command?: ButtonProps['command'];
|
|
412
|
+
/**
|
|
413
|
+
* The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
|
|
414
|
+
*/
|
|
415
|
+
commandFor?: ButtonProps['commandFor'];
|
|
416
|
+
/**
|
|
417
|
+
* Whether the button is disabled and non-interactive.
|
|
418
|
+
*
|
|
419
|
+
* @default false
|
|
420
|
+
*/
|
|
421
|
+
disabled?: ButtonProps['disabled'];
|
|
422
|
+
/**
|
|
423
|
+
* The URL to navigate to when the button is activated. If a `commandFor` is set, the `command` is executed instead of the navigation.
|
|
424
|
+
*/
|
|
425
|
+
href?: ButtonProps['href'];
|
|
426
|
+
/**
|
|
427
|
+
* Whether to replace the button content with a loading indicator.
|
|
428
|
+
*
|
|
429
|
+
* @default false
|
|
430
|
+
*/
|
|
431
|
+
loading?: ButtonProps['loading'];
|
|
432
|
+
}
|
|
231
433
|
|
|
434
|
+
/**
|
|
435
|
+
* @publicDocs
|
|
436
|
+
*/
|
|
232
437
|
export interface Docs_Page_Button_BreadcrumbAction
|
|
233
438
|
extends Pick<ButtonProps, 'click' | 'href'> {
|
|
234
439
|
/**
|
|
235
|
-
* A label
|
|
440
|
+
* A label that describes the breadcrumb's destination to assistive technologies. Required because `children` passed to this button are discarded.
|
|
236
441
|
*/
|
|
237
442
|
accessibilityLabel: ButtonProps['accessibilityLabel'];
|
|
443
|
+
/**
|
|
444
|
+
* A callback that fires when the breadcrumb is activated.
|
|
445
|
+
*/
|
|
446
|
+
click?: ButtonProps['click'];
|
|
447
|
+
/**
|
|
448
|
+
* The URL to navigate to when the breadcrumb is activated.
|
|
449
|
+
*/
|
|
450
|
+
href?: ButtonProps['href'];
|
|
238
451
|
}
|
|
239
452
|
|
|
453
|
+
/**
|
|
454
|
+
* The menu component exclusively accepts button elements with restricted props as its children.
|
|
455
|
+
* @publicDocs
|
|
456
|
+
*/
|
|
240
457
|
export interface Docs_Menu_Button_Action
|
|
241
458
|
extends Omit<
|
|
242
459
|
ButtonProps,
|
|
243
460
|
'variant' | 'textDecoration' | 'inlineAlignment' | 'inlineSize' | 'size'
|
|
244
461
|
> {}
|
|
245
462
|
|
|
463
|
+
/**
|
|
464
|
+
* Supported props for Buttons used in order action menus.
|
|
465
|
+
* @publicDocs
|
|
466
|
+
*/
|
|
246
467
|
export interface Docs_OrderActionMenu_Button
|
|
247
468
|
extends Pick<
|
|
248
469
|
ButtonProps,
|
|
@@ -256,6 +477,10 @@ export interface Docs_OrderActionMenu_Button
|
|
|
256
477
|
href: ButtonProps['href'];
|
|
257
478
|
}
|
|
258
479
|
|
|
480
|
+
/**
|
|
481
|
+
* Supported props for Buttons used inside CustomerAccountAction slots.
|
|
482
|
+
* @publicDocs
|
|
483
|
+
*/
|
|
259
484
|
export interface Docs_CustomerAccountAction_SlotButton
|
|
260
485
|
extends Pick<
|
|
261
486
|
ButtonProps,
|