@shopify/ui-extensions 2026.4.0-rc.3 → 2026.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +2 -0
- package/build/cjs/surfaces/checkout/preact/app-metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/attributes.js +3 -0
- package/build/cjs/surfaces/checkout/preact/billing-address.js +1 -0
- package/build/cjs/surfaces/checkout/preact/buyer-identity.js +4 -0
- package/build/cjs/surfaces/checkout/preact/buyer-journey.js +5 -0
- package/build/cjs/surfaces/checkout/preact/capabilities.js +2 -0
- package/build/cjs/surfaces/checkout/preact/cart-line-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cart-lines.js +2 -0
- package/build/cjs/surfaces/checkout/preact/checkout-settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/checkout-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cost.js +4 -0
- package/build/cjs/surfaces/checkout/preact/country.js +1 -0
- package/build/cjs/surfaces/checkout/preact/currency.js +1 -0
- package/build/cjs/surfaces/checkout/preact/customer-privacy.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-list-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-selection-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/discounts.js +3 -0
- package/build/cjs/surfaces/checkout/preact/extension-editor.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension-language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension.js +2 -0
- package/build/cjs/surfaces/checkout/preact/gift-cards.js +2 -0
- package/build/cjs/surfaces/checkout/preact/instructions.js +1 -0
- package/build/cjs/surfaces/checkout/preact/language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/localized-fields.js +2 -0
- package/build/cjs/surfaces/checkout/preact/market.js +1 -0
- package/build/cjs/surfaces/checkout/preact/metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/note.js +2 -0
- package/build/cjs/surfaces/checkout/preact/payment-method.js +3 -0
- package/build/cjs/surfaces/checkout/preact/payment-options.js +2 -0
- package/build/cjs/surfaces/checkout/preact/pickup-location-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/redeemable.js +1 -0
- package/build/cjs/surfaces/checkout/preact/session-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shipping-address.js +2 -0
- package/build/cjs/surfaces/checkout/preact/shipping-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shop.js +1 -0
- package/build/cjs/surfaces/checkout/preact/storage.js +1 -0
- package/build/cjs/surfaces/checkout/preact/subscription.js +1 -0
- package/build/cjs/surfaces/checkout/preact/target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/timezone.js +1 -0
- package/build/cjs/surfaces/checkout/preact/translate.js +1 -0
- package/build/cjs/surfaces/checkout/shared.js +3 -16
- package/build/cjs/surfaces/checkout/style/style.js +1 -0
- package/build/cjs/surfaces/point-of-sale/types/storage.js +4 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/app-metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/billing-address.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/buyer-identity.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +5 -0
- package/build/esm/surfaces/checkout/preact/capabilities.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/cart-line-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cart-lines.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/checkout-settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/checkout-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cost.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/country.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/currency.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/customer-privacy.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-list-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-selection-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/discounts.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/extension-editor.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension-language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/gift-cards.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/instructions.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/localized-fields.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/market.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/note.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/payment-method.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/payment-options.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/pickup-location-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/redeemable.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/session-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shipping-address.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/shipping-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shop.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/storage.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/subscription.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/timezone.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/translate.mjs +1 -0
- package/build/esm/surfaces/checkout/shared.mjs +3 -16
- package/build/esm/surfaces/checkout/style/style.mjs +1 -0
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +4 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/app-metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/billing-address.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/buyer-identity.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +5 -0
- package/build/esnext/surfaces/checkout/preact/capabilities.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/cart-line-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cart-lines.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/checkout-settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/checkout-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cost.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/country.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/currency.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/customer-privacy.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-list-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-selection-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/discounts.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/extension-editor.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension-language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/gift-cards.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/instructions.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/localized-fields.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/market.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/note.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/payment-method.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/payment-options.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/pickup-location-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/redeemable.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/session-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shipping-address.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/shipping-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shop.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/storage.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/timezone.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/translate.esnext +1 -0
- package/build/esnext/surfaces/checkout/shared.esnext +3 -16
- package/build/esnext/surfaces/checkout/style/style.esnext +1 -0
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +4 -0
- package/build/ts/shared.d.ts +32 -12
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +2 -0
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +7 -4
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +3 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +7 -3
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts +24 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +44 -8
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +5 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +8 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +1 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/picker/picker.d.ts +15 -7
- package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +36 -17
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/shared.d.ts +2 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts +3 -0
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +4 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +4 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +1 -0
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +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 +1 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +1 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +5 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +258 -122
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +33 -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 +4 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +38 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +46 -3
- package/build/ts/surfaces/checkout/components/Banner.d.ts +64 -9
- package/build/ts/surfaces/checkout/components/Box.d.ts +52 -0
- package/build/ts/surfaces/checkout/components/Button.d.ts +16 -3
- package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Chip.d.ts +8 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +8 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +37 -7
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +23 -5
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/DateField.d.ts +31 -6
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +28 -5
- package/build/ts/surfaces/checkout/components/Details.d.ts +14 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +22 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Form.d.ts +16 -1
- package/build/ts/surfaces/checkout/components/Grid.d.ts +139 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Heading.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/checkout/components/Image.d.ts +43 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +16 -3
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +39 -8
- package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +23 -8
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Option.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +20 -6
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +29 -0
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +57 -0
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +21 -6
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +18 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +112 -0
- package/build/ts/surfaces/checkout/components/Summary.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/Text.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +23 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/Time.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +29 -10
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +616 -605
- package/build/ts/surfaces/checkout/components/components.d.ts +568 -288
- package/build/ts/surfaces/checkout/extension-targets.d.ts +13 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +1 -0
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +5 -0
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cost.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/cost.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/country.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/currency.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/currency.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/discounts.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/discounts.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/instructions.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/instructions.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/market.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/note.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/note.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/session-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/session-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shop.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shop.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/storage.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/storage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/timezone.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/timezone.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/translate.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/translate.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +11 -19
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +1 -0
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/types.d.ts +20 -8
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +3 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +231 -3
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +454 -295
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +209 -137
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +84 -68
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +38 -9
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +46 -3
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +64 -9
- package/build/ts/surfaces/customer-account/components/Box.d.ts +52 -0
- package/build/ts/surfaces/customer-account/components/Button.d.ts +16 -3
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +8 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +8 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +37 -7
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +23 -5
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +16 -2
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +31 -6
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +28 -5
- package/build/ts/surfaces/customer-account/components/Details.d.ts +14 -0
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +22 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Form.d.ts +16 -1
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +139 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/customer-account/components/Image.d.ts +43 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +16 -3
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +39 -8
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +23 -8
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Option.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +20 -6
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +29 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +57 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +21 -6
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +18 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +112 -0
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/Text.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +23 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/Time.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +29 -10
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +616 -605
- package/build/ts/surfaces/customer-account/components/components.d.ts +568 -288
- package/build/ts/surfaces/customer-account/components/shared.d.ts +23 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +23 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +8 -0
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +12 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +3 -2
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +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/intents/intent-render.ts +26 -0
- package/src/surfaces/admin/api/intents/intents.ts +49 -8
- package/src/surfaces/admin/api/order-routing-rule/data.ts +5 -2
- package/src/surfaces/admin/api/order-routing-rule/metafields.ts +8 -3
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +1 -0
- package/src/surfaces/admin/api/picker/picker.ts +15 -6
- package/src/surfaces/admin/api/print-action/print-action.ts +1 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/purchase-options-card-action.ts +1 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.ts +36 -17
- package/src/surfaces/admin/api/shared.ts +2 -0
- package/src/surfaces/admin/api/standard/standard-rendering.ts +3 -0
- package/src/surfaces/admin/api/standard/standard.ts +4 -1
- package/src/surfaces/admin/api/standard/storage.ts +4 -0
- package/src/surfaces/admin/api.ts +1 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/src/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -0
- package/src/surfaces/admin/components/Badge.d.ts +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 +1 -0
- package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +2 -0
- package/src/surfaces/checkout/api/announcement/announcement.ts +1 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +5 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +258 -122
- package/src/surfaces/checkout/api/docs.ts +34 -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 +4 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +38 -9
- package/src/surfaces/checkout/components/Badge.d.ts +46 -3
- package/src/surfaces/checkout/components/Banner.d.ts +64 -9
- package/src/surfaces/checkout/components/Box.d.ts +52 -0
- package/src/surfaces/checkout/components/Button.d.ts +16 -3
- package/src/surfaces/checkout/components/Chat.d.ts +20 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +17 -2
- package/src/surfaces/checkout/components/Chip.d.ts +8 -0
- package/src/surfaces/checkout/components/Choice.d.ts +8 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +17 -2
- package/src/surfaces/checkout/components/Clickable.d.ts +37 -7
- package/src/surfaces/checkout/components/ClickableChip.d.ts +23 -5
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
- package/src/surfaces/checkout/components/DateField.d.ts +31 -6
- package/src/surfaces/checkout/components/DatePicker.d.ts +28 -5
- package/src/surfaces/checkout/components/Details.d.ts +14 -0
- package/src/surfaces/checkout/components/Divider.d.ts +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +22 -3
- package/src/surfaces/checkout/components/EmailField.d.ts +29 -10
- package/src/surfaces/checkout/components/Form.d.ts +16 -1
- package/src/surfaces/checkout/components/Grid.d.ts +139 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +57 -0
- package/src/surfaces/checkout/components/Heading.d.ts +4 -0
- package/src/surfaces/checkout/components/Icon.d.ts +49 -4
- package/src/surfaces/checkout/components/Image.d.ts +43 -1
- package/src/surfaces/checkout/components/Link.d.ts +16 -3
- package/src/surfaces/checkout/components/ListItem.d.ts +4 -0
- package/src/surfaces/checkout/components/Map.d.ts +68 -6
- package/src/surfaces/checkout/components/MapMarker.d.ts +39 -8
- package/src/surfaces/checkout/components/Modal.d.ts +52 -8
- package/src/surfaces/checkout/components/MoneyField.d.ts +23 -8
- package/src/surfaces/checkout/components/NumberField.d.ts +29 -10
- package/src/surfaces/checkout/components/Option.d.ts +4 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +4 -0
- package/src/surfaces/checkout/components/Paragraph.d.ts +4 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +29 -10
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/src/surfaces/checkout/components/PhoneField.d.ts +29 -10
- package/src/surfaces/checkout/components/Popover.d.ts +39 -22
- package/src/surfaces/checkout/components/PressButton.d.ts +20 -6
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/src/surfaces/checkout/components/Progress.d.ts +29 -0
- package/src/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/src/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +57 -0
- package/src/surfaces/checkout/components/Section.d.ts +4 -0
- package/src/surfaces/checkout/components/Select.d.ts +21 -6
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +18 -0
- package/src/surfaces/checkout/components/Stack.d.ts +112 -0
- package/src/surfaces/checkout/components/Summary.d.ts +4 -0
- package/src/surfaces/checkout/components/Switch.d.ts +17 -2
- package/src/surfaces/checkout/components/Text.d.ts +4 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +23 -8
- package/src/surfaces/checkout/components/TextField.d.ts +29 -10
- package/src/surfaces/checkout/components/Time.d.ts +4 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/src/surfaces/checkout/components/UnorderedList.d.ts +4 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +29 -10
- package/src/surfaces/checkout/components/components-shared.d.ts +616 -605
- package/src/surfaces/checkout/components/components.d.ts +568 -288
- package/src/surfaces/checkout/extension-targets.ts +13 -0
- package/src/surfaces/checkout/globals.ts +1 -0
- package/src/surfaces/checkout/preact/api.ts +2 -0
- package/src/surfaces/checkout/preact/app-metafields.ts +1 -0
- package/src/surfaces/checkout/preact/attributes.ts +3 -0
- package/src/surfaces/checkout/preact/billing-address.ts +1 -0
- package/src/surfaces/checkout/preact/buyer-identity.ts +4 -0
- package/src/surfaces/checkout/preact/buyer-journey.ts +5 -0
- package/src/surfaces/checkout/preact/capabilities.ts +2 -0
- package/src/surfaces/checkout/preact/cart-line-target.ts +1 -0
- package/src/surfaces/checkout/preact/cart-lines.ts +2 -0
- package/src/surfaces/checkout/preact/checkout-settings.ts +1 -0
- package/src/surfaces/checkout/preact/checkout-token.ts +1 -0
- package/src/surfaces/checkout/preact/cost.ts +4 -0
- package/src/surfaces/checkout/preact/country.ts +1 -0
- package/src/surfaces/checkout/preact/currency.ts +1 -0
- package/src/surfaces/checkout/preact/customer-privacy.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-list-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-groups.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-selection-groups.ts +1 -0
- package/src/surfaces/checkout/preact/discounts.ts +3 -0
- package/src/surfaces/checkout/preact/extension-editor.ts +1 -0
- package/src/surfaces/checkout/preact/extension-language.ts +1 -0
- package/src/surfaces/checkout/preact/extension.ts +2 -0
- package/src/surfaces/checkout/preact/gift-cards.ts +2 -0
- package/src/surfaces/checkout/preact/instructions.ts +1 -0
- package/src/surfaces/checkout/preact/language.ts +1 -0
- package/src/surfaces/checkout/preact/localized-fields.ts +2 -0
- package/src/surfaces/checkout/preact/market.ts +1 -0
- package/src/surfaces/checkout/preact/metafields.ts +1 -0
- package/src/surfaces/checkout/preact/note.ts +2 -0
- package/src/surfaces/checkout/preact/payment-method.ts +3 -0
- package/src/surfaces/checkout/preact/payment-options.ts +2 -0
- package/src/surfaces/checkout/preact/pickup-location-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/redeemable.ts +1 -0
- package/src/surfaces/checkout/preact/session-token.ts +1 -0
- package/src/surfaces/checkout/preact/settings.ts +1 -0
- package/src/surfaces/checkout/preact/shipping-address.ts +2 -0
- package/src/surfaces/checkout/preact/shipping-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/shop.ts +1 -0
- package/src/surfaces/checkout/preact/storage.ts +1 -0
- package/src/surfaces/checkout/preact/subscription.ts +1 -0
- package/src/surfaces/checkout/preact/target.ts +1 -0
- package/src/surfaces/checkout/preact/timezone.ts +1 -0
- package/src/surfaces/checkout/preact/translate.ts +1 -0
- package/src/surfaces/checkout/shared.ts +11 -21
- package/src/surfaces/checkout/style/style.ts +1 -0
- package/src/surfaces/checkout/style/types.ts +20 -7
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +3 -0
- package/src/surfaces/customer-account/api/docs.ts +236 -5
- package/src/surfaces/customer-account/api/order-status/order-status.ts +461 -295
- package/src/surfaces/customer-account/api/shared.ts +210 -137
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +84 -68
- package/src/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/src/surfaces/customer-account/components/Page.d.ts +5 -5
- package/src/surfaces/customer-account/components/Section.d.ts +3 -7
- package/src/surfaces/customer-account/components/shared.ts +23 -5
- package/src/surfaces/customer-account/components.d.ts +93 -0
- package/src/surfaces/customer-account/extension-targets.ts +8 -0
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/camera-api/camera-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +12 -1
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components.d.ts +286 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +7 -2
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +2 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +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
|
@@ -48,19 +48,19 @@ export interface ActionSlots {
|
|
|
48
48
|
}
|
|
49
49
|
export interface BaseOverlayProps {
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* A callback fired immediately after the overlay is shown.
|
|
52
52
|
*/
|
|
53
53
|
onShow?: (event: Event) => void;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
55
|
+
* A callback fired when the overlay is shown, after any show animations have completed.
|
|
56
56
|
*/
|
|
57
57
|
onAfterShow?: (event: Event) => void;
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
* A callback fired immediately after the overlay is hidden.
|
|
60
60
|
*/
|
|
61
61
|
onHide?: (event: Event) => void;
|
|
62
62
|
/**
|
|
63
|
-
*
|
|
63
|
+
* A callback fired when the overlay is hidden, after any hide animations have completed.
|
|
64
64
|
*/
|
|
65
65
|
onAfterHide?: (event: Event) => void;
|
|
66
66
|
}
|
|
@@ -74,19 +74,19 @@ export interface BaseOverlayProps {
|
|
|
74
74
|
*/
|
|
75
75
|
export interface BaseOverlayMethods {
|
|
76
76
|
/**
|
|
77
|
-
*
|
|
77
|
+
* A method to programmatically show the overlay.
|
|
78
78
|
*
|
|
79
79
|
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
80
80
|
*/
|
|
81
81
|
showOverlay: () => void;
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
83
|
+
* A method to programmatically hide the overlay and run any associated hide animations.
|
|
84
84
|
*
|
|
85
85
|
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
86
86
|
*/
|
|
87
87
|
hideOverlay: () => void;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* A method to programmatically toggle the visibility of the overlay.
|
|
90
90
|
*
|
|
91
91
|
* @implementation This is a method to be called on the element and not a callback and should hence be camelCase
|
|
92
92
|
*/
|
|
@@ -108,28 +108,25 @@ export interface FocusEventProps {
|
|
|
108
108
|
}
|
|
109
109
|
export interface ToggleEventProps {
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* A callback fired when the element state changes, after any toggle animations have finished.
|
|
112
112
|
*
|
|
113
113
|
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
114
114
|
* `newState` property will be set to `open`.
|
|
115
115
|
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
116
116
|
* `newState` will be `closed`.
|
|
117
117
|
*
|
|
118
|
-
*
|
|
119
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
118
|
+
* Learn more about [ToggleEvent.newState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState) and [ToggleEvent.oldState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState).
|
|
120
119
|
*/
|
|
121
120
|
onAfterToggle?: (event: ToggleEvent$1) => void;
|
|
122
121
|
/**
|
|
123
|
-
*
|
|
122
|
+
* A callback fired immediately when the element state changes, before any animations.
|
|
124
123
|
*
|
|
125
124
|
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
126
125
|
* `newState` property will be set to `open`.
|
|
127
126
|
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
128
127
|
* `newState` will be `closed`.
|
|
129
128
|
*
|
|
130
|
-
*
|
|
131
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
132
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
129
|
+
* Learn more about the [toggle event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event), [ToggleEvent.newState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState), and [ToggleEvent.oldState](https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState).
|
|
133
130
|
*/
|
|
134
131
|
onToggle?: (event: ToggleEvent$1) => void;
|
|
135
132
|
}
|
|
@@ -164,7 +161,17 @@ interface AnnouncementProps$1 extends GlobalProps, ToggleEventProps {
|
|
|
164
161
|
*/
|
|
165
162
|
dismiss: () => void;
|
|
166
163
|
}
|
|
164
|
+
/**
|
|
165
|
+
* The design system's size scale, used to control the dimensions of components like avatars, icons, and thumbnails. Values range from `"small-500"` (smallest) through `"base"` (standard) to `"large-500"` (largest). Not all components support every size — check the component's `size` property type for its available options.
|
|
166
|
+
*/
|
|
167
167
|
export type SizeKeyword = "small-500" | "small-400" | "small-300" | "small-200" | "small-100" | "small" | "base" | "large" | "large-100" | "large-200" | "large-300" | "large-400" | "large-500";
|
|
168
|
+
/**
|
|
169
|
+
* Defines the color intensity or emphasis level for text and UI elements.
|
|
170
|
+
*
|
|
171
|
+
* - `subdued`: Deemphasized color for secondary text, supporting labels, and less critical interface elements.
|
|
172
|
+
* - `base`: Primary color for body text, standard UI elements, and general content with good readability.
|
|
173
|
+
* - `strong`: Emphasized color for headings, key labels, and interactive elements that need prominence.
|
|
174
|
+
*/
|
|
168
175
|
export type ColorKeyword = "subdued" | "base" | "strong";
|
|
169
176
|
export type BackgroundColorKeyword = "transparent" | ColorKeyword;
|
|
170
177
|
export interface BackgroundProps {
|
|
@@ -740,8 +747,28 @@ export type IconType = (typeof privateIconArray)[number];
|
|
|
740
747
|
* Like `Extract`, but ensures that the extracted type is a strict subtype of the input type.
|
|
741
748
|
*/
|
|
742
749
|
export type ExtractStrict<T, U extends T> = Extract<T, U>;
|
|
750
|
+
/**
|
|
751
|
+
* Represents CSS shorthand properties that accept one to four values, following the [CSS shorthand syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box). Supports specifying values for all four sides: top, right, bottom, and left.
|
|
752
|
+
*
|
|
753
|
+
* - `T`: Single value that applies to all four sides.
|
|
754
|
+
* - `${T} ${T}`: Two values for block axis (top/bottom) and inline axis (left/right).
|
|
755
|
+
* - `${T} ${T} ${T}`: Three values for block-start (top), inline axis (left/right), and block-end (bottom).
|
|
756
|
+
* - `${T} ${T} ${T} ${T}`: Four values for block-start (top), inline-end (right), block-end (bottom), and inline-start (left).
|
|
757
|
+
*/
|
|
743
758
|
export type MaybeAllValuesShorthandProperty<T extends string> = T | `${T} ${T}` | `${T} ${T} ${T}` | `${T} ${T} ${T} ${T}`;
|
|
759
|
+
/**
|
|
760
|
+
* Represents CSS shorthand properties that accept one or two values. Supports specifying the same value for both dimensions or different values.
|
|
761
|
+
*
|
|
762
|
+
* - `T`: Single value that applies to both dimensions.
|
|
763
|
+
* - `${T} ${T}`: Two values for block axis (vertical) and inline axis (horizontal).
|
|
764
|
+
*/
|
|
744
765
|
export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
|
|
766
|
+
/**
|
|
767
|
+
* Makes a property responsive by allowing it to be set conditionally based on container query conditions. The value can be either a base value or a container query string.
|
|
768
|
+
*
|
|
769
|
+
* - `T`: Base value that applies in all conditions.
|
|
770
|
+
* - `@container${string}`: Container query string for conditional responsive styling based on container size.
|
|
771
|
+
*/
|
|
745
772
|
export type MaybeResponsive<T> = T | `@container${string}`;
|
|
746
773
|
/**
|
|
747
774
|
* Prevents widening string literal types in a union to `string`.
|
|
@@ -882,130 +909,95 @@ export interface DisplayProps {
|
|
|
882
909
|
}
|
|
883
910
|
export interface AccessibilityRoleProps {
|
|
884
911
|
/**
|
|
885
|
-
*
|
|
886
|
-
* the role will be used by assistive technologies to help users
|
|
887
|
-
* navigate the page.
|
|
888
|
-
*
|
|
889
|
-
* @implementation Although, in HTML hosts, this property changes the element used,
|
|
890
|
-
* changing this property must not impact the visual styling of inside or outside of the box.
|
|
912
|
+
* The semantic meaning of the component’s content. When set, assistive technologies use this role to help users navigate the page.
|
|
891
913
|
*
|
|
892
914
|
* @default 'generic'
|
|
893
915
|
*/
|
|
894
916
|
accessibilityRole?: AccessibilityRole;
|
|
895
917
|
}
|
|
896
|
-
export type AccessibilityRole =
|
|
897
918
|
/**
|
|
898
|
-
*
|
|
919
|
+
* The semantic role of a component, used by assistive technologies to convey the element’s purpose to users. Each role maps to a specific HTML element or ARIA role.
|
|
899
920
|
*
|
|
900
|
-
*
|
|
901
|
-
*
|
|
921
|
+
* - `main`: The primary content of the page.
|
|
922
|
+
* - `header`: A page or section header.
|
|
923
|
+
* - `footer`: Information such as copyright, navigation links, and privacy statements.
|
|
924
|
+
* - `section`: A generic section that should have a heading or `accessibilityLabel`.
|
|
925
|
+
* - `aside`: Supporting content related to the main content.
|
|
926
|
+
* - `navigation`: A major group of navigation links.
|
|
927
|
+
* - `ordered-list`: A list of ordered items.
|
|
928
|
+
* - `list-item`: An item inside a list.
|
|
929
|
+
* - `list-item-separator`: A divider between list items.
|
|
930
|
+
* - `unordered-list`: A list of unordered items.
|
|
931
|
+
* - `separator`: A divider that separates sections of content.
|
|
932
|
+
* - `status`: A live region with advisory information that is not urgent.
|
|
933
|
+
* - `alert`: Important, usually time-sensitive information.
|
|
934
|
+
* - `generic`: A nameless container with no semantic meaning (renders a `<div>`).
|
|
935
|
+
* - `presentation`: Strips semantic meaning while keeping visual styling. Synonym for `none`.
|
|
936
|
+
* - `none`: Strips semantic meaning while keeping visual styling. Synonym for `presentation`.
|
|
937
|
+
*/
|
|
938
|
+
export type AccessibilityRole =
|
|
939
|
+
/**
|
|
940
|
+
* The primary content of the page. Learn more about the [`<main>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main).
|
|
902
941
|
*/
|
|
903
942
|
"main"
|
|
904
943
|
/**
|
|
905
|
-
*
|
|
906
|
-
*
|
|
907
|
-
* In an HTML host `header` will render a `<header>` element.
|
|
908
|
-
* Learn more about the [`<header>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/main_role) in the MDN web docs.
|
|
944
|
+
* A page or section header. Learn more about the [`<header>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header).
|
|
909
945
|
*/
|
|
910
946
|
| "header"
|
|
911
947
|
/**
|
|
912
|
-
*
|
|
913
|
-
*
|
|
914
|
-
* In an HTML host `footer` will render a `<footer>` element.
|
|
915
|
-
* Learn more about the [`<footer>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/contentinfo_role) in the MDN web docs.
|
|
948
|
+
* Information such as copyright, navigation links, and privacy statements. Learn more about the [`<footer>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer).
|
|
916
949
|
*/
|
|
917
950
|
| "footer"
|
|
918
951
|
/**
|
|
919
|
-
*
|
|
920
|
-
* Sections should always have a `Heading` or an accessible name provided in the `accessibilityLabel` property.
|
|
921
|
-
*
|
|
922
|
-
* In an HTML host `section` will render a `<section>` element.
|
|
923
|
-
* Learn more about the [`<section>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/region_role) in the MDN web docs.
|
|
924
|
-
*
|
|
952
|
+
* A generic section that should have a heading or `accessibilityLabel`. Learn more about the [`<section>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section).
|
|
925
953
|
*/
|
|
926
954
|
| "section"
|
|
927
955
|
/**
|
|
928
|
-
*
|
|
929
|
-
*
|
|
930
|
-
* In an HTML host `aside` will render an `<aside>` element.
|
|
931
|
-
* Learn more about the [`<aside>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/complementary_role) in the MDN web docs.
|
|
956
|
+
* Supporting content related to the main content. Learn more about the [`<aside>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside).
|
|
932
957
|
*/
|
|
933
958
|
| "aside"
|
|
934
959
|
/**
|
|
935
|
-
*
|
|
936
|
-
*
|
|
937
|
-
* In an HTML host `navigation` will render a `<nav>` element.
|
|
938
|
-
* Learn more about the [`<nav>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/navigation_role) in the MDN web docs.
|
|
960
|
+
* A major group of navigation links. Learn more about the [`<nav>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav).
|
|
939
961
|
*/
|
|
940
962
|
| "navigation"
|
|
941
963
|
/**
|
|
942
|
-
*
|
|
943
|
-
*
|
|
944
|
-
* In an HTML host `ordered-list` will render a `<ol>` element.
|
|
945
|
-
* Learn more about the [`<ol>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/list_role) in the MDN web docs.
|
|
964
|
+
* A list of ordered items. Learn more about the [`<ol>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol).
|
|
946
965
|
*/
|
|
947
966
|
| "ordered-list"
|
|
948
967
|
/**
|
|
949
|
-
*
|
|
950
|
-
*
|
|
951
|
-
* In an HTML host `list-item` will render a `<li>` element.
|
|
952
|
-
* Learn more about the [`<li>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/listitem_role) in the MDN web docs.
|
|
968
|
+
* An item inside a list. Learn more about the [`<li>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li).
|
|
953
969
|
*/
|
|
954
970
|
| "list-item"
|
|
955
971
|
/**
|
|
956
|
-
*
|
|
957
|
-
*
|
|
958
|
-
* In an HTML host `list-item-separator` will render as `<li role="separator">`.
|
|
959
|
-
* Learn more about the [`<li>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li) and the [`separator` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/separator_role) in the MDN web docs.
|
|
972
|
+
* A divider between list items. Learn more about the [`separator` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/separator_role).
|
|
960
973
|
*/
|
|
961
974
|
| "list-item-separator"
|
|
962
975
|
/**
|
|
963
|
-
*
|
|
964
|
-
*
|
|
965
|
-
* In an HTML host `unordered-list` will render a `<ul>` element.
|
|
966
|
-
* Learn more about the [`<ul>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul) and its [implicit role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/list_role) in the MDN web docs.
|
|
976
|
+
* A list of unordered items. Learn more about the [`<ul>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul).
|
|
967
977
|
*/
|
|
968
978
|
| "unordered-list"
|
|
969
979
|
/**
|
|
970
|
-
*
|
|
971
|
-
*
|
|
972
|
-
* In an HTML host `separator` will render as `<div role="separator">`.
|
|
973
|
-
* Learn more about the [`separator` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/separator_role) in the MDN web docs.
|
|
980
|
+
* A divider that separates sections of content. Learn more about the [`separator` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/separator_role).
|
|
974
981
|
*/
|
|
975
982
|
| "separator"
|
|
976
983
|
/**
|
|
977
|
-
*
|
|
978
|
-
*
|
|
979
|
-
* In an HTML host `status` will render as `<div role="status">`.
|
|
980
|
-
* Learn more about the [`status` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/status_role) in the MDN web docs.
|
|
984
|
+
* A live region with advisory information that is not urgent. Learn more about the [`status` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/status_role).
|
|
981
985
|
*/
|
|
982
986
|
| "status"
|
|
983
987
|
/**
|
|
984
|
-
*
|
|
985
|
-
*
|
|
986
|
-
* In an HTML host `alert` will render as `<div role="alert">`.
|
|
987
|
-
* Learn more about the [`alert` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/alert_role) in the MDN web docs.
|
|
988
|
+
* Important, usually time-sensitive information. Learn more about the [`alert` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/alert_role).
|
|
988
989
|
*/
|
|
989
990
|
| "alert"
|
|
990
991
|
/**
|
|
991
|
-
*
|
|
992
|
-
*
|
|
993
|
-
* In an HTML host `generic'` will render a `<div>` element.
|
|
994
|
-
* Learn more about the [`generic` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/generic_role) in the MDN web docs.
|
|
992
|
+
* A nameless container with no semantic meaning (renders a `<div>`). Learn more about the [`generic` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/generic_role).
|
|
995
993
|
*/
|
|
996
994
|
| "generic"
|
|
997
995
|
/**
|
|
998
|
-
*
|
|
999
|
-
*
|
|
1000
|
-
* Synonym for `none`
|
|
1001
|
-
* Learn more about the [`presentation` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/presentation_role) in the MDN web docs.
|
|
996
|
+
* Strips semantic meaning while keeping visual styling. Synonym for `none`. Learn more about the [`presentation` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/presentation_role).
|
|
1002
997
|
*/
|
|
1003
998
|
| "presentation"
|
|
1004
999
|
/**
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
1007
|
-
* Synonym for `presentation`
|
|
1008
|
-
* Learn more about the [`none` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/none_role) in the MDN web docs.
|
|
1000
|
+
* Strips semantic meaning while keeping visual styling. Synonym for `presentation`. Learn more about the [`none` role](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/none_role).
|
|
1009
1001
|
*/
|
|
1010
1002
|
| "none";
|
|
1011
1003
|
export interface AccessibilityVisibilityProps {
|
|
@@ -1031,6 +1023,12 @@ export interface LabelAccessibilityVisibilityProps {
|
|
|
1031
1023
|
*/
|
|
1032
1024
|
labelAccessibilityVisibility?: ExtractStrict<AccessibilityVisibilityProps["accessibilityVisibility"], "visible" | "exclusive">;
|
|
1033
1025
|
}
|
|
1026
|
+
/**
|
|
1027
|
+
* Defines the padding size for elements, using the standard size scale or `none` for no padding.
|
|
1028
|
+
*
|
|
1029
|
+
* - `SizeKeyword`: Standard padding sizes from the size scale for consistent spacing.
|
|
1030
|
+
* - `none`: No padding.
|
|
1031
|
+
*/
|
|
1034
1032
|
export type PaddingKeyword = SizeKeyword | "none";
|
|
1035
1033
|
export interface PaddingProps {
|
|
1036
1034
|
/**
|
|
@@ -1107,8 +1105,27 @@ export interface PaddingProps {
|
|
|
1107
1105
|
*/
|
|
1108
1106
|
paddingInlineEnd?: MaybeResponsive<PaddingKeyword | "">;
|
|
1109
1107
|
}
|
|
1108
|
+
/**
|
|
1109
|
+
* Represents size values in pixels, percentages, or zero.
|
|
1110
|
+
*
|
|
1111
|
+
* - `` `${number}px` ``: Absolute size in pixels for fixed dimensions (such as `100px`, `24px`).
|
|
1112
|
+
* - `` `${number}%` ``: Relative size as a percentage of the parent container (such as `50%`, `100%`).
|
|
1113
|
+
* - `0`: Zero size, equivalent to no dimension.
|
|
1114
|
+
*/
|
|
1110
1115
|
export type SizeUnits = `${number}px` | `${number}%` | `0`;
|
|
1116
|
+
/**
|
|
1117
|
+
* Represents size values that can also be set to `auto` for automatic sizing.
|
|
1118
|
+
*
|
|
1119
|
+
* - `SizeUnits`: Specific size values in pixels, percentages, or zero for precise control.
|
|
1120
|
+
* - `auto`: Automatically sizes based on content and layout constraints. Learn more about the [auto value](https://developer.mozilla.org/en-US/docs/Web/CSS/width#auto).
|
|
1121
|
+
*/
|
|
1111
1122
|
export type SizeUnitsOrAuto = SizeUnits | "auto";
|
|
1123
|
+
/**
|
|
1124
|
+
* Represents size values that can also be set to `none` to remove the size constraint.
|
|
1125
|
+
*
|
|
1126
|
+
* - `SizeUnits`: Specific size values in pixels, percentages, or zero for precise control.
|
|
1127
|
+
* - `none`: No size constraint, allowing unlimited growth. Learn more about the [none value](https://developer.mozilla.org/en-US/docs/Web/CSS/max-width#none).
|
|
1128
|
+
*/
|
|
1112
1129
|
export type SizeUnitsOrNone = SizeUnits | "none";
|
|
1113
1130
|
export interface SizingProps {
|
|
1114
1131
|
/**
|
|
@@ -1160,8 +1177,29 @@ export interface SizingProps {
|
|
|
1160
1177
|
*/
|
|
1161
1178
|
maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
|
|
1162
1179
|
}
|
|
1180
|
+
/**
|
|
1181
|
+
* The visual style of a border. Learn more about [border-style](https://developer.mozilla.org/en-US/docs/Web/CSS/border-style).
|
|
1182
|
+
*
|
|
1183
|
+
* - `none`: No border is rendered.
|
|
1184
|
+
* - `solid`: A single continuous line.
|
|
1185
|
+
* - `dashed`: A series of short dashes.
|
|
1186
|
+
* - `dotted`: A series of round dots.
|
|
1187
|
+
* - `auto`: The border style is determined automatically based on the surface's design system.
|
|
1188
|
+
*/
|
|
1163
1189
|
export type BorderStyleKeyword = "none" | "solid" | "dashed" | "dotted" | "auto";
|
|
1190
|
+
/**
|
|
1191
|
+
* Defines the width of borders, using the standard size scale or `none` for no border.
|
|
1192
|
+
*
|
|
1193
|
+
* - `SizeKeyword`: Standard border widths from the size scale for consistent thickness.
|
|
1194
|
+
* - `none`: No border width (removes the border).
|
|
1195
|
+
*/
|
|
1164
1196
|
export type BorderSizeKeyword = SizeKeyword | "none";
|
|
1197
|
+
/**
|
|
1198
|
+
* The corner radius of a border, using the design system's `SizeKeyword` scale with additional options:
|
|
1199
|
+
*
|
|
1200
|
+
* - `max`: The maximum possible radius, creating a pill or circular shape.
|
|
1201
|
+
* - `none`: No rounding — corners are sharp (0 radius).
|
|
1202
|
+
*/
|
|
1165
1203
|
export type BorderRadiusKeyword = SizeKeyword | "max" | "none";
|
|
1166
1204
|
/**
|
|
1167
1205
|
* Represents a shorthand for defining a border. It can be a combination of size, optionally followed by color, optionally followed by style.
|
|
@@ -1253,12 +1291,10 @@ export interface BorderProps {
|
|
|
1253
1291
|
}
|
|
1254
1292
|
export interface OverflowProps {
|
|
1255
1293
|
/**
|
|
1256
|
-
*
|
|
1294
|
+
* The overflow behavior of the element.
|
|
1257
1295
|
*
|
|
1258
|
-
* - `
|
|
1259
|
-
*
|
|
1260
|
-
* to access the clipped content by dragging or using a scroll wheel on a mouse.
|
|
1261
|
-
* - `visible`: the content that extends beyond the element’s container is visible.
|
|
1296
|
+
* - `visible`: Content that extends beyond the container is visible.
|
|
1297
|
+
* - `hidden`: Content that extends beyond the container is clipped and not scrollable.
|
|
1262
1298
|
*
|
|
1263
1299
|
* @default 'visible'
|
|
1264
1300
|
*/
|
|
@@ -2526,7 +2562,7 @@ interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, Bloc
|
|
|
2526
2562
|
*
|
|
2527
2563
|
* @default 'heading'
|
|
2528
2564
|
*
|
|
2529
|
-
* @implementation The `heading` role doesn
|
|
2565
|
+
* @implementation The `heading` role doesn’t need to be applied if
|
|
2530
2566
|
* the host applies it for you; for example, an HTML host rendering
|
|
2531
2567
|
* an `<h2>` element should not apply the `heading` role.
|
|
2532
2568
|
*/
|
|
@@ -2536,11 +2572,22 @@ interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor">
|
|
|
2536
2572
|
/**
|
|
2537
2573
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2538
2574
|
*
|
|
2575
|
+
* - `'auto'`: Inherits the tone from its parent context.
|
|
2576
|
+
* - `'neutral'`: Standard, non-semantic color for general-purpose icons.
|
|
2577
|
+
* - `'info'`: Informational content.
|
|
2578
|
+
* - `'success'`: Positive outcomes or confirmations.
|
|
2579
|
+
* - `'warning'`: Cautionary messages or alerts.
|
|
2580
|
+
* - `'critical'`: Errors, destructive actions, or urgent warnings.
|
|
2581
|
+
* - `'custom'`: Inherits a custom color from its parent element's CSS.
|
|
2582
|
+
*
|
|
2539
2583
|
* @default 'auto'
|
|
2540
2584
|
*/
|
|
2541
2585
|
tone?: ToneKeyword;
|
|
2542
2586
|
/**
|
|
2543
|
-
*
|
|
2587
|
+
* The color emphasis of the icon.
|
|
2588
|
+
*
|
|
2589
|
+
* - `'base'`: Standard color intensity.
|
|
2590
|
+
* - `'subdued'`: A lighter, less prominent appearance.
|
|
2544
2591
|
*
|
|
2545
2592
|
* @default 'base'
|
|
2546
2593
|
*/
|
|
@@ -2548,124 +2595,91 @@ interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor">
|
|
|
2548
2595
|
/**
|
|
2549
2596
|
* Adjusts the size of the icon.
|
|
2550
2597
|
*
|
|
2598
|
+
* - `'small-200'`: Extra extra small.
|
|
2599
|
+
* - `'small-100'`: Extra small.
|
|
2600
|
+
* - `'small'`: Small.
|
|
2601
|
+
* - `'base'`: Standard size.
|
|
2602
|
+
* - `'large'`: Large.
|
|
2603
|
+
* - `'large-100'`: Extra large.
|
|
2604
|
+
*
|
|
2551
2605
|
* @default 'base'
|
|
2552
2606
|
*/
|
|
2553
2607
|
size?: SizeKeyword;
|
|
2608
|
+
/**
|
|
2609
|
+
* The type of icon to display. You can specify an icon name from the available icon set, or use an empty string to show no icon.
|
|
2610
|
+
*/
|
|
2554
2611
|
type?: IconType | AnyString;
|
|
2555
2612
|
}
|
|
2556
2613
|
export interface BaseImageProps {
|
|
2557
2614
|
/**
|
|
2558
|
-
*
|
|
2559
|
-
* understand what it is about. It is extremely useful for both users using
|
|
2560
|
-
* assistive technology and sighted users. A well written description
|
|
2561
|
-
* provides people with visual impairments the ability to participate in
|
|
2562
|
-
* consuming non-text content. When a screen readers encounters an `s-image`,
|
|
2563
|
-
* the description is read and announced aloud. If an image fails to load,
|
|
2564
|
-
* potentially due to a poor connection, the `alt` is displayed on
|
|
2565
|
-
* screen instead. This has the benefit of letting a sighted buyer know an
|
|
2566
|
-
* image was meant to load here, but as an alternative, they’re still able to
|
|
2567
|
-
* consume the text content. Read
|
|
2568
|
-
* [considerations when writing alternative text](https://www.shopify.com/ca/blog/image-alt-text#4)
|
|
2569
|
-
* to learn more.
|
|
2615
|
+
* Alternative text that describes the image for screen readers. This text should convey the meaning or content of the image to users who can't see it.
|
|
2570
2616
|
*
|
|
2571
2617
|
* @default `''`
|
|
2572
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#alt
|
|
2573
2618
|
*/
|
|
2574
2619
|
alt?: string;
|
|
2575
2620
|
/**
|
|
2576
|
-
*
|
|
2577
|
-
*
|
|
2578
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#sizes
|
|
2621
|
+
* The sizes of the image at different viewport widths. Use this with `srcSet` to tell the browser which image to load (for example, `'(max-width: 320px) 280px, 640px'`).
|
|
2579
2622
|
*/
|
|
2580
2623
|
sizes?: string;
|
|
2581
2624
|
/**
|
|
2582
|
-
* The image
|
|
2583
|
-
*
|
|
2584
|
-
* When the image is loading or no `src` is provided, a placeholder will be rendered.
|
|
2585
|
-
*
|
|
2586
|
-
* @implementation Surfaces may choose the style of the placeholder, but the space the image occupies should be
|
|
2587
|
-
* reserved, except in cases where the image area does not have a contextual inline or block size, which should be rare.
|
|
2588
|
-
*
|
|
2589
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#src
|
|
2625
|
+
* The URL of the image to display. You can provide an absolute or relative URL pointing to the image file. When the image is loading or no `src` is provided, a placeholder is rendered in its place.
|
|
2590
2626
|
*/
|
|
2591
2627
|
src?: string;
|
|
2592
2628
|
/**
|
|
2593
|
-
* A set of image
|
|
2594
|
-
*
|
|
2595
|
-
* This overrides the `src` property.
|
|
2596
|
-
*
|
|
2597
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#srcset
|
|
2629
|
+
* A set of source images with different sizes for responsive loading. Use this to provide multiple image sizes for different screen resolutions (for example, `'image-320w.jpg 320w, image-640w.jpg 640w'`). This overrides the `src` property when the browser can match a suitable source.
|
|
2598
2630
|
*/
|
|
2599
2631
|
srcSet?: string;
|
|
2600
2632
|
}
|
|
2601
2633
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
2602
2634
|
/**
|
|
2603
|
-
* Sets the semantic meaning of the
|
|
2604
|
-
* the role will be used by assistive technologies to help users
|
|
2605
|
-
* navigate the page.
|
|
2635
|
+
* Sets the semantic meaning of the image content. When set, the role will be used by assistive technologies to help users navigate the page.
|
|
2606
2636
|
*
|
|
2607
|
-
*
|
|
2637
|
+
* - `'img'`: Identifies the element as an image that conveys meaningful information to users.
|
|
2638
|
+
* - `'none'`: Completely hides the element and its content from assistive technologies.
|
|
2639
|
+
* - `'presentation'`: Removes semantic meaning, making the image purely decorative and ignored by screen readers.
|
|
2608
2640
|
*
|
|
2609
|
-
* @
|
|
2610
|
-
* the host applies it for you; for example, an HTML host rendering
|
|
2611
|
-
* an `<img>` element should not apply the `img` role.
|
|
2641
|
+
* @default 'img'
|
|
2612
2642
|
*/
|
|
2613
2643
|
accessibilityRole?: "img" | ExtractStrict<AccessibilityRole, "presentation" | "none">;
|
|
2614
2644
|
/**
|
|
2615
2645
|
* The displayed inline width of the image.
|
|
2616
2646
|
*
|
|
2617
|
-
* - `fill`:
|
|
2618
|
-
* - `auto`:
|
|
2647
|
+
* - `'fill'`: The image takes up 100% of the available inline size.
|
|
2648
|
+
* - `'auto'`: The image is displayed at its natural size.
|
|
2619
2649
|
*
|
|
2620
2650
|
* @default 'fill'
|
|
2621
|
-
*
|
|
2622
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#width
|
|
2623
2651
|
*/
|
|
2624
2652
|
inlineSize?: "fill" | "auto";
|
|
2625
2653
|
/**
|
|
2626
|
-
* The aspect ratio of the image.
|
|
2627
|
-
*
|
|
2628
|
-
* The rendering of the image will depend on the `inlineSize` value:
|
|
2629
|
-
*
|
|
2630
|
-
* - `inlineSize="fill"`: the aspect ratio will be respected and the image will take the necessary space.
|
|
2631
|
-
* - `inlineSize="auto"`: the image will not render until it has loaded and the aspect ratio will be ignored.
|
|
2632
|
-
*
|
|
2633
|
-
* For example, if the value is set as `50 / 100`, the getter returns `50 / 100`.
|
|
2634
|
-
* If the value is set as `0.5`, the getter returns `0.5 / 1`.
|
|
2654
|
+
* The aspect ratio of the image as a width-to-height ratio (for example, `'16/9'` or `'1'`). This helps prevent layout shifts while the image loads.
|
|
2635
2655
|
*
|
|
2636
2656
|
* @default '1/1'
|
|
2637
|
-
*
|
|
2638
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio
|
|
2639
2657
|
*/
|
|
2640
2658
|
aspectRatio?: `${number}${optionalSpace}/${optionalSpace}${number}` | `${number}`;
|
|
2641
2659
|
/**
|
|
2642
|
-
*
|
|
2643
|
-
* The image is positioned in the center of the container.
|
|
2660
|
+
* How the image should be resized to fit its container. The image is positioned in the center of the container. Learn more about the [object-fit property](https://developer.mozilla.org/en-US/docs/Web/CSS/object-fit).
|
|
2644
2661
|
*
|
|
2645
|
-
*
|
|
2662
|
+
* - `'contain'`: Fits the entire image within the container, preserving aspect ratio. May leave empty space.
|
|
2663
|
+
* - `'cover'`: Fills the container while preserving aspect ratio, cropping the image if needed.
|
|
2646
2664
|
*
|
|
2647
|
-
* @
|
|
2665
|
+
* @default 'contain'
|
|
2648
2666
|
*/
|
|
2649
2667
|
objectFit?: "contain" | "cover";
|
|
2650
2668
|
/**
|
|
2651
|
-
*
|
|
2652
|
-
*
|
|
2653
|
-
* - `
|
|
2669
|
+
* When the image should be loaded.
|
|
2670
|
+
*
|
|
2671
|
+
* - `'eager'`: Loads the image immediately.
|
|
2672
|
+
* - `'lazy'`: Defers loading until the image is near the viewport.
|
|
2654
2673
|
*
|
|
2655
2674
|
* @default 'eager'
|
|
2656
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading
|
|
2657
2675
|
*/
|
|
2658
2676
|
loading?: "eager" | "lazy";
|
|
2659
2677
|
/**
|
|
2660
|
-
*
|
|
2661
|
-
*
|
|
2662
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2678
|
+
* A callback that's fired when the image has loaded successfully.
|
|
2663
2679
|
*/
|
|
2664
2680
|
onLoad?: (event: Event) => void;
|
|
2665
2681
|
/**
|
|
2666
|
-
*
|
|
2667
|
-
*
|
|
2668
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2682
|
+
* A callback that's fired when the image fails to load.
|
|
2669
2683
|
*/
|
|
2670
2684
|
onError?: (event: Event) => void;
|
|
2671
2685
|
}
|
|
@@ -2703,165 +2717,185 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
2703
2717
|
interface MapProps$1 extends GlobalProps, SizingProps {
|
|
2704
2718
|
/**
|
|
2705
2719
|
* A valid API key for the map service provider.
|
|
2706
|
-
*
|
|
2707
|
-
* The map service provider may require an API key. Without an API key the map could be hidden or render in a limited developer mode.
|
|
2708
2720
|
*/
|
|
2709
2721
|
apiKey?: string;
|
|
2710
2722
|
/**
|
|
2711
|
-
*
|
|
2723
|
+
* The latitude of the map's center point, in degrees.
|
|
2712
2724
|
*
|
|
2713
2725
|
* @default 0
|
|
2714
2726
|
*/
|
|
2715
2727
|
latitude?: number;
|
|
2716
2728
|
/**
|
|
2717
|
-
*
|
|
2729
|
+
* The longitude of the map's center point, in degrees.
|
|
2718
2730
|
*
|
|
2719
2731
|
* @default 0
|
|
2720
2732
|
*/
|
|
2721
2733
|
longitude?: number;
|
|
2722
2734
|
/**
|
|
2723
|
-
* A label that describes the purpose or contents of the map.
|
|
2724
|
-
*
|
|
2725
|
-
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
2735
|
+
* A label that describes the purpose or contents of the map. When set, it will be announced to users using assistive technologies.
|
|
2726
2736
|
*/
|
|
2727
2737
|
accessibilityLabel?: string;
|
|
2728
2738
|
/**
|
|
2729
|
-
* The initial
|
|
2730
|
-
*
|
|
2731
|
-
* Valid zoom values are numbers from zero up to 18.
|
|
2732
|
-
* Larger zoom values correspond to a higher resolution.
|
|
2739
|
+
* The initial zoom level of the map. Valid values are numbers from 0 to 18.
|
|
2733
2740
|
*
|
|
2734
2741
|
* @default 4
|
|
2735
2742
|
*/
|
|
2736
2743
|
zoom?: number;
|
|
2737
2744
|
/**
|
|
2738
|
-
* The maximum zoom level
|
|
2739
|
-
*
|
|
2740
|
-
* Valid zoom values are numbers from zero up to 18.
|
|
2745
|
+
* The maximum zoom level the user can reach on the map. Valid values are numbers from 0 to 18.
|
|
2741
2746
|
*
|
|
2742
2747
|
* @default 18
|
|
2743
2748
|
*/
|
|
2744
2749
|
maxZoom?: number;
|
|
2745
2750
|
/**
|
|
2746
|
-
* The minimum zoom level
|
|
2747
|
-
*
|
|
2748
|
-
* Valid zoom values are numbers from zero up to 18.
|
|
2751
|
+
* The minimum zoom level the user can reach on the map. Valid values are numbers from 0 to 18.
|
|
2749
2752
|
*
|
|
2750
2753
|
* @default 0
|
|
2751
2754
|
*/
|
|
2752
2755
|
minZoom?: number;
|
|
2753
2756
|
/**
|
|
2754
|
-
*
|
|
2757
|
+
* A callback that's fired when the visible map boundaries change.
|
|
2755
2758
|
*/
|
|
2756
2759
|
onBoundsChange?: (event: MapBoundsChangeEvent) => void;
|
|
2757
2760
|
/**
|
|
2758
|
-
*
|
|
2761
|
+
* A callback that's fired when the map view changes, such as when the user pans or zooms.
|
|
2759
2762
|
*/
|
|
2760
2763
|
onViewChange?: (event: MapViewChangeEvent) => void;
|
|
2761
2764
|
/**
|
|
2762
|
-
*
|
|
2765
|
+
* A callback that's fired when the user clicks on the map.
|
|
2763
2766
|
*/
|
|
2764
2767
|
onClick?: (event: MapClickEvent) => void;
|
|
2765
2768
|
/**
|
|
2766
|
-
*
|
|
2769
|
+
* A callback that's fired when the user double-clicks on the map.
|
|
2767
2770
|
*/
|
|
2768
2771
|
onDblClick?: (event: MapDblClickEvent) => void;
|
|
2769
2772
|
}
|
|
2773
|
+
/**
|
|
2774
|
+
* A geographic coordinate pair representing a location on the map.
|
|
2775
|
+
*/
|
|
2770
2776
|
interface Location$1 {
|
|
2777
|
+
/**
|
|
2778
|
+
* The latitude of the location in degrees.
|
|
2779
|
+
*/
|
|
2771
2780
|
latitude?: number;
|
|
2781
|
+
/**
|
|
2782
|
+
* The longitude of the location in degrees.
|
|
2783
|
+
*/
|
|
2772
2784
|
longitude?: number;
|
|
2773
2785
|
}
|
|
2786
|
+
/**
|
|
2787
|
+
* The geographic boundaries of a visible map area.
|
|
2788
|
+
*/
|
|
2774
2789
|
export interface Bounds {
|
|
2790
|
+
/**
|
|
2791
|
+
* The north-east corner of the bounded area.
|
|
2792
|
+
*/
|
|
2775
2793
|
northEast?: Location$1;
|
|
2794
|
+
/**
|
|
2795
|
+
* The south-west corner of the bounded area.
|
|
2796
|
+
*/
|
|
2776
2797
|
southWest?: Location$1;
|
|
2777
2798
|
}
|
|
2799
|
+
/**
|
|
2800
|
+
* The event data for map view changes.
|
|
2801
|
+
*/
|
|
2778
2802
|
export interface MapViewChangeEvent extends Event {
|
|
2803
|
+
/**
|
|
2804
|
+
* The geographic location of the new map center.
|
|
2805
|
+
*/
|
|
2779
2806
|
location?: Location$1;
|
|
2807
|
+
/**
|
|
2808
|
+
* The current zoom level of the map after the view change.
|
|
2809
|
+
*/
|
|
2780
2810
|
zoom?: number;
|
|
2781
2811
|
}
|
|
2812
|
+
/**
|
|
2813
|
+
* The event data for map bounds changes.
|
|
2814
|
+
*/
|
|
2782
2815
|
export interface MapBoundsChangeEvent extends Event {
|
|
2816
|
+
/**
|
|
2817
|
+
* The geographic boundaries of the visible map area after the change.
|
|
2818
|
+
*/
|
|
2783
2819
|
bounds?: Bounds;
|
|
2784
2820
|
}
|
|
2821
|
+
/**
|
|
2822
|
+
* The event data for map click events.
|
|
2823
|
+
*/
|
|
2785
2824
|
export interface MapClickEvent extends Event {
|
|
2825
|
+
/**
|
|
2826
|
+
* The geographic location of the click.
|
|
2827
|
+
*/
|
|
2786
2828
|
location?: Location$1;
|
|
2787
2829
|
}
|
|
2830
|
+
/**
|
|
2831
|
+
* The event data for map double-click events.
|
|
2832
|
+
*/
|
|
2788
2833
|
export interface MapDblClickEvent extends Event {
|
|
2834
|
+
/**
|
|
2835
|
+
* The geographic location of the double-click.
|
|
2836
|
+
*/
|
|
2789
2837
|
location?: Location$1;
|
|
2790
2838
|
}
|
|
2791
2839
|
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
2792
2840
|
/**
|
|
2793
|
-
*
|
|
2841
|
+
* The latitude of the marker location, in degrees.
|
|
2794
2842
|
*
|
|
2795
2843
|
* @default 0
|
|
2796
2844
|
*/
|
|
2797
2845
|
latitude?: number;
|
|
2798
2846
|
/**
|
|
2799
|
-
*
|
|
2847
|
+
* The longitude of the marker location, in degrees.
|
|
2800
2848
|
*
|
|
2801
2849
|
* @default 0
|
|
2802
2850
|
*/
|
|
2803
2851
|
longitude?: number;
|
|
2804
2852
|
/**
|
|
2805
|
-
* A label that describes the purpose of the marker. When set,
|
|
2806
|
-
* it will be announced to users using assistive technologies and will
|
|
2807
|
-
* provide them with more context.
|
|
2853
|
+
* A label that describes the purpose of the marker. When set, it will be announced to users using assistive technologies.
|
|
2808
2854
|
*/
|
|
2809
2855
|
accessibilityLabel?: string;
|
|
2810
2856
|
/**
|
|
2811
|
-
*
|
|
2857
|
+
* Whether the marker can be grouped into clusters when zoomed out.
|
|
2812
2858
|
*
|
|
2813
2859
|
* @default false
|
|
2814
2860
|
*/
|
|
2815
2861
|
clusterable?: boolean;
|
|
2816
2862
|
/**
|
|
2817
|
-
* The graphic to use as the marker.
|
|
2818
|
-
*
|
|
2819
|
-
* If unset, it will default to the provider’s default marker.
|
|
2863
|
+
* The graphic to use as the marker. If unset, the default marker from the map provider is used.
|
|
2820
2864
|
*/
|
|
2821
2865
|
graphic?: ComponentChildren;
|
|
2822
2866
|
/**
|
|
2823
|
-
*
|
|
2824
|
-
*
|
|
2825
|
-
* It does not trigger a click event on the map itself.
|
|
2867
|
+
* A callback that's fired when the marker is clicked. This does not trigger a click event on the map.
|
|
2826
2868
|
*/
|
|
2827
2869
|
onClick?: (event: Event) => void;
|
|
2828
2870
|
}
|
|
2829
2871
|
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ActionSlots {
|
|
2830
2872
|
/**
|
|
2831
|
-
* A label that describes the purpose of the modal. When set,
|
|
2832
|
-
* it will be announced to users using assistive technologies and will
|
|
2833
|
-
* provide them with more context.
|
|
2834
|
-
*
|
|
2835
|
-
* This overrides the `heading` prop for screen readers.
|
|
2873
|
+
* A label that describes the purpose of the modal, announced by assistive technologies. When set, screen readers will use this label instead of the `heading` to describe the modal.
|
|
2836
2874
|
*/
|
|
2837
2875
|
accessibilityLabel?: string;
|
|
2838
2876
|
/**
|
|
2839
|
-
* A title that describes the content of the
|
|
2840
|
-
*
|
|
2877
|
+
* A title that describes the content of the modal.
|
|
2841
2878
|
*/
|
|
2842
2879
|
heading?: string;
|
|
2843
2880
|
/**
|
|
2844
|
-
* Adjust the padding around the
|
|
2881
|
+
* Adjust the padding around the modal content.
|
|
2845
2882
|
*
|
|
2846
|
-
* `base`:
|
|
2847
|
-
*
|
|
2848
|
-
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
2849
|
-
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
2850
|
-
* to bring back the desired padding for the rest of the content.
|
|
2883
|
+
* - `base`: Applies padding that is appropriate for the element.
|
|
2884
|
+
* - `none`: Removes all padding from the element. This can be useful when elements inside the modal need to span to the edge of the modal. For example, a full-width image. In this case, rely on box with a padding of `base` to bring back the desired padding for the rest of the content.
|
|
2851
2885
|
*
|
|
2852
2886
|
* @default 'base'
|
|
2853
2887
|
*/
|
|
2854
2888
|
padding?: "base" | "none";
|
|
2855
2889
|
/**
|
|
2856
|
-
* Adjust the size of the
|
|
2890
|
+
* Adjust the size of the modal.
|
|
2857
2891
|
*
|
|
2858
|
-
* `max`:
|
|
2892
|
+
* `max`: Expands the modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
2859
2893
|
*
|
|
2860
2894
|
* @default 'base'
|
|
2861
2895
|
*/
|
|
2862
2896
|
size?: SizeKeyword | "max";
|
|
2863
2897
|
/**
|
|
2864
|
-
* The content of the
|
|
2898
|
+
* The content of the modal.
|
|
2865
2899
|
*/
|
|
2866
2900
|
children?: ComponentChildren;
|
|
2867
2901
|
}
|
|
@@ -2923,24 +2957,20 @@ interface PasswordFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLe
|
|
|
2923
2957
|
export type PasswordAutocompleteField = ExtractStrict<AnyAutocompleteField, "new-password" | "current-password">;
|
|
2924
2958
|
interface PaymentIconProps$1 extends GlobalProps {
|
|
2925
2959
|
/**
|
|
2926
|
-
* The
|
|
2960
|
+
* The name of the payment method icon to display.
|
|
2927
2961
|
*
|
|
2928
2962
|
* @default ''
|
|
2929
2963
|
*/
|
|
2930
2964
|
type?: PaymentIconName | AnyString;
|
|
2931
2965
|
/**
|
|
2932
|
-
* A label that describes the purpose or contents of the icon.
|
|
2933
|
-
*
|
|
2934
|
-
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
2935
|
-
* This should only be used if the icon requires an alternative internationalised label
|
|
2936
|
-
* or if it is otherwise inappropriate to make use of the default label included with the icon.
|
|
2966
|
+
* A label that describes the purpose or contents of the payment icon. When set, it will be announced to users using assistive technologies.
|
|
2937
2967
|
*/
|
|
2938
2968
|
accessibilityLabel?: string;
|
|
2939
2969
|
}
|
|
2940
2970
|
export type PaymentIconName = "abn" | "acima-leasing" | "acuotaz" | "ada" | "addi" | "adyen" | "aeropay" | "affin-bank" | "affirm" | "aftee" | "afterpay-paynl-version" | "afterpay" | "airtel-money" | "airteltigo-mobile-money" | "aktia" | "akulaku-paylater" | "akulaku" | "alandsbanken" | "alfamart" | "alfamidi" | "alipay-hk" | "alipay-paynl-version" | "alipay" | "alliance-bank" | "alma" | "aman" | "amazon" | "ambank" | "american-express" | "amex" | "ansa-stored-value" | "ansa" | "anyday" | "apecoin" | "aplazo" | "apple-pay" | "aqsat" | "arbitrum" | "arhaus" | "arvato" | "ashley-plcc" | "ask" | "astrapay" | "atm-bersama" | "atobaraidotcom" | "atome" | "atone" | "atrato" | "au-kantan-kessai" | "au-pay" | "authorize-net" | "avalanche" | "axs" | "bancnet" | "banco-azteca" | "bancomat" | "bancontact" | "bangkok-bank" | "bank-islam" | "bank-muamalat" | "bank-rakyat" | "barclays" | "base" | "bbva-cie" | "bc-card" | "bca-klikpay" | "bca" | "bdo" | "belfius" | "benefit" | "best-buy-card" | "biercheque-paynl-version" | "bigc" | "billease" | "biller-paynl-version" | "billie" | "billink-method" | "billink" | "bitcoin-cash" | "bitcoin" | "bizum" | "blik" | "bnbchain" | "bni" | "bnp" | "bogus-app-coin" | "bogus" | "boleto" | "boodil" | "boost" | "bpi" | "braintree" | "bread-pay" | "bread" | "bri-direct-debit" | "bri" | "brimo" | "bsi" | "bsn" | "bss" | "busd" | "careem-pay" | "cartes-bancaires" | "cash-app-pay" | "cash" | "cashew" | "cashinvoice-latin-america" | "catch-payments" | "cebuana" | "cembrapay" | "centi" | "cetelem" | "checkout-finance" | "chinabank" | "cimb-clicks" | "cimb" | "circle-k" | "citadele" | "citi-pay" | "clave-telered" | "clearpay" | "clerq" | "cleverpay" | "clip" | "cliq" | "codensa" | "coinsph" | "collector-bank" | "coop" | "coppel-pay" | "credit-agricole" | "credit-key" | "creditclick-paynl-version" | "credix" | "cuotas" | "d-barai" | "dai" | "daily-yamazaki" | "dan-dan" | "dana" | "danamon-online" | "dankort" | "danske-bank" | "dappmx" | "dash" | "daviplata" | "de-cadeaukaart" | "depay" | "deutsche-bank" | "dinacard" | "diners-club" | "direct-bank-transfer-latin-america" | "directa24" | "directpay" | "discover" | "divido" | "dnb" | "docomo-barai" | "dogecoin" | "dropp" | "duitnow" | "duologi" | "dwolla" | "easywallet" | "ebucks" | "echelon-financing" | "ecpay" | "edenred" | "efecty" | "eft-secure" | "eftpos-au" | "eghl" | "elo" | "elv" | "empty" | "enets" | "eos" | "epayments" | "epospay" | "eps" | "erste" | "escrowcom" | "esr-paymentslip-switzerland" | "ethereum" | "etihad-guest-pay" | "etika" | "ewallet-indonesia" | "ewallet-philippines" | "ewallet-southkorea" | "facebook-pay" | "fairstone-payments" | "fam" | "familymart" | "fantom" | "farmlands" | "fashion-giftcard-paynlversion" | "fashioncheque" | "favepay" | "fawry" | "finloup" | "fintecture" | "fintoc" | "flexiti" | "float-payments" | "flying-blue-plus" | "forbrugsforeningen" | "forsa" | "fortiva" | "fps" | "fpx" | "freecharge" | "freedompay" | "futurepay-mytab" | "gcash" | "generalfinancing" | "generic" | "genoapay" | "gezondheidsbon-paynl-version" | "giftcard" | "giropay" | "givacard" | "glbe-paypal" | "glbe-plus" | "gmo-atokara" | "gmo-bank-transfer" | "gmo-postpay" | "gmo-virtualaccount" | "gnosis" | "google-pay" | "google-wallet" | "gopay" | "grabpay" | "grailpay" | "gusd" | "hana-card" | "handelsbanken" | "happy-pay" | "hello-clever" | "heylight" | "hitrustpay-transfer" | "home-credit" | "hong-leong-bank" | "hong-leong-connect" | "hsbc" | "huis-tuin-cadeau" | "humm" | "hyper" | "hypercard" | "hypercash" | "hyundai-card" | "ibexpay" | "ideal" | "in3-via-ideal" | "in3" | "inbank" | "indomaret" | "ing-homepay" | "interac" | "ivy" | "iwocapay-pay-later" | "jcb" | "jenius" | "jko" | "jousto" | "kakao-pay" | "kakebaraidotcom" | "kasikornbank" | "kasssh" | "katapult" | "kb-card" | "kbc-cbc" | "kcp-credit-card" | "kfast" | "khqr" | "klarna-pay-later" | "klarna-pay-now" | "klarna-slice-it" | "klarna" | "knaken-settle" | "knet" | "koalafi" | "koin" | "krediidipank" | "kredivo" | "krungsri" | "krungthai-bank" | "kueski-pay" | "kunst-en-cultuur-cadeaukaart" | "kuwait-finance-house" | "land-bank" | "laser" | "latitude-creditline-au" | "latitude-gem-au" | "latitude-gem-nz" | "latitude-go-au" | "latitudepay" | "lawson" | "laybuy-heart" | "laybuy" | "lbc" | "lhv" | "line-pay" | "linkaja" | "linkpay" | "litecoin" | "lku" | "lloyds" | "lotte-card" | "lpb" | "luminor" | "lunch-check" | "lydia" | "mach" | "mada" | "maestro" | "mandiri" | "mash" | "master" | "mastercard" | "masterpass" | "maxima" | "maya-bank" | "maya" | "maybank-qrpay" | "maybank" | "maybankm2u" | "mb-way" | "mb" | "mcash" | "medicinos-bankas" | "meeza" | "mercado-credito" | "mercado-pago" | "merpay" | "meta-pay" | "metro-bank" | "military-starcard" | "minicuotas" | "ministop" | "mobicred" | "mobikwik" | "mobilepay" | "mode" | "mokka" | "momopay" | "mondido" | "monero" | "monzo" | "mpesa" | "mtn-mobile-money" | "multisafepay" | "mybank" | "myfatoorah" | "n26" | "naps" | "nationale-bioscoopbon" | "nationale-entertainmentcard" | "natwest" | "naver-pay" | "nelo" | "nequi" | "netbanking" | "neteller" | "nh-card" | "nordea" | "notyd" | "novuna" | "npatobarai" | "npkakebarai" | "oca" | "ocbc-bank" | "octo-clicks" | "octopus" | "offline-bank-transfer-latin-america" | "ola-money" | "omannet" | "omasp" | "oney" | "online-banking" | "online-banktransfer" | "op" | "opay" | "openpay" | "optimism" | "orange-mobile-money" | "overstock-citicobrand" | "overstock-citiplcc" | "ovo" | "oxxo" | "ozow" | "pagoefectivo" | "paid" | "paidy" | "palawa" | "palawan" | "pastpay" | "pay-after-delivery-instalments" | "pay-by-bank-us" | "pay-by-bank" | "pay-easy" | "pay-pay" | "paybylink" | "paycash" | "payco" | "payconiq" | "payd" | "payfast-instant-eft" | "payflex" | "payid" | "payitmonthly" | "payjustnow" | "paymark-online-eftpos" | "paymaya" | "payme" | "paynow-mbank" | "paynow" | "payoo-qr" | "payoo" | "paypal" | "payplan" | "paypo" | "payrexx-bank-transfer" | "payright" | "paysafecard-paynl-version" | "paysafecard" | "paysafecash" | "paysera" | "paysquad" | "paytm" | "payto" | "paytomorrow" | "payu" | "payzapp" | "pei" | "perlasfinance" | "permata" | "pf-pay" | "pivo" | "pix" | "podium-cadeaukaart" | "pointspay" | "poli" | "polygon" | "poppankki" | "postfinance-card" | "postfinance-efinance" | "postpay" | "powered-by-ansa-stored-value" | "powered-by-ansa" | "powerpay" | "pps" | "prepaysolutions" | "progressive-leasing" | "przelew24" | "przelewy24-paynl-version" | "przelewy24" | "pse" | "public-bank" | "publicbank-pbe" | "qasitli" | "qliro" | "qr-promptpay" | "qris" | "qrph" | "rabbit-line-pay" | "rabobank" | "rakuten-pay" | "rapid-transfer" | "ratepay" | "raty-pekao" | "rcbc" | "rcs" | "reka" | "resolve-pay" | "revolut" | "rhb-bank" | "rhb-now" | "rietumu" | "riverty-paynl-version" | "riverty" | "rupay" | "saastopankki" | "sadad" | "sam" | "samsung-card" | "samsung-pay" | "santander" | "satisfi" | "satispay" | "sbpl" | "scalapay" | "scream-truck-wallet" | "scream-truck" | "seb" | "seicomart" | "sepa-bank-transfer" | "sepa-direct-debit" | "sequra" | "seven-eleven" | "sezzle" | "shib" | "shinhan-card" | "shop-pay" | "shopeepay" | "shopify-pay" | "siam-commercial" | "siauliu-bankas" | "siirto" | "sika-fsa" | "sika-hsa" | "sika" | "simpl" | "simple-pay" | "sinpe-movil" | "sistecredito" | "skeps" | "skrill-digital-wallet" | "slice-fnbo" | "smartpay" | "snap-checkout" | "snapmint" | "societe-generale" | "sofort" | "softbank" | "solana-pay-helio" | "solana-pay" | "solana" | "souhoola" | "spankki" | "sparkasse" | "spei" | "splitit" | "spotii" | "spraypay" | "standard-chartered" | "stc-pay" | "stoov" | "store-credit" | "stripe" | "sunkus" | "super-payments" | "svea-b2b-faktura" | "svea-b2b-invoice" | "svea-checkout" | "svea-credit-account" | "svea-delbetalning" | "svea-faktura" | "svea-invoice" | "svea-lasku" | "svea-ostukonto" | "svea-part-payment" | "svea-yrityslasku" | "sveaeramaksu" | "swedbank" | "swiftpay" | "swish" | "swissbilling" | "sympl" | "synchrony-pay" | "synchrony" | "tabby" | "tabit" | "taly" | "tamara" | "tandympayment" | "tasa-cero" | "tbi-bank" | "tcf" | "tendopay" | "tensile" | "tesco-lotus" | "thanachart-bank" | "timepayment" | "tiptop" | "todopay" | "toss" | "touch-n-go" | "tpay" | "trevipay" | "truelayer" | "truemoney-pay" | "trustly" | "twig-pay" | "twint" | "twoinvoice" | "uae-visa" | "uangme" | "ubp" | "underpay" | "unionpay" | "unipay" | "uob-ez-pay" | "uob-thai" | "uob" | "upi" | "urbo" | "urpay" | "usdc" | "usdp" | "v-pay" | "valu" | "venmo" | "ventipay" | "venus-plcc" | "viabill" | "vipps" | "visa-electron" | "visa" | "volksbank" | "volt" | "vvv-cadeaukaart-paynl-version" | "vvv-giftcard" | "waave-pay-by-bank" | "wallet" | "walley" | "wbtc" | "webshop-giftcard" | "wechat-pay" | "wechat-paynl-version" | "wegetfinancing" | "whish-checkout" | "whish-pay" | "wise" | "wissel" | "world-chain" | "xrp" | "yape" | "yappy" | "ymobile" | "younited-pay" | "zalopay" | "zapper" | "zingala" | "zinia" | "zip" | "zoodpay" | "zulily-credit-card" | "zustaina";
|
|
2941
2971
|
interface PopoverProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, SizingProps {
|
|
2942
2972
|
/**
|
|
2943
|
-
* The content
|
|
2973
|
+
* The content displayed within the popover, which appears in an overlay positioned relative to its trigger element.
|
|
2944
2974
|
*/
|
|
2945
2975
|
children?: ComponentChildren;
|
|
2946
2976
|
}
|
|
@@ -2962,25 +2992,28 @@ interface PressButtonProps$1 extends GlobalProps, Pick<ButtonProps$1, "accessibi
|
|
|
2962
2992
|
}
|
|
2963
2993
|
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2964
2994
|
/**
|
|
2965
|
-
*
|
|
2995
|
+
* The quantity badge displayed on the product thumbnail.
|
|
2966
2996
|
*/
|
|
2967
2997
|
totalItems?: number;
|
|
2968
2998
|
/**
|
|
2969
|
-
* Adjusts the size the product thumbnail image.
|
|
2999
|
+
* Adjusts the size of the product thumbnail image.
|
|
3000
|
+
*
|
|
3001
|
+
* - `'small-200'`: Extra extra small.
|
|
3002
|
+
* - `'small-100'`: Extra small.
|
|
3003
|
+
* - `'small'`: Small.
|
|
3004
|
+
* - `'base'`: Standard size.
|
|
3005
|
+
* - `'large'`: Large.
|
|
3006
|
+
* - `'large-100'`: Extra large.
|
|
2970
3007
|
*
|
|
2971
3008
|
* @default 'base'
|
|
2972
3009
|
*/
|
|
2973
3010
|
size?: SizeKeyword;
|
|
2974
3011
|
/**
|
|
2975
|
-
*
|
|
2976
|
-
*
|
|
2977
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
3012
|
+
* A callback that's fired when the thumbnail image has loaded successfully.
|
|
2978
3013
|
*/
|
|
2979
3014
|
onLoad?: (event: Event) => void;
|
|
2980
3015
|
/**
|
|
2981
|
-
*
|
|
2982
|
-
*
|
|
2983
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
3016
|
+
* A callback that's fired when the thumbnail image fails to load.
|
|
2984
3017
|
*/
|
|
2985
3018
|
onError?: (event: Event) => void;
|
|
2986
3019
|
}
|
|
@@ -3026,46 +3059,39 @@ interface ProgressProps$1 extends GlobalProps {
|
|
|
3026
3059
|
}
|
|
3027
3060
|
interface QRCodeProps$1 extends GlobalProps {
|
|
3028
3061
|
/**
|
|
3029
|
-
*
|
|
3062
|
+
* The border style of the QR code.
|
|
3030
3063
|
*
|
|
3031
|
-
* `base`:
|
|
3032
|
-
* `none`:
|
|
3064
|
+
* - `'base'`: Applies a standard border.
|
|
3065
|
+
* - `'none'`: Removes the border.
|
|
3033
3066
|
*
|
|
3034
3067
|
* @default 'base'
|
|
3035
3068
|
*/
|
|
3036
3069
|
border?: "base" | "none";
|
|
3037
3070
|
/**
|
|
3038
|
-
* The
|
|
3039
|
-
* Specific string formatting can trigger actions on the user's device when scanned, like opening geolocation
|
|
3040
|
-
* coordinates on a map, opening a preferred app or app store entry, preparing an email, text message, and more.
|
|
3071
|
+
* The data to encode in the QR code. This can be any string, such as a URL, email address, or plain text. When scanned, specific string formats can trigger device actions like opening a link, preparing an email, or launching an app.
|
|
3041
3072
|
*/
|
|
3042
3073
|
content?: string;
|
|
3043
3074
|
/**
|
|
3044
3075
|
* The displayed size of the QR code.
|
|
3045
3076
|
*
|
|
3046
|
-
* `fill`:
|
|
3047
|
-
* `base`:
|
|
3077
|
+
* - `'fill'`: The QR code takes up 100% of the available inline size and maintains a 1:1 aspect ratio.
|
|
3078
|
+
* - `'base'`: The QR code is displayed at its default size.
|
|
3048
3079
|
*
|
|
3049
3080
|
* @default 'base'
|
|
3050
3081
|
*/
|
|
3051
3082
|
size?: "base" | "fill";
|
|
3052
3083
|
/**
|
|
3053
|
-
* A label that describes the purpose or contents of the QR code. When set,
|
|
3054
|
-
* it will be announced to users using assistive technologies and will
|
|
3055
|
-
* provide more context about what the QR code may do when scanned.
|
|
3084
|
+
* A label that describes the purpose or contents of the QR code. When set, it will be announced to users using assistive technologies.
|
|
3056
3085
|
*
|
|
3057
3086
|
* @default 'QR code' (translated to the user's locale)
|
|
3058
3087
|
*/
|
|
3059
3088
|
accessibilityLabel?: string;
|
|
3060
3089
|
/**
|
|
3061
|
-
*
|
|
3062
|
-
* If an error occurs, the QR code and its child elements will not be displayed.
|
|
3090
|
+
* A callback that's fired when the conversion of `content` to a QR code fails. If an error occurs, the QR code and its child elements will not be displayed.
|
|
3063
3091
|
*/
|
|
3064
3092
|
onError?: (event: Event) => void;
|
|
3065
3093
|
/**
|
|
3066
|
-
* URL of an image to
|
|
3067
|
-
* This is useful for branding or to indicate to the user what scanning the QR code will do.
|
|
3068
|
-
* By default, no image is displayed.
|
|
3094
|
+
* URL of an image to display in the center of the QR code, typically used for branding or to indicate what scanning the code will do.
|
|
3069
3095
|
*/
|
|
3070
3096
|
logo?: string;
|
|
3071
3097
|
}
|
|
@@ -3147,28 +3173,15 @@ interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteFi
|
|
|
3147
3173
|
}
|
|
3148
3174
|
interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, GlobalProps, ActionSlots {
|
|
3149
3175
|
/**
|
|
3150
|
-
* A label that describes the purpose of the sheet. When set,
|
|
3151
|
-
* it will be announced to users using assistive technologies and will
|
|
3152
|
-
* provide them with more context.
|
|
3153
|
-
*
|
|
3154
|
-
* This overrides the `heading` prop for screen readers.
|
|
3176
|
+
* A label that describes the purpose of the sheet, announced by assistive technologies. When set, screen readers will use this label instead of the `heading` to describe the sheet.
|
|
3155
3177
|
*/
|
|
3156
3178
|
accessibilityLabel?: string;
|
|
3157
3179
|
/**
|
|
3158
|
-
* The content of the
|
|
3180
|
+
* The content of the sheet.
|
|
3159
3181
|
*/
|
|
3160
3182
|
children?: ComponentChildren;
|
|
3161
3183
|
/**
|
|
3162
|
-
*
|
|
3163
|
-
* This property is necessary in some cases, but its usage is generally discouraged due to potential negative impacts on user experience.
|
|
3164
|
-
*
|
|
3165
|
-
* Developers should:
|
|
3166
|
-
* - Only set this property to true when there are vitally important behaviors of the application that depend on the user interacting with the sheet.
|
|
3167
|
-
* - Make every effort to conditionally hide the sheet based on the state of checkout. An explicit example is custom privacy consent, where the sheet should only be displayed when consent is necessary and has not yet been explicitly given by the user.
|
|
3168
|
-
*
|
|
3169
|
-
* This property is useful for when the Sheet needs to be rendered on the page load and not triggered by a user action.
|
|
3170
|
-
* The property should only take effect when the `Sheet` is rendered for the first time.
|
|
3171
|
-
* To toggle the Sheet after it has been rendered, use the `ui.showOverlay()` method instead.
|
|
3184
|
+
* Whether the sheet should be open when it first renders. Use sparingly — only when the user must interact with the sheet before proceeding (for example, a privacy consent prompt). Only takes effect on the initial render.
|
|
3172
3185
|
*
|
|
3173
3186
|
* @default false
|
|
3174
3187
|
*/
|
|
@@ -3180,12 +3193,8 @@ interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEvent
|
|
|
3180
3193
|
/**
|
|
3181
3194
|
* Adjust the padding of all edges.
|
|
3182
3195
|
*
|
|
3183
|
-
* `base`:
|
|
3184
|
-
*
|
|
3185
|
-
*
|
|
3186
|
-
* `none`: removes all padding from the element. This can be useful when elements inside the Sheet need to span
|
|
3187
|
-
* to the edge of the Sheet. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
3188
|
-
* to bring back the desired padding for the rest of the content.
|
|
3196
|
+
* - `base`: Applies padding that is appropriate for the element. Note that it may result in no padding if Shopify believes this is the right design decision in a particular context.
|
|
3197
|
+
* - `none`: Removes all padding from the element. This can be useful when elements inside the sheet need to span to the edge of the sheet. For example, a full-width image. In this case, rely on box with a padding of `base` to bring back the desired padding for the rest of the content.
|
|
3189
3198
|
*
|
|
3190
3199
|
* @default 'base'
|
|
3191
3200
|
*/
|
|
@@ -3398,7 +3407,7 @@ interface TimeProps$1 extends GlobalProps {
|
|
|
3398
3407
|
}
|
|
3399
3408
|
interface TooltipProps$1 extends GlobalProps {
|
|
3400
3409
|
/**
|
|
3401
|
-
* The
|
|
3410
|
+
* The text or elements displayed inside the tooltip popup.
|
|
3402
3411
|
*/
|
|
3403
3412
|
children?: ComponentChildren;
|
|
3404
3413
|
}
|
|
@@ -3411,44 +3420,68 @@ export type URLAutocompleteField = ExtractStrict<AnyAutocompleteField, "url" | "
|
|
|
3411
3420
|
|
|
3412
3421
|
|
|
3413
3422
|
|
|
3423
|
+
/** @publicDocs */
|
|
3414
3424
|
type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3425
|
+
/** @publicDocs */
|
|
3415
3426
|
type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
3427
|
+
/** @publicDocs */
|
|
3416
3428
|
type ReducedJustifyContentKeyword = Extract<JustifyContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3429
|
+
/** @publicDocs */
|
|
3417
3430
|
type ReducedJustifyItemsKeyword = Extract<JustifyItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
3431
|
+
/** @publicDocs */
|
|
3418
3432
|
type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
3433
|
+
/** @publicDocs */
|
|
3419
3434
|
type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
3435
|
+
/** @publicDocs */
|
|
3420
3436
|
type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
3421
3437
|
/**
|
|
3422
|
-
*
|
|
3438
|
+
* The base properties for elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
3423
3439
|
*/
|
|
3424
3440
|
interface BaseElementProps<TClass = HTMLElement> {
|
|
3441
|
+
/**
|
|
3442
|
+
* A unique identifier for this element within its parent. Used by the rendering engine for efficient reconciliation when lists change.
|
|
3443
|
+
*/
|
|
3425
3444
|
key?: preact.Key;
|
|
3445
|
+
/**
|
|
3446
|
+
* A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
|
|
3447
|
+
*/
|
|
3426
3448
|
ref?: preact.Ref<TClass>;
|
|
3449
|
+
/**
|
|
3450
|
+
* Assigns this element to a named slot in a parent component that uses slot-based composition patterns.
|
|
3451
|
+
*/
|
|
3427
3452
|
slot?: Lowercase<string>;
|
|
3428
3453
|
}
|
|
3429
3454
|
/**
|
|
3430
|
-
*
|
|
3455
|
+
* The base properties for elements that have children, extending `BaseElementProps` with children support.
|
|
3431
3456
|
*/
|
|
3432
3457
|
interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
3458
|
+
/**
|
|
3459
|
+
* The child elements to render within this component.
|
|
3460
|
+
*/
|
|
3433
3461
|
children?: preact.ComponentChildren;
|
|
3434
3462
|
}
|
|
3435
3463
|
/**
|
|
3436
|
-
*
|
|
3464
|
+
* The complete list of [icon names](https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10) available in checkout and customer account surfaces. These icons are drawn from Shopify's design system and cover common UI patterns like navigation, status indicators, actions, and commerce concepts.
|
|
3437
3465
|
*
|
|
3438
3466
|
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
3439
3467
|
*/
|
|
3440
|
-
declare const CHECKOUT_AVAILABLE_ICONS: readonly ["alert-circle", "alert-triangle-filled", "alert-triangle", "arrow-down", "arrow-left", "arrow-right", "arrow-up-right", "arrow-up", "bag", "bullet", "calendar", "camera", "caret-down", "cart", "cash-dollar", "categories", "check-circle", "check-circle-filled", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clipboard", "clock", "credit-card", "delete", "delivered", "delivery", "disabled", "discount", "edit", "email", "empty", "external", "filter", "geolocation", "gift-card", "globe", "grid", "image", "info-filled", "info", "list-bulleted", "location", "lock", "map", "menu-horizontal", "menu-vertical", "menu", "minus", "mobile", "note", "order", "organization", "plus", "profile", "question-circle-filled", "question-circle", "reorder", "reset", "return", "savings", "search", "settings", "star-filled", "star-half", "star", "store", "truck", "upload", "x-circle-filled", "x-circle", "x"];
|
|
3468
|
+
declare const CHECKOUT_AVAILABLE_ICONS: readonly ["alert-circle", "alert-triangle-filled", "alert-triangle", "arrow-down", "arrow-left", "arrow-right", "arrow-up-right", "arrow-up", "bag", "bullet", "calendar", "camera", "caret-down", "cart", "cash-dollar", "categories", "check-circle", "check-circle-filled", "check", "chevron-down", "chevron-left", "chevron-right", "chevron-up", "circle", "clipboard", "clock", "credit-card", "delete", "delivered", "delivery", "disabled", "discount", "edit", "email", "empty", "external", "filter", "geolocation", "gift", "gift-card", "globe", "grid", "image", "info-filled", "info", "list-bulleted", "location", "lock", "map", "menu-horizontal", "menu-vertical", "menu", "minus", "mobile", "note", "order", "organization", "plus", "profile", "question-circle-filled", "question-circle", "reorder", "reset", "return", "savings", "search", "settings", "star-filled", "star-half", "star", "store", "truck", "upload", "x-circle-filled", "x-circle", "x"];
|
|
3469
|
+
/** @publicDocs */
|
|
3441
3470
|
type ReducedIconTypes = (typeof CHECKOUT_AVAILABLE_ICONS)[number];
|
|
3442
3471
|
|
|
3443
3472
|
declare const tagName$Z = "s-abbreviation";
|
|
3473
|
+
/** @publicDocs */
|
|
3444
3474
|
interface AbbreviationElementProps extends Pick<AbbreviationProps$1, 'title' | 'id'> {
|
|
3445
3475
|
}
|
|
3476
|
+
/** @publicDocs */
|
|
3446
3477
|
interface AbbreviationElement extends AbbreviationElementProps, Omit<HTMLElement, 'id' | 'title'> {
|
|
3447
3478
|
}
|
|
3479
|
+
/** @publicDocs */
|
|
3448
3480
|
interface AbbreviationProps extends AbbreviationElementProps {
|
|
3449
3481
|
}
|
|
3450
3482
|
declare global {
|
|
3451
3483
|
interface HTMLElementTagNameMap {
|
|
3484
|
+
[tagName$Z]: AbbreviationElement;
|
|
3452
3485
|
}
|
|
3453
3486
|
}
|
|
3454
3487
|
declare module 'preact' {
|
|
@@ -3460,15 +3493,19 @@ declare module 'preact' {
|
|
|
3460
3493
|
}
|
|
3461
3494
|
|
|
3462
3495
|
declare const tagName$Y = "s-announcement";
|
|
3496
|
+
/** @publicDocs */
|
|
3463
3497
|
interface AnnouncementEvents extends Pick<AnnouncementProps$1, 'onAfterToggle' | 'onDismiss' | 'onToggle'> {
|
|
3464
3498
|
}
|
|
3499
|
+
/** @publicDocs */
|
|
3465
3500
|
interface AnnouncementElement extends AnnouncementMethods, Omit<HTMLElement, 'id' | 'ontoggle'> {
|
|
3466
3501
|
onaftertoggle?: AnnouncementEvents['onAfterToggle'];
|
|
3467
3502
|
ondismiss?: AnnouncementEvents['onDismiss'];
|
|
3468
3503
|
ontoggle?: AnnouncementEvents['onToggle'];
|
|
3469
3504
|
}
|
|
3505
|
+
/** @publicDocs */
|
|
3470
3506
|
interface AnnouncementProps extends AnnouncementEvents {
|
|
3471
3507
|
}
|
|
3508
|
+
/** @publicDocs */
|
|
3472
3509
|
interface AnnouncementMethods {
|
|
3473
3510
|
dismiss: () => void;
|
|
3474
3511
|
}
|
|
@@ -3486,14 +3523,17 @@ declare module 'preact' {
|
|
|
3486
3523
|
}
|
|
3487
3524
|
|
|
3488
3525
|
declare const tagName$X = "s-badge";
|
|
3526
|
+
/** @publicDocs */
|
|
3489
3527
|
interface BadgeElementProps extends Pick<BadgeProps$1, 'color' | 'icon' | 'iconPosition' | 'id' | 'size' | 'tone'> {
|
|
3490
3528
|
size?: Extract<BadgeProps$1['size'], 'small' | 'small-100' | 'base'>;
|
|
3491
3529
|
tone?: Extract<BadgeProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3492
3530
|
color?: Extract<BadgeProps$1['color'], 'base' | 'subdued'>;
|
|
3493
3531
|
icon?: '' | ReducedIconTypes;
|
|
3494
3532
|
}
|
|
3533
|
+
/** @publicDocs */
|
|
3495
3534
|
interface BadgeElement extends BadgeElementProps, Omit<HTMLElement, 'id'> {
|
|
3496
3535
|
}
|
|
3536
|
+
/** @publicDocs */
|
|
3497
3537
|
interface BadgeProps extends BadgeElementProps {
|
|
3498
3538
|
}
|
|
3499
3539
|
declare global {
|
|
@@ -3510,19 +3550,24 @@ declare module 'preact' {
|
|
|
3510
3550
|
}
|
|
3511
3551
|
|
|
3512
3552
|
declare const tagName$W = "s-banner";
|
|
3553
|
+
/** @publicDocs */
|
|
3513
3554
|
interface BannerElementProps extends Pick<BannerProps$1, 'collapsible' | 'dismissible' | 'heading' | 'hidden' | 'id' | 'tone'> {
|
|
3514
3555
|
tone?: Extract<BannerProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical'>;
|
|
3515
3556
|
}
|
|
3557
|
+
/** @publicDocs */
|
|
3516
3558
|
interface BannerEvents extends Pick<BannerProps$1, 'onAfterHide' | 'onDismiss'> {
|
|
3517
3559
|
}
|
|
3560
|
+
/** @publicDocs */
|
|
3518
3561
|
interface BannerElement extends BannerElementProps, Omit<HTMLElement, 'id' | 'title' | 'hidden'> {
|
|
3519
3562
|
onafterhide: BannerEvents['onAfterHide'];
|
|
3520
3563
|
ondismiss: BannerEvents['onDismiss'];
|
|
3521
3564
|
}
|
|
3565
|
+
/** @publicDocs */
|
|
3522
3566
|
interface BannerProps extends BannerElementProps, BannerEvents {
|
|
3523
3567
|
}
|
|
3524
3568
|
declare global {
|
|
3525
3569
|
interface HTMLElementTagNameMap {
|
|
3570
|
+
[tagName$W]: BannerElement;
|
|
3526
3571
|
}
|
|
3527
3572
|
}
|
|
3528
3573
|
declare module 'preact' {
|
|
@@ -3534,18 +3579,22 @@ declare module 'preact' {
|
|
|
3534
3579
|
}
|
|
3535
3580
|
|
|
3536
3581
|
declare const tagName$V = "s-box";
|
|
3582
|
+
/** @publicDocs */
|
|
3537
3583
|
interface BoxElementProps extends Pick<BoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
3538
3584
|
background?: Extract<BoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3539
3585
|
border?: BorderShorthand;
|
|
3540
3586
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3541
3587
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<BoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3542
3588
|
}
|
|
3589
|
+
/** @publicDocs */
|
|
3543
3590
|
interface BoxElement extends BoxElementProps, Omit<HTMLElement, 'id'> {
|
|
3544
3591
|
}
|
|
3592
|
+
/** @publicDocs */
|
|
3545
3593
|
interface BoxProps extends BoxElementProps {
|
|
3546
3594
|
}
|
|
3547
3595
|
declare global {
|
|
3548
3596
|
interface HTMLElementTagNameMap {
|
|
3597
|
+
[tagName$V]: BoxElement;
|
|
3549
3598
|
}
|
|
3550
3599
|
}
|
|
3551
3600
|
declare module 'preact' {
|
|
@@ -3557,21 +3606,26 @@ declare module 'preact' {
|
|
|
3557
3606
|
}
|
|
3558
3607
|
|
|
3559
3608
|
declare const tagName$U = "s-button";
|
|
3609
|
+
/** @publicDocs */
|
|
3560
3610
|
interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
|
|
3561
3611
|
target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
|
|
3562
3612
|
tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3563
3613
|
type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
|
|
3564
3614
|
variant?: Extract<ButtonProps$1['variant'], 'auto' | 'primary' | 'secondary'>;
|
|
3565
3615
|
}
|
|
3616
|
+
/** @publicDocs */
|
|
3566
3617
|
interface ButtonEvents extends Pick<ButtonProps$1, 'onClick'> {
|
|
3567
3618
|
}
|
|
3619
|
+
/** @publicDocs */
|
|
3568
3620
|
interface ButtonElement extends ButtonElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
3569
3621
|
onclick: ButtonEvents['onClick'];
|
|
3570
3622
|
}
|
|
3623
|
+
/** @publicDocs */
|
|
3571
3624
|
interface ButtonProps extends ButtonElementProps, ButtonEvents {
|
|
3572
3625
|
}
|
|
3573
3626
|
declare global {
|
|
3574
3627
|
interface HTMLElementTagNameMap {
|
|
3628
|
+
[tagName$U]: ButtonElement;
|
|
3575
3629
|
}
|
|
3576
3630
|
}
|
|
3577
3631
|
declare module 'preact' {
|
|
@@ -3583,14 +3637,18 @@ declare module 'preact' {
|
|
|
3583
3637
|
}
|
|
3584
3638
|
|
|
3585
3639
|
declare const tagName$T = "s-checkbox";
|
|
3640
|
+
/** @publicDocs */
|
|
3586
3641
|
interface CheckboxElementProps extends Pick<CheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'required' | 'value'> {
|
|
3587
3642
|
command?: Extract<CheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3588
3643
|
}
|
|
3644
|
+
/** @publicDocs */
|
|
3589
3645
|
interface CheckboxEvents extends Pick<CheckboxProps$1, 'onChange'> {
|
|
3590
3646
|
}
|
|
3647
|
+
/** @publicDocs */
|
|
3591
3648
|
interface CheckboxElement extends CheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3592
3649
|
onchange: CheckboxEvents['onChange'];
|
|
3593
3650
|
}
|
|
3651
|
+
/** @publicDocs */
|
|
3594
3652
|
interface CheckboxProps extends CheckboxElementProps, CheckboxEvents {
|
|
3595
3653
|
}
|
|
3596
3654
|
declare global {
|
|
@@ -3607,10 +3665,13 @@ declare module 'preact' {
|
|
|
3607
3665
|
}
|
|
3608
3666
|
|
|
3609
3667
|
declare const tagName$S = "s-chip";
|
|
3668
|
+
/** @publicDocs */
|
|
3610
3669
|
interface ChipElementProps extends Pick<ChipProps$1, 'accessibilityLabel' | 'id'> {
|
|
3611
3670
|
}
|
|
3671
|
+
/** @publicDocs */
|
|
3612
3672
|
interface ChipProps extends ChipElementProps {
|
|
3613
3673
|
}
|
|
3674
|
+
/** @publicDocs */
|
|
3614
3675
|
interface ChipElement extends ChipProps, Omit<HTMLElement, 'id'> {
|
|
3615
3676
|
}
|
|
3616
3677
|
declare global {
|
|
@@ -3627,10 +3688,13 @@ declare module 'preact' {
|
|
|
3627
3688
|
}
|
|
3628
3689
|
|
|
3629
3690
|
declare const tagName$R = "s-choice";
|
|
3691
|
+
/** @publicDocs */
|
|
3630
3692
|
interface ChoiceElementProps extends Pick<ChoiceProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'error' | 'value'> {
|
|
3631
3693
|
}
|
|
3694
|
+
/** @publicDocs */
|
|
3632
3695
|
interface ChoiceElement extends ChoiceElementProps, Omit<HTMLElement, 'id'> {
|
|
3633
3696
|
}
|
|
3697
|
+
/** @publicDocs */
|
|
3634
3698
|
interface ChoiceProps extends ChoiceElementProps {
|
|
3635
3699
|
}
|
|
3636
3700
|
declare global {
|
|
@@ -3647,13 +3711,17 @@ declare module 'preact' {
|
|
|
3647
3711
|
}
|
|
3648
3712
|
|
|
3649
3713
|
declare const tagName$Q = "s-choice-list";
|
|
3714
|
+
/** @publicDocs */
|
|
3650
3715
|
interface ChoiceListElementProps extends Pick<ChoiceListProps$1, 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'multiple' | 'name' | 'values' | 'variant'> {
|
|
3651
3716
|
}
|
|
3717
|
+
/** @publicDocs */
|
|
3652
3718
|
interface ChoiceListEvents extends Pick<ChoiceListProps$1, 'onChange'> {
|
|
3653
3719
|
}
|
|
3720
|
+
/** @publicDocs */
|
|
3654
3721
|
interface ChoiceListElement extends ChoiceListElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3655
3722
|
onchange: ChoiceListEvents['onChange'];
|
|
3656
3723
|
}
|
|
3724
|
+
/** @publicDocs */
|
|
3657
3725
|
interface ChoiceListProps extends ChoiceListElementProps, ChoiceListEvents {
|
|
3658
3726
|
}
|
|
3659
3727
|
declare global {
|
|
@@ -3670,6 +3738,7 @@ declare module 'preact' {
|
|
|
3670
3738
|
}
|
|
3671
3739
|
|
|
3672
3740
|
declare const tagName$P = "s-clickable";
|
|
3741
|
+
/** @publicDocs */
|
|
3673
3742
|
interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
|
|
3674
3743
|
background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3675
3744
|
border?: BorderShorthand;
|
|
@@ -3678,17 +3747,21 @@ interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLab
|
|
|
3678
3747
|
target?: Extract<ClickableProps$1['target'], 'auto' | '_blank'>;
|
|
3679
3748
|
type?: Extract<ClickableProps$1['type'], 'submit' | 'button'>;
|
|
3680
3749
|
}
|
|
3750
|
+
/** @publicDocs */
|
|
3681
3751
|
interface ClickableEvents extends Pick<ClickableProps$1, 'onBlur' | 'onClick' | 'onFocus'> {
|
|
3682
3752
|
}
|
|
3753
|
+
/** @publicDocs */
|
|
3683
3754
|
interface ClickableElement extends ClickableElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
3684
3755
|
onblur: ClickableEvents['onBlur'];
|
|
3685
3756
|
onclick: ClickableEvents['onClick'];
|
|
3686
3757
|
onfocus: ClickableEvents['onFocus'];
|
|
3687
3758
|
}
|
|
3759
|
+
/** @publicDocs */
|
|
3688
3760
|
interface ClickableProps extends ClickableElementProps, ClickableEvents {
|
|
3689
3761
|
}
|
|
3690
3762
|
declare global {
|
|
3691
3763
|
interface HTMLElementTagNameMap {
|
|
3764
|
+
[tagName$P]: ClickableElement;
|
|
3692
3765
|
}
|
|
3693
3766
|
}
|
|
3694
3767
|
declare module 'preact' {
|
|
@@ -3700,15 +3773,19 @@ declare module 'preact' {
|
|
|
3700
3773
|
}
|
|
3701
3774
|
|
|
3702
3775
|
declare const tagName$O = "s-clickable-chip";
|
|
3776
|
+
/** @publicDocs */
|
|
3703
3777
|
interface ClickableChipElementProps extends Pick<ClickableChipProps$1, 'accessibilityLabel' | 'disabled' | 'hidden' | 'href' | 'id' | 'removable'> {
|
|
3704
3778
|
}
|
|
3779
|
+
/** @publicDocs */
|
|
3705
3780
|
interface ClickableChipEvents extends Pick<ClickableChipProps$1, 'onAfterHide' | 'onClick' | 'onRemove'> {
|
|
3706
3781
|
}
|
|
3782
|
+
/** @publicDocs */
|
|
3707
3783
|
interface ClickableChipElement extends ClickableChipElementProps, Omit<HTMLElement, 'id' | 'hidden' | 'onclick'> {
|
|
3708
3784
|
onafterhide: ClickableChipEvents['onAfterHide'];
|
|
3709
3785
|
onclick: ClickableChipEvents['onClick'];
|
|
3710
3786
|
onremove: ClickableChipEvents['onRemove'];
|
|
3711
3787
|
}
|
|
3788
|
+
/** @publicDocs */
|
|
3712
3789
|
interface ClickableChipProps extends ClickableChipElementProps, ClickableChipEvents {
|
|
3713
3790
|
}
|
|
3714
3791
|
declare global {
|
|
@@ -3725,18 +3802,23 @@ declare module 'preact' {
|
|
|
3725
3802
|
}
|
|
3726
3803
|
|
|
3727
3804
|
declare const tagName$N = "s-clipboard-item";
|
|
3805
|
+
/** @publicDocs */
|
|
3728
3806
|
interface ClipboardItemElementProps extends Pick<ClipboardItemProps$1, 'id' | 'text'> {
|
|
3729
3807
|
}
|
|
3808
|
+
/** @publicDocs */
|
|
3730
3809
|
interface ClipboardItemEvents extends Pick<ClipboardItemProps$1, 'onCopy' | 'onCopyError'> {
|
|
3731
3810
|
}
|
|
3811
|
+
/** @publicDocs */
|
|
3732
3812
|
interface ClipboardItemElement extends ClipboardItemElementProps, Omit<HTMLElement, 'id' | 'oncopy'> {
|
|
3733
3813
|
oncopy: ClipboardItemEvents['onCopy'];
|
|
3734
3814
|
oncopyerror: ClipboardItemEvents['onCopyError'];
|
|
3735
3815
|
}
|
|
3816
|
+
/** @publicDocs */
|
|
3736
3817
|
interface ClipboardItemProps extends ClipboardItemElementProps, ClipboardItemEvents {
|
|
3737
3818
|
}
|
|
3738
3819
|
declare global {
|
|
3739
3820
|
interface HTMLElementTagNameMap {
|
|
3821
|
+
[tagName$N]: ClipboardItemElement;
|
|
3740
3822
|
}
|
|
3741
3823
|
}
|
|
3742
3824
|
declare module 'preact' {
|
|
@@ -3748,14 +3830,18 @@ declare module 'preact' {
|
|
|
3748
3830
|
}
|
|
3749
3831
|
|
|
3750
3832
|
declare const tagName$M = "s-consent-checkbox";
|
|
3833
|
+
/** @publicDocs */
|
|
3751
3834
|
interface ConsentCheckboxElementProps extends Pick<ConsentCheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'policy' | 'value'> {
|
|
3752
3835
|
command?: Extract<ConsentCheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3753
3836
|
}
|
|
3837
|
+
/** @publicDocs */
|
|
3754
3838
|
interface ConsentCheckboxEvents extends Pick<CheckboxEvents, 'onChange'> {
|
|
3755
3839
|
}
|
|
3840
|
+
/** @publicDocs */
|
|
3756
3841
|
interface ConsentCheckboxElement extends ConsentCheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3757
3842
|
onchange: ConsentCheckboxEvents['onChange'];
|
|
3758
3843
|
}
|
|
3844
|
+
/** @publicDocs */
|
|
3759
3845
|
interface ConsentCheckboxProps extends ConsentCheckboxElementProps, ConsentCheckboxEvents {
|
|
3760
3846
|
}
|
|
3761
3847
|
declare global {
|
|
@@ -3772,6 +3858,7 @@ declare module 'preact' {
|
|
|
3772
3858
|
}
|
|
3773
3859
|
|
|
3774
3860
|
declare const tagName$L = "s-phone-field";
|
|
3861
|
+
/** @publicDocs */
|
|
3775
3862
|
interface PhoneFieldElementProps extends Pick<PhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value' | 'type'> {
|
|
3776
3863
|
/**
|
|
3777
3864
|
* @deprecated Use `label` instead.
|
|
@@ -3779,14 +3866,17 @@ interface PhoneFieldElementProps extends Pick<PhoneFieldProps$1, 'autocomplete'
|
|
|
3779
3866
|
*/
|
|
3780
3867
|
placeholder?: string;
|
|
3781
3868
|
}
|
|
3869
|
+
/** @publicDocs */
|
|
3782
3870
|
interface PhoneFieldEvents extends Pick<PhoneFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3783
3871
|
}
|
|
3872
|
+
/** @publicDocs */
|
|
3784
3873
|
interface PhoneFieldElement extends PhoneFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3785
3874
|
onblur: PhoneFieldEvents['onBlur'];
|
|
3786
3875
|
onchange: PhoneFieldEvents['onChange'];
|
|
3787
3876
|
onfocus: PhoneFieldEvents['onFocus'];
|
|
3788
3877
|
oninput: PhoneFieldEvents['onInput'];
|
|
3789
3878
|
}
|
|
3879
|
+
/** @publicDocs */
|
|
3790
3880
|
interface PhoneFieldProps extends PhoneFieldElementProps, PhoneFieldEvents {
|
|
3791
3881
|
}
|
|
3792
3882
|
declare global {
|
|
@@ -3803,6 +3893,7 @@ declare module 'preact' {
|
|
|
3803
3893
|
}
|
|
3804
3894
|
|
|
3805
3895
|
declare const tagName$K = "s-consent-phone-field";
|
|
3896
|
+
/** @publicDocs */
|
|
3806
3897
|
interface ConsentPhoneFieldElementProps extends Pick<ConsentPhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'policy' | 'readOnly' | 'required' | 'type' | 'value'> {
|
|
3807
3898
|
/**
|
|
3808
3899
|
* @deprecated Use `label` instead.
|
|
@@ -3810,14 +3901,17 @@ interface ConsentPhoneFieldElementProps extends Pick<ConsentPhoneFieldProps$1, '
|
|
|
3810
3901
|
*/
|
|
3811
3902
|
placeholder?: string;
|
|
3812
3903
|
}
|
|
3904
|
+
/** @publicDocs */
|
|
3813
3905
|
interface ConsentPhoneFieldEvents extends Pick<PhoneFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3814
3906
|
}
|
|
3907
|
+
/** @publicDocs */
|
|
3815
3908
|
interface ConsentPhoneFieldElement extends ConsentPhoneFieldElementProps, Omit<ConsentPhoneFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3816
3909
|
onblur: ConsentPhoneFieldEvents['onBlur'];
|
|
3817
3910
|
onchange: ConsentPhoneFieldEvents['onChange'];
|
|
3818
3911
|
onfocus: ConsentPhoneFieldEvents['onFocus'];
|
|
3819
3912
|
oninput: ConsentPhoneFieldEvents['onInput'];
|
|
3820
3913
|
}
|
|
3914
|
+
/** @publicDocs */
|
|
3821
3915
|
interface ConsentPhoneFieldProps extends ConsentPhoneFieldElementProps, ConsentPhoneFieldEvents {
|
|
3822
3916
|
}
|
|
3823
3917
|
declare global {
|
|
@@ -3834,6 +3928,7 @@ declare module 'preact' {
|
|
|
3834
3928
|
}
|
|
3835
3929
|
|
|
3836
3930
|
declare const tagName$J = "s-date-field";
|
|
3931
|
+
/** @publicDocs */
|
|
3837
3932
|
interface DateFieldElementProps extends Pick<DateFieldProps$1, 'allow' | 'allowDays' | 'autocomplete' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'error' | 'id' | 'label' | 'name' | 'readOnly' | 'required' | 'value' | 'view'> {
|
|
3838
3933
|
/**
|
|
3839
3934
|
* @deprecated Use `label` instead.
|
|
@@ -3841,8 +3936,10 @@ interface DateFieldElementProps extends Pick<DateFieldProps$1, 'allow' | 'allowD
|
|
|
3841
3936
|
*/
|
|
3842
3937
|
placeholder?: string;
|
|
3843
3938
|
}
|
|
3939
|
+
/** @publicDocs */
|
|
3844
3940
|
interface DateFieldEvents extends Pick<DateFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'> {
|
|
3845
3941
|
}
|
|
3942
|
+
/** @publicDocs */
|
|
3846
3943
|
interface DateFieldElement extends DateFieldElementProps, Omit<DateFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'oninvalid' | 'prefix'> {
|
|
3847
3944
|
onblur: DateFieldEvents['onBlur'];
|
|
3848
3945
|
onchange: DateFieldEvents['onChange'];
|
|
@@ -3851,6 +3948,7 @@ interface DateFieldElement extends DateFieldElementProps, Omit<DateFieldEvents,
|
|
|
3851
3948
|
oninvalid: DateFieldEvents['onInvalid'];
|
|
3852
3949
|
onviewchange: DateFieldEvents['onViewChange'];
|
|
3853
3950
|
}
|
|
3951
|
+
/** @publicDocs */
|
|
3854
3952
|
interface DateFieldProps extends DateFieldElementProps, DateFieldEvents {
|
|
3855
3953
|
}
|
|
3856
3954
|
declare global {
|
|
@@ -3867,10 +3965,13 @@ declare module 'preact' {
|
|
|
3867
3965
|
}
|
|
3868
3966
|
|
|
3869
3967
|
declare const tagName$I = "s-date-picker";
|
|
3968
|
+
/** @publicDocs */
|
|
3870
3969
|
interface DatePickerElementProps extends Pick<DatePickerProps$1, 'allow' | 'allowDays' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'id' | 'name' | 'type' | 'value' | 'view'> {
|
|
3871
3970
|
}
|
|
3971
|
+
/** @publicDocs */
|
|
3872
3972
|
interface DatePickerEvents extends Pick<DatePickerProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'> {
|
|
3873
3973
|
}
|
|
3974
|
+
/** @publicDocs */
|
|
3874
3975
|
interface DatePickerElement extends DatePickerElementProps, Omit<DatePickerEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
3875
3976
|
onblur: DatePickerEvents['onBlur'];
|
|
3876
3977
|
onchange: DatePickerEvents['onChange'];
|
|
@@ -3878,6 +3979,7 @@ interface DatePickerElement extends DatePickerElementProps, Omit<DatePickerEvent
|
|
|
3878
3979
|
oninput: DatePickerEvents['onInput'];
|
|
3879
3980
|
onviewchange: DatePickerEvents['onViewChange'];
|
|
3880
3981
|
}
|
|
3982
|
+
/** @publicDocs */
|
|
3881
3983
|
interface DatePickerProps extends DatePickerElementProps, DatePickerEvents {
|
|
3882
3984
|
}
|
|
3883
3985
|
declare global {
|
|
@@ -3894,14 +3996,18 @@ declare module 'preact' {
|
|
|
3894
3996
|
}
|
|
3895
3997
|
|
|
3896
3998
|
declare const tagName$H = "s-details";
|
|
3999
|
+
/** @publicDocs */
|
|
3897
4000
|
interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'id' | 'open' | 'toggleTransition'> {
|
|
3898
4001
|
}
|
|
4002
|
+
/** @publicDocs */
|
|
3899
4003
|
interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle' | 'onAfterToggle'> {
|
|
3900
4004
|
}
|
|
4005
|
+
/** @publicDocs */
|
|
3901
4006
|
interface DetailsElement extends Omit<HTMLElement, 'ontoggle' | 'id'> {
|
|
3902
4007
|
ontoggle: DetailsEvents['onToggle'];
|
|
3903
4008
|
onaftertoggle: DetailsEvents['onAfterToggle'];
|
|
3904
4009
|
}
|
|
4010
|
+
/** @publicDocs */
|
|
3905
4011
|
interface DetailsProps extends DetailsElementProps, DetailsEvents {
|
|
3906
4012
|
}
|
|
3907
4013
|
declare global {
|
|
@@ -3918,10 +4024,13 @@ declare module 'preact' {
|
|
|
3918
4024
|
}
|
|
3919
4025
|
|
|
3920
4026
|
declare const tagName$G = "s-divider";
|
|
4027
|
+
/** @publicDocs */
|
|
3921
4028
|
interface DividerElementProps extends Pick<DividerProps$1, 'direction' | 'id'> {
|
|
3922
4029
|
}
|
|
4030
|
+
/** @publicDocs */
|
|
3923
4031
|
interface DividerElement extends DividerElementProps, Omit<HTMLElement, 'id'> {
|
|
3924
4032
|
}
|
|
4033
|
+
/** @publicDocs */
|
|
3925
4034
|
interface DividerProps extends DividerElementProps {
|
|
3926
4035
|
}
|
|
3927
4036
|
declare global {
|
|
@@ -3938,19 +4047,24 @@ declare module 'preact' {
|
|
|
3938
4047
|
}
|
|
3939
4048
|
|
|
3940
4049
|
declare const tagName$F = "s-drop-zone";
|
|
4050
|
+
/** @publicDocs */
|
|
3941
4051
|
interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required' | 'value'> {
|
|
3942
4052
|
}
|
|
4053
|
+
/** @publicDocs */
|
|
3943
4054
|
interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput' | 'onChange'> {
|
|
3944
4055
|
}
|
|
4056
|
+
/** @publicDocs */
|
|
3945
4057
|
interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput' | 'onchange'> {
|
|
3946
4058
|
ondroprejected: DropZoneEvents['onDropRejected'];
|
|
3947
4059
|
oninput: DropZoneEvents['onInput'];
|
|
3948
4060
|
onchange: DropZoneEvents['onChange'];
|
|
3949
4061
|
}
|
|
4062
|
+
/** @publicDocs */
|
|
3950
4063
|
interface DropZoneProps extends DropZoneElementProps, DropZoneEvents {
|
|
3951
4064
|
}
|
|
3952
4065
|
declare global {
|
|
3953
4066
|
interface HTMLElementTagNameMap {
|
|
4067
|
+
[tagName$F]: DropZoneElement;
|
|
3954
4068
|
}
|
|
3955
4069
|
}
|
|
3956
4070
|
declare module 'preact' {
|
|
@@ -3962,6 +4076,7 @@ declare module 'preact' {
|
|
|
3962
4076
|
}
|
|
3963
4077
|
|
|
3964
4078
|
declare const tagName$E = "s-email-field";
|
|
4079
|
+
/** @publicDocs */
|
|
3965
4080
|
interface EmailFieldElementProps extends Pick<EmailFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'maxLength' | 'minLength' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
3966
4081
|
/**
|
|
3967
4082
|
* @deprecated Use `label` instead.
|
|
@@ -3969,14 +4084,17 @@ interface EmailFieldElementProps extends Pick<EmailFieldProps$1, 'autocomplete'
|
|
|
3969
4084
|
*/
|
|
3970
4085
|
placeholder?: string;
|
|
3971
4086
|
}
|
|
4087
|
+
/** @publicDocs */
|
|
3972
4088
|
interface EmailFieldEvents extends Pick<EmailFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3973
4089
|
}
|
|
4090
|
+
/** @publicDocs */
|
|
3974
4091
|
interface EmailFieldElement extends EmailFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3975
4092
|
onblur: EmailFieldEvents['onBlur'];
|
|
3976
4093
|
onchange: EmailFieldEvents['onChange'];
|
|
3977
4094
|
onfocus: EmailFieldEvents['onFocus'];
|
|
3978
4095
|
oninput: EmailFieldEvents['onInput'];
|
|
3979
4096
|
}
|
|
4097
|
+
/** @publicDocs */
|
|
3980
4098
|
interface EmailFieldProps extends EmailFieldElementProps, EmailFieldEvents {
|
|
3981
4099
|
}
|
|
3982
4100
|
declare global {
|
|
@@ -3993,21 +4111,26 @@ declare module 'preact' {
|
|
|
3993
4111
|
}
|
|
3994
4112
|
|
|
3995
4113
|
declare const tagName$D = "s-form";
|
|
4114
|
+
/** @publicDocs */
|
|
3996
4115
|
interface FormElementProps extends Pick<FormProps$1, 'disabled' | 'id'> {
|
|
3997
4116
|
}
|
|
4117
|
+
/** @publicDocs */
|
|
3998
4118
|
interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
3999
4119
|
/**
|
|
4000
4120
|
* A callback that is run when the form is submitted.
|
|
4001
4121
|
*/
|
|
4002
4122
|
onSubmit?: () => void;
|
|
4003
4123
|
}
|
|
4124
|
+
/** @publicDocs */
|
|
4004
4125
|
interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
4005
4126
|
onsubmit: FormEvents['onSubmit'];
|
|
4006
4127
|
}
|
|
4128
|
+
/** @publicDocs */
|
|
4007
4129
|
interface FormProps extends FormElementProps, FormEvents {
|
|
4008
4130
|
}
|
|
4009
4131
|
declare global {
|
|
4010
4132
|
interface HTMLElementTagNameMap {
|
|
4133
|
+
[tagName$D]: FormElement;
|
|
4011
4134
|
}
|
|
4012
4135
|
}
|
|
4013
4136
|
declare module 'preact' {
|
|
@@ -4019,6 +4142,7 @@ declare module 'preact' {
|
|
|
4019
4142
|
}
|
|
4020
4143
|
|
|
4021
4144
|
declare const tagName$C = "s-grid-item";
|
|
4145
|
+
/** @publicDocs */
|
|
4022
4146
|
interface GridItemElementProps extends Pick<GridItemProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'gridColumn' | 'gridRow' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
4023
4147
|
background?: Extract<GridItemProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4024
4148
|
border?: BorderShorthand;
|
|
@@ -4026,8 +4150,10 @@ interface GridItemElementProps extends Pick<GridItemProps$1, 'accessibilityLabel
|
|
|
4026
4150
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4027
4151
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridItemProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4028
4152
|
}
|
|
4153
|
+
/** @publicDocs */
|
|
4029
4154
|
interface GridItemElement extends GridItemElementProps, Omit<HTMLElement, 'id'> {
|
|
4030
4155
|
}
|
|
4156
|
+
/** @publicDocs */
|
|
4031
4157
|
interface GridItemProps extends GridItemElementProps {
|
|
4032
4158
|
}
|
|
4033
4159
|
declare global {
|
|
@@ -4044,6 +4170,7 @@ declare module 'preact' {
|
|
|
4044
4170
|
}
|
|
4045
4171
|
|
|
4046
4172
|
declare const tagName$B = "s-grid";
|
|
4173
|
+
/** @publicDocs */
|
|
4047
4174
|
interface GridElementProps extends Pick<GridProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'display' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows' | 'id' | 'inlineSize' | 'justifyContent' | 'justifyItems' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'placeContent' | 'placeItems' | 'rowGap'> {
|
|
4048
4175
|
alignContent?: MaybeResponsive<ReducedAlignContentKeyword | ''>;
|
|
4049
4176
|
alignItems?: MaybeResponsive<ReducedAlignItemsKeyword | ''>;
|
|
@@ -4057,8 +4184,10 @@ interface GridElementProps extends Pick<GridProps$1, 'accessibilityLabel' | 'acc
|
|
|
4057
4184
|
placeContent?: MaybeResponsive<`${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword>;
|
|
4058
4185
|
placeItems?: MaybeResponsive<`${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword>;
|
|
4059
4186
|
}
|
|
4187
|
+
/** @publicDocs */
|
|
4060
4188
|
interface GridElement extends GridElementProps, Omit<HTMLElement, 'id'> {
|
|
4061
4189
|
}
|
|
4190
|
+
/** @publicDocs */
|
|
4062
4191
|
interface GridProps extends GridElementProps {
|
|
4063
4192
|
}
|
|
4064
4193
|
declare global {
|
|
@@ -4075,14 +4204,18 @@ declare module 'preact' {
|
|
|
4075
4204
|
}
|
|
4076
4205
|
|
|
4077
4206
|
declare const tagName$A = "s-heading";
|
|
4207
|
+
/** @publicDocs */
|
|
4078
4208
|
interface HeadingElementProps extends Pick<HeadingProps$1, 'accessibilityRole' | 'id'> {
|
|
4079
4209
|
}
|
|
4210
|
+
/** @publicDocs */
|
|
4080
4211
|
interface HeadingElement extends HeadingElementProps, Omit<HTMLElement, 'id'> {
|
|
4081
4212
|
}
|
|
4213
|
+
/** @publicDocs */
|
|
4082
4214
|
interface HeadingProps extends HeadingElementProps {
|
|
4083
4215
|
}
|
|
4084
4216
|
declare global {
|
|
4085
4217
|
interface HTMLElementTagNameMap {
|
|
4218
|
+
[tagName$A]: HeadingElement;
|
|
4086
4219
|
}
|
|
4087
4220
|
}
|
|
4088
4221
|
declare module 'preact' {
|
|
@@ -4094,17 +4227,21 @@ declare module 'preact' {
|
|
|
4094
4227
|
}
|
|
4095
4228
|
|
|
4096
4229
|
declare const tagName$z = "s-icon";
|
|
4230
|
+
/** @publicDocs */
|
|
4097
4231
|
interface IconElementProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
4098
4232
|
tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
4099
4233
|
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
4100
4234
|
type?: '' | ReducedIconTypes;
|
|
4101
4235
|
}
|
|
4236
|
+
/** @publicDocs */
|
|
4102
4237
|
interface IconElement extends IconElementProps, Omit<HTMLElement, 'id'> {
|
|
4103
4238
|
}
|
|
4239
|
+
/** @publicDocs */
|
|
4104
4240
|
interface IconProps extends IconElementProps {
|
|
4105
4241
|
}
|
|
4106
4242
|
declare global {
|
|
4107
4243
|
interface HTMLElementTagNameMap {
|
|
4244
|
+
[tagName$z]: IconElement;
|
|
4108
4245
|
}
|
|
4109
4246
|
}
|
|
4110
4247
|
declare module 'preact' {
|
|
@@ -4116,17 +4253,21 @@ declare module 'preact' {
|
|
|
4116
4253
|
}
|
|
4117
4254
|
|
|
4118
4255
|
declare const tagName$y = "s-image";
|
|
4256
|
+
/** @publicDocs */
|
|
4119
4257
|
interface ImageElementProps extends Pick<ImageProps$1, 'accessibilityRole' | 'alt' | 'aspectRatio' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'id' | 'inlineSize' | 'loading' | 'objectFit' | 'sizes' | 'src' | 'srcSet'> {
|
|
4120
4258
|
border?: BorderShorthand;
|
|
4121
4259
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4122
4260
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ImageProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4123
4261
|
}
|
|
4262
|
+
/** @publicDocs */
|
|
4124
4263
|
interface ImageElement extends ImageElementProps, Omit<HTMLElement, 'id'> {
|
|
4125
4264
|
}
|
|
4265
|
+
/** @publicDocs */
|
|
4126
4266
|
interface ImageProps extends ImageElementProps {
|
|
4127
4267
|
}
|
|
4128
4268
|
declare global {
|
|
4129
4269
|
interface HTMLElementTagNameMap {
|
|
4270
|
+
[tagName$y]: ImageElement;
|
|
4130
4271
|
}
|
|
4131
4272
|
}
|
|
4132
4273
|
declare module 'preact' {
|
|
@@ -4138,19 +4279,24 @@ declare module 'preact' {
|
|
|
4138
4279
|
}
|
|
4139
4280
|
|
|
4140
4281
|
declare const tagName$x = "s-link";
|
|
4282
|
+
/** @publicDocs */
|
|
4141
4283
|
interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'interestFor' | 'lang' | 'target' | 'tone'> {
|
|
4142
4284
|
target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
|
|
4143
4285
|
tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
|
|
4144
4286
|
}
|
|
4287
|
+
/** @publicDocs */
|
|
4145
4288
|
interface LinkEvents extends Pick<LinkProps$1, 'onClick'> {
|
|
4146
4289
|
}
|
|
4290
|
+
/** @publicDocs */
|
|
4147
4291
|
interface LinkElement extends LinkElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onclick'> {
|
|
4148
4292
|
onclick: LinkEvents['onClick'];
|
|
4149
4293
|
}
|
|
4294
|
+
/** @publicDocs */
|
|
4150
4295
|
interface LinkProps extends LinkElementProps, LinkEvents {
|
|
4151
4296
|
}
|
|
4152
4297
|
declare global {
|
|
4153
4298
|
interface HTMLElementTagNameMap {
|
|
4299
|
+
[tagName$x]: LinkElement;
|
|
4154
4300
|
}
|
|
4155
4301
|
}
|
|
4156
4302
|
declare module 'preact' {
|
|
@@ -4162,14 +4308,18 @@ declare module 'preact' {
|
|
|
4162
4308
|
}
|
|
4163
4309
|
|
|
4164
4310
|
declare const tagName$w = "s-list-item";
|
|
4311
|
+
/** @publicDocs */
|
|
4165
4312
|
interface ListItemElementProps extends Pick<ListItemProps$1, 'id'> {
|
|
4166
4313
|
}
|
|
4314
|
+
/** @publicDocs */
|
|
4167
4315
|
interface ListItemElement extends ListItemElementProps, Omit<HTMLElement, 'id'> {
|
|
4168
4316
|
}
|
|
4317
|
+
/** @publicDocs */
|
|
4169
4318
|
interface ListItemProps extends ListItemElementProps {
|
|
4170
4319
|
}
|
|
4171
4320
|
declare global {
|
|
4172
4321
|
interface HTMLElementTagNameMap {
|
|
4322
|
+
[tagName$w]: ListItemElement;
|
|
4173
4323
|
}
|
|
4174
4324
|
}
|
|
4175
4325
|
declare module 'preact' {
|
|
@@ -4181,14 +4331,32 @@ declare module 'preact' {
|
|
|
4181
4331
|
}
|
|
4182
4332
|
|
|
4183
4333
|
declare const tagName$v = "s-map-marker";
|
|
4334
|
+
/** @publicDocs */
|
|
4184
4335
|
interface MapMarkerElementProps extends Pick<MapMarkerProps$1, 'accessibilityLabel' | 'blockSize' | 'command' | 'commandFor' | 'clusterable' | 'inlineSize' | 'latitude' | 'longitude'> {
|
|
4336
|
+
/**
|
|
4337
|
+
* Sets the action the `commandFor` target should take when this marker is activated. See the documentation of particular components for the actions they support. Learn more about the [`command` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command).
|
|
4338
|
+
*
|
|
4339
|
+
* - `--auto`: a default action for the target component.
|
|
4340
|
+
* - `--show`: shows the target component.
|
|
4341
|
+
* - `--hide`: hides the target component.
|
|
4342
|
+
* - `--toggle`: toggles the target component.
|
|
4343
|
+
*
|
|
4344
|
+
* @default '--auto'
|
|
4345
|
+
*/
|
|
4185
4346
|
command?: Extract<MapMarkerProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
4347
|
+
/**
|
|
4348
|
+
* The ID of a component that should respond to activations (for example, clicks) on this component. Refer to the `command` property for how to control the behavior of the target. Learn more about the [`commandfor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
|
|
4349
|
+
*/
|
|
4350
|
+
commandFor?: MapMarkerProps$1['commandFor'];
|
|
4186
4351
|
}
|
|
4352
|
+
/** @publicDocs */
|
|
4187
4353
|
interface MapMarkerEvents extends Pick<MapMarkerProps$1, 'onClick'> {
|
|
4188
4354
|
}
|
|
4355
|
+
/** @publicDocs */
|
|
4189
4356
|
interface MapMarkerElement extends MapMarkerElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
4190
4357
|
onclick: MapMarkerEvents['onClick'];
|
|
4191
4358
|
}
|
|
4359
|
+
/** @publicDocs */
|
|
4192
4360
|
interface MapMarkerProps extends MapMarkerElementProps, MapMarkerEvents {
|
|
4193
4361
|
}
|
|
4194
4362
|
declare global {
|
|
@@ -4205,16 +4373,20 @@ declare module 'preact' {
|
|
|
4205
4373
|
}
|
|
4206
4374
|
|
|
4207
4375
|
declare const tagName$u = "s-map";
|
|
4376
|
+
/** @publicDocs */
|
|
4208
4377
|
interface MapElementProps extends Pick<MapProps$1, 'accessibilityLabel' | 'apiKey' | 'blockSize' | 'id' | 'inlineSize' | 'latitude' | 'longitude' | 'maxBlockSize' | 'maxInlineSize' | 'maxZoom' | 'minBlockSize' | 'minInlineSize' | 'minZoom' | 'zoom'> {
|
|
4209
4378
|
}
|
|
4379
|
+
/** @publicDocs */
|
|
4210
4380
|
interface MapEvents extends Pick<MapProps$1, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'> {
|
|
4211
4381
|
}
|
|
4382
|
+
/** @publicDocs */
|
|
4212
4383
|
interface MapElement extends MapElementProps, Omit<HTMLElement, 'id' | 'onclick' | 'ondblclick'> {
|
|
4213
4384
|
onboundschange: MapEvents['onBoundsChange'];
|
|
4214
4385
|
onclick: MapEvents['onClick'];
|
|
4215
4386
|
ondblclick: MapEvents['onDblClick'];
|
|
4216
4387
|
onviewchange: MapEvents['onViewChange'];
|
|
4217
4388
|
}
|
|
4389
|
+
/** @publicDocs */
|
|
4218
4390
|
interface MapProps extends MapElementProps, MapEvents {
|
|
4219
4391
|
}
|
|
4220
4392
|
declare global {
|
|
@@ -4231,19 +4403,34 @@ declare module 'preact' {
|
|
|
4231
4403
|
}
|
|
4232
4404
|
|
|
4233
4405
|
declare const tagName$t = "s-modal";
|
|
4406
|
+
/** @publicDocs */
|
|
4234
4407
|
interface ModalElementProps extends Pick<ModalProps$1, 'accessibilityLabel' | 'heading' | 'id' | 'padding' | 'size'> {
|
|
4408
|
+
/**
|
|
4409
|
+
* The size of the modal.
|
|
4410
|
+
*
|
|
4411
|
+
* - `'base'`: The default size, suitable for most use cases.
|
|
4412
|
+
* - `'small'`: A compact modal for simple confirmations or short messages.
|
|
4413
|
+
* - `'small-100'`: The smallest modal size.
|
|
4414
|
+
* - `'large'`: A large modal for complex content or forms.
|
|
4415
|
+
* - `'large-100'`: The largest fixed-size modal, providing maximum room for content.
|
|
4416
|
+
* - `'max'`: Expands the modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
4417
|
+
*
|
|
4418
|
+
* @default 'base'
|
|
4419
|
+
*/
|
|
4235
4420
|
size?: Extract<ModalProps$1['size'], 'small-100' | 'small' | 'base' | 'large-100' | 'large' | 'max'>;
|
|
4236
4421
|
}
|
|
4237
4422
|
interface ModalEvents extends Pick<ModalProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
4238
4423
|
}
|
|
4239
4424
|
interface ModalElementMethods extends Pick<ModalProps$1, 'hideOverlay'> {
|
|
4240
4425
|
}
|
|
4426
|
+
/** @publicDocs */
|
|
4241
4427
|
interface ModalElement extends ModalElementProps, ModalElementMethods, Omit<HTMLElement, 'id'> {
|
|
4242
4428
|
onafterhide: ModalEvents['onAfterHide'];
|
|
4243
4429
|
onaftershow: ModalEvents['onAfterShow'];
|
|
4244
4430
|
onhide: ModalEvents['onHide'];
|
|
4245
4431
|
onshow: ModalEvents['onShow'];
|
|
4246
4432
|
}
|
|
4433
|
+
/** @publicDocs */
|
|
4247
4434
|
interface ModalProps extends ModalElementProps, ModalEvents {
|
|
4248
4435
|
}
|
|
4249
4436
|
declare global {
|
|
@@ -4260,16 +4447,20 @@ declare module 'preact' {
|
|
|
4260
4447
|
}
|
|
4261
4448
|
|
|
4262
4449
|
declare const tagName$s = "s-money-field";
|
|
4450
|
+
/** @publicDocs */
|
|
4263
4451
|
interface MoneyFieldElementProps extends Pick<MoneyFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'readOnly' | 'required' | 'step' | 'value'> {
|
|
4264
4452
|
}
|
|
4453
|
+
/** @publicDocs */
|
|
4265
4454
|
interface MoneyFieldEvents extends Pick<MoneyFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4266
4455
|
}
|
|
4456
|
+
/** @publicDocs */
|
|
4267
4457
|
interface MoneyFieldElement extends MoneyFieldElementProps {
|
|
4268
4458
|
onblur: MoneyFieldEvents['onBlur'];
|
|
4269
4459
|
onchange: MoneyFieldEvents['onChange'];
|
|
4270
4460
|
onfocus: MoneyFieldEvents['onFocus'];
|
|
4271
4461
|
oninput: MoneyFieldEvents['onInput'];
|
|
4272
4462
|
}
|
|
4463
|
+
/** @publicDocs */
|
|
4273
4464
|
interface MoneyFieldProps extends MoneyFieldElementProps, MoneyFieldEvents {
|
|
4274
4465
|
}
|
|
4275
4466
|
declare global {
|
|
@@ -4286,6 +4477,7 @@ declare module 'preact' {
|
|
|
4286
4477
|
}
|
|
4287
4478
|
|
|
4288
4479
|
declare const tagName$r = "s-number-field";
|
|
4480
|
+
/** @publicDocs */
|
|
4289
4481
|
interface NumberFieldElementProps extends Pick<NumberFieldProps$1, 'autocomplete' | 'controls' | 'defaultValue' | 'disabled' | 'error' | 'icon' | 'inputMode' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'prefix' | 'readOnly' | 'required' | 'step' | 'suffix' | 'value'> {
|
|
4290
4482
|
icon?: IconProps['type'];
|
|
4291
4483
|
/**
|
|
@@ -4294,14 +4486,17 @@ interface NumberFieldElementProps extends Pick<NumberFieldProps$1, 'autocomplete
|
|
|
4294
4486
|
*/
|
|
4295
4487
|
placeholder?: string;
|
|
4296
4488
|
}
|
|
4489
|
+
/** @publicDocs */
|
|
4297
4490
|
interface NumberFieldEvents extends Pick<NumberFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4298
4491
|
}
|
|
4492
|
+
/** @publicDocs */
|
|
4299
4493
|
interface NumberFieldElement extends NumberFieldElementProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4300
4494
|
onblur: NumberFieldEvents['onBlur'];
|
|
4301
4495
|
onchange: NumberFieldEvents['onChange'];
|
|
4302
4496
|
onfocus: NumberFieldEvents['onFocus'];
|
|
4303
4497
|
oninput: NumberFieldEvents['onInput'];
|
|
4304
4498
|
}
|
|
4499
|
+
/** @publicDocs */
|
|
4305
4500
|
interface NumberFieldProps extends NumberFieldElementProps, NumberFieldEvents {
|
|
4306
4501
|
}
|
|
4307
4502
|
declare global {
|
|
@@ -4318,10 +4513,13 @@ declare module 'preact' {
|
|
|
4318
4513
|
}
|
|
4319
4514
|
|
|
4320
4515
|
declare const tagName$q = "s-option";
|
|
4516
|
+
/** @publicDocs */
|
|
4321
4517
|
interface OptionElementProps extends Pick<OptionProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'value'> {
|
|
4322
4518
|
}
|
|
4519
|
+
/** @publicDocs */
|
|
4323
4520
|
interface OptionElement extends OptionElementProps, Omit<HTMLElement, 'id'> {
|
|
4324
4521
|
}
|
|
4522
|
+
/** @publicDocs */
|
|
4325
4523
|
interface OptionProps extends OptionElementProps {
|
|
4326
4524
|
}
|
|
4327
4525
|
declare global {
|
|
@@ -4338,14 +4536,18 @@ declare module 'preact' {
|
|
|
4338
4536
|
}
|
|
4339
4537
|
|
|
4340
4538
|
declare const tagName$p = "s-ordered-list";
|
|
4539
|
+
/** @publicDocs */
|
|
4341
4540
|
interface OrderedListElementProps extends OrderedListProps$1 {
|
|
4342
4541
|
}
|
|
4542
|
+
/** @publicDocs */
|
|
4343
4543
|
interface OrderedListElement extends OrderedListElementProps, Omit<HTMLElement, 'id'> {
|
|
4344
4544
|
}
|
|
4545
|
+
/** @publicDocs */
|
|
4345
4546
|
interface OrderedListProps extends OrderedListElementProps {
|
|
4346
4547
|
}
|
|
4347
4548
|
declare global {
|
|
4348
4549
|
interface HTMLElementTagNameMap {
|
|
4550
|
+
[tagName$p]: OrderedListElement;
|
|
4349
4551
|
}
|
|
4350
4552
|
}
|
|
4351
4553
|
declare module 'preact' {
|
|
@@ -4357,16 +4559,20 @@ declare module 'preact' {
|
|
|
4357
4559
|
}
|
|
4358
4560
|
|
|
4359
4561
|
declare const tagName$o = "s-paragraph";
|
|
4562
|
+
/** @publicDocs */
|
|
4360
4563
|
interface ParagraphElementProps extends Pick<ParagraphProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
4361
4564
|
color?: Extract<ParagraphProps$1['color'], 'subdued' | 'base'>;
|
|
4362
4565
|
tone?: Extract<ParagraphProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'custom'>;
|
|
4363
4566
|
}
|
|
4567
|
+
/** @publicDocs */
|
|
4364
4568
|
interface ParagraphElement extends ParagraphElementProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
|
|
4365
4569
|
}
|
|
4570
|
+
/** @publicDocs */
|
|
4366
4571
|
interface ParagraphProps extends ParagraphElementProps {
|
|
4367
4572
|
}
|
|
4368
4573
|
declare global {
|
|
4369
4574
|
interface HTMLElementTagNameMap {
|
|
4575
|
+
[tagName$o]: ParagraphElement;
|
|
4370
4576
|
}
|
|
4371
4577
|
}
|
|
4372
4578
|
declare module 'preact' {
|
|
@@ -4378,16 +4584,20 @@ declare module 'preact' {
|
|
|
4378
4584
|
}
|
|
4379
4585
|
|
|
4380
4586
|
declare const tagName$n = "s-password-field";
|
|
4587
|
+
/** @publicDocs */
|
|
4381
4588
|
interface PasswordFieldElementProps extends Pick<PasswordFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
4382
4589
|
}
|
|
4590
|
+
/** @publicDocs */
|
|
4383
4591
|
interface PasswordFieldEvents extends Pick<PasswordFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4384
4592
|
}
|
|
4593
|
+
/** @publicDocs */
|
|
4385
4594
|
interface PasswordFieldElement extends PasswordFieldProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4386
4595
|
onblur: PasswordFieldEvents['onBlur'];
|
|
4387
4596
|
onchange: PasswordFieldEvents['onChange'];
|
|
4388
4597
|
onfocus: PasswordFieldEvents['onFocus'];
|
|
4389
4598
|
oninput: PasswordFieldEvents['onInput'];
|
|
4390
4599
|
}
|
|
4600
|
+
/** @publicDocs */
|
|
4391
4601
|
interface PasswordFieldProps extends PasswordFieldElementProps, PasswordFieldEvents {
|
|
4392
4602
|
}
|
|
4393
4603
|
declare global {
|
|
@@ -4404,14 +4614,18 @@ declare module 'preact' {
|
|
|
4404
4614
|
}
|
|
4405
4615
|
|
|
4406
4616
|
declare const tagName$m = "s-payment-icon";
|
|
4617
|
+
/** @publicDocs */
|
|
4407
4618
|
interface PaymentIconElementProps extends PaymentIconProps$1 {
|
|
4408
4619
|
}
|
|
4620
|
+
/** @publicDocs */
|
|
4409
4621
|
interface PaymentIconElement extends PaymentIconElementProps, Omit<HTMLElement, 'id'> {
|
|
4410
4622
|
}
|
|
4623
|
+
/** @publicDocs */
|
|
4411
4624
|
interface PaymentIconProps extends PaymentIconElementProps {
|
|
4412
4625
|
}
|
|
4413
4626
|
declare global {
|
|
4414
4627
|
interface HTMLElementTagNameMap {
|
|
4628
|
+
[tagName$m]: PaymentIconElement;
|
|
4415
4629
|
}
|
|
4416
4630
|
}
|
|
4417
4631
|
declare module 'preact' {
|
|
@@ -4423,62 +4637,54 @@ declare module 'preact' {
|
|
|
4423
4637
|
}
|
|
4424
4638
|
|
|
4425
4639
|
declare const tagName$l = "s-popover";
|
|
4640
|
+
/** @publicDocs */
|
|
4426
4641
|
interface PopoverElementProps extends Pick<PopoverProps$1, 'id'> {
|
|
4427
4642
|
/**
|
|
4428
|
-
*
|
|
4429
|
-
*
|
|
4430
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/block-size
|
|
4643
|
+
* The block size of the popover (height in horizontal writing modes). Learn more about the [block-size property](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
4431
4644
|
*
|
|
4432
4645
|
* @default 'auto'
|
|
4433
4646
|
*/
|
|
4434
4647
|
blockSize?: SizeUnitsOrAuto;
|
|
4435
4648
|
/**
|
|
4436
|
-
*
|
|
4437
|
-
*
|
|
4438
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
|
|
4649
|
+
* The inline size of the popover (width in horizontal writing modes). Learn more about the [inline-size property](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
4439
4650
|
*
|
|
4440
4651
|
* @default 'auto'
|
|
4441
4652
|
*/
|
|
4442
4653
|
inlineSize?: SizeUnitsOrAuto;
|
|
4443
4654
|
/**
|
|
4444
|
-
*
|
|
4445
|
-
*
|
|
4446
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
|
|
4655
|
+
* The maximum block size of the popover. Constrains the popover's height to prevent it from exceeding this value. Learn more about the [max-block-size property](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
|
|
4447
4656
|
*
|
|
4448
4657
|
* @default 'none'
|
|
4449
4658
|
*/
|
|
4450
4659
|
maxBlockSize?: SizeUnitsOrNone;
|
|
4451
4660
|
/**
|
|
4452
|
-
*
|
|
4453
|
-
*
|
|
4454
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
|
|
4661
|
+
* The maximum inline size of the popover. Constrains the popover's width to prevent it from exceeding this value. Learn more about the [max-inline-size property](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
|
|
4455
4662
|
*
|
|
4456
4663
|
* @default 'none'
|
|
4457
4664
|
*/
|
|
4458
4665
|
maxInlineSize?: SizeUnitsOrNone;
|
|
4459
4666
|
/**
|
|
4460
|
-
*
|
|
4461
|
-
*
|
|
4462
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
|
|
4667
|
+
* The minimum block size of the popover. Ensures the popover maintains at least this height. Learn more about the [min-block-size property](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
|
|
4463
4668
|
*
|
|
4464
4669
|
* @default '0'
|
|
4465
4670
|
*/
|
|
4466
4671
|
minBlockSize?: SizeUnits;
|
|
4467
4672
|
/**
|
|
4468
|
-
*
|
|
4469
|
-
*
|
|
4470
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
|
|
4673
|
+
* The minimum inline size of the popover. Ensures the popover maintains at least this width. Learn more about the [min-inline-size property](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
|
|
4471
4674
|
*
|
|
4472
4675
|
* @default '0'
|
|
4473
4676
|
*/
|
|
4474
4677
|
minInlineSize?: SizeUnits;
|
|
4475
4678
|
}
|
|
4679
|
+
/** @publicDocs */
|
|
4476
4680
|
interface PopoverEvents extends Pick<PopoverProps$1, 'onHide' | 'onShow'> {
|
|
4477
4681
|
}
|
|
4682
|
+
/** @publicDocs */
|
|
4478
4683
|
interface PopoverElement extends Omit<PopoverProps, 'onHide' | 'onShow'>, Omit<HTMLElement, 'id'> {
|
|
4479
4684
|
onhide: PopoverProps['onHide'];
|
|
4480
4685
|
onshow: PopoverProps['onShow'];
|
|
4481
4686
|
}
|
|
4687
|
+
/** @publicDocs */
|
|
4482
4688
|
interface PopoverProps extends PopoverElementProps, PopoverEvents {
|
|
4483
4689
|
}
|
|
4484
4690
|
declare global {
|
|
@@ -4495,15 +4701,19 @@ declare module 'preact' {
|
|
|
4495
4701
|
}
|
|
4496
4702
|
|
|
4497
4703
|
declare const tagName$k = "s-press-button";
|
|
4704
|
+
/** @publicDocs */
|
|
4498
4705
|
interface PressButtonElementProps extends Pick<PressButtonProps$1, 'accessibilityLabel' | 'id' | 'inlineSize' | 'lang' | 'disabled' | 'loading' | 'pressed' | 'defaultPressed'> {
|
|
4499
4706
|
}
|
|
4707
|
+
/** @publicDocs */
|
|
4500
4708
|
interface PressButtonEvents extends Pick<PressButtonProps$1, 'onClick' | 'onBlur' | 'onFocus'> {
|
|
4501
4709
|
}
|
|
4710
|
+
/** @publicDocs */
|
|
4502
4711
|
interface PressButtonElement extends PressButtonElementProps, Omit<HTMLElement, 'children' | 'lang' | 'id' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
4503
4712
|
onblur: PressButtonEvents['onBlur'];
|
|
4504
4713
|
onclick: PressButtonEvents['onClick'];
|
|
4505
4714
|
onfocus: PressButtonEvents['onFocus'];
|
|
4506
4715
|
}
|
|
4716
|
+
/** @publicDocs */
|
|
4507
4717
|
interface PressButtonProps extends PressButtonElementProps, PressButtonEvents {
|
|
4508
4718
|
}
|
|
4509
4719
|
declare global {
|
|
@@ -4520,11 +4730,14 @@ declare module 'preact' {
|
|
|
4520
4730
|
}
|
|
4521
4731
|
|
|
4522
4732
|
declare const tagName$j = "s-product-thumbnail";
|
|
4733
|
+
/** @publicDocs */
|
|
4523
4734
|
interface ProductThumbnailElementProps extends Pick<ProductThumbnailProps$1, 'alt' | 'size' | 'sizes' | 'src' | 'srcSet' | 'totalItems'> {
|
|
4524
4735
|
size?: Extract<ProductThumbnailProps$1['size'], 'small-100' | 'small' | 'base'>;
|
|
4525
4736
|
}
|
|
4737
|
+
/** @publicDocs */
|
|
4526
4738
|
interface ProductThumbnailElement extends ProductThumbnailElementProps, Omit<HTMLElement, 'id'> {
|
|
4527
4739
|
}
|
|
4740
|
+
/** @publicDocs */
|
|
4528
4741
|
interface ProductThumbnailProps extends ProductThumbnailElementProps {
|
|
4529
4742
|
}
|
|
4530
4743
|
declare global {
|
|
@@ -4541,15 +4754,19 @@ declare module 'preact' {
|
|
|
4541
4754
|
}
|
|
4542
4755
|
|
|
4543
4756
|
declare const tagName$i = "s-progress";
|
|
4757
|
+
/** @publicDocs */
|
|
4544
4758
|
interface ProgressElementProps extends Pick<ProgressProps$1, 'accessibilityLabel' | 'id' | 'max' | 'tone' | 'value'> {
|
|
4545
4759
|
tone?: Extract<ProgressProps$1['tone'], 'auto' | 'critical'>;
|
|
4546
4760
|
}
|
|
4761
|
+
/** @publicDocs */
|
|
4547
4762
|
interface ProgressElement extends ProgressElementProps, Omit<HTMLElement, 'id'> {
|
|
4548
4763
|
}
|
|
4764
|
+
/** @publicDocs */
|
|
4549
4765
|
interface ProgressProps extends ProgressElementProps {
|
|
4550
4766
|
}
|
|
4551
4767
|
declare global {
|
|
4552
4768
|
interface HTMLElementTagNameMap {
|
|
4769
|
+
[tagName$i]: ProgressElement;
|
|
4553
4770
|
}
|
|
4554
4771
|
}
|
|
4555
4772
|
declare module 'preact' {
|
|
@@ -4561,13 +4778,17 @@ declare module 'preact' {
|
|
|
4561
4778
|
}
|
|
4562
4779
|
|
|
4563
4780
|
declare const tagName$h = "s-qr-code";
|
|
4781
|
+
/** @publicDocs */
|
|
4564
4782
|
interface QRCodeElementProps extends QRCodeProps$1 {
|
|
4565
4783
|
}
|
|
4784
|
+
/** @publicDocs */
|
|
4566
4785
|
interface QRCodeEvents extends Pick<QRCodeProps$1, 'onError'> {
|
|
4567
4786
|
}
|
|
4787
|
+
/** @publicDocs */
|
|
4568
4788
|
interface QRCodelement extends QRCodeElementProps, Omit<HTMLElement, 'id' | 'onerror'> {
|
|
4569
4789
|
onerror: QRCodeEvents['onError'];
|
|
4570
4790
|
}
|
|
4791
|
+
/** @publicDocs */
|
|
4571
4792
|
interface QRCodeProps extends QRCodeElementProps, QRCodeEvents {
|
|
4572
4793
|
}
|
|
4573
4794
|
declare global {
|
|
@@ -4584,10 +4805,13 @@ declare module 'preact' {
|
|
|
4584
4805
|
}
|
|
4585
4806
|
|
|
4586
4807
|
declare const tagName$g = "s-query-container";
|
|
4808
|
+
/** @publicDocs */
|
|
4587
4809
|
interface QueryContainerElementProps extends Pick<QueryContainerProps$1, 'containerName' | 'id'> {
|
|
4588
4810
|
}
|
|
4811
|
+
/** @publicDocs */
|
|
4589
4812
|
interface QueryContainerElement extends QueryContainerElementProps, Omit<HTMLElement, 'id'> {
|
|
4590
4813
|
}
|
|
4814
|
+
/** @publicDocs */
|
|
4591
4815
|
interface QueryContainerProps extends QueryContainerElementProps {
|
|
4592
4816
|
}
|
|
4593
4817
|
declare global {
|
|
@@ -4604,6 +4828,7 @@ declare module 'preact' {
|
|
|
4604
4828
|
}
|
|
4605
4829
|
|
|
4606
4830
|
declare const tagName$f = "s-scroll-box";
|
|
4831
|
+
/** @publicDocs */
|
|
4607
4832
|
interface ScrollBoxElementProps extends Pick<ScrollBoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
|
|
4608
4833
|
background?: Extract<ScrollBoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4609
4834
|
border?: BorderShorthand;
|
|
@@ -4611,8 +4836,10 @@ interface ScrollBoxElementProps extends Pick<ScrollBoxProps$1, 'accessibilityLab
|
|
|
4611
4836
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ScrollBoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4612
4837
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4613
4838
|
}
|
|
4839
|
+
/** @publicDocs */
|
|
4614
4840
|
interface ScrollBoxElement extends ScrollBoxElementProps, Omit<HTMLElement, 'id'> {
|
|
4615
4841
|
}
|
|
4842
|
+
/** @publicDocs */
|
|
4616
4843
|
interface ScrollBoxProps extends ScrollBoxElementProps {
|
|
4617
4844
|
}
|
|
4618
4845
|
declare global {
|
|
@@ -4629,10 +4856,13 @@ declare module 'preact' {
|
|
|
4629
4856
|
}
|
|
4630
4857
|
|
|
4631
4858
|
declare const tagName$e = "s-section";
|
|
4859
|
+
/** @publicDocs */
|
|
4632
4860
|
interface SectionElementProps extends Pick<SectionProps$1, 'accessibilityLabel' | 'heading' | 'id'> {
|
|
4633
4861
|
}
|
|
4862
|
+
/** @publicDocs */
|
|
4634
4863
|
interface SectionElement extends SectionElementProps, Omit<HTMLElement, 'id'> {
|
|
4635
4864
|
}
|
|
4865
|
+
/** @publicDocs */
|
|
4636
4866
|
interface SectionProps extends SectionElementProps {
|
|
4637
4867
|
}
|
|
4638
4868
|
declare global {
|
|
@@ -4649,15 +4879,19 @@ declare module 'preact' {
|
|
|
4649
4879
|
}
|
|
4650
4880
|
|
|
4651
4881
|
declare const tagName$d = "s-select";
|
|
4882
|
+
/** @publicDocs */
|
|
4652
4883
|
interface SelectElementProps extends Pick<SelectProps$1, 'autocomplete' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value'> {
|
|
4653
4884
|
}
|
|
4885
|
+
/** @publicDocs */
|
|
4654
4886
|
interface SelectEvents extends Pick<SelectProps$1, 'onBlur' | 'onChange' | 'onFocus'> {
|
|
4655
4887
|
}
|
|
4888
|
+
/** @publicDocs */
|
|
4656
4889
|
interface SelectElement extends SelectElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus'> {
|
|
4657
4890
|
onblur: SelectEvents['onBlur'];
|
|
4658
4891
|
onchange: SelectEvents['onChange'];
|
|
4659
4892
|
onfocus: SelectEvents['onFocus'];
|
|
4660
4893
|
}
|
|
4894
|
+
/** @publicDocs */
|
|
4661
4895
|
interface SelectProps extends SelectElementProps, SelectEvents {
|
|
4662
4896
|
}
|
|
4663
4897
|
declare global {
|
|
@@ -4674,20 +4908,19 @@ declare module 'preact' {
|
|
|
4674
4908
|
}
|
|
4675
4909
|
|
|
4676
4910
|
declare const tagName$c = "s-sheet";
|
|
4911
|
+
/** @publicDocs */
|
|
4677
4912
|
interface SheetElementProps extends Pick<SheetProps$1, 'defaultOpen' | 'heading' | 'id'> {
|
|
4678
4913
|
/**
|
|
4679
|
-
* A label that describes the purpose of the
|
|
4680
|
-
* it will be announced to users using assistive technologies and will
|
|
4681
|
-
* provide them with more context.
|
|
4682
|
-
*
|
|
4683
|
-
* This overrides the `heading` prop for screen readers.
|
|
4914
|
+
* A label that describes the purpose of the sheet, announced by assistive technologies. When set, screen readers will use this label instead of the `heading` to describe the sheet.
|
|
4684
4915
|
*/
|
|
4685
4916
|
accessibilityLabel?: string;
|
|
4686
4917
|
}
|
|
4918
|
+
/** @publicDocs */
|
|
4687
4919
|
interface SheetEvents extends Pick<SheetProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
4688
4920
|
}
|
|
4689
4921
|
interface SheetElementMethods extends Pick<SheetProps$1, 'hideOverlay'> {
|
|
4690
4922
|
}
|
|
4923
|
+
/** @publicDocs */
|
|
4691
4924
|
interface SheetElement extends SheetElementProps, SheetElementMethods, Omit<HTMLElement, 'id'> {
|
|
4692
4925
|
afterhide: SheetEvents['onAfterHide'];
|
|
4693
4926
|
aftershow: SheetEvents['onAfterShow'];
|
|
@@ -4696,6 +4929,7 @@ interface SheetElement extends SheetElementProps, SheetElementMethods, Omit<HTML
|
|
|
4696
4929
|
onafterhide: SheetEvents['onAfterHide'];
|
|
4697
4930
|
onaftershow: SheetEvents['onAfterShow'];
|
|
4698
4931
|
}
|
|
4932
|
+
/** @publicDocs */
|
|
4699
4933
|
interface SheetProps extends SheetElementProps, SheetEvents {
|
|
4700
4934
|
}
|
|
4701
4935
|
declare global {
|
|
@@ -4712,10 +4946,13 @@ declare module 'preact' {
|
|
|
4712
4946
|
}
|
|
4713
4947
|
|
|
4714
4948
|
declare const tagName$b = "s-skeleton-paragraph";
|
|
4949
|
+
/** @publicDocs */
|
|
4715
4950
|
interface SkeletonParagraphElementProps extends SkeletonParagraphProps$1 {
|
|
4716
4951
|
}
|
|
4952
|
+
/** @publicDocs */
|
|
4717
4953
|
interface SkeletonParagraphElement extends SkeletonParagraphElementProps, Omit<HTMLElement, 'id'> {
|
|
4718
4954
|
}
|
|
4955
|
+
/** @publicDocs */
|
|
4719
4956
|
interface SkeletonParagraphProps extends SkeletonParagraphElementProps {
|
|
4720
4957
|
}
|
|
4721
4958
|
declare global {
|
|
@@ -4732,15 +4969,19 @@ declare module 'preact' {
|
|
|
4732
4969
|
}
|
|
4733
4970
|
|
|
4734
4971
|
declare const tagName$a = "s-spinner";
|
|
4972
|
+
/** @publicDocs */
|
|
4735
4973
|
interface SpinnerElementProps extends SpinnerProps$1 {
|
|
4736
4974
|
size?: Extract<SpinnerProps$1['size'], 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
4737
4975
|
}
|
|
4976
|
+
/** @publicDocs */
|
|
4738
4977
|
interface SpinnerElement extends SpinnerElementProps, Omit<HTMLElement, 'id'> {
|
|
4739
4978
|
}
|
|
4979
|
+
/** @publicDocs */
|
|
4740
4980
|
interface SpinnerProps extends SpinnerElementProps {
|
|
4741
4981
|
}
|
|
4742
4982
|
declare global {
|
|
4743
4983
|
interface HTMLElementTagNameMap {
|
|
4984
|
+
[tagName$a]: SpinnerElement;
|
|
4744
4985
|
}
|
|
4745
4986
|
}
|
|
4746
4987
|
declare module 'preact' {
|
|
@@ -4752,6 +4993,7 @@ declare module 'preact' {
|
|
|
4752
4993
|
}
|
|
4753
4994
|
|
|
4754
4995
|
declare const tagName$9 = "s-stack";
|
|
4996
|
+
/** @publicDocs */
|
|
4755
4997
|
interface StackElementProps extends Pick<StackProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'direction' | 'display' | 'gap' | 'id' | 'inlineSize' | 'justifyContent' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'rowGap'> {
|
|
4756
4998
|
accessibilityRole?: Extract<StackProps$1['accessibilityRole'], 'main' | 'header' | 'footer' | 'section' | 'aside' | 'navigation' | 'ordered-list' | 'list-item' | 'list-item-separator' | 'unordered-list' | 'separator' | 'status' | 'alert' | 'generic' | 'none'>;
|
|
4757
4999
|
background?: Extract<StackProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
@@ -4762,12 +5004,15 @@ interface StackElementProps extends Pick<StackProps$1, 'accessibilityLabel' | 'a
|
|
|
4762
5004
|
alignItems?: MaybeResponsive<Extract<StackProps$1['alignItems'], 'normal' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4763
5005
|
justifyContent?: MaybeResponsive<Extract<StackProps$1['justifyContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4764
5006
|
}
|
|
5007
|
+
/** @publicDocs */
|
|
4765
5008
|
interface StackElement extends StackElementProps, Omit<HTMLElement, 'id'> {
|
|
4766
5009
|
}
|
|
5010
|
+
/** @publicDocs */
|
|
4767
5011
|
interface StackProps extends StackElementProps {
|
|
4768
5012
|
}
|
|
4769
5013
|
declare global {
|
|
4770
5014
|
interface HTMLElementTagNameMap {
|
|
5015
|
+
[tagName$9]: StackElement;
|
|
4771
5016
|
}
|
|
4772
5017
|
}
|
|
4773
5018
|
declare module 'preact' {
|
|
@@ -4779,10 +5024,13 @@ declare module 'preact' {
|
|
|
4779
5024
|
}
|
|
4780
5025
|
|
|
4781
5026
|
declare const tagName$8 = "s-summary";
|
|
5027
|
+
/** @publicDocs */
|
|
4782
5028
|
interface SummaryElementProps extends Pick<SummaryProps$1, 'id'> {
|
|
4783
5029
|
}
|
|
5030
|
+
/** @publicDocs */
|
|
4784
5031
|
interface SummaryElement extends SummaryElementProps, Omit<HTMLElement, 'id'> {
|
|
4785
5032
|
}
|
|
5033
|
+
/** @publicDocs */
|
|
4786
5034
|
interface SummaryProps extends SummaryElementProps {
|
|
4787
5035
|
}
|
|
4788
5036
|
declare global {
|
|
@@ -4803,14 +5051,18 @@ declare module 'preact' {
|
|
|
4803
5051
|
}
|
|
4804
5052
|
|
|
4805
5053
|
declare const tagName$7 = "s-switch";
|
|
5054
|
+
/** @publicDocs */
|
|
4806
5055
|
interface SwitchElementProps extends Pick<SwitchProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'id' | 'label' | 'name' | 'value'> {
|
|
4807
5056
|
command?: Extract<SwitchProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
4808
5057
|
}
|
|
5058
|
+
/** @publicDocs */
|
|
4809
5059
|
interface SwitchEvents extends Pick<SwitchProps$1, 'onChange'> {
|
|
4810
5060
|
}
|
|
5061
|
+
/** @publicDocs */
|
|
4811
5062
|
interface SwitchElement extends SwitchElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
4812
5063
|
onchange: SwitchEvents['onChange'];
|
|
4813
5064
|
}
|
|
5065
|
+
/** @publicDocs */
|
|
4814
5066
|
interface SwitchProps extends SwitchElementProps, SwitchEvents {
|
|
4815
5067
|
}
|
|
4816
5068
|
declare global {
|
|
@@ -4827,6 +5079,7 @@ declare module 'preact' {
|
|
|
4827
5079
|
}
|
|
4828
5080
|
|
|
4829
5081
|
declare const tagName$6 = "s-text-area";
|
|
5082
|
+
/** @publicDocs */
|
|
4830
5083
|
interface TextAreaElementProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'name' | 'required' | 'value' | 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'readOnly' | 'rows' | 'maxLength' | 'minLength' | 'labelAccessibilityVisibility'> {
|
|
4831
5084
|
/**
|
|
4832
5085
|
* @deprecated Use `label` instead.
|
|
@@ -4834,14 +5087,17 @@ interface TextAreaElementProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'n
|
|
|
4834
5087
|
*/
|
|
4835
5088
|
placeholder?: string;
|
|
4836
5089
|
}
|
|
5090
|
+
/** @publicDocs */
|
|
4837
5091
|
interface TextAreaEvents extends Pick<TextAreaProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4838
5092
|
}
|
|
5093
|
+
/** @publicDocs */
|
|
4839
5094
|
interface TextAreaElement extends TextAreaElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
4840
5095
|
onblur: TextAreaEvents['onBlur'];
|
|
4841
5096
|
onchange: TextAreaEvents['onChange'];
|
|
4842
5097
|
onfocus: TextAreaEvents['onFocus'];
|
|
4843
5098
|
oninput: TextAreaEvents['onInput'];
|
|
4844
5099
|
}
|
|
5100
|
+
/** @publicDocs */
|
|
4845
5101
|
interface TextAreaProps extends TextAreaElementProps, TextAreaEvents {
|
|
4846
5102
|
}
|
|
4847
5103
|
declare global {
|
|
@@ -4858,6 +5114,7 @@ declare module 'preact' {
|
|
|
4858
5114
|
}
|
|
4859
5115
|
|
|
4860
5116
|
declare const tagName$5 = "s-text-field";
|
|
5117
|
+
/** @publicDocs */
|
|
4861
5118
|
interface TextFieldElementProps extends Pick<TextFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'icon' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
|
|
4862
5119
|
icon?: IconProps['type'];
|
|
4863
5120
|
/**
|
|
@@ -4866,18 +5123,22 @@ interface TextFieldElementProps extends Pick<TextFieldProps$1, 'autocomplete' |
|
|
|
4866
5123
|
*/
|
|
4867
5124
|
placeholder?: string;
|
|
4868
5125
|
}
|
|
5126
|
+
/** @publicDocs */
|
|
4869
5127
|
interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4870
5128
|
}
|
|
5129
|
+
/** @publicDocs */
|
|
4871
5130
|
interface TextFieldElement extends TextFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4872
5131
|
onblur: TextFieldEvents['onBlur'];
|
|
4873
5132
|
onchange: TextFieldEvents['onChange'];
|
|
4874
5133
|
onfocus: TextFieldEvents['onFocus'];
|
|
4875
5134
|
oninput: TextFieldEvents['onInput'];
|
|
4876
5135
|
}
|
|
5136
|
+
/** @publicDocs */
|
|
4877
5137
|
interface TextFieldProps extends TextFieldElementProps, TextFieldEvents {
|
|
4878
5138
|
}
|
|
4879
5139
|
declare global {
|
|
4880
5140
|
interface HTMLElementTagNameMap {
|
|
5141
|
+
[tagName$5]: TextFieldElement;
|
|
4881
5142
|
}
|
|
4882
5143
|
}
|
|
4883
5144
|
declare module 'preact' {
|
|
@@ -4889,17 +5150,21 @@ declare module 'preact' {
|
|
|
4889
5150
|
}
|
|
4890
5151
|
|
|
4891
5152
|
declare const tagName$4 = "s-text";
|
|
5153
|
+
/** @publicDocs */
|
|
4892
5154
|
interface TextElementProps extends Pick<TextProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'display' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
4893
5155
|
color?: Extract<TextProps$1['color'], 'subdued' | 'base'>;
|
|
4894
5156
|
tone?: Extract<TextProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
4895
5157
|
type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
|
|
4896
5158
|
}
|
|
5159
|
+
/** @publicDocs */
|
|
4897
5160
|
interface TextElement extends TextElementProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
|
|
4898
5161
|
}
|
|
5162
|
+
/** @publicDocs */
|
|
4899
5163
|
interface TextProps extends TextElementProps {
|
|
4900
5164
|
}
|
|
4901
5165
|
declare global {
|
|
4902
5166
|
interface HTMLElementTagNameMap {
|
|
5167
|
+
[tagName$4]: TextElement;
|
|
4903
5168
|
}
|
|
4904
5169
|
}
|
|
4905
5170
|
declare module 'preact' {
|
|
@@ -4911,14 +5176,18 @@ declare module 'preact' {
|
|
|
4911
5176
|
}
|
|
4912
5177
|
|
|
4913
5178
|
declare const tagName$3 = "s-time";
|
|
5179
|
+
/** @publicDocs */
|
|
4914
5180
|
interface TimeElementProps extends Pick<TimeProps$1, 'dateTime' | 'id'> {
|
|
4915
5181
|
}
|
|
5182
|
+
/** @publicDocs */
|
|
4916
5183
|
interface TimeElement extends TimeElementProps, Omit<HTMLElement, 'id'> {
|
|
4917
5184
|
}
|
|
5185
|
+
/** @publicDocs */
|
|
4918
5186
|
interface TimeProps extends TimeElementProps {
|
|
4919
5187
|
}
|
|
4920
5188
|
declare global {
|
|
4921
5189
|
interface HTMLElementTagNameMap {
|
|
5190
|
+
[tagName$3]: TimeElement;
|
|
4922
5191
|
}
|
|
4923
5192
|
}
|
|
4924
5193
|
declare module 'preact' {
|
|
@@ -4930,10 +5199,13 @@ declare module 'preact' {
|
|
|
4930
5199
|
}
|
|
4931
5200
|
|
|
4932
5201
|
declare const tagName$2 = "s-tooltip";
|
|
5202
|
+
/** @publicDocs */
|
|
4933
5203
|
interface TooltipElementProps extends Pick<TooltipProps$1, 'id'> {
|
|
4934
5204
|
}
|
|
5205
|
+
/** @publicDocs */
|
|
4935
5206
|
interface TooltipElement extends TooltipElementProps {
|
|
4936
5207
|
}
|
|
5208
|
+
/** @publicDocs */
|
|
4937
5209
|
interface TooltipProps extends TooltipElementProps {
|
|
4938
5210
|
}
|
|
4939
5211
|
declare global {
|
|
@@ -4950,14 +5222,18 @@ declare module 'preact' {
|
|
|
4950
5222
|
}
|
|
4951
5223
|
|
|
4952
5224
|
declare const tagName$1 = "s-unordered-list";
|
|
5225
|
+
/** @publicDocs */
|
|
4953
5226
|
interface UnorderedListElementProps extends UnorderedListProps$1 {
|
|
4954
5227
|
}
|
|
5228
|
+
/** @publicDocs */
|
|
4955
5229
|
interface UnorderedListElement extends UnorderedListElementProps, Omit<HTMLElement, 'id'> {
|
|
4956
5230
|
}
|
|
5231
|
+
/** @publicDocs */
|
|
4957
5232
|
interface UnorderedListProps extends UnorderedListElementProps {
|
|
4958
5233
|
}
|
|
4959
5234
|
declare global {
|
|
4960
5235
|
interface HTMLElementTagNameMap {
|
|
5236
|
+
[tagName$1]: UnorderedListElement;
|
|
4961
5237
|
}
|
|
4962
5238
|
}
|
|
4963
5239
|
declare module 'preact' {
|
|
@@ -4969,16 +5245,20 @@ declare module 'preact' {
|
|
|
4969
5245
|
}
|
|
4970
5246
|
|
|
4971
5247
|
declare const tagName = "s-url-field";
|
|
5248
|
+
/** @publicDocs */
|
|
4972
5249
|
interface URLFieldElementProps extends Pick<URLFieldProps, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
4973
5250
|
}
|
|
5251
|
+
/** @publicDocs */
|
|
4974
5252
|
interface UrlFieldEvents extends Pick<URLFieldProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4975
5253
|
}
|
|
5254
|
+
/** @publicDocs */
|
|
4976
5255
|
interface UrlFieldElement extends URLFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4977
5256
|
onblur: UrlFieldEvents['onBlur'];
|
|
4978
5257
|
onchange: UrlFieldEvents['onChange'];
|
|
4979
5258
|
onfocus: UrlFieldEvents['onFocus'];
|
|
4980
5259
|
oninput: UrlFieldEvents['onInput'];
|
|
4981
5260
|
}
|
|
5261
|
+
/** @publicDocs */
|
|
4982
5262
|
interface UrlFieldProps extends URLFieldElementProps, UrlFieldEvents {
|
|
4983
5263
|
}
|
|
4984
5264
|
declare global {
|