@shopify/ui-extensions 2026.4.0-rc.3 → 2026.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +2 -0
- package/build/cjs/surfaces/checkout/preact/app-metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/attributes.js +3 -0
- package/build/cjs/surfaces/checkout/preact/billing-address.js +1 -0
- package/build/cjs/surfaces/checkout/preact/buyer-identity.js +4 -0
- package/build/cjs/surfaces/checkout/preact/buyer-journey.js +5 -0
- package/build/cjs/surfaces/checkout/preact/capabilities.js +2 -0
- package/build/cjs/surfaces/checkout/preact/cart-line-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cart-lines.js +2 -0
- package/build/cjs/surfaces/checkout/preact/checkout-settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/checkout-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/cost.js +4 -0
- package/build/cjs/surfaces/checkout/preact/country.js +1 -0
- package/build/cjs/surfaces/checkout/preact/currency.js +1 -0
- package/build/cjs/surfaces/checkout/preact/customer-privacy.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-list-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-group.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/delivery-selection-groups.js +1 -0
- package/build/cjs/surfaces/checkout/preact/discounts.js +3 -0
- package/build/cjs/surfaces/checkout/preact/extension-editor.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension-language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/extension.js +2 -0
- package/build/cjs/surfaces/checkout/preact/gift-cards.js +2 -0
- package/build/cjs/surfaces/checkout/preact/instructions.js +1 -0
- package/build/cjs/surfaces/checkout/preact/language.js +1 -0
- package/build/cjs/surfaces/checkout/preact/localized-fields.js +2 -0
- package/build/cjs/surfaces/checkout/preact/market.js +1 -0
- package/build/cjs/surfaces/checkout/preact/metafields.js +1 -0
- package/build/cjs/surfaces/checkout/preact/note.js +2 -0
- package/build/cjs/surfaces/checkout/preact/payment-method.js +3 -0
- package/build/cjs/surfaces/checkout/preact/payment-options.js +2 -0
- package/build/cjs/surfaces/checkout/preact/pickup-location-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/redeemable.js +1 -0
- package/build/cjs/surfaces/checkout/preact/session-token.js +1 -0
- package/build/cjs/surfaces/checkout/preact/settings.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shipping-address.js +2 -0
- package/build/cjs/surfaces/checkout/preact/shipping-option-target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/shop.js +1 -0
- package/build/cjs/surfaces/checkout/preact/storage.js +1 -0
- package/build/cjs/surfaces/checkout/preact/subscription.js +1 -0
- package/build/cjs/surfaces/checkout/preact/target.js +1 -0
- package/build/cjs/surfaces/checkout/preact/timezone.js +1 -0
- package/build/cjs/surfaces/checkout/preact/translate.js +1 -0
- package/build/cjs/surfaces/checkout/shared.js +3 -16
- package/build/cjs/surfaces/checkout/style/style.js +1 -0
- package/build/cjs/surfaces/point-of-sale/types/storage.js +4 -0
- package/build/esm/surfaces/checkout/preact/api.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/app-metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/attributes.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/billing-address.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/buyer-identity.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +5 -0
- package/build/esm/surfaces/checkout/preact/capabilities.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/cart-line-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cart-lines.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/checkout-settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/checkout-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/cost.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/country.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/currency.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/customer-privacy.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-list-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-group.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/delivery-selection-groups.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/discounts.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/extension-editor.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension-language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/extension.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/gift-cards.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/instructions.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/language.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/localized-fields.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/market.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/metafields.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/note.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/payment-method.mjs +3 -0
- package/build/esm/surfaces/checkout/preact/payment-options.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/pickup-location-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/redeemable.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/session-token.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/settings.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shipping-address.mjs +2 -0
- package/build/esm/surfaces/checkout/preact/shipping-option-target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/shop.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/storage.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/subscription.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/target.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/timezone.mjs +1 -0
- package/build/esm/surfaces/checkout/preact/translate.mjs +1 -0
- package/build/esm/surfaces/checkout/shared.mjs +3 -16
- package/build/esm/surfaces/checkout/style/style.mjs +1 -0
- package/build/esm/surfaces/point-of-sale/types/storage.mjs +4 -0
- package/build/esnext/surfaces/checkout/preact/api.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/app-metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/attributes.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/billing-address.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/buyer-identity.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +5 -0
- package/build/esnext/surfaces/checkout/preact/capabilities.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/cart-line-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cart-lines.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/checkout-settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/checkout-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/cost.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/country.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/currency.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/customer-privacy.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-list-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-group.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/delivery-selection-groups.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/discounts.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/extension-editor.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension-language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/extension.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/gift-cards.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/instructions.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/language.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/localized-fields.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/market.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/metafields.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/note.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/payment-method.esnext +3 -0
- package/build/esnext/surfaces/checkout/preact/payment-options.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/pickup-location-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/redeemable.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/session-token.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/settings.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shipping-address.esnext +2 -0
- package/build/esnext/surfaces/checkout/preact/shipping-option-target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/shop.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/storage.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/target.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/timezone.esnext +1 -0
- package/build/esnext/surfaces/checkout/preact/translate.esnext +1 -0
- package/build/esnext/surfaces/checkout/shared.esnext +3 -16
- package/build/esnext/surfaces/checkout/style/style.esnext +1 -0
- package/build/esnext/surfaces/point-of-sale/types/storage.esnext +4 -0
- package/build/ts/shared.d.ts +32 -12
- package/build/ts/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/action/action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/block/block.d.ts +2 -0
- package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +7 -4
- package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +3 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +1 -0
- package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +7 -3
- package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +13 -7
- package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/generated/generated.d.ts +62 -0
- package/build/ts/surfaces/admin/api/generated/generated.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts +24 -0
- package/build/ts/surfaces/admin/api/intents/intent-render.d.ts.map +1 -0
- package/build/ts/surfaces/admin/api/intents/intents.d.ts +44 -8
- package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +5 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +8 -3
- package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +1 -0
- package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/picker/picker.d.ts +15 -7
- package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +4 -2
- package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +1 -0
- package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +36 -17
- package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/shared.d.ts +2 -0
- package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts +3 -0
- package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts +4 -1
- package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/standard/storage.d.ts +4 -0
- package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +2 -0
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Badge.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Banner.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Box.d.ts +14 -0
- package/build/ts/surfaces/admin/components/Button.d.ts +14 -0
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Choice.d.ts +10 -2
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/build/ts/surfaces/admin/components/Clickable.d.ts +16 -4
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/ColorField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/build/ts/surfaces/admin/components/DateField.d.ts +11 -0
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +7 -0
- package/build/ts/surfaces/admin/components/DropZone.d.ts +8 -4
- package/build/ts/surfaces/admin/components/EmailField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Form.d.ts +10 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Grid.d.ts +16 -0
- package/build/ts/surfaces/admin/components/GridItem.d.ts +15 -0
- package/build/ts/surfaces/admin/components/Heading.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Icon.d.ts +6 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +15 -0
- package/build/ts/surfaces/admin/components/Link.d.ts +13 -3
- package/build/ts/surfaces/admin/components/ListItem.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Menu.d.ts +11 -0
- package/build/ts/surfaces/admin/components/Modal.d.ts +8 -4
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/build/ts/surfaces/admin/components/NumberField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/Option.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Page.d.ts +4 -2
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/build/ts/surfaces/admin/components/SearchField.d.ts +13 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Select.d.ts +14 -2
- package/build/ts/surfaces/admin/components/Spinner.d.ts +7 -0
- package/build/ts/surfaces/admin/components/Stack.d.ts +16 -0
- package/build/ts/surfaces/admin/components/Switch.d.ts +12 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +15 -0
- package/build/ts/surfaces/admin/components/TableBody.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableCell.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/TableRow.d.ts +8 -0
- package/build/ts/surfaces/admin/components/Text.d.ts +19 -0
- package/build/ts/surfaces/admin/components/TextArea.d.ts +12 -0
- package/build/ts/surfaces/admin/components/TextField.d.ts +13 -0
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +12 -0
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +267 -0
- package/build/ts/surfaces/admin/extension-targets.d.ts +8 -1
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +61 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +3 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +2 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +1 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +5 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +258 -122
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/docs.d.ts +33 -6
- package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +12 -5
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +4 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +7 -0
- package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shared.d.ts +79 -31
- package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +6 -4
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +18 -12
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +659 -425
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/checkout/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/checkout/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/checkout/components/Box.d.ts +50 -0
- package/build/ts/surfaces/checkout/components/Button.d.ts +10 -3
- package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/checkout/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/checkout/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/checkout/components/Details.d.ts +13 -8
- package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Form.d.ts +9 -1
- package/build/ts/surfaces/checkout/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/checkout/components/Heading.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/checkout/components/Image.d.ts +43 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +10 -3
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Option.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/checkout/components/Progress.d.ts +27 -0
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +55 -0
- package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +14 -6
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/checkout/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/checkout/components/Text.d.ts +18 -1
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/checkout/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/Time.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/checkout/components/components.d.ts +575 -297
- package/build/ts/surfaces/checkout/extension-targets.d.ts +13 -0
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/globals.d.ts +1 -0
- package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/api.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/app-metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/attributes.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/billing-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +5 -0
- package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/capabilities.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/cart-lines.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/checkout-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/cost.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/cost.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/country.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/currency.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/currency.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-group.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/discounts.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/discounts.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-editor.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/extension-language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/extension.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/extension.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/gift-cards.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/instructions.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/instructions.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/language.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/language.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/localized-fields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/market.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/metafields.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/metafields.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/note.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/note.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts +3 -0
- package/build/ts/surfaces/checkout/preact/payment-method.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/payment-options.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/redeemable.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/session-token.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/session-token.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/settings.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/settings.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts +2 -0
- package/build/ts/surfaces/checkout/preact/shipping-address.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/shop.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/shop.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/storage.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/storage.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/target.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/target.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/timezone.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/timezone.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/translate.d.ts +1 -0
- package/build/ts/surfaces/checkout/preact/translate.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +11 -19
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/style.d.ts +1 -0
- package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/style/types.d.ts +20 -8
- package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +2 -1
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +3 -0
- package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/docs.d.ts +239 -17
- package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +453 -296
- package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts +209 -138
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +84 -68
- package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +34 -9
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +44 -3
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +60 -9
- package/build/ts/surfaces/customer-account/components/Box.d.ts +50 -0
- package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -3
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Chat.d.ts +20 -0
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +2 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Clickable.d.ts +31 -7
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +15 -8
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +16 -2
- package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +24 -10
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +24 -6
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +21 -5
- package/build/ts/surfaces/customer-account/components/Details.d.ts +13 -8
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Form.d.ts +9 -1
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +137 -0
- package/build/ts/surfaces/customer-account/components/GridItem.d.ts +55 -0
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +49 -4
- package/build/ts/surfaces/customer-account/components/Image.d.ts +43 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -3
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +36 -8
- package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +52 -8
- package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Option.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +12 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
- package/build/ts/surfaces/customer-account/components/PressButton.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +27 -0
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +28 -3
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +55 -0
- package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +14 -6
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
- package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +16 -0
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +110 -0
- package/build/ts/surfaces/customer-account/components/Summary.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Switch.d.ts +10 -2
- package/build/ts/surfaces/customer-account/components/Text.d.ts +18 -1
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +16 -8
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +1 -0
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +18 -10
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +728 -718
- package/build/ts/surfaces/customer-account/components/components.d.ts +575 -297
- package/build/ts/surfaces/customer-account/components/shared.d.ts +23 -2
- package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/shared.ts +23 -5
- package/build/ts/surfaces/customer-account/extension-targets.d.ts +8 -0
- package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +1 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +9 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +10 -0
- package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +12 -1
- package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +3 -2
- package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +18 -0
- package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts +13 -0
- package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/device.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/money.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/order.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/product.d.ts +5 -0
- package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/session.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +3 -0
- package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts +4 -0
- package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +1 -0
- package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/shared.ts +32 -12
- package/src/surfaces/admin/api/action/action.ts +1 -0
- package/src/surfaces/admin/api/block/block.ts +2 -0
- package/src/surfaces/admin/api/checkout-rules/launch-options.ts +7 -3
- package/src/surfaces/admin/api/checkout-rules/metafields.ts +13 -6
- package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +3 -0
- package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +1 -0
- package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +7 -2
- package/src/surfaces/admin/api/discount-function-settings/metafields.ts +13 -6
- package/src/surfaces/admin/api/generated/generated.ts +76 -0
- package/src/surfaces/admin/api/intents/intent-render.ts +26 -0
- package/src/surfaces/admin/api/intents/intents.ts +49 -8
- package/src/surfaces/admin/api/order-routing-rule/data.ts +5 -2
- package/src/surfaces/admin/api/order-routing-rule/metafields.ts +8 -3
- package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +1 -0
- package/src/surfaces/admin/api/picker/picker.ts +15 -6
- package/src/surfaces/admin/api/print-action/print-action.ts +1 -0
- package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +4 -1
- package/src/surfaces/admin/api/purchase-options-card-action.ts +1 -0
- package/src/surfaces/admin/api/resource-picker/resource-picker.ts +36 -17
- package/src/surfaces/admin/api/shared.ts +2 -0
- package/src/surfaces/admin/api/standard/standard-rendering.ts +3 -0
- package/src/surfaces/admin/api/standard/standard.ts +4 -1
- package/src/surfaces/admin/api/standard/storage.ts +4 -0
- package/src/surfaces/admin/api.ts +7 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +6 -0
- package/src/surfaces/admin/components/AdminBlock.d.ts +6 -0
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
- package/src/surfaces/admin/components/Avatar.d.ts +9 -0
- package/src/surfaces/admin/components/Badge.d.ts +9 -0
- package/src/surfaces/admin/components/Banner.d.ts +11 -0
- package/src/surfaces/admin/components/Box.d.ts +14 -0
- package/src/surfaces/admin/components/Button.d.ts +14 -0
- package/src/surfaces/admin/components/ButtonGroup.d.ts +8 -0
- package/src/surfaces/admin/components/Checkbox.d.ts +12 -1
- package/src/surfaces/admin/components/Chip.d.ts +4 -2
- package/src/surfaces/admin/components/Choice.d.ts +10 -2
- package/src/surfaces/admin/components/ChoiceList.d.ts +12 -2
- package/src/surfaces/admin/components/Clickable.d.ts +16 -4
- package/src/surfaces/admin/components/ClickableChip.d.ts +11 -0
- package/src/surfaces/admin/components/ColorField.d.ts +12 -0
- package/src/surfaces/admin/components/ColorPicker.d.ts +9 -0
- package/src/surfaces/admin/components/DateField.d.ts +11 -0
- package/src/surfaces/admin/components/DatePicker.d.ts +10 -1
- package/src/surfaces/admin/components/Divider.d.ts +7 -0
- package/src/surfaces/admin/components/DropZone.d.ts +8 -4
- package/src/surfaces/admin/components/EmailField.d.ts +12 -0
- package/src/surfaces/admin/components/Form.d.ts +10 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +12 -0
- package/src/surfaces/admin/components/Grid.d.ts +16 -0
- package/src/surfaces/admin/components/GridItem.d.ts +15 -0
- package/src/surfaces/admin/components/Heading.d.ts +8 -0
- package/src/surfaces/admin/components/Icon.d.ts +6 -3
- package/src/surfaces/admin/components/Image.d.ts +15 -0
- package/src/surfaces/admin/components/Link.d.ts +13 -3
- package/src/surfaces/admin/components/ListItem.d.ts +8 -0
- package/src/surfaces/admin/components/Menu.d.ts +11 -0
- package/src/surfaces/admin/components/Modal.d.ts +8 -4
- package/src/surfaces/admin/components/MoneyField.d.ts +13 -0
- package/src/surfaces/admin/components/NumberField.d.ts +12 -0
- package/src/surfaces/admin/components/Option.d.ts +10 -2
- package/src/surfaces/admin/components/OptionGroup.d.ts +10 -2
- package/src/surfaces/admin/components/OrderedList.d.ts +8 -0
- package/src/surfaces/admin/components/Page.d.ts +4 -2
- package/src/surfaces/admin/components/Paragraph.d.ts +8 -0
- package/src/surfaces/admin/components/PasswordField.d.ts +12 -0
- package/src/surfaces/admin/components/QueryContainer.d.ts +8 -0
- package/src/surfaces/admin/components/SearchField.d.ts +13 -1
- package/src/surfaces/admin/components/Section.d.ts +9 -0
- package/src/surfaces/admin/components/Select.d.ts +14 -2
- package/src/surfaces/admin/components/Spinner.d.ts +7 -0
- package/src/surfaces/admin/components/Stack.d.ts +16 -0
- package/src/surfaces/admin/components/Switch.d.ts +12 -1
- package/src/surfaces/admin/components/Table.d.ts +15 -0
- package/src/surfaces/admin/components/TableBody.d.ts +8 -0
- package/src/surfaces/admin/components/TableCell.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeader.d.ts +9 -0
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
- package/src/surfaces/admin/components/TableRow.d.ts +8 -0
- package/src/surfaces/admin/components/Text.d.ts +19 -0
- package/src/surfaces/admin/components/TextArea.d.ts +12 -0
- package/src/surfaces/admin/components/TextField.d.ts +13 -0
- package/src/surfaces/admin/components/Thumbnail.d.ts +9 -0
- package/src/surfaces/admin/components/Tooltip.d.ts +11 -0
- package/src/surfaces/admin/components/URLField.d.ts +12 -0
- package/src/surfaces/admin/components/UnorderedList.d.ts +14 -0
- package/src/surfaces/admin/components/shared.d.ts +267 -0
- package/src/surfaces/admin/components.d.ts +700 -0
- package/src/surfaces/admin/extension-targets.ts +12 -0
- package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +2 -0
- package/src/surfaces/checkout/api/address-autocomplete/shared.ts +3 -0
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +2 -1
- package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +2 -0
- package/src/surfaces/checkout/api/announcement/announcement.ts +1 -0
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +5 -1
- package/src/surfaces/checkout/api/checkout/checkout.ts +258 -122
- package/src/surfaces/checkout/api/docs.ts +34 -1
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +12 -5
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +7 -0
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -2
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +4 -1
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +4 -1
- package/src/surfaces/checkout/api/redeemable/redeemable.ts +7 -0
- package/src/surfaces/checkout/api/shared.ts +79 -31
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +6 -4
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +18 -12
- package/src/surfaces/checkout/api/standard/standard.ts +661 -425
- package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +34 -9
- package/src/surfaces/checkout/components/Badge.d.ts +44 -3
- package/src/surfaces/checkout/components/Banner.d.ts +60 -9
- package/src/surfaces/checkout/components/Box.d.ts +50 -0
- package/src/surfaces/checkout/components/Button.d.ts +10 -3
- package/src/surfaces/checkout/components/Chat.d.ts +20 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +10 -2
- package/src/surfaces/checkout/components/Chip.d.ts +3 -3
- package/src/surfaces/checkout/components/Choice.d.ts +2 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +10 -2
- package/src/surfaces/checkout/components/Clickable.d.ts +31 -7
- package/src/surfaces/checkout/components/ClickableChip.d.ts +15 -8
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
- package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
- package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
- package/src/surfaces/checkout/components/DateField.d.ts +24 -6
- package/src/surfaces/checkout/components/DatePicker.d.ts +21 -5
- package/src/surfaces/checkout/components/Details.d.ts +13 -8
- package/src/surfaces/checkout/components/Divider.d.ts +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +15 -3
- package/src/surfaces/checkout/components/EmailField.d.ts +18 -10
- package/src/surfaces/checkout/components/Form.d.ts +9 -1
- package/src/surfaces/checkout/components/Grid.d.ts +137 -0
- package/src/surfaces/checkout/components/GridItem.d.ts +55 -0
- package/src/surfaces/checkout/components/Heading.d.ts +1 -0
- package/src/surfaces/checkout/components/Icon.d.ts +49 -4
- package/src/surfaces/checkout/components/Image.d.ts +43 -1
- package/src/surfaces/checkout/components/Link.d.ts +10 -3
- package/src/surfaces/checkout/components/ListItem.d.ts +1 -0
- package/src/surfaces/checkout/components/Map.d.ts +68 -6
- package/src/surfaces/checkout/components/MapMarker.d.ts +36 -8
- package/src/surfaces/checkout/components/Modal.d.ts +52 -8
- package/src/surfaces/checkout/components/MoneyField.d.ts +16 -8
- package/src/surfaces/checkout/components/NumberField.d.ts +18 -10
- package/src/surfaces/checkout/components/Option.d.ts +1 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/Paragraph.d.ts +12 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +18 -10
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
- package/src/surfaces/checkout/components/PhoneField.d.ts +18 -10
- package/src/surfaces/checkout/components/Popover.d.ts +39 -22
- package/src/surfaces/checkout/components/PressButton.d.ts +14 -6
- package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
- package/src/surfaces/checkout/components/Progress.d.ts +27 -0
- package/src/surfaces/checkout/components/QRCode.d.ts +28 -3
- package/src/surfaces/checkout/components/QueryContainer.d.ts +1 -0
- package/src/surfaces/checkout/components/ScrollBox.d.ts +55 -0
- package/src/surfaces/checkout/components/Section.d.ts +4 -0
- package/src/surfaces/checkout/components/Select.d.ts +14 -6
- package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
- package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
- package/src/surfaces/checkout/components/Spinner.d.ts +16 -0
- package/src/surfaces/checkout/components/Stack.d.ts +110 -0
- package/src/surfaces/checkout/components/Summary.d.ts +1 -0
- package/src/surfaces/checkout/components/Switch.d.ts +10 -2
- package/src/surfaces/checkout/components/Text.d.ts +18 -1
- package/src/surfaces/checkout/components/TextArea.d.ts +16 -8
- package/src/surfaces/checkout/components/TextField.d.ts +18 -10
- package/src/surfaces/checkout/components/Time.d.ts +1 -0
- package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
- package/src/surfaces/checkout/components/UnorderedList.d.ts +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +18 -10
- package/src/surfaces/checkout/components/components-shared.d.ts +728 -718
- package/src/surfaces/checkout/components/components.d.ts +575 -297
- package/src/surfaces/checkout/extension-targets.ts +13 -0
- package/src/surfaces/checkout/globals.ts +1 -0
- package/src/surfaces/checkout/preact/api.ts +2 -0
- package/src/surfaces/checkout/preact/app-metafields.ts +1 -0
- package/src/surfaces/checkout/preact/attributes.ts +3 -0
- package/src/surfaces/checkout/preact/billing-address.ts +1 -0
- package/src/surfaces/checkout/preact/buyer-identity.ts +4 -0
- package/src/surfaces/checkout/preact/buyer-journey.ts +5 -0
- package/src/surfaces/checkout/preact/capabilities.ts +2 -0
- package/src/surfaces/checkout/preact/cart-line-target.ts +1 -0
- package/src/surfaces/checkout/preact/cart-lines.ts +2 -0
- package/src/surfaces/checkout/preact/checkout-settings.ts +1 -0
- package/src/surfaces/checkout/preact/checkout-token.ts +1 -0
- package/src/surfaces/checkout/preact/cost.ts +4 -0
- package/src/surfaces/checkout/preact/country.ts +1 -0
- package/src/surfaces/checkout/preact/currency.ts +1 -0
- package/src/surfaces/checkout/preact/customer-privacy.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-list-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group-target.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-group.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-groups.ts +1 -0
- package/src/surfaces/checkout/preact/delivery-selection-groups.ts +1 -0
- package/src/surfaces/checkout/preact/discounts.ts +3 -0
- package/src/surfaces/checkout/preact/extension-editor.ts +1 -0
- package/src/surfaces/checkout/preact/extension-language.ts +1 -0
- package/src/surfaces/checkout/preact/extension.ts +2 -0
- package/src/surfaces/checkout/preact/gift-cards.ts +2 -0
- package/src/surfaces/checkout/preact/instructions.ts +1 -0
- package/src/surfaces/checkout/preact/language.ts +1 -0
- package/src/surfaces/checkout/preact/localized-fields.ts +2 -0
- package/src/surfaces/checkout/preact/market.ts +1 -0
- package/src/surfaces/checkout/preact/metafields.ts +1 -0
- package/src/surfaces/checkout/preact/note.ts +2 -0
- package/src/surfaces/checkout/preact/payment-method.ts +3 -0
- package/src/surfaces/checkout/preact/payment-options.ts +2 -0
- package/src/surfaces/checkout/preact/pickup-location-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/redeemable.ts +1 -0
- package/src/surfaces/checkout/preact/session-token.ts +1 -0
- package/src/surfaces/checkout/preact/settings.ts +1 -0
- package/src/surfaces/checkout/preact/shipping-address.ts +2 -0
- package/src/surfaces/checkout/preact/shipping-option-target.ts +1 -0
- package/src/surfaces/checkout/preact/shop.ts +1 -0
- package/src/surfaces/checkout/preact/storage.ts +1 -0
- package/src/surfaces/checkout/preact/subscription.ts +1 -0
- package/src/surfaces/checkout/preact/target.ts +1 -0
- package/src/surfaces/checkout/preact/timezone.ts +1 -0
- package/src/surfaces/checkout/preact/translate.ts +1 -0
- package/src/surfaces/checkout/shared.ts +11 -21
- package/src/surfaces/checkout/style/style.ts +1 -0
- package/src/surfaces/checkout/style/types.ts +20 -7
- package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +3 -0
- package/src/surfaces/customer-account/api/docs.ts +244 -19
- package/src/surfaces/customer-account/api/order-status/order-status.ts +460 -296
- package/src/surfaces/customer-account/api/shared.ts +210 -138
- package/src/surfaces/customer-account/api/standard-api/standard-api.ts +84 -68
- package/src/surfaces/customer-account/components/Avatar.d.ts +43 -15
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
- package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
- package/src/surfaces/customer-account/components/Page.d.ts +5 -5
- package/src/surfaces/customer-account/components/Section.d.ts +3 -7
- package/src/surfaces/customer-account/components/shared.ts +23 -5
- package/src/surfaces/customer-account/components.d.ts +93 -0
- package/src/surfaces/customer-account/extension-targets.ts +8 -0
- package/src/surfaces/point-of-sale/api/action-api/action-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/camera-api/camera-api.ts +4 -0
- package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +7 -0
- package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/device-api/device-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +9 -0
- package/src/surfaces/point-of-sale/api/order-api/order-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/pin-pad-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/print-api/print-api.ts +2 -0
- package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +10 -0
- package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +12 -1
- package/src/surfaces/point-of-sale/api/session-api/session-api.ts +5 -0
- package/src/surfaces/point-of-sale/api/standard/standard-api.ts +3 -0
- package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -0
- package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -0
- package/src/surfaces/point-of-sale/components/Badge.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Banner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Box.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Button.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Choice.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Divider.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/Embed.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Heading.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Icon.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Image.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/Link.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Modal.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Page.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Section.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Stack.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Switch.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tab.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabList.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Text.d.ts +5 -0
- package/src/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
- package/src/surfaces/point-of-sale/components/TextField.d.ts +7 -0
- package/src/surfaces/point-of-sale/components/Tile.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
- package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +3 -0
- package/src/surfaces/point-of-sale/components.d.ts +286 -0
- package/src/surfaces/point-of-sale/event/data/BaseApi.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/BaseData.ts +7 -2
- package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +2 -0
- package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +1 -0
- package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -0
- package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +1 -0
- package/src/surfaces/point-of-sale/extension-targets.ts +18 -0
- package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +1 -0
- package/src/surfaces/point-of-sale/types/cart.ts +13 -0
- package/src/surfaces/point-of-sale/types/country-code.ts +1 -0
- package/src/surfaces/point-of-sale/types/device.ts +1 -0
- package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +1 -0
- package/src/surfaces/point-of-sale/types/discount-allocation.ts +1 -0
- package/src/surfaces/point-of-sale/types/money.ts +2 -0
- package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/order.ts +2 -0
- package/src/surfaces/point-of-sale/types/paginated-result.ts +1 -0
- package/src/surfaces/point-of-sale/types/payment.ts +2 -0
- package/src/surfaces/point-of-sale/types/pin-pad.ts +5 -0
- package/src/surfaces/point-of-sale/types/product.ts +5 -0
- package/src/surfaces/point-of-sale/types/session.ts +1 -0
- package/src/surfaces/point-of-sale/types/shipping-line.ts +3 -0
- package/src/surfaces/point-of-sale/types/storage.ts +4 -0
- package/src/surfaces/point-of-sale/types/tax-line.ts +1 -0
- package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
|
@@ -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
|
*/
|
|
@@ -1356,7 +1392,7 @@ export interface InteractionProps {
|
|
|
1356
1392
|
/**
|
|
1357
1393
|
* ID of a component that should respond to activations (e.g. clicks) on this component.
|
|
1358
1394
|
*
|
|
1359
|
-
*
|
|
1395
|
+
* Pair with the `command` property to specify what action to perform on the target component.
|
|
1360
1396
|
*
|
|
1361
1397
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor
|
|
1362
1398
|
*/
|
|
@@ -1481,7 +1517,7 @@ export interface MultipleInputProps extends BaseInputProps {
|
|
|
1481
1517
|
*/
|
|
1482
1518
|
onInput?: (event: Event) => void;
|
|
1483
1519
|
/**
|
|
1484
|
-
* An array of
|
|
1520
|
+
* An array of `value` attributes for the currently selected options.
|
|
1485
1521
|
*
|
|
1486
1522
|
* This is a convenience prop for setting the `selected` prop on child options.
|
|
1487
1523
|
*/
|
|
@@ -1871,7 +1907,7 @@ interface ClickableProps$1 extends GlobalProps, BaseBoxProps, BaseClickableProps
|
|
|
1871
1907
|
/**
|
|
1872
1908
|
* Disables the clickable, meaning it cannot be clicked or receive focus.
|
|
1873
1909
|
*
|
|
1874
|
-
* In this state,
|
|
1910
|
+
* In this state, `click` won't fire.
|
|
1875
1911
|
* If the click event originates from a child element, the event will immediately stop propagating from this element.
|
|
1876
1912
|
*
|
|
1877
1913
|
* However, items within the clickable can still receive focus and be interacted with.
|
|
@@ -2058,9 +2094,7 @@ interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
|
2058
2094
|
*/
|
|
2059
2095
|
type?: "single" | "multiple" | "range";
|
|
2060
2096
|
/**
|
|
2061
|
-
*
|
|
2062
|
-
*
|
|
2063
|
-
* A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
|
|
2097
|
+
* Restricts which dates the user can select. Accepts a comma-separated list of dates and date ranges. Whitespace is allowed after commas.
|
|
2064
2098
|
*
|
|
2065
2099
|
* The default `''` allows all dates.
|
|
2066
2100
|
*
|
|
@@ -2111,7 +2145,7 @@ interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
|
|
|
2111
2145
|
*/
|
|
2112
2146
|
disallow?: string;
|
|
2113
2147
|
/**
|
|
2114
|
-
*
|
|
2148
|
+
* Restricts which days of the week the user can select. These intersect with the result of `allow` and `disallow`.
|
|
2115
2149
|
*
|
|
2116
2150
|
* A comma-separated list of days. Whitespace is allowed after commas.
|
|
2117
2151
|
*
|
|
@@ -2526,7 +2560,7 @@ interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, Bloc
|
|
|
2526
2560
|
*
|
|
2527
2561
|
* @default 'heading'
|
|
2528
2562
|
*
|
|
2529
|
-
* @implementation The `heading` role doesn
|
|
2563
|
+
* @implementation The `heading` role doesn’t need to be applied if
|
|
2530
2564
|
* the host applies it for you; for example, an HTML host rendering
|
|
2531
2565
|
* an `<h2>` element should not apply the `heading` role.
|
|
2532
2566
|
*/
|
|
@@ -2536,11 +2570,22 @@ interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor">
|
|
|
2536
2570
|
/**
|
|
2537
2571
|
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2538
2572
|
*
|
|
2573
|
+
* - `'auto'`: Inherits the tone from its parent context.
|
|
2574
|
+
* - `'neutral'`: Standard, non-semantic color for general-purpose icons.
|
|
2575
|
+
* - `'info'`: Informational content.
|
|
2576
|
+
* - `'success'`: Positive outcomes or confirmations.
|
|
2577
|
+
* - `'warning'`: Cautionary messages or alerts.
|
|
2578
|
+
* - `'critical'`: Errors, destructive actions, or urgent warnings.
|
|
2579
|
+
* - `'custom'`: Inherits a custom color from its parent element's CSS.
|
|
2580
|
+
*
|
|
2539
2581
|
* @default 'auto'
|
|
2540
2582
|
*/
|
|
2541
2583
|
tone?: ToneKeyword;
|
|
2542
2584
|
/**
|
|
2543
|
-
*
|
|
2585
|
+
* The color emphasis of the icon.
|
|
2586
|
+
*
|
|
2587
|
+
* - `'base'`: Standard color intensity.
|
|
2588
|
+
* - `'subdued'`: A lighter, less prominent appearance.
|
|
2544
2589
|
*
|
|
2545
2590
|
* @default 'base'
|
|
2546
2591
|
*/
|
|
@@ -2548,124 +2593,91 @@ interface IconProps$1 extends GlobalProps, Pick<InteractionProps, "interestFor">
|
|
|
2548
2593
|
/**
|
|
2549
2594
|
* Adjusts the size of the icon.
|
|
2550
2595
|
*
|
|
2596
|
+
* - `'small-200'`: Extra extra small.
|
|
2597
|
+
* - `'small-100'`: Extra small.
|
|
2598
|
+
* - `'small'`: Small.
|
|
2599
|
+
* - `'base'`: Standard size.
|
|
2600
|
+
* - `'large'`: Large.
|
|
2601
|
+
* - `'large-100'`: Extra large.
|
|
2602
|
+
*
|
|
2551
2603
|
* @default 'base'
|
|
2552
2604
|
*/
|
|
2553
2605
|
size?: SizeKeyword;
|
|
2606
|
+
/**
|
|
2607
|
+
* 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.
|
|
2608
|
+
*/
|
|
2554
2609
|
type?: IconType | AnyString;
|
|
2555
2610
|
}
|
|
2556
2611
|
export interface BaseImageProps {
|
|
2557
2612
|
/**
|
|
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.
|
|
2613
|
+
* 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
2614
|
*
|
|
2571
2615
|
* @default `''`
|
|
2572
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#alt
|
|
2573
2616
|
*/
|
|
2574
2617
|
alt?: string;
|
|
2575
2618
|
/**
|
|
2576
|
-
*
|
|
2577
|
-
*
|
|
2578
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#sizes
|
|
2619
|
+
* 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
2620
|
*/
|
|
2580
2621
|
sizes?: string;
|
|
2581
2622
|
/**
|
|
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
|
|
2623
|
+
* 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
2624
|
*/
|
|
2591
2625
|
src?: string;
|
|
2592
2626
|
/**
|
|
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
|
|
2627
|
+
* 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
2628
|
*/
|
|
2599
2629
|
srcSet?: string;
|
|
2600
2630
|
}
|
|
2601
2631
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
2602
2632
|
/**
|
|
2603
|
-
* Sets the semantic meaning of the
|
|
2604
|
-
* the role will be used by assistive technologies to help users
|
|
2605
|
-
* navigate the page.
|
|
2633
|
+
* 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
2634
|
*
|
|
2607
|
-
*
|
|
2635
|
+
* - `'img'`: Identifies the element as an image that conveys meaningful information to users.
|
|
2636
|
+
* - `'none'`: Completely hides the element and its content from assistive technologies.
|
|
2637
|
+
* - `'presentation'`: Removes semantic meaning, making the image purely decorative and ignored by screen readers.
|
|
2608
2638
|
*
|
|
2609
|
-
* @
|
|
2610
|
-
* the host applies it for you; for example, an HTML host rendering
|
|
2611
|
-
* an `<img>` element should not apply the `img` role.
|
|
2639
|
+
* @default 'img'
|
|
2612
2640
|
*/
|
|
2613
2641
|
accessibilityRole?: "img" | ExtractStrict<AccessibilityRole, "presentation" | "none">;
|
|
2614
2642
|
/**
|
|
2615
2643
|
* The displayed inline width of the image.
|
|
2616
2644
|
*
|
|
2617
|
-
* - `fill`:
|
|
2618
|
-
* - `auto`:
|
|
2645
|
+
* - `'fill'`: The image takes up 100% of the available inline size.
|
|
2646
|
+
* - `'auto'`: The image is displayed at its natural size.
|
|
2619
2647
|
*
|
|
2620
2648
|
* @default 'fill'
|
|
2621
|
-
*
|
|
2622
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#width
|
|
2623
2649
|
*/
|
|
2624
2650
|
inlineSize?: "fill" | "auto";
|
|
2625
2651
|
/**
|
|
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`.
|
|
2652
|
+
* 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
2653
|
*
|
|
2636
2654
|
* @default '1/1'
|
|
2637
|
-
*
|
|
2638
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/aspect-ratio
|
|
2639
2655
|
*/
|
|
2640
2656
|
aspectRatio?: `${number}${optionalSpace}/${optionalSpace}${number}` | `${number}`;
|
|
2641
2657
|
/**
|
|
2642
|
-
*
|
|
2643
|
-
* The image is positioned in the center of the container.
|
|
2658
|
+
* 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
2659
|
*
|
|
2645
|
-
*
|
|
2660
|
+
* - `'contain'`: Fits the entire image within the container, preserving aspect ratio. May leave empty space.
|
|
2661
|
+
* - `'cover'`: Fills the container while preserving aspect ratio, cropping the image if needed.
|
|
2646
2662
|
*
|
|
2647
|
-
* @
|
|
2663
|
+
* @default 'contain'
|
|
2648
2664
|
*/
|
|
2649
2665
|
objectFit?: "contain" | "cover";
|
|
2650
2666
|
/**
|
|
2651
|
-
*
|
|
2652
|
-
*
|
|
2653
|
-
* - `
|
|
2667
|
+
* When the image should be loaded.
|
|
2668
|
+
*
|
|
2669
|
+
* - `'eager'`: Loads the image immediately.
|
|
2670
|
+
* - `'lazy'`: Defers loading until the image is near the viewport.
|
|
2654
2671
|
*
|
|
2655
2672
|
* @default 'eager'
|
|
2656
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading
|
|
2657
2673
|
*/
|
|
2658
2674
|
loading?: "eager" | "lazy";
|
|
2659
2675
|
/**
|
|
2660
|
-
*
|
|
2661
|
-
*
|
|
2662
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2676
|
+
* A callback that's fired when the image has loaded successfully.
|
|
2663
2677
|
*/
|
|
2664
2678
|
onLoad?: (event: Event) => void;
|
|
2665
2679
|
/**
|
|
2666
|
-
*
|
|
2667
|
-
*
|
|
2668
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2680
|
+
* A callback that's fired when the image fails to load.
|
|
2669
2681
|
*/
|
|
2670
2682
|
onError?: (event: Event) => void;
|
|
2671
2683
|
}
|
|
@@ -2703,165 +2715,185 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
2703
2715
|
interface MapProps$1 extends GlobalProps, SizingProps {
|
|
2704
2716
|
/**
|
|
2705
2717
|
* 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
2718
|
*/
|
|
2709
2719
|
apiKey?: string;
|
|
2710
2720
|
/**
|
|
2711
|
-
*
|
|
2721
|
+
* The latitude of the map's center point, in degrees.
|
|
2712
2722
|
*
|
|
2713
2723
|
* @default 0
|
|
2714
2724
|
*/
|
|
2715
2725
|
latitude?: number;
|
|
2716
2726
|
/**
|
|
2717
|
-
*
|
|
2727
|
+
* The longitude of the map's center point, in degrees.
|
|
2718
2728
|
*
|
|
2719
2729
|
* @default 0
|
|
2720
2730
|
*/
|
|
2721
2731
|
longitude?: number;
|
|
2722
2732
|
/**
|
|
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.
|
|
2733
|
+
* A label that describes the purpose or contents of the map. When set, it will be announced to users using assistive technologies.
|
|
2726
2734
|
*/
|
|
2727
2735
|
accessibilityLabel?: string;
|
|
2728
2736
|
/**
|
|
2729
|
-
* The initial
|
|
2730
|
-
*
|
|
2731
|
-
* Valid zoom values are numbers from zero up to 18.
|
|
2732
|
-
* Larger zoom values correspond to a higher resolution.
|
|
2737
|
+
* The initial zoom level of the map. Valid values are numbers from 0 to 18.
|
|
2733
2738
|
*
|
|
2734
2739
|
* @default 4
|
|
2735
2740
|
*/
|
|
2736
2741
|
zoom?: number;
|
|
2737
2742
|
/**
|
|
2738
|
-
* The maximum zoom level
|
|
2739
|
-
*
|
|
2740
|
-
* Valid zoom values are numbers from zero up to 18.
|
|
2743
|
+
* The maximum zoom level the user can reach on the map. Valid values are numbers from 0 to 18.
|
|
2741
2744
|
*
|
|
2742
2745
|
* @default 18
|
|
2743
2746
|
*/
|
|
2744
2747
|
maxZoom?: number;
|
|
2745
2748
|
/**
|
|
2746
|
-
* The minimum zoom level
|
|
2747
|
-
*
|
|
2748
|
-
* Valid zoom values are numbers from zero up to 18.
|
|
2749
|
+
* The minimum zoom level the user can reach on the map. Valid values are numbers from 0 to 18.
|
|
2749
2750
|
*
|
|
2750
2751
|
* @default 0
|
|
2751
2752
|
*/
|
|
2752
2753
|
minZoom?: number;
|
|
2753
2754
|
/**
|
|
2754
|
-
*
|
|
2755
|
+
* A callback that's fired when the visible map boundaries change.
|
|
2755
2756
|
*/
|
|
2756
2757
|
onBoundsChange?: (event: MapBoundsChangeEvent) => void;
|
|
2757
2758
|
/**
|
|
2758
|
-
*
|
|
2759
|
+
* A callback that's fired when the map view changes, such as when the user pans or zooms.
|
|
2759
2760
|
*/
|
|
2760
2761
|
onViewChange?: (event: MapViewChangeEvent) => void;
|
|
2761
2762
|
/**
|
|
2762
|
-
*
|
|
2763
|
+
* A callback that's fired when the user clicks on the map.
|
|
2763
2764
|
*/
|
|
2764
2765
|
onClick?: (event: MapClickEvent) => void;
|
|
2765
2766
|
/**
|
|
2766
|
-
*
|
|
2767
|
+
* A callback that's fired when the user double-clicks on the map.
|
|
2767
2768
|
*/
|
|
2768
2769
|
onDblClick?: (event: MapDblClickEvent) => void;
|
|
2769
2770
|
}
|
|
2771
|
+
/**
|
|
2772
|
+
* A geographic coordinate pair representing a location on the map.
|
|
2773
|
+
*/
|
|
2770
2774
|
interface Location$1 {
|
|
2775
|
+
/**
|
|
2776
|
+
* The latitude of the location in degrees.
|
|
2777
|
+
*/
|
|
2771
2778
|
latitude?: number;
|
|
2779
|
+
/**
|
|
2780
|
+
* The longitude of the location in degrees.
|
|
2781
|
+
*/
|
|
2772
2782
|
longitude?: number;
|
|
2773
2783
|
}
|
|
2784
|
+
/**
|
|
2785
|
+
* The geographic boundaries of a visible map area.
|
|
2786
|
+
*/
|
|
2774
2787
|
export interface Bounds {
|
|
2788
|
+
/**
|
|
2789
|
+
* The north-east corner of the bounded area.
|
|
2790
|
+
*/
|
|
2775
2791
|
northEast?: Location$1;
|
|
2792
|
+
/**
|
|
2793
|
+
* The south-west corner of the bounded area.
|
|
2794
|
+
*/
|
|
2776
2795
|
southWest?: Location$1;
|
|
2777
2796
|
}
|
|
2797
|
+
/**
|
|
2798
|
+
* The event data for map view changes.
|
|
2799
|
+
*/
|
|
2778
2800
|
export interface MapViewChangeEvent extends Event {
|
|
2801
|
+
/**
|
|
2802
|
+
* The geographic location of the new map center.
|
|
2803
|
+
*/
|
|
2779
2804
|
location?: Location$1;
|
|
2805
|
+
/**
|
|
2806
|
+
* The current zoom level of the map after the view change.
|
|
2807
|
+
*/
|
|
2780
2808
|
zoom?: number;
|
|
2781
2809
|
}
|
|
2810
|
+
/**
|
|
2811
|
+
* The event data for map bounds changes.
|
|
2812
|
+
*/
|
|
2782
2813
|
export interface MapBoundsChangeEvent extends Event {
|
|
2814
|
+
/**
|
|
2815
|
+
* The geographic boundaries of the visible map area after the change.
|
|
2816
|
+
*/
|
|
2783
2817
|
bounds?: Bounds;
|
|
2784
2818
|
}
|
|
2819
|
+
/**
|
|
2820
|
+
* The event data for map click events.
|
|
2821
|
+
*/
|
|
2785
2822
|
export interface MapClickEvent extends Event {
|
|
2823
|
+
/**
|
|
2824
|
+
* The geographic location of the click.
|
|
2825
|
+
*/
|
|
2786
2826
|
location?: Location$1;
|
|
2787
2827
|
}
|
|
2828
|
+
/**
|
|
2829
|
+
* The event data for map double-click events.
|
|
2830
|
+
*/
|
|
2788
2831
|
export interface MapDblClickEvent extends Event {
|
|
2832
|
+
/**
|
|
2833
|
+
* The geographic location of the double-click.
|
|
2834
|
+
*/
|
|
2789
2835
|
location?: Location$1;
|
|
2790
2836
|
}
|
|
2791
2837
|
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
2792
2838
|
/**
|
|
2793
|
-
*
|
|
2839
|
+
* The latitude of the marker location, in degrees.
|
|
2794
2840
|
*
|
|
2795
2841
|
* @default 0
|
|
2796
2842
|
*/
|
|
2797
2843
|
latitude?: number;
|
|
2798
2844
|
/**
|
|
2799
|
-
*
|
|
2845
|
+
* The longitude of the marker location, in degrees.
|
|
2800
2846
|
*
|
|
2801
2847
|
* @default 0
|
|
2802
2848
|
*/
|
|
2803
2849
|
longitude?: number;
|
|
2804
2850
|
/**
|
|
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.
|
|
2851
|
+
* A label that describes the purpose of the marker. When set, it will be announced to users using assistive technologies.
|
|
2808
2852
|
*/
|
|
2809
2853
|
accessibilityLabel?: string;
|
|
2810
2854
|
/**
|
|
2811
|
-
*
|
|
2855
|
+
* Whether the marker can be grouped into clusters when zoomed out.
|
|
2812
2856
|
*
|
|
2813
2857
|
* @default false
|
|
2814
2858
|
*/
|
|
2815
2859
|
clusterable?: boolean;
|
|
2816
2860
|
/**
|
|
2817
|
-
* The graphic to use as the marker.
|
|
2818
|
-
*
|
|
2819
|
-
* If unset, it will default to the provider’s default marker.
|
|
2861
|
+
* The graphic to use as the marker. If unset, the default marker from the map provider is used.
|
|
2820
2862
|
*/
|
|
2821
2863
|
graphic?: ComponentChildren;
|
|
2822
2864
|
/**
|
|
2823
|
-
*
|
|
2824
|
-
*
|
|
2825
|
-
* It does not trigger a click event on the map itself.
|
|
2865
|
+
* A callback that's fired when the marker is clicked. This does not trigger a click event on the map.
|
|
2826
2866
|
*/
|
|
2827
2867
|
onClick?: (event: Event) => void;
|
|
2828
2868
|
}
|
|
2829
2869
|
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ActionSlots {
|
|
2830
2870
|
/**
|
|
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.
|
|
2871
|
+
* 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
2872
|
*/
|
|
2837
2873
|
accessibilityLabel?: string;
|
|
2838
2874
|
/**
|
|
2839
|
-
* A title that describes the content of the
|
|
2840
|
-
*
|
|
2875
|
+
* A title that describes the content of the modal.
|
|
2841
2876
|
*/
|
|
2842
2877
|
heading?: string;
|
|
2843
2878
|
/**
|
|
2844
|
-
* Adjust the padding around the
|
|
2879
|
+
* Adjust the padding around the modal content.
|
|
2845
2880
|
*
|
|
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.
|
|
2881
|
+
* - `base`: Applies padding that is appropriate for the element.
|
|
2882
|
+
* - `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
2883
|
*
|
|
2852
2884
|
* @default 'base'
|
|
2853
2885
|
*/
|
|
2854
2886
|
padding?: "base" | "none";
|
|
2855
2887
|
/**
|
|
2856
|
-
* Adjust the size of the
|
|
2888
|
+
* Adjust the size of the modal.
|
|
2857
2889
|
*
|
|
2858
|
-
* `max`:
|
|
2890
|
+
* `max`: Expands the modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
2859
2891
|
*
|
|
2860
2892
|
* @default 'base'
|
|
2861
2893
|
*/
|
|
2862
2894
|
size?: SizeKeyword | "max";
|
|
2863
2895
|
/**
|
|
2864
|
-
* The content of the
|
|
2896
|
+
* The content of the modal.
|
|
2865
2897
|
*/
|
|
2866
2898
|
children?: ComponentChildren;
|
|
2867
2899
|
}
|
|
@@ -2923,24 +2955,20 @@ interface PasswordFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLe
|
|
|
2923
2955
|
export type PasswordAutocompleteField = ExtractStrict<AnyAutocompleteField, "new-password" | "current-password">;
|
|
2924
2956
|
interface PaymentIconProps$1 extends GlobalProps {
|
|
2925
2957
|
/**
|
|
2926
|
-
* The
|
|
2958
|
+
* The name of the payment method icon to display.
|
|
2927
2959
|
*
|
|
2928
2960
|
* @default ''
|
|
2929
2961
|
*/
|
|
2930
2962
|
type?: PaymentIconName | AnyString;
|
|
2931
2963
|
/**
|
|
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.
|
|
2964
|
+
* A label that describes the purpose or contents of the payment icon. When set, it will be announced to users using assistive technologies.
|
|
2937
2965
|
*/
|
|
2938
2966
|
accessibilityLabel?: string;
|
|
2939
2967
|
}
|
|
2940
2968
|
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
2969
|
interface PopoverProps$1 extends GlobalProps, BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, SizingProps {
|
|
2942
2970
|
/**
|
|
2943
|
-
* The content
|
|
2971
|
+
* The content displayed within the popover, which appears in an overlay positioned relative to its trigger element.
|
|
2944
2972
|
*/
|
|
2945
2973
|
children?: ComponentChildren;
|
|
2946
2974
|
}
|
|
@@ -2962,25 +2990,28 @@ interface PressButtonProps$1 extends GlobalProps, Pick<ButtonProps$1, "accessibi
|
|
|
2962
2990
|
}
|
|
2963
2991
|
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2964
2992
|
/**
|
|
2965
|
-
*
|
|
2993
|
+
* The quantity badge displayed on the product thumbnail.
|
|
2966
2994
|
*/
|
|
2967
2995
|
totalItems?: number;
|
|
2968
2996
|
/**
|
|
2969
|
-
* Adjusts the size the product thumbnail image.
|
|
2997
|
+
* Adjusts the size of the product thumbnail image.
|
|
2998
|
+
*
|
|
2999
|
+
* - `'small-200'`: Extra extra small.
|
|
3000
|
+
* - `'small-100'`: Extra small.
|
|
3001
|
+
* - `'small'`: Small.
|
|
3002
|
+
* - `'base'`: Standard size.
|
|
3003
|
+
* - `'large'`: Large.
|
|
3004
|
+
* - `'large-100'`: Extra large.
|
|
2970
3005
|
*
|
|
2971
3006
|
* @default 'base'
|
|
2972
3007
|
*/
|
|
2973
3008
|
size?: SizeKeyword;
|
|
2974
3009
|
/**
|
|
2975
|
-
*
|
|
2976
|
-
*
|
|
2977
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
3010
|
+
* A callback that's fired when the thumbnail image has loaded successfully.
|
|
2978
3011
|
*/
|
|
2979
3012
|
onLoad?: (event: Event) => void;
|
|
2980
3013
|
/**
|
|
2981
|
-
*
|
|
2982
|
-
*
|
|
2983
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
3014
|
+
* A callback that's fired when the thumbnail image fails to load.
|
|
2984
3015
|
*/
|
|
2985
3016
|
onError?: (event: Event) => void;
|
|
2986
3017
|
}
|
|
@@ -3002,7 +3033,7 @@ interface ProgressProps$1 extends GlobalProps {
|
|
|
3002
3033
|
/**
|
|
3003
3034
|
* Specifies how much of the task has been completed.
|
|
3004
3035
|
*
|
|
3005
|
-
* It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted.
|
|
3036
|
+
* It must be a valid floating point number between `0` and `max`, or between `0` and `1` if `max` is omitted.
|
|
3006
3037
|
* If there is no value attribute, the progress bar is indeterminate;
|
|
3007
3038
|
* this indicates that an activity is ongoing with no indication of how long it is expected to take.
|
|
3008
3039
|
*
|
|
@@ -3016,7 +3047,7 @@ interface ProgressProps$1 extends GlobalProps {
|
|
|
3016
3047
|
/**
|
|
3017
3048
|
* This attribute describes how much work the task indicated by the progress element requires.
|
|
3018
3049
|
*
|
|
3019
|
-
* The `max` attribute, if present, must have a value greater than 0 and be a valid floating point number.
|
|
3050
|
+
* The `max` attribute, if present, must have a value greater than `0` and be a valid floating point number.
|
|
3020
3051
|
*
|
|
3021
3052
|
* @default 1
|
|
3022
3053
|
*
|
|
@@ -3026,46 +3057,39 @@ interface ProgressProps$1 extends GlobalProps {
|
|
|
3026
3057
|
}
|
|
3027
3058
|
interface QRCodeProps$1 extends GlobalProps {
|
|
3028
3059
|
/**
|
|
3029
|
-
*
|
|
3060
|
+
* The border style of the QR code.
|
|
3030
3061
|
*
|
|
3031
|
-
* `base`:
|
|
3032
|
-
* `none`:
|
|
3062
|
+
* - `'base'`: Applies a standard border.
|
|
3063
|
+
* - `'none'`: Removes the border.
|
|
3033
3064
|
*
|
|
3034
3065
|
* @default 'base'
|
|
3035
3066
|
*/
|
|
3036
3067
|
border?: "base" | "none";
|
|
3037
3068
|
/**
|
|
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.
|
|
3069
|
+
* 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
3070
|
*/
|
|
3042
3071
|
content?: string;
|
|
3043
3072
|
/**
|
|
3044
3073
|
* The displayed size of the QR code.
|
|
3045
3074
|
*
|
|
3046
|
-
* `fill`:
|
|
3047
|
-
* `base`:
|
|
3075
|
+
* - `'fill'`: The QR code takes up 100% of the available inline size and maintains a 1:1 aspect ratio.
|
|
3076
|
+
* - `'base'`: The QR code is displayed at its default size.
|
|
3048
3077
|
*
|
|
3049
3078
|
* @default 'base'
|
|
3050
3079
|
*/
|
|
3051
3080
|
size?: "base" | "fill";
|
|
3052
3081
|
/**
|
|
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.
|
|
3082
|
+
* A label that describes the purpose or contents of the QR code. When set, it will be announced to users using assistive technologies.
|
|
3056
3083
|
*
|
|
3057
3084
|
* @default 'QR code' (translated to the user's locale)
|
|
3058
3085
|
*/
|
|
3059
3086
|
accessibilityLabel?: string;
|
|
3060
3087
|
/**
|
|
3061
|
-
*
|
|
3062
|
-
* If an error occurs, the QR code and its child elements will not be displayed.
|
|
3088
|
+
* 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
3089
|
*/
|
|
3064
3090
|
onError?: (event: Event) => void;
|
|
3065
3091
|
/**
|
|
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.
|
|
3092
|
+
* 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
3093
|
*/
|
|
3070
3094
|
logo?: string;
|
|
3071
3095
|
}
|
|
@@ -3147,28 +3171,15 @@ interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteFi
|
|
|
3147
3171
|
}
|
|
3148
3172
|
interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEventProps, GlobalProps, ActionSlots {
|
|
3149
3173
|
/**
|
|
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.
|
|
3174
|
+
* 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
3175
|
*/
|
|
3156
3176
|
accessibilityLabel?: string;
|
|
3157
3177
|
/**
|
|
3158
|
-
* The content of the
|
|
3178
|
+
* The content of the sheet.
|
|
3159
3179
|
*/
|
|
3160
3180
|
children?: ComponentChildren;
|
|
3161
3181
|
/**
|
|
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.
|
|
3182
|
+
* 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
3183
|
*
|
|
3173
3184
|
* @default false
|
|
3174
3185
|
*/
|
|
@@ -3180,12 +3191,8 @@ interface SheetProps$1 extends BaseOverlayProps, BaseOverlayMethods, ToggleEvent
|
|
|
3180
3191
|
/**
|
|
3181
3192
|
* Adjust the padding of all edges.
|
|
3182
3193
|
*
|
|
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.
|
|
3194
|
+
* - `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.
|
|
3195
|
+
* - `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
3196
|
*
|
|
3190
3197
|
* @default 'base'
|
|
3191
3198
|
*/
|
|
@@ -3398,7 +3405,7 @@ interface TimeProps$1 extends GlobalProps {
|
|
|
3398
3405
|
}
|
|
3399
3406
|
interface TooltipProps$1 extends GlobalProps {
|
|
3400
3407
|
/**
|
|
3401
|
-
* The
|
|
3408
|
+
* The text or elements displayed inside the tooltip popup.
|
|
3402
3409
|
*/
|
|
3403
3410
|
children?: ComponentChildren;
|
|
3404
3411
|
}
|
|
@@ -3411,44 +3418,68 @@ export type URLAutocompleteField = ExtractStrict<AnyAutocompleteField, "url" | "
|
|
|
3411
3418
|
|
|
3412
3419
|
|
|
3413
3420
|
|
|
3421
|
+
/** @publicDocs */
|
|
3414
3422
|
type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3423
|
+
/** @publicDocs */
|
|
3415
3424
|
type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
3425
|
+
/** @publicDocs */
|
|
3416
3426
|
type ReducedJustifyContentKeyword = Extract<JustifyContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
3427
|
+
/** @publicDocs */
|
|
3417
3428
|
type ReducedJustifyItemsKeyword = Extract<JustifyItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
3429
|
+
/** @publicDocs */
|
|
3418
3430
|
type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
|
|
3431
|
+
/** @publicDocs */
|
|
3419
3432
|
type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
|
|
3433
|
+
/** @publicDocs */
|
|
3420
3434
|
type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
|
|
3421
3435
|
/**
|
|
3422
|
-
*
|
|
3436
|
+
* The base properties for elements that don't have children, providing essential attributes like keys and refs for component management.
|
|
3423
3437
|
*/
|
|
3424
3438
|
interface BaseElementProps<TClass = HTMLElement> {
|
|
3439
|
+
/**
|
|
3440
|
+
* A unique identifier for this element within its parent. Used by the rendering engine for efficient reconciliation when lists change.
|
|
3441
|
+
*/
|
|
3425
3442
|
key?: preact.Key;
|
|
3443
|
+
/**
|
|
3444
|
+
* 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.
|
|
3445
|
+
*/
|
|
3426
3446
|
ref?: preact.Ref<TClass>;
|
|
3447
|
+
/**
|
|
3448
|
+
* Assigns this element to a named slot in a parent component that uses slot-based composition patterns.
|
|
3449
|
+
*/
|
|
3427
3450
|
slot?: Lowercase<string>;
|
|
3428
3451
|
}
|
|
3429
3452
|
/**
|
|
3430
|
-
*
|
|
3453
|
+
* The base properties for elements that have children, extending `BaseElementProps` with children support.
|
|
3431
3454
|
*/
|
|
3432
3455
|
interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
3456
|
+
/**
|
|
3457
|
+
* The child elements to render within this component.
|
|
3458
|
+
*/
|
|
3433
3459
|
children?: preact.ComponentChildren;
|
|
3434
3460
|
}
|
|
3435
3461
|
/**
|
|
3436
|
-
*
|
|
3462
|
+
* 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
3463
|
*
|
|
3438
3464
|
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
3439
3465
|
*/
|
|
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"];
|
|
3466
|
+
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"];
|
|
3467
|
+
/** @publicDocs */
|
|
3441
3468
|
type ReducedIconTypes = (typeof CHECKOUT_AVAILABLE_ICONS)[number];
|
|
3442
3469
|
|
|
3443
3470
|
declare const tagName$Z = "s-abbreviation";
|
|
3471
|
+
/** @publicDocs */
|
|
3444
3472
|
interface AbbreviationElementProps extends Pick<AbbreviationProps$1, 'title' | 'id'> {
|
|
3445
3473
|
}
|
|
3474
|
+
/** @publicDocs */
|
|
3446
3475
|
interface AbbreviationElement extends AbbreviationElementProps, Omit<HTMLElement, 'id' | 'title'> {
|
|
3447
3476
|
}
|
|
3477
|
+
/** @publicDocs */
|
|
3448
3478
|
interface AbbreviationProps extends AbbreviationElementProps {
|
|
3449
3479
|
}
|
|
3450
3480
|
declare global {
|
|
3451
3481
|
interface HTMLElementTagNameMap {
|
|
3482
|
+
[tagName$Z]: AbbreviationElement;
|
|
3452
3483
|
}
|
|
3453
3484
|
}
|
|
3454
3485
|
declare module 'preact' {
|
|
@@ -3460,15 +3491,19 @@ declare module 'preact' {
|
|
|
3460
3491
|
}
|
|
3461
3492
|
|
|
3462
3493
|
declare const tagName$Y = "s-announcement";
|
|
3494
|
+
/** @publicDocs */
|
|
3463
3495
|
interface AnnouncementEvents extends Pick<AnnouncementProps$1, 'onAfterToggle' | 'onDismiss' | 'onToggle'> {
|
|
3464
3496
|
}
|
|
3497
|
+
/** @publicDocs */
|
|
3465
3498
|
interface AnnouncementElement extends AnnouncementMethods, Omit<HTMLElement, 'id' | 'ontoggle'> {
|
|
3466
3499
|
onaftertoggle?: AnnouncementEvents['onAfterToggle'];
|
|
3467
3500
|
ondismiss?: AnnouncementEvents['onDismiss'];
|
|
3468
3501
|
ontoggle?: AnnouncementEvents['onToggle'];
|
|
3469
3502
|
}
|
|
3503
|
+
/** @publicDocs */
|
|
3470
3504
|
interface AnnouncementProps extends AnnouncementEvents {
|
|
3471
3505
|
}
|
|
3506
|
+
/** @publicDocs */
|
|
3472
3507
|
interface AnnouncementMethods {
|
|
3473
3508
|
dismiss: () => void;
|
|
3474
3509
|
}
|
|
@@ -3486,14 +3521,17 @@ declare module 'preact' {
|
|
|
3486
3521
|
}
|
|
3487
3522
|
|
|
3488
3523
|
declare const tagName$X = "s-badge";
|
|
3524
|
+
/** @publicDocs */
|
|
3489
3525
|
interface BadgeElementProps extends Pick<BadgeProps$1, 'color' | 'icon' | 'iconPosition' | 'id' | 'size' | 'tone'> {
|
|
3490
3526
|
size?: Extract<BadgeProps$1['size'], 'small' | 'small-100' | 'base'>;
|
|
3491
3527
|
tone?: Extract<BadgeProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3492
3528
|
color?: Extract<BadgeProps$1['color'], 'base' | 'subdued'>;
|
|
3493
3529
|
icon?: '' | ReducedIconTypes;
|
|
3494
3530
|
}
|
|
3531
|
+
/** @publicDocs */
|
|
3495
3532
|
interface BadgeElement extends BadgeElementProps, Omit<HTMLElement, 'id'> {
|
|
3496
3533
|
}
|
|
3534
|
+
/** @publicDocs */
|
|
3497
3535
|
interface BadgeProps extends BadgeElementProps {
|
|
3498
3536
|
}
|
|
3499
3537
|
declare global {
|
|
@@ -3510,19 +3548,24 @@ declare module 'preact' {
|
|
|
3510
3548
|
}
|
|
3511
3549
|
|
|
3512
3550
|
declare const tagName$W = "s-banner";
|
|
3551
|
+
/** @publicDocs */
|
|
3513
3552
|
interface BannerElementProps extends Pick<BannerProps$1, 'collapsible' | 'dismissible' | 'heading' | 'hidden' | 'id' | 'tone'> {
|
|
3514
3553
|
tone?: Extract<BannerProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical'>;
|
|
3515
3554
|
}
|
|
3555
|
+
/** @publicDocs */
|
|
3516
3556
|
interface BannerEvents extends Pick<BannerProps$1, 'onAfterHide' | 'onDismiss'> {
|
|
3517
3557
|
}
|
|
3558
|
+
/** @publicDocs */
|
|
3518
3559
|
interface BannerElement extends BannerElementProps, Omit<HTMLElement, 'id' | 'title' | 'hidden'> {
|
|
3519
3560
|
onafterhide: BannerEvents['onAfterHide'];
|
|
3520
3561
|
ondismiss: BannerEvents['onDismiss'];
|
|
3521
3562
|
}
|
|
3563
|
+
/** @publicDocs */
|
|
3522
3564
|
interface BannerProps extends BannerElementProps, BannerEvents {
|
|
3523
3565
|
}
|
|
3524
3566
|
declare global {
|
|
3525
3567
|
interface HTMLElementTagNameMap {
|
|
3568
|
+
[tagName$W]: BannerElement;
|
|
3526
3569
|
}
|
|
3527
3570
|
}
|
|
3528
3571
|
declare module 'preact' {
|
|
@@ -3534,18 +3577,22 @@ declare module 'preact' {
|
|
|
3534
3577
|
}
|
|
3535
3578
|
|
|
3536
3579
|
declare const tagName$V = "s-box";
|
|
3580
|
+
/** @publicDocs */
|
|
3537
3581
|
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
3582
|
background?: Extract<BoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3539
3583
|
border?: BorderShorthand;
|
|
3540
3584
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
3541
3585
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<BoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
3542
3586
|
}
|
|
3587
|
+
/** @publicDocs */
|
|
3543
3588
|
interface BoxElement extends BoxElementProps, Omit<HTMLElement, 'id'> {
|
|
3544
3589
|
}
|
|
3590
|
+
/** @publicDocs */
|
|
3545
3591
|
interface BoxProps extends BoxElementProps {
|
|
3546
3592
|
}
|
|
3547
3593
|
declare global {
|
|
3548
3594
|
interface HTMLElementTagNameMap {
|
|
3595
|
+
[tagName$V]: BoxElement;
|
|
3549
3596
|
}
|
|
3550
3597
|
}
|
|
3551
3598
|
declare module 'preact' {
|
|
@@ -3557,21 +3604,26 @@ declare module 'preact' {
|
|
|
3557
3604
|
}
|
|
3558
3605
|
|
|
3559
3606
|
declare const tagName$U = "s-button";
|
|
3607
|
+
/** @publicDocs */
|
|
3560
3608
|
interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
|
|
3561
3609
|
target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
|
|
3562
3610
|
tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
3563
3611
|
type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
|
|
3564
3612
|
variant?: Extract<ButtonProps$1['variant'], 'auto' | 'primary' | 'secondary'>;
|
|
3565
3613
|
}
|
|
3614
|
+
/** @publicDocs */
|
|
3566
3615
|
interface ButtonEvents extends Pick<ButtonProps$1, 'onClick'> {
|
|
3567
3616
|
}
|
|
3617
|
+
/** @publicDocs */
|
|
3568
3618
|
interface ButtonElement extends ButtonElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
3569
3619
|
onclick: ButtonEvents['onClick'];
|
|
3570
3620
|
}
|
|
3621
|
+
/** @publicDocs */
|
|
3571
3622
|
interface ButtonProps extends ButtonElementProps, ButtonEvents {
|
|
3572
3623
|
}
|
|
3573
3624
|
declare global {
|
|
3574
3625
|
interface HTMLElementTagNameMap {
|
|
3626
|
+
[tagName$U]: ButtonElement;
|
|
3575
3627
|
}
|
|
3576
3628
|
}
|
|
3577
3629
|
declare module 'preact' {
|
|
@@ -3583,14 +3635,18 @@ declare module 'preact' {
|
|
|
3583
3635
|
}
|
|
3584
3636
|
|
|
3585
3637
|
declare const tagName$T = "s-checkbox";
|
|
3638
|
+
/** @publicDocs */
|
|
3586
3639
|
interface CheckboxElementProps extends Pick<CheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'required' | 'value'> {
|
|
3587
3640
|
command?: Extract<CheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3588
3641
|
}
|
|
3642
|
+
/** @publicDocs */
|
|
3589
3643
|
interface CheckboxEvents extends Pick<CheckboxProps$1, 'onChange'> {
|
|
3590
3644
|
}
|
|
3645
|
+
/** @publicDocs */
|
|
3591
3646
|
interface CheckboxElement extends CheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3592
3647
|
onchange: CheckboxEvents['onChange'];
|
|
3593
3648
|
}
|
|
3649
|
+
/** @publicDocs */
|
|
3594
3650
|
interface CheckboxProps extends CheckboxElementProps, CheckboxEvents {
|
|
3595
3651
|
}
|
|
3596
3652
|
declare global {
|
|
@@ -3607,10 +3663,13 @@ declare module 'preact' {
|
|
|
3607
3663
|
}
|
|
3608
3664
|
|
|
3609
3665
|
declare const tagName$S = "s-chip";
|
|
3666
|
+
/** @publicDocs */
|
|
3610
3667
|
interface ChipElementProps extends Pick<ChipProps$1, 'accessibilityLabel' | 'id'> {
|
|
3611
3668
|
}
|
|
3669
|
+
/** @publicDocs */
|
|
3612
3670
|
interface ChipProps extends ChipElementProps {
|
|
3613
3671
|
}
|
|
3672
|
+
/** @publicDocs */
|
|
3614
3673
|
interface ChipElement extends ChipProps, Omit<HTMLElement, 'id'> {
|
|
3615
3674
|
}
|
|
3616
3675
|
declare global {
|
|
@@ -3627,10 +3686,13 @@ declare module 'preact' {
|
|
|
3627
3686
|
}
|
|
3628
3687
|
|
|
3629
3688
|
declare const tagName$R = "s-choice";
|
|
3689
|
+
/** @publicDocs */
|
|
3630
3690
|
interface ChoiceElementProps extends Pick<ChoiceProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'error' | 'value'> {
|
|
3631
3691
|
}
|
|
3692
|
+
/** @publicDocs */
|
|
3632
3693
|
interface ChoiceElement extends ChoiceElementProps, Omit<HTMLElement, 'id'> {
|
|
3633
3694
|
}
|
|
3695
|
+
/** @publicDocs */
|
|
3634
3696
|
interface ChoiceProps extends ChoiceElementProps {
|
|
3635
3697
|
}
|
|
3636
3698
|
declare global {
|
|
@@ -3647,13 +3709,17 @@ declare module 'preact' {
|
|
|
3647
3709
|
}
|
|
3648
3710
|
|
|
3649
3711
|
declare const tagName$Q = "s-choice-list";
|
|
3712
|
+
/** @publicDocs */
|
|
3650
3713
|
interface ChoiceListElementProps extends Pick<ChoiceListProps$1, 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'multiple' | 'name' | 'values' | 'variant'> {
|
|
3651
3714
|
}
|
|
3715
|
+
/** @publicDocs */
|
|
3652
3716
|
interface ChoiceListEvents extends Pick<ChoiceListProps$1, 'onChange'> {
|
|
3653
3717
|
}
|
|
3718
|
+
/** @publicDocs */
|
|
3654
3719
|
interface ChoiceListElement extends ChoiceListElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3655
3720
|
onchange: ChoiceListEvents['onChange'];
|
|
3656
3721
|
}
|
|
3722
|
+
/** @publicDocs */
|
|
3657
3723
|
interface ChoiceListProps extends ChoiceListElementProps, ChoiceListEvents {
|
|
3658
3724
|
}
|
|
3659
3725
|
declare global {
|
|
@@ -3670,6 +3736,7 @@ declare module 'preact' {
|
|
|
3670
3736
|
}
|
|
3671
3737
|
|
|
3672
3738
|
declare const tagName$P = "s-clickable";
|
|
3739
|
+
/** @publicDocs */
|
|
3673
3740
|
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
3741
|
background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
3675
3742
|
border?: BorderShorthand;
|
|
@@ -3678,17 +3745,21 @@ interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLab
|
|
|
3678
3745
|
target?: Extract<ClickableProps$1['target'], 'auto' | '_blank'>;
|
|
3679
3746
|
type?: Extract<ClickableProps$1['type'], 'submit' | 'button'>;
|
|
3680
3747
|
}
|
|
3748
|
+
/** @publicDocs */
|
|
3681
3749
|
interface ClickableEvents extends Pick<ClickableProps$1, 'onBlur' | 'onClick' | 'onFocus'> {
|
|
3682
3750
|
}
|
|
3751
|
+
/** @publicDocs */
|
|
3683
3752
|
interface ClickableElement extends ClickableElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
3684
3753
|
onblur: ClickableEvents['onBlur'];
|
|
3685
3754
|
onclick: ClickableEvents['onClick'];
|
|
3686
3755
|
onfocus: ClickableEvents['onFocus'];
|
|
3687
3756
|
}
|
|
3757
|
+
/** @publicDocs */
|
|
3688
3758
|
interface ClickableProps extends ClickableElementProps, ClickableEvents {
|
|
3689
3759
|
}
|
|
3690
3760
|
declare global {
|
|
3691
3761
|
interface HTMLElementTagNameMap {
|
|
3762
|
+
[tagName$P]: ClickableElement;
|
|
3692
3763
|
}
|
|
3693
3764
|
}
|
|
3694
3765
|
declare module 'preact' {
|
|
@@ -3700,15 +3771,19 @@ declare module 'preact' {
|
|
|
3700
3771
|
}
|
|
3701
3772
|
|
|
3702
3773
|
declare const tagName$O = "s-clickable-chip";
|
|
3774
|
+
/** @publicDocs */
|
|
3703
3775
|
interface ClickableChipElementProps extends Pick<ClickableChipProps$1, 'accessibilityLabel' | 'disabled' | 'hidden' | 'href' | 'id' | 'removable'> {
|
|
3704
3776
|
}
|
|
3777
|
+
/** @publicDocs */
|
|
3705
3778
|
interface ClickableChipEvents extends Pick<ClickableChipProps$1, 'onAfterHide' | 'onClick' | 'onRemove'> {
|
|
3706
3779
|
}
|
|
3780
|
+
/** @publicDocs */
|
|
3707
3781
|
interface ClickableChipElement extends ClickableChipElementProps, Omit<HTMLElement, 'id' | 'hidden' | 'onclick'> {
|
|
3708
3782
|
onafterhide: ClickableChipEvents['onAfterHide'];
|
|
3709
3783
|
onclick: ClickableChipEvents['onClick'];
|
|
3710
3784
|
onremove: ClickableChipEvents['onRemove'];
|
|
3711
3785
|
}
|
|
3786
|
+
/** @publicDocs */
|
|
3712
3787
|
interface ClickableChipProps extends ClickableChipElementProps, ClickableChipEvents {
|
|
3713
3788
|
}
|
|
3714
3789
|
declare global {
|
|
@@ -3725,18 +3800,23 @@ declare module 'preact' {
|
|
|
3725
3800
|
}
|
|
3726
3801
|
|
|
3727
3802
|
declare const tagName$N = "s-clipboard-item";
|
|
3803
|
+
/** @publicDocs */
|
|
3728
3804
|
interface ClipboardItemElementProps extends Pick<ClipboardItemProps$1, 'id' | 'text'> {
|
|
3729
3805
|
}
|
|
3806
|
+
/** @publicDocs */
|
|
3730
3807
|
interface ClipboardItemEvents extends Pick<ClipboardItemProps$1, 'onCopy' | 'onCopyError'> {
|
|
3731
3808
|
}
|
|
3809
|
+
/** @publicDocs */
|
|
3732
3810
|
interface ClipboardItemElement extends ClipboardItemElementProps, Omit<HTMLElement, 'id' | 'oncopy'> {
|
|
3733
3811
|
oncopy: ClipboardItemEvents['onCopy'];
|
|
3734
3812
|
oncopyerror: ClipboardItemEvents['onCopyError'];
|
|
3735
3813
|
}
|
|
3814
|
+
/** @publicDocs */
|
|
3736
3815
|
interface ClipboardItemProps extends ClipboardItemElementProps, ClipboardItemEvents {
|
|
3737
3816
|
}
|
|
3738
3817
|
declare global {
|
|
3739
3818
|
interface HTMLElementTagNameMap {
|
|
3819
|
+
[tagName$N]: ClipboardItemElement;
|
|
3740
3820
|
}
|
|
3741
3821
|
}
|
|
3742
3822
|
declare module 'preact' {
|
|
@@ -3748,14 +3828,18 @@ declare module 'preact' {
|
|
|
3748
3828
|
}
|
|
3749
3829
|
|
|
3750
3830
|
declare const tagName$M = "s-consent-checkbox";
|
|
3831
|
+
/** @publicDocs */
|
|
3751
3832
|
interface ConsentCheckboxElementProps extends Pick<ConsentCheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'policy' | 'value'> {
|
|
3752
3833
|
command?: Extract<ConsentCheckboxProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
3753
3834
|
}
|
|
3835
|
+
/** @publicDocs */
|
|
3754
3836
|
interface ConsentCheckboxEvents extends Pick<CheckboxEvents, 'onChange'> {
|
|
3755
3837
|
}
|
|
3838
|
+
/** @publicDocs */
|
|
3756
3839
|
interface ConsentCheckboxElement extends ConsentCheckboxElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
3757
3840
|
onchange: ConsentCheckboxEvents['onChange'];
|
|
3758
3841
|
}
|
|
3842
|
+
/** @publicDocs */
|
|
3759
3843
|
interface ConsentCheckboxProps extends ConsentCheckboxElementProps, ConsentCheckboxEvents {
|
|
3760
3844
|
}
|
|
3761
3845
|
declare global {
|
|
@@ -3772,6 +3856,7 @@ declare module 'preact' {
|
|
|
3772
3856
|
}
|
|
3773
3857
|
|
|
3774
3858
|
declare const tagName$L = "s-phone-field";
|
|
3859
|
+
/** @publicDocs */
|
|
3775
3860
|
interface PhoneFieldElementProps extends Pick<PhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value' | 'type'> {
|
|
3776
3861
|
/**
|
|
3777
3862
|
* @deprecated Use `label` instead.
|
|
@@ -3779,14 +3864,17 @@ interface PhoneFieldElementProps extends Pick<PhoneFieldProps$1, 'autocomplete'
|
|
|
3779
3864
|
*/
|
|
3780
3865
|
placeholder?: string;
|
|
3781
3866
|
}
|
|
3867
|
+
/** @publicDocs */
|
|
3782
3868
|
interface PhoneFieldEvents extends Pick<PhoneFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3783
3869
|
}
|
|
3870
|
+
/** @publicDocs */
|
|
3784
3871
|
interface PhoneFieldElement extends PhoneFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3785
3872
|
onblur: PhoneFieldEvents['onBlur'];
|
|
3786
3873
|
onchange: PhoneFieldEvents['onChange'];
|
|
3787
3874
|
onfocus: PhoneFieldEvents['onFocus'];
|
|
3788
3875
|
oninput: PhoneFieldEvents['onInput'];
|
|
3789
3876
|
}
|
|
3877
|
+
/** @publicDocs */
|
|
3790
3878
|
interface PhoneFieldProps extends PhoneFieldElementProps, PhoneFieldEvents {
|
|
3791
3879
|
}
|
|
3792
3880
|
declare global {
|
|
@@ -3803,6 +3891,7 @@ declare module 'preact' {
|
|
|
3803
3891
|
}
|
|
3804
3892
|
|
|
3805
3893
|
declare const tagName$K = "s-consent-phone-field";
|
|
3894
|
+
/** @publicDocs */
|
|
3806
3895
|
interface ConsentPhoneFieldElementProps extends Pick<ConsentPhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'policy' | 'readOnly' | 'required' | 'type' | 'value'> {
|
|
3807
3896
|
/**
|
|
3808
3897
|
* @deprecated Use `label` instead.
|
|
@@ -3810,14 +3899,17 @@ interface ConsentPhoneFieldElementProps extends Pick<ConsentPhoneFieldProps$1, '
|
|
|
3810
3899
|
*/
|
|
3811
3900
|
placeholder?: string;
|
|
3812
3901
|
}
|
|
3902
|
+
/** @publicDocs */
|
|
3813
3903
|
interface ConsentPhoneFieldEvents extends Pick<PhoneFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3814
3904
|
}
|
|
3905
|
+
/** @publicDocs */
|
|
3815
3906
|
interface ConsentPhoneFieldElement extends ConsentPhoneFieldElementProps, Omit<ConsentPhoneFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3816
3907
|
onblur: ConsentPhoneFieldEvents['onBlur'];
|
|
3817
3908
|
onchange: ConsentPhoneFieldEvents['onChange'];
|
|
3818
3909
|
onfocus: ConsentPhoneFieldEvents['onFocus'];
|
|
3819
3910
|
oninput: ConsentPhoneFieldEvents['onInput'];
|
|
3820
3911
|
}
|
|
3912
|
+
/** @publicDocs */
|
|
3821
3913
|
interface ConsentPhoneFieldProps extends ConsentPhoneFieldElementProps, ConsentPhoneFieldEvents {
|
|
3822
3914
|
}
|
|
3823
3915
|
declare global {
|
|
@@ -3834,6 +3926,7 @@ declare module 'preact' {
|
|
|
3834
3926
|
}
|
|
3835
3927
|
|
|
3836
3928
|
declare const tagName$J = "s-date-field";
|
|
3929
|
+
/** @publicDocs */
|
|
3837
3930
|
interface DateFieldElementProps extends Pick<DateFieldProps$1, 'allow' | 'allowDays' | 'autocomplete' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'error' | 'id' | 'label' | 'name' | 'readOnly' | 'required' | 'value' | 'view'> {
|
|
3838
3931
|
/**
|
|
3839
3932
|
* @deprecated Use `label` instead.
|
|
@@ -3841,8 +3934,10 @@ interface DateFieldElementProps extends Pick<DateFieldProps$1, 'allow' | 'allowD
|
|
|
3841
3934
|
*/
|
|
3842
3935
|
placeholder?: string;
|
|
3843
3936
|
}
|
|
3937
|
+
/** @publicDocs */
|
|
3844
3938
|
interface DateFieldEvents extends Pick<DateFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'> {
|
|
3845
3939
|
}
|
|
3940
|
+
/** @publicDocs */
|
|
3846
3941
|
interface DateFieldElement extends DateFieldElementProps, Omit<DateFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onInvalid' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'oninvalid' | 'prefix'> {
|
|
3847
3942
|
onblur: DateFieldEvents['onBlur'];
|
|
3848
3943
|
onchange: DateFieldEvents['onChange'];
|
|
@@ -3851,6 +3946,7 @@ interface DateFieldElement extends DateFieldElementProps, Omit<DateFieldEvents,
|
|
|
3851
3946
|
oninvalid: DateFieldEvents['onInvalid'];
|
|
3852
3947
|
onviewchange: DateFieldEvents['onViewChange'];
|
|
3853
3948
|
}
|
|
3949
|
+
/** @publicDocs */
|
|
3854
3950
|
interface DateFieldProps extends DateFieldElementProps, DateFieldEvents {
|
|
3855
3951
|
}
|
|
3856
3952
|
declare global {
|
|
@@ -3867,10 +3963,13 @@ declare module 'preact' {
|
|
|
3867
3963
|
}
|
|
3868
3964
|
|
|
3869
3965
|
declare const tagName$I = "s-date-picker";
|
|
3966
|
+
/** @publicDocs */
|
|
3870
3967
|
interface DatePickerElementProps extends Pick<DatePickerProps$1, 'allow' | 'allowDays' | 'defaultValue' | 'defaultView' | 'disabled' | 'disallow' | 'disallowDays' | 'id' | 'name' | 'type' | 'value' | 'view'> {
|
|
3871
3968
|
}
|
|
3969
|
+
/** @publicDocs */
|
|
3872
3970
|
interface DatePickerEvents extends Pick<DatePickerProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'> {
|
|
3873
3971
|
}
|
|
3972
|
+
/** @publicDocs */
|
|
3874
3973
|
interface DatePickerElement extends DatePickerElementProps, Omit<DatePickerEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
3875
3974
|
onblur: DatePickerEvents['onBlur'];
|
|
3876
3975
|
onchange: DatePickerEvents['onChange'];
|
|
@@ -3878,6 +3977,7 @@ interface DatePickerElement extends DatePickerElementProps, Omit<DatePickerEvent
|
|
|
3878
3977
|
oninput: DatePickerEvents['onInput'];
|
|
3879
3978
|
onviewchange: DatePickerEvents['onViewChange'];
|
|
3880
3979
|
}
|
|
3980
|
+
/** @publicDocs */
|
|
3881
3981
|
interface DatePickerProps extends DatePickerElementProps, DatePickerEvents {
|
|
3882
3982
|
}
|
|
3883
3983
|
declare global {
|
|
@@ -3894,14 +3994,18 @@ declare module 'preact' {
|
|
|
3894
3994
|
}
|
|
3895
3995
|
|
|
3896
3996
|
declare const tagName$H = "s-details";
|
|
3997
|
+
/** @publicDocs */
|
|
3897
3998
|
interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'id' | 'open' | 'toggleTransition'> {
|
|
3898
3999
|
}
|
|
4000
|
+
/** @publicDocs */
|
|
3899
4001
|
interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle' | 'onAfterToggle'> {
|
|
3900
4002
|
}
|
|
4003
|
+
/** @publicDocs */
|
|
3901
4004
|
interface DetailsElement extends Omit<HTMLElement, 'ontoggle' | 'id'> {
|
|
3902
4005
|
ontoggle: DetailsEvents['onToggle'];
|
|
3903
4006
|
onaftertoggle: DetailsEvents['onAfterToggle'];
|
|
3904
4007
|
}
|
|
4008
|
+
/** @publicDocs */
|
|
3905
4009
|
interface DetailsProps extends DetailsElementProps, DetailsEvents {
|
|
3906
4010
|
}
|
|
3907
4011
|
declare global {
|
|
@@ -3918,10 +4022,13 @@ declare module 'preact' {
|
|
|
3918
4022
|
}
|
|
3919
4023
|
|
|
3920
4024
|
declare const tagName$G = "s-divider";
|
|
4025
|
+
/** @publicDocs */
|
|
3921
4026
|
interface DividerElementProps extends Pick<DividerProps$1, 'direction' | 'id'> {
|
|
3922
4027
|
}
|
|
4028
|
+
/** @publicDocs */
|
|
3923
4029
|
interface DividerElement extends DividerElementProps, Omit<HTMLElement, 'id'> {
|
|
3924
4030
|
}
|
|
4031
|
+
/** @publicDocs */
|
|
3925
4032
|
interface DividerProps extends DividerElementProps {
|
|
3926
4033
|
}
|
|
3927
4034
|
declare global {
|
|
@@ -3938,19 +4045,24 @@ declare module 'preact' {
|
|
|
3938
4045
|
}
|
|
3939
4046
|
|
|
3940
4047
|
declare const tagName$F = "s-drop-zone";
|
|
4048
|
+
/** @publicDocs */
|
|
3941
4049
|
interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required' | 'value'> {
|
|
3942
4050
|
}
|
|
4051
|
+
/** @publicDocs */
|
|
3943
4052
|
interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput' | 'onChange'> {
|
|
3944
4053
|
}
|
|
4054
|
+
/** @publicDocs */
|
|
3945
4055
|
interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput' | 'onchange'> {
|
|
3946
4056
|
ondroprejected: DropZoneEvents['onDropRejected'];
|
|
3947
4057
|
oninput: DropZoneEvents['onInput'];
|
|
3948
4058
|
onchange: DropZoneEvents['onChange'];
|
|
3949
4059
|
}
|
|
4060
|
+
/** @publicDocs */
|
|
3950
4061
|
interface DropZoneProps extends DropZoneElementProps, DropZoneEvents {
|
|
3951
4062
|
}
|
|
3952
4063
|
declare global {
|
|
3953
4064
|
interface HTMLElementTagNameMap {
|
|
4065
|
+
[tagName$F]: DropZoneElement;
|
|
3954
4066
|
}
|
|
3955
4067
|
}
|
|
3956
4068
|
declare module 'preact' {
|
|
@@ -3962,6 +4074,7 @@ declare module 'preact' {
|
|
|
3962
4074
|
}
|
|
3963
4075
|
|
|
3964
4076
|
declare const tagName$E = "s-email-field";
|
|
4077
|
+
/** @publicDocs */
|
|
3965
4078
|
interface EmailFieldElementProps extends Pick<EmailFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'maxLength' | 'minLength' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
3966
4079
|
/**
|
|
3967
4080
|
* @deprecated Use `label` instead.
|
|
@@ -3969,14 +4082,17 @@ interface EmailFieldElementProps extends Pick<EmailFieldProps$1, 'autocomplete'
|
|
|
3969
4082
|
*/
|
|
3970
4083
|
placeholder?: string;
|
|
3971
4084
|
}
|
|
4085
|
+
/** @publicDocs */
|
|
3972
4086
|
interface EmailFieldEvents extends Pick<EmailFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
3973
4087
|
}
|
|
4088
|
+
/** @publicDocs */
|
|
3974
4089
|
interface EmailFieldElement extends EmailFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
3975
4090
|
onblur: EmailFieldEvents['onBlur'];
|
|
3976
4091
|
onchange: EmailFieldEvents['onChange'];
|
|
3977
4092
|
onfocus: EmailFieldEvents['onFocus'];
|
|
3978
4093
|
oninput: EmailFieldEvents['onInput'];
|
|
3979
4094
|
}
|
|
4095
|
+
/** @publicDocs */
|
|
3980
4096
|
interface EmailFieldProps extends EmailFieldElementProps, EmailFieldEvents {
|
|
3981
4097
|
}
|
|
3982
4098
|
declare global {
|
|
@@ -3993,21 +4109,26 @@ declare module 'preact' {
|
|
|
3993
4109
|
}
|
|
3994
4110
|
|
|
3995
4111
|
declare const tagName$D = "s-form";
|
|
4112
|
+
/** @publicDocs */
|
|
3996
4113
|
interface FormElementProps extends Pick<FormProps$1, 'disabled' | 'id'> {
|
|
3997
4114
|
}
|
|
4115
|
+
/** @publicDocs */
|
|
3998
4116
|
interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
3999
4117
|
/**
|
|
4000
4118
|
* A callback that is run when the form is submitted.
|
|
4001
4119
|
*/
|
|
4002
4120
|
onSubmit?: () => void;
|
|
4003
4121
|
}
|
|
4122
|
+
/** @publicDocs */
|
|
4004
4123
|
interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
4005
4124
|
onsubmit: FormEvents['onSubmit'];
|
|
4006
4125
|
}
|
|
4126
|
+
/** @publicDocs */
|
|
4007
4127
|
interface FormProps extends FormElementProps, FormEvents {
|
|
4008
4128
|
}
|
|
4009
4129
|
declare global {
|
|
4010
4130
|
interface HTMLElementTagNameMap {
|
|
4131
|
+
[tagName$D]: FormElement;
|
|
4011
4132
|
}
|
|
4012
4133
|
}
|
|
4013
4134
|
declare module 'preact' {
|
|
@@ -4019,6 +4140,7 @@ declare module 'preact' {
|
|
|
4019
4140
|
}
|
|
4020
4141
|
|
|
4021
4142
|
declare const tagName$C = "s-grid-item";
|
|
4143
|
+
/** @publicDocs */
|
|
4022
4144
|
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
4145
|
background?: Extract<GridItemProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4024
4146
|
border?: BorderShorthand;
|
|
@@ -4026,8 +4148,10 @@ interface GridItemElementProps extends Pick<GridItemProps$1, 'accessibilityLabel
|
|
|
4026
4148
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4027
4149
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridItemProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4028
4150
|
}
|
|
4151
|
+
/** @publicDocs */
|
|
4029
4152
|
interface GridItemElement extends GridItemElementProps, Omit<HTMLElement, 'id'> {
|
|
4030
4153
|
}
|
|
4154
|
+
/** @publicDocs */
|
|
4031
4155
|
interface GridItemProps extends GridItemElementProps {
|
|
4032
4156
|
}
|
|
4033
4157
|
declare global {
|
|
@@ -4044,6 +4168,7 @@ declare module 'preact' {
|
|
|
4044
4168
|
}
|
|
4045
4169
|
|
|
4046
4170
|
declare const tagName$B = "s-grid";
|
|
4171
|
+
/** @publicDocs */
|
|
4047
4172
|
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
4173
|
alignContent?: MaybeResponsive<ReducedAlignContentKeyword | ''>;
|
|
4049
4174
|
alignItems?: MaybeResponsive<ReducedAlignItemsKeyword | ''>;
|
|
@@ -4057,8 +4182,10 @@ interface GridElementProps extends Pick<GridProps$1, 'accessibilityLabel' | 'acc
|
|
|
4057
4182
|
placeContent?: MaybeResponsive<`${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword>;
|
|
4058
4183
|
placeItems?: MaybeResponsive<`${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword>;
|
|
4059
4184
|
}
|
|
4185
|
+
/** @publicDocs */
|
|
4060
4186
|
interface GridElement extends GridElementProps, Omit<HTMLElement, 'id'> {
|
|
4061
4187
|
}
|
|
4188
|
+
/** @publicDocs */
|
|
4062
4189
|
interface GridProps extends GridElementProps {
|
|
4063
4190
|
}
|
|
4064
4191
|
declare global {
|
|
@@ -4075,14 +4202,18 @@ declare module 'preact' {
|
|
|
4075
4202
|
}
|
|
4076
4203
|
|
|
4077
4204
|
declare const tagName$A = "s-heading";
|
|
4205
|
+
/** @publicDocs */
|
|
4078
4206
|
interface HeadingElementProps extends Pick<HeadingProps$1, 'accessibilityRole' | 'id'> {
|
|
4079
4207
|
}
|
|
4208
|
+
/** @publicDocs */
|
|
4080
4209
|
interface HeadingElement extends HeadingElementProps, Omit<HTMLElement, 'id'> {
|
|
4081
4210
|
}
|
|
4211
|
+
/** @publicDocs */
|
|
4082
4212
|
interface HeadingProps extends HeadingElementProps {
|
|
4083
4213
|
}
|
|
4084
4214
|
declare global {
|
|
4085
4215
|
interface HTMLElementTagNameMap {
|
|
4216
|
+
[tagName$A]: HeadingElement;
|
|
4086
4217
|
}
|
|
4087
4218
|
}
|
|
4088
4219
|
declare module 'preact' {
|
|
@@ -4094,17 +4225,21 @@ declare module 'preact' {
|
|
|
4094
4225
|
}
|
|
4095
4226
|
|
|
4096
4227
|
declare const tagName$z = "s-icon";
|
|
4228
|
+
/** @publicDocs */
|
|
4097
4229
|
interface IconElementProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
4098
4230
|
tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
4099
4231
|
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
4100
4232
|
type?: '' | ReducedIconTypes;
|
|
4101
4233
|
}
|
|
4234
|
+
/** @publicDocs */
|
|
4102
4235
|
interface IconElement extends IconElementProps, Omit<HTMLElement, 'id'> {
|
|
4103
4236
|
}
|
|
4237
|
+
/** @publicDocs */
|
|
4104
4238
|
interface IconProps extends IconElementProps {
|
|
4105
4239
|
}
|
|
4106
4240
|
declare global {
|
|
4107
4241
|
interface HTMLElementTagNameMap {
|
|
4242
|
+
[tagName$z]: IconElement;
|
|
4108
4243
|
}
|
|
4109
4244
|
}
|
|
4110
4245
|
declare module 'preact' {
|
|
@@ -4116,17 +4251,21 @@ declare module 'preact' {
|
|
|
4116
4251
|
}
|
|
4117
4252
|
|
|
4118
4253
|
declare const tagName$y = "s-image";
|
|
4254
|
+
/** @publicDocs */
|
|
4119
4255
|
interface ImageElementProps extends Pick<ImageProps$1, 'accessibilityRole' | 'alt' | 'aspectRatio' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'id' | 'inlineSize' | 'loading' | 'objectFit' | 'sizes' | 'src' | 'srcSet'> {
|
|
4120
4256
|
border?: BorderShorthand;
|
|
4121
4257
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4122
4258
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ImageProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4123
4259
|
}
|
|
4260
|
+
/** @publicDocs */
|
|
4124
4261
|
interface ImageElement extends ImageElementProps, Omit<HTMLElement, 'id'> {
|
|
4125
4262
|
}
|
|
4263
|
+
/** @publicDocs */
|
|
4126
4264
|
interface ImageProps extends ImageElementProps {
|
|
4127
4265
|
}
|
|
4128
4266
|
declare global {
|
|
4129
4267
|
interface HTMLElementTagNameMap {
|
|
4268
|
+
[tagName$y]: ImageElement;
|
|
4130
4269
|
}
|
|
4131
4270
|
}
|
|
4132
4271
|
declare module 'preact' {
|
|
@@ -4138,19 +4277,24 @@ declare module 'preact' {
|
|
|
4138
4277
|
}
|
|
4139
4278
|
|
|
4140
4279
|
declare const tagName$x = "s-link";
|
|
4280
|
+
/** @publicDocs */
|
|
4141
4281
|
interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'interestFor' | 'lang' | 'target' | 'tone'> {
|
|
4142
4282
|
target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
|
|
4143
4283
|
tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
|
|
4144
4284
|
}
|
|
4285
|
+
/** @publicDocs */
|
|
4145
4286
|
interface LinkEvents extends Pick<LinkProps$1, 'onClick'> {
|
|
4146
4287
|
}
|
|
4288
|
+
/** @publicDocs */
|
|
4147
4289
|
interface LinkElement extends LinkElementProps, Omit<HTMLElement, 'id' | 'lang' | 'onclick'> {
|
|
4148
4290
|
onclick: LinkEvents['onClick'];
|
|
4149
4291
|
}
|
|
4292
|
+
/** @publicDocs */
|
|
4150
4293
|
interface LinkProps extends LinkElementProps, LinkEvents {
|
|
4151
4294
|
}
|
|
4152
4295
|
declare global {
|
|
4153
4296
|
interface HTMLElementTagNameMap {
|
|
4297
|
+
[tagName$x]: LinkElement;
|
|
4154
4298
|
}
|
|
4155
4299
|
}
|
|
4156
4300
|
declare module 'preact' {
|
|
@@ -4162,14 +4306,18 @@ declare module 'preact' {
|
|
|
4162
4306
|
}
|
|
4163
4307
|
|
|
4164
4308
|
declare const tagName$w = "s-list-item";
|
|
4309
|
+
/** @publicDocs */
|
|
4165
4310
|
interface ListItemElementProps extends Pick<ListItemProps$1, 'id'> {
|
|
4166
4311
|
}
|
|
4312
|
+
/** @publicDocs */
|
|
4167
4313
|
interface ListItemElement extends ListItemElementProps, Omit<HTMLElement, 'id'> {
|
|
4168
4314
|
}
|
|
4315
|
+
/** @publicDocs */
|
|
4169
4316
|
interface ListItemProps extends ListItemElementProps {
|
|
4170
4317
|
}
|
|
4171
4318
|
declare global {
|
|
4172
4319
|
interface HTMLElementTagNameMap {
|
|
4320
|
+
[tagName$w]: ListItemElement;
|
|
4173
4321
|
}
|
|
4174
4322
|
}
|
|
4175
4323
|
declare module 'preact' {
|
|
@@ -4181,14 +4329,32 @@ declare module 'preact' {
|
|
|
4181
4329
|
}
|
|
4182
4330
|
|
|
4183
4331
|
declare const tagName$v = "s-map-marker";
|
|
4332
|
+
/** @publicDocs */
|
|
4184
4333
|
interface MapMarkerElementProps extends Pick<MapMarkerProps$1, 'accessibilityLabel' | 'blockSize' | 'command' | 'commandFor' | 'clusterable' | 'inlineSize' | 'latitude' | 'longitude'> {
|
|
4334
|
+
/**
|
|
4335
|
+
* Sets the action the `commandFor` target should take when this component is activated. Learn more about the [`command` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command).
|
|
4336
|
+
*
|
|
4337
|
+
* - `--auto`: a default action for the target component.
|
|
4338
|
+
* - `--show`: shows the target component.
|
|
4339
|
+
* - `--hide`: hides the target component.
|
|
4340
|
+
* - `--toggle`: toggles the target component.
|
|
4341
|
+
*
|
|
4342
|
+
* @default '--auto'
|
|
4343
|
+
*/
|
|
4185
4344
|
command?: Extract<MapMarkerProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
4345
|
+
/**
|
|
4346
|
+
* The ID of the component to control when this component is activated. Pair with the `command` property to specify what action to perform on the target component. Learn more about the [`commandFor` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor).
|
|
4347
|
+
*/
|
|
4348
|
+
commandFor?: MapMarkerProps$1['commandFor'];
|
|
4186
4349
|
}
|
|
4350
|
+
/** @publicDocs */
|
|
4187
4351
|
interface MapMarkerEvents extends Pick<MapMarkerProps$1, 'onClick'> {
|
|
4188
4352
|
}
|
|
4353
|
+
/** @publicDocs */
|
|
4189
4354
|
interface MapMarkerElement extends MapMarkerElementProps, Omit<HTMLElement, 'id' | 'onclick'> {
|
|
4190
4355
|
onclick: MapMarkerEvents['onClick'];
|
|
4191
4356
|
}
|
|
4357
|
+
/** @publicDocs */
|
|
4192
4358
|
interface MapMarkerProps extends MapMarkerElementProps, MapMarkerEvents {
|
|
4193
4359
|
}
|
|
4194
4360
|
declare global {
|
|
@@ -4205,16 +4371,20 @@ declare module 'preact' {
|
|
|
4205
4371
|
}
|
|
4206
4372
|
|
|
4207
4373
|
declare const tagName$u = "s-map";
|
|
4374
|
+
/** @publicDocs */
|
|
4208
4375
|
interface MapElementProps extends Pick<MapProps$1, 'accessibilityLabel' | 'apiKey' | 'blockSize' | 'id' | 'inlineSize' | 'latitude' | 'longitude' | 'maxBlockSize' | 'maxInlineSize' | 'maxZoom' | 'minBlockSize' | 'minInlineSize' | 'minZoom' | 'zoom'> {
|
|
4209
4376
|
}
|
|
4377
|
+
/** @publicDocs */
|
|
4210
4378
|
interface MapEvents extends Pick<MapProps$1, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'> {
|
|
4211
4379
|
}
|
|
4380
|
+
/** @publicDocs */
|
|
4212
4381
|
interface MapElement extends MapElementProps, Omit<HTMLElement, 'id' | 'onclick' | 'ondblclick'> {
|
|
4213
4382
|
onboundschange: MapEvents['onBoundsChange'];
|
|
4214
4383
|
onclick: MapEvents['onClick'];
|
|
4215
4384
|
ondblclick: MapEvents['onDblClick'];
|
|
4216
4385
|
onviewchange: MapEvents['onViewChange'];
|
|
4217
4386
|
}
|
|
4387
|
+
/** @publicDocs */
|
|
4218
4388
|
interface MapProps extends MapElementProps, MapEvents {
|
|
4219
4389
|
}
|
|
4220
4390
|
declare global {
|
|
@@ -4231,19 +4401,34 @@ declare module 'preact' {
|
|
|
4231
4401
|
}
|
|
4232
4402
|
|
|
4233
4403
|
declare const tagName$t = "s-modal";
|
|
4404
|
+
/** @publicDocs */
|
|
4234
4405
|
interface ModalElementProps extends Pick<ModalProps$1, 'accessibilityLabel' | 'heading' | 'id' | 'padding' | 'size'> {
|
|
4406
|
+
/**
|
|
4407
|
+
* The size of the modal.
|
|
4408
|
+
*
|
|
4409
|
+
* - `'base'`: The default size, suitable for most use cases.
|
|
4410
|
+
* - `'small'`: A compact modal for simple confirmations or short messages.
|
|
4411
|
+
* - `'small-100'`: The smallest modal size.
|
|
4412
|
+
* - `'large'`: A large modal for complex content or forms.
|
|
4413
|
+
* - `'large-100'`: The largest fixed-size modal, providing maximum room for content.
|
|
4414
|
+
* - `'max'`: Expands the modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
4415
|
+
*
|
|
4416
|
+
* @default 'base'
|
|
4417
|
+
*/
|
|
4235
4418
|
size?: Extract<ModalProps$1['size'], 'small-100' | 'small' | 'base' | 'large-100' | 'large' | 'max'>;
|
|
4236
4419
|
}
|
|
4237
4420
|
interface ModalEvents extends Pick<ModalProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
4238
4421
|
}
|
|
4239
4422
|
interface ModalElementMethods extends Pick<ModalProps$1, 'hideOverlay'> {
|
|
4240
4423
|
}
|
|
4424
|
+
/** @publicDocs */
|
|
4241
4425
|
interface ModalElement extends ModalElementProps, ModalElementMethods, Omit<HTMLElement, 'id'> {
|
|
4242
4426
|
onafterhide: ModalEvents['onAfterHide'];
|
|
4243
4427
|
onaftershow: ModalEvents['onAfterShow'];
|
|
4244
4428
|
onhide: ModalEvents['onHide'];
|
|
4245
4429
|
onshow: ModalEvents['onShow'];
|
|
4246
4430
|
}
|
|
4431
|
+
/** @publicDocs */
|
|
4247
4432
|
interface ModalProps extends ModalElementProps, ModalEvents {
|
|
4248
4433
|
}
|
|
4249
4434
|
declare global {
|
|
@@ -4260,16 +4445,20 @@ declare module 'preact' {
|
|
|
4260
4445
|
}
|
|
4261
4446
|
|
|
4262
4447
|
declare const tagName$s = "s-money-field";
|
|
4448
|
+
/** @publicDocs */
|
|
4263
4449
|
interface MoneyFieldElementProps extends Pick<MoneyFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'max' | 'min' | 'name' | 'readOnly' | 'required' | 'step' | 'value'> {
|
|
4264
4450
|
}
|
|
4451
|
+
/** @publicDocs */
|
|
4265
4452
|
interface MoneyFieldEvents extends Pick<MoneyFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4266
4453
|
}
|
|
4454
|
+
/** @publicDocs */
|
|
4267
4455
|
interface MoneyFieldElement extends MoneyFieldElementProps {
|
|
4268
4456
|
onblur: MoneyFieldEvents['onBlur'];
|
|
4269
4457
|
onchange: MoneyFieldEvents['onChange'];
|
|
4270
4458
|
onfocus: MoneyFieldEvents['onFocus'];
|
|
4271
4459
|
oninput: MoneyFieldEvents['onInput'];
|
|
4272
4460
|
}
|
|
4461
|
+
/** @publicDocs */
|
|
4273
4462
|
interface MoneyFieldProps extends MoneyFieldElementProps, MoneyFieldEvents {
|
|
4274
4463
|
}
|
|
4275
4464
|
declare global {
|
|
@@ -4286,6 +4475,7 @@ declare module 'preact' {
|
|
|
4286
4475
|
}
|
|
4287
4476
|
|
|
4288
4477
|
declare const tagName$r = "s-number-field";
|
|
4478
|
+
/** @publicDocs */
|
|
4289
4479
|
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
4480
|
icon?: IconProps['type'];
|
|
4291
4481
|
/**
|
|
@@ -4294,14 +4484,17 @@ interface NumberFieldElementProps extends Pick<NumberFieldProps$1, 'autocomplete
|
|
|
4294
4484
|
*/
|
|
4295
4485
|
placeholder?: string;
|
|
4296
4486
|
}
|
|
4487
|
+
/** @publicDocs */
|
|
4297
4488
|
interface NumberFieldEvents extends Pick<NumberFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4298
4489
|
}
|
|
4490
|
+
/** @publicDocs */
|
|
4299
4491
|
interface NumberFieldElement extends NumberFieldElementProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4300
4492
|
onblur: NumberFieldEvents['onBlur'];
|
|
4301
4493
|
onchange: NumberFieldEvents['onChange'];
|
|
4302
4494
|
onfocus: NumberFieldEvents['onFocus'];
|
|
4303
4495
|
oninput: NumberFieldEvents['onInput'];
|
|
4304
4496
|
}
|
|
4497
|
+
/** @publicDocs */
|
|
4305
4498
|
interface NumberFieldProps extends NumberFieldElementProps, NumberFieldEvents {
|
|
4306
4499
|
}
|
|
4307
4500
|
declare global {
|
|
@@ -4318,10 +4511,13 @@ declare module 'preact' {
|
|
|
4318
4511
|
}
|
|
4319
4512
|
|
|
4320
4513
|
declare const tagName$q = "s-option";
|
|
4514
|
+
/** @publicDocs */
|
|
4321
4515
|
interface OptionElementProps extends Pick<OptionProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'value'> {
|
|
4322
4516
|
}
|
|
4517
|
+
/** @publicDocs */
|
|
4323
4518
|
interface OptionElement extends OptionElementProps, Omit<HTMLElement, 'id'> {
|
|
4324
4519
|
}
|
|
4520
|
+
/** @publicDocs */
|
|
4325
4521
|
interface OptionProps extends OptionElementProps {
|
|
4326
4522
|
}
|
|
4327
4523
|
declare global {
|
|
@@ -4338,14 +4534,18 @@ declare module 'preact' {
|
|
|
4338
4534
|
}
|
|
4339
4535
|
|
|
4340
4536
|
declare const tagName$p = "s-ordered-list";
|
|
4537
|
+
/** @publicDocs */
|
|
4341
4538
|
interface OrderedListElementProps extends OrderedListProps$1 {
|
|
4342
4539
|
}
|
|
4540
|
+
/** @publicDocs */
|
|
4343
4541
|
interface OrderedListElement extends OrderedListElementProps, Omit<HTMLElement, 'id'> {
|
|
4344
4542
|
}
|
|
4543
|
+
/** @publicDocs */
|
|
4345
4544
|
interface OrderedListProps extends OrderedListElementProps {
|
|
4346
4545
|
}
|
|
4347
4546
|
declare global {
|
|
4348
4547
|
interface HTMLElementTagNameMap {
|
|
4548
|
+
[tagName$p]: OrderedListElement;
|
|
4349
4549
|
}
|
|
4350
4550
|
}
|
|
4351
4551
|
declare module 'preact' {
|
|
@@ -4357,16 +4557,20 @@ declare module 'preact' {
|
|
|
4357
4557
|
}
|
|
4358
4558
|
|
|
4359
4559
|
declare const tagName$o = "s-paragraph";
|
|
4560
|
+
/** @publicDocs */
|
|
4360
4561
|
interface ParagraphElementProps extends Pick<ParagraphProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
4361
4562
|
color?: Extract<ParagraphProps$1['color'], 'subdued' | 'base'>;
|
|
4362
4563
|
tone?: Extract<ParagraphProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'custom'>;
|
|
4363
4564
|
}
|
|
4565
|
+
/** @publicDocs */
|
|
4364
4566
|
interface ParagraphElement extends ParagraphElementProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
|
|
4365
4567
|
}
|
|
4568
|
+
/** @publicDocs */
|
|
4366
4569
|
interface ParagraphProps extends ParagraphElementProps {
|
|
4367
4570
|
}
|
|
4368
4571
|
declare global {
|
|
4369
4572
|
interface HTMLElementTagNameMap {
|
|
4573
|
+
[tagName$o]: ParagraphElement;
|
|
4370
4574
|
}
|
|
4371
4575
|
}
|
|
4372
4576
|
declare module 'preact' {
|
|
@@ -4378,16 +4582,20 @@ declare module 'preact' {
|
|
|
4378
4582
|
}
|
|
4379
4583
|
|
|
4380
4584
|
declare const tagName$n = "s-password-field";
|
|
4585
|
+
/** @publicDocs */
|
|
4381
4586
|
interface PasswordFieldElementProps extends Pick<PasswordFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
4382
4587
|
}
|
|
4588
|
+
/** @publicDocs */
|
|
4383
4589
|
interface PasswordFieldEvents extends Pick<PasswordFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4384
4590
|
}
|
|
4591
|
+
/** @publicDocs */
|
|
4385
4592
|
interface PasswordFieldElement extends PasswordFieldProps, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4386
4593
|
onblur: PasswordFieldEvents['onBlur'];
|
|
4387
4594
|
onchange: PasswordFieldEvents['onChange'];
|
|
4388
4595
|
onfocus: PasswordFieldEvents['onFocus'];
|
|
4389
4596
|
oninput: PasswordFieldEvents['onInput'];
|
|
4390
4597
|
}
|
|
4598
|
+
/** @publicDocs */
|
|
4391
4599
|
interface PasswordFieldProps extends PasswordFieldElementProps, PasswordFieldEvents {
|
|
4392
4600
|
}
|
|
4393
4601
|
declare global {
|
|
@@ -4404,14 +4612,18 @@ declare module 'preact' {
|
|
|
4404
4612
|
}
|
|
4405
4613
|
|
|
4406
4614
|
declare const tagName$m = "s-payment-icon";
|
|
4615
|
+
/** @publicDocs */
|
|
4407
4616
|
interface PaymentIconElementProps extends PaymentIconProps$1 {
|
|
4408
4617
|
}
|
|
4618
|
+
/** @publicDocs */
|
|
4409
4619
|
interface PaymentIconElement extends PaymentIconElementProps, Omit<HTMLElement, 'id'> {
|
|
4410
4620
|
}
|
|
4621
|
+
/** @publicDocs */
|
|
4411
4622
|
interface PaymentIconProps extends PaymentIconElementProps {
|
|
4412
4623
|
}
|
|
4413
4624
|
declare global {
|
|
4414
4625
|
interface HTMLElementTagNameMap {
|
|
4626
|
+
[tagName$m]: PaymentIconElement;
|
|
4415
4627
|
}
|
|
4416
4628
|
}
|
|
4417
4629
|
declare module 'preact' {
|
|
@@ -4423,62 +4635,54 @@ declare module 'preact' {
|
|
|
4423
4635
|
}
|
|
4424
4636
|
|
|
4425
4637
|
declare const tagName$l = "s-popover";
|
|
4638
|
+
/** @publicDocs */
|
|
4426
4639
|
interface PopoverElementProps extends Pick<PopoverProps$1, 'id'> {
|
|
4427
4640
|
/**
|
|
4428
|
-
*
|
|
4429
|
-
*
|
|
4430
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/block-size
|
|
4641
|
+
* 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
4642
|
*
|
|
4432
4643
|
* @default 'auto'
|
|
4433
4644
|
*/
|
|
4434
4645
|
blockSize?: SizeUnitsOrAuto;
|
|
4435
4646
|
/**
|
|
4436
|
-
*
|
|
4437
|
-
*
|
|
4438
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
|
|
4647
|
+
* 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
4648
|
*
|
|
4440
4649
|
* @default 'auto'
|
|
4441
4650
|
*/
|
|
4442
4651
|
inlineSize?: SizeUnitsOrAuto;
|
|
4443
4652
|
/**
|
|
4444
|
-
*
|
|
4445
|
-
*
|
|
4446
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
|
|
4653
|
+
* 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
4654
|
*
|
|
4448
4655
|
* @default 'none'
|
|
4449
4656
|
*/
|
|
4450
4657
|
maxBlockSize?: SizeUnitsOrNone;
|
|
4451
4658
|
/**
|
|
4452
|
-
*
|
|
4453
|
-
*
|
|
4454
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
|
|
4659
|
+
* 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
4660
|
*
|
|
4456
4661
|
* @default 'none'
|
|
4457
4662
|
*/
|
|
4458
4663
|
maxInlineSize?: SizeUnitsOrNone;
|
|
4459
4664
|
/**
|
|
4460
|
-
*
|
|
4461
|
-
*
|
|
4462
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
|
|
4665
|
+
* 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
4666
|
*
|
|
4464
4667
|
* @default '0'
|
|
4465
4668
|
*/
|
|
4466
4669
|
minBlockSize?: SizeUnits;
|
|
4467
4670
|
/**
|
|
4468
|
-
*
|
|
4469
|
-
*
|
|
4470
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
|
|
4671
|
+
* 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
4672
|
*
|
|
4472
4673
|
* @default '0'
|
|
4473
4674
|
*/
|
|
4474
4675
|
minInlineSize?: SizeUnits;
|
|
4475
4676
|
}
|
|
4677
|
+
/** @publicDocs */
|
|
4476
4678
|
interface PopoverEvents extends Pick<PopoverProps$1, 'onHide' | 'onShow'> {
|
|
4477
4679
|
}
|
|
4680
|
+
/** @publicDocs */
|
|
4478
4681
|
interface PopoverElement extends Omit<PopoverProps, 'onHide' | 'onShow'>, Omit<HTMLElement, 'id'> {
|
|
4479
4682
|
onhide: PopoverProps['onHide'];
|
|
4480
4683
|
onshow: PopoverProps['onShow'];
|
|
4481
4684
|
}
|
|
4685
|
+
/** @publicDocs */
|
|
4482
4686
|
interface PopoverProps extends PopoverElementProps, PopoverEvents {
|
|
4483
4687
|
}
|
|
4484
4688
|
declare global {
|
|
@@ -4495,15 +4699,19 @@ declare module 'preact' {
|
|
|
4495
4699
|
}
|
|
4496
4700
|
|
|
4497
4701
|
declare const tagName$k = "s-press-button";
|
|
4702
|
+
/** @publicDocs */
|
|
4498
4703
|
interface PressButtonElementProps extends Pick<PressButtonProps$1, 'accessibilityLabel' | 'id' | 'inlineSize' | 'lang' | 'disabled' | 'loading' | 'pressed' | 'defaultPressed'> {
|
|
4499
4704
|
}
|
|
4705
|
+
/** @publicDocs */
|
|
4500
4706
|
interface PressButtonEvents extends Pick<PressButtonProps$1, 'onClick' | 'onBlur' | 'onFocus'> {
|
|
4501
4707
|
}
|
|
4708
|
+
/** @publicDocs */
|
|
4502
4709
|
interface PressButtonElement extends PressButtonElementProps, Omit<HTMLElement, 'children' | 'lang' | 'id' | 'onblur' | 'onclick' | 'onfocus'> {
|
|
4503
4710
|
onblur: PressButtonEvents['onBlur'];
|
|
4504
4711
|
onclick: PressButtonEvents['onClick'];
|
|
4505
4712
|
onfocus: PressButtonEvents['onFocus'];
|
|
4506
4713
|
}
|
|
4714
|
+
/** @publicDocs */
|
|
4507
4715
|
interface PressButtonProps extends PressButtonElementProps, PressButtonEvents {
|
|
4508
4716
|
}
|
|
4509
4717
|
declare global {
|
|
@@ -4520,11 +4728,14 @@ declare module 'preact' {
|
|
|
4520
4728
|
}
|
|
4521
4729
|
|
|
4522
4730
|
declare const tagName$j = "s-product-thumbnail";
|
|
4731
|
+
/** @publicDocs */
|
|
4523
4732
|
interface ProductThumbnailElementProps extends Pick<ProductThumbnailProps$1, 'alt' | 'size' | 'sizes' | 'src' | 'srcSet' | 'totalItems'> {
|
|
4524
4733
|
size?: Extract<ProductThumbnailProps$1['size'], 'small-100' | 'small' | 'base'>;
|
|
4525
4734
|
}
|
|
4735
|
+
/** @publicDocs */
|
|
4526
4736
|
interface ProductThumbnailElement extends ProductThumbnailElementProps, Omit<HTMLElement, 'id'> {
|
|
4527
4737
|
}
|
|
4738
|
+
/** @publicDocs */
|
|
4528
4739
|
interface ProductThumbnailProps extends ProductThumbnailElementProps {
|
|
4529
4740
|
}
|
|
4530
4741
|
declare global {
|
|
@@ -4541,15 +4752,19 @@ declare module 'preact' {
|
|
|
4541
4752
|
}
|
|
4542
4753
|
|
|
4543
4754
|
declare const tagName$i = "s-progress";
|
|
4755
|
+
/** @publicDocs */
|
|
4544
4756
|
interface ProgressElementProps extends Pick<ProgressProps$1, 'accessibilityLabel' | 'id' | 'max' | 'tone' | 'value'> {
|
|
4545
4757
|
tone?: Extract<ProgressProps$1['tone'], 'auto' | 'critical'>;
|
|
4546
4758
|
}
|
|
4759
|
+
/** @publicDocs */
|
|
4547
4760
|
interface ProgressElement extends ProgressElementProps, Omit<HTMLElement, 'id'> {
|
|
4548
4761
|
}
|
|
4762
|
+
/** @publicDocs */
|
|
4549
4763
|
interface ProgressProps extends ProgressElementProps {
|
|
4550
4764
|
}
|
|
4551
4765
|
declare global {
|
|
4552
4766
|
interface HTMLElementTagNameMap {
|
|
4767
|
+
[tagName$i]: ProgressElement;
|
|
4553
4768
|
}
|
|
4554
4769
|
}
|
|
4555
4770
|
declare module 'preact' {
|
|
@@ -4561,13 +4776,17 @@ declare module 'preact' {
|
|
|
4561
4776
|
}
|
|
4562
4777
|
|
|
4563
4778
|
declare const tagName$h = "s-qr-code";
|
|
4779
|
+
/** @publicDocs */
|
|
4564
4780
|
interface QRCodeElementProps extends QRCodeProps$1 {
|
|
4565
4781
|
}
|
|
4782
|
+
/** @publicDocs */
|
|
4566
4783
|
interface QRCodeEvents extends Pick<QRCodeProps$1, 'onError'> {
|
|
4567
4784
|
}
|
|
4785
|
+
/** @publicDocs */
|
|
4568
4786
|
interface QRCodelement extends QRCodeElementProps, Omit<HTMLElement, 'id' | 'onerror'> {
|
|
4569
4787
|
onerror: QRCodeEvents['onError'];
|
|
4570
4788
|
}
|
|
4789
|
+
/** @publicDocs */
|
|
4571
4790
|
interface QRCodeProps extends QRCodeElementProps, QRCodeEvents {
|
|
4572
4791
|
}
|
|
4573
4792
|
declare global {
|
|
@@ -4584,10 +4803,13 @@ declare module 'preact' {
|
|
|
4584
4803
|
}
|
|
4585
4804
|
|
|
4586
4805
|
declare const tagName$g = "s-query-container";
|
|
4806
|
+
/** @publicDocs */
|
|
4587
4807
|
interface QueryContainerElementProps extends Pick<QueryContainerProps$1, 'containerName' | 'id'> {
|
|
4588
4808
|
}
|
|
4809
|
+
/** @publicDocs */
|
|
4589
4810
|
interface QueryContainerElement extends QueryContainerElementProps, Omit<HTMLElement, 'id'> {
|
|
4590
4811
|
}
|
|
4812
|
+
/** @publicDocs */
|
|
4591
4813
|
interface QueryContainerProps extends QueryContainerElementProps {
|
|
4592
4814
|
}
|
|
4593
4815
|
declare global {
|
|
@@ -4604,6 +4826,7 @@ declare module 'preact' {
|
|
|
4604
4826
|
}
|
|
4605
4827
|
|
|
4606
4828
|
declare const tagName$f = "s-scroll-box";
|
|
4829
|
+
/** @publicDocs */
|
|
4607
4830
|
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
4831
|
background?: Extract<ScrollBoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
4609
4832
|
border?: BorderShorthand;
|
|
@@ -4611,8 +4834,10 @@ interface ScrollBoxElementProps extends Pick<ScrollBoxProps$1, 'accessibilityLab
|
|
|
4611
4834
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<ScrollBoxProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
4612
4835
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
4613
4836
|
}
|
|
4837
|
+
/** @publicDocs */
|
|
4614
4838
|
interface ScrollBoxElement extends ScrollBoxElementProps, Omit<HTMLElement, 'id'> {
|
|
4615
4839
|
}
|
|
4840
|
+
/** @publicDocs */
|
|
4616
4841
|
interface ScrollBoxProps extends ScrollBoxElementProps {
|
|
4617
4842
|
}
|
|
4618
4843
|
declare global {
|
|
@@ -4629,10 +4854,13 @@ declare module 'preact' {
|
|
|
4629
4854
|
}
|
|
4630
4855
|
|
|
4631
4856
|
declare const tagName$e = "s-section";
|
|
4857
|
+
/** @publicDocs */
|
|
4632
4858
|
interface SectionElementProps extends Pick<SectionProps$1, 'accessibilityLabel' | 'heading' | 'id'> {
|
|
4633
4859
|
}
|
|
4860
|
+
/** @publicDocs */
|
|
4634
4861
|
interface SectionElement extends SectionElementProps, Omit<HTMLElement, 'id'> {
|
|
4635
4862
|
}
|
|
4863
|
+
/** @publicDocs */
|
|
4636
4864
|
interface SectionProps extends SectionElementProps {
|
|
4637
4865
|
}
|
|
4638
4866
|
declare global {
|
|
@@ -4649,15 +4877,19 @@ declare module 'preact' {
|
|
|
4649
4877
|
}
|
|
4650
4878
|
|
|
4651
4879
|
declare const tagName$d = "s-select";
|
|
4880
|
+
/** @publicDocs */
|
|
4652
4881
|
interface SelectElementProps extends Pick<SelectProps$1, 'autocomplete' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value'> {
|
|
4653
4882
|
}
|
|
4883
|
+
/** @publicDocs */
|
|
4654
4884
|
interface SelectEvents extends Pick<SelectProps$1, 'onBlur' | 'onChange' | 'onFocus'> {
|
|
4655
4885
|
}
|
|
4886
|
+
/** @publicDocs */
|
|
4656
4887
|
interface SelectElement extends SelectElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus'> {
|
|
4657
4888
|
onblur: SelectEvents['onBlur'];
|
|
4658
4889
|
onchange: SelectEvents['onChange'];
|
|
4659
4890
|
onfocus: SelectEvents['onFocus'];
|
|
4660
4891
|
}
|
|
4892
|
+
/** @publicDocs */
|
|
4661
4893
|
interface SelectProps extends SelectElementProps, SelectEvents {
|
|
4662
4894
|
}
|
|
4663
4895
|
declare global {
|
|
@@ -4674,20 +4906,19 @@ declare module 'preact' {
|
|
|
4674
4906
|
}
|
|
4675
4907
|
|
|
4676
4908
|
declare const tagName$c = "s-sheet";
|
|
4909
|
+
/** @publicDocs */
|
|
4677
4910
|
interface SheetElementProps extends Pick<SheetProps$1, 'defaultOpen' | 'heading' | 'id'> {
|
|
4678
4911
|
/**
|
|
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.
|
|
4912
|
+
* 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
4913
|
*/
|
|
4685
4914
|
accessibilityLabel?: string;
|
|
4686
4915
|
}
|
|
4916
|
+
/** @publicDocs */
|
|
4687
4917
|
interface SheetEvents extends Pick<SheetProps$1, 'onAfterHide' | 'onAfterShow' | 'onHide' | 'onShow'> {
|
|
4688
4918
|
}
|
|
4689
4919
|
interface SheetElementMethods extends Pick<SheetProps$1, 'hideOverlay'> {
|
|
4690
4920
|
}
|
|
4921
|
+
/** @publicDocs */
|
|
4691
4922
|
interface SheetElement extends SheetElementProps, SheetElementMethods, Omit<HTMLElement, 'id'> {
|
|
4692
4923
|
afterhide: SheetEvents['onAfterHide'];
|
|
4693
4924
|
aftershow: SheetEvents['onAfterShow'];
|
|
@@ -4696,6 +4927,7 @@ interface SheetElement extends SheetElementProps, SheetElementMethods, Omit<HTML
|
|
|
4696
4927
|
onafterhide: SheetEvents['onAfterHide'];
|
|
4697
4928
|
onaftershow: SheetEvents['onAfterShow'];
|
|
4698
4929
|
}
|
|
4930
|
+
/** @publicDocs */
|
|
4699
4931
|
interface SheetProps extends SheetElementProps, SheetEvents {
|
|
4700
4932
|
}
|
|
4701
4933
|
declare global {
|
|
@@ -4712,10 +4944,13 @@ declare module 'preact' {
|
|
|
4712
4944
|
}
|
|
4713
4945
|
|
|
4714
4946
|
declare const tagName$b = "s-skeleton-paragraph";
|
|
4947
|
+
/** @publicDocs */
|
|
4715
4948
|
interface SkeletonParagraphElementProps extends SkeletonParagraphProps$1 {
|
|
4716
4949
|
}
|
|
4950
|
+
/** @publicDocs */
|
|
4717
4951
|
interface SkeletonParagraphElement extends SkeletonParagraphElementProps, Omit<HTMLElement, 'id'> {
|
|
4718
4952
|
}
|
|
4953
|
+
/** @publicDocs */
|
|
4719
4954
|
interface SkeletonParagraphProps extends SkeletonParagraphElementProps {
|
|
4720
4955
|
}
|
|
4721
4956
|
declare global {
|
|
@@ -4732,15 +4967,19 @@ declare module 'preact' {
|
|
|
4732
4967
|
}
|
|
4733
4968
|
|
|
4734
4969
|
declare const tagName$a = "s-spinner";
|
|
4970
|
+
/** @publicDocs */
|
|
4735
4971
|
interface SpinnerElementProps extends SpinnerProps$1 {
|
|
4736
4972
|
size?: Extract<SpinnerProps$1['size'], 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
4737
4973
|
}
|
|
4974
|
+
/** @publicDocs */
|
|
4738
4975
|
interface SpinnerElement extends SpinnerElementProps, Omit<HTMLElement, 'id'> {
|
|
4739
4976
|
}
|
|
4977
|
+
/** @publicDocs */
|
|
4740
4978
|
interface SpinnerProps extends SpinnerElementProps {
|
|
4741
4979
|
}
|
|
4742
4980
|
declare global {
|
|
4743
4981
|
interface HTMLElementTagNameMap {
|
|
4982
|
+
[tagName$a]: SpinnerElement;
|
|
4744
4983
|
}
|
|
4745
4984
|
}
|
|
4746
4985
|
declare module 'preact' {
|
|
@@ -4752,6 +4991,7 @@ declare module 'preact' {
|
|
|
4752
4991
|
}
|
|
4753
4992
|
|
|
4754
4993
|
declare const tagName$9 = "s-stack";
|
|
4994
|
+
/** @publicDocs */
|
|
4755
4995
|
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
4996
|
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
4997
|
background?: Extract<StackProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
@@ -4762,12 +5002,15 @@ interface StackElementProps extends Pick<StackProps$1, 'accessibilityLabel' | 'a
|
|
|
4762
5002
|
alignItems?: MaybeResponsive<Extract<StackProps$1['alignItems'], 'normal' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4763
5003
|
justifyContent?: MaybeResponsive<Extract<StackProps$1['justifyContent'], 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>>;
|
|
4764
5004
|
}
|
|
5005
|
+
/** @publicDocs */
|
|
4765
5006
|
interface StackElement extends StackElementProps, Omit<HTMLElement, 'id'> {
|
|
4766
5007
|
}
|
|
5008
|
+
/** @publicDocs */
|
|
4767
5009
|
interface StackProps extends StackElementProps {
|
|
4768
5010
|
}
|
|
4769
5011
|
declare global {
|
|
4770
5012
|
interface HTMLElementTagNameMap {
|
|
5013
|
+
[tagName$9]: StackElement;
|
|
4771
5014
|
}
|
|
4772
5015
|
}
|
|
4773
5016
|
declare module 'preact' {
|
|
@@ -4779,10 +5022,13 @@ declare module 'preact' {
|
|
|
4779
5022
|
}
|
|
4780
5023
|
|
|
4781
5024
|
declare const tagName$8 = "s-summary";
|
|
5025
|
+
/** @publicDocs */
|
|
4782
5026
|
interface SummaryElementProps extends Pick<SummaryProps$1, 'id'> {
|
|
4783
5027
|
}
|
|
5028
|
+
/** @publicDocs */
|
|
4784
5029
|
interface SummaryElement extends SummaryElementProps, Omit<HTMLElement, 'id'> {
|
|
4785
5030
|
}
|
|
5031
|
+
/** @publicDocs */
|
|
4786
5032
|
interface SummaryProps extends SummaryElementProps {
|
|
4787
5033
|
}
|
|
4788
5034
|
declare global {
|
|
@@ -4803,14 +5049,18 @@ declare module 'preact' {
|
|
|
4803
5049
|
}
|
|
4804
5050
|
|
|
4805
5051
|
declare const tagName$7 = "s-switch";
|
|
5052
|
+
/** @publicDocs */
|
|
4806
5053
|
interface SwitchElementProps extends Pick<SwitchProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'id' | 'label' | 'name' | 'value'> {
|
|
4807
5054
|
command?: Extract<SwitchProps$1['command'], '--auto' | '--show' | '--hide' | '--toggle'>;
|
|
4808
5055
|
}
|
|
5056
|
+
/** @publicDocs */
|
|
4809
5057
|
interface SwitchEvents extends Pick<SwitchProps$1, 'onChange'> {
|
|
4810
5058
|
}
|
|
5059
|
+
/** @publicDocs */
|
|
4811
5060
|
interface SwitchElement extends SwitchElementProps, Omit<HTMLElement, 'id' | 'onchange'> {
|
|
4812
5061
|
onchange: SwitchEvents['onChange'];
|
|
4813
5062
|
}
|
|
5063
|
+
/** @publicDocs */
|
|
4814
5064
|
interface SwitchProps extends SwitchElementProps, SwitchEvents {
|
|
4815
5065
|
}
|
|
4816
5066
|
declare global {
|
|
@@ -4827,6 +5077,7 @@ declare module 'preact' {
|
|
|
4827
5077
|
}
|
|
4828
5078
|
|
|
4829
5079
|
declare const tagName$6 = "s-text-area";
|
|
5080
|
+
/** @publicDocs */
|
|
4830
5081
|
interface TextAreaElementProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'name' | 'required' | 'value' | 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'readOnly' | 'rows' | 'maxLength' | 'minLength' | 'labelAccessibilityVisibility'> {
|
|
4831
5082
|
/**
|
|
4832
5083
|
* @deprecated Use `label` instead.
|
|
@@ -4834,14 +5085,17 @@ interface TextAreaElementProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'n
|
|
|
4834
5085
|
*/
|
|
4835
5086
|
placeholder?: string;
|
|
4836
5087
|
}
|
|
5088
|
+
/** @publicDocs */
|
|
4837
5089
|
interface TextAreaEvents extends Pick<TextAreaProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4838
5090
|
}
|
|
5091
|
+
/** @publicDocs */
|
|
4839
5092
|
interface TextAreaElement extends TextAreaElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
4840
5093
|
onblur: TextAreaEvents['onBlur'];
|
|
4841
5094
|
onchange: TextAreaEvents['onChange'];
|
|
4842
5095
|
onfocus: TextAreaEvents['onFocus'];
|
|
4843
5096
|
oninput: TextAreaEvents['onInput'];
|
|
4844
5097
|
}
|
|
5098
|
+
/** @publicDocs */
|
|
4845
5099
|
interface TextAreaProps extends TextAreaElementProps, TextAreaEvents {
|
|
4846
5100
|
}
|
|
4847
5101
|
declare global {
|
|
@@ -4858,6 +5112,7 @@ declare module 'preact' {
|
|
|
4858
5112
|
}
|
|
4859
5113
|
|
|
4860
5114
|
declare const tagName$5 = "s-text-field";
|
|
5115
|
+
/** @publicDocs */
|
|
4861
5116
|
interface TextFieldElementProps extends Pick<TextFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'icon' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
|
|
4862
5117
|
icon?: IconProps['type'];
|
|
4863
5118
|
/**
|
|
@@ -4866,18 +5121,22 @@ interface TextFieldElementProps extends Pick<TextFieldProps$1, 'autocomplete' |
|
|
|
4866
5121
|
*/
|
|
4867
5122
|
placeholder?: string;
|
|
4868
5123
|
}
|
|
5124
|
+
/** @publicDocs */
|
|
4869
5125
|
interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4870
5126
|
}
|
|
5127
|
+
/** @publicDocs */
|
|
4871
5128
|
interface TextFieldElement extends TextFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4872
5129
|
onblur: TextFieldEvents['onBlur'];
|
|
4873
5130
|
onchange: TextFieldEvents['onChange'];
|
|
4874
5131
|
onfocus: TextFieldEvents['onFocus'];
|
|
4875
5132
|
oninput: TextFieldEvents['onInput'];
|
|
4876
5133
|
}
|
|
5134
|
+
/** @publicDocs */
|
|
4877
5135
|
interface TextFieldProps extends TextFieldElementProps, TextFieldEvents {
|
|
4878
5136
|
}
|
|
4879
5137
|
declare global {
|
|
4880
5138
|
interface HTMLElementTagNameMap {
|
|
5139
|
+
[tagName$5]: TextFieldElement;
|
|
4881
5140
|
}
|
|
4882
5141
|
}
|
|
4883
5142
|
declare module 'preact' {
|
|
@@ -4889,17 +5148,21 @@ declare module 'preact' {
|
|
|
4889
5148
|
}
|
|
4890
5149
|
|
|
4891
5150
|
declare const tagName$4 = "s-text";
|
|
5151
|
+
/** @publicDocs */
|
|
4892
5152
|
interface TextElementProps extends Pick<TextProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'display' | 'id' | 'lang' | 'tone' | 'type'> {
|
|
4893
5153
|
color?: Extract<TextProps$1['color'], 'subdued' | 'base'>;
|
|
4894
5154
|
tone?: Extract<TextProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
4895
5155
|
type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
|
|
4896
5156
|
}
|
|
5157
|
+
/** @publicDocs */
|
|
4897
5158
|
interface TextElement extends TextElementProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
|
|
4898
5159
|
}
|
|
5160
|
+
/** @publicDocs */
|
|
4899
5161
|
interface TextProps extends TextElementProps {
|
|
4900
5162
|
}
|
|
4901
5163
|
declare global {
|
|
4902
5164
|
interface HTMLElementTagNameMap {
|
|
5165
|
+
[tagName$4]: TextElement;
|
|
4903
5166
|
}
|
|
4904
5167
|
}
|
|
4905
5168
|
declare module 'preact' {
|
|
@@ -4911,14 +5174,18 @@ declare module 'preact' {
|
|
|
4911
5174
|
}
|
|
4912
5175
|
|
|
4913
5176
|
declare const tagName$3 = "s-time";
|
|
5177
|
+
/** @publicDocs */
|
|
4914
5178
|
interface TimeElementProps extends Pick<TimeProps$1, 'dateTime' | 'id'> {
|
|
4915
5179
|
}
|
|
5180
|
+
/** @publicDocs */
|
|
4916
5181
|
interface TimeElement extends TimeElementProps, Omit<HTMLElement, 'id'> {
|
|
4917
5182
|
}
|
|
5183
|
+
/** @publicDocs */
|
|
4918
5184
|
interface TimeProps extends TimeElementProps {
|
|
4919
5185
|
}
|
|
4920
5186
|
declare global {
|
|
4921
5187
|
interface HTMLElementTagNameMap {
|
|
5188
|
+
[tagName$3]: TimeElement;
|
|
4922
5189
|
}
|
|
4923
5190
|
}
|
|
4924
5191
|
declare module 'preact' {
|
|
@@ -4930,10 +5197,13 @@ declare module 'preact' {
|
|
|
4930
5197
|
}
|
|
4931
5198
|
|
|
4932
5199
|
declare const tagName$2 = "s-tooltip";
|
|
5200
|
+
/** @publicDocs */
|
|
4933
5201
|
interface TooltipElementProps extends Pick<TooltipProps$1, 'id'> {
|
|
4934
5202
|
}
|
|
5203
|
+
/** @publicDocs */
|
|
4935
5204
|
interface TooltipElement extends TooltipElementProps {
|
|
4936
5205
|
}
|
|
5206
|
+
/** @publicDocs */
|
|
4937
5207
|
interface TooltipProps extends TooltipElementProps {
|
|
4938
5208
|
}
|
|
4939
5209
|
declare global {
|
|
@@ -4950,14 +5220,18 @@ declare module 'preact' {
|
|
|
4950
5220
|
}
|
|
4951
5221
|
|
|
4952
5222
|
declare const tagName$1 = "s-unordered-list";
|
|
5223
|
+
/** @publicDocs */
|
|
4953
5224
|
interface UnorderedListElementProps extends UnorderedListProps$1 {
|
|
4954
5225
|
}
|
|
5226
|
+
/** @publicDocs */
|
|
4955
5227
|
interface UnorderedListElement extends UnorderedListElementProps, Omit<HTMLElement, 'id'> {
|
|
4956
5228
|
}
|
|
5229
|
+
/** @publicDocs */
|
|
4957
5230
|
interface UnorderedListProps extends UnorderedListElementProps {
|
|
4958
5231
|
}
|
|
4959
5232
|
declare global {
|
|
4960
5233
|
interface HTMLElementTagNameMap {
|
|
5234
|
+
[tagName$1]: UnorderedListElement;
|
|
4961
5235
|
}
|
|
4962
5236
|
}
|
|
4963
5237
|
declare module 'preact' {
|
|
@@ -4969,16 +5243,20 @@ declare module 'preact' {
|
|
|
4969
5243
|
}
|
|
4970
5244
|
|
|
4971
5245
|
declare const tagName = "s-url-field";
|
|
5246
|
+
/** @publicDocs */
|
|
4972
5247
|
interface URLFieldElementProps extends Pick<URLFieldProps, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'readOnly' | 'required' | 'value'> {
|
|
4973
5248
|
}
|
|
5249
|
+
/** @publicDocs */
|
|
4974
5250
|
interface UrlFieldEvents extends Pick<URLFieldProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
4975
5251
|
}
|
|
5252
|
+
/** @publicDocs */
|
|
4976
5253
|
interface UrlFieldElement extends URLFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
4977
5254
|
onblur: UrlFieldEvents['onBlur'];
|
|
4978
5255
|
onchange: UrlFieldEvents['onChange'];
|
|
4979
5256
|
onfocus: UrlFieldEvents['onFocus'];
|
|
4980
5257
|
oninput: UrlFieldEvents['onInput'];
|
|
4981
5258
|
}
|
|
5259
|
+
/** @publicDocs */
|
|
4982
5260
|
interface UrlFieldProps extends URLFieldElementProps, UrlFieldEvents {
|
|
4983
5261
|
}
|
|
4984
5262
|
declare global {
|