@shopify/ui-extensions 2025.10.0-rc.6 → 2025.10.0-rc.8
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/ts/docs/shared/components/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Choice.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +1 -1
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +1 -1
- package/build/ts/surfaces/admin/components/GridItem.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Image.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
- package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
- package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +133 -0
- package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/shared.d.ts +25 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -1
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +52 -13
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +39 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +36 -9
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +36 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +69 -0
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +39 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +75 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +73 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +32 -8
- package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +69 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +72 -21
- package/build/ts/surfaces/checkout/components/Time.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +486 -2
- package/build/ts/surfaces/checkout/components/components.d.ts +1000 -166
- package/build/ts/surfaces/checkout/shared.d.ts +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +918 -172
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +66 -0
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +52 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +39 -13
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +36 -9
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +36 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +69 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/Link.d.ts +39 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +75 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +73 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +32 -8
- package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +69 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +72 -21
- package/build/ts/surfaces/customer-account/components/Time.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +486 -2
- package/build/ts/surfaces/customer-account/components/components.d.ts +1000 -166
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +979 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +979 -173
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/Option.ts +12 -0
- package/src/docs/shared/components/PhoneField.ts +11 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
- package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
- package/src/surfaces/admin/components/Badge.d.ts +1 -1
- package/src/surfaces/admin/components/Banner.d.ts +1 -1
- package/src/surfaces/admin/components/Box.d.ts +1 -1
- package/src/surfaces/admin/components/Button.d.ts +1 -1
- package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
- package/src/surfaces/admin/components/Choice.d.ts +1 -1
- package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
- package/src/surfaces/admin/components/Clickable.d.ts +1 -1
- package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
- package/src/surfaces/admin/components/Divider.d.ts +1 -1
- package/src/surfaces/admin/components/EmailField.d.ts +1 -1
- package/src/surfaces/admin/components/Form.d.ts +1 -1
- package/src/surfaces/admin/components/Grid.d.ts +1 -1
- package/src/surfaces/admin/components/GridItem.d.ts +1 -1
- package/src/surfaces/admin/components/Heading.d.ts +1 -1
- package/src/surfaces/admin/components/Icon.d.ts +1 -1
- package/src/surfaces/admin/components/Image.d.ts +1 -1
- package/src/surfaces/admin/components/Link.d.ts +1 -1
- package/src/surfaces/admin/components/ListItem.d.ts +1 -1
- package/src/surfaces/admin/components/MoneyField.d.ts +1 -1
- package/src/surfaces/admin/components/NumberField.d.ts +1 -1
- package/src/surfaces/admin/components/Option.d.ts +1 -1
- package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
- package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
- package/src/surfaces/admin/components/Page.d.ts +1 -1
- package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
- package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
- package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
- package/src/surfaces/admin/components/SearchField.d.ts +1 -1
- package/src/surfaces/admin/components/Section.d.ts +1 -1
- package/src/surfaces/admin/components/Select.d.ts +1 -1
- package/src/surfaces/admin/components/Spinner.d.ts +1 -1
- package/src/surfaces/admin/components/Stack.d.ts +1 -1
- package/src/surfaces/admin/components/StandardComponents.ts +1 -0
- package/src/surfaces/admin/components/Switch.d.ts +1 -1
- package/src/surfaces/admin/components/Table.d.ts +1 -1
- package/src/surfaces/admin/components/TableBody.d.ts +1 -1
- package/src/surfaces/admin/components/TableCell.d.ts +1 -1
- package/src/surfaces/admin/components/TableHeader.d.ts +1 -1
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
- package/src/surfaces/admin/components/TableRow.d.ts +1 -1
- package/src/surfaces/admin/components/Text.d.ts +1 -1
- package/src/surfaces/admin/components/TextArea.d.ts +1 -1
- package/src/surfaces/admin/components/TextField.d.ts +1 -1
- package/src/surfaces/admin/components/Thumbnail.d.ts +133 -0
- package/src/surfaces/admin/components/URLField.d.ts +1 -1
- package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
- package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +241 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +349 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +82 -0
- package/src/surfaces/admin/components/shared.d.ts +25 -1
- package/src/surfaces/admin/components.d.ts +672 -202
- package/src/surfaces/checkout/components/Abbreviation.d.ts +20 -8
- package/src/surfaces/checkout/components/Banner.d.ts +52 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +39 -13
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +54 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +36 -9
- package/src/surfaces/checkout/components/DropZone.d.ts +36 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +69 -0
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- package/src/surfaces/checkout/components/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +22 -9
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +39 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +75 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +73 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +87 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +84 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +32 -8
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack.d.ts +20 -9
- package/src/surfaces/checkout/components/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +69 -0
- package/src/surfaces/checkout/components/TextField.d.ts +72 -21
- package/src/surfaces/checkout/components/Time.d.ts +20 -8
- package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/components-shared.d.ts +486 -2
- package/src/surfaces/checkout/components/components.d.ts +1000 -166
- package/src/surfaces/checkout/shared.ts +8 -0
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +9 -0
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +9 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +66 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +1 -1
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +1 -1
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +1 -1
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +1 -1
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +1 -1
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +1 -1
- package/src/surfaces/customer-account/components/StandardComponents.ts +1 -0
- package/src/surfaces/customer-account/components.d.ts +67 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/** VERSION: 0.0.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
2
|
+
/* eslint-disable import-x/extensions */
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
4
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
5
5
|
/* eslint-disable line-comment-position */
|
|
6
6
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
7
7
|
/* eslint-disable no-var */
|
|
8
|
-
/* eslint-disable import/namespace */
|
|
8
|
+
/* eslint-disable import-x/namespace */
|
|
9
9
|
/**
|
|
10
10
|
* TODO: Update `any` type here after this is resolved
|
|
11
11
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
@@ -1120,6 +1120,34 @@ export interface FocusEventProps {
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
onFocus?: () => void;
|
|
1122
1122
|
}
|
|
1123
|
+
export interface ToggleEventProps {
|
|
1124
|
+
/**
|
|
1125
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
1126
|
+
*
|
|
1127
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1128
|
+
* `newState` property will be set to `open`.
|
|
1129
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
1130
|
+
* `newState` will be `closed`.
|
|
1131
|
+
*
|
|
1132
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1133
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1134
|
+
*/
|
|
1135
|
+
onAfterToggle?: (oldState: ToggleState, newState: ToggleState) => void;
|
|
1136
|
+
/**
|
|
1137
|
+
* Callback straight after the element state changes.
|
|
1138
|
+
*
|
|
1139
|
+
* - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
1140
|
+
* `newState` property will be set to `open`.
|
|
1141
|
+
* - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
|
|
1142
|
+
* `newState` will be `closed`.
|
|
1143
|
+
*
|
|
1144
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
|
|
1145
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
1146
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
1147
|
+
*/
|
|
1148
|
+
onToggle?: (oldState: ToggleState, newState: ToggleState) => void;
|
|
1149
|
+
}
|
|
1150
|
+
export type ToggleState = "open" | "closed";
|
|
1123
1151
|
export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
|
|
1124
1152
|
/**
|
|
1125
1153
|
* The behavior of the button.
|
|
@@ -1396,6 +1424,48 @@ export interface FieldDecorationProps {
|
|
|
1396
1424
|
*/
|
|
1397
1425
|
accessory?: ComponentChildren;
|
|
1398
1426
|
}
|
|
1427
|
+
export interface NumberConstraintsProps {
|
|
1428
|
+
/**
|
|
1429
|
+
* The highest decimal or integer to be accepted for the field.
|
|
1430
|
+
* When used with `step` the value will round down to the max number.
|
|
1431
|
+
*
|
|
1432
|
+
* Note: a user will still be able to use the keyboard to input a number higher than
|
|
1433
|
+
* the max. It is up to the developer to add appropriate validation.
|
|
1434
|
+
*
|
|
1435
|
+
* @default Infinity
|
|
1436
|
+
*/
|
|
1437
|
+
max?: number;
|
|
1438
|
+
/**
|
|
1439
|
+
* The lowest decimal or integer to be accepted for the field.
|
|
1440
|
+
* When used with `step` the value will round up to the min number.
|
|
1441
|
+
*
|
|
1442
|
+
* Note: a user will still be able to use the keyboard to input a number lower than
|
|
1443
|
+
* the min. It is up to the developer to add appropriate validation.
|
|
1444
|
+
*
|
|
1445
|
+
* @default -Infinity
|
|
1446
|
+
*/
|
|
1447
|
+
min?: number;
|
|
1448
|
+
/**
|
|
1449
|
+
* The amount the value can increase or decrease by. This can be an integer or decimal.
|
|
1450
|
+
* If a `max` or `min` is specified with `step` when increasing/decreasing the value
|
|
1451
|
+
* via the buttons, the final value will always round to the `max` or `min`
|
|
1452
|
+
* rather than the closest valid amount.
|
|
1453
|
+
*
|
|
1454
|
+
* @default 1
|
|
1455
|
+
*/
|
|
1456
|
+
step?: number;
|
|
1457
|
+
/**
|
|
1458
|
+
* Sets the type of controls displayed in the field.
|
|
1459
|
+
*
|
|
1460
|
+
* - `stepper`: displays buttons to increase or decrease the value of the field by the stepping interval defined in the `step` property.
|
|
1461
|
+
* Appropriate mouse and [keyboard interactions](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/spinbutton_role#keyboard_interactions) to control the value of the field are enabled.
|
|
1462
|
+
* - `none`: no controls are displayed and users must input the value manually. Arrow keys and scroll wheels can’t be used either to avoid accidental changes.
|
|
1463
|
+
* - `auto`: the presence of the controls depends on the surface and context.
|
|
1464
|
+
*
|
|
1465
|
+
* @default 'auto'
|
|
1466
|
+
*/
|
|
1467
|
+
controls?: "auto" | "stepper" | "none";
|
|
1468
|
+
}
|
|
1399
1469
|
export interface MinMaxLengthProps {
|
|
1400
1470
|
/**
|
|
1401
1471
|
* Specifies the maximum number of characters allowed.
|
|
@@ -1410,6 +1480,134 @@ export interface MinMaxLengthProps {
|
|
|
1410
1480
|
*/
|
|
1411
1481
|
minLength?: number;
|
|
1412
1482
|
}
|
|
1483
|
+
export interface BaseSelectableProps {
|
|
1484
|
+
/**
|
|
1485
|
+
* A label used for users using assistive technologies like screen readers. When set, any children or `label` supplied will not be announced.
|
|
1486
|
+
* This can also be used to display a control without a visual label, while still providing context to users using screen readers.
|
|
1487
|
+
*/
|
|
1488
|
+
accessibilityLabel?: string;
|
|
1489
|
+
/**
|
|
1490
|
+
* Disables the control, disallowing any interaction.
|
|
1491
|
+
*
|
|
1492
|
+
* @default false
|
|
1493
|
+
*/
|
|
1494
|
+
disabled?: boolean;
|
|
1495
|
+
/**
|
|
1496
|
+
* The value used in form data when the control is checked.
|
|
1497
|
+
*/
|
|
1498
|
+
value?: string;
|
|
1499
|
+
}
|
|
1500
|
+
export interface BaseOptionProps extends BaseSelectableProps {
|
|
1501
|
+
/**
|
|
1502
|
+
* Whether the control is active.
|
|
1503
|
+
*
|
|
1504
|
+
* @default false
|
|
1505
|
+
*/
|
|
1506
|
+
selected?: boolean;
|
|
1507
|
+
/**
|
|
1508
|
+
* Whether the control is active by default.
|
|
1509
|
+
*
|
|
1510
|
+
* @implementation `defaultSelected` reflects to the `selected` attribute.
|
|
1511
|
+
*
|
|
1512
|
+
* @default false
|
|
1513
|
+
*/
|
|
1514
|
+
defaultSelected?: boolean;
|
|
1515
|
+
}
|
|
1516
|
+
export interface BaseCheckableProps extends BaseSelectableProps, InteractionProps {
|
|
1517
|
+
/**
|
|
1518
|
+
* Visual content to use as the control label.
|
|
1519
|
+
*/
|
|
1520
|
+
label?: string;
|
|
1521
|
+
/**
|
|
1522
|
+
* Whether the control is active.
|
|
1523
|
+
*
|
|
1524
|
+
* @default false
|
|
1525
|
+
*/
|
|
1526
|
+
checked?: boolean;
|
|
1527
|
+
/**
|
|
1528
|
+
* Whether the control is active by default.
|
|
1529
|
+
*
|
|
1530
|
+
* @implementation `defaultChecked` reflects to the `checked` attribute.
|
|
1531
|
+
*
|
|
1532
|
+
* @default false
|
|
1533
|
+
*/
|
|
1534
|
+
defaultChecked?: boolean;
|
|
1535
|
+
/**
|
|
1536
|
+
* An identifier for the control that is unique within the nearest
|
|
1537
|
+
* containing `Form` component.
|
|
1538
|
+
*/
|
|
1539
|
+
name?: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* A callback that is run whenever the control is changed.
|
|
1542
|
+
*/
|
|
1543
|
+
onChange?: (checked: boolean) => void;
|
|
1544
|
+
/**
|
|
1545
|
+
* A callback that is run whenever the control is changed.
|
|
1546
|
+
*/
|
|
1547
|
+
onInput?: (checked: boolean) => void;
|
|
1548
|
+
}
|
|
1549
|
+
interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorProps, FieldDetailsProps {
|
|
1550
|
+
/**
|
|
1551
|
+
* Whether to display the checkbox in an indeterminate state (neither checked or unchecked).
|
|
1552
|
+
*
|
|
1553
|
+
* In terms of appearance, this takes priority over the `checked` prop.
|
|
1554
|
+
* But this is purely a visual change.
|
|
1555
|
+
* Whether the value is submitted along with a form is still down to the `checked` prop.
|
|
1556
|
+
*
|
|
1557
|
+
* If `indeterminate` has not been explicitly set, and the `indeterminate` state hasn't been modified by the user (via clicking),
|
|
1558
|
+
* then `indeterminate` returns the value of `defaultIndeterminate`.
|
|
1559
|
+
*
|
|
1560
|
+
* @implementation The `indeterminate` property doesn't reflect to any attribute.
|
|
1561
|
+
*/
|
|
1562
|
+
indeterminate?: boolean;
|
|
1563
|
+
/**
|
|
1564
|
+
* Whether the checkbox is in an `indeterminate` state by default.
|
|
1565
|
+
*
|
|
1566
|
+
* Similar to `defaultValue` and `defaultChecked`, this value applies until `indeterminate` is set, or user changes the state of the checkbox.
|
|
1567
|
+
*
|
|
1568
|
+
* @implementation `defaultIndeterminate` reflects to the `indeterminate` attribute.
|
|
1569
|
+
*
|
|
1570
|
+
* @default false
|
|
1571
|
+
*/
|
|
1572
|
+
defaultIndeterminate?: boolean;
|
|
1573
|
+
/**
|
|
1574
|
+
* Whether the field needs a value. This requirement adds semantic value
|
|
1575
|
+
* to the field, but it will not cause an error to appear automatically.
|
|
1576
|
+
* If you want to present an error when this field is empty, you can do
|
|
1577
|
+
* so with the `error` property.
|
|
1578
|
+
*
|
|
1579
|
+
* @default false
|
|
1580
|
+
*/
|
|
1581
|
+
required?: boolean;
|
|
1582
|
+
}
|
|
1583
|
+
interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
|
|
1584
|
+
/**
|
|
1585
|
+
* Disables the clickable, and indicates to assistive technology that the loading is in progress.
|
|
1586
|
+
*
|
|
1587
|
+
* This also disables the clickable.
|
|
1588
|
+
*/
|
|
1589
|
+
loading?: BaseClickableProps["loading"];
|
|
1590
|
+
/**
|
|
1591
|
+
* Disables the clickable, meaning it cannot be clicked or receive focus.
|
|
1592
|
+
*
|
|
1593
|
+
* In this state, onClick will not fire.
|
|
1594
|
+
* If the click event originates from a child element, the event will immediately stop propagating from this element.
|
|
1595
|
+
*
|
|
1596
|
+
* However, items within the clickable can still receive focus and be interacted with.
|
|
1597
|
+
*
|
|
1598
|
+
* This has no impact on the visual state by default,
|
|
1599
|
+
* but developers are encouraged to style the clickable accordingly.
|
|
1600
|
+
*/
|
|
1601
|
+
disabled?: BaseClickableProps["disabled"];
|
|
1602
|
+
/**
|
|
1603
|
+
* Indicate the text language. Useful when the text is in a different language than the rest of the page.
|
|
1604
|
+
* It will allow assistive technologies such as screen readers to invoke the correct pronunciation.
|
|
1605
|
+
* [Reference of values](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) ("subtag" label)
|
|
1606
|
+
*
|
|
1607
|
+
* @default ''
|
|
1608
|
+
*/
|
|
1609
|
+
lang?: string;
|
|
1610
|
+
}
|
|
1413
1611
|
interface ClipboardItemProps$1 extends GlobalProps {
|
|
1414
1612
|
/**
|
|
1415
1613
|
* Plain text to be written to the clipboard.
|
|
@@ -1467,6 +1665,36 @@ export type AutocompleteGroup = "shipping" | "billing";
|
|
|
1467
1665
|
export type AutocompleteAddressGroup = "fax" | "home" | "mobile" | "pager";
|
|
1468
1666
|
export type AnyAutocompleteField = "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "current-password" | "email" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "new-password" | "nickname" | "one-time-code" | "organization-title" | "organization" | "photo" | "postal-code" | "sex" | "street-address" | "transaction-amount" | "transaction-currency" | "url" | "username" | "bday-day" | "bday-month" | "bday-year" | "bday" | "cc-additional-name" | "cc-expiry-month" | "cc-expiry-year" | "cc-expiry" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-csc" | "cc-type" | `${AutocompleteAddressGroup} email` | "impp" | `${AutocompleteAddressGroup} impp` | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`;
|
|
1469
1667
|
export type TextAutocompleteField = ExtractStrict<AnyAutocompleteField, "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "nickname" | "one-time-code" | "organization-title" | "organization" | "postal-code" | "sex" | "street-address" | "transaction-currency" | "username" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-type">;
|
|
1668
|
+
interface DetailsProps$1 extends GlobalProps, ToggleEventProps, ContainerProps {
|
|
1669
|
+
/**
|
|
1670
|
+
* The content of the details.
|
|
1671
|
+
*
|
|
1672
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
|
|
1673
|
+
*/
|
|
1674
|
+
children?: ComponentChildren;
|
|
1675
|
+
/**
|
|
1676
|
+
* Name of the element.
|
|
1677
|
+
*
|
|
1678
|
+
* This can be used to create multiple named disclosure boxes that where only one can be open at a time.
|
|
1679
|
+
*
|
|
1680
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#multiple_named_disclosure_boxes
|
|
1681
|
+
*/
|
|
1682
|
+
name?: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* Indicates whether the element should be open by default.
|
|
1685
|
+
*
|
|
1686
|
+
* This reflects to the `defaultopen` attribute.
|
|
1687
|
+
*
|
|
1688
|
+
* @default false
|
|
1689
|
+
*/
|
|
1690
|
+
defaultOpen?: boolean;
|
|
1691
|
+
/**
|
|
1692
|
+
* Sets the transition between the two states.
|
|
1693
|
+
*
|
|
1694
|
+
* @default 'auto'
|
|
1695
|
+
*/
|
|
1696
|
+
toggleTransition?: "none" | "auto";
|
|
1697
|
+
}
|
|
1470
1698
|
interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFieldProps {
|
|
1471
1699
|
/**
|
|
1472
1700
|
* A string representing the types of files that are accepted by the dropzone.
|
|
@@ -1496,6 +1724,9 @@ interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFiel
|
|
|
1496
1724
|
*/
|
|
1497
1725
|
onDropRejected?(files: File[]): void;
|
|
1498
1726
|
}
|
|
1727
|
+
interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
|
|
1728
|
+
}
|
|
1729
|
+
export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
|
|
1499
1730
|
export interface ExtendableEvent extends Event {
|
|
1500
1731
|
/**
|
|
1501
1732
|
* Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
|
|
@@ -1842,6 +2073,192 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
1842
2073
|
*/
|
|
1843
2074
|
children?: ComponentChildren;
|
|
1844
2075
|
}
|
|
2076
|
+
interface MapProps$1 extends GlobalProps, SizingProps {
|
|
2077
|
+
/**
|
|
2078
|
+
* A valid API key for the map service provider.
|
|
2079
|
+
*
|
|
2080
|
+
* 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.
|
|
2081
|
+
*/
|
|
2082
|
+
apiKey?: string;
|
|
2083
|
+
/**
|
|
2084
|
+
* Map center’s latitude in degrees.
|
|
2085
|
+
*
|
|
2086
|
+
* @default 0
|
|
2087
|
+
*/
|
|
2088
|
+
latitude?: number;
|
|
2089
|
+
/**
|
|
2090
|
+
* Map center’s longitude in degrees.
|
|
2091
|
+
*
|
|
2092
|
+
* @default 0
|
|
2093
|
+
*/
|
|
2094
|
+
longitude?: number;
|
|
2095
|
+
/**
|
|
2096
|
+
* A label that describes the purpose or contents of the map.
|
|
2097
|
+
*
|
|
2098
|
+
* When set, it will be announced to users using assistive technologies and will provide them with more context.
|
|
2099
|
+
*/
|
|
2100
|
+
accessibilityLabel?: string;
|
|
2101
|
+
/**
|
|
2102
|
+
* The initial Map zoom level.
|
|
2103
|
+
*
|
|
2104
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2105
|
+
* Larger zoom values correspond to a higher resolution.
|
|
2106
|
+
*
|
|
2107
|
+
* @default 4
|
|
2108
|
+
*/
|
|
2109
|
+
zoom?: number;
|
|
2110
|
+
/**
|
|
2111
|
+
* The maximum zoom level which will be displayed on the map.
|
|
2112
|
+
*
|
|
2113
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2114
|
+
*
|
|
2115
|
+
* @default 18
|
|
2116
|
+
*/
|
|
2117
|
+
maxZoom?: number;
|
|
2118
|
+
/**
|
|
2119
|
+
* The minimum zoom level which will be displayed on the map.
|
|
2120
|
+
*
|
|
2121
|
+
* Valid zoom values are numbers from zero up to 18.
|
|
2122
|
+
*
|
|
2123
|
+
* @default 0
|
|
2124
|
+
*/
|
|
2125
|
+
minZoom?: number;
|
|
2126
|
+
/**
|
|
2127
|
+
* Callback when the viewport bounds have changed or the map is resized.
|
|
2128
|
+
*/
|
|
2129
|
+
onBoundsChange?: (bounds: Bounds) => void;
|
|
2130
|
+
/**
|
|
2131
|
+
* Callback when the map view changes.
|
|
2132
|
+
*/
|
|
2133
|
+
onViewChange?: (location: Location$1, zoom: number) => void;
|
|
2134
|
+
/**
|
|
2135
|
+
* Callback when the user clicks on the map.
|
|
2136
|
+
*/
|
|
2137
|
+
onClick?: (location: Location$1) => void;
|
|
2138
|
+
/**
|
|
2139
|
+
* Callback when the user double-clicks on the map.
|
|
2140
|
+
*/
|
|
2141
|
+
onDblClick?: (location: Location$1) => void;
|
|
2142
|
+
}
|
|
2143
|
+
interface Location$1 {
|
|
2144
|
+
latitude?: number;
|
|
2145
|
+
longitude?: number;
|
|
2146
|
+
}
|
|
2147
|
+
export interface Bounds {
|
|
2148
|
+
northEast?: Location$1;
|
|
2149
|
+
southWest?: Location$1;
|
|
2150
|
+
}
|
|
2151
|
+
interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
|
|
2152
|
+
/**
|
|
2153
|
+
* Marker’s location latitude in degrees.
|
|
2154
|
+
*
|
|
2155
|
+
* @default 0
|
|
2156
|
+
*/
|
|
2157
|
+
latitude?: number;
|
|
2158
|
+
/**
|
|
2159
|
+
* Marker’s longitude latitude in degrees.
|
|
2160
|
+
*
|
|
2161
|
+
* @default 0
|
|
2162
|
+
*/
|
|
2163
|
+
longitude?: number;
|
|
2164
|
+
/**
|
|
2165
|
+
* A label that describes the purpose of the marker. When set,
|
|
2166
|
+
* it will be announced to users using assistive technologies and will
|
|
2167
|
+
* provide them with more context.
|
|
2168
|
+
*/
|
|
2169
|
+
accessibilityLabel?: string;
|
|
2170
|
+
/**
|
|
2171
|
+
* Allows grouping the marker in clusters when zoomed out.
|
|
2172
|
+
*
|
|
2173
|
+
* @default false
|
|
2174
|
+
*/
|
|
2175
|
+
clusterable?: boolean;
|
|
2176
|
+
/**
|
|
2177
|
+
* The graphic to use as the marker.
|
|
2178
|
+
*
|
|
2179
|
+
* If unset, it will default to the provider’s default marker.
|
|
2180
|
+
*/
|
|
2181
|
+
graphic?: ComponentChildren;
|
|
2182
|
+
/**
|
|
2183
|
+
* Callback when a marker is clicked.
|
|
2184
|
+
*
|
|
2185
|
+
* It does not trigger a click event on the map itself.
|
|
2186
|
+
*/
|
|
2187
|
+
onClick?: () => void;
|
|
2188
|
+
}
|
|
2189
|
+
export interface BaseOverlayProps {
|
|
2190
|
+
/**
|
|
2191
|
+
* Callback fired after the overlay is shown.
|
|
2192
|
+
*/
|
|
2193
|
+
onShow?: () => void;
|
|
2194
|
+
/**
|
|
2195
|
+
* Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
|
|
2196
|
+
*/
|
|
2197
|
+
onAfterShow?: () => void;
|
|
2198
|
+
/**
|
|
2199
|
+
* Callback fired after the overlay is hidden.
|
|
2200
|
+
*/
|
|
2201
|
+
onHide?: () => void;
|
|
2202
|
+
/**
|
|
2203
|
+
* Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
|
|
2204
|
+
*/
|
|
2205
|
+
onAfterHide?: () => void;
|
|
2206
|
+
}
|
|
2207
|
+
interface ModalProps$1 extends GlobalProps, BaseOverlayProps, ActionSlots, ContainerProps {
|
|
2208
|
+
/**
|
|
2209
|
+
* A label that describes the purpose of the modal. When set,
|
|
2210
|
+
* it will be announced to users using assistive technologies and will
|
|
2211
|
+
* provide them with more context.
|
|
2212
|
+
*
|
|
2213
|
+
* This overrides the `heading` prop for screen readers.
|
|
2214
|
+
*/
|
|
2215
|
+
accessibilityLabel?: string;
|
|
2216
|
+
/**
|
|
2217
|
+
* A title that describes the content of the Modal.
|
|
2218
|
+
*
|
|
2219
|
+
*/
|
|
2220
|
+
heading?: string;
|
|
2221
|
+
/**
|
|
2222
|
+
* Adjust the padding around the Modal content.
|
|
2223
|
+
*
|
|
2224
|
+
* `base`: applies padding that is appropriate for the element.
|
|
2225
|
+
*
|
|
2226
|
+
* `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
|
|
2227
|
+
* to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
|
|
2228
|
+
* to bring back the desired padding for the rest of the content.
|
|
2229
|
+
*
|
|
2230
|
+
* @default 'base'
|
|
2231
|
+
*/
|
|
2232
|
+
padding?: "base" | "none";
|
|
2233
|
+
/**
|
|
2234
|
+
* Adjust the size of the Modal.
|
|
2235
|
+
*
|
|
2236
|
+
* `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
|
|
2237
|
+
*
|
|
2238
|
+
* @default 'base'
|
|
2239
|
+
*/
|
|
2240
|
+
size?: SizeKeyword | "max";
|
|
2241
|
+
/**
|
|
2242
|
+
* The content of the Modal.
|
|
2243
|
+
*/
|
|
2244
|
+
children?: ComponentChildren;
|
|
2245
|
+
}
|
|
2246
|
+
interface NumberFieldProps$1 extends GlobalProps, BaseTextFieldProps, AutocompleteProps<NumberAutocompleteField>, NumberConstraintsProps, FieldDecorationProps {
|
|
2247
|
+
/**
|
|
2248
|
+
* Sets the virtual keyboard.
|
|
2249
|
+
*
|
|
2250
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
|
|
2251
|
+
* @default 'decimal'
|
|
2252
|
+
*/
|
|
2253
|
+
inputMode?: "decimal" | "numeric";
|
|
2254
|
+
}
|
|
2255
|
+
export type NumberAutocompleteField = ExtractStrict<AnyAutocompleteField, "one-time-code" | "cc-number" | "cc-csc">;
|
|
2256
|
+
interface OptionProps$1 extends GlobalProps, BaseOptionProps {
|
|
2257
|
+
/**
|
|
2258
|
+
* The content to use as the label.
|
|
2259
|
+
*/
|
|
2260
|
+
children?: ComponentChildren;
|
|
2261
|
+
}
|
|
1845
2262
|
interface OrderedListProps$1 extends GlobalProps {
|
|
1846
2263
|
}
|
|
1847
2264
|
interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps, ContainerProps {
|
|
@@ -1893,6 +2310,41 @@ interface PaymentIconProps$1 extends GlobalProps {
|
|
|
1893
2310
|
accessibilityLabel?: string;
|
|
1894
2311
|
}
|
|
1895
2312
|
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";
|
|
2313
|
+
export type PhoneAutocompleteField = ExtractStrict<AnyAutocompleteField, "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`>;
|
|
2314
|
+
interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
|
|
2315
|
+
/**
|
|
2316
|
+
* The type of number to collect.
|
|
2317
|
+
*
|
|
2318
|
+
* Specific style may be applied to each type to provide extra guidance to users. Note that no extra validation is performed based on the type.
|
|
2319
|
+
*
|
|
2320
|
+
* @default '' meaning no specific kind of phone number
|
|
2321
|
+
*/
|
|
2322
|
+
type?: "mobile" | "";
|
|
2323
|
+
}
|
|
2324
|
+
interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
|
|
2325
|
+
/**
|
|
2326
|
+
* Decorates the product thumbnail with the quantity of the product.
|
|
2327
|
+
*/
|
|
2328
|
+
totalItems?: number;
|
|
2329
|
+
/**
|
|
2330
|
+
* Adjusts the size the product thumbnail image.
|
|
2331
|
+
*
|
|
2332
|
+
* @default 'base'
|
|
2333
|
+
*/
|
|
2334
|
+
size?: SizeKeyword;
|
|
2335
|
+
/**
|
|
2336
|
+
* Invoked when load of provided image completes successfully.
|
|
2337
|
+
*
|
|
2338
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
|
|
2339
|
+
*/
|
|
2340
|
+
onLoad?: () => void;
|
|
2341
|
+
/**
|
|
2342
|
+
* Invoked on load error of provided image.
|
|
2343
|
+
*
|
|
2344
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
|
|
2345
|
+
*/
|
|
2346
|
+
onError?: () => void;
|
|
2347
|
+
}
|
|
1896
2348
|
interface ProgressProps$1 extends GlobalProps {
|
|
1897
2349
|
/**
|
|
1898
2350
|
* A label that describes the purpose of the progress. When set,
|
|
@@ -2008,6 +2460,14 @@ interface SectionProps$1 extends GlobalProps, ContainerProps {
|
|
|
2008
2460
|
*/
|
|
2009
2461
|
padding?: "base" | "none";
|
|
2010
2462
|
}
|
|
2463
|
+
interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteField>, Pick<FieldDecorationProps, "icon">, Omit<FieldProps, "defaultValue">, FocusEventProps {
|
|
2464
|
+
/**
|
|
2465
|
+
* The options a user can select from.
|
|
2466
|
+
*
|
|
2467
|
+
* Accepts `Option` and `OptionGroup` components.
|
|
2468
|
+
*/
|
|
2469
|
+
children?: ComponentChildren;
|
|
2470
|
+
}
|
|
2011
2471
|
interface SpinnerProps$1 extends GlobalProps {
|
|
2012
2472
|
/**
|
|
2013
2473
|
* Adjusts the size of the spinner icon.
|
|
@@ -2059,6 +2519,22 @@ interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
|
|
|
2059
2519
|
*/
|
|
2060
2520
|
alignContent?: AlignContentKeyword;
|
|
2061
2521
|
}
|
|
2522
|
+
interface SummaryProps$1 extends GlobalProps {
|
|
2523
|
+
/**
|
|
2524
|
+
* The content to use as the label.
|
|
2525
|
+
*
|
|
2526
|
+
* Interactive content is disallowed. For example, you can use a `<Text>` element for extra formatting but
|
|
2527
|
+
* elements like buttons and fields are not allowed.
|
|
2528
|
+
*
|
|
2529
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
|
|
2530
|
+
*
|
|
2531
|
+
* @implementation Surfaces may apply styling to this element. An icon suggesting the state (open or closed) of the
|
|
2532
|
+
* details element is recommended.
|
|
2533
|
+
*
|
|
2534
|
+
* @implementation Surface may decide to warn when interactive elements are used.
|
|
2535
|
+
*/
|
|
2536
|
+
children?: ComponentChildren;
|
|
2537
|
+
}
|
|
2062
2538
|
interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTypographyProps, DisplayProps {
|
|
2063
2539
|
/**
|
|
2064
2540
|
* The content of the Text.
|
|
@@ -2155,6 +2631,14 @@ export type TextType =
|
|
|
2155
2631
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
|
|
2156
2632
|
*/
|
|
2157
2633
|
| "generic";
|
|
2634
|
+
interface TextAreaProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField> {
|
|
2635
|
+
/**
|
|
2636
|
+
* A number of visible text lines.
|
|
2637
|
+
*
|
|
2638
|
+
* @default 2
|
|
2639
|
+
*/
|
|
2640
|
+
rows?: number;
|
|
2641
|
+
}
|
|
2158
2642
|
interface TextFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField>, FieldDecorationProps {
|
|
2159
2643
|
}
|
|
2160
2644
|
interface TimeProps$1 {
|