@shopify/ui-extensions 2025.10.0-rc.40 → 2025.10.0-rc.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/preact/api.js +4 -0
- package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
- package/build/cjs/surfaces/checkout/shared.js +17 -4
- package/build/esm/surfaces/checkout/preact/api.mjs +4 -0
- package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
- package/build/esm/surfaces/checkout/shared.mjs +17 -4
- package/build/esnext/surfaces/checkout/preact/api.esnext +4 -0
- package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
- package/build/esnext/surfaces/checkout/shared.esnext +17 -4
- package/build/ts/docs/shared/components/Details.d.ts +4 -0
- package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
- package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
- package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
- package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Summary.d.ts +4 -0
- package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Tooltip.d.ts +1 -1
- package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -1
- package/build/ts/docs/shared/components/index.d.ts +6 -1
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/shared.d.ts +4 -34
- package/build/ts/shared.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/Table/Table.doc.d.ts.map +1 -1
- 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/extension-targets.d.ts +5 -3
- 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/checkout/api/address-autocomplete/standard.d.ts +1 -1
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
- package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
- package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts +45 -40
- package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +3 -8
- package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Clickable.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Details.d.ts +15 -2
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Divider.d.ts +17 -2
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +8 -3
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +8 -1
- 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/Grid/Grid.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Grid.d.ts +7 -7
- package/build/ts/surfaces/checkout/components/Icon.d.ts +2 -7
- package/build/ts/surfaces/checkout/components/Link.d.ts +1 -1
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +9 -12
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Modal.d.ts +16 -15
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/{UrlField.d.ts → MoneyField.d.ts} +14 -18
- package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +10 -12
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Popover.d.ts +50 -2
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
- package/{src/surfaces/checkout/components/Select.d.ts → build/ts/surfaces/checkout/components/PressButton.d.ts} +20 -20
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Sheet.d.ts +21 -15
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextField.d.ts +10 -17
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
- package/{src/surfaces/checkout/components/Option.d.ts → build/ts/surfaces/checkout/components/Tooltip.d.ts} +9 -7
- package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +631 -275
- package/build/ts/surfaces/checkout/components/components.d.ts +1013 -501
- package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
- package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
- package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +27 -4
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +3 -4
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +3 -4
- 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/api/shared.d.ts +2 -1
- package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
- 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 +3 -8
- package/build/ts/surfaces/customer-account/components/Button.d.ts +1 -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/Clickable.d.ts +1 -1
- 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/Details.d.ts +15 -2
- package/build/ts/surfaces/customer-account/components/Divider.d.ts +17 -2
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +8 -3
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +8 -1
- package/build/ts/surfaces/customer-account/components/Form.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/Grid.d.ts +7 -7
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +2 -7
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Link.d.ts +1 -1
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +9 -12
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +16 -15
- package/{src/surfaces/checkout/components/UrlField.d.ts → build/ts/surfaces/customer-account/components/MoneyField.d.ts} +14 -18
- 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/PhoneField.d.ts +10 -12
- package/build/ts/surfaces/customer-account/components/Popover.d.ts +50 -2
- package/build/ts/surfaces/customer-account/components/{Select.d.ts → PressButton.d.ts} +20 -20
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Sheet.d.ts +21 -15
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +10 -17
- package/build/ts/surfaces/customer-account/components/{Option.d.ts → Tooltip.d.ts} +9 -7
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +631 -275
- package/build/ts/surfaces/customer-account/components/components.d.ts +1013 -501
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +3 -4
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +3 -4
- 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.d.ts +11 -2
- package/build/ts/surfaces/point-of-sale/components/Button.d.ts +29 -4
- 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/{src/surfaces/point-of-sale/components/Navigator.d.ts → build/ts/surfaces/point-of-sale/components/Divider.d.ts} +7 -10
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/build/ts/surfaces/point-of-sale/components/Page.d.ts +4 -4
- package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +43 -0
- package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +93 -2
- package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +14 -0
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +1 -1
- package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +2 -0
- package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +2 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/components/Details.ts +12 -0
- package/src/docs/shared/components/EmailField.ts +1 -1
- package/src/docs/shared/components/Modal.ts +1 -1
- package/src/docs/shared/components/MoneyField.ts +2 -1
- package/src/docs/shared/components/Popover.ts +1 -1
- package/src/docs/shared/components/PressButton.ts +12 -0
- package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
- package/src/docs/shared/components/Summary.ts +12 -0
- package/src/docs/shared/components/Tooltip.ts +2 -2
- package/src/docs/shared/components/index.ts +6 -1
- package/src/index.ts +0 -1
- package/src/shared.ts +5 -36
- 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/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components.d.ts +366 -451
- package/src/surfaces/admin/extension-targets.ts +6 -5
- package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
- package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -3
- package/src/surfaces/checkout/api/checkout/checkout.ts +2 -2
- package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
- package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -3
- package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
- package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
- package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -3
- package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -3
- package/src/surfaces/checkout/api/standard/standard.ts +44 -40
- package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
- package/src/surfaces/checkout/components/Badge.d.ts +3 -8
- package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
- package/src/surfaces/checkout/components/Button.d.ts +1 -1
- package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
- package/src/surfaces/checkout/components/Clickable.d.ts +1 -1
- package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
- package/src/surfaces/checkout/components/Details.d.ts +15 -2
- package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
- package/src/surfaces/checkout/components/Divider.d.ts +17 -2
- package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
- package/src/surfaces/checkout/components/DropZone.d.ts +8 -3
- package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +8 -1
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +3 -3
- package/src/surfaces/checkout/components/Form.d.ts +3 -0
- package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
- package/src/surfaces/checkout/components/Grid.d.ts +7 -7
- package/src/surfaces/checkout/components/Icon.d.ts +2 -7
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Link.d.ts +1 -1
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -3
- package/src/surfaces/checkout/components/MapMarker.d.ts +9 -12
- package/src/surfaces/checkout/components/Modal.d.ts +16 -15
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
- package/{build/ts/surfaces/customer-account/components/UrlField.d.ts → src/surfaces/checkout/components/MoneyField.d.ts} +14 -18
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +1 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +10 -12
- package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
- package/src/surfaces/checkout/components/Popover.d.ts +50 -2
- package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
- package/{build/ts/surfaces/checkout/components/Select.d.ts → src/surfaces/checkout/components/PressButton.d.ts} +20 -20
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -0
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
- package/src/surfaces/checkout/components/Sheet.d.ts +21 -15
- package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -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 -0
- package/src/surfaces/checkout/components/Stack.d.ts +4 -4
- package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
- package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -0
- package/src/surfaces/checkout/components/TextField.d.ts +10 -17
- package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
- package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
- package/{build/ts/surfaces/checkout/components/Option.d.ts → src/surfaces/checkout/components/Tooltip.d.ts} +9 -7
- package/src/surfaces/checkout/components/components-shared.d.ts +631 -275
- package/src/surfaces/checkout/components/components.d.ts +1013 -501
- package/src/surfaces/checkout/preact/api.ts +4 -0
- package/src/surfaces/checkout/preact/subscription.ts +9 -8
- package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +2 -3
- package/src/surfaces/checkout/preact/tests/mount.tsx +3 -3
- package/src/surfaces/checkout/shared.ts +37 -3
- package/src/surfaces/checkout.ts +3 -1
- package/src/surfaces/customer-account/api/shared.ts +2 -1
- 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 +15 -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/Banner.d.ts +11 -2
- package/src/surfaces/point-of-sale/components/Button.d.ts +29 -4
- package/{build/ts/surfaces/point-of-sale/components/Navigator.d.ts → src/surfaces/point-of-sale/components/Divider.d.ts} +7 -10
- package/src/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/src/surfaces/point-of-sale/components/Page.d.ts +4 -4
- package/src/surfaces/point-of-sale/components/QrCode.d.ts +43 -0
- package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +93 -2
- package/src/surfaces/point-of-sale/components/components-shared.d.ts +14 -0
- package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -1
- package/src/surfaces/point-of-sale/components.d.ts +554 -386
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -57
- package/build/ts/surfaces/checkout/components/NumberField.d.ts +0 -85
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +0 -84
- package/build/ts/surfaces/customer-account/components/NumberField.d.ts +0 -85
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +0 -84
- package/build/ts/surfaces/point-of-sale/components/Screen.d.ts +0 -91
- package/build/ts/surfaces/point-of-sale/components/shared.d.ts +0 -76
- package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
- package/src/surfaces/checkout/components/NumberField.d.ts +0 -85
- package/src/surfaces/checkout/components/PasswordField.d.ts +0 -84
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +0 -4
- package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +0 -5
- 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
- package/src/surfaces/point-of-sale/components/Screen.d.ts +0 -91
- package/src/surfaces/point-of-sale/components/shared.d.ts +0 -76
- /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
- /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
- /package/src/surfaces/checkout/components/PaymentIcon/examples/{basic-paymenticon.example.html → basic-payment-icon.example.html} +0 -0
- /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
- /package/src/surfaces/checkout/components/TextField/examples/{basic-textfield.example.html → basic-text-field.example.html} +0 -0
- /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
|
@@ -21,19 +21,18 @@ import "../components/ListItem.d.ts";
|
|
|
21
21
|
import "../components/Map.d.ts";
|
|
22
22
|
import "../components/MapMarker.d.ts";
|
|
23
23
|
import "../components/Modal.d.ts";
|
|
24
|
-
import "../components/
|
|
25
|
-
import "../components/Option.d.ts";
|
|
24
|
+
import "../components/MoneyField.d.ts";
|
|
26
25
|
import "../components/OrderedList.d.ts";
|
|
27
26
|
import "../components/Paragraph.d.ts";
|
|
28
27
|
import "../components/PaymentIcon.d.ts";
|
|
29
28
|
import "../components/PhoneField.d.ts";
|
|
30
29
|
import "../components/Popover.d.ts";
|
|
30
|
+
import "../components/PressButton.d.ts";
|
|
31
31
|
import "../components/ProductThumbnail.d.ts";
|
|
32
32
|
import "../components/Progress.d.ts";
|
|
33
33
|
import "../components/QRCode.d.ts";
|
|
34
34
|
import "../components/ScrollBox.d.ts";
|
|
35
35
|
import "../components/Section.d.ts";
|
|
36
|
-
import "../components/Select.d.ts";
|
|
37
36
|
import "../components/Sheet.d.ts";
|
|
38
37
|
import "../components/SkeletonParagraph.d.ts";
|
|
39
38
|
import "../components/Spinner.d.ts";
|
|
@@ -44,8 +43,8 @@ import "../components/Text.d.ts";
|
|
|
44
43
|
import "../components/TextArea.d.ts";
|
|
45
44
|
import "../components/TextField.d.ts";
|
|
46
45
|
import "../components/Time.d.ts";
|
|
46
|
+
import "../components/Tooltip.d.ts";
|
|
47
47
|
import "../components/UnorderedList.d.ts";
|
|
48
|
-
import "../components/UrlField.d.ts";
|
|
49
48
|
import type { ExtensionTargets } from '../extension-targets';
|
|
50
49
|
|
|
51
50
|
type Target = ExtensionTargets['purchase.thank-you.block.render'];
|
package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts
CHANGED
|
@@ -21,19 +21,18 @@ import "../components/ListItem.d.ts";
|
|
|
21
21
|
import "../components/Map.d.ts";
|
|
22
22
|
import "../components/MapMarker.d.ts";
|
|
23
23
|
import "../components/Modal.d.ts";
|
|
24
|
-
import "../components/
|
|
25
|
-
import "../components/Option.d.ts";
|
|
24
|
+
import "../components/MoneyField.d.ts";
|
|
26
25
|
import "../components/OrderedList.d.ts";
|
|
27
26
|
import "../components/Paragraph.d.ts";
|
|
28
27
|
import "../components/PaymentIcon.d.ts";
|
|
29
28
|
import "../components/PhoneField.d.ts";
|
|
30
29
|
import "../components/Popover.d.ts";
|
|
30
|
+
import "../components/PressButton.d.ts";
|
|
31
31
|
import "../components/ProductThumbnail.d.ts";
|
|
32
32
|
import "../components/Progress.d.ts";
|
|
33
33
|
import "../components/QRCode.d.ts";
|
|
34
34
|
import "../components/ScrollBox.d.ts";
|
|
35
35
|
import "../components/Section.d.ts";
|
|
36
|
-
import "../components/Select.d.ts";
|
|
37
36
|
import "../components/Sheet.d.ts";
|
|
38
37
|
import "../components/SkeletonParagraph.d.ts";
|
|
39
38
|
import "../components/Spinner.d.ts";
|
|
@@ -44,8 +43,8 @@ import "../components/Text.d.ts";
|
|
|
44
43
|
import "../components/TextArea.d.ts";
|
|
45
44
|
import "../components/TextField.d.ts";
|
|
46
45
|
import "../components/Time.d.ts";
|
|
46
|
+
import "../components/Tooltip.d.ts";
|
|
47
47
|
import "../components/UnorderedList.d.ts";
|
|
48
|
-
import "../components/UrlField.d.ts";
|
|
49
48
|
import type { ExtensionTargets } from '../extension-targets';
|
|
50
49
|
|
|
51
50
|
type Target = ExtensionTargets['purchase.thank-you.cart-line-item.render-after'];
|
package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts
CHANGED
|
@@ -21,19 +21,18 @@ import "../components/ListItem.d.ts";
|
|
|
21
21
|
import "../components/Map.d.ts";
|
|
22
22
|
import "../components/MapMarker.d.ts";
|
|
23
23
|
import "../components/Modal.d.ts";
|
|
24
|
-
import "../components/
|
|
25
|
-
import "../components/Option.d.ts";
|
|
24
|
+
import "../components/MoneyField.d.ts";
|
|
26
25
|
import "../components/OrderedList.d.ts";
|
|
27
26
|
import "../components/Paragraph.d.ts";
|
|
28
27
|
import "../components/PaymentIcon.d.ts";
|
|
29
28
|
import "../components/PhoneField.d.ts";
|
|
30
29
|
import "../components/Popover.d.ts";
|
|
30
|
+
import "../components/PressButton.d.ts";
|
|
31
31
|
import "../components/ProductThumbnail.d.ts";
|
|
32
32
|
import "../components/Progress.d.ts";
|
|
33
33
|
import "../components/QRCode.d.ts";
|
|
34
34
|
import "../components/ScrollBox.d.ts";
|
|
35
35
|
import "../components/Section.d.ts";
|
|
36
|
-
import "../components/Select.d.ts";
|
|
37
36
|
import "../components/Sheet.d.ts";
|
|
38
37
|
import "../components/SkeletonParagraph.d.ts";
|
|
39
38
|
import "../components/Spinner.d.ts";
|
|
@@ -44,8 +43,8 @@ import "../components/Text.d.ts";
|
|
|
44
43
|
import "../components/TextArea.d.ts";
|
|
45
44
|
import "../components/TextField.d.ts";
|
|
46
45
|
import "../components/Time.d.ts";
|
|
46
|
+
import "../components/Tooltip.d.ts";
|
|
47
47
|
import "../components/UnorderedList.d.ts";
|
|
48
|
-
import "../components/UrlField.d.ts";
|
|
49
48
|
import type { ExtensionTargets } from '../extension-targets';
|
|
50
49
|
|
|
51
50
|
type Target = ExtensionTargets['purchase.thank-you.cart-line-list.render-after'];
|
package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts
CHANGED
|
@@ -21,19 +21,18 @@ import "../components/ListItem.d.ts";
|
|
|
21
21
|
import "../components/Map.d.ts";
|
|
22
22
|
import "../components/MapMarker.d.ts";
|
|
23
23
|
import "../components/Modal.d.ts";
|
|
24
|
-
import "../components/
|
|
25
|
-
import "../components/Option.d.ts";
|
|
24
|
+
import "../components/MoneyField.d.ts";
|
|
26
25
|
import "../components/OrderedList.d.ts";
|
|
27
26
|
import "../components/Paragraph.d.ts";
|
|
28
27
|
import "../components/PaymentIcon.d.ts";
|
|
29
28
|
import "../components/PhoneField.d.ts";
|
|
30
29
|
import "../components/Popover.d.ts";
|
|
30
|
+
import "../components/PressButton.d.ts";
|
|
31
31
|
import "../components/ProductThumbnail.d.ts";
|
|
32
32
|
import "../components/Progress.d.ts";
|
|
33
33
|
import "../components/QRCode.d.ts";
|
|
34
34
|
import "../components/ScrollBox.d.ts";
|
|
35
35
|
import "../components/Section.d.ts";
|
|
36
|
-
import "../components/Select.d.ts";
|
|
37
36
|
import "../components/Sheet.d.ts";
|
|
38
37
|
import "../components/SkeletonParagraph.d.ts";
|
|
39
38
|
import "../components/Spinner.d.ts";
|
|
@@ -44,8 +43,8 @@ import "../components/Text.d.ts";
|
|
|
44
43
|
import "../components/TextArea.d.ts";
|
|
45
44
|
import "../components/TextField.d.ts";
|
|
46
45
|
import "../components/Time.d.ts";
|
|
46
|
+
import "../components/Tooltip.d.ts";
|
|
47
47
|
import "../components/UnorderedList.d.ts";
|
|
48
|
-
import "../components/UrlField.d.ts";
|
|
49
48
|
import type { ExtensionTargets } from '../extension-targets';
|
|
50
49
|
|
|
51
50
|
type Target = ExtensionTargets['purchase.thank-you.customer-information.render-after'];
|
|
@@ -21,19 +21,18 @@ import "../components/ListItem.d.ts";
|
|
|
21
21
|
import "../components/Map.d.ts";
|
|
22
22
|
import "../components/MapMarker.d.ts";
|
|
23
23
|
import "../components/Modal.d.ts";
|
|
24
|
-
import "../components/
|
|
25
|
-
import "../components/Option.d.ts";
|
|
24
|
+
import "../components/MoneyField.d.ts";
|
|
26
25
|
import "../components/OrderedList.d.ts";
|
|
27
26
|
import "../components/Paragraph.d.ts";
|
|
28
27
|
import "../components/PaymentIcon.d.ts";
|
|
29
28
|
import "../components/PhoneField.d.ts";
|
|
30
29
|
import "../components/Popover.d.ts";
|
|
30
|
+
import "../components/PressButton.d.ts";
|
|
31
31
|
import "../components/ProductThumbnail.d.ts";
|
|
32
32
|
import "../components/Progress.d.ts";
|
|
33
33
|
import "../components/QRCode.d.ts";
|
|
34
34
|
import "../components/ScrollBox.d.ts";
|
|
35
35
|
import "../components/Section.d.ts";
|
|
36
|
-
import "../components/Select.d.ts";
|
|
37
36
|
import "../components/Sheet.d.ts";
|
|
38
37
|
import "../components/SkeletonParagraph.d.ts";
|
|
39
38
|
import "../components/Spinner.d.ts";
|
|
@@ -44,8 +43,8 @@ import "../components/Text.d.ts";
|
|
|
44
43
|
import "../components/TextArea.d.ts";
|
|
45
44
|
import "../components/TextField.d.ts";
|
|
46
45
|
import "../components/Time.d.ts";
|
|
46
|
+
import "../components/Tooltip.d.ts";
|
|
47
47
|
import "../components/UnorderedList.d.ts";
|
|
48
|
-
import "../components/UrlField.d.ts";
|
|
49
48
|
import type { ExtensionTargets } from '../extension-targets';
|
|
50
49
|
|
|
51
50
|
type Target = ExtensionTargets['purchase.thank-you.footer.render-after'];
|
|
@@ -21,19 +21,18 @@ import "../components/ListItem.d.ts";
|
|
|
21
21
|
import "../components/Map.d.ts";
|
|
22
22
|
import "../components/MapMarker.d.ts";
|
|
23
23
|
import "../components/Modal.d.ts";
|
|
24
|
-
import "../components/
|
|
25
|
-
import "../components/Option.d.ts";
|
|
24
|
+
import "../components/MoneyField.d.ts";
|
|
26
25
|
import "../components/OrderedList.d.ts";
|
|
27
26
|
import "../components/Paragraph.d.ts";
|
|
28
27
|
import "../components/PaymentIcon.d.ts";
|
|
29
28
|
import "../components/PhoneField.d.ts";
|
|
30
29
|
import "../components/Popover.d.ts";
|
|
30
|
+
import "../components/PressButton.d.ts";
|
|
31
31
|
import "../components/ProductThumbnail.d.ts";
|
|
32
32
|
import "../components/Progress.d.ts";
|
|
33
33
|
import "../components/QRCode.d.ts";
|
|
34
34
|
import "../components/ScrollBox.d.ts";
|
|
35
35
|
import "../components/Section.d.ts";
|
|
36
|
-
import "../components/Select.d.ts";
|
|
37
36
|
import "../components/Sheet.d.ts";
|
|
38
37
|
import "../components/SkeletonParagraph.d.ts";
|
|
39
38
|
import "../components/Spinner.d.ts";
|
|
@@ -44,8 +43,8 @@ import "../components/Text.d.ts";
|
|
|
44
43
|
import "../components/TextArea.d.ts";
|
|
45
44
|
import "../components/TextField.d.ts";
|
|
46
45
|
import "../components/Time.d.ts";
|
|
46
|
+
import "../components/Tooltip.d.ts";
|
|
47
47
|
import "../components/UnorderedList.d.ts";
|
|
48
|
-
import "../components/UrlField.d.ts";
|
|
49
48
|
import type { ExtensionTargets } from '../extension-targets';
|
|
50
49
|
|
|
51
50
|
type Target = ExtensionTargets['purchase.thank-you.header.render-after'];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { ApiVersion, BuyerIdentity, BuyerJourney, BuyerJourneyStep, Capability, CartCost, CartMetafield, CartLineCost, CheckoutSettings, Customer, Editor, Extension, ExtensionSettings, Interceptor, InterceptorRequest, Merchandise, ImageDetails, Product, ProductVariant, PurchasingCompany, SelectedOption, SessionToken, Money, StandardApi, Storage, Shop, Version, Metafield, AppMetafield, AppMetafieldEntryTarget, AppMetafieldEntry, CartLine, CartLineParentRelationship, PaymentOption, SelectedPaymentOption, CartDiscountCode, CartDiscountAllocation, CartCodeDiscountAllocation, CartAutomaticDiscountAllocation, CartCustomDiscountAllocation, AppliedGiftCard, I18n, I18nTranslate, Currency, Market, Language, Localization, LocalizedField, DeliveryGroup, DeliveryGroupType, DeliveryGroupDetails, CartLineReference, DeliveryOptionReference, DeliveryOption, ShippingOption, PickupLocationOption, PickupPointOption, NumberRange, CheckoutToken, ApplyTrackingConsentChangeType, CustomerPrivacy, TrackingConsentChangeResult, TrackingConsentChangeResultError, TrackingConsentMetafield, TrackingConsentMetafieldChange, VisitorConsent, VisitorConsentChange, VisitorError, VisitorSuccess, VisitorResult, CartInstructions, AttributesCartInstructions, DeliveryCartInstructions, DiscountsCartInstructions, CartLinesCartInstructions, MetafieldsCartInstructions, NotesCartInstructions, } from './checkout/api/standard/standard';
|
|
2
2
|
export type { Attribute, SellingPlan, ValidationError, MailingAddress, ShippingAddress, } from './checkout/api/shared';
|
|
3
|
+
export type { SubscribableSignalLike } from './checkout/shared';
|
|
3
4
|
export type { RedeemableAttribute, RedeemableChange, RedeemableAddChange, RedeemableChangeResult, RedeemableChangeResultError, RedeemableChangeResultSuccess, RedeemableApi, } from './checkout/api/redeemable/redeemable';
|
|
4
5
|
export type { AttributeChange, AttributeChangeResult, AttributeChangeResultError, AttributeChangeResultSuccess, CartLineChange, CartLineChangeResult, CartLineChangeResultError, CartLineChangeResultSuccess, CartLineAddChange, CartLineUpdateChange, CartLineRemoveChange, DiscountCodeAddChange, DiscountCodeRemoveChange, DiscountCodeChange, DiscountCodeChangeResult, DiscountCodeChangeResultError, DiscountCodeChangeResultSuccess, GiftCardAddChange, GiftCardChange, GiftCardChangeResult, GiftCardChangeResultSuccess, GiftCardRemoveChange, GiftCardChangeResultError, MetafieldChange, MetafieldChangeResultError, MetafieldChangeResultSuccess, MetafieldChangeResult, MetafieldRemoveChange, MetafieldRemoveCartChange, MetafieldUpdateChange, MetafieldUpdateCartChange, NoteChange, NoteChangeResult, NoteChangeResultSuccess, NoteChangeResultError, ShippingAddressChange, ShippingAddressChangeFieldError, ShippingAddressChangeResult, ShippingAddressChangeResultError, ShippingAddressChangeResultSuccess, CheckoutApi, } from './checkout/api/checkout/checkout';
|
|
5
6
|
export type { OrderConfirmationApi } from './checkout/api/order-confirmation/order-confirmation';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/surfaces/checkout.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,E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,4CAA4C,CAAC;AAEpD,YAAY,EAAC,8BAA8B,EAAC,MAAM,8CAA8C,CAAC;AAEjG,YAAY,EACV,6BAA6B,EAC7B,oCAAoC,EACpC,kCAAkC,EAClC,sBAAsB,EACtB,6BAA6B,EAC7B,mCAAmC,EACnC,oBAAoB,GACrB,MAAM,4CAA4C,CAAC;AAEpD,cAAc,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../src/surfaces/checkout.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,QAAQ,EACR,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,QAAQ,EACR,MAAM,EACN,SAAS,EACT,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,WAAW,EACX,YAAY,EACZ,OAAO,EACP,cAAc,EACd,iBAAiB,EACjB,cAAc,EACd,YAAY,EACZ,KAAK,EACL,WAAW,EACX,OAAO,EACP,IAAI,EACJ,OAAO,EACP,SAAS,EACT,YAAY,EACZ,uBAAuB,EACvB,iBAAiB,EACjB,QAAQ,EACR,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,eAAe,EACf,IAAI,EACJ,aAAa,EACb,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,8BAA8B,EAC9B,eAAe,EACf,2BAA2B,EAC3B,gCAAgC,EAChC,wBAAwB,EACxB,8BAA8B,EAC9B,cAAc,EACd,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,aAAa,EACb,gBAAgB,EACh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;AAChF,YAAY,EAAC,qBAAqB,EAAC,MAAM,4CAA4C,CAAC;AACtF,YAAY,EACV,qBAAqB,EACrB,4BAA4B,GAC7B,MAAM,8CAA8C,CAAC;AACtD,YAAY,EACV,qBAAqB,EACrB,iBAAiB,EACjB,sBAAsB,GACvB,MAAM,8CAA8C,CAAC;AACtD,YAAY,EACV,sCAAsC,EACtC,yCAAyC,GAC1C,MAAM,uDAAuD,CAAC;AAE/D,YAAY,EACV,6BAA6B,EAC7B,gCAAgC,GACjC,MAAM,6CAA6C,CAAC;AAErD,YAAY,EACV,6BAA6B,EAC7B,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,4CAA4C,CAAC;AAEpD,YAAY,EAAC,8BAA8B,EAAC,MAAM,8CAA8C,CAAC;AAEjG,YAAY,EACV,6BAA6B,EAC7B,oCAAoC,EACpC,kCAAkC,EAClC,sBAAsB,EACtB,6BAA6B,EAC7B,mCAAmC,EACnC,oBAAoB,GACrB,MAAM,4CAA4C,CAAC;AAEpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,mBAAmB,CAAC;AAElC,OAAO,EACL,KAAK,EACL,kBAAkB,EAClB,6BAA6B,GAC9B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,qBAAqB,EACrB,+BAA+B,EAC/B,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAEhC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,WAAW,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ExtensionTarget } from '../extension-targets';
|
|
2
|
-
import type { ApiVersion, Capability, CurrencyCode, Timezone, Country, CountryCode, GraphQLError, StorefrontApiVersion
|
|
2
|
+
import type { ApiVersion, Capability, CurrencyCode, Timezone, Country, CountryCode, GraphQLError, StorefrontApiVersion } from '../../../shared';
|
|
3
|
+
import type { SubscribableSignalLike } from '../../checkout/shared';
|
|
3
4
|
export { ApiVersion, Capability, CurrencyCode, Timezone, Country, CountryCode, GraphQLError, StorefrontApiVersion, SubscribableSignalLike, };
|
|
4
5
|
/**
|
|
5
6
|
* A key-value storage object for extension targets.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/customer-account/api/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,WAAW,EACX,YAAY,EACZ,oBAAoB,
|
|
1
|
+
{"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/customer-account/api/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,WAAW,EACX,YAAY,EACZ,oBAAoB,EACrB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,uBAAuB,CAAC;AAElE,OAAO,EACL,UAAU,EACV,UAAU,EACV,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,WAAW,EACX,YAAY,EACZ,oBAAoB,EACpB,sBAAsB,GACvB,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,WAAW,OAAO;IACtB;;;;;;;OAOG;IACH,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;IAElD;;;;OAIG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE7C;;OAEG;IACH,MAAM,CAAC,GAAG,EAAE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C;;;;OAIG;IACH,UAAU,EAAE,wBAAwB,EAAE,CAAC;IACvC;;;;OAIG;IACH,cAAc,EAAE,cAAc,CAAC;IAC/B;;;;OAIG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,gBAAgB,EAAE,OAAO,CAAC;IAC1B;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC;AAED,MAAM,MAAM,2BAA2B,GACnC,kCAAkC,GAClC,gCAAgC,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,kCAAkC;IACjD;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,IAAI,CAAC;CAClB;AACD,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;CACpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Avatar/Avatar.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Avatar.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/Avatar/Avatar.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BAgEX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -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
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/* eslint-disable import-x/namespace */
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
|
-
import type {BadgeProps$1
|
|
11
|
+
import type {BadgeProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Used when an element does not have children.
|
|
@@ -24,15 +24,10 @@ export interface BaseElementProps<TClass = HTMLElement> {
|
|
|
24
24
|
export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
25
25
|
children?: preact.ComponentChildren;
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
* The list of available icon types.
|
|
29
|
-
*
|
|
30
|
-
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
31
|
-
*/
|
|
32
|
-
export type ReducedIconTypes = Extract<IconType, 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x'>;
|
|
27
|
+
export type ReducedIconTypes = 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x';
|
|
33
28
|
|
|
34
29
|
declare const tagName = "s-badge";
|
|
35
|
-
export interface BadgeProps extends Pick<BadgeProps$1, '
|
|
30
|
+
export interface BadgeProps extends Pick<BadgeProps$1, 'color' | 'icon' | 'iconPosition' | 'id' | 'size' | 'tone'> {
|
|
36
31
|
size?: Extract<BadgeProps$1['size'], 'small' | 'small-100' | 'base'>;
|
|
37
32
|
tone?: Extract<BadgeProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
38
33
|
color?: Extract<BadgeProps$1['color'], 'base' | 'subdued'>;
|
|
@@ -32,7 +32,7 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
|
|
|
32
32
|
}) | null;
|
|
33
33
|
|
|
34
34
|
declare const tagName = "s-button";
|
|
35
|
-
export interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
|
|
35
|
+
export interface ButtonElementProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
|
|
36
36
|
target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
|
|
37
37
|
tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
38
38
|
type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ButtonGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BAqCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -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
|
}
|
|
@@ -35,7 +35,7 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
|
|
|
35
35
|
}) | null;
|
|
36
36
|
|
|
37
37
|
declare const tagName = "s-clickable";
|
|
38
|
-
export interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
|
|
38
|
+
export interface ClickableElementProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'interestFor' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
|
|
39
39
|
background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
40
40
|
border?: BorderShorthand;
|
|
41
41
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerAccountAction.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"CustomerAccountAction.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BAuDX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -2,18 +2,18 @@ import {BaseElementPropsWithChildren, IdProps} from './shared';
|
|
|
2
2
|
|
|
3
3
|
export interface CustomerAccountActionProps extends IdProps {
|
|
4
4
|
/**
|
|
5
|
-
* Sets the heading of the
|
|
5
|
+
* Sets the heading of the action container.
|
|
6
6
|
*/
|
|
7
7
|
heading: string;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
export interface CustomerAccountActionElementSlots {
|
|
11
11
|
/**
|
|
12
|
-
* The primary action
|
|
12
|
+
* The primary action for the page. Accepts a single Button element with restricted properties (see below).
|
|
13
13
|
*/
|
|
14
14
|
'primary-action'?: HTMLElement;
|
|
15
15
|
/**
|
|
16
|
-
* The secondary actions
|
|
16
|
+
* The secondary actions for the page. Accepts multiple Button elements with restricted properties (see below).
|
|
17
17
|
*/
|
|
18
18
|
'secondary-actions'?: HTMLElement;
|
|
19
19
|
}
|
|
@@ -32,9 +32,9 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
|
|
|
32
32
|
}) | null;
|
|
33
33
|
|
|
34
34
|
declare const tagName = "s-details";
|
|
35
|
-
export interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | '
|
|
35
|
+
export interface DetailsElementProps extends Pick<DetailsProps$1, 'defaultOpen' | 'id' | 'open' | 'toggleTransition'> {
|
|
36
36
|
}
|
|
37
|
-
export interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle'> {
|
|
37
|
+
export interface DetailsEvents extends Pick<DetailsProps$1, 'onToggle' | 'onAfterToggle'> {
|
|
38
38
|
}
|
|
39
39
|
export interface DetailsElementEvents {
|
|
40
40
|
/**
|
|
@@ -50,9 +50,22 @@ export interface DetailsElementEvents {
|
|
|
50
50
|
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
51
51
|
*/
|
|
52
52
|
toggle?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
53
|
+
/**
|
|
54
|
+
* Callback fired when the element state changes **after** any animations have finished.
|
|
55
|
+
*
|
|
56
|
+
* - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
|
|
57
|
+
* `newState` property will be set to `open`.
|
|
58
|
+
* - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
|
|
59
|
+
* `newState` will be `closed`.
|
|
60
|
+
*
|
|
61
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
|
|
62
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
|
|
63
|
+
*/
|
|
64
|
+
aftertoggle?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
53
65
|
}
|
|
54
66
|
export interface DetailsElement extends Omit<HTMLElement, 'ontoggle' | 'id'> {
|
|
55
67
|
ontoggle: DetailsEvents['onToggle'];
|
|
68
|
+
onaftertoggle: DetailsEvents['onAfterToggle'];
|
|
56
69
|
}
|
|
57
70
|
export interface DetailsProps extends DetailsElementProps, DetailsEvents {
|
|
58
71
|
}
|
|
@@ -10,8 +10,23 @@
|
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
import type {DividerProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Used when an element does not have children.
|
|
15
|
+
*/
|
|
16
|
+
export interface BaseElementProps<TClass = HTMLElement> {
|
|
17
|
+
key?: preact.Key;
|
|
18
|
+
ref?: preact.Ref<TClass>;
|
|
19
|
+
slot?: Lowercase<string>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Used when an element has children.
|
|
23
|
+
*/
|
|
24
|
+
export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
25
|
+
children?: preact.ComponentChildren;
|
|
26
|
+
}
|
|
27
|
+
|
|
13
28
|
declare const tagName = "s-divider";
|
|
14
|
-
export interface DividerProps extends DividerProps$1 {
|
|
29
|
+
export interface DividerProps extends Pick<DividerProps$1, 'direction' | 'id'> {
|
|
15
30
|
}
|
|
16
31
|
export interface DividerElement extends DividerProps, Omit<HTMLElement, 'id'> {
|
|
17
32
|
}
|
|
@@ -23,7 +38,7 @@ declare global {
|
|
|
23
38
|
declare module 'preact' {
|
|
24
39
|
namespace createElement.JSX {
|
|
25
40
|
interface IntrinsicElements {
|
|
26
|
-
[tagName]: DividerProps
|
|
41
|
+
[tagName]: DividerProps & BaseElementPropsWithChildren<DividerElement>;
|
|
27
42
|
}
|
|
28
43
|
}
|
|
29
44
|
}
|
|
@@ -26,9 +26,9 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
|
|
|
26
26
|
}) | null;
|
|
27
27
|
|
|
28
28
|
declare const tagName = "s-drop-zone";
|
|
29
|
-
export interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required'> {
|
|
29
|
+
export interface DropZoneElementProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required' | 'value'> {
|
|
30
30
|
}
|
|
31
|
-
export interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput'> {
|
|
31
|
+
export interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput' | 'onChange'> {
|
|
32
32
|
}
|
|
33
33
|
export interface DropZoneElementEvents {
|
|
34
34
|
/**
|
|
@@ -39,10 +39,15 @@ export interface DropZoneElementEvents {
|
|
|
39
39
|
* Callback when the user makes any changes in the field.
|
|
40
40
|
*/
|
|
41
41
|
input?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
42
|
+
/**
|
|
43
|
+
* Callback when the user has finished selecting a file or files.
|
|
44
|
+
*/
|
|
45
|
+
change?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
42
46
|
}
|
|
43
|
-
export interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput'> {
|
|
47
|
+
export interface DropZoneElement extends DropZoneElementProps, Omit<HTMLElement, 'id' | 'oninput' | 'onchange'> {
|
|
44
48
|
ondroprejected: DropZoneEvents['onDropRejected'];
|
|
45
49
|
oninput: DropZoneEvents['onInput'];
|
|
50
|
+
onchange: DropZoneEvents['onChange'];
|
|
46
51
|
}
|
|
47
52
|
export interface DropZoneProps extends DropZoneElementProps, DropZoneEvents {
|
|
48
53
|
}
|
|
@@ -61,6 +61,13 @@ export interface EmailFieldElementEvents {
|
|
|
61
61
|
*/
|
|
62
62
|
input?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
63
63
|
}
|
|
64
|
+
export interface EmailFieldElementSlots {
|
|
65
|
+
/**
|
|
66
|
+
* Additional content to be displayed in the field.
|
|
67
|
+
* Commonly used to display an icon that activates a tooltip providing more information.
|
|
68
|
+
*/
|
|
69
|
+
accessory?: HTMLElement;
|
|
70
|
+
}
|
|
64
71
|
export interface EmailFieldElement extends EmailFieldElementProps, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
65
72
|
onblur: EmailFieldEvents['onBlur'];
|
|
66
73
|
onchange: EmailFieldEvents['onChange'];
|
|
@@ -82,4 +89,4 @@ declare module 'preact' {
|
|
|
82
89
|
}
|
|
83
90
|
}
|
|
84
91
|
|
|
85
|
-
export type { EmailFieldElement, EmailFieldElementEvents, EmailFieldElementProps, EmailFieldEvents, EmailFieldProps };
|
|
92
|
+
export type { EmailFieldElement, EmailFieldElementEvents, EmailFieldElementProps, EmailFieldElementSlots, EmailFieldEvents, EmailFieldProps };
|
|
@@ -41,6 +41,9 @@ export interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
|
|
|
41
41
|
onSubmit?: () => void;
|
|
42
42
|
}
|
|
43
43
|
export interface FormElementEvents {
|
|
44
|
+
/**
|
|
45
|
+
* A callback that is run when the form is submitted.
|
|
46
|
+
*/
|
|
44
47
|
submit?: ((event: CallbackEventListener<typeof tagName>) => void) | null;
|
|
45
48
|
}
|
|
46
49
|
export interface FormElement extends FormElementProps, Omit<HTMLElement, 'id' | 'onsubmit'> {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/* eslint-disable import-x/namespace */
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
|
-
import type {GridProps$1,BorderSizeKeyword, BorderStyleKeyword,AlignContentKeyword, AlignItemsKeyword, JustifyContentKeyword, JustifyItemsKeyword,ColorKeyword
|
|
11
|
+
import type {GridProps$1,MaybeResponsive, MaybeAllValuesShorthandProperty,BorderSizeKeyword, BorderStyleKeyword,AlignContentKeyword, AlignItemsKeyword, JustifyContentKeyword, JustifyItemsKeyword,ColorKeyword} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
13
|
export type ReducedAlignContentKeyword = Extract<AlignContentKeyword, 'normal' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'center' | 'start' | 'end'>;
|
|
14
14
|
export type ReducedAlignItemsKeyword = Extract<AlignItemsKeyword, 'normal' | 'stretch' | 'baseline' | 'center' | 'start' | 'end'>;
|
|
@@ -34,17 +34,17 @@ export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends Base
|
|
|
34
34
|
|
|
35
35
|
declare const tagName = "s-grid";
|
|
36
36
|
export interface GridProps extends Pick<GridProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderColor' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'display' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows' | 'id' | 'inlineSize' | 'justifyContent' | 'justifyItems' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'placeContent' | 'placeItems' | 'rowGap'> {
|
|
37
|
-
alignContent?: ReducedAlignContentKeyword | ''
|
|
38
|
-
alignItems?: ReducedAlignItemsKeyword | ''
|
|
37
|
+
alignContent?: MaybeResponsive<ReducedAlignContentKeyword | ''>;
|
|
38
|
+
alignItems?: MaybeResponsive<ReducedAlignItemsKeyword | ''>;
|
|
39
39
|
background?: Extract<GridProps$1['background'], 'transparent' | 'subdued' | 'base'>;
|
|
40
40
|
border?: BorderShorthand;
|
|
41
41
|
borderColor?: ReducedColorKeyword | '';
|
|
42
42
|
borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
|
|
43
43
|
borderRadius?: MaybeAllValuesShorthandProperty<Extract<GridProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
|
|
44
|
-
justifyContent?: ReducedJustifyContentKeyword | ''
|
|
45
|
-
justifyItems?: ReducedJustifyItemsKeyword | ''
|
|
46
|
-
placeContent?:
|
|
47
|
-
placeItems?:
|
|
44
|
+
justifyContent?: MaybeResponsive<ReducedJustifyContentKeyword | ''>;
|
|
45
|
+
justifyItems?: MaybeResponsive<ReducedJustifyItemsKeyword | ''>;
|
|
46
|
+
placeContent?: MaybeResponsive<`${ReducedAlignContentKeyword} ${ReducedJustifyContentKeyword}` | ReducedAlignContentKeyword>;
|
|
47
|
+
placeItems?: MaybeResponsive<`${ReducedAlignItemsKeyword} ${ReducedJustifyItemsKeyword}` | ReducedAlignItemsKeyword>;
|
|
48
48
|
}
|
|
49
49
|
export interface GridElement extends GridProps, Omit<HTMLElement, 'id'> {
|
|
50
50
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
/* eslint-disable import-x/namespace */
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
|
-
import type {IconProps$1
|
|
11
|
+
import type {IconProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Used when an element does not have children.
|
|
@@ -18,12 +18,7 @@ export interface BaseElementProps<TClass = HTMLElement> {
|
|
|
18
18
|
ref?: preact.Ref<TClass>;
|
|
19
19
|
slot?: Lowercase<string>;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
* The list of available icon types.
|
|
23
|
-
*
|
|
24
|
-
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
25
|
-
*/
|
|
26
|
-
export type ReducedIconTypes = Extract<IconType, 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x'>;
|
|
21
|
+
export type ReducedIconTypes = 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x';
|
|
27
22
|
|
|
28
23
|
declare const tagName = "s-icon";
|
|
29
24
|
export interface IconProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ImageGroup.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAE1E,QAAA,MAAM,IAAI,EAAE,6BA0CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -32,7 +32,7 @@ export type CallbackEventListener<TTagName extends keyof HTMLElementTagNameMap,
|
|
|
32
32
|
}) | null;
|
|
33
33
|
|
|
34
34
|
declare const tagName = "s-link";
|
|
35
|
-
export interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'lang' | 'target' | 'tone'> {
|
|
35
|
+
export interface LinkElementProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'interestFor' | 'lang' | 'target' | 'tone'> {
|
|
36
36
|
target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
|
|
37
37
|
tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
|
|
38
38
|
}
|