@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
|
@@ -7,21 +7,34 @@
|
|
|
7
7
|
/**
|
|
8
8
|
* TODO: Update `any` type here after this is resolved
|
|
9
9
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
10
|
+
* @publicDocs
|
|
10
11
|
*/
|
|
11
12
|
export type ComponentChildren = preact.ComponentChildren;
|
|
13
|
+
/**
|
|
14
|
+
* @publicDocs
|
|
15
|
+
*/
|
|
12
16
|
export type StringChildren = string;
|
|
17
|
+
/**
|
|
18
|
+
* @publicDocs
|
|
19
|
+
*/
|
|
13
20
|
export interface GlobalProps {
|
|
14
21
|
/**
|
|
15
22
|
* A unique identifier for the element.
|
|
16
23
|
*/
|
|
17
24
|
id?: string;
|
|
18
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* @publicDocs
|
|
28
|
+
*/
|
|
19
29
|
export interface ActionProps {
|
|
20
30
|
/**
|
|
21
31
|
* The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
|
|
22
32
|
*/
|
|
23
33
|
heading?: string;
|
|
24
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* @publicDocs
|
|
37
|
+
*/
|
|
25
38
|
export interface ActionSlots {
|
|
26
39
|
/**
|
|
27
40
|
* The primary action element, typically a button or link component representing the main call-to-action.
|
|
@@ -59,6 +72,9 @@ interface AdminPrintActionProps$1 extends GlobalProps {
|
|
|
59
72
|
*/
|
|
60
73
|
src?: string;
|
|
61
74
|
}
|
|
75
|
+
/**
|
|
76
|
+
* @publicDocs
|
|
77
|
+
*/
|
|
62
78
|
export interface BaseOverlayProps {
|
|
63
79
|
/**
|
|
64
80
|
* A callback fired immediately after the overlay is shown.
|
|
@@ -84,6 +100,7 @@ export interface BaseOverlayProps {
|
|
|
84
100
|
* - Components implementing this interface must provide all methods
|
|
85
101
|
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
86
102
|
* - Consumers expect these methods to be consistently available on all instances
|
|
103
|
+
* @publicDocs
|
|
87
104
|
*/
|
|
88
105
|
export interface BaseOverlayMethods {
|
|
89
106
|
/**
|
|
@@ -105,6 +122,9 @@ export interface BaseOverlayMethods {
|
|
|
105
122
|
*/
|
|
106
123
|
toggleOverlay: () => void;
|
|
107
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* @publicDocs
|
|
127
|
+
*/
|
|
108
128
|
export interface FocusEventProps {
|
|
109
129
|
/**
|
|
110
130
|
* A callback fired when the element loses focus. Learn more about the [blur event](https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event).
|
|
@@ -115,6 +135,9 @@ export interface FocusEventProps {
|
|
|
115
135
|
*/
|
|
116
136
|
onFocus?: (event: FocusEvent) => void;
|
|
117
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @publicDocs
|
|
140
|
+
*/
|
|
118
141
|
export interface ToggleEventProps {
|
|
119
142
|
/**
|
|
120
143
|
* A callback fired when the element state changes, after any toggle animations have finished.
|
|
@@ -139,11 +162,17 @@ export interface ToggleEventProps {
|
|
|
139
162
|
*/
|
|
140
163
|
onToggle?: (event: ToggleEvent$1) => void;
|
|
141
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* @publicDocs
|
|
167
|
+
*/
|
|
142
168
|
export type ToggleState = 'open' | 'closed';
|
|
143
169
|
interface ToggleEvent$1 extends Event {
|
|
144
170
|
readonly newState: ToggleState;
|
|
145
171
|
readonly oldState: ToggleState;
|
|
146
172
|
}
|
|
173
|
+
/**
|
|
174
|
+
* @publicDocs
|
|
175
|
+
*/
|
|
147
176
|
export interface ExtendableEvent extends Event {
|
|
148
177
|
/**
|
|
149
178
|
* A method that accepts a promise signaling the duration and eventual success or failure of actions relating to the event.
|
|
@@ -155,12 +184,21 @@ export interface ExtendableEvent extends Event {
|
|
|
155
184
|
*/
|
|
156
185
|
waitUntil?: (promise: Promise<void>) => void;
|
|
157
186
|
}
|
|
187
|
+
/**
|
|
188
|
+
* @publicDocs
|
|
189
|
+
*/
|
|
158
190
|
export interface AggregateError<T extends Error> extends Error {
|
|
159
191
|
errors: T[];
|
|
160
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* @publicDocs
|
|
195
|
+
*/
|
|
161
196
|
export interface AggregateErrorEvent<T extends Error> extends ErrorEvent {
|
|
162
197
|
error: AggregateError<T>;
|
|
163
198
|
}
|
|
199
|
+
/**
|
|
200
|
+
* @publicDocs
|
|
201
|
+
*/
|
|
164
202
|
export type SizeKeyword =
|
|
165
203
|
| 'small-500'
|
|
166
204
|
| 'small-400'
|
|
@@ -182,6 +220,7 @@ export type SizeKeyword =
|
|
|
182
220
|
* - `base`: Primary color for body text, standard UI elements, and general content with good readability.
|
|
183
221
|
* - `strong`: Emphasized color for headings, key labels, and interactive elements that need prominence.
|
|
184
222
|
*
|
|
223
|
+
* @publicDocs
|
|
185
224
|
*/
|
|
186
225
|
export type ColorKeyword = 'subdued' | 'base' | 'strong';
|
|
187
226
|
interface AvatarProps$1 extends GlobalProps {
|
|
@@ -229,8 +268,12 @@ interface AvatarProps$1 extends GlobalProps {
|
|
|
229
268
|
* - `transparent`: No background, allowing the underlying surface to show through.
|
|
230
269
|
* - `ColorKeyword`: Applies color intensity levels (subdued, base, strong) to create spatial emphasis and containment.
|
|
231
270
|
*
|
|
271
|
+
* @publicDocs
|
|
232
272
|
*/
|
|
233
273
|
export type BackgroundColorKeyword = 'transparent' | ColorKeyword;
|
|
274
|
+
/**
|
|
275
|
+
* @publicDocs
|
|
276
|
+
*/
|
|
234
277
|
export interface BackgroundProps {
|
|
235
278
|
/**
|
|
236
279
|
* The background color of the element. Use `transparent` for no background, or choose from `subdued`, `base`, or `strong` to apply varying levels of color intensity based on the component's `tone`.
|
|
@@ -251,6 +294,7 @@ export interface BackgroundProps {
|
|
|
251
294
|
* In some cases, like for Banner, the tone might also affect the semantic and accessibility treatment of the component.
|
|
252
295
|
*
|
|
253
296
|
* @default 'auto'
|
|
297
|
+
* @publicDocs
|
|
254
298
|
*/
|
|
255
299
|
export type ToneKeyword =
|
|
256
300
|
| 'auto'
|
|
@@ -822,9 +866,13 @@ declare const privateIconArray: readonly [
|
|
|
822
866
|
'x-circle',
|
|
823
867
|
'x-circle-filled',
|
|
824
868
|
];
|
|
869
|
+
/**
|
|
870
|
+
* @publicDocs
|
|
871
|
+
*/
|
|
825
872
|
export type IconType = (typeof privateIconArray)[number];
|
|
826
873
|
/**
|
|
827
874
|
* Like `Extract`, but ensures that the extracted type is a strict subtype of the input type.
|
|
875
|
+
* @publicDocs
|
|
828
876
|
*/
|
|
829
877
|
export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
830
878
|
/**
|
|
@@ -835,6 +883,7 @@ export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
|
835
883
|
* - `${T} ${T}`: Two values for block axis (top/bottom) and inline axis (left/right).
|
|
836
884
|
* - `${T} ${T} ${T}`: Three values for block-start (top), inline axis (left/right), and block-end (bottom).
|
|
837
885
|
* - `${T} ${T} ${T} ${T}`: Four values for block-start (top), inline-end (right), block-end (bottom), and inline-start (left).
|
|
886
|
+
* @publicDocs
|
|
838
887
|
*/
|
|
839
888
|
export type MaybeAllValuesShorthandProperty<T extends string> =
|
|
840
889
|
| T
|
|
@@ -847,6 +896,7 @@ export type MaybeAllValuesShorthandProperty<T extends string> =
|
|
|
847
896
|
*
|
|
848
897
|
* - `T`: Single value that applies to both dimensions.
|
|
849
898
|
* - `${T} ${T}`: Two values for block axis (vertical) and inline axis (horizontal).
|
|
899
|
+
* @publicDocs
|
|
850
900
|
*/
|
|
851
901
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
852
902
|
/**
|
|
@@ -855,6 +905,7 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
|
855
905
|
*
|
|
856
906
|
* - `T`: Base value that applies in all conditions.
|
|
857
907
|
* - `@container${string}`: Container query string for conditional responsive styling based on container size.
|
|
908
|
+
* @publicDocs
|
|
858
909
|
*/
|
|
859
910
|
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
860
911
|
/**
|
|
@@ -864,6 +915,7 @@ export type MaybeResponsive<T> = T | `@container${string}`;
|
|
|
864
915
|
* // ^? string
|
|
865
916
|
* type PropName = 'foo' | 'bar' | (string & {})
|
|
866
917
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
918
|
+
* @publicDocs
|
|
867
919
|
*/
|
|
868
920
|
export type AnyString = string & {};
|
|
869
921
|
/**
|
|
@@ -871,6 +923,7 @@ export type AnyString = string & {};
|
|
|
871
923
|
* to have a space or not in the string literal types.
|
|
872
924
|
*
|
|
873
925
|
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
926
|
+
* @publicDocs
|
|
874
927
|
*/
|
|
875
928
|
export type optionalSpace = '' | ' ';
|
|
876
929
|
interface BadgeProps$1 extends GlobalProps {
|
|
@@ -993,6 +1046,9 @@ interface BannerProps$1 extends GlobalProps, ActionSlots {
|
|
|
993
1046
|
*/
|
|
994
1047
|
hidden?: boolean;
|
|
995
1048
|
}
|
|
1049
|
+
/**
|
|
1050
|
+
* @publicDocs
|
|
1051
|
+
*/
|
|
996
1052
|
export interface DisplayProps {
|
|
997
1053
|
/**
|
|
998
1054
|
* Sets the outer display type of the component. The outer type sets a component’s participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
@@ -1006,6 +1062,9 @@ export interface DisplayProps {
|
|
|
1006
1062
|
*/
|
|
1007
1063
|
display?: MaybeResponsive<'auto' | 'none'>;
|
|
1008
1064
|
}
|
|
1065
|
+
/**
|
|
1066
|
+
* @publicDocs
|
|
1067
|
+
*/
|
|
1009
1068
|
export interface AccessibilityRoleProps {
|
|
1010
1069
|
/**
|
|
1011
1070
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -1048,6 +1107,7 @@ export interface AccessibilityRoleProps {
|
|
|
1048
1107
|
* - `generic`: Creates a semantically neutral container element with no inherent meaning.
|
|
1049
1108
|
* - `presentation`: Removes semantic meaning from an element while preserving its visual appearance.
|
|
1050
1109
|
* - `none`: Synonym for `presentation`, removes semantic meaning while keeping visual styling.
|
|
1110
|
+
* @publicDocs
|
|
1051
1111
|
*/
|
|
1052
1112
|
export type AccessibilityRole =
|
|
1053
1113
|
/**
|
|
@@ -1164,6 +1224,9 @@ export type AccessibilityRole =
|
|
|
1164
1224
|
* Learn more about the [`none` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/none_role) in the MDN web docs.
|
|
1165
1225
|
*/
|
|
1166
1226
|
| 'none';
|
|
1227
|
+
/**
|
|
1228
|
+
* @publicDocs
|
|
1229
|
+
*/
|
|
1167
1230
|
export interface AccessibilityVisibilityProps {
|
|
1168
1231
|
/**
|
|
1169
1232
|
* Controls the visibility of the element for both visual and assistive technology users.
|
|
@@ -1176,6 +1239,9 @@ export interface AccessibilityVisibilityProps {
|
|
|
1176
1239
|
*/
|
|
1177
1240
|
accessibilityVisibility?: 'visible' | 'hidden' | 'exclusive';
|
|
1178
1241
|
}
|
|
1242
|
+
/**
|
|
1243
|
+
* @publicDocs
|
|
1244
|
+
*/
|
|
1179
1245
|
export interface LabelAccessibilityVisibilityProps {
|
|
1180
1246
|
/**
|
|
1181
1247
|
* Controls whether the label is visible to all users or only to screen readers.
|
|
@@ -1198,8 +1264,12 @@ export interface LabelAccessibilityVisibilityProps {
|
|
|
1198
1264
|
*
|
|
1199
1265
|
* - `SizeKeyword`: Standard padding sizes from the size scale for consistent spacing.
|
|
1200
1266
|
* - `none`: No padding.
|
|
1267
|
+
* @publicDocs
|
|
1201
1268
|
*/
|
|
1202
1269
|
export type PaddingKeyword = SizeKeyword | 'none';
|
|
1270
|
+
/**
|
|
1271
|
+
* @publicDocs
|
|
1272
|
+
*/
|
|
1203
1273
|
export interface PaddingProps {
|
|
1204
1274
|
/**
|
|
1205
1275
|
* The padding applied to all edges of the component.
|
|
@@ -1284,6 +1354,7 @@ export interface PaddingProps {
|
|
|
1284
1354
|
* - `${number}px`: Absolute size in pixels for fixed dimensions (such as `100px`, `24px`).
|
|
1285
1355
|
* - `${number}%`: Relative size as a percentage of the parent container (such as `50%`, `100%`).
|
|
1286
1356
|
* - `0`: Zero size, equivalent to no dimension.
|
|
1357
|
+
* @publicDocs
|
|
1287
1358
|
*/
|
|
1288
1359
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
1289
1360
|
/**
|
|
@@ -1291,6 +1362,7 @@ export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
|
1291
1362
|
*
|
|
1292
1363
|
* - `SizeUnits`: Specific size values in pixels, percentages, or zero for precise control.
|
|
1293
1364
|
* - `auto`: Automatically sizes based on content and layout constraints.
|
|
1365
|
+
* @publicDocs
|
|
1294
1366
|
*/
|
|
1295
1367
|
export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
1296
1368
|
/**
|
|
@@ -1298,8 +1370,12 @@ export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
|
1298
1370
|
*
|
|
1299
1371
|
* - `SizeUnits`: Specific size values in pixels, percentages, or zero for precise control.
|
|
1300
1372
|
* - `none`: No size constraint, allowing unlimited growth.
|
|
1373
|
+
* @publicDocs
|
|
1301
1374
|
*/
|
|
1302
1375
|
export type SizeUnitsOrNone = SizeUnits | 'none';
|
|
1376
|
+
/**
|
|
1377
|
+
* @publicDocs
|
|
1378
|
+
*/
|
|
1303
1379
|
export interface SizingProps {
|
|
1304
1380
|
/**
|
|
1305
1381
|
* The block size of the element (height in horizontal writing modes). Learn more about the [block-size property](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
@@ -1344,6 +1420,9 @@ export interface SizingProps {
|
|
|
1344
1420
|
*/
|
|
1345
1421
|
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1346
1422
|
}
|
|
1423
|
+
/**
|
|
1424
|
+
* @publicDocs
|
|
1425
|
+
*/
|
|
1347
1426
|
export type BorderStyleKeyword =
|
|
1348
1427
|
| 'none'
|
|
1349
1428
|
| 'solid'
|
|
@@ -1355,16 +1434,24 @@ export type BorderStyleKeyword =
|
|
|
1355
1434
|
*
|
|
1356
1435
|
* - `SizeKeyword`: Standard border widths from the size scale for consistent thickness.
|
|
1357
1436
|
* - `none`: No border width (removes the border).
|
|
1437
|
+
* @publicDocs
|
|
1358
1438
|
*/
|
|
1359
1439
|
export type BorderSizeKeyword = SizeKeyword | 'none';
|
|
1440
|
+
/**
|
|
1441
|
+
* @publicDocs
|
|
1442
|
+
*/
|
|
1360
1443
|
export type BorderRadiusKeyword = SizeKeyword | 'max' | 'none';
|
|
1361
1444
|
/**
|
|
1362
1445
|
* Represents a shorthand for defining a border. It can be a combination of size, optionally followed by color, optionally followed by style.
|
|
1446
|
+
* @publicDocs
|
|
1363
1447
|
*/
|
|
1364
1448
|
export type BorderShorthand =
|
|
1365
1449
|
| BorderSizeKeyword
|
|
1366
1450
|
| `${BorderSizeKeyword} ${ColorKeyword}`
|
|
1367
1451
|
| `${BorderSizeKeyword} ${ColorKeyword} ${BorderStyleKeyword}`;
|
|
1452
|
+
/**
|
|
1453
|
+
* @publicDocs
|
|
1454
|
+
*/
|
|
1368
1455
|
export interface BorderProps {
|
|
1369
1456
|
/**
|
|
1370
1457
|
* Applies a border using shorthand syntax to specify width, color, and style in a single property.
|
|
@@ -1443,6 +1530,9 @@ export interface BorderProps {
|
|
|
1443
1530
|
*/
|
|
1444
1531
|
borderRadius?: MaybeAllValuesShorthandProperty<BorderRadiusKeyword>;
|
|
1445
1532
|
}
|
|
1533
|
+
/**
|
|
1534
|
+
* @publicDocs
|
|
1535
|
+
*/
|
|
1446
1536
|
export interface OverflowProps {
|
|
1447
1537
|
/**
|
|
1448
1538
|
* Sets the overflow behavior of the element.
|
|
@@ -1456,6 +1546,9 @@ export interface OverflowProps {
|
|
|
1456
1546
|
*/
|
|
1457
1547
|
overflow?: 'hidden' | 'visible';
|
|
1458
1548
|
}
|
|
1549
|
+
/**
|
|
1550
|
+
* @publicDocs
|
|
1551
|
+
*/
|
|
1459
1552
|
export interface BaseBoxProps
|
|
1460
1553
|
extends AccessibilityVisibilityProps,
|
|
1461
1554
|
BackgroundProps,
|
|
@@ -1473,10 +1566,16 @@ export interface BaseBoxProps
|
|
|
1473
1566
|
*/
|
|
1474
1567
|
accessibilityLabel?: string;
|
|
1475
1568
|
}
|
|
1569
|
+
/**
|
|
1570
|
+
* @publicDocs
|
|
1571
|
+
*/
|
|
1476
1572
|
export interface BaseBoxPropsWithRole
|
|
1477
1573
|
extends BaseBoxProps,
|
|
1478
1574
|
AccessibilityRoleProps {}
|
|
1479
1575
|
interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {}
|
|
1576
|
+
/**
|
|
1577
|
+
* @publicDocs
|
|
1578
|
+
*/
|
|
1480
1579
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1481
1580
|
/**
|
|
1482
1581
|
* The behavioral type of the button component, which determines what action it performs when activated.
|
|
@@ -1507,6 +1606,9 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1507
1606
|
*/
|
|
1508
1607
|
loading?: boolean;
|
|
1509
1608
|
}
|
|
1609
|
+
/**
|
|
1610
|
+
* @publicDocs
|
|
1611
|
+
*/
|
|
1510
1612
|
export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1511
1613
|
/**
|
|
1512
1614
|
* The URL to navigate to when clicked. The `click` event fires first, then navigation occurs. If `commandFor` is also set, the command executes instead of navigation.
|
|
@@ -1539,6 +1641,9 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1539
1641
|
*/
|
|
1540
1642
|
onClick?: (event: Event) => void;
|
|
1541
1643
|
}
|
|
1644
|
+
/**
|
|
1645
|
+
* @publicDocs
|
|
1646
|
+
*/
|
|
1542
1647
|
export interface InteractionProps {
|
|
1543
1648
|
/**
|
|
1544
1649
|
* The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [commandfor attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
|
|
@@ -1563,6 +1668,9 @@ export interface InteractionProps {
|
|
|
1563
1668
|
*/
|
|
1564
1669
|
interestFor?: string;
|
|
1565
1670
|
}
|
|
1671
|
+
/**
|
|
1672
|
+
* @publicDocs
|
|
1673
|
+
*/
|
|
1566
1674
|
export interface BaseClickableProps
|
|
1567
1675
|
extends ButtonBehaviorProps,
|
|
1568
1676
|
LinkBehaviorProps {}
|
|
@@ -1632,6 +1740,9 @@ interface ButtonGroupProps$1 extends GlobalProps, ActionSlots {
|
|
|
1632
1740
|
*/
|
|
1633
1741
|
accessibilityLabel?: string;
|
|
1634
1742
|
}
|
|
1743
|
+
/**
|
|
1744
|
+
* @publicDocs
|
|
1745
|
+
*/
|
|
1635
1746
|
export interface BaseInputProps {
|
|
1636
1747
|
/**
|
|
1637
1748
|
* The name attribute for the field, used to identify the field's value when the form is submitted. Must be unique within the nearest containing form.
|
|
@@ -1644,6 +1755,9 @@ export interface BaseInputProps {
|
|
|
1644
1755
|
*/
|
|
1645
1756
|
disabled?: boolean;
|
|
1646
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
* @publicDocs
|
|
1760
|
+
*/
|
|
1647
1761
|
export interface InputProps extends BaseInputProps {
|
|
1648
1762
|
/**
|
|
1649
1763
|
* A callback fired when the user has finished editing the field, such as when they blur the field or press Enter. Learn more about the [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event).
|
|
@@ -1664,6 +1778,9 @@ export interface InputProps extends BaseInputProps {
|
|
|
1664
1778
|
*/
|
|
1665
1779
|
defaultValue?: string;
|
|
1666
1780
|
}
|
|
1781
|
+
/**
|
|
1782
|
+
* @publicDocs
|
|
1783
|
+
*/
|
|
1667
1784
|
export interface MultipleInputProps extends BaseInputProps {
|
|
1668
1785
|
/**
|
|
1669
1786
|
* A callback fired when the user has selected one or more options. Learn more about the [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event).
|
|
@@ -1680,6 +1797,9 @@ export interface MultipleInputProps extends BaseInputProps {
|
|
|
1680
1797
|
*/
|
|
1681
1798
|
values?: string[];
|
|
1682
1799
|
}
|
|
1800
|
+
/**
|
|
1801
|
+
* @publicDocs
|
|
1802
|
+
*/
|
|
1683
1803
|
export interface FileInputProps extends BaseInputProps {
|
|
1684
1804
|
/**
|
|
1685
1805
|
* A callback fired when the user has finished selecting one or more files.
|
|
@@ -1707,12 +1827,18 @@ export interface FileInputProps extends BaseInputProps {
|
|
|
1707
1827
|
*/
|
|
1708
1828
|
files?: ReadonlyArray<File>;
|
|
1709
1829
|
}
|
|
1830
|
+
/**
|
|
1831
|
+
* @publicDocs
|
|
1832
|
+
*/
|
|
1710
1833
|
export interface FieldErrorProps {
|
|
1711
1834
|
/**
|
|
1712
1835
|
* An error message to display to the user. When set, the field will be styled with error indicators to communicate problems that need to be resolved immediately.
|
|
1713
1836
|
*/
|
|
1714
1837
|
error?: string;
|
|
1715
1838
|
}
|
|
1839
|
+
/**
|
|
1840
|
+
* @publicDocs
|
|
1841
|
+
*/
|
|
1716
1842
|
export interface BasicFieldProps
|
|
1717
1843
|
extends FieldErrorProps,
|
|
1718
1844
|
LabelAccessibilityVisibilityProps {
|
|
@@ -1727,12 +1853,18 @@ export interface BasicFieldProps
|
|
|
1727
1853
|
*/
|
|
1728
1854
|
label?: string;
|
|
1729
1855
|
}
|
|
1856
|
+
/**
|
|
1857
|
+
* @publicDocs
|
|
1858
|
+
*/
|
|
1730
1859
|
export interface FieldDetailsProps {
|
|
1731
1860
|
/**
|
|
1732
1861
|
* Additional helpful text displayed alongside the field to provide context, guidance, or instructions to the user. This content is accessible to both visual and screen reader users.
|
|
1733
1862
|
*/
|
|
1734
1863
|
details?: string;
|
|
1735
1864
|
}
|
|
1865
|
+
/**
|
|
1866
|
+
* @publicDocs
|
|
1867
|
+
*/
|
|
1736
1868
|
export interface FieldProps
|
|
1737
1869
|
extends BasicFieldProps,
|
|
1738
1870
|
InputProps,
|
|
@@ -1743,6 +1875,9 @@ export interface FieldProps
|
|
|
1743
1875
|
*/
|
|
1744
1876
|
placeholder?: string;
|
|
1745
1877
|
}
|
|
1878
|
+
/**
|
|
1879
|
+
* @publicDocs
|
|
1880
|
+
*/
|
|
1746
1881
|
export interface BaseTextFieldProps extends FieldProps {
|
|
1747
1882
|
/**
|
|
1748
1883
|
* Whether the field is read-only and can't be edited. Read-only fields remain focusable and their content is announced by screen readers.
|
|
@@ -1751,6 +1886,9 @@ export interface BaseTextFieldProps extends FieldProps {
|
|
|
1751
1886
|
*/
|
|
1752
1887
|
readOnly?: boolean;
|
|
1753
1888
|
}
|
|
1889
|
+
/**
|
|
1890
|
+
* @publicDocs
|
|
1891
|
+
*/
|
|
1754
1892
|
export interface FieldDecorationProps {
|
|
1755
1893
|
/**
|
|
1756
1894
|
* A non-editable text value displayed immediately after the editable portion of the field. This is useful for displaying an implied part of the value, such as `@shopify.com` or `%`.
|
|
@@ -1781,6 +1919,9 @@ export interface FieldDecorationProps {
|
|
|
1781
1919
|
*/
|
|
1782
1920
|
accessory?: ComponentChildren;
|
|
1783
1921
|
}
|
|
1922
|
+
/**
|
|
1923
|
+
* @publicDocs
|
|
1924
|
+
*/
|
|
1784
1925
|
export interface NumberConstraintsProps {
|
|
1785
1926
|
/**
|
|
1786
1927
|
* The highest decimal or integer value accepted for the field. When used with `step`, the value rounds down to the maximum number.
|
|
@@ -1819,6 +1960,9 @@ export interface NumberConstraintsProps {
|
|
|
1819
1960
|
*/
|
|
1820
1961
|
controls?: 'auto' | 'stepper' | 'none';
|
|
1821
1962
|
}
|
|
1963
|
+
/**
|
|
1964
|
+
* @publicDocs
|
|
1965
|
+
*/
|
|
1822
1966
|
export interface MinMaxLengthProps {
|
|
1823
1967
|
/**
|
|
1824
1968
|
* The maximum number of characters allowed in the field.
|
|
@@ -1833,6 +1977,9 @@ export interface MinMaxLengthProps {
|
|
|
1833
1977
|
*/
|
|
1834
1978
|
minLength?: number;
|
|
1835
1979
|
}
|
|
1980
|
+
/**
|
|
1981
|
+
* @publicDocs
|
|
1982
|
+
*/
|
|
1836
1983
|
export interface BaseSelectableProps {
|
|
1837
1984
|
/**
|
|
1838
1985
|
* A label that describes the purpose or content of the component for assistive technologies like screen readers. Use this to provide additional context when the visible content alone doesn't clearly convey the component's purpose.
|
|
@@ -1849,6 +1996,9 @@ export interface BaseSelectableProps {
|
|
|
1849
1996
|
*/
|
|
1850
1997
|
value?: string;
|
|
1851
1998
|
}
|
|
1999
|
+
/**
|
|
2000
|
+
* @publicDocs
|
|
2001
|
+
*/
|
|
1852
2002
|
export interface BaseOptionProps extends BaseSelectableProps {
|
|
1853
2003
|
/**
|
|
1854
2004
|
* Whether the option is currently selected.
|
|
@@ -1865,6 +2015,9 @@ export interface BaseOptionProps extends BaseSelectableProps {
|
|
|
1865
2015
|
*/
|
|
1866
2016
|
defaultSelected?: boolean;
|
|
1867
2017
|
}
|
|
2018
|
+
/**
|
|
2019
|
+
* @publicDocs
|
|
2020
|
+
*/
|
|
1868
2021
|
export interface BaseCheckableProps
|
|
1869
2022
|
extends BaseSelectableProps,
|
|
1870
2023
|
InteractionProps {
|
|
@@ -1933,6 +2086,9 @@ interface CheckboxProps$1
|
|
|
1933
2086
|
*/
|
|
1934
2087
|
required?: boolean;
|
|
1935
2088
|
}
|
|
2089
|
+
/**
|
|
2090
|
+
* @publicDocs
|
|
2091
|
+
*/
|
|
1936
2092
|
export interface ChipProps$1 extends GlobalProps {
|
|
1937
2093
|
/**
|
|
1938
2094
|
* The text content displayed within the chip.
|
|
@@ -2124,6 +2280,9 @@ interface ColorPickerProps$1
|
|
|
2124
2280
|
*/
|
|
2125
2281
|
defaultValue?: string;
|
|
2126
2282
|
}
|
|
2283
|
+
/**
|
|
2284
|
+
* @publicDocs
|
|
2285
|
+
*/
|
|
2127
2286
|
export interface AutocompleteProps<
|
|
2128
2287
|
AutocompleteField extends AnyAutocompleteField,
|
|
2129
2288
|
> {
|
|
@@ -2160,16 +2319,22 @@ export interface AutocompleteProps<
|
|
|
2160
2319
|
*
|
|
2161
2320
|
* Commonly used when there are multiple fields with the same autocomplete needs
|
|
2162
2321
|
* in the same page. For example: 2 shipping address forms in the same page.
|
|
2322
|
+
* @publicDocs
|
|
2163
2323
|
*/
|
|
2164
2324
|
export type AutocompleteSection = `section-${string}`;
|
|
2165
2325
|
/**
|
|
2166
2326
|
* The contact information group the autocomplete data should be sourced from.
|
|
2327
|
+
* @publicDocs
|
|
2167
2328
|
*/
|
|
2168
2329
|
export type AutocompleteGroup = 'shipping' | 'billing';
|
|
2169
2330
|
/**
|
|
2170
2331
|
* The contact information subgroup the autocomplete data should be sourced from.
|
|
2332
|
+
* @publicDocs
|
|
2171
2333
|
*/
|
|
2172
2334
|
export type AutocompleteAddressGroup = 'fax' | 'home' | 'mobile' | 'pager';
|
|
2335
|
+
/**
|
|
2336
|
+
* @publicDocs
|
|
2337
|
+
*/
|
|
2173
2338
|
export type AnyAutocompleteField =
|
|
2174
2339
|
| 'additional-name'
|
|
2175
2340
|
| 'address-level1'
|
|
@@ -2270,6 +2435,7 @@ export type AnyAutocompleteField =
|
|
|
2270
2435
|
* - `cc-additional-name` - Middle name on credit card
|
|
2271
2436
|
* - `cc-family-name` - Last name on credit card
|
|
2272
2437
|
* - `cc-type` - Credit card type (Visa, Mastercard)
|
|
2438
|
+
* @publicDocs
|
|
2273
2439
|
*/
|
|
2274
2440
|
export type TextAutocompleteField = ExtractStrict<
|
|
2275
2441
|
AnyAutocompleteField,
|
|
@@ -2498,6 +2664,7 @@ interface DateFieldProps$1
|
|
|
2498
2664
|
* - `cc-expiry` - Complete credit card expiration date
|
|
2499
2665
|
* - `cc-expiry-month` - Month component of a credit card expiration date (1-12)
|
|
2500
2666
|
* - `cc-expiry-year` - Year component of a credit card expiration date (2025)
|
|
2667
|
+
* @publicDocs
|
|
2501
2668
|
*/
|
|
2502
2669
|
export type DateAutocompleteField = ExtractStrict<
|
|
2503
2670
|
AnyAutocompleteField,
|
|
@@ -2575,6 +2742,7 @@ interface EmailFieldProps$1
|
|
|
2575
2742
|
* - `mobile email` - Mobile device email address
|
|
2576
2743
|
* - `fax email` - Fax machine email address
|
|
2577
2744
|
* - `pager email` - Pager device email address
|
|
2745
|
+
* @publicDocs
|
|
2578
2746
|
*/
|
|
2579
2747
|
export type EmailAutocompleteField = ExtractStrict<
|
|
2580
2748
|
AnyAutocompleteField,
|
|
@@ -2631,6 +2799,9 @@ interface FunctionSettingsProps$1 extends GlobalProps, FormProps$1 {
|
|
|
2631
2799
|
*/
|
|
2632
2800
|
onError?: (event: AggregateErrorEvent<FunctionSettingsError>) => void;
|
|
2633
2801
|
}
|
|
2802
|
+
/**
|
|
2803
|
+
* @publicDocs
|
|
2804
|
+
*/
|
|
2634
2805
|
export interface FunctionSettingsError extends Error {
|
|
2635
2806
|
/**
|
|
2636
2807
|
* A unique identifier describing the “class” of error. These will match
|
|
@@ -2640,7 +2811,13 @@ export interface FunctionSettingsError extends Error {
|
|
|
2640
2811
|
code: string;
|
|
2641
2812
|
name: 'FunctionSettingsError';
|
|
2642
2813
|
}
|
|
2814
|
+
/**
|
|
2815
|
+
* @publicDocs
|
|
2816
|
+
*/
|
|
2643
2817
|
export type SpacingKeyword = SizeKeyword | 'none';
|
|
2818
|
+
/**
|
|
2819
|
+
* @publicDocs
|
|
2820
|
+
*/
|
|
2644
2821
|
export interface GapProps {
|
|
2645
2822
|
/**
|
|
2646
2823
|
* The spacing between child elements.
|
|
@@ -2668,18 +2845,31 @@ export interface GapProps {
|
|
|
2668
2845
|
*/
|
|
2669
2846
|
columnGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2670
2847
|
}
|
|
2848
|
+
/**
|
|
2849
|
+
* @publicDocs
|
|
2850
|
+
*/
|
|
2671
2851
|
export type BaselinePosition = 'baseline' | 'first baseline' | 'last baseline';
|
|
2852
|
+
/**
|
|
2853
|
+
* @publicDocs
|
|
2854
|
+
*/
|
|
2672
2855
|
export type ContentDistribution =
|
|
2673
2856
|
| 'space-between'
|
|
2674
2857
|
| 'space-around'
|
|
2675
2858
|
| 'space-evenly'
|
|
2676
2859
|
| 'stretch';
|
|
2860
|
+
/**
|
|
2861
|
+
* @publicDocs
|
|
2862
|
+
*/
|
|
2677
2863
|
export type ContentPosition = 'center' | 'start' | 'end';
|
|
2864
|
+
/**
|
|
2865
|
+
* @publicDocs
|
|
2866
|
+
*/
|
|
2678
2867
|
export type OverflowPosition =
|
|
2679
2868
|
| `unsafe ${ContentPosition}`
|
|
2680
2869
|
| `safe ${ContentPosition}`;
|
|
2681
2870
|
/**
|
|
2682
2871
|
* Justify items defines the default justify-self for all items of the box, giving them all a default way of justifying each box along the appropriate axis. Learn more about the [justify-items property](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items).
|
|
2872
|
+
* @publicDocs
|
|
2683
2873
|
*/
|
|
2684
2874
|
export type JustifyItemsKeyword =
|
|
2685
2875
|
| 'normal'
|
|
@@ -2689,6 +2879,7 @@ export type JustifyItemsKeyword =
|
|
|
2689
2879
|
| ContentPosition;
|
|
2690
2880
|
/**
|
|
2691
2881
|
* Align items sets the align-self value on all direct children as a group. Learn more about the [align-items property](https://developer.mozilla.org/en-US/docs/Web/CSS/align-items).
|
|
2882
|
+
* @publicDocs
|
|
2692
2883
|
*/
|
|
2693
2884
|
export type AlignItemsKeyword =
|
|
2694
2885
|
| 'normal'
|
|
@@ -2698,6 +2889,7 @@ export type AlignItemsKeyword =
|
|
|
2698
2889
|
| ContentPosition;
|
|
2699
2890
|
/**
|
|
2700
2891
|
* Justify content defines how the browser distributes space between and around content items along the main-axis of a flex container, and the inline axis of a grid container. Learn more about the [justify-content property](https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content).
|
|
2892
|
+
* @publicDocs
|
|
2701
2893
|
*/
|
|
2702
2894
|
export type JustifyContentKeyword =
|
|
2703
2895
|
| 'normal'
|
|
@@ -2706,6 +2898,7 @@ export type JustifyContentKeyword =
|
|
|
2706
2898
|
| ContentPosition;
|
|
2707
2899
|
/**
|
|
2708
2900
|
*Align content sets the distribution of space between and around content items along a flexbox's cross axis, or a grid or block-level element's block axis. Learn more about the [align-content property](https://developer.mozilla.org/en-US/docs/Web/CSS/align-content).
|
|
2901
|
+
* @publicDocs
|
|
2709
2902
|
*/
|
|
2710
2903
|
export type AlignContentKeyword =
|
|
2711
2904
|
| 'normal'
|
|
@@ -2789,6 +2982,9 @@ interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
|
2789
2982
|
*/
|
|
2790
2983
|
gridRow?: `span ${number}` | 'auto';
|
|
2791
2984
|
}
|
|
2985
|
+
/**
|
|
2986
|
+
* @publicDocs
|
|
2987
|
+
*/
|
|
2792
2988
|
export interface BaseTypographyProps {
|
|
2793
2989
|
/**
|
|
2794
2990
|
* The color intensity of the text. Use `subdued` for less intense, `base` for standard, or `strong` for more intense coloring.
|
|
@@ -2842,6 +3038,9 @@ export interface BaseTypographyProps {
|
|
|
2842
3038
|
*/
|
|
2843
3039
|
dir?: 'ltr' | 'rtl' | 'auto' | '';
|
|
2844
3040
|
}
|
|
3041
|
+
/**
|
|
3042
|
+
* @publicDocs
|
|
3043
|
+
*/
|
|
2845
3044
|
export interface BlockTypographyProps {
|
|
2846
3045
|
/**
|
|
2847
3046
|
* Truncates the text content to the specified number of lines. Learn more about the [-webkit-line-clamp property](https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp).
|
|
@@ -2913,6 +3112,9 @@ interface IconProps$1
|
|
|
2913
3112
|
*/
|
|
2914
3113
|
type?: IconType | AnyString;
|
|
2915
3114
|
}
|
|
3115
|
+
/**
|
|
3116
|
+
* @publicDocs
|
|
3117
|
+
*/
|
|
2916
3118
|
export interface BaseImageProps {
|
|
2917
3119
|
/**
|
|
2918
3120
|
* Alternative text that describes the image for accessibility.
|
|
@@ -3111,6 +3313,9 @@ interface MoneyFieldProps$1
|
|
|
3111
3313
|
BaseTextFieldProps,
|
|
3112
3314
|
NumberConstraintsProps,
|
|
3113
3315
|
AutocompleteProps<MoneyAutocompleteField> {}
|
|
3316
|
+
/**
|
|
3317
|
+
* @publicDocs
|
|
3318
|
+
*/
|
|
3114
3319
|
export type MoneyAutocompleteField = ExtractStrict<
|
|
3115
3320
|
AnyAutocompleteField,
|
|
3116
3321
|
'transaction-amount'
|
|
@@ -3145,6 +3350,7 @@ interface NumberFieldProps$1
|
|
|
3145
3350
|
* - `one-time-code` - One-time codes for authentication (OTP, 2FA codes)
|
|
3146
3351
|
* - `cc-number` - Credit card number
|
|
3147
3352
|
* - `cc-csc` - Credit card security code (CVV/CVC)
|
|
3353
|
+
* @publicDocs
|
|
3148
3354
|
*/
|
|
3149
3355
|
export type NumberAutocompleteField = ExtractStrict<
|
|
3150
3356
|
AnyAutocompleteField,
|
|
@@ -3227,6 +3433,9 @@ interface ParagraphProps$1
|
|
|
3227
3433
|
*/
|
|
3228
3434
|
type?: ParagraphType;
|
|
3229
3435
|
}
|
|
3436
|
+
/**
|
|
3437
|
+
* @publicDocs
|
|
3438
|
+
*/
|
|
3230
3439
|
export type ParagraphType =
|
|
3231
3440
|
/**
|
|
3232
3441
|
* Indicates the text is a structural grouping of related content. In an HTML host, the text will be rendered in a `<p>` element. Learn more about the [p element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p).
|
|
@@ -3250,6 +3459,7 @@ interface PasswordFieldProps$1
|
|
|
3250
3459
|
* Available values:
|
|
3251
3460
|
* - `current-password` - Existing password for login or authentication
|
|
3252
3461
|
* - `new-password` - New password when creating an account or changing password
|
|
3462
|
+
* @publicDocs
|
|
3253
3463
|
*/
|
|
3254
3464
|
export type PasswordAutocompleteField = ExtractStrict<
|
|
3255
3465
|
AnyAutocompleteField,
|
|
@@ -3381,6 +3591,9 @@ interface SwitchProps$1
|
|
|
3381
3591
|
BasicFieldProps,
|
|
3382
3592
|
FieldDetailsProps,
|
|
3383
3593
|
FieldErrorProps {}
|
|
3594
|
+
/**
|
|
3595
|
+
* @publicDocs
|
|
3596
|
+
*/
|
|
3384
3597
|
export interface PaginationProps {
|
|
3385
3598
|
/**
|
|
3386
3599
|
* Whether to use pagination controls.
|
|
@@ -3465,6 +3678,7 @@ interface TableCellProps$1 extends GlobalProps {
|
|
|
3465
3678
|
* - `kicker` - Small label displayed above primary content with less visual prominence. Only one column can have this designation.
|
|
3466
3679
|
* - `inline` - Content displayed inline with primary content.
|
|
3467
3680
|
* - `labeled` - Each column displays as a heading-content pair.
|
|
3681
|
+
* @publicDocs
|
|
3468
3682
|
*/
|
|
3469
3683
|
export type ListSlotType =
|
|
3470
3684
|
| 'primary'
|
|
@@ -3479,6 +3693,7 @@ export type ListSlotType =
|
|
|
3479
3693
|
* - `base`: Standard format for text columns
|
|
3480
3694
|
* - `currency`: Right-aligned format for monetary values
|
|
3481
3695
|
* - `numeric`: Right-aligned format for numeric values
|
|
3696
|
+
* @publicDocs
|
|
3482
3697
|
*/
|
|
3483
3698
|
export type HeaderFormat = 'base' | 'currency' | 'numeric';
|
|
3484
3699
|
interface TableHeaderProps$1 extends GlobalProps {
|
|
@@ -3547,6 +3762,9 @@ interface TextProps$1
|
|
|
3547
3762
|
*/
|
|
3548
3763
|
type?: TextType;
|
|
3549
3764
|
}
|
|
3765
|
+
/**
|
|
3766
|
+
* @publicDocs
|
|
3767
|
+
*/
|
|
3550
3768
|
export type TextType =
|
|
3551
3769
|
/**
|
|
3552
3770
|
* Indicate the text is contact information. Typically used for addresses.
|
|
@@ -3678,6 +3896,7 @@ interface URLFieldProps$1
|
|
|
3678
3896
|
* - `mobile impp` - Mobile instant messaging protocol URL
|
|
3679
3897
|
* - `fax impp` - Fax instant messaging protocol URL
|
|
3680
3898
|
* - `pager impp` - Pager instant messaging protocol URL
|
|
3899
|
+
* @publicDocs
|
|
3681
3900
|
*/
|
|
3682
3901
|
export type URLAutocompleteField = ExtractStrict<
|
|
3683
3902
|
AnyAutocompleteField,
|
|
@@ -3686,6 +3905,9 @@ export type URLAutocompleteField = ExtractStrict<
|
|
|
3686
3905
|
//
|
|
3687
3906
|
// Preact Virtual DOM
|
|
3688
3907
|
// -----------------------------------
|
|
3908
|
+
/**
|
|
3909
|
+
* @publicDocs
|
|
3910
|
+
*/
|
|
3689
3911
|
export interface VNode<P = {}> {
|
|
3690
3912
|
type: ComponentType<P> | string;
|
|
3691
3913
|
props: P & {
|
|
@@ -3712,12 +3934,27 @@ export interface VNode<P = {}> {
|
|
|
3712
3934
|
//
|
|
3713
3935
|
// Preact Component interface
|
|
3714
3936
|
// -----------------------------------
|
|
3937
|
+
/**
|
|
3938
|
+
* @publicDocs
|
|
3939
|
+
*/
|
|
3715
3940
|
export type Key = string | number | any;
|
|
3941
|
+
/**
|
|
3942
|
+
* @publicDocs
|
|
3943
|
+
*/
|
|
3716
3944
|
export interface RefObject<T> {
|
|
3717
3945
|
current: T | null;
|
|
3718
3946
|
}
|
|
3947
|
+
/**
|
|
3948
|
+
* @publicDocs
|
|
3949
|
+
*/
|
|
3719
3950
|
export type RefCallback<T> = (instance: T | null) => void;
|
|
3951
|
+
/**
|
|
3952
|
+
* @publicDocs
|
|
3953
|
+
*/
|
|
3720
3954
|
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3955
|
+
/**
|
|
3956
|
+
* @publicDocs
|
|
3957
|
+
*/
|
|
3721
3958
|
export type ComponentChild =
|
|
3722
3959
|
| VNode<any>
|
|
3723
3960
|
| object
|
|
@@ -3728,13 +3965,22 @@ export type ComponentChild =
|
|
|
3728
3965
|
| null
|
|
3729
3966
|
| undefined;
|
|
3730
3967
|
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3968
|
+
/**
|
|
3969
|
+
* @publicDocs
|
|
3970
|
+
*/
|
|
3731
3971
|
export interface Attributes {
|
|
3732
3972
|
key?: Key | undefined;
|
|
3733
3973
|
jsx?: boolean | undefined;
|
|
3734
3974
|
}
|
|
3975
|
+
/**
|
|
3976
|
+
* @publicDocs
|
|
3977
|
+
*/
|
|
3735
3978
|
export interface ErrorInfo {
|
|
3736
3979
|
componentStack?: string;
|
|
3737
3980
|
}
|
|
3981
|
+
/**
|
|
3982
|
+
* @publicDocs
|
|
3983
|
+
*/
|
|
3738
3984
|
export type RenderableProps<P, RefType = any> = P &
|
|
3739
3985
|
Readonly<
|
|
3740
3986
|
Attributes & {
|
|
@@ -3742,12 +3988,21 @@ export type RenderableProps<P, RefType = any> = P &
|
|
|
3742
3988
|
ref?: Ref<RefType>;
|
|
3743
3989
|
}
|
|
3744
3990
|
>;
|
|
3991
|
+
/**
|
|
3992
|
+
* @publicDocs
|
|
3993
|
+
*/
|
|
3745
3994
|
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3995
|
+
/**
|
|
3996
|
+
* @publicDocs
|
|
3997
|
+
*/
|
|
3746
3998
|
export interface FunctionComponent<P = {}> {
|
|
3747
3999
|
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3748
4000
|
displayName?: string;
|
|
3749
4001
|
defaultProps?: Partial<P> | undefined;
|
|
3750
4002
|
}
|
|
4003
|
+
/**
|
|
4004
|
+
* @publicDocs
|
|
4005
|
+
*/
|
|
3751
4006
|
export interface ComponentClass<P = {}, S = {}> {
|
|
3752
4007
|
new (props: P, context?: any): Component<P, S>;
|
|
3753
4008
|
displayName?: string;
|
|
@@ -3759,6 +4014,9 @@ export interface ComponentClass<P = {}, S = {}> {
|
|
|
3759
4014
|
): Partial<S> | null;
|
|
3760
4015
|
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3761
4016
|
}
|
|
4017
|
+
/**
|
|
4018
|
+
* @publicDocs
|
|
4019
|
+
*/
|
|
3762
4020
|
export interface Component<P = {}, S = {}> {
|
|
3763
4021
|
componentWillMount?(): void;
|
|
3764
4022
|
componentDidMount?(): void;
|
|
@@ -3827,15 +4085,24 @@ declare abstract class Component<P, S> {
|
|
|
3827
4085
|
//
|
|
3828
4086
|
// Context
|
|
3829
4087
|
// -----------------------------------
|
|
4088
|
+
/**
|
|
4089
|
+
* @publicDocs
|
|
4090
|
+
*/
|
|
3830
4091
|
export interface Consumer<T>
|
|
3831
4092
|
extends FunctionComponent<{
|
|
3832
4093
|
children: (value: T) => ComponentChildren$1;
|
|
3833
4094
|
}> {}
|
|
4095
|
+
/**
|
|
4096
|
+
* @publicDocs
|
|
4097
|
+
*/
|
|
3834
4098
|
export interface Provider<T>
|
|
3835
4099
|
extends FunctionComponent<{
|
|
3836
4100
|
value: T;
|
|
3837
4101
|
children?: ComponentChildren$1;
|
|
3838
4102
|
}> {}
|
|
4103
|
+
/**
|
|
4104
|
+
* @publicDocs
|
|
4105
|
+
*/
|
|
3839
4106
|
export interface Context<T> extends Provider<T> {
|
|
3840
4107
|
Consumer: Consumer<T>;
|
|
3841
4108
|
Provider: Provider<T>;
|