@shopify/ui-extensions 2026.4.0-rc.3 → 2026.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +2 -0
- package/build/cjs/surfaces/checkout/preact/app-metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/attributes.js +3 -0
- package/build/cjs/surfaces/checkout/preact/billing-address.js +1 -0
- package/build/cjs/surfaces/checkout/preact/buyer-identity.js +4 -0
- package/build/cjs/surfaces/checkout/preact/buyer-journey.js +5 -0
- package/build/cjs/surfaces/checkout/preact/capabilities.js +2 -0
- package/build/cjs/surfaces/checkout/preact/cart-line-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cart-lines.js +2 -0
- package/build/cjs/surfaces/checkout/preact/checkout-settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/checkout-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cost.js +4 -0
- package/build/cjs/surfaces/checkout/preact/country.js +1 -0
- package/build/cjs/surfaces/checkout/preact/currency.js +1 -0
- package/build/cjs/surfaces/checkout/preact/customer-privacy.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-list-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-selection-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/discounts.js +3 -0
- package/build/cjs/surfaces/checkout/preact/extension-editor.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension-language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension.js +2 -0
- package/build/cjs/surfaces/checkout/preact/gift-cards.js +2 -0
- package/build/cjs/surfaces/checkout/preact/instructions.js +1 -0
- package/build/cjs/surfaces/checkout/preact/language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/localized-fields.js +2 -0
- package/build/cjs/surfaces/checkout/preact/market.js +1 -0
- package/build/cjs/surfaces/checkout/preact/metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/note.js +2 -0
- package/build/cjs/surfaces/checkout/preact/payment-method.js +3 -0
- package/build/cjs/surfaces/checkout/preact/payment-options.js +2 -0
- package/build/cjs/surfaces/checkout/preact/pickup-location-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/redeemable.js +1 -0
- package/build/cjs/surfaces/checkout/preact/session-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shipping-address.js +2 -0
- package/build/cjs/surfaces/checkout/preact/shipping-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shop.js +1 -0
- package/build/cjs/surfaces/checkout/preact/storage.js +1 -0
- package/build/cjs/surfaces/checkout/preact/subscription.js +1 -0
- package/build/cjs/surfaces/checkout/preact/target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/timezone.js +1 -0
- package/build/cjs/surfaces/checkout/preact/translate.js +1 -0
- package/build/cjs/surfaces/checkout/shared.js +3 -16
- package/build/cjs/surfaces/checkout/style/style.js +1 -0
- package/build/cjs/surfaces/point-of-sale/types/storage.js +4 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/app-metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/billing-address.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/buyer-identity.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +5 -0
- package/build/esm/surfaces/checkout/preact/capabilities.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/cart-line-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cart-lines.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/checkout-settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/checkout-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cost.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/country.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/currency.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/customer-privacy.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-list-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-selection-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/discounts.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/extension-editor.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension-language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/gift-cards.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/instructions.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/localized-fields.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/market.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/note.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/payment-method.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/payment-options.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/pickup-location-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/redeemable.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/session-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shipping-address.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/shipping-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shop.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/storage.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/subscription.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/timezone.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/translate.mjs +1 -0
- package/build/esm/surfaces/checkout/shared.mjs +3 -16
- package/build/esm/surfaces/checkout/style/style.mjs +1 -0
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +4 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/app-metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/billing-address.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/buyer-identity.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +5 -0
- package/build/esnext/surfaces/checkout/preact/capabilities.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/cart-line-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cart-lines.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/checkout-settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/checkout-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cost.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/country.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/currency.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/customer-privacy.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-list-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-selection-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/discounts.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/extension-editor.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension-language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/gift-cards.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/instructions.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/localized-fields.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/market.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/note.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/payment-method.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/payment-options.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/pickup-location-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/redeemable.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/session-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shipping-address.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/shipping-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shop.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/storage.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/timezone.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/translate.esnext +1 -0
- package/build/esnext/surfaces/checkout/shared.esnext +3 -16
- package/build/esnext/surfaces/checkout/style/style.esnext +1 -0
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +4 -0
- package/build/ts/shared.d.ts +32 -12
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +2 -0
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +7 -4
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +3 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +7 -3
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/generated/generated.d.ts +62 -0
- package/build/ts/surfaces/admin/api/generated/generated.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts +24 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +44 -8
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +5 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +8 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +1 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/picker/picker.d.ts +15 -7
- package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +36 -17
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/shared.d.ts +2 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts +3 -0
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +4 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +4 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +2 -0
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Banner.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Box.d.ts +14 -0
- package/build/ts/surfaces/admin/components/Button.d.ts +14 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -2
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Clickable.d.ts +16 -4
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +11 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +7 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +8 -4
- package/build/ts/surfaces/admin/components/EmailField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Form.d.ts +10 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +16 -0
- package/build/ts/surfaces/admin/components/GridItem.d.ts +15 -0
- package/build/ts/surfaces/admin/components/Heading.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Icon.d.ts +6 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +15 -0
- package/build/ts/surfaces/admin/components/Link.d.ts +13 -3
- package/build/ts/surfaces/admin/components/ListItem.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +8 -4
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/build/ts/surfaces/admin/components/NumberField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Option.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Page.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +13 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Select.d.ts +14 -2
- package/build/ts/surfaces/admin/components/Spinner.d.ts +7 -0
- package/build/ts/surfaces/admin/components/Stack.d.ts +16 -0
- package/build/ts/surfaces/admin/components/Switch.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +15 -0
- package/build/ts/surfaces/admin/components/TableBody.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableCell.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -0
- package/build/ts/surfaces/admin/components/TextArea.d.ts +12 -0
- package/build/ts/surfaces/admin/components/TextField.d.ts +13 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +267 -0
- package/build/ts/surfaces/admin/extension-targets.d.ts +8 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +61 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +3 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +2 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +1 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +5 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +258 -122
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +33 -6
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +12 -5
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +79 -31
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +6 -4
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +18 -12
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +659 -425
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/checkout/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/checkout/components/Box.d.ts +50 -0
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -3
- package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/checkout/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/checkout/components/Details.d.ts +13 -8
- package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Form.d.ts +9 -1
- package/build/ts/surfaces/checkout/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/checkout/components/Heading.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/checkout/components/Image.d.ts +43 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -3
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Option.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +27 -0
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +55 -0
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/checkout/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Text.d.ts +18 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/checkout/components/components.d.ts +575 -297
- package/build/ts/surfaces/checkout/extension-targets.d.ts +13 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +1 -0
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +5 -0
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cost.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/cost.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/country.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/currency.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/currency.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/discounts.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/discounts.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/instructions.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/instructions.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/market.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/note.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/note.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/session-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/session-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shop.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shop.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/storage.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/storage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/timezone.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/timezone.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/translate.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/translate.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +11 -19
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +1 -0
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/types.d.ts +20 -8
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +3 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +239 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +453 -296
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +209 -138
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +84 -68
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/customer-account/components/Box.d.ts +50 -0
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -3
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/customer-account/components/Details.d.ts +13 -8
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Form.d.ts +9 -1
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/customer-account/components/Image.d.ts +43 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -3
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +36 -8
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Option.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +27 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +55 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Text.d.ts +18 -1
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/customer-account/components/components.d.ts +575 -297
- package/build/ts/surfaces/customer-account/components/shared.d.ts +23 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +23 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +8 -0
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +12 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +3 -2
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/shared.ts +32 -12
- package/src/surfaces/admin/api/action/action.ts +1 -0
- package/src/surfaces/admin/api/block/block.ts +2 -0
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +7 -3
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +13 -6
- package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +3 -0
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +1 -0
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +7 -2
- package/src/surfaces/admin/api/discount-function-settings/metafields.ts +13 -6
- package/src/surfaces/admin/api/generated/generated.ts +76 -0
- package/src/surfaces/admin/api/intents/intent-render.ts +26 -0
- package/src/surfaces/admin/api/intents/intents.ts +49 -8
- package/src/surfaces/admin/api/order-routing-rule/data.ts +5 -2
- package/src/surfaces/admin/api/order-routing-rule/metafields.ts +8 -3
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +1 -0
- package/src/surfaces/admin/api/picker/picker.ts +15 -6
- package/src/surfaces/admin/api/print-action/print-action.ts +1 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/purchase-options-card-action.ts +1 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.ts +36 -17
- package/src/surfaces/admin/api/shared.ts +2 -0
- package/src/surfaces/admin/api/standard/standard-rendering.ts +3 -0
- package/src/surfaces/admin/api/standard/standard.ts +4 -1
- package/src/surfaces/admin/api/standard/storage.ts +4 -0
- package/src/surfaces/admin/api.ts +7 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/src/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -0
- package/src/surfaces/admin/components/Badge.d.ts +9 -0
- package/src/surfaces/admin/components/Banner.d.ts +11 -0
- package/src/surfaces/admin/components/Box.d.ts +14 -0
- package/src/surfaces/admin/components/Button.d.ts +14 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/src/surfaces/admin/components/Chip.d.ts +4 -2
- package/src/surfaces/admin/components/Choice.d.ts +10 -2
- package/src/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/src/surfaces/admin/components/Clickable.d.ts +16 -4
- package/src/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/src/surfaces/admin/components/ColorField.d.ts +12 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/src/surfaces/admin/components/DateField.d.ts +11 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/src/surfaces/admin/components/Divider.d.ts +7 -0
- package/src/surfaces/admin/components/DropZone.d.ts +8 -4
- package/src/surfaces/admin/components/EmailField.d.ts +12 -0
- package/src/surfaces/admin/components/Form.d.ts +10 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/src/surfaces/admin/components/Grid.d.ts +16 -0
- package/src/surfaces/admin/components/GridItem.d.ts +15 -0
- package/src/surfaces/admin/components/Heading.d.ts +8 -0
- package/src/surfaces/admin/components/Icon.d.ts +6 -3
- package/src/surfaces/admin/components/Image.d.ts +15 -0
- package/src/surfaces/admin/components/Link.d.ts +13 -3
- package/src/surfaces/admin/components/ListItem.d.ts +8 -0
- package/src/surfaces/admin/components/Menu.d.ts +11 -0
- package/src/surfaces/admin/components/Modal.d.ts +8 -4
- package/src/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/src/surfaces/admin/components/NumberField.d.ts +12 -0
- package/src/surfaces/admin/components/Option.d.ts +10 -2
- package/src/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/src/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/src/surfaces/admin/components/Page.d.ts +4 -2
- package/src/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/src/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/src/surfaces/admin/components/SearchField.d.ts +13 -1
- package/src/surfaces/admin/components/Section.d.ts +9 -0
- package/src/surfaces/admin/components/Select.d.ts +14 -2
- package/src/surfaces/admin/components/Spinner.d.ts +7 -0
- package/src/surfaces/admin/components/Stack.d.ts +16 -0
- package/src/surfaces/admin/components/Switch.d.ts +12 -1
- package/src/surfaces/admin/components/Table.d.ts +15 -0
- package/src/surfaces/admin/components/TableBody.d.ts +8 -0
- package/src/surfaces/admin/components/TableCell.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/src/surfaces/admin/components/TableRow.d.ts +8 -0
- package/src/surfaces/admin/components/Text.d.ts +19 -0
- package/src/surfaces/admin/components/TextArea.d.ts +12 -0
- package/src/surfaces/admin/components/TextField.d.ts +13 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/src/surfaces/admin/components/URLField.d.ts +12 -0
- package/src/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/src/surfaces/admin/components/shared.d.ts +267 -0
- package/src/surfaces/admin/components.d.ts +700 -0
- package/src/surfaces/admin/extension-targets.ts +12 -0
- package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +2 -0
- package/src/surfaces/checkout/api/address-autocomplete/shared.ts +3 -0
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +2 -1
- package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +2 -0
- package/src/surfaces/checkout/api/announcement/announcement.ts +1 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +5 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +258 -122
- package/src/surfaces/checkout/api/docs.ts +34 -1
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +12 -5
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +7 -0
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +4 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +4 -1
- package/src/surfaces/checkout/api/redeemable/redeemable.ts +7 -0
- package/src/surfaces/checkout/api/shared.ts +79 -31
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +6 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +18 -12
- package/src/surfaces/checkout/api/standard/standard.ts +661 -425
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/src/surfaces/checkout/components/Badge.d.ts +44 -3
- package/src/surfaces/checkout/components/Banner.d.ts +60 -9
- package/src/surfaces/checkout/components/Box.d.ts +50 -0
- package/src/surfaces/checkout/components/Button.d.ts +10 -3
- package/src/surfaces/checkout/components/Chat.d.ts +20 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/src/surfaces/checkout/components/Chip.d.ts +3 -3
- package/src/surfaces/checkout/components/Choice.d.ts +2 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/src/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/src/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/src/surfaces/checkout/components/DateField.d.ts +24 -6
- package/src/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/src/surfaces/checkout/components/Details.d.ts +13 -8
- package/src/surfaces/checkout/components/Divider.d.ts +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/src/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/src/surfaces/checkout/components/Form.d.ts +9 -1
- package/src/surfaces/checkout/components/Grid.d.ts +137 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/src/surfaces/checkout/components/Heading.d.ts +1 -0
- package/src/surfaces/checkout/components/Icon.d.ts +49 -4
- package/src/surfaces/checkout/components/Image.d.ts +43 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -3
- package/src/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/src/surfaces/checkout/components/Map.d.ts +68 -6
- package/src/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/src/surfaces/checkout/components/Modal.d.ts +52 -8
- package/src/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/src/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/src/surfaces/checkout/components/Option.d.ts +1 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/src/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/src/surfaces/checkout/components/Popover.d.ts +39 -22
- package/src/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/src/surfaces/checkout/components/Progress.d.ts +27 -0
- package/src/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/src/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +55 -0
- package/src/surfaces/checkout/components/Section.d.ts +4 -0
- package/src/surfaces/checkout/components/Select.d.ts +14 -6
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/src/surfaces/checkout/components/Stack.d.ts +110 -0
- package/src/surfaces/checkout/components/Summary.d.ts +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +10 -2
- package/src/surfaces/checkout/components/Text.d.ts +18 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/src/surfaces/checkout/components/TextField.d.ts +18 -10
- package/src/surfaces/checkout/components/Time.d.ts +1 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/src/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/src/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/src/surfaces/checkout/components/components.d.ts +575 -297
- package/src/surfaces/checkout/extension-targets.ts +13 -0
- package/src/surfaces/checkout/globals.ts +1 -0
- package/src/surfaces/checkout/preact/api.ts +2 -0
- package/src/surfaces/checkout/preact/app-metafields.ts +1 -0
- package/src/surfaces/checkout/preact/attributes.ts +3 -0
- package/src/surfaces/checkout/preact/billing-address.ts +1 -0
- package/src/surfaces/checkout/preact/buyer-identity.ts +4 -0
- package/src/surfaces/checkout/preact/buyer-journey.ts +5 -0
- package/src/surfaces/checkout/preact/capabilities.ts +2 -0
- package/src/surfaces/checkout/preact/cart-line-target.ts +1 -0
- package/src/surfaces/checkout/preact/cart-lines.ts +2 -0
- package/src/surfaces/checkout/preact/checkout-settings.ts +1 -0
- package/src/surfaces/checkout/preact/checkout-token.ts +1 -0
- package/src/surfaces/checkout/preact/cost.ts +4 -0
- package/src/surfaces/checkout/preact/country.ts +1 -0
- package/src/surfaces/checkout/preact/currency.ts +1 -0
- package/src/surfaces/checkout/preact/customer-privacy.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-list-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-groups.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-selection-groups.ts +1 -0
- package/src/surfaces/checkout/preact/discounts.ts +3 -0
- package/src/surfaces/checkout/preact/extension-editor.ts +1 -0
- package/src/surfaces/checkout/preact/extension-language.ts +1 -0
- package/src/surfaces/checkout/preact/extension.ts +2 -0
- package/src/surfaces/checkout/preact/gift-cards.ts +2 -0
- package/src/surfaces/checkout/preact/instructions.ts +1 -0
- package/src/surfaces/checkout/preact/language.ts +1 -0
- package/src/surfaces/checkout/preact/localized-fields.ts +2 -0
- package/src/surfaces/checkout/preact/market.ts +1 -0
- package/src/surfaces/checkout/preact/metafields.ts +1 -0
- package/src/surfaces/checkout/preact/note.ts +2 -0
- package/src/surfaces/checkout/preact/payment-method.ts +3 -0
- package/src/surfaces/checkout/preact/payment-options.ts +2 -0
- package/src/surfaces/checkout/preact/pickup-location-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/redeemable.ts +1 -0
- package/src/surfaces/checkout/preact/session-token.ts +1 -0
- package/src/surfaces/checkout/preact/settings.ts +1 -0
- package/src/surfaces/checkout/preact/shipping-address.ts +2 -0
- package/src/surfaces/checkout/preact/shipping-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/shop.ts +1 -0
- package/src/surfaces/checkout/preact/storage.ts +1 -0
- package/src/surfaces/checkout/preact/subscription.ts +1 -0
- package/src/surfaces/checkout/preact/target.ts +1 -0
- package/src/surfaces/checkout/preact/timezone.ts +1 -0
- package/src/surfaces/checkout/preact/translate.ts +1 -0
- package/src/surfaces/checkout/shared.ts +11 -21
- package/src/surfaces/checkout/style/style.ts +1 -0
- package/src/surfaces/checkout/style/types.ts +20 -7
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +3 -0
- package/src/surfaces/customer-account/api/docs.ts +244 -19
- package/src/surfaces/customer-account/api/order-status/order-status.ts +460 -296
- package/src/surfaces/customer-account/api/shared.ts +210 -138
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +84 -68
- package/src/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/src/surfaces/customer-account/components/Page.d.ts +5 -5
- package/src/surfaces/customer-account/components/Section.d.ts +3 -7
- package/src/surfaces/customer-account/components/shared.ts +23 -5
- package/src/surfaces/customer-account/components.d.ts +93 -0
- package/src/surfaces/customer-account/extension-targets.ts +8 -0
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/camera-api/camera-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +12 -1
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components.d.ts +286 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +7 -2
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +2 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +18 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +1 -0
- package/src/surfaces/point-of-sale/types/cart.ts +13 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +1 -0
- package/src/surfaces/point-of-sale/types/device.ts +1 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +1 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +1 -0
- package/src/surfaces/point-of-sale/types/money.ts +2 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/order.ts +2 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/payment.ts +2 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +5 -0
- package/src/surfaces/point-of-sale/types/product.ts +5 -0
- package/src/surfaces/point-of-sale/types/session.ts +1 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +3 -0
- package/src/surfaces/point-of-sale/types/storage.ts +4 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +1 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
|
@@ -9,15 +9,19 @@
|
|
|
9
9
|
/**
|
|
10
10
|
* TODO: Update `any` type here after this is resolved
|
|
11
11
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
12
|
+
* @publicDocs
|
|
12
13
|
*/
|
|
13
14
|
export type ComponentChildren = any;
|
|
15
|
+
/** @publicDocs */
|
|
14
16
|
export type StringChildren = string;
|
|
17
|
+
/** @publicDocs */
|
|
15
18
|
export interface GlobalProps {
|
|
16
19
|
/**
|
|
17
20
|
* A unique identifier for the element.
|
|
18
21
|
*/
|
|
19
22
|
id?: string;
|
|
20
23
|
}
|
|
24
|
+
/** @publicDocs */
|
|
21
25
|
export interface ActionSlots {
|
|
22
26
|
/**
|
|
23
27
|
* The primary action to perform, provided as a button or link type element.
|
|
@@ -28,6 +32,7 @@ export interface ActionSlots {
|
|
|
28
32
|
*/
|
|
29
33
|
secondaryActions?: ComponentChildren;
|
|
30
34
|
}
|
|
35
|
+
/** @publicDocs */
|
|
31
36
|
export interface BaseOverlayProps {
|
|
32
37
|
/**
|
|
33
38
|
* Callback fired after the overlay is shown.
|
|
@@ -53,6 +58,7 @@ export interface BaseOverlayProps {
|
|
|
53
58
|
* - Components implementing this interface must provide all methods
|
|
54
59
|
* - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
|
|
55
60
|
* - Consumers expect these methods to be consistently available on all instances
|
|
61
|
+
* @publicDocs
|
|
56
62
|
*/
|
|
57
63
|
export interface BaseOverlayMethods {
|
|
58
64
|
/**
|
|
@@ -74,6 +80,7 @@ export interface BaseOverlayMethods {
|
|
|
74
80
|
*/
|
|
75
81
|
toggleOverlay: () => void;
|
|
76
82
|
}
|
|
83
|
+
/** @publicDocs */
|
|
77
84
|
export interface FocusEventProps {
|
|
78
85
|
/**
|
|
79
86
|
* Callback when the element loses focus.
|
|
@@ -88,6 +95,7 @@ export interface FocusEventProps {
|
|
|
88
95
|
*/
|
|
89
96
|
onFocus?: (event: FocusEvent) => void;
|
|
90
97
|
}
|
|
98
|
+
/** @publicDocs */
|
|
91
99
|
export type SizeKeyword =
|
|
92
100
|
| 'small-500'
|
|
93
101
|
| 'small-400'
|
|
@@ -102,8 +110,11 @@ export type SizeKeyword =
|
|
|
102
110
|
| 'large-300'
|
|
103
111
|
| 'large-400'
|
|
104
112
|
| 'large-500';
|
|
113
|
+
/** @publicDocs */
|
|
105
114
|
export type ColorKeyword = 'subdued' | 'base' | 'strong';
|
|
115
|
+
/** @publicDocs */
|
|
106
116
|
export type BackgroundColorKeyword = 'transparent' | ColorKeyword;
|
|
117
|
+
/** @publicDocs */
|
|
107
118
|
export interface BackgroundProps {
|
|
108
119
|
/**
|
|
109
120
|
* Adjust the background of the element.
|
|
@@ -121,6 +132,7 @@ export interface BackgroundProps {
|
|
|
121
132
|
* In some cases, like for Banner, the tone may also affect the semantic and accessibility treatment of the component.
|
|
122
133
|
*
|
|
123
134
|
* @default 'auto'
|
|
135
|
+
* @publicDocs
|
|
124
136
|
*/
|
|
125
137
|
export type ToneKeyword =
|
|
126
138
|
| 'auto'
|
|
@@ -693,17 +705,22 @@ declare const privateIconArray: readonly [
|
|
|
693
705
|
'x-circle',
|
|
694
706
|
'x-circle-filled',
|
|
695
707
|
];
|
|
708
|
+
/** @publicDocs */
|
|
696
709
|
export type IconType = (typeof privateIconArray)[number];
|
|
697
710
|
/**
|
|
698
711
|
* Like `Extract`, but ensures that the extracted type is a strict subtype of the input type.
|
|
712
|
+
* @publicDocs
|
|
699
713
|
*/
|
|
700
714
|
export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
715
|
+
/** @publicDocs */
|
|
701
716
|
export type MaybeAllValuesShorthandProperty<T extends string> =
|
|
702
717
|
| T
|
|
703
718
|
| `${T} ${T}`
|
|
704
719
|
| `${T} ${T} ${T}`
|
|
705
720
|
| `${T} ${T} ${T} ${T}`;
|
|
721
|
+
/** @publicDocs */
|
|
706
722
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
723
|
+
/** @publicDocs */
|
|
707
724
|
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
708
725
|
/**
|
|
709
726
|
* Prevents widening string literal types in a union to `string`.
|
|
@@ -712,6 +729,7 @@ export type MaybeResponsive<T> = T | `@container${string}`;
|
|
|
712
729
|
* // ^? string
|
|
713
730
|
* type PropName = 'foo' | 'bar' | (string & {})
|
|
714
731
|
* // ^? 'foo' | 'bar' | (string & {})
|
|
732
|
+
* @publicDocs
|
|
715
733
|
*/
|
|
716
734
|
export type AnyString = string & {};
|
|
717
735
|
/**
|
|
@@ -719,8 +737,10 @@ export type AnyString = string & {};
|
|
|
719
737
|
* to have a space or not in the string literal types.
|
|
720
738
|
*
|
|
721
739
|
* For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
|
|
740
|
+
* @publicDocs
|
|
722
741
|
*/
|
|
723
742
|
export type optionalSpace = '' | ' ';
|
|
743
|
+
/** @publicDocs */
|
|
724
744
|
export interface BadgeProps extends GlobalProps {
|
|
725
745
|
/**
|
|
726
746
|
* The content of the badge.
|
|
@@ -755,6 +775,7 @@ export interface BadgeProps extends GlobalProps {
|
|
|
755
775
|
*/
|
|
756
776
|
size?: SizeKeyword;
|
|
757
777
|
}
|
|
778
|
+
/** @publicDocs */
|
|
758
779
|
export interface BannerProps extends GlobalProps, ActionSlots {
|
|
759
780
|
/**
|
|
760
781
|
* The title of the banner.
|
|
@@ -830,6 +851,7 @@ export interface BannerProps extends GlobalProps, ActionSlots {
|
|
|
830
851
|
*/
|
|
831
852
|
hidden?: boolean;
|
|
832
853
|
}
|
|
854
|
+
/** @publicDocs */
|
|
833
855
|
export interface DisplayProps {
|
|
834
856
|
/**
|
|
835
857
|
* 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).
|
|
@@ -842,6 +864,7 @@ export interface DisplayProps {
|
|
|
842
864
|
*/
|
|
843
865
|
display?: MaybeResponsive<'auto' | 'none'>;
|
|
844
866
|
}
|
|
867
|
+
/** @publicDocs */
|
|
845
868
|
export interface AccessibilityRoleProps {
|
|
846
869
|
/**
|
|
847
870
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -855,6 +878,7 @@ export interface AccessibilityRoleProps {
|
|
|
855
878
|
*/
|
|
856
879
|
accessibilityRole?: AccessibilityRole;
|
|
857
880
|
}
|
|
881
|
+
/** @publicDocs */
|
|
858
882
|
export type AccessibilityRole =
|
|
859
883
|
/**
|
|
860
884
|
* Used to indicate the primary content.
|
|
@@ -970,6 +994,7 @@ export type AccessibilityRole =
|
|
|
970
994
|
* Learn more about the [`none` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/none_role) in the MDN web docs.
|
|
971
995
|
*/
|
|
972
996
|
| 'none';
|
|
997
|
+
/** @publicDocs */
|
|
973
998
|
export interface AccessibilityVisibilityProps {
|
|
974
999
|
/**
|
|
975
1000
|
* Changes the visibility of the element.
|
|
@@ -982,6 +1007,7 @@ export interface AccessibilityVisibilityProps {
|
|
|
982
1007
|
*/
|
|
983
1008
|
accessibilityVisibility?: 'visible' | 'hidden' | 'exclusive';
|
|
984
1009
|
}
|
|
1010
|
+
/** @publicDocs */
|
|
985
1011
|
export interface LabelAccessibilityVisibilityProps {
|
|
986
1012
|
/**
|
|
987
1013
|
* Changes the visibility of the component's label.
|
|
@@ -996,7 +1022,9 @@ export interface LabelAccessibilityVisibilityProps {
|
|
|
996
1022
|
'visible' | 'exclusive'
|
|
997
1023
|
>;
|
|
998
1024
|
}
|
|
1025
|
+
/** @publicDocs */
|
|
999
1026
|
export type PaddingKeyword = SizeKeyword | 'none';
|
|
1027
|
+
/** @publicDocs */
|
|
1000
1028
|
export interface PaddingProps {
|
|
1001
1029
|
/**
|
|
1002
1030
|
* Adjust the padding of all edges.
|
|
@@ -1076,9 +1104,13 @@ export interface PaddingProps {
|
|
|
1076
1104
|
*/
|
|
1077
1105
|
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | ''>;
|
|
1078
1106
|
}
|
|
1107
|
+
/** @publicDocs */
|
|
1079
1108
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
1109
|
+
/** @publicDocs */
|
|
1080
1110
|
export type SizeUnitsOrAuto = SizeUnits | 'auto';
|
|
1111
|
+
/** @publicDocs */
|
|
1081
1112
|
export type SizeUnitsOrNone = SizeUnits | 'none';
|
|
1113
|
+
/** @publicDocs */
|
|
1082
1114
|
export interface SizingProps {
|
|
1083
1115
|
/**
|
|
1084
1116
|
* Adjust the block size.
|
|
@@ -1129,21 +1161,26 @@ export interface SizingProps {
|
|
|
1129
1161
|
*/
|
|
1130
1162
|
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1131
1163
|
}
|
|
1164
|
+
/** @publicDocs */
|
|
1132
1165
|
export type BorderStyleKeyword =
|
|
1133
1166
|
| 'none'
|
|
1134
1167
|
| 'solid'
|
|
1135
1168
|
| 'dashed'
|
|
1136
1169
|
| 'dotted'
|
|
1137
1170
|
| 'auto';
|
|
1171
|
+
/** @publicDocs */
|
|
1138
1172
|
export type BorderSizeKeyword = SizeKeyword | 'none';
|
|
1173
|
+
/** @publicDocs */
|
|
1139
1174
|
export type BorderRadiusKeyword = SizeKeyword | 'max' | 'none';
|
|
1140
1175
|
/**
|
|
1141
1176
|
* Represents a shorthand for defining a border. It can be a combination of size, optionally followed by color, optionally followed by style.
|
|
1177
|
+
* @publicDocs
|
|
1142
1178
|
*/
|
|
1143
1179
|
export type BorderShorthand =
|
|
1144
1180
|
| BorderSizeKeyword
|
|
1145
1181
|
| `${BorderSizeKeyword} ${ColorKeyword}`
|
|
1146
1182
|
| `${BorderSizeKeyword} ${ColorKeyword} ${BorderStyleKeyword}`;
|
|
1183
|
+
/** @publicDocs */
|
|
1147
1184
|
export interface BorderProps {
|
|
1148
1185
|
/**
|
|
1149
1186
|
* Set the border via the shorthand property.
|
|
@@ -1228,6 +1265,7 @@ export interface BorderProps {
|
|
|
1228
1265
|
*/
|
|
1229
1266
|
borderRadius?: MaybeAllValuesShorthandProperty<BorderRadiusKeyword>;
|
|
1230
1267
|
}
|
|
1268
|
+
/** @publicDocs */
|
|
1231
1269
|
export interface OverflowProps {
|
|
1232
1270
|
/**
|
|
1233
1271
|
* Sets the overflow behavior of the element.
|
|
@@ -1241,6 +1279,7 @@ export interface OverflowProps {
|
|
|
1241
1279
|
*/
|
|
1242
1280
|
overflow?: 'hidden' | 'visible';
|
|
1243
1281
|
}
|
|
1282
|
+
/** @publicDocs */
|
|
1244
1283
|
export interface BaseBoxProps
|
|
1245
1284
|
extends AccessibilityVisibilityProps,
|
|
1246
1285
|
BackgroundProps,
|
|
@@ -1261,9 +1300,11 @@ export interface BaseBoxProps
|
|
|
1261
1300
|
*/
|
|
1262
1301
|
accessibilityLabel?: string;
|
|
1263
1302
|
}
|
|
1303
|
+
/** @publicDocs */
|
|
1264
1304
|
export interface BaseBoxPropsWithRole
|
|
1265
1305
|
extends BaseBoxProps,
|
|
1266
1306
|
AccessibilityRoleProps {}
|
|
1307
|
+
/** @publicDocs */
|
|
1267
1308
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1268
1309
|
/**
|
|
1269
1310
|
* The behavior of the button.
|
|
@@ -1299,6 +1340,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1299
1340
|
*/
|
|
1300
1341
|
loading?: boolean;
|
|
1301
1342
|
}
|
|
1343
|
+
/** @publicDocs */
|
|
1302
1344
|
export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1303
1345
|
/**
|
|
1304
1346
|
* The URL to link to.
|
|
@@ -1335,6 +1377,7 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
|
|
|
1335
1377
|
*/
|
|
1336
1378
|
onClick?: (event: Event) => void;
|
|
1337
1379
|
}
|
|
1380
|
+
/** @publicDocs */
|
|
1338
1381
|
export interface InteractionProps {
|
|
1339
1382
|
/**
|
|
1340
1383
|
* ID of a component that should respond to activations (e.g. clicks) on this component.
|
|
@@ -1365,9 +1408,11 @@ export interface InteractionProps {
|
|
|
1365
1408
|
*/
|
|
1366
1409
|
interestFor?: string;
|
|
1367
1410
|
}
|
|
1411
|
+
/** @publicDocs */
|
|
1368
1412
|
export interface BaseClickableProps
|
|
1369
1413
|
extends ButtonBehaviorProps,
|
|
1370
1414
|
LinkBehaviorProps {}
|
|
1415
|
+
/** @publicDocs */
|
|
1371
1416
|
export interface ButtonProps extends GlobalProps, BaseClickableProps {
|
|
1372
1417
|
/**
|
|
1373
1418
|
* A label that describes the purpose or contents of the button. It will be read to users using assistive technologies such as screen readers.
|
|
@@ -1415,6 +1460,7 @@ export interface ButtonProps extends GlobalProps, BaseClickableProps {
|
|
|
1415
1460
|
*/
|
|
1416
1461
|
lang?: string;
|
|
1417
1462
|
}
|
|
1463
|
+
/** @publicDocs */
|
|
1418
1464
|
export interface BaseInputProps {
|
|
1419
1465
|
/**
|
|
1420
1466
|
* An identifier for the field that is unique within the nearest containing form.
|
|
@@ -1427,6 +1473,7 @@ export interface BaseInputProps {
|
|
|
1427
1473
|
*/
|
|
1428
1474
|
disabled?: boolean;
|
|
1429
1475
|
}
|
|
1476
|
+
/** @publicDocs */
|
|
1430
1477
|
export interface InputProps extends BaseInputProps {
|
|
1431
1478
|
/**
|
|
1432
1479
|
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
@@ -1451,6 +1498,7 @@ export interface InputProps extends BaseInputProps {
|
|
|
1451
1498
|
*/
|
|
1452
1499
|
defaultValue?: string;
|
|
1453
1500
|
}
|
|
1501
|
+
/** @publicDocs */
|
|
1454
1502
|
export interface MultipleInputProps extends BaseInputProps {
|
|
1455
1503
|
/**
|
|
1456
1504
|
* Callback when the user has selected option(s).
|
|
@@ -1471,6 +1519,7 @@ export interface MultipleInputProps extends BaseInputProps {
|
|
|
1471
1519
|
*/
|
|
1472
1520
|
values?: string[];
|
|
1473
1521
|
}
|
|
1522
|
+
/** @publicDocs */
|
|
1474
1523
|
export interface FieldErrorProps {
|
|
1475
1524
|
/**
|
|
1476
1525
|
* Indicate an error to the user. The field will be given a specific stylistic treatment
|
|
@@ -1478,6 +1527,7 @@ export interface FieldErrorProps {
|
|
|
1478
1527
|
*/
|
|
1479
1528
|
error?: string;
|
|
1480
1529
|
}
|
|
1530
|
+
/** @publicDocs */
|
|
1481
1531
|
export interface BasicFieldProps
|
|
1482
1532
|
extends FieldErrorProps,
|
|
1483
1533
|
LabelAccessibilityVisibilityProps {
|
|
@@ -1495,6 +1545,7 @@ export interface BasicFieldProps
|
|
|
1495
1545
|
*/
|
|
1496
1546
|
label?: string;
|
|
1497
1547
|
}
|
|
1548
|
+
/** @publicDocs */
|
|
1498
1549
|
export interface FieldDetailsProps {
|
|
1499
1550
|
/**
|
|
1500
1551
|
* Additional text to provide context or guidance for the field.
|
|
@@ -1505,6 +1556,7 @@ export interface FieldDetailsProps {
|
|
|
1505
1556
|
*/
|
|
1506
1557
|
details?: string;
|
|
1507
1558
|
}
|
|
1559
|
+
/** @publicDocs */
|
|
1508
1560
|
export interface FieldProps
|
|
1509
1561
|
extends BasicFieldProps,
|
|
1510
1562
|
InputProps,
|
|
@@ -1515,6 +1567,7 @@ export interface FieldProps
|
|
|
1515
1567
|
*/
|
|
1516
1568
|
placeholder?: string;
|
|
1517
1569
|
}
|
|
1570
|
+
/** @publicDocs */
|
|
1518
1571
|
export interface BaseTextFieldProps extends FieldProps {
|
|
1519
1572
|
/**
|
|
1520
1573
|
* The field cannot be edited by the user. It is focusable will be announced by screen readers.
|
|
@@ -1523,6 +1576,7 @@ export interface BaseTextFieldProps extends FieldProps {
|
|
|
1523
1576
|
*/
|
|
1524
1577
|
readOnly?: boolean;
|
|
1525
1578
|
}
|
|
1579
|
+
/** @publicDocs */
|
|
1526
1580
|
export interface FieldDecorationProps {
|
|
1527
1581
|
/**
|
|
1528
1582
|
* A value to be displayed immediately after the editable portion of the field.
|
|
@@ -1562,6 +1616,7 @@ export interface FieldDecorationProps {
|
|
|
1562
1616
|
*/
|
|
1563
1617
|
accessory?: ComponentChildren;
|
|
1564
1618
|
}
|
|
1619
|
+
/** @publicDocs */
|
|
1565
1620
|
export interface NumberConstraintsProps {
|
|
1566
1621
|
/**
|
|
1567
1622
|
* The highest decimal or integer to be accepted for the field.
|
|
@@ -1604,6 +1659,7 @@ export interface NumberConstraintsProps {
|
|
|
1604
1659
|
*/
|
|
1605
1660
|
controls?: 'auto' | 'stepper' | 'none';
|
|
1606
1661
|
}
|
|
1662
|
+
/** @publicDocs */
|
|
1607
1663
|
export interface MinMaxLengthProps {
|
|
1608
1664
|
/**
|
|
1609
1665
|
* Specifies the maximum number of characters allowed.
|
|
@@ -1618,6 +1674,7 @@ export interface MinMaxLengthProps {
|
|
|
1618
1674
|
*/
|
|
1619
1675
|
minLength?: number;
|
|
1620
1676
|
}
|
|
1677
|
+
/** @publicDocs */
|
|
1621
1678
|
export interface BaseSelectableProps {
|
|
1622
1679
|
/**
|
|
1623
1680
|
* A label used for users using assistive technologies like screen readers. When set, any children or `label` supplied will not be announced.
|
|
@@ -1635,6 +1692,7 @@ export interface BaseSelectableProps {
|
|
|
1635
1692
|
*/
|
|
1636
1693
|
value?: string;
|
|
1637
1694
|
}
|
|
1695
|
+
/** @publicDocs */
|
|
1638
1696
|
export interface BaseOptionProps extends BaseSelectableProps {
|
|
1639
1697
|
/**
|
|
1640
1698
|
* Whether the control is active.
|
|
@@ -1651,6 +1709,7 @@ export interface BaseOptionProps extends BaseSelectableProps {
|
|
|
1651
1709
|
*/
|
|
1652
1710
|
defaultSelected?: boolean;
|
|
1653
1711
|
}
|
|
1712
|
+
/** @publicDocs */
|
|
1654
1713
|
export interface BaseCheckableProps
|
|
1655
1714
|
extends BaseSelectableProps,
|
|
1656
1715
|
InteractionProps {
|
|
@@ -1690,6 +1749,7 @@ export interface BaseCheckableProps
|
|
|
1690
1749
|
*/
|
|
1691
1750
|
onInput?: (event: Event) => void;
|
|
1692
1751
|
}
|
|
1752
|
+
/** @publicDocs */
|
|
1693
1753
|
export interface ChoiceProps extends GlobalProps, BaseOptionProps {
|
|
1694
1754
|
/**
|
|
1695
1755
|
* Content to use as the choice label.
|
|
@@ -1729,6 +1789,7 @@ export interface ChoiceProps extends GlobalProps, BaseOptionProps {
|
|
|
1729
1789
|
*/
|
|
1730
1790
|
selectedContent?: ComponentChildren;
|
|
1731
1791
|
}
|
|
1792
|
+
/** @publicDocs */
|
|
1732
1793
|
export interface ChoiceListProps
|
|
1733
1794
|
extends GlobalProps,
|
|
1734
1795
|
Pick<BasicFieldProps, 'label' | 'labelAccessibilityVisibility' | 'error'>,
|
|
@@ -1770,6 +1831,7 @@ export interface ChoiceListProps
|
|
|
1770
1831
|
*/
|
|
1771
1832
|
variant?: 'auto' | 'list' | 'inline' | 'block' | 'grid';
|
|
1772
1833
|
}
|
|
1834
|
+
/** @publicDocs */
|
|
1773
1835
|
export interface ClickableProps
|
|
1774
1836
|
extends GlobalProps,
|
|
1775
1837
|
BaseBoxProps,
|
|
@@ -1801,6 +1863,7 @@ export interface ClickableProps
|
|
|
1801
1863
|
*/
|
|
1802
1864
|
lang?: string;
|
|
1803
1865
|
}
|
|
1866
|
+
/** @publicDocs */
|
|
1804
1867
|
export interface AutocompleteProps<
|
|
1805
1868
|
AutocompleteField extends AnyAutocompleteField,
|
|
1806
1869
|
> {
|
|
@@ -1838,16 +1901,20 @@ export interface AutocompleteProps<
|
|
|
1838
1901
|
*
|
|
1839
1902
|
* Commonly used when there are multiple fields with the same autocomplete needs
|
|
1840
1903
|
* in the same page. For example: 2 shipping address forms in the same page.
|
|
1904
|
+
* @publicDocs
|
|
1841
1905
|
*/
|
|
1842
1906
|
export type AutocompleteSection = `section-${string}`;
|
|
1843
1907
|
/**
|
|
1844
1908
|
* The contact information group the autocomplete data should be sourced from.
|
|
1909
|
+
* @publicDocs
|
|
1845
1910
|
*/
|
|
1846
1911
|
export type AutocompleteGroup = 'shipping' | 'billing';
|
|
1847
1912
|
/**
|
|
1848
1913
|
* The contact information subgroup the autocomplete data should be sourced from.
|
|
1914
|
+
* @publicDocs
|
|
1849
1915
|
*/
|
|
1850
1916
|
export type AutocompleteAddressGroup = 'fax' | 'home' | 'mobile' | 'pager';
|
|
1917
|
+
/** @publicDocs */
|
|
1851
1918
|
export type AnyAutocompleteField =
|
|
1852
1919
|
| 'additional-name'
|
|
1853
1920
|
| 'address-level1'
|
|
@@ -1913,6 +1980,7 @@ export type AnyAutocompleteField =
|
|
|
1913
1980
|
| `${AutocompleteAddressGroup} tel-local-suffix`
|
|
1914
1981
|
| `${AutocompleteAddressGroup} tel-local`
|
|
1915
1982
|
| `${AutocompleteAddressGroup} tel-national`;
|
|
1983
|
+
/** @publicDocs */
|
|
1916
1984
|
export type TextAutocompleteField = ExtractStrict<
|
|
1917
1985
|
AnyAutocompleteField,
|
|
1918
1986
|
| 'additional-name'
|
|
@@ -1946,6 +2014,7 @@ export type TextAutocompleteField = ExtractStrict<
|
|
|
1946
2014
|
| 'cc-family-name'
|
|
1947
2015
|
| 'cc-type'
|
|
1948
2016
|
>;
|
|
2017
|
+
/** @publicDocs */
|
|
1949
2018
|
export interface DatePickerProps
|
|
1950
2019
|
extends GlobalProps,
|
|
1951
2020
|
InputProps,
|
|
@@ -2112,6 +2181,7 @@ export interface DatePickerProps
|
|
|
2112
2181
|
*/
|
|
2113
2182
|
onChange?: (event: Event) => void;
|
|
2114
2183
|
}
|
|
2184
|
+
/** @publicDocs */
|
|
2115
2185
|
export interface DateFieldProps
|
|
2116
2186
|
extends GlobalProps,
|
|
2117
2187
|
BaseTextFieldProps,
|
|
@@ -2155,6 +2225,7 @@ export interface DateFieldProps
|
|
|
2155
2225
|
*/
|
|
2156
2226
|
onInvalid?: (event: Event) => void;
|
|
2157
2227
|
}
|
|
2228
|
+
/** @publicDocs */
|
|
2158
2229
|
export type DateAutocompleteField = ExtractStrict<
|
|
2159
2230
|
AnyAutocompleteField,
|
|
2160
2231
|
| 'bday'
|
|
@@ -2165,6 +2236,7 @@ export type DateAutocompleteField = ExtractStrict<
|
|
|
2165
2236
|
| 'cc-expiry-month'
|
|
2166
2237
|
| 'cc-expiry-year'
|
|
2167
2238
|
>;
|
|
2239
|
+
/** @publicDocs */
|
|
2168
2240
|
export interface DateSpinnerProps
|
|
2169
2241
|
extends GlobalProps,
|
|
2170
2242
|
Pick<
|
|
@@ -2203,6 +2275,7 @@ export interface DateSpinnerProps
|
|
|
2203
2275
|
*/
|
|
2204
2276
|
onChange?: (event: Event) => void;
|
|
2205
2277
|
}
|
|
2278
|
+
/** @publicDocs */
|
|
2206
2279
|
export interface DividerProps extends GlobalProps {
|
|
2207
2280
|
/**
|
|
2208
2281
|
* Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
|
|
@@ -2217,15 +2290,18 @@ export interface DividerProps extends GlobalProps {
|
|
|
2217
2290
|
*/
|
|
2218
2291
|
color?: ColorKeyword;
|
|
2219
2292
|
}
|
|
2293
|
+
/** @publicDocs */
|
|
2220
2294
|
export interface EmailFieldProps
|
|
2221
2295
|
extends GlobalProps,
|
|
2222
2296
|
BaseTextFieldProps,
|
|
2223
2297
|
MinMaxLengthProps,
|
|
2224
2298
|
AutocompleteProps<EmailAutocompleteField> {}
|
|
2299
|
+
/** @publicDocs */
|
|
2225
2300
|
export type EmailAutocompleteField = ExtractStrict<
|
|
2226
2301
|
AnyAutocompleteField,
|
|
2227
2302
|
'email' | `${AutocompleteAddressGroup} email`
|
|
2228
2303
|
>;
|
|
2304
|
+
/** @publicDocs */
|
|
2229
2305
|
export interface EmbedProps extends GlobalProps, SizingProps {
|
|
2230
2306
|
/**
|
|
2231
2307
|
* The content type of the file to display.
|
|
@@ -2256,6 +2332,7 @@ export interface EmbedProps extends GlobalProps, SizingProps {
|
|
|
2256
2332
|
*/
|
|
2257
2333
|
accessibilityLabel?: string;
|
|
2258
2334
|
}
|
|
2335
|
+
/** @publicDocs */
|
|
2259
2336
|
export interface EmptyStateProps extends GlobalProps, ActionSlots {
|
|
2260
2337
|
/**
|
|
2261
2338
|
* The heading of the empty state.
|
|
@@ -2270,7 +2347,9 @@ export interface EmptyStateProps extends GlobalProps, ActionSlots {
|
|
|
2270
2347
|
*/
|
|
2271
2348
|
graphic?: ComponentChildren;
|
|
2272
2349
|
}
|
|
2350
|
+
/** @publicDocs */
|
|
2273
2351
|
export type SpacingKeyword = SizeKeyword | 'none';
|
|
2352
|
+
/** @publicDocs */
|
|
2274
2353
|
export interface GapProps {
|
|
2275
2354
|
/**
|
|
2276
2355
|
* Adjust spacing between elements.
|
|
@@ -2298,13 +2377,17 @@ export interface GapProps {
|
|
|
2298
2377
|
*/
|
|
2299
2378
|
columnGap?: MaybeResponsive<SpacingKeyword | ''>;
|
|
2300
2379
|
}
|
|
2380
|
+
/** @publicDocs */
|
|
2301
2381
|
export type BaselinePosition = 'baseline' | 'first baseline' | 'last baseline';
|
|
2382
|
+
/** @publicDocs */
|
|
2302
2383
|
export type ContentDistribution =
|
|
2303
2384
|
| 'space-between'
|
|
2304
2385
|
| 'space-around'
|
|
2305
2386
|
| 'space-evenly'
|
|
2306
2387
|
| 'stretch';
|
|
2388
|
+
/** @publicDocs */
|
|
2307
2389
|
export type ContentPosition = 'center' | 'start' | 'end';
|
|
2390
|
+
/** @publicDocs */
|
|
2308
2391
|
export type OverflowPosition =
|
|
2309
2392
|
| `unsafe ${ContentPosition}`
|
|
2310
2393
|
| `safe ${ContentPosition}`;
|
|
@@ -2312,6 +2395,7 @@ export type OverflowPosition =
|
|
|
2312
2395
|
* Align items sets the align-self value on all direct children as a group.
|
|
2313
2396
|
*
|
|
2314
2397
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
|
|
2398
|
+
* @publicDocs
|
|
2315
2399
|
*/
|
|
2316
2400
|
export type AlignItemsKeyword =
|
|
2317
2401
|
| 'normal'
|
|
@@ -2323,6 +2407,7 @@ export type AlignItemsKeyword =
|
|
|
2323
2407
|
* 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.
|
|
2324
2408
|
*
|
|
2325
2409
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
|
|
2410
|
+
* @publicDocs
|
|
2326
2411
|
*/
|
|
2327
2412
|
export type JustifyContentKeyword =
|
|
2328
2413
|
| 'normal'
|
|
@@ -2333,6 +2418,7 @@ export type JustifyContentKeyword =
|
|
|
2333
2418
|
*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.
|
|
2334
2419
|
*
|
|
2335
2420
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
|
|
2421
|
+
* @publicDocs
|
|
2336
2422
|
*/
|
|
2337
2423
|
export type AlignContentKeyword =
|
|
2338
2424
|
| 'normal'
|
|
@@ -2340,6 +2426,7 @@ export type AlignContentKeyword =
|
|
|
2340
2426
|
| ContentDistribution
|
|
2341
2427
|
| OverflowPosition
|
|
2342
2428
|
| ContentPosition;
|
|
2429
|
+
/** @publicDocs */
|
|
2343
2430
|
export interface BaseTypographyProps {
|
|
2344
2431
|
/**
|
|
2345
2432
|
* Modify the color to be more or less intense.
|
|
@@ -2385,6 +2472,7 @@ export interface BaseTypographyProps {
|
|
|
2385
2472
|
*/
|
|
2386
2473
|
dir?: 'ltr' | 'rtl' | 'auto' | '';
|
|
2387
2474
|
}
|
|
2475
|
+
/** @publicDocs */
|
|
2388
2476
|
export interface BlockTypographyProps {
|
|
2389
2477
|
/**
|
|
2390
2478
|
* Truncates the text content to the specified number of lines.
|
|
@@ -2395,6 +2483,7 @@ export interface BlockTypographyProps {
|
|
|
2395
2483
|
*/
|
|
2396
2484
|
lineClamp?: number;
|
|
2397
2485
|
}
|
|
2486
|
+
/** @publicDocs */
|
|
2398
2487
|
export interface HeadingProps
|
|
2399
2488
|
extends GlobalProps,
|
|
2400
2489
|
AccessibilityVisibilityProps,
|
|
@@ -2424,6 +2513,7 @@ export interface HeadingProps
|
|
|
2424
2513
|
| 'heading'
|
|
2425
2514
|
| ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
|
|
2426
2515
|
}
|
|
2516
|
+
/** @publicDocs */
|
|
2427
2517
|
export interface IconProps
|
|
2428
2518
|
extends GlobalProps,
|
|
2429
2519
|
Pick<InteractionProps, 'interestFor'> {
|
|
@@ -2447,6 +2537,7 @@ export interface IconProps
|
|
|
2447
2537
|
size?: SizeKeyword;
|
|
2448
2538
|
type?: IconType | AnyString;
|
|
2449
2539
|
}
|
|
2540
|
+
/** @publicDocs */
|
|
2450
2541
|
export interface BaseImageProps {
|
|
2451
2542
|
/**
|
|
2452
2543
|
* An alternative text description that describe the image for the reader to
|
|
@@ -2492,6 +2583,7 @@ export interface BaseImageProps {
|
|
|
2492
2583
|
*/
|
|
2493
2584
|
srcSet?: string;
|
|
2494
2585
|
}
|
|
2586
|
+
/** @publicDocs */
|
|
2495
2587
|
export interface ImageProps extends GlobalProps, BaseImageProps, BorderProps {
|
|
2496
2588
|
/**
|
|
2497
2589
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2567,6 +2659,7 @@ export interface ImageProps extends GlobalProps, BaseImageProps, BorderProps {
|
|
|
2567
2659
|
*/
|
|
2568
2660
|
onError?: (event: Event) => void;
|
|
2569
2661
|
}
|
|
2662
|
+
/** @publicDocs */
|
|
2570
2663
|
export interface LinkProps extends GlobalProps, LinkBehaviorProps {
|
|
2571
2664
|
/**
|
|
2572
2665
|
* The content of the link.
|
|
@@ -2592,6 +2685,7 @@ export interface LinkProps extends GlobalProps, LinkBehaviorProps {
|
|
|
2592
2685
|
*/
|
|
2593
2686
|
lang?: string;
|
|
2594
2687
|
}
|
|
2688
|
+
/** @publicDocs */
|
|
2595
2689
|
export interface ModalProps
|
|
2596
2690
|
extends GlobalProps,
|
|
2597
2691
|
BaseOverlayProps,
|
|
@@ -2635,6 +2729,7 @@ export interface ModalProps
|
|
|
2635
2729
|
*/
|
|
2636
2730
|
children?: ComponentChildren;
|
|
2637
2731
|
}
|
|
2732
|
+
/** @publicDocs */
|
|
2638
2733
|
export interface NumberFieldProps
|
|
2639
2734
|
extends GlobalProps,
|
|
2640
2735
|
BaseTextFieldProps,
|
|
@@ -2664,10 +2759,12 @@ export interface NumberFieldProps
|
|
|
2664
2759
|
*/
|
|
2665
2760
|
onInput?: (event: Event) => void;
|
|
2666
2761
|
}
|
|
2762
|
+
/** @publicDocs */
|
|
2667
2763
|
export type NumberAutocompleteField = ExtractStrict<
|
|
2668
2764
|
AnyAutocompleteField,
|
|
2669
2765
|
'one-time-code' | 'cc-number' | 'cc-csc'
|
|
2670
2766
|
>;
|
|
2767
|
+
/** @publicDocs */
|
|
2671
2768
|
export interface PageProps extends GlobalProps, ActionSlots {
|
|
2672
2769
|
/**
|
|
2673
2770
|
* The content of the page.
|
|
@@ -2704,6 +2801,7 @@ export interface PageProps extends GlobalProps, ActionSlots {
|
|
|
2704
2801
|
*/
|
|
2705
2802
|
inlineSize?: SizeKeyword;
|
|
2706
2803
|
}
|
|
2804
|
+
/** @publicDocs */
|
|
2707
2805
|
export interface POSBlockProps
|
|
2708
2806
|
extends GlobalProps,
|
|
2709
2807
|
Pick<ActionSlots, 'secondaryActions'> {
|
|
@@ -2722,6 +2820,7 @@ export interface POSBlockProps
|
|
|
2722
2820
|
*/
|
|
2723
2821
|
secondaryActions?: ComponentChildren;
|
|
2724
2822
|
}
|
|
2823
|
+
/** @publicDocs */
|
|
2725
2824
|
export interface QRCodeProps extends GlobalProps {
|
|
2726
2825
|
/**
|
|
2727
2826
|
* Set the border of the QR code.
|
|
@@ -2767,6 +2866,7 @@ export interface QRCodeProps extends GlobalProps {
|
|
|
2767
2866
|
*/
|
|
2768
2867
|
logo?: string;
|
|
2769
2868
|
}
|
|
2869
|
+
/** @publicDocs */
|
|
2770
2870
|
export interface ScrollEventProps {
|
|
2771
2871
|
/**
|
|
2772
2872
|
* Callback when the scroll position reaches any edge.
|
|
@@ -2807,7 +2907,9 @@ export interface ScrollEventProps {
|
|
|
2807
2907
|
*/
|
|
2808
2908
|
scrollMargin?: MaybeAllValuesShorthandProperty<SizeUnits>;
|
|
2809
2909
|
}
|
|
2910
|
+
/** @publicDocs */
|
|
2810
2911
|
export type OverflowKeyword = 'auto' | 'hidden';
|
|
2912
|
+
/** @publicDocs */
|
|
2811
2913
|
export interface ScrollBoxProps
|
|
2812
2914
|
extends GlobalProps,
|
|
2813
2915
|
ScrollEventProps,
|
|
@@ -2828,12 +2930,15 @@ export interface ScrollBoxProps
|
|
|
2828
2930
|
*/
|
|
2829
2931
|
overflow?: OverflowKeyword | `${OverflowKeyword} ${OverflowKeyword}`;
|
|
2830
2932
|
}
|
|
2933
|
+
/** @publicDocs */
|
|
2831
2934
|
export interface SearchFieldProps
|
|
2832
2935
|
extends GlobalProps,
|
|
2833
2936
|
BaseTextFieldProps,
|
|
2834
2937
|
MinMaxLengthProps,
|
|
2835
2938
|
AutocompleteProps<SearchAutocompleteField> {}
|
|
2939
|
+
/** @publicDocs */
|
|
2836
2940
|
export type SearchAutocompleteField = TextAutocompleteField;
|
|
2941
|
+
/** @publicDocs */
|
|
2837
2942
|
export interface SectionProps extends GlobalProps, ActionSlots {
|
|
2838
2943
|
/**
|
|
2839
2944
|
* The content of the section.
|
|
@@ -2864,6 +2969,7 @@ export interface SectionProps extends GlobalProps, ActionSlots {
|
|
|
2864
2969
|
*/
|
|
2865
2970
|
padding?: 'base' | 'none';
|
|
2866
2971
|
}
|
|
2972
|
+
/** @publicDocs */
|
|
2867
2973
|
export interface SpinnerProps extends GlobalProps {
|
|
2868
2974
|
/**
|
|
2869
2975
|
* Adjusts the size of the spinner icon.
|
|
@@ -2880,6 +2986,7 @@ export interface SpinnerProps extends GlobalProps {
|
|
|
2880
2986
|
*/
|
|
2881
2987
|
accessibilityLabel?: string;
|
|
2882
2988
|
}
|
|
2989
|
+
/** @publicDocs */
|
|
2883
2990
|
export interface StackProps
|
|
2884
2991
|
extends GlobalProps,
|
|
2885
2992
|
BaseBoxPropsWithRole,
|
|
@@ -2918,12 +3025,14 @@ export interface StackProps
|
|
|
2918
3025
|
*/
|
|
2919
3026
|
alignContent?: MaybeResponsive<AlignContentKeyword>;
|
|
2920
3027
|
}
|
|
3028
|
+
/** @publicDocs */
|
|
2921
3029
|
export interface SwitchProps
|
|
2922
3030
|
extends GlobalProps,
|
|
2923
3031
|
BaseCheckableProps,
|
|
2924
3032
|
BasicFieldProps,
|
|
2925
3033
|
FieldDetailsProps,
|
|
2926
3034
|
FieldErrorProps {}
|
|
3035
|
+
/** @publicDocs */
|
|
2927
3036
|
export interface TabProps extends GlobalProps {
|
|
2928
3037
|
/**
|
|
2929
3038
|
* Corresponds to the `id` property of the tab panel component that will be displayed when selected
|
|
@@ -2948,12 +3057,14 @@ export interface TabProps extends GlobalProps {
|
|
|
2948
3057
|
*/
|
|
2949
3058
|
children?: StringChildren;
|
|
2950
3059
|
}
|
|
3060
|
+
/** @publicDocs */
|
|
2951
3061
|
export interface TabListProps extends GlobalProps {
|
|
2952
3062
|
/**
|
|
2953
3063
|
* Accepts only tabs components.
|
|
2954
3064
|
*/
|
|
2955
3065
|
children?: ComponentChildren;
|
|
2956
3066
|
}
|
|
3067
|
+
/** @publicDocs */
|
|
2957
3068
|
export interface TabPanelProps extends GlobalProps {
|
|
2958
3069
|
/**
|
|
2959
3070
|
* The id of the tab panel used for identification in the tabs component.
|
|
@@ -2965,6 +3076,7 @@ export interface TabPanelProps extends GlobalProps {
|
|
|
2965
3076
|
*/
|
|
2966
3077
|
children?: ComponentChildren;
|
|
2967
3078
|
}
|
|
3079
|
+
/** @publicDocs */
|
|
2968
3080
|
export interface TabsProps
|
|
2969
3081
|
extends GlobalProps,
|
|
2970
3082
|
Pick<InputProps, 'disabled' | 'onChange' | 'value' | 'defaultValue'> {
|
|
@@ -3004,6 +3116,7 @@ export interface TabsProps
|
|
|
3004
3116
|
*/
|
|
3005
3117
|
onChange?: (event: Event) => void;
|
|
3006
3118
|
}
|
|
3119
|
+
/** @publicDocs */
|
|
3007
3120
|
export interface TextProps
|
|
3008
3121
|
extends GlobalProps,
|
|
3009
3122
|
AccessibilityVisibilityProps,
|
|
@@ -3023,6 +3136,7 @@ export interface TextProps
|
|
|
3023
3136
|
*/
|
|
3024
3137
|
type?: TextType;
|
|
3025
3138
|
}
|
|
3139
|
+
/** @publicDocs */
|
|
3026
3140
|
export type TextType =
|
|
3027
3141
|
/**
|
|
3028
3142
|
* Indicate the text is contact information. Typically used for addresses.
|
|
@@ -3105,6 +3219,7 @@ export type TextType =
|
|
|
3105
3219
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
|
|
3106
3220
|
*/
|
|
3107
3221
|
| 'generic';
|
|
3222
|
+
/** @publicDocs */
|
|
3108
3223
|
export interface TextAreaProps
|
|
3109
3224
|
extends GlobalProps,
|
|
3110
3225
|
BaseTextFieldProps,
|
|
@@ -3117,12 +3232,14 @@ export interface TextAreaProps
|
|
|
3117
3232
|
*/
|
|
3118
3233
|
rows?: number;
|
|
3119
3234
|
}
|
|
3235
|
+
/** @publicDocs */
|
|
3120
3236
|
export interface TextFieldProps
|
|
3121
3237
|
extends GlobalProps,
|
|
3122
3238
|
BaseTextFieldProps,
|
|
3123
3239
|
MinMaxLengthProps,
|
|
3124
3240
|
AutocompleteProps<TextAutocompleteField>,
|
|
3125
3241
|
FieldDecorationProps {}
|
|
3242
|
+
/** @publicDocs */
|
|
3126
3243
|
export interface TileProps
|
|
3127
3244
|
extends GlobalProps,
|
|
3128
3245
|
Pick<BaseClickableProps, 'onClick' | 'disabled'> {
|
|
@@ -3152,6 +3269,7 @@ export interface TileProps
|
|
|
3152
3269
|
*/
|
|
3153
3270
|
tone?: ExtractStrict<ToneKeyword, 'auto' | 'neutral' | 'accent'>;
|
|
3154
3271
|
}
|
|
3272
|
+
/** @publicDocs */
|
|
3155
3273
|
export interface TimePickerProps
|
|
3156
3274
|
extends GlobalProps,
|
|
3157
3275
|
InputProps,
|
|
@@ -3244,6 +3362,7 @@ export interface TimePickerProps
|
|
|
3244
3362
|
*/
|
|
3245
3363
|
step?: number;
|
|
3246
3364
|
}
|
|
3365
|
+
/** @publicDocs */
|
|
3247
3366
|
export interface TimeFieldProps
|
|
3248
3367
|
extends GlobalProps,
|
|
3249
3368
|
BaseTextFieldProps,
|
|
@@ -3301,6 +3420,7 @@ export interface TimeFieldProps
|
|
|
3301
3420
|
//
|
|
3302
3421
|
// Preact Virtual DOM
|
|
3303
3422
|
// -----------------------------------
|
|
3423
|
+
/** @publicDocs */
|
|
3304
3424
|
export interface VNode<P = {}> {
|
|
3305
3425
|
type: ComponentType<P> | string;
|
|
3306
3426
|
props: P & {
|
|
@@ -3328,12 +3448,17 @@ export interface VNode<P = {}> {
|
|
|
3328
3448
|
//
|
|
3329
3449
|
// Preact Component interface
|
|
3330
3450
|
// -----------------------------------
|
|
3451
|
+
/** @publicDocs */
|
|
3331
3452
|
export type Key = string | number | any;
|
|
3453
|
+
/** @publicDocs */
|
|
3332
3454
|
export type RefObject<T> = {
|
|
3333
3455
|
current: T | null;
|
|
3334
3456
|
};
|
|
3457
|
+
/** @publicDocs */
|
|
3335
3458
|
export type RefCallback<T> = (instance: T | null) => void | (() => void);
|
|
3459
|
+
/** @publicDocs */
|
|
3336
3460
|
export type Ref<T> = RefObject<T> | RefCallback<T> | null;
|
|
3461
|
+
/** @publicDocs */
|
|
3337
3462
|
export type ComponentChild =
|
|
3338
3463
|
| VNode<any>
|
|
3339
3464
|
| object
|
|
@@ -3344,13 +3469,16 @@ export type ComponentChild =
|
|
|
3344
3469
|
| null
|
|
3345
3470
|
| undefined;
|
|
3346
3471
|
type ComponentChildren$1 = ComponentChild[] | ComponentChild;
|
|
3472
|
+
/** @publicDocs */
|
|
3347
3473
|
export interface Attributes {
|
|
3348
3474
|
key?: Key | undefined;
|
|
3349
3475
|
jsx?: boolean | undefined;
|
|
3350
3476
|
}
|
|
3477
|
+
/** @publicDocs */
|
|
3351
3478
|
export interface ErrorInfo {
|
|
3352
3479
|
componentStack?: string;
|
|
3353
3480
|
}
|
|
3481
|
+
/** @publicDocs */
|
|
3354
3482
|
export type RenderableProps<P, RefType = any> = P &
|
|
3355
3483
|
Readonly<
|
|
3356
3484
|
Attributes & {
|
|
@@ -3358,12 +3486,15 @@ export type RenderableProps<P, RefType = any> = P &
|
|
|
3358
3486
|
ref?: Ref<RefType>;
|
|
3359
3487
|
}
|
|
3360
3488
|
>;
|
|
3489
|
+
/** @publicDocs */
|
|
3361
3490
|
export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
|
|
3491
|
+
/** @publicDocs */
|
|
3362
3492
|
export interface FunctionComponent<P = {}> {
|
|
3363
3493
|
(props: RenderableProps<P>, context?: any): ComponentChildren$1;
|
|
3364
3494
|
displayName?: string;
|
|
3365
3495
|
defaultProps?: Partial<P> | undefined;
|
|
3366
3496
|
}
|
|
3497
|
+
/** @publicDocs */
|
|
3367
3498
|
export interface ComponentClass<P = {}, S = {}> {
|
|
3368
3499
|
new (props: P, context?: any): Component<P, S>;
|
|
3369
3500
|
displayName?: string;
|
|
@@ -3375,6 +3506,7 @@ export interface ComponentClass<P = {}, S = {}> {
|
|
|
3375
3506
|
): Partial<S> | null;
|
|
3376
3507
|
getDerivedStateFromError?(error: any): Partial<S> | null;
|
|
3377
3508
|
}
|
|
3509
|
+
/** @publicDocs */
|
|
3378
3510
|
export interface Component<P = {}, S = {}> {
|
|
3379
3511
|
componentWillMount?(): void;
|
|
3380
3512
|
componentDidMount?(): void;
|
|
@@ -3441,15 +3573,18 @@ declare abstract class Component<P, S> {
|
|
|
3441
3573
|
//
|
|
3442
3574
|
// Context
|
|
3443
3575
|
// -----------------------------------
|
|
3576
|
+
/** @publicDocs */
|
|
3444
3577
|
export interface Consumer<T>
|
|
3445
3578
|
extends FunctionComponent<{
|
|
3446
3579
|
children: (value: T) => ComponentChildren$1;
|
|
3447
3580
|
}> {}
|
|
3581
|
+
/** @publicDocs */
|
|
3448
3582
|
export interface Provider<T>
|
|
3449
3583
|
extends FunctionComponent<{
|
|
3450
3584
|
value: T;
|
|
3451
3585
|
children?: ComponentChildren$1;
|
|
3452
3586
|
}> {}
|
|
3587
|
+
/** @publicDocs */
|
|
3453
3588
|
export interface Context<T> extends Provider<T> {
|
|
3454
3589
|
Consumer: Consumer<T>;
|
|
3455
3590
|
Provider: Provider<T>;
|