@shopify/ui-extensions 2026.4.0-rc.2 → 2026.4.0
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/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 +1 -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 +10 -1
- 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 +15 -1
- 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 +23 -11
- 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 +28 -12
- package/build/ts/surfaces/admin/components/GridItem.d.ts +22 -7
- 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 +22 -7
- 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 +27 -11
- 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 +14 -1
- 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 +1 -0
- 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 -8
- 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 -443
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +38 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +46 -3
- package/build/ts/surfaces/checkout/components/Banner.d.ts +64 -9
- package/build/ts/surfaces/checkout/components/Box.d.ts +52 -0
- package/build/ts/surfaces/checkout/components/Button.d.ts +16 -3
- package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Chip.d.ts +8 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +8 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +37 -7
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +23 -5
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/DateField.d.ts +31 -6
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +28 -5
- package/build/ts/surfaces/checkout/components/Details.d.ts +14 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +22 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Form.d.ts +16 -1
- package/build/ts/surfaces/checkout/components/Grid.d.ts +139 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Heading.d.ts +4 -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 +16 -3
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +39 -8
- package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +23 -8
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Option.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +20 -6
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +29 -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 +57 -0
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +21 -6
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +18 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +112 -0
- package/build/ts/surfaces/checkout/components/Summary.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Text.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +23 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Time.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +616 -605
- package/build/ts/surfaces/checkout/components/components.d.ts +568 -288
- 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 +231 -3
- 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 +454 -295
- 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 -137
- 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 +4 -0
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +38 -9
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +46 -3
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +64 -9
- package/build/ts/surfaces/customer-account/components/Box.d.ts +52 -0
- package/build/ts/surfaces/customer-account/components/Button.d.ts +16 -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 +17 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +8 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +8 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +37 -7
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +23 -5
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +16 -2
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +31 -6
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +28 -5
- package/build/ts/surfaces/customer-account/components/Details.d.ts +14 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +22 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Form.d.ts +16 -1
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +139 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +4 -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 +16 -3
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +39 -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 +23 -8
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Option.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +20 -6
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +29 -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 +57 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +21 -6
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +18 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +112 -0
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Text.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +23 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Time.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +616 -605
- package/build/ts/surfaces/customer-account/components/components.d.ts +568 -288
- 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 +24 -2
- 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/docs/shared/components/Abbreviation.ts +1 -1
- package/src/docs/shared/components/Announcement.ts +1 -1
- package/src/docs/shared/components/Avatar.ts +2 -2
- package/src/docs/shared/components/Badge.ts +2 -2
- package/src/docs/shared/components/Banner.ts +2 -2
- package/src/docs/shared/components/Box.ts +2 -2
- package/src/docs/shared/components/Button.ts +2 -2
- package/src/docs/shared/components/ButtonGroup.ts +2 -2
- package/src/docs/shared/components/Checkbox.ts +2 -2
- package/src/docs/shared/components/Chip.ts +2 -2
- package/src/docs/shared/components/Choice.ts +1 -1
- package/src/docs/shared/components/ChoiceList.ts +2 -2
- package/src/docs/shared/components/Clickable.ts +2 -2
- package/src/docs/shared/components/ClickableChip.ts +2 -2
- package/src/docs/shared/components/ClipboardItem.ts +1 -1
- package/src/docs/shared/components/ColorField.ts +2 -2
- package/src/docs/shared/components/ColorPicker.ts +2 -2
- package/src/docs/shared/components/ConsentCheckbox.ts +1 -1
- package/src/docs/shared/components/ConsentPhoneField.ts +1 -1
- package/src/docs/shared/components/DateField.ts +2 -2
- package/src/docs/shared/components/DatePicker.ts +2 -2
- package/src/docs/shared/components/Details.ts +1 -1
- package/src/docs/shared/components/Divider.ts +2 -2
- package/src/docs/shared/components/DropZone.ts +1 -1
- package/src/docs/shared/components/EmailField.ts +2 -2
- package/src/docs/shared/components/Form.ts +2 -2
- package/src/docs/shared/components/FunctionSettings.ts +2 -2
- package/src/docs/shared/components/Grid.ts +2 -2
- package/src/docs/shared/components/GridItem.ts +1 -1
- package/src/docs/shared/components/Heading.ts +2 -2
- package/src/docs/shared/components/Icon.ts +2 -2
- package/src/docs/shared/components/Image.ts +2 -2
- package/src/docs/shared/components/Link.ts +2 -2
- package/src/docs/shared/components/ListItem.ts +1 -1
- package/src/docs/shared/components/Map.ts +1 -1
- package/src/docs/shared/components/MapMarker.ts +1 -1
- package/src/docs/shared/components/Menu.ts +1 -1
- package/src/docs/shared/components/Modal.ts +1 -1
- package/src/docs/shared/components/MoneyField.ts +2 -2
- package/src/docs/shared/components/NumberField.ts +2 -2
- package/src/docs/shared/components/Option.ts +1 -1
- package/src/docs/shared/components/OptionGroup.ts +1 -1
- package/src/docs/shared/components/OrderedList.ts +2 -2
- package/src/docs/shared/components/Page.ts +2 -2
- package/src/docs/shared/components/Paragraph.ts +2 -2
- package/src/docs/shared/components/PasswordField.ts +2 -2
- package/src/docs/shared/components/PaymentIcon.ts +1 -1
- package/src/docs/shared/components/PhoneField.ts +1 -1
- package/src/docs/shared/components/Popover.ts +1 -1
- package/src/docs/shared/components/PressButton.ts +1 -1
- package/src/docs/shared/components/ProductThumbnail.ts +1 -1
- package/src/docs/shared/components/Progress.ts +1 -1
- package/src/docs/shared/components/QRCode.ts +1 -1
- package/src/docs/shared/components/QueryContainer.ts +1 -1
- package/src/docs/shared/components/ScrollBox.ts +1 -1
- package/src/docs/shared/components/SearchField.ts +2 -2
- package/src/docs/shared/components/Section.ts +2 -2
- package/src/docs/shared/components/Select.ts +2 -2
- package/src/docs/shared/components/Sheet.ts +1 -1
- package/src/docs/shared/components/SkeletonParagraph.ts +1 -1
- package/src/docs/shared/components/Spinner.ts +2 -2
- package/src/docs/shared/components/Stack.ts +2 -2
- package/src/docs/shared/components/Summary.ts +1 -1
- package/src/docs/shared/components/Switch.ts +2 -2
- package/src/docs/shared/components/Table.ts +1 -1
- package/src/docs/shared/components/TableBody.ts +1 -1
- package/src/docs/shared/components/TableCell.ts +1 -1
- package/src/docs/shared/components/TableHeader.ts +1 -1
- package/src/docs/shared/components/TableHeaderRow.ts +1 -1
- package/src/docs/shared/components/TableRow.ts +1 -1
- package/src/docs/shared/components/Text.ts +2 -2
- package/src/docs/shared/components/TextArea.ts +2 -2
- package/src/docs/shared/components/TextField.ts +2 -2
- package/src/docs/shared/components/Thumbnail.ts +2 -2
- package/src/docs/shared/components/Time.ts +1 -1
- package/src/docs/shared/components/Tooltip.ts +1 -1
- package/src/docs/shared/components/URLField.ts +2 -2
- package/src/docs/shared/components/UnorderedList.ts +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/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 +1 -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 +10 -1
- 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 +15 -1
- 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 +23 -11
- 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 +28 -12
- package/src/surfaces/admin/components/GridItem.d.ts +22 -7
- 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 +22 -7
- 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 +27 -11
- 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 +14 -1
- 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 +722 -22
- 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 +1 -0
- 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 -3
- 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 -446
- package/src/surfaces/checkout/components/Abbreviation.d.ts +4 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +38 -9
- package/src/surfaces/checkout/components/Badge.d.ts +46 -3
- package/src/surfaces/checkout/components/Banner.d.ts +64 -9
- package/src/surfaces/checkout/components/Box.d.ts +52 -0
- package/src/surfaces/checkout/components/Button.d.ts +16 -3
- package/src/surfaces/checkout/components/Chat.d.ts +20 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +17 -2
- package/src/surfaces/checkout/components/Chip.d.ts +8 -0
- package/src/surfaces/checkout/components/Choice.d.ts +8 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +17 -2
- package/src/surfaces/checkout/components/Clickable.d.ts +37 -7
- package/src/surfaces/checkout/components/ClickableChip.d.ts +23 -5
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
- package/src/surfaces/checkout/components/DateField.d.ts +31 -6
- package/src/surfaces/checkout/components/DatePicker.d.ts +28 -5
- package/src/surfaces/checkout/components/Details.d.ts +14 -0
- package/src/surfaces/checkout/components/Divider.d.ts +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +22 -3
- package/src/surfaces/checkout/components/EmailField.d.ts +29 -10
- package/src/surfaces/checkout/components/Form.d.ts +16 -1
- package/src/surfaces/checkout/components/Grid.d.ts +139 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +57 -0
- package/src/surfaces/checkout/components/Heading.d.ts +4 -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 +16 -3
- package/src/surfaces/checkout/components/ListItem.d.ts +4 -0
- package/src/surfaces/checkout/components/Map.d.ts +68 -6
- package/src/surfaces/checkout/components/MapMarker.d.ts +39 -8
- package/src/surfaces/checkout/components/Modal.d.ts +52 -8
- package/src/surfaces/checkout/components/MoneyField.d.ts +23 -8
- package/src/surfaces/checkout/components/NumberField.d.ts +29 -10
- package/src/surfaces/checkout/components/Option.d.ts +4 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +4 -0
- package/src/surfaces/checkout/components/Paragraph.d.ts +4 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +29 -10
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/src/surfaces/checkout/components/PhoneField.d.ts +29 -10
- package/src/surfaces/checkout/components/Popover.d.ts +39 -22
- package/src/surfaces/checkout/components/PressButton.d.ts +20 -6
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/src/surfaces/checkout/components/Progress.d.ts +29 -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 +57 -0
- package/src/surfaces/checkout/components/Section.d.ts +4 -0
- package/src/surfaces/checkout/components/Select.d.ts +21 -6
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +18 -0
- package/src/surfaces/checkout/components/Stack.d.ts +112 -0
- package/src/surfaces/checkout/components/Summary.d.ts +4 -0
- package/src/surfaces/checkout/components/Switch.d.ts +17 -2
- package/src/surfaces/checkout/components/Text.d.ts +4 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +23 -8
- package/src/surfaces/checkout/components/TextField.d.ts +29 -10
- package/src/surfaces/checkout/components/Time.d.ts +4 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/src/surfaces/checkout/components/UnorderedList.d.ts +4 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +29 -10
- package/src/surfaces/checkout/components/components-shared.d.ts +616 -605
- package/src/surfaces/checkout/components/components.d.ts +568 -288
- 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 +236 -5
- package/src/surfaces/customer-account/api/order-status/order-status.ts +461 -295
- package/src/surfaces/customer-account/api/shared.ts +210 -137
- 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 +24 -2
- 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,12 +10,81 @@
|
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
import type {GridProps$1,MaybeResponsive, MaybeAllValuesShorthandProperty,BorderSizeKeyword, BorderStyleKeyword,AlignContentKeyword, AlignItemsKeyword, JustifyContentKeyword, JustifyItemsKeyword,ColorKeyword} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* The subset of `align-content` values available for the grid component.
|
|
15
|
+
*
|
|
16
|
+
* - `center`: Packs rows toward the center of the grid.
|
|
17
|
+
* - `start`: Packs rows toward the start of the block axis.
|
|
18
|
+
* - `end`: Packs rows toward the end of the block axis.
|
|
19
|
+
* - `normal`: Default browser behavior.
|
|
20
|
+
* - `space-between`: Distributes rows evenly with no space at the edges.
|
|
21
|
+
* - `space-around`: Distributes rows evenly with equal space around each.
|
|
22
|
+
* - `space-evenly`: Distributes rows with equal space between and at the edges.
|
|
23
|
+
* - `stretch`: Stretches rows to fill the available space.
|
|
24
|
+
*
|
|
25
|
+
* @publicDocs
|
|
26
|
+
*/
|
|
13
27
|
export type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
28
|
+
/**
|
|
29
|
+
* The subset of `align-items` values available for the grid component.
|
|
30
|
+
*
|
|
31
|
+
* - `center`: Centers items along the block axis.
|
|
32
|
+
* - `start`: Aligns items to the start of the block axis.
|
|
33
|
+
* - `end`: Aligns items to the end of the block axis.
|
|
34
|
+
* - `normal`: Default browser behavior.
|
|
35
|
+
* - `baseline`: Aligns items along their text baseline.
|
|
36
|
+
* - `stretch`: Stretches items to fill the cell along the block axis.
|
|
37
|
+
*
|
|
38
|
+
* @publicDocs
|
|
39
|
+
*/
|
|
14
40
|
export type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
41
|
+
/**
|
|
42
|
+
* The subset of `justify-content` values available for the grid component.
|
|
43
|
+
*
|
|
44
|
+
* - `center`: Packs columns toward the center of the grid.
|
|
45
|
+
* - `start`: Packs columns toward the start of the inline axis.
|
|
46
|
+
* - `end`: Packs columns toward the end of the inline axis.
|
|
47
|
+
* - `normal`: Default browser behavior.
|
|
48
|
+
* - `space-between`: Distributes columns evenly with no space at the edges.
|
|
49
|
+
* - `space-around`: Distributes columns evenly with equal space around each.
|
|
50
|
+
* - `space-evenly`: Distributes columns with equal space between and at the edges.
|
|
51
|
+
* - `stretch`: Stretches columns to fill the available space.
|
|
52
|
+
*
|
|
53
|
+
* @publicDocs
|
|
54
|
+
*/
|
|
15
55
|
export type ReducedJustifyContentKeyword = Extract<JustifyContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
56
|
+
/**
|
|
57
|
+
* The subset of `justify-items` values available for the grid component.
|
|
58
|
+
*
|
|
59
|
+
* - `center`: Centers items along the inline axis.
|
|
60
|
+
* - `start`: Aligns items to the start of the inline axis.
|
|
61
|
+
* - `end`: Aligns items to the end of the inline axis.
|
|
62
|
+
* - `normal`: Default browser behavior.
|
|
63
|
+
* - `baseline`: Aligns items along their text baseline.
|
|
64
|
+
* - `stretch`: Stretches items to fill the cell along the inline axis.
|
|
65
|
+
*
|
|
66
|
+
* @publicDocs
|
|
67
|
+
*/
|
|
16
68
|
export type ReducedJustifyItemsKeyword = Extract<JustifyItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
69
|
+
/**
|
|
70
|
+
* The subset of border size values available for this component.
|
|
71
|
+
*
|
|
72
|
+
* - `base`: Standard border width.
|
|
73
|
+
* - `large`: Thick border for strong emphasis.
|
|
74
|
+
* - `large-100`: Extra thick border for maximum prominence.
|
|
75
|
+
* - `large-200`: The thickest available border.
|
|
76
|
+
* - `none`: No border.
|
|
77
|
+
*/
|
|
17
78
|
export type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
79
|
+
/**
|
|
80
|
+
* The subset of border color values available for this component.
|
|
81
|
+
*
|
|
82
|
+
* - `base`: The standard border color for most contexts.
|
|
83
|
+
*/
|
|
18
84
|
export type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
85
|
+
/**
|
|
86
|
+
* A shorthand string for specifying border properties. Accepts a size alone (`'base'`), size with color (`'base base'`), or size with color and style (`'base base dashed'`). Omitted values use their defaults.
|
|
87
|
+
*/
|
|
19
88
|
export type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
20
89
|
/**
|
|
21
90
|
* Used when an element does not have children.
|
|
@@ -33,17 +102,87 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base
|
|
|
33
102
|
}
|
|
34
103
|
|
|
35
104
|
declare const tagName = "s-grid";
|
|
105
|
+
/**
|
|
106
|
+
* @publicDocs
|
|
107
|
+
*/
|
|
36
108
|
export interface GridElementProps extends Pick<GridProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'display' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows' | 'id' | 'inlineSize' | 'justifyContent' | 'justifyItems' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'placeContent' | 'placeItems' | 'rowGap'> {
|
|
109
|
+
/**
|
|
110
|
+
* Controls how the grid's rows are distributed along the block (column) axis when there is extra space. Set to an empty string to use the default.
|
|
111
|
+
*
|
|
112
|
+
* @default '' - meaning no override
|
|
113
|
+
*/
|
|
37
114
|
alignContent?: MaybeResponsive<ReducedAlignContentKeyword | ''>;
|
|
115
|
+
/**
|
|
116
|
+
* Aligns grid items along the block (column) axis. Set to an empty string to use the default.
|
|
117
|
+
*
|
|
118
|
+
* @default '' - meaning no override
|
|
119
|
+
*/
|
|
38
120
|
alignItems?: MaybeResponsive<ReducedAlignItemsKeyword | ''>;
|
|
121
|
+
/**
|
|
122
|
+
* The background color of the grid.
|
|
123
|
+
*
|
|
124
|
+
* - `base`: The standard background color for general content areas.
|
|
125
|
+
* - `subdued`: A muted background for secondary or supporting content.
|
|
126
|
+
* - `transparent`: No background color (the default).
|
|
127
|
+
*
|
|
128
|
+
* @default 'transparent'
|
|
129
|
+
*/
|
|
39
130
|
background?: Extract<GridProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
131
|
+
/**
|
|
132
|
+
* A shorthand for setting the border width, color, and style in a single property. Individual border properties (`borderWidth`, `borderStyle`, `borderColor`) can override values set here.
|
|
133
|
+
*
|
|
134
|
+
* @default 'none'
|
|
135
|
+
*/
|
|
40
136
|
border?: BorderShorthand;
|
|
137
|
+
/**
|
|
138
|
+
* The color of the border using the design system's color scale. Overrides the color value set by `border`.
|
|
139
|
+
*
|
|
140
|
+
* @default '' - meaning no override
|
|
141
|
+
*/
|
|
41
142
|
borderColor?: ReducedColorKeyword | '';
|
|
143
|
+
/**
|
|
144
|
+
* The thickness of the border on all sides. Supports 1-to-4-value shorthand syntax for specifying different widths per side. Overrides the width value set by `border`.
|
|
145
|
+
*
|
|
146
|
+
* @default '' - meaning no override
|
|
147
|
+
*/
|
|
42
148
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
149
|
+
/**
|
|
150
|
+
* The roundedness of the grid's corners.
|
|
151
|
+
*
|
|
152
|
+
* - `none`: Sharp corners with no rounding.
|
|
153
|
+
* - `small-100` / `small`: Subtle rounding for compact elements.
|
|
154
|
+
* - `base`: Standard rounding for most use cases.
|
|
155
|
+
* - `large` / `large-100`: More pronounced rounding for prominent containers.
|
|
156
|
+
* - `max`: Maximum rounding, creating a pill or circular shape.
|
|
157
|
+
*
|
|
158
|
+
* Supports 1-to-4-value shorthand syntax for specifying different radii per corner.
|
|
159
|
+
*
|
|
160
|
+
* @default 'none'
|
|
161
|
+
*/
|
|
43
162
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
163
|
+
/**
|
|
164
|
+
* Controls how the grid's columns are distributed along the inline (row) axis when there is extra space. Set to an empty string to use the default.
|
|
165
|
+
*
|
|
166
|
+
* @default '' - meaning no override
|
|
167
|
+
*/
|
|
44
168
|
justifyContent?: MaybeResponsive<ReducedJustifyContentKeyword | ''>;
|
|
169
|
+
/**
|
|
170
|
+
* Aligns grid items along the inline (row) axis. Set to an empty string to use the default.
|
|
171
|
+
*
|
|
172
|
+
* @default '' - meaning no override
|
|
173
|
+
*/
|
|
45
174
|
justifyItems?: MaybeResponsive<ReducedJustifyItemsKeyword | ''>;
|
|
175
|
+
/**
|
|
176
|
+
* A shorthand for `justifyContent` and `alignContent` that sets both distribution axes at once.
|
|
177
|
+
*
|
|
178
|
+
* @default 'normal normal'
|
|
179
|
+
*/
|
|
46
180
|
placeContent?: MaybeResponsive<`${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword>;
|
|
181
|
+
/**
|
|
182
|
+
* A shorthand for `justifyItems` and `alignItems` that sets both alignment axes at once.
|
|
183
|
+
*
|
|
184
|
+
* @default 'normal normal'
|
|
185
|
+
*/
|
|
47
186
|
placeItems?: MaybeResponsive<`${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword>;
|
|
48
187
|
}
|
|
49
188
|
export interface GridElement extends GridElementProps, Omit<HTMLElement, 'id'> {
|
|
@@ -10,8 +10,25 @@
|
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
import type {GridItemProps$1,BorderSizeKeyword, BorderStyleKeyword,ColorKeyword,MaybeAllValuesShorthandProperty} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* The subset of border size values available for this component.
|
|
15
|
+
*
|
|
16
|
+
* - `base`: Standard border width.
|
|
17
|
+
* - `large`: Thick border for strong emphasis.
|
|
18
|
+
* - `large-100`: Extra thick border for maximum prominence.
|
|
19
|
+
* - `large-200`: The thickest available border.
|
|
20
|
+
* - `none`: No border.
|
|
21
|
+
*/
|
|
13
22
|
export type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
23
|
+
/**
|
|
24
|
+
* The subset of border color values available for this component.
|
|
25
|
+
*
|
|
26
|
+
* - `base`: The standard border color for most contexts.
|
|
27
|
+
*/
|
|
14
28
|
export type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
29
|
+
/**
|
|
30
|
+
* A shorthand string for specifying border properties. Accepts a size alone (`'base'`), size with color (`'base base'`), or size with color and style (`'base base dashed'`). Omitted values use their defaults.
|
|
31
|
+
*/
|
|
15
32
|
export type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
16
33
|
/**
|
|
17
34
|
* Used when an element does not have children.
|
|
@@ -29,11 +46,51 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base
|
|
|
29
46
|
}
|
|
30
47
|
|
|
31
48
|
declare const tagName = "s-grid-item";
|
|
49
|
+
/**
|
|
50
|
+
* @publicDocs
|
|
51
|
+
*/
|
|
32
52
|
export interface GridItemElementProps extends Pick<GridItemProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'gridColumn' | 'gridRow' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
53
|
+
/**
|
|
54
|
+
* The background color of the grid item.
|
|
55
|
+
*
|
|
56
|
+
* - `base`: The standard background color for general content areas.
|
|
57
|
+
* - `subdued`: A muted background for secondary or supporting content.
|
|
58
|
+
* - `transparent`: No background color (the default).
|
|
59
|
+
*
|
|
60
|
+
* @default 'transparent'
|
|
61
|
+
*/
|
|
33
62
|
background?: Extract<GridItemProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
63
|
+
/**
|
|
64
|
+
* A shorthand for setting the border width, color, and style in a single property. Individual border properties (`borderWidth`, `borderStyle`, `borderColor`) can override values set here.
|
|
65
|
+
*
|
|
66
|
+
* @default 'none'
|
|
67
|
+
*/
|
|
34
68
|
border?: BorderShorthand;
|
|
69
|
+
/**
|
|
70
|
+
* The color of the border using the design system's color scale. Overrides the color value set by `border`.
|
|
71
|
+
*
|
|
72
|
+
* @default '' - meaning no override
|
|
73
|
+
*/
|
|
35
74
|
borderColor?: ReducedColorKeyword | '';
|
|
75
|
+
/**
|
|
76
|
+
* The thickness of the border on all sides. Supports 1-to-4-value shorthand syntax for specifying different widths per side. Overrides the width value set by `border`.
|
|
77
|
+
*
|
|
78
|
+
* @default '' - meaning no override
|
|
79
|
+
*/
|
|
36
80
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
81
|
+
/**
|
|
82
|
+
* The roundedness of the grid item's corners.
|
|
83
|
+
*
|
|
84
|
+
* - `none`: Sharp corners with no rounding.
|
|
85
|
+
* - `small-100` / `small`: Subtle rounding for compact elements.
|
|
86
|
+
* - `base`: Standard rounding for most use cases.
|
|
87
|
+
* - `large` / `large-100`: More pronounced rounding for prominent containers.
|
|
88
|
+
* - `max`: Maximum rounding, creating a pill or circular shape.
|
|
89
|
+
*
|
|
90
|
+
* Supports 1-to-4-value shorthand syntax for specifying different radii per corner.
|
|
91
|
+
*
|
|
92
|
+
* @default 'none'
|
|
93
|
+
*/
|
|
37
94
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridItemProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
38
95
|
}
|
|
39
96
|
export interface GridItemElement extends GridItemElementProps, Omit<HTMLElement, 'id'> {
|
|
@@ -26,6 +26,10 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
declare const tagName = "s-heading";
|
|
29
|
+
/**
|
|
30
|
+
* The element props interface for the Heading component.
|
|
31
|
+
* @publicDocs
|
|
32
|
+
*/
|
|
29
33
|
export interface HeadingElementProps extends Pick<HeadingProps$1, 'accessibilityRole' | 'id'> {
|
|
30
34
|
}
|
|
31
35
|
export interface HeadingElement extends HeadingElementProps, Omit<HTMLElement, 'id'> {
|
|
@@ -11,29 +11,74 @@
|
|
|
11
11
|
import type {IconProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The base properties for elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
15
15
|
*/
|
|
16
16
|
export interface BaseElementProps<TClass = HTMLElement> {
|
|
17
|
+
/**
|
|
18
|
+
* A unique identifier for this element within its parent. Used by the rendering engine for efficient reconciliation when lists change.
|
|
19
|
+
*/
|
|
17
20
|
key?: preact.Key;
|
|
21
|
+
/**
|
|
22
|
+
* A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
|
|
23
|
+
*/
|
|
18
24
|
ref?: preact.Ref<TClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Assigns this element to a named slot in a parent component that uses slot-based composition patterns.
|
|
27
|
+
*/
|
|
19
28
|
slot?: Lowercase<string>;
|
|
20
29
|
}
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
31
|
+
* The complete list of [icon names](https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10) available in checkout and customer account surfaces. These icons are drawn from Shopify's design system and cover common UI patterns like navigation, status indicators, actions, and commerce concepts.
|
|
25
32
|
*/
|
|
26
33
|
declare const CHECKOUT_AVAILABLE_ICONS: readonly ["alert-circle", "alert-triangle-filled", "alert-triangle", "arrow-down", "arrow-left", "arrow-right", "arrow-up-right", "arrow-up", "bag", "bullet", "calendar", "camera", "caret-down", "cart", "cash-dollar", "categories", "check-circle", "check-circle-filled", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clipboard", "clock", "credit-card", "delete", "delivered", "delivery", "disabled", "discount", "edit", "email", "empty", "external", "filter", "geolocation", "gift-card", "globe", "grid", "image", "info-filled", "info", "list-bulleted", "location", "lock", "map", "menu-horizontal", "menu-vertical", "menu", "minus", "mobile", "note", "order", "organization", "plus", "profile", "question-circle-filled", "question-circle", "reorder", "reset", "return", "savings", "search", "settings", "star-filled", "star-half", "star", "store", "truck", "upload", "x-circle-filled", "x-circle", "x"];
|
|
34
|
+
/**
|
|
35
|
+
* The subset of icon types available in checkout and customer account surfaces. This is a narrowed set from the full Shopify icon library, containing only the icons supported in these contexts.
|
|
36
|
+
*/
|
|
27
37
|
export type ReducedIconTypes = (typeof CHECKOUT_AVAILABLE_ICONS)[number];
|
|
28
38
|
|
|
29
39
|
declare const tagName = "s-icon";
|
|
40
|
+
/** @publicDocs */
|
|
30
41
|
export interface IconElementProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
42
|
+
/**
|
|
43
|
+
* The semantic meaning and color treatment of the icon.
|
|
44
|
+
*
|
|
45
|
+
* - `'info'`: Informational content or helpful tips.
|
|
46
|
+
* - `'auto'`: Automatically determined based on context.
|
|
47
|
+
* - `'neutral'`: General information without specific intent.
|
|
48
|
+
* - `'success'`: Positive outcomes or successful states.
|
|
49
|
+
* - `'warning'`: Important warnings about potential issues.
|
|
50
|
+
* - `'critical'`: Urgent problems or destructive actions.
|
|
51
|
+
* - `'custom'`: Inherits a custom color from its parent element's CSS.
|
|
52
|
+
*
|
|
53
|
+
* @default 'auto'
|
|
54
|
+
*/
|
|
31
55
|
tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
56
|
+
/**
|
|
57
|
+
* The size of the icon.
|
|
58
|
+
*
|
|
59
|
+
* - `'base'`: Default size that works well for most use cases.
|
|
60
|
+
* - `'small'`: Small icon for inline use within text or compact UI elements.
|
|
61
|
+
* - `'small-200'`: Extra small icon for the most compact contexts.
|
|
62
|
+
* - `'small-100'`: Small icon suitable for tight or dense layouts.
|
|
63
|
+
* - `'large'`: Large icon for emphasis or prominent display.
|
|
64
|
+
* - `'large-100'`: Extra large icon for maximum visual impact.
|
|
65
|
+
*
|
|
66
|
+
* @default 'base'
|
|
67
|
+
*/
|
|
32
68
|
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
69
|
+
/**
|
|
70
|
+
* The type of icon that will be displayed. You can specify an icon name from the available icon set, or use an empty string to show no icon.
|
|
71
|
+
*/
|
|
33
72
|
type?: '' | ReducedIconTypes;
|
|
34
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* The HTML element interface for the `s-icon` custom element.
|
|
76
|
+
*/
|
|
35
77
|
export interface IconElement extends IconElementProps, Omit<HTMLElement, 'id'> {
|
|
36
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* The properties for the icon component when it's used in JSX.
|
|
81
|
+
*/
|
|
37
82
|
export interface IconProps extends IconElementProps {
|
|
38
83
|
}
|
|
39
84
|
declare global {
|
|
@@ -10,26 +10,68 @@
|
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
import type {ImageProps$1,BorderSizeKeyword, BorderStyleKeyword,ColorKeyword,MaybeAllValuesShorthandProperty} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* The subset of border size values available for the image component. These control the thickness of any border applied around the image.
|
|
15
|
+
*
|
|
16
|
+
* - `base`: Standard border width.
|
|
17
|
+
* - `large`: Thick border for strong emphasis.
|
|
18
|
+
* - `large-100`: Extra thick border for maximum prominence.
|
|
19
|
+
* - `large-200`: The thickest available border.
|
|
20
|
+
* - `none`: No border.
|
|
21
|
+
*/
|
|
13
22
|
export type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
23
|
+
/**
|
|
24
|
+
* The subset of border color values available for the image component.
|
|
25
|
+
*
|
|
26
|
+
* - `base`: The standard border color for most contexts.
|
|
27
|
+
*/
|
|
14
28
|
export type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
29
|
+
/**
|
|
30
|
+
* A shorthand string for specifying border properties on the image component. Supports size alone, size with color, or size with color and style — following the pattern `'size'`, `'size color'`, or `'size color style'`.
|
|
31
|
+
*/
|
|
15
32
|
export type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
16
33
|
/**
|
|
17
|
-
*
|
|
34
|
+
* The base properties for elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
18
35
|
*/
|
|
19
36
|
export interface BaseElementProps<TClass = HTMLElement> {
|
|
37
|
+
/**
|
|
38
|
+
* A unique identifier for this element within its parent. Used by the rendering engine for efficient reconciliation when lists change.
|
|
39
|
+
*/
|
|
20
40
|
key?: preact.Key;
|
|
41
|
+
/**
|
|
42
|
+
* A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
|
|
43
|
+
*/
|
|
21
44
|
ref?: preact.Ref<TClass>;
|
|
45
|
+
/**
|
|
46
|
+
* Assigns this element to a named slot in a parent component that uses slot-based composition patterns.
|
|
47
|
+
*/
|
|
22
48
|
slot?: Lowercase<string>;
|
|
23
49
|
}
|
|
24
50
|
|
|
25
51
|
declare const tagName = "s-image";
|
|
52
|
+
/** @publicDocs */
|
|
26
53
|
export interface ImageElementProps extends Pick<ImageProps$1, 'accessibilityRole' | 'alt' | 'aspectRatio' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'id' | 'inlineSize' | 'loading' | 'objectFit' | 'sizes' | 'src' | 'srcSet'> {
|
|
54
|
+
/**
|
|
55
|
+
* A shorthand for setting the border around the image. Accepts a size keyword alone (for example, `'base'`), a size and color (for example, `'base base'`), or a size, color, and style (for example, `'base base solid'`). Use `'none'` to remove the border.
|
|
56
|
+
*/
|
|
27
57
|
border?: BorderShorthand;
|
|
58
|
+
/**
|
|
59
|
+
* The width of the border around the image. You can use a single value to apply the same width to all sides, or use the [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) to control individual sides. When set, this overrides the width value specified in the `border` shorthand.
|
|
60
|
+
*/
|
|
28
61
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
62
|
+
/**
|
|
63
|
+
* The radius of the border corners around the image. You can use a single value to apply the same radius to all corners, or use the [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) to control individual corners.
|
|
64
|
+
*/
|
|
29
65
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ImageProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
30
66
|
}
|
|
67
|
+
/**
|
|
68
|
+
* The HTML element interface for the `s-image` custom element.
|
|
69
|
+
*/
|
|
31
70
|
export interface ImageElement extends ImageElementProps, Omit<HTMLElement, 'id'> {
|
|
32
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
* The properties for the image component when it's used in JSX.
|
|
74
|
+
*/
|
|
33
75
|
export interface ImageProps extends ImageElementProps {
|
|
34
76
|
}
|
|
35
77
|
declare global {
|
|
@@ -24,26 +24,39 @@ export interface BaseElementProps<TClass = HTMLElement> {
|
|
|
24
24
|
export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
25
25
|
children?: preact.ComponentChildren;
|
|
26
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* 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.
|
|
29
|
+
*/
|
|
27
30
|
export type CallbackEvent<TTagName extends keyof HTMLElementTagNameMap, TEvent extends Event = Event> = TEvent & {
|
|
28
31
|
currentTarget: HTMLElementTagNameMap[TTagName];
|
|
29
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* A typed event listener for custom element events. The listener receives a `CallbackEvent` with the correct `currentTarget` type for the associated custom element tag.
|
|
35
|
+
*/
|
|
30
36
|
export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap, TData = object> = (EventListener & {
|
|
31
37
|
(event: CallbackEvent<TTagName, Event> & TData): void;
|
|
32
38
|
}) | null;
|
|
33
39
|
|
|
34
40
|
declare const tagName = "s-link";
|
|
41
|
+
/**
|
|
42
|
+
* Configure the following properties on the link component.
|
|
43
|
+
* @publicDocs
|
|
44
|
+
*/
|
|
35
45
|
export interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'interestFor' | 'lang' | 'target' | 'tone'> {
|
|
36
46
|
target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
|
|
37
47
|
tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
|
|
38
48
|
}
|
|
39
49
|
export interface LinkEvents extends Pick<LinkProps$1, 'onClick'> {
|
|
40
50
|
}
|
|
51
|
+
/**
|
|
52
|
+
* The link component provides event callbacks for handling user interactions. Learn more about [handling events](/docs/api/polaris/using-polaris-web-components#handling-events).
|
|
53
|
+
* @publicDocs
|
|
54
|
+
*/
|
|
41
55
|
export interface LinkElementEvents {
|
|
42
56
|
/**
|
|
43
|
-
*
|
|
44
|
-
* This will be called before navigating to the location specified by `href`.
|
|
57
|
+
* A callback fired when the link is clicked, before navigating to the location specified by `href`.
|
|
45
58
|
*
|
|
46
|
-
*
|
|
59
|
+
* Learn more about the [click event](https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event).
|
|
47
60
|
*/
|
|
48
61
|
click?: CallbackEventListener<typeof tagName>;
|
|
49
62
|
}
|
|
@@ -26,6 +26,10 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base
|
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
declare const tagName = "s-list-item";
|
|
29
|
+
/**
|
|
30
|
+
* The element props interface for the ListItem component.
|
|
31
|
+
* @publicDocs
|
|
32
|
+
*/
|
|
29
33
|
export interface ListItemElementProps extends Pick<ListItemProps$1, 'id'> {
|
|
30
34
|
}
|
|
31
35
|
export interface ListItemElement extends ListItemElementProps, Omit<HTMLElement, 'id'> {
|
|
@@ -11,71 +11,133 @@
|
|
|
11
11
|
import type {MapProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* The base properties for elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
15
15
|
*/
|
|
16
16
|
export interface BaseElementProps<TClass = HTMLElement> {
|
|
17
|
+
/**
|
|
18
|
+
* A unique identifier for this element within its parent. Used by the rendering engine for efficient reconciliation when lists change.
|
|
19
|
+
*/
|
|
17
20
|
key?: preact.Key;
|
|
21
|
+
/**
|
|
22
|
+
* A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
|
|
23
|
+
*/
|
|
18
24
|
ref?: preact.Ref<TClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Assigns this element to a named slot in a parent component that uses slot-based composition patterns.
|
|
27
|
+
*/
|
|
19
28
|
slot?: Lowercase<string>;
|
|
20
29
|
}
|
|
21
30
|
/**
|
|
22
|
-
*
|
|
31
|
+
* The base properties for elements that have children, extending `BaseElementProps` with children support.
|
|
23
32
|
*/
|
|
24
33
|
export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
34
|
+
/**
|
|
35
|
+
* The child elements to render within this component.
|
|
36
|
+
*/
|
|
25
37
|
children?: preact.ComponentChildren;
|
|
26
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* A callback event typed to a specific HTML element, with a strongly typed `currentTarget`.
|
|
41
|
+
*/
|
|
27
42
|
export type CallbackEvent<TTagName extends keyof HTMLElementTagNameMap, TEvent extends Event = Event> = TEvent & {
|
|
28
43
|
currentTarget: HTMLElementTagNameMap[TTagName];
|
|
29
44
|
};
|
|
45
|
+
/**
|
|
46
|
+
* An event listener typed to a specific HTML element, with a strongly typed `currentTarget`.
|
|
47
|
+
*/
|
|
30
48
|
export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap, TData = object> = (EventListener & {
|
|
31
49
|
(event: CallbackEvent<TTagName, Event> & TData): void;
|
|
32
50
|
}) | null;
|
|
33
51
|
|
|
34
52
|
declare const tagName = "s-map";
|
|
53
|
+
/** @publicDocs */
|
|
35
54
|
export interface MapElementProps extends Pick<MapProps$1, 'accessibilityLabel' | 'apiKey' | 'blockSize' | 'id' | 'inlineSize' | 'latitude' | 'longitude' | 'maxBlockSize' | 'maxInlineSize' | 'maxZoom' | 'minBlockSize' | 'minInlineSize' | 'minZoom' | 'zoom'> {
|
|
36
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* The event handlers for the map component.
|
|
58
|
+
*/
|
|
37
59
|
export interface MapEvents extends Pick<MapProps$1, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'> {
|
|
38
60
|
}
|
|
61
|
+
/**
|
|
62
|
+
* A geographic coordinate pair representing a location on the map, defined by latitude and longitude values.
|
|
63
|
+
*/
|
|
39
64
|
export interface MapLocation {
|
|
65
|
+
/**
|
|
66
|
+
* The latitude of the location in degrees. Valid values range from -90 (South Pole) to 90 (North Pole).
|
|
67
|
+
*/
|
|
40
68
|
latitude?: number;
|
|
69
|
+
/**
|
|
70
|
+
* The longitude of the location in degrees. Valid values range from -180 (west) to 180 (east).
|
|
71
|
+
*/
|
|
41
72
|
longitude?: number;
|
|
42
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* The event data provided when a map interaction occurs at a specific geographic location, such as a click or double-click.
|
|
76
|
+
*/
|
|
43
77
|
export interface MapLocationEvent {
|
|
78
|
+
/**
|
|
79
|
+
* The geographic location on the map where the interaction occurred, as a latitude/longitude coordinate pair.
|
|
80
|
+
*/
|
|
44
81
|
location?: MapLocation;
|
|
45
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* The event data provided when the visible map boundaries change, such as after a pan or zoom completes. Contains the new geographic bounds of the visible area.
|
|
85
|
+
*/
|
|
46
86
|
export interface MapBoundsEvent {
|
|
87
|
+
/**
|
|
88
|
+
* The geographic boundaries of the currently visible map area, defined by its north-east and south-west corners.
|
|
89
|
+
*/
|
|
47
90
|
bounds?: {
|
|
91
|
+
/**
|
|
92
|
+
* The north-east corner of the visible map area, representing the top-right of the visible region.
|
|
93
|
+
*/
|
|
48
94
|
northEast?: MapLocation;
|
|
95
|
+
/**
|
|
96
|
+
* The south-west corner of the visible map area, representing the bottom-left of the visible region.
|
|
97
|
+
*/
|
|
49
98
|
southWest?: MapLocation;
|
|
50
99
|
};
|
|
51
100
|
}
|
|
101
|
+
/**
|
|
102
|
+
* The event data provided when the map view changes, such as after the user pans or zooms. Contains the new center location and zoom level.
|
|
103
|
+
*/
|
|
52
104
|
export interface MapViewChangeEvent extends MapLocationEvent {
|
|
105
|
+
/**
|
|
106
|
+
* The current zoom level of the map after the view change, as a number from 0 (world view) to 18 (street level).
|
|
107
|
+
*/
|
|
53
108
|
zoom?: number;
|
|
54
109
|
}
|
|
110
|
+
/** @publicDocs */
|
|
55
111
|
export interface MapElementEvents {
|
|
56
112
|
/**
|
|
57
|
-
*
|
|
113
|
+
* A callback fired when the visible map boundaries change, such as after a pan or zoom completes.
|
|
58
114
|
*/
|
|
59
115
|
boundschange?: CallbackEventListener<typeof tagName, MapBoundsEvent>;
|
|
60
116
|
/**
|
|
61
|
-
*
|
|
117
|
+
* A callback fired when the user clicks on the map. Provides the geographic location of the click.
|
|
62
118
|
*/
|
|
63
119
|
click?: CallbackEventListener<typeof tagName, MapLocationEvent>;
|
|
64
120
|
/**
|
|
65
|
-
*
|
|
121
|
+
* A callback fired when the user double-clicks on the map. Provides the geographic location of the double-click.
|
|
66
122
|
*/
|
|
67
123
|
dblclick?: CallbackEventListener<typeof tagName, MapLocationEvent>;
|
|
68
124
|
/**
|
|
69
|
-
*
|
|
125
|
+
* A callback fired when the map view changes, such as when the user pans or zooms. Provides the new center location and zoom level.
|
|
70
126
|
*/
|
|
71
127
|
viewchange?: CallbackEventListener<typeof tagName, MapViewChangeEvent>;
|
|
72
128
|
}
|
|
129
|
+
/**
|
|
130
|
+
* The HTML element interface for the `s-map` custom element.
|
|
131
|
+
*/
|
|
73
132
|
export interface MapElement extends MapElementProps, Omit<HTMLElement, 'id' | 'onclick' | 'ondblclick'> {
|
|
74
133
|
onboundschange: MapEvents['onBoundsChange'];
|
|
75
134
|
onclick: MapEvents['onClick'];
|
|
76
135
|
ondblclick: MapEvents['onDblClick'];
|
|
77
136
|
onviewchange: MapEvents['onViewChange'];
|
|
78
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* The properties for the map component when it's used in JSX.
|
|
140
|
+
*/
|
|
79
141
|
export interface MapProps extends MapElementProps, MapEvents {
|
|
80
142
|
}
|
|
81
143
|
declare global {
|