@shopify/ui-extensions 2025.10.0-rc.41 → 2025.10.0-rc.43
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/shared.js +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +1 -1
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/index.d.ts +4 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Banner.d.ts +18 -24
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +21 -27
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +6 -13
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +21 -28
- package/build/ts/surfaces/admin/components/Chip.d.ts +5 -11
- package/build/ts/surfaces/admin/components/Choice.d.ts +5 -17
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +19 -26
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +21 -28
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +18 -24
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -4
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/build/ts/surfaces/admin/components/DateField.d.ts +12 -12
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -4
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Form.d.ts +7 -3
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +4 -10
- package/build/ts/surfaces/admin/components/GridItem.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Icon.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +20 -21
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +21 -27
- package/build/ts/surfaces/admin/components/ListItem.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Modal.d.ts +15 -15
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +29 -29
- package/build/ts/surfaces/admin/components/NumberField.d.ts +28 -27
- package/build/ts/surfaces/admin/components/Option.d.ts +7 -11
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +7 -12
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Page.d.ts +11 -16
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +4 -11
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/build/ts/surfaces/admin/components/SearchField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +24 -28
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Switch.d.ts +20 -21
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +5 -12
- package/build/ts/surfaces/admin/components/TableBody.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableCell.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
- package/build/ts/surfaces/admin/components/TableRow.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +4 -10
- package/build/ts/surfaces/admin/components/TextArea.d.ts +26 -27
- package/build/ts/surfaces/admin/components/TextField.d.ts +27 -28
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -12
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +4 -10
- package/build/ts/surfaces/admin/components/URLField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +4 -11
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared.d.ts +24 -7
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -1
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +3 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/components.d.ts +252 -24
- package/build/ts/surfaces/checkout/extension-targets.d.ts +61 -61
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +6 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout.d.ts +1 -0
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/components.d.ts +252 -24
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +2 -9
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/index.ts +4 -0
- package/src/index.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar.d.ts +4 -10
- package/src/surfaces/admin/components/Badge.d.ts +4 -10
- package/src/surfaces/admin/components/Banner.d.ts +18 -24
- package/src/surfaces/admin/components/Box.d.ts +4 -10
- package/src/surfaces/admin/components/Button.d.ts +21 -27
- package/src/surfaces/admin/components/ButtonGroup.d.ts +6 -13
- package/src/surfaces/admin/components/Checkbox.d.ts +21 -28
- package/src/surfaces/admin/components/Chip.d.ts +5 -11
- package/src/surfaces/admin/components/Choice.d.ts +5 -17
- package/src/surfaces/admin/components/ChoiceList.d.ts +19 -26
- package/src/surfaces/admin/components/Clickable.d.ts +21 -28
- package/src/surfaces/admin/components/ClickableChip.d.ts +18 -24
- package/src/surfaces/admin/components/ColorField.d.ts +3 -4
- package/src/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/src/surfaces/admin/components/DateField.d.ts +12 -12
- package/src/surfaces/admin/components/DatePicker.d.ts +3 -4
- package/src/surfaces/admin/components/Divider.d.ts +3 -4
- package/src/surfaces/admin/components/EmailField.d.ts +26 -27
- package/src/surfaces/admin/components/Form.d.ts +7 -3
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +4 -10
- package/src/surfaces/admin/components/GridItem.d.ts +4 -11
- package/src/surfaces/admin/components/Heading.d.ts +4 -10
- package/src/surfaces/admin/components/Icon.d.ts +3 -4
- package/src/surfaces/admin/components/Image.d.ts +20 -21
- package/src/surfaces/admin/components/Link.d.ts +21 -27
- package/src/surfaces/admin/components/ListItem.d.ts +4 -11
- package/src/surfaces/admin/components/Menu.d.ts +3 -3
- package/src/surfaces/admin/components/Modal.d.ts +15 -15
- package/src/surfaces/admin/components/MoneyField.d.ts +29 -29
- package/src/surfaces/admin/components/NumberField.d.ts +28 -27
- package/src/surfaces/admin/components/Option.d.ts +7 -11
- package/src/surfaces/admin/components/OptionGroup.d.ts +7 -12
- package/src/surfaces/admin/components/OrderedList.d.ts +4 -11
- package/src/surfaces/admin/components/Page.d.ts +11 -16
- package/src/surfaces/admin/components/Paragraph.d.ts +4 -11
- package/src/surfaces/admin/components/PasswordField.d.ts +26 -27
- package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/src/surfaces/admin/components/SearchField.d.ts +26 -27
- package/src/surfaces/admin/components/Section.d.ts +4 -10
- package/src/surfaces/admin/components/Select.d.ts +24 -28
- package/src/surfaces/admin/components/Spinner.d.ts +3 -4
- package/src/surfaces/admin/components/Stack.d.ts +4 -10
- package/src/surfaces/admin/components/Switch.d.ts +20 -21
- package/src/surfaces/admin/components/Table.d.ts +5 -12
- package/src/surfaces/admin/components/TableBody.d.ts +4 -11
- package/src/surfaces/admin/components/TableCell.d.ts +4 -11
- package/src/surfaces/admin/components/TableHeader.d.ts +4 -11
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
- package/src/surfaces/admin/components/TableRow.d.ts +4 -11
- package/src/surfaces/admin/components/Text.d.ts +4 -10
- package/src/surfaces/admin/components/TextArea.d.ts +26 -27
- package/src/surfaces/admin/components/TextField.d.ts +27 -28
- package/src/surfaces/admin/components/Thumbnail.d.ts +11 -12
- package/src/surfaces/admin/components/Tooltip.d.ts +4 -10
- package/src/surfaces/admin/components/URLField.d.ts +26 -27
- package/src/surfaces/admin/components/UnorderedList.d.ts +4 -11
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
- package/src/surfaces/admin/components/shared.d.ts +24 -7
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +902 -614
- package/src/surfaces/admin/extension-targets.ts +11 -10
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/api/checkout/checkout.ts +2 -2
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge.d.ts +7 -1
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
- package/src/surfaces/checkout/components/Form.d.ts +3 -0
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +7 -1
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -1
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -7
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -4
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -20
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -5
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +1 -1
- package/src/surfaces/checkout/components/TextField.d.ts +7 -1
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/src/surfaces/checkout/components/components.d.ts +252 -24
- package/src/surfaces/checkout/extension-targets.ts +63 -62
- package/src/surfaces/checkout/shared.ts +15 -8
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +2 -2
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +3 -3
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +2 -2
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -10
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -5
- package/src/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/src/surfaces/point-of-sale/components.d.ts +48 -50
- package/build/ts/surfaces/admin/components/DropZone.d.ts +0 -160
- package/build/ts/surfaces/admin/components/Popover.d.ts +0 -379
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -57
- package/src/surfaces/admin/components/DropZone.d.ts +0 -160
- package/src/surfaces/admin/components/Popover.d.ts +0 -379
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -10
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +0 -22
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -17
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +0 -24
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -37
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +0 -23
|
@@ -19,9 +19,10 @@ import type {StandardApi} from './api/standard/standard';
|
|
|
19
19
|
import type {ShippingOptionItemApi} from './api/shipping/shipping-option-item';
|
|
20
20
|
import type {ShippingOptionListApi} from './api/shipping/shipping-option-list';
|
|
21
21
|
import type {
|
|
22
|
-
|
|
22
|
+
AnyCheckoutComponent,
|
|
23
23
|
AllowedComponents,
|
|
24
|
-
|
|
24
|
+
AnyCheckoutComponentExcept,
|
|
25
|
+
AnyThankYouComponent,
|
|
25
26
|
} from './shared';
|
|
26
27
|
|
|
27
28
|
/**
|
|
@@ -38,7 +39,7 @@ export interface RenderExtensionTargets {
|
|
|
38
39
|
*/
|
|
39
40
|
'purchase.checkout.actions.render-before': RenderExtension<
|
|
40
41
|
CheckoutApi & StandardApi<'purchase.checkout.actions.render-before'>,
|
|
41
|
-
|
|
42
|
+
AnyCheckoutComponent
|
|
42
43
|
>;
|
|
43
44
|
/**
|
|
44
45
|
* A static extension target that is rendered immediately before any actions within each step.
|
|
@@ -48,14 +49,14 @@ export interface RenderExtensionTargets {
|
|
|
48
49
|
*/
|
|
49
50
|
'Checkout::Actions::RenderBefore': RenderExtension<
|
|
50
51
|
CheckoutApi & StandardApi<'Checkout::Actions::RenderBefore'>,
|
|
51
|
-
|
|
52
|
+
AnyCheckoutComponent
|
|
52
53
|
>;
|
|
53
54
|
/**
|
|
54
55
|
* A static extension target that is rendered after all line items.
|
|
55
56
|
*/
|
|
56
57
|
'purchase.checkout.cart-line-list.render-after': RenderExtension<
|
|
57
58
|
CheckoutApi & StandardApi<'purchase.checkout.cart-line-list.render-after'>,
|
|
58
|
-
|
|
59
|
+
AnyCheckoutComponent
|
|
59
60
|
>;
|
|
60
61
|
/**
|
|
61
62
|
* A static extension target that is rendered after all line items.
|
|
@@ -65,7 +66,7 @@ export interface RenderExtensionTargets {
|
|
|
65
66
|
*/
|
|
66
67
|
'Checkout::CartLines::RenderAfter': RenderExtension<
|
|
67
68
|
CheckoutApi & StandardApi<'Checkout::CartLines::RenderAfter'>,
|
|
68
|
-
|
|
69
|
+
AnyCheckoutComponent
|
|
69
70
|
>;
|
|
70
71
|
/**
|
|
71
72
|
* A static extension target that renders on every line item, inside the details
|
|
@@ -75,7 +76,7 @@ export interface RenderExtensionTargets {
|
|
|
75
76
|
CheckoutApi &
|
|
76
77
|
CartLineItemApi &
|
|
77
78
|
StandardApi<'purchase.checkout.cart-line-item.render-after'>,
|
|
78
|
-
|
|
79
|
+
AnyCheckoutComponent
|
|
79
80
|
>;
|
|
80
81
|
/**
|
|
81
82
|
* A static extension target that renders on every line item, inside the details
|
|
@@ -88,7 +89,7 @@ export interface RenderExtensionTargets {
|
|
|
88
89
|
CheckoutApi &
|
|
89
90
|
CartLineItemApi &
|
|
90
91
|
StandardApi<'Checkout::CartLineDetails::RenderAfter'>,
|
|
91
|
-
|
|
92
|
+
AnyCheckoutComponent
|
|
92
93
|
>;
|
|
93
94
|
/**
|
|
94
95
|
* A static extension target that renders on every bundle line item, inside the details
|
|
@@ -98,7 +99,7 @@ export interface RenderExtensionTargets {
|
|
|
98
99
|
'purchase.cart-line-item.line-components.render': RenderExtension<
|
|
99
100
|
CartLineItemApi &
|
|
100
101
|
StandardApi<'purchase.cart-line-item.line-components.render'>,
|
|
101
|
-
|
|
102
|
+
AnyCheckoutComponent
|
|
102
103
|
>;
|
|
103
104
|
/**
|
|
104
105
|
* A static extension target that renders on every bundle line item, inside the details
|
|
@@ -110,14 +111,14 @@ export interface RenderExtensionTargets {
|
|
|
110
111
|
'Checkout::CartLineDetails::RenderLineComponents': RenderExtension<
|
|
111
112
|
CartLineItemApi &
|
|
112
113
|
StandardApi<'Checkout::CartLineDetails::RenderLineComponents'>,
|
|
113
|
-
|
|
114
|
+
AnyCheckoutComponent
|
|
114
115
|
>;
|
|
115
116
|
/**
|
|
116
117
|
* A static extension target that is rendered immediately after the contact form element.
|
|
117
118
|
*/
|
|
118
119
|
'purchase.checkout.contact.render-after': RenderExtension<
|
|
119
120
|
CheckoutApi & StandardApi<'purchase.checkout.contact.render-after'>,
|
|
120
|
-
|
|
121
|
+
AnyCheckoutComponent
|
|
121
122
|
>;
|
|
122
123
|
/**
|
|
123
124
|
* A static extension target that is rendered immediately after the contact form element.
|
|
@@ -127,7 +128,7 @@ export interface RenderExtensionTargets {
|
|
|
127
128
|
*/
|
|
128
129
|
'Checkout::Contact::RenderAfter': RenderExtension<
|
|
129
130
|
CheckoutApi & StandardApi<'Checkout::Contact::RenderAfter'>,
|
|
130
|
-
|
|
131
|
+
AnyCheckoutComponent
|
|
131
132
|
>;
|
|
132
133
|
/**
|
|
133
134
|
* A static extension target that is rendered after a purchase below the customer information.
|
|
@@ -138,7 +139,7 @@ export interface RenderExtensionTargets {
|
|
|
138
139
|
*/
|
|
139
140
|
'Checkout::CustomerInformation::RenderAfter': RenderExtension<
|
|
140
141
|
CheckoutApi & StandardApi<'Checkout::CustomerInformation::RenderAfter'>,
|
|
141
|
-
|
|
142
|
+
AnyCheckoutComponent
|
|
142
143
|
>;
|
|
143
144
|
/**
|
|
144
145
|
* A static extension target that is rendered between the shipping address header
|
|
@@ -147,7 +148,7 @@ export interface RenderExtensionTargets {
|
|
|
147
148
|
'purchase.checkout.delivery-address.render-before': RenderExtension<
|
|
148
149
|
CheckoutApi &
|
|
149
150
|
StandardApi<'purchase.checkout.delivery-address.render-before'>,
|
|
150
|
-
|
|
151
|
+
AnyCheckoutComponent
|
|
151
152
|
>;
|
|
152
153
|
/**
|
|
153
154
|
* A static extension target that is rendered between the shipping address header
|
|
@@ -158,7 +159,7 @@ export interface RenderExtensionTargets {
|
|
|
158
159
|
*/
|
|
159
160
|
'Checkout::DeliveryAddress::RenderBefore': RenderExtension<
|
|
160
161
|
CheckoutApi & StandardApi<'Checkout::DeliveryAddress::RenderBefore'>,
|
|
161
|
-
|
|
162
|
+
AnyCheckoutComponent
|
|
162
163
|
>;
|
|
163
164
|
/**
|
|
164
165
|
* A static extension target that is rendered after the shipping address form elements.
|
|
@@ -166,7 +167,7 @@ export interface RenderExtensionTargets {
|
|
|
166
167
|
'purchase.checkout.delivery-address.render-after': RenderExtension<
|
|
167
168
|
CheckoutApi &
|
|
168
169
|
StandardApi<'purchase.checkout.delivery-address.render-after'>,
|
|
169
|
-
|
|
170
|
+
AnyCheckoutComponent
|
|
170
171
|
>;
|
|
171
172
|
/**
|
|
172
173
|
* A [block extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#block-extension-targets) that isn't tied to a specific checkout section or feature.
|
|
@@ -178,7 +179,7 @@ export interface RenderExtensionTargets {
|
|
|
178
179
|
*/
|
|
179
180
|
'purchase.checkout.block.render': RenderExtension<
|
|
180
181
|
CheckoutApi & StandardApi<'purchase.checkout.block.render'>,
|
|
181
|
-
|
|
182
|
+
AnyCheckoutComponent
|
|
182
183
|
>;
|
|
183
184
|
/**
|
|
184
185
|
* A [block extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#block-extension-targets) that isn't tied to a specific checkout section or feature.
|
|
@@ -193,7 +194,7 @@ export interface RenderExtensionTargets {
|
|
|
193
194
|
*/
|
|
194
195
|
'Checkout::Dynamic::Render': RenderExtension<
|
|
195
196
|
CheckoutApi & StandardApi<'Checkout::Dynamic::Render'>,
|
|
196
|
-
|
|
197
|
+
AnyCheckoutComponent
|
|
197
198
|
>;
|
|
198
199
|
/**
|
|
199
200
|
* A [block extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#block-extension-targets) that renders exclusively on the **Thank you** page.
|
|
@@ -206,7 +207,7 @@ export interface RenderExtensionTargets {
|
|
|
206
207
|
*/
|
|
207
208
|
'purchase.thank-you.block.render': RenderExtension<
|
|
208
209
|
OrderConfirmationApi & StandardApi<'purchase.thank-you.block.render'>,
|
|
209
|
-
|
|
210
|
+
AnyCheckoutComponent
|
|
210
211
|
>;
|
|
211
212
|
/**
|
|
212
213
|
* A [block extension target](https://shopify.dev/docs/api/checkout-ui-extensions/extension-targets-overview#block-extension-targets) that renders exclusively on the **Thank you** page.
|
|
@@ -221,7 +222,7 @@ export interface RenderExtensionTargets {
|
|
|
221
222
|
*/
|
|
222
223
|
'Checkout::ThankYou::Dynamic::Render': RenderExtension<
|
|
223
224
|
OrderConfirmationApi & StandardApi<'Checkout::ThankYou::Dynamic::Render'>,
|
|
224
|
-
|
|
225
|
+
AnyCheckoutComponent
|
|
225
226
|
>;
|
|
226
227
|
/**
|
|
227
228
|
* A static extension target that renders on every line item, inside the details
|
|
@@ -231,7 +232,7 @@ export interface RenderExtensionTargets {
|
|
|
231
232
|
OrderConfirmationApi &
|
|
232
233
|
CartLineItemApi &
|
|
233
234
|
StandardApi<'purchase.thank-you.cart-line-item.render-after'>,
|
|
234
|
-
|
|
235
|
+
AnyCheckoutComponent
|
|
235
236
|
>;
|
|
236
237
|
/**
|
|
237
238
|
* A static extension target that renders on every line item, inside the details
|
|
@@ -244,7 +245,7 @@ export interface RenderExtensionTargets {
|
|
|
244
245
|
OrderConfirmationApi &
|
|
245
246
|
CartLineItemApi &
|
|
246
247
|
StandardApi<'Checkout::ThankYou::CartLineDetails::RenderAfter'>,
|
|
247
|
-
|
|
248
|
+
AnyCheckoutComponent
|
|
248
249
|
>;
|
|
249
250
|
/**
|
|
250
251
|
* A static extension target that is rendered after all line items on the **Thank you** page.
|
|
@@ -252,7 +253,7 @@ export interface RenderExtensionTargets {
|
|
|
252
253
|
'purchase.thank-you.cart-line-list.render-after': RenderExtension<
|
|
253
254
|
OrderConfirmationApi &
|
|
254
255
|
StandardApi<'purchase.thank-you.cart-line-list.render-after'>,
|
|
255
|
-
|
|
256
|
+
AnyCheckoutComponent
|
|
256
257
|
>;
|
|
257
258
|
/**
|
|
258
259
|
* A static extension target that is rendered after all line items on the **Thank you** page.
|
|
@@ -263,7 +264,7 @@ export interface RenderExtensionTargets {
|
|
|
263
264
|
'Checkout::ThankYou::CartLines::RenderAfter': RenderExtension<
|
|
264
265
|
OrderConfirmationApi &
|
|
265
266
|
StandardApi<'Checkout::ThankYou::CartLines::RenderAfter'>,
|
|
266
|
-
|
|
267
|
+
AnyCheckoutComponent
|
|
267
268
|
>;
|
|
268
269
|
/**
|
|
269
270
|
* A static extension target that is rendered after a purchase below the customer information on the **Thank you** page.
|
|
@@ -271,7 +272,7 @@ export interface RenderExtensionTargets {
|
|
|
271
272
|
'purchase.thank-you.customer-information.render-after': RenderExtension<
|
|
272
273
|
OrderConfirmationApi &
|
|
273
274
|
StandardApi<'purchase.thank-you.customer-information.render-after'>,
|
|
274
|
-
|
|
275
|
+
AnyCheckoutComponent
|
|
275
276
|
>;
|
|
276
277
|
/**
|
|
277
278
|
* A static extension target that is rendered after a purchase below the customer information on the **Thank you** page.
|
|
@@ -282,7 +283,7 @@ export interface RenderExtensionTargets {
|
|
|
282
283
|
'Checkout::ThankYou::CustomerInformation::RenderAfter': RenderExtension<
|
|
283
284
|
OrderConfirmationApi &
|
|
284
285
|
StandardApi<'Checkout::ThankYou::CustomerInformation::RenderAfter'>,
|
|
285
|
-
|
|
286
|
+
AnyCheckoutComponent
|
|
286
287
|
>;
|
|
287
288
|
/**
|
|
288
289
|
* A static extension target that renders the gift card entry form fields after
|
|
@@ -295,7 +296,7 @@ export interface RenderExtensionTargets {
|
|
|
295
296
|
RedeemableApi &
|
|
296
297
|
CheckoutApi &
|
|
297
298
|
StandardApi<'purchase.checkout.gift-card.render'>,
|
|
298
|
-
|
|
299
|
+
AnyCheckoutComponentExcept<'Image' | 'Banner'>
|
|
299
300
|
>;
|
|
300
301
|
/**
|
|
301
302
|
* A static extension target that renders the gift card entry form fields after
|
|
@@ -307,7 +308,7 @@ export interface RenderExtensionTargets {
|
|
|
307
308
|
*/
|
|
308
309
|
'Checkout::GiftCard::Render': RenderExtension<
|
|
309
310
|
RedeemableApi & CheckoutApi & StandardApi<'Checkout::GiftCard::Render'>,
|
|
310
|
-
|
|
311
|
+
AnyCheckoutComponentExcept<'Image' | 'Banner'>
|
|
311
312
|
>;
|
|
312
313
|
/**
|
|
313
314
|
* A static extension target that renders the form fields for a payment method when selected by the buyer.
|
|
@@ -318,7 +319,7 @@ export interface RenderExtensionTargets {
|
|
|
318
319
|
PaymentOptionItemApi &
|
|
319
320
|
CheckoutApi &
|
|
320
321
|
StandardApi<'purchase.checkout.payment-option-item.details.render'>,
|
|
321
|
-
|
|
322
|
+
AnyCheckoutComponentExcept<'Image' | 'Banner'>
|
|
322
323
|
>;
|
|
323
324
|
/**
|
|
324
325
|
* A static extension target that renders the form fields for a payment method when selected by the buyer.
|
|
@@ -330,7 +331,7 @@ export interface RenderExtensionTargets {
|
|
|
330
331
|
PaymentOptionItemApi &
|
|
331
332
|
CheckoutApi &
|
|
332
333
|
StandardApi<'Checkout::PaymentMethod::Render'>,
|
|
333
|
-
|
|
334
|
+
AnyCheckoutComponentExcept<'Image' | 'Banner'>
|
|
334
335
|
>;
|
|
335
336
|
/**
|
|
336
337
|
* A static extension target that renders after the hosted fields of a credit card payment method.
|
|
@@ -341,7 +342,7 @@ export interface RenderExtensionTargets {
|
|
|
341
342
|
PaymentOptionItemApi &
|
|
342
343
|
CheckoutApi &
|
|
343
344
|
StandardApi<'purchase.checkout.payment-option-item.hosted-fields.render-after'>,
|
|
344
|
-
|
|
345
|
+
AnyCheckoutComponent
|
|
345
346
|
>;
|
|
346
347
|
/**
|
|
347
348
|
* A static extension target that renders after the hosted fields of a credit card payment method.
|
|
@@ -354,7 +355,7 @@ export interface RenderExtensionTargets {
|
|
|
354
355
|
PaymentOptionItemApi &
|
|
355
356
|
CheckoutApi &
|
|
356
357
|
StandardApi<'Checkout::PaymentMethod::HostedFields::RenderAfter'>,
|
|
357
|
-
|
|
358
|
+
AnyCheckoutComponentExcept<'Image' | 'Banner'>
|
|
358
359
|
>;
|
|
359
360
|
/**
|
|
360
361
|
* A static extension target that renders a form modal when a buyer selects the custom onsite payment method.
|
|
@@ -364,7 +365,7 @@ export interface RenderExtensionTargets {
|
|
|
364
365
|
'purchase.checkout.payment-option-item.action-required.render': RenderExtension<
|
|
365
366
|
CheckoutApi &
|
|
366
367
|
StandardApi<'purchase.checkout.payment-option-item.action-required.render'>,
|
|
367
|
-
|
|
368
|
+
AnyCheckoutComponent
|
|
368
369
|
>;
|
|
369
370
|
/**
|
|
370
371
|
* A static extension target that renders a form modal when a buyer selects the custom onsite payment method.
|
|
@@ -374,7 +375,7 @@ export interface RenderExtensionTargets {
|
|
|
374
375
|
*/
|
|
375
376
|
'Checkout::PaymentMethod::RenderRequiredAction': RenderExtension<
|
|
376
377
|
CheckoutApi & StandardApi<'Checkout::PaymentMethod::RenderRequiredAction'>,
|
|
377
|
-
|
|
378
|
+
AnyCheckoutComponent
|
|
378
379
|
>;
|
|
379
380
|
/**
|
|
380
381
|
* A static extension target that renders between the payment heading and payment method list.
|
|
@@ -383,7 +384,7 @@ export interface RenderExtensionTargets {
|
|
|
383
384
|
'purchase.checkout.payment-method-list.render-before': RenderExtension<
|
|
384
385
|
CheckoutApi &
|
|
385
386
|
StandardApi<'purchase.checkout.payment-method-list.render-before'>,
|
|
386
|
-
|
|
387
|
+
AnyCheckoutComponent
|
|
387
388
|
>;
|
|
388
389
|
/**
|
|
389
390
|
* A static extension target that renders below the list of payment methods.
|
|
@@ -392,14 +393,14 @@ export interface RenderExtensionTargets {
|
|
|
392
393
|
'purchase.checkout.payment-method-list.render-after': RenderExtension<
|
|
393
394
|
CheckoutApi &
|
|
394
395
|
StandardApi<'purchase.checkout.payment-method-list.render-after'>,
|
|
395
|
-
|
|
396
|
+
AnyCheckoutComponent
|
|
396
397
|
>;
|
|
397
398
|
/**
|
|
398
399
|
* A static extension target that is rendered in the order summary, before the discount form element.
|
|
399
400
|
*/
|
|
400
401
|
'purchase.checkout.reductions.render-before': RenderExtension<
|
|
401
402
|
CheckoutApi & StandardApi<'purchase.checkout.reductions.render-before'>,
|
|
402
|
-
|
|
403
|
+
AnyCheckoutComponent
|
|
403
404
|
>;
|
|
404
405
|
/**
|
|
405
406
|
* A static extension target that is rendered in the order summary, before the discount form element.
|
|
@@ -409,7 +410,7 @@ export interface RenderExtensionTargets {
|
|
|
409
410
|
*/
|
|
410
411
|
'Checkout::Reductions::RenderBefore': RenderExtension<
|
|
411
412
|
CheckoutApi & StandardApi<'Checkout::Reductions::RenderBefore'>,
|
|
412
|
-
|
|
413
|
+
AnyCheckoutComponent
|
|
413
414
|
>;
|
|
414
415
|
/**
|
|
415
416
|
* A static extension target that is rendered in the order summary, after the discount form
|
|
@@ -417,7 +418,7 @@ export interface RenderExtensionTargets {
|
|
|
417
418
|
*/
|
|
418
419
|
'purchase.checkout.reductions.render-after': RenderExtension<
|
|
419
420
|
CheckoutApi & StandardApi<'purchase.checkout.reductions.render-after'>,
|
|
420
|
-
|
|
421
|
+
AnyCheckoutComponent
|
|
421
422
|
>;
|
|
422
423
|
/**
|
|
423
424
|
* A static extension target that is rendered in the order summary, after the discount form
|
|
@@ -428,7 +429,7 @@ export interface RenderExtensionTargets {
|
|
|
428
429
|
*/
|
|
429
430
|
'Checkout::Reductions::RenderAfter': RenderExtension<
|
|
430
431
|
CheckoutApi & StandardApi<'Checkout::Reductions::RenderAfter'>,
|
|
431
|
-
|
|
432
|
+
AnyCheckoutComponent
|
|
432
433
|
>;
|
|
433
434
|
/**
|
|
434
435
|
* A static extension target that is rendered between the shipping method
|
|
@@ -438,7 +439,7 @@ export interface RenderExtensionTargets {
|
|
|
438
439
|
ShippingOptionListApi &
|
|
439
440
|
CheckoutApi &
|
|
440
441
|
StandardApi<'purchase.checkout.shipping-option-list.render-before'>,
|
|
441
|
-
|
|
442
|
+
AnyCheckoutComponent
|
|
442
443
|
>;
|
|
443
444
|
/**
|
|
444
445
|
* A static extension target that is rendered between the shipping method
|
|
@@ -451,7 +452,7 @@ export interface RenderExtensionTargets {
|
|
|
451
452
|
ShippingOptionListApi &
|
|
452
453
|
CheckoutApi &
|
|
453
454
|
StandardApi<'Checkout::ShippingMethods::RenderBefore'>,
|
|
454
|
-
|
|
455
|
+
AnyCheckoutComponent
|
|
455
456
|
>;
|
|
456
457
|
/**
|
|
457
458
|
* A static extension target that is rendered after the shipping method
|
|
@@ -461,7 +462,7 @@ export interface RenderExtensionTargets {
|
|
|
461
462
|
ShippingOptionListApi &
|
|
462
463
|
CheckoutApi &
|
|
463
464
|
StandardApi<'purchase.checkout.shipping-option-list.render-after'>,
|
|
464
|
-
|
|
465
|
+
AnyCheckoutComponent
|
|
465
466
|
>;
|
|
466
467
|
/**
|
|
467
468
|
* A static extension target that is rendered after the shipping method
|
|
@@ -474,7 +475,7 @@ export interface RenderExtensionTargets {
|
|
|
474
475
|
ShippingOptionListApi &
|
|
475
476
|
CheckoutApi &
|
|
476
477
|
StandardApi<'Checkout::ShippingMethods::RenderAfter'>,
|
|
477
|
-
|
|
478
|
+
AnyCheckoutComponent
|
|
478
479
|
>;
|
|
479
480
|
/**
|
|
480
481
|
* A static extension target that is rendered before pickup location options.
|
|
@@ -483,7 +484,7 @@ export interface RenderExtensionTargets {
|
|
|
483
484
|
PickupLocationListApi &
|
|
484
485
|
CheckoutApi &
|
|
485
486
|
StandardApi<'purchase.checkout.pickup-location-list.render-before'>,
|
|
486
|
-
|
|
487
|
+
AnyCheckoutComponent
|
|
487
488
|
>;
|
|
488
489
|
/**
|
|
489
490
|
* A static extension target that is rendered before pickup location options.
|
|
@@ -495,7 +496,7 @@ export interface RenderExtensionTargets {
|
|
|
495
496
|
PickupLocationListApi &
|
|
496
497
|
CheckoutApi &
|
|
497
498
|
StandardApi<'Checkout::PickupLocations::RenderBefore'>,
|
|
498
|
-
|
|
499
|
+
AnyCheckoutComponent
|
|
499
500
|
>;
|
|
500
501
|
/**
|
|
501
502
|
* A static extension target that is rendered after pickup location options.
|
|
@@ -504,7 +505,7 @@ export interface RenderExtensionTargets {
|
|
|
504
505
|
PickupLocationListApi &
|
|
505
506
|
CheckoutApi &
|
|
506
507
|
StandardApi<'purchase.checkout.pickup-location-list.render-after'>,
|
|
507
|
-
|
|
508
|
+
AnyCheckoutComponent
|
|
508
509
|
>;
|
|
509
510
|
/**
|
|
510
511
|
* A static extension target that is rendered after pickup location options.
|
|
@@ -516,7 +517,7 @@ export interface RenderExtensionTargets {
|
|
|
516
517
|
PickupLocationListApi &
|
|
517
518
|
CheckoutApi &
|
|
518
519
|
StandardApi<'Checkout::PickupLocations::RenderAfter'>,
|
|
519
|
-
|
|
520
|
+
AnyCheckoutComponent
|
|
520
521
|
>;
|
|
521
522
|
/**
|
|
522
523
|
* A static extension target that is rendered after the shipping method
|
|
@@ -526,7 +527,7 @@ export interface RenderExtensionTargets {
|
|
|
526
527
|
ShippingOptionItemApi &
|
|
527
528
|
CheckoutApi &
|
|
528
529
|
StandardApi<'purchase.checkout.shipping-option-item.render-after'>,
|
|
529
|
-
|
|
530
|
+
AnyCheckoutComponent
|
|
530
531
|
>;
|
|
531
532
|
/**
|
|
532
533
|
* A static extension target that is rendered after the shipping method
|
|
@@ -539,7 +540,7 @@ export interface RenderExtensionTargets {
|
|
|
539
540
|
ShippingOptionItemApi &
|
|
540
541
|
CheckoutApi &
|
|
541
542
|
StandardApi<'Checkout::ShippingMethodDetails::RenderAfter'>,
|
|
542
|
-
|
|
543
|
+
AnyCheckoutComponent
|
|
543
544
|
>;
|
|
544
545
|
/**
|
|
545
546
|
* A static extension target that is rendered under the shipping method
|
|
@@ -549,7 +550,7 @@ export interface RenderExtensionTargets {
|
|
|
549
550
|
ShippingOptionItemApi &
|
|
550
551
|
CheckoutApi &
|
|
551
552
|
StandardApi<'purchase.checkout.shipping-option-item.details.render'>,
|
|
552
|
-
|
|
553
|
+
AnyCheckoutComponent
|
|
553
554
|
>;
|
|
554
555
|
/**
|
|
555
556
|
* A static extension target that is rendered under the shipping method
|
|
@@ -562,7 +563,7 @@ export interface RenderExtensionTargets {
|
|
|
562
563
|
ShippingOptionItemApi &
|
|
563
564
|
CheckoutApi &
|
|
564
565
|
StandardApi<'Checkout::ShippingMethodDetails::RenderExpanded'>,
|
|
565
|
-
|
|
566
|
+
AnyCheckoutComponent
|
|
566
567
|
>;
|
|
567
568
|
/**
|
|
568
569
|
* A static extension target that is rendered immediately before the pickup points.
|
|
@@ -571,7 +572,7 @@ export interface RenderExtensionTargets {
|
|
|
571
572
|
PickupPointListApi &
|
|
572
573
|
CheckoutApi &
|
|
573
574
|
StandardApi<'purchase.checkout.pickup-point-list.render-before'>,
|
|
574
|
-
|
|
575
|
+
AnyCheckoutComponent
|
|
575
576
|
>;
|
|
576
577
|
/**
|
|
577
578
|
* A static extension target that is rendered immediately before the pickup points.
|
|
@@ -583,7 +584,7 @@ export interface RenderExtensionTargets {
|
|
|
583
584
|
PickupPointListApi &
|
|
584
585
|
CheckoutApi &
|
|
585
586
|
StandardApi<'Checkout::PickupPoints::RenderBefore'>,
|
|
586
|
-
|
|
587
|
+
AnyCheckoutComponent
|
|
587
588
|
>;
|
|
588
589
|
/**
|
|
589
590
|
* A static extension target that is rendered immediately after the pickup points.
|
|
@@ -592,7 +593,7 @@ export interface RenderExtensionTargets {
|
|
|
592
593
|
PickupPointListApi &
|
|
593
594
|
CheckoutApi &
|
|
594
595
|
StandardApi<'purchase.checkout.pickup-point-list.render-after'>,
|
|
595
|
-
|
|
596
|
+
AnyCheckoutComponent
|
|
596
597
|
>;
|
|
597
598
|
/**
|
|
598
599
|
* A static extension target that is rendered immediately after the pickup points.
|
|
@@ -604,7 +605,7 @@ export interface RenderExtensionTargets {
|
|
|
604
605
|
PickupPointListApi &
|
|
605
606
|
CheckoutApi &
|
|
606
607
|
StandardApi<'Checkout::PickupPoints::RenderAfter'>,
|
|
607
|
-
|
|
608
|
+
AnyCheckoutComponent
|
|
608
609
|
>;
|
|
609
610
|
/**
|
|
610
611
|
* A static extension target that is rendered after the pickup location
|
|
@@ -614,21 +615,21 @@ export interface RenderExtensionTargets {
|
|
|
614
615
|
PickupLocationItemApi &
|
|
615
616
|
CheckoutApi &
|
|
616
617
|
StandardApi<'purchase.checkout.pickup-location-option-item.render-after'>,
|
|
617
|
-
|
|
618
|
+
AnyCheckoutComponent
|
|
618
619
|
>;
|
|
619
620
|
/**
|
|
620
621
|
* A static extension target that is rendered below the header.
|
|
621
622
|
*/
|
|
622
623
|
'purchase.checkout.header.render-after': RenderExtension<
|
|
623
624
|
CheckoutApi & StandardApi<'purchase.checkout.header.render-after'>,
|
|
624
|
-
|
|
625
|
+
AnyCheckoutComponent
|
|
625
626
|
>;
|
|
626
627
|
/**
|
|
627
628
|
* A static extension target that is rendered below the footer.
|
|
628
629
|
*/
|
|
629
630
|
'purchase.checkout.footer.render-after': RenderExtension<
|
|
630
631
|
CheckoutApi & StandardApi<'purchase.checkout.footer.render-after'>,
|
|
631
|
-
|
|
632
|
+
AnyCheckoutComponent
|
|
632
633
|
>;
|
|
633
634
|
/**
|
|
634
635
|
* A static extension target that is rendered on top of the checkout page as an overlay.
|
|
@@ -644,7 +645,7 @@ export interface RenderExtensionTargets {
|
|
|
644
645
|
'purchase.thank-you.header.render-after': RenderExtension<
|
|
645
646
|
OrderConfirmationApi &
|
|
646
647
|
StandardApi<'purchase.thank-you.header.render-after'>,
|
|
647
|
-
|
|
648
|
+
AnyCheckoutComponent
|
|
648
649
|
>;
|
|
649
650
|
/**
|
|
650
651
|
* A static extension target that is rendered below the footer on the **Thank you** page.
|
|
@@ -652,7 +653,7 @@ export interface RenderExtensionTargets {
|
|
|
652
653
|
'purchase.thank-you.footer.render-after': RenderExtension<
|
|
653
654
|
OrderConfirmationApi &
|
|
654
655
|
StandardApi<'purchase.thank-you.footer.render-after'>,
|
|
655
|
-
|
|
656
|
+
AnyCheckoutComponent
|
|
656
657
|
>;
|
|
657
658
|
/**
|
|
658
659
|
* A static extension target that is rendered on top of the **Thank you page** as an overlay.
|
|
@@ -668,7 +669,7 @@ export interface RenderExtensionTargets {
|
|
|
668
669
|
'purchase.thank-you.announcement.render': RenderExtension<
|
|
669
670
|
OrderConfirmationApi &
|
|
670
671
|
StandardApi<'purchase.thank-you.announcement.render'>,
|
|
671
|
-
|
|
672
|
+
AnyThankYouComponent
|
|
672
673
|
>;
|
|
673
674
|
}
|
|
674
675
|
|
|
@@ -6,14 +6,17 @@ import type {ReadonlySignalLike} from '../../shared';
|
|
|
6
6
|
*/
|
|
7
7
|
export const SUPPORTED_COMPONENTS = [
|
|
8
8
|
'Abbreviation',
|
|
9
|
+
'Announcement',
|
|
9
10
|
'Badge',
|
|
10
11
|
'Banner',
|
|
11
12
|
'Box',
|
|
12
13
|
'Button',
|
|
13
14
|
'Checkbox',
|
|
15
|
+
'Chip',
|
|
14
16
|
'Choice',
|
|
15
17
|
'ChoiceList',
|
|
16
18
|
'Clickable',
|
|
19
|
+
'ClickableChip',
|
|
17
20
|
'ClipboardItem',
|
|
18
21
|
'DateField',
|
|
19
22
|
'DatePicker',
|
|
@@ -41,8 +44,8 @@ export const SUPPORTED_COMPONENTS = [
|
|
|
41
44
|
'PaymentIcon',
|
|
42
45
|
'PhoneField',
|
|
43
46
|
'Popover',
|
|
44
|
-
'ProductThumbnail',
|
|
45
47
|
'PressButton',
|
|
48
|
+
'ProductThumbnail',
|
|
46
49
|
'Progress',
|
|
47
50
|
'QueryContainer',
|
|
48
51
|
'QRCode',
|
|
@@ -71,19 +74,23 @@ export const SUPPORTED_COMPONENTS = [
|
|
|
71
74
|
*/
|
|
72
75
|
export type PrivateComponent = 'Chat';
|
|
73
76
|
|
|
77
|
+
export type ThankYouComponent = 'Announcement';
|
|
78
|
+
|
|
79
|
+
export type AnyComponent =
|
|
80
|
+
| (typeof SUPPORTED_COMPONENTS)[number]
|
|
81
|
+
| PrivateComponent;
|
|
82
|
+
|
|
74
83
|
/**
|
|
75
84
|
* The list of supported components.
|
|
76
85
|
* As of October 1st, 2025, this is a subset of the components that will be available in the 2025-10 stable release.
|
|
77
86
|
*/
|
|
78
|
-
export type AnyComponent
|
|
79
|
-
|
|
80
|
-
|
|
87
|
+
export type AnyCheckoutComponent = Exclude<AnyComponent, ThankYouComponent>;
|
|
88
|
+
|
|
89
|
+
export type AnyThankYouComponent = (typeof SUPPORTED_COMPONENTS)[number];
|
|
81
90
|
|
|
82
91
|
export type AllowedComponents<Allowed extends AnyComponent> = Allowed;
|
|
83
|
-
export type
|
|
84
|
-
|
|
85
|
-
Except
|
|
86
|
-
>;
|
|
92
|
+
export type AnyCheckoutComponentExcept<Except extends AnyCheckoutComponent> =
|
|
93
|
+
Exclude<AnyCheckoutComponent, Except>;
|
|
87
94
|
|
|
88
95
|
/**
|
|
89
96
|
* Represents a read-only value managed on the main thread that an extension can subscribe to.
|
package/src/surfaces/checkout.ts
CHANGED
|
@@ -142,6 +142,7 @@ export type {
|
|
|
142
142
|
CheckoutApi,
|
|
143
143
|
} from './checkout/api/checkout/checkout';
|
|
144
144
|
export type {OrderConfirmationApi} from './checkout/api/order-confirmation/order-confirmation';
|
|
145
|
+
export type {Announcement} from './checkout/api/announcement/announcement';
|
|
145
146
|
|
|
146
147
|
export type {CartLineItemApi} from './checkout/api/cart-line/cart-line-item';
|
|
147
148
|
export type {PickupLocationListApi} from './checkout/api/pickup/pickup-location-list';
|
|
@@ -12,13 +12,13 @@ export type CallbackEventListener<
|
|
|
12
12
|
export interface AvatarElementProps extends IdProps {
|
|
13
13
|
/**
|
|
14
14
|
* Initials to display in the avatar.
|
|
15
|
+
*
|
|
16
|
+
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly.
|
|
15
17
|
*/
|
|
16
18
|
initials?: string;
|
|
17
19
|
|
|
18
20
|
/**
|
|
19
21
|
* The URL or path to the image.
|
|
20
|
-
*
|
|
21
|
-
* Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly.
|
|
22
22
|
*/
|
|
23
23
|
src?: string;
|
|
24
24
|
|
package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<s-button-group>
|
|
2
|
+
<s-button slot="primary-action" variant="primary">
|
|
3
|
+
Pay now
|
|
4
|
+
</s-button>
|
|
5
|
+
<s-button slot="secondary-actions" variant="secondary">
|
|
6
|
+
Edit order
|
|
7
|
+
</s-button>
|
|
8
|
+
<s-button slot="secondary-actions" variant="secondary">
|
|
9
|
+
Cancel order
|
|
10
|
+
</s-button>
|
|
11
|
+
</s-button-group>
|
|
@@ -9,11 +9,11 @@ export interface ButtonGroupProps extends IdProps {
|
|
|
9
9
|
|
|
10
10
|
export interface ButtonGroupElementSlots {
|
|
11
11
|
/**
|
|
12
|
-
* The primary action
|
|
12
|
+
* The primary action for the group. Accepts a single [Button](/docs/api/checkout-ui-extensions/polaris-web-components/actions/button) element.
|
|
13
13
|
*/
|
|
14
14
|
'primary-action'?: HTMLElement;
|
|
15
15
|
/**
|
|
16
|
-
* The secondary actions
|
|
16
|
+
* The secondary actions for the group. Accepts multiple [Button](/docs/api/checkout-ui-extensions/polaris-web-components/actions/button) elements.
|
|
17
17
|
*/
|
|
18
18
|
'secondary-actions'?: HTMLElement;
|
|
19
19
|
}
|