@shopify/ui-extensions 2025.10.0-rc.42 → 2025.10.0-rc.44
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/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 -9
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Banner.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +26 -26
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -4
- package/build/ts/surfaces/admin/components/Choice.d.ts +6 -11
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +89 -32
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -3
- 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 -3
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -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 +119 -12
- package/build/ts/surfaces/admin/components/GridItem.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +84 -27
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +22 -22
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Modal.d.ts +16 -16
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/build/ts/surfaces/admin/components/NumberField.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +14 -9
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -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 +27 -27
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +83 -9
- package/build/ts/surfaces/admin/components/Switch.d.ts +21 -21
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +4 -4
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -27
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -28
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/shared.d.ts +2 -2
- package/build/ts/surfaces/admin/extension-targets.d.ts +5 -5
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- 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/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/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/Badge.d.ts +7 -1
- 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/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- 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/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 -2
- 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/Banner/Banner.doc.d.ts.map +1 -1
- 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/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 -9
- package/src/surfaces/admin/components/Badge.d.ts +3 -3
- package/src/surfaces/admin/components/Banner.d.ts +18 -18
- package/src/surfaces/admin/components/Box.d.ts +66 -9
- package/src/surfaces/admin/components/Button.d.ts +26 -26
- package/src/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/src/surfaces/admin/components/Chip.d.ts +4 -4
- package/src/surfaces/admin/components/Choice.d.ts +6 -11
- package/src/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/src/surfaces/admin/components/Clickable.d.ts +89 -32
- package/src/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/src/surfaces/admin/components/ColorField.d.ts +3 -3
- 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 -3
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/EmailField.d.ts +27 -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 +119 -12
- package/src/surfaces/admin/components/GridItem.d.ts +66 -9
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +3 -3
- package/src/surfaces/admin/components/Image.d.ts +84 -27
- package/src/surfaces/admin/components/Link.d.ts +22 -22
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu.d.ts +3 -3
- package/src/surfaces/admin/components/Modal.d.ts +16 -16
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/src/surfaces/admin/components/NumberField.d.ts +29 -27
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page.d.ts +14 -9
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -27
- package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/src/surfaces/admin/components/SearchField.d.ts +27 -27
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select.d.ts +29 -27
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +83 -9
- package/src/surfaces/admin/components/Switch.d.ts +21 -21
- package/src/surfaces/admin/components/Table.d.ts +4 -4
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/src/surfaces/admin/components/TableRow.d.ts +3 -3
- package/src/surfaces/admin/components/Text.d.ts +3 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -27
- package/src/surfaces/admin/components/TextField.d.ts +28 -28
- package/src/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/src/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/src/surfaces/admin/components/URLField.d.ts +27 -27
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
- package/src/surfaces/admin/components/shared.d.ts +2 -2
- 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 +655 -105
- package/src/surfaces/admin/extension-targets.ts +5 -5
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- 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 +1 -1
- 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 +1 -1
- 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 -1
- 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 -1
- 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 +2 -2
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +5 -11
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -2
- package/build/ts/surfaces/admin/components/DropZone.d.ts +0 -160
- package/build/ts/surfaces/admin/components/Popover.d.ts +0 -379
- package/src/surfaces/admin/components/DropZone.d.ts +0 -160
- package/src/surfaces/admin/components/Popover.d.ts +0 -379
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,15 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {ThumbnailProps$1,
|
|
10
|
-
|
|
11
|
-
export interface ThumbnailProps
|
|
12
|
-
extends Required<Pick<ThumbnailProps$1, 'src' | 'alt' | 'size'>> {
|
|
13
|
-
size: Extract<
|
|
14
|
-
ThumbnailProps$1['size'],
|
|
15
|
-
'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
|
|
16
|
-
>;
|
|
17
|
-
}
|
|
9
|
+
import type {ThumbnailProps$1, ComponentChildren} from './shared.d.ts';
|
|
18
10
|
|
|
19
11
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
20
12
|
currentTarget: HTMLElementTagNameMap[T];
|
|
@@ -34,9 +26,17 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
34
26
|
slot?: Lowercase<string>;
|
|
35
27
|
}
|
|
36
28
|
|
|
29
|
+
export interface ThumbnailProps
|
|
30
|
+
extends Required<Pick<ThumbnailProps$1, 'src' | 'alt' | 'size'>> {
|
|
31
|
+
size: Extract<
|
|
32
|
+
ThumbnailProps$1['size'],
|
|
33
|
+
'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
|
|
34
|
+
>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
37
|
export type Styles = string;
|
|
38
38
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
39
|
-
ShadowRoot: (element: any) =>
|
|
39
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
40
40
|
styles?: Styles;
|
|
41
41
|
};
|
|
42
42
|
export interface ActivationEventEsque {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
9
|
import type {
|
|
10
|
-
|
|
10
|
+
ComponentChildren,
|
|
11
11
|
TooltipProps$1,
|
|
12
12
|
InteractionProps,
|
|
13
13
|
} from './shared.d.ts';
|
|
@@ -31,7 +31,7 @@ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
|
31
31
|
|
|
32
32
|
export type Styles = string;
|
|
33
33
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
34
|
-
ShadowRoot: (element: any) =>
|
|
34
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
35
35
|
styles?: Styles;
|
|
36
36
|
};
|
|
37
37
|
export interface ActivationEventEsque {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -9,12 +9,36 @@
|
|
|
9
9
|
import type {
|
|
10
10
|
TextFieldProps,
|
|
11
11
|
URLFieldProps$1,
|
|
12
|
-
|
|
12
|
+
ComponentChildren,
|
|
13
13
|
} from './shared.d.ts';
|
|
14
14
|
|
|
15
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
16
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
17
|
+
};
|
|
18
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
19
|
+
| (EventListener & {
|
|
20
|
+
(event: CallbackEvent<T>): void;
|
|
21
|
+
})
|
|
22
|
+
| null;
|
|
23
|
+
export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
24
|
+
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
25
|
+
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
26
|
+
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
27
|
+
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
28
|
+
}
|
|
29
|
+
/** Used when an element does not have children. */
|
|
30
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
31
|
+
/** Assigns a unique key to this element. */
|
|
32
|
+
key?: preact.Key;
|
|
33
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
34
|
+
ref?: preact.Ref<TClass>;
|
|
35
|
+
/** Assigns this element to a parent's slot. */
|
|
36
|
+
slot?: Lowercase<string>;
|
|
37
|
+
}
|
|
38
|
+
|
|
15
39
|
export type Styles = string;
|
|
16
40
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
17
|
-
ShadowRoot: (element: any) =>
|
|
41
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
18
42
|
styles?: Styles;
|
|
19
43
|
};
|
|
20
44
|
export interface ActivationEventEsque {
|
|
@@ -72,30 +96,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
72
96
|
click({sourceEvent}?: ClickOptions): void;
|
|
73
97
|
}
|
|
74
98
|
|
|
75
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
76
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
77
|
-
};
|
|
78
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
79
|
-
| (EventListener & {
|
|
80
|
-
(event: CallbackEvent<T>): void;
|
|
81
|
-
})
|
|
82
|
-
| null;
|
|
83
|
-
export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
84
|
-
onInput?: ((event: CallbackEvent<T>) => void) | null;
|
|
85
|
-
onChange?: ((event: CallbackEvent<T>) => void) | null;
|
|
86
|
-
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
87
|
-
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
88
|
-
}
|
|
89
|
-
/** Used when an element does not have children. */
|
|
90
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
91
|
-
/** Assigns a unique key to this element. */
|
|
92
|
-
key?: preact.Key;
|
|
93
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
94
|
-
ref?: preact.Ref<TClass>;
|
|
95
|
-
/** Assigns this element to a parent's slot. */
|
|
96
|
-
slot?: Lowercase<string>;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
99
|
declare const internals: unique symbol;
|
|
100
100
|
export type PreactInputProps = Required<
|
|
101
101
|
Pick<TextFieldProps, 'disabled' | 'id' | 'name' | 'value'>
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
7
7
|
/// <reference lib="DOM" />
|
|
8
|
-
import type {UnorderedListProps$1
|
|
8
|
+
import type {ComponentChildren, UnorderedListProps$1} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface UnorderedListProps extends UnorderedListProps$1 {}
|
|
11
11
|
|
|
12
12
|
export type Styles = string;
|
|
13
13
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
14
|
-
ShadowRoot: (element: any) =>
|
|
14
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
15
15
|
styles?: Styles;
|
|
16
16
|
};
|
|
17
17
|
export interface ActivationEventEsque {
|
|
@@ -97,7 +97,7 @@ export default function HomePage() {
|
|
|
97
97
|
label="Upload an image for your puzzle"
|
|
98
98
|
onInput={(e) =>
|
|
99
99
|
setProgress((prev) =>
|
|
100
|
-
e.
|
|
100
|
+
e.currentTarget.checked ? prev + 1 : prev - 1,
|
|
101
101
|
)
|
|
102
102
|
}
|
|
103
103
|
></s-checkbox>
|
|
@@ -154,7 +154,7 @@ export default function HomePage() {
|
|
|
154
154
|
label="Choose a puzzle template"
|
|
155
155
|
onInput={(e) =>
|
|
156
156
|
setProgress((prev) =>
|
|
157
|
-
e.
|
|
157
|
+
e.currentTarget.checked ? prev + 1 : prev - 1,
|
|
158
158
|
)
|
|
159
159
|
}
|
|
160
160
|
></s-checkbox>
|
|
@@ -209,7 +209,7 @@ export default function HomePage() {
|
|
|
209
209
|
label="Customize puzzle piece shapes"
|
|
210
210
|
onInput={(e) =>
|
|
211
211
|
setProgress((prev) =>
|
|
212
|
-
e.
|
|
212
|
+
e.currentTarget.checked ? prev + 1 : prev - 1,
|
|
213
213
|
)
|
|
214
214
|
}
|
|
215
215
|
></s-checkbox>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* TODO: Update `any` type here after this is resolved
|
|
9
9
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
10
10
|
*/
|
|
11
|
-
export type ComponentChildren =
|
|
11
|
+
export type ComponentChildren = preact.ComponentChildren;
|
|
12
12
|
export type StringChildren = string;
|
|
13
13
|
export interface GlobalProps {
|
|
14
14
|
/**
|
package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
<s-text-field
|
|
6
6
|
label="Email"
|
|
7
|
-
onChange={(e) => console.log('Value changed:', e.
|
|
7
|
+
onChange={(e) => console.log('Value changed:', e.currentTarget.value)}
|
|
8
8
|
onFocus={() => console.log('Field focused')}
|
|
9
9
|
onBlur={() => console.log('Field blurred')}
|
|
10
10
|
/>
|
package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx
CHANGED
|
@@ -15,7 +15,7 @@ function ProductForm() {
|
|
|
15
15
|
<s-text-field
|
|
16
16
|
label="Product name"
|
|
17
17
|
value={productName}
|
|
18
|
-
onChange={(e) => setProductName(e.
|
|
18
|
+
onChange={(e) => setProductName(e.currentTarget.value)}
|
|
19
19
|
required
|
|
20
20
|
/>
|
|
21
21
|
<s-button variant="primary" type="submit">
|