@shopify/ui-extensions 2025.10.0-rc.41 → 2025.10.0-rc.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/shared.js +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +1 -1
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/index.d.ts +4 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
- package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
- package/build/ts/surfaces/admin/api.d.ts +1 -1
- package/build/ts/surfaces/admin/api.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Banner.d.ts +18 -24
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +21 -27
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +6 -13
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +21 -28
- package/build/ts/surfaces/admin/components/Chip.d.ts +5 -11
- package/build/ts/surfaces/admin/components/Choice.d.ts +5 -17
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +19 -26
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +21 -28
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +18 -24
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -4
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/build/ts/surfaces/admin/components/DateField.d.ts +12 -12
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -4
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Form.d.ts +7 -3
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +4 -10
- package/build/ts/surfaces/admin/components/GridItem.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Icon.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +20 -21
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +21 -27
- package/build/ts/surfaces/admin/components/ListItem.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Modal.d.ts +15 -15
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +29 -29
- package/build/ts/surfaces/admin/components/NumberField.d.ts +28 -27
- package/build/ts/surfaces/admin/components/Option.d.ts +7 -11
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +7 -12
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Page.d.ts +11 -16
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +4 -11
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/build/ts/surfaces/admin/components/SearchField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +24 -28
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Switch.d.ts +20 -21
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +5 -12
- package/build/ts/surfaces/admin/components/TableBody.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableCell.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
- package/build/ts/surfaces/admin/components/TableRow.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +4 -10
- package/build/ts/surfaces/admin/components/TextArea.d.ts +26 -27
- package/build/ts/surfaces/admin/components/TextField.d.ts +27 -28
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -12
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +4 -10
- package/build/ts/surfaces/admin/components/URLField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +4 -11
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/shared.d.ts +24 -7
- package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -1
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +2 -2
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Form.d.ts +3 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/components.d.ts +252 -24
- package/build/ts/surfaces/checkout/extension-targets.d.ts +61 -61
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +6 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout.d.ts +1 -0
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Avatar.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +3 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -3
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/components.d.ts +252 -24
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +2 -9
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/index.ts +4 -0
- package/src/index.ts +1 -0
- package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
- package/src/surfaces/admin/api.ts +4 -1
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar.d.ts +4 -10
- package/src/surfaces/admin/components/Badge.d.ts +4 -10
- package/src/surfaces/admin/components/Banner.d.ts +18 -24
- package/src/surfaces/admin/components/Box.d.ts +4 -10
- package/src/surfaces/admin/components/Button.d.ts +21 -27
- package/src/surfaces/admin/components/ButtonGroup.d.ts +6 -13
- package/src/surfaces/admin/components/Checkbox.d.ts +21 -28
- package/src/surfaces/admin/components/Chip.d.ts +5 -11
- package/src/surfaces/admin/components/Choice.d.ts +5 -17
- package/src/surfaces/admin/components/ChoiceList.d.ts +19 -26
- package/src/surfaces/admin/components/Clickable.d.ts +21 -28
- package/src/surfaces/admin/components/ClickableChip.d.ts +18 -24
- package/src/surfaces/admin/components/ColorField.d.ts +3 -4
- package/src/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/src/surfaces/admin/components/DateField.d.ts +12 -12
- package/src/surfaces/admin/components/DatePicker.d.ts +3 -4
- package/src/surfaces/admin/components/Divider.d.ts +3 -4
- package/src/surfaces/admin/components/EmailField.d.ts +26 -27
- package/src/surfaces/admin/components/Form.d.ts +7 -3
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +4 -10
- package/src/surfaces/admin/components/GridItem.d.ts +4 -11
- package/src/surfaces/admin/components/Heading.d.ts +4 -10
- package/src/surfaces/admin/components/Icon.d.ts +3 -4
- package/src/surfaces/admin/components/Image.d.ts +20 -21
- package/src/surfaces/admin/components/Link.d.ts +21 -27
- package/src/surfaces/admin/components/ListItem.d.ts +4 -11
- package/src/surfaces/admin/components/Menu.d.ts +3 -3
- package/src/surfaces/admin/components/Modal.d.ts +15 -15
- package/src/surfaces/admin/components/MoneyField.d.ts +29 -29
- package/src/surfaces/admin/components/NumberField.d.ts +28 -27
- package/src/surfaces/admin/components/Option.d.ts +7 -11
- package/src/surfaces/admin/components/OptionGroup.d.ts +7 -12
- package/src/surfaces/admin/components/OrderedList.d.ts +4 -11
- package/src/surfaces/admin/components/Page.d.ts +11 -16
- package/src/surfaces/admin/components/Paragraph.d.ts +4 -11
- package/src/surfaces/admin/components/PasswordField.d.ts +26 -27
- package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/src/surfaces/admin/components/SearchField.d.ts +26 -27
- package/src/surfaces/admin/components/Section.d.ts +4 -10
- package/src/surfaces/admin/components/Select.d.ts +24 -28
- package/src/surfaces/admin/components/Spinner.d.ts +3 -4
- package/src/surfaces/admin/components/Stack.d.ts +4 -10
- package/src/surfaces/admin/components/Switch.d.ts +20 -21
- package/src/surfaces/admin/components/Table.d.ts +5 -12
- package/src/surfaces/admin/components/TableBody.d.ts +4 -11
- package/src/surfaces/admin/components/TableCell.d.ts +4 -11
- package/src/surfaces/admin/components/TableHeader.d.ts +4 -11
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
- package/src/surfaces/admin/components/TableRow.d.ts +4 -11
- package/src/surfaces/admin/components/Text.d.ts +4 -10
- package/src/surfaces/admin/components/TextArea.d.ts +26 -27
- package/src/surfaces/admin/components/TextField.d.ts +27 -28
- package/src/surfaces/admin/components/Thumbnail.d.ts +11 -12
- package/src/surfaces/admin/components/Tooltip.d.ts +4 -10
- package/src/surfaces/admin/components/URLField.d.ts +26 -27
- package/src/surfaces/admin/components/UnorderedList.d.ts +4 -11
- package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
- package/src/surfaces/admin/components/shared.d.ts +24 -7
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +902 -614
- package/src/surfaces/admin/extension-targets.ts +11 -10
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/api/checkout/checkout.ts +2 -2
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge.d.ts +7 -1
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
- package/src/surfaces/checkout/components/Form.d.ts +3 -0
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +7 -1
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -1
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -7
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -4
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -20
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -5
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +1 -1
- package/src/surfaces/checkout/components/TextField.d.ts +7 -1
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/src/surfaces/checkout/components/components.d.ts +252 -24
- package/src/surfaces/checkout/extension-targets.ts +63 -62
- package/src/surfaces/checkout/shared.ts +15 -8
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
- package/src/surfaces/customer-account/components/Avatar.d.ts +2 -2
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
- package/src/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
- package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
- package/src/surfaces/customer-account/components/Page.d.ts +3 -3
- package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
- package/src/surfaces/customer-account/components/Section.d.ts +2 -2
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -10
- package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -5
- package/src/surfaces/point-of-sale/components/Modal.d.ts +1 -2
- package/src/surfaces/point-of-sale/components.d.ts +48 -50
- package/build/ts/surfaces/admin/components/DropZone.d.ts +0 -160
- package/build/ts/surfaces/admin/components/Popover.d.ts +0 -379
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -57
- package/src/surfaces/admin/components/DropZone.d.ts +0 -160
- package/src/surfaces/admin/components/Popover.d.ts +0 -379
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -10
- package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +0 -22
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -17
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -17
- package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +0 -24
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -37
- package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +0 -23
|
@@ -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
|
}
|
package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<s-image-group>
|
|
2
|
+
<s-image
|
|
3
|
+
src="https://cdn.shopify.com/YOUR_IMAGE_HERE"
|
|
4
|
+
alt="Product image"
|
|
5
|
+
></s-image>
|
|
6
|
+
<s-image
|
|
7
|
+
src="https://cdn.shopify.com/YOUR_IMAGE_HERE"
|
|
8
|
+
alt="Product image"
|
|
9
|
+
></s-image>
|
|
10
|
+
<s-image
|
|
11
|
+
src="https://cdn.shopify.com/YOUR_IMAGE_HERE"
|
|
12
|
+
alt="Product image"
|
|
13
|
+
></s-image>
|
|
14
|
+
<s-image
|
|
15
|
+
src="https://cdn.shopify.com/YOUR_IMAGE_HERE"
|
|
16
|
+
alt="Product image"
|
|
17
|
+
></s-image>
|
|
18
|
+
</s-image-group>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<>
|
|
2
|
+
<s-button commandFor="order-actions-menu">
|
|
3
|
+
Manage
|
|
4
|
+
</s-button>
|
|
5
|
+
|
|
6
|
+
<s-menu
|
|
7
|
+
id="order-actions-menu"
|
|
8
|
+
accessibilityLabel="List of order actions"
|
|
9
|
+
>
|
|
10
|
+
<s-button>Submit problem</s-button>
|
|
11
|
+
<s-button>Request return</s-button>
|
|
12
|
+
<s-button tone="critical">Cancel order</s-button>
|
|
13
|
+
</s-menu>
|
|
14
|
+
</>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<s-page
|
|
2
|
+
heading="Order #1411"
|
|
3
|
+
subheading="Confirmed Oct 5"
|
|
4
|
+
>
|
|
5
|
+
<s-button slot="primary-action">
|
|
6
|
+
Buy again
|
|
7
|
+
</s-button>
|
|
8
|
+
<s-button slot="secondary-actions">
|
|
9
|
+
Edit order
|
|
10
|
+
</s-button>
|
|
11
|
+
<s-button slot="secondary-actions">
|
|
12
|
+
Cancel order
|
|
13
|
+
</s-button>
|
|
14
|
+
<s-button
|
|
15
|
+
slot="breadcrumb-actions"
|
|
16
|
+
accessibilityLabel="Back to orders"
|
|
17
|
+
></s-button>
|
|
18
|
+
Content
|
|
19
|
+
</s-page>
|
|
@@ -14,15 +14,15 @@ export interface PageProps extends IdProps {
|
|
|
14
14
|
|
|
15
15
|
export interface PageElementSlots {
|
|
16
16
|
/**
|
|
17
|
-
* The breadcrumb actions
|
|
17
|
+
* The breadcrumb actions for the page. Accepts a single Button element with restricted properties (see below).
|
|
18
18
|
*/
|
|
19
19
|
'breadcrumb-actions'?: HTMLElement;
|
|
20
20
|
/**
|
|
21
|
-
* The primary action
|
|
21
|
+
* The primary action for the page. Accepts a single Button element with restricted properties (see below).
|
|
22
22
|
*/
|
|
23
23
|
'primary-action'?: HTMLElement;
|
|
24
24
|
/**
|
|
25
|
-
* The secondary actions
|
|
25
|
+
* The secondary actions for the page. Accepts multiple Button elements with restricted properties (see below).
|
|
26
26
|
*/
|
|
27
27
|
'secondary-actions'?: HTMLElement;
|
|
28
28
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<s-section heading="Rewards">
|
|
2
|
+
<s-button slot="primary-action" variant="primary">
|
|
3
|
+
Redeem
|
|
4
|
+
</s-button>
|
|
5
|
+
<s-button slot="secondary-actions" variant="secondary">
|
|
6
|
+
My rewards
|
|
7
|
+
</s-button>
|
|
8
|
+
<s-paragraph>
|
|
9
|
+
Earn 10 points for every $1 spent. Redeem 100 points for $10 off your
|
|
10
|
+
next purchase.
|
|
11
|
+
</s-paragraph>
|
|
12
|
+
</s-section>
|
|
@@ -18,11 +18,11 @@ export interface SectionProps extends IdProps {
|
|
|
18
18
|
|
|
19
19
|
export interface SectionElementSlots {
|
|
20
20
|
/**
|
|
21
|
-
* The primary action
|
|
21
|
+
* The primary action for the section. Accepts a single [Button](/docs/api/checkout-ui-extensions/polaris-web-components/actions/button) element.
|
|
22
22
|
*/
|
|
23
23
|
'primary-action'?: HTMLElement;
|
|
24
24
|
/**
|
|
25
|
-
* The secondary actions
|
|
25
|
+
* The secondary actions for the section. Accepts multiple [Button](/docs/api/checkout-ui-extensions/polaris-web-components/actions/button) elements.
|
|
26
26
|
*/
|
|
27
27
|
'secondary-actions'?: HTMLElement;
|
|
28
28
|
}
|
|
@@ -12,7 +12,7 @@ export interface NavigationHistoryEntry {
|
|
|
12
12
|
/** Returns the key of the history entry. This is a unique, UA-generated value that represents the history entry's slot in the entries list rather than the entry itself. */
|
|
13
13
|
key: string;
|
|
14
14
|
/**
|
|
15
|
-
* Returns the URL of this history entry.
|
|
15
|
+
* Returns the lowercased URL of this history entry.
|
|
16
16
|
*/
|
|
17
17
|
url: string | null;
|
|
18
18
|
/**
|
|
@@ -35,7 +35,7 @@ export interface Navigation {
|
|
|
35
35
|
/**
|
|
36
36
|
* The navigate() method navigates to a specific URL, updating any provided state in the history entries list.
|
|
37
37
|
*/
|
|
38
|
-
navigate:
|
|
38
|
+
navigate: (url: string, options?: NavigationNavigateOptions) => Promise<void>;
|
|
39
39
|
/**
|
|
40
40
|
* The currentEntry read-only property of the Navigation interface returns a NavigationHistoryEntry object representing the location the user is currently navigated to right now.
|
|
41
41
|
*/
|
|
@@ -53,11 +53,3 @@ export interface Navigation {
|
|
|
53
53
|
cb: (event: NavigationCurrentEntryChangeEvent) => void,
|
|
54
54
|
): void;
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
export interface NavigateFunction {
|
|
58
|
-
/**
|
|
59
|
-
* Navigates to a specific URL, updating any provided state in the history entries list.
|
|
60
|
-
* @param url The destination URL to navigate to.
|
|
61
|
-
*/
|
|
62
|
-
(url: string, options?: NavigationNavigateOptions): void;
|
|
63
|
-
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<s-badge tone="neutral">
|
|
2
|
-
<s-badge tone="success">
|
|
3
|
-
<s-badge tone="info">
|
|
4
|
-
<s-badge tone="warning">
|
|
5
|
-
<s-badge tone="critical">
|
|
1
|
+
<s-badge tone="neutral">Paid</s-badge>
|
|
2
|
+
<s-badge tone="success">Active</s-badge>
|
|
3
|
+
<s-badge tone="info">Draft</s-badge>
|
|
4
|
+
<s-badge tone="warning">On hold</s-badge>
|
|
5
|
+
<s-badge tone="critical">Action required</s-badge>
|
|
@@ -14,7 +14,6 @@ import type {
|
|
|
14
14
|
Ref,
|
|
15
15
|
ComponentChild,
|
|
16
16
|
} from './components-shared.d.ts';
|
|
17
|
-
import {ReactNode} from 'react';
|
|
18
17
|
|
|
19
18
|
export type ComponentChildren = any;
|
|
20
19
|
/**
|
|
@@ -48,7 +47,7 @@ export interface ModalJSXProps extends Pick<ModalProps, 'id' | 'heading'> {
|
|
|
48
47
|
secondaryActions?: ComponentChild;
|
|
49
48
|
onHide?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
50
49
|
onShow?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
51
|
-
children?:
|
|
50
|
+
children?: ComponentChildren;
|
|
52
51
|
}
|
|
53
52
|
declare global {
|
|
54
53
|
interface HTMLElementTagNameMap {
|
|
@@ -3110,8 +3110,6 @@ export interface Context<T> extends Provider<T> {
|
|
|
3110
3110
|
displayName?: string;
|
|
3111
3111
|
}
|
|
3112
3112
|
|
|
3113
|
-
import {ReactNode} from 'react';
|
|
3114
|
-
|
|
3115
3113
|
type ComponentChildren = any;
|
|
3116
3114
|
/**
|
|
3117
3115
|
* Used when an element does not have children.
|
|
@@ -3838,7 +3836,7 @@ interface ModalJSXProps extends Pick<ModalProps, 'id' | 'heading'> {
|
|
|
3838
3836
|
secondaryActions?: ComponentChild;
|
|
3839
3837
|
onHide?: (event: CallbackEvent<typeof tagName$i>) => void | null;
|
|
3840
3838
|
onShow?: (event: CallbackEvent<typeof tagName$i>) => void | null;
|
|
3841
|
-
children?:
|
|
3839
|
+
children?: ComponentChildren;
|
|
3842
3840
|
}
|
|
3843
3841
|
declare global {
|
|
3844
3842
|
interface HTMLElementTagNameMap {
|
|
@@ -4554,7 +4552,7 @@ interface Box {
|
|
|
4554
4552
|
}
|
|
4555
4553
|
|
|
4556
4554
|
interface ButtonEvents {
|
|
4557
|
-
click?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4555
|
+
click?: (event: CallbackEvent<typeof tagName$t>) => void;
|
|
4558
4556
|
}
|
|
4559
4557
|
|
|
4560
4558
|
interface Button {
|
|
@@ -4618,8 +4616,8 @@ interface Choice {
|
|
|
4618
4616
|
}
|
|
4619
4617
|
|
|
4620
4618
|
interface ChoiceListEvents {
|
|
4621
|
-
change?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4622
|
-
input?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4619
|
+
change?: (event: CallbackEvent<typeof tagName$k>) => void;
|
|
4620
|
+
input?: (event: CallbackEvent<typeof tagName$k>) => void;
|
|
4623
4621
|
}
|
|
4624
4622
|
|
|
4625
4623
|
interface ChoiceList {
|
|
@@ -4637,7 +4635,7 @@ interface ChoiceList {
|
|
|
4637
4635
|
}
|
|
4638
4636
|
|
|
4639
4637
|
interface ClickableEvents {
|
|
4640
|
-
click?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4638
|
+
click?: (event: CallbackEvent<typeof tagName$e>) => void;
|
|
4641
4639
|
}
|
|
4642
4640
|
|
|
4643
4641
|
interface Clickable {
|
|
@@ -4656,10 +4654,10 @@ interface Clickable {
|
|
|
4656
4654
|
}
|
|
4657
4655
|
|
|
4658
4656
|
interface DateFieldEvents {
|
|
4659
|
-
input?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4660
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4661
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4662
|
-
change?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4657
|
+
input?: (event: CallbackEvent<typeof tagName$b>) => void;
|
|
4658
|
+
focus?: (event: CallbackEvent<typeof tagName$b>) => void;
|
|
4659
|
+
blur?: (event: CallbackEvent<typeof tagName$b>) => void;
|
|
4660
|
+
change?: (event: CallbackEvent<typeof tagName$b>) => void;
|
|
4663
4661
|
}
|
|
4664
4662
|
|
|
4665
4663
|
interface DateFieldSlots {
|
|
@@ -4692,10 +4690,10 @@ interface DateField {
|
|
|
4692
4690
|
}
|
|
4693
4691
|
|
|
4694
4692
|
interface DatePickerEvents {
|
|
4695
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4696
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4697
|
-
change?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4698
|
-
input?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4693
|
+
blur?: (event: CallbackEvent<typeof tagName$a>) => void | null;
|
|
4694
|
+
focus?: (event: CallbackEvent<typeof tagName$a>) => void | null;
|
|
4695
|
+
change?: (event: CallbackEvent<typeof tagName$a>) => void | null;
|
|
4696
|
+
input?: (event: CallbackEvent<typeof tagName$a>) => void | null;
|
|
4699
4697
|
}
|
|
4700
4698
|
|
|
4701
4699
|
interface DatePicker {
|
|
@@ -4719,10 +4717,10 @@ interface DatePicker {
|
|
|
4719
4717
|
}
|
|
4720
4718
|
|
|
4721
4719
|
interface DateSpinnerEvents {
|
|
4722
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4723
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4724
|
-
change?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4725
|
-
input?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4720
|
+
blur?: (event: CallbackEvent<typeof tagName$9>) => void | null;
|
|
4721
|
+
focus?: (event: CallbackEvent<typeof tagName$9>) => void | null;
|
|
4722
|
+
change?: (event: CallbackEvent<typeof tagName$9>) => void | null;
|
|
4723
|
+
input?: (event: CallbackEvent<typeof tagName$9>) => void | null;
|
|
4726
4724
|
}
|
|
4727
4725
|
|
|
4728
4726
|
interface DateSpinner {
|
|
@@ -4746,10 +4744,10 @@ interface Divider {
|
|
|
4746
4744
|
}
|
|
4747
4745
|
|
|
4748
4746
|
interface EmailFieldEvents {
|
|
4749
|
-
input?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4750
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4751
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4752
|
-
change?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4747
|
+
input?: (event: CallbackEvent<typeof tagName$f>) => void;
|
|
4748
|
+
focus?: (event: CallbackEvent<typeof tagName$f>) => void;
|
|
4749
|
+
blur?: (event: CallbackEvent<typeof tagName$f>) => void;
|
|
4750
|
+
change?: (event: CallbackEvent<typeof tagName$f>) => void;
|
|
4753
4751
|
}
|
|
4754
4752
|
|
|
4755
4753
|
interface EmailFieldSlots {
|
|
@@ -4852,8 +4850,8 @@ interface Image {
|
|
|
4852
4850
|
}
|
|
4853
4851
|
|
|
4854
4852
|
interface ModalEvents {
|
|
4855
|
-
hide?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4856
|
-
show?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
4853
|
+
hide?: (event: CallbackEvent<typeof tagName$i>) => void | null;
|
|
4854
|
+
show?: (event: CallbackEvent<typeof tagName$i>) => void | null;
|
|
4857
4855
|
}
|
|
4858
4856
|
|
|
4859
4857
|
interface ModalSlots {
|
|
@@ -4869,10 +4867,10 @@ interface Modal {
|
|
|
4869
4867
|
}
|
|
4870
4868
|
|
|
4871
4869
|
interface NumberFieldEvents {
|
|
4872
|
-
input?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4873
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4874
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4875
|
-
change?: (event: CallbackEvent<typeof tagName>) => void;
|
|
4870
|
+
input?: (event: CallbackEvent<typeof tagName$c>) => void;
|
|
4871
|
+
focus?: (event: CallbackEvent<typeof tagName$c>) => void;
|
|
4872
|
+
blur?: (event: CallbackEvent<typeof tagName$c>) => void;
|
|
4873
|
+
change?: (event: CallbackEvent<typeof tagName$c>) => void;
|
|
4876
4874
|
}
|
|
4877
4875
|
|
|
4878
4876
|
interface NumberFieldSlots {
|
|
@@ -5110,10 +5108,10 @@ interface ScrollBox {
|
|
|
5110
5108
|
}
|
|
5111
5109
|
|
|
5112
5110
|
interface SearchFieldEvents {
|
|
5113
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5114
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5115
|
-
input?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5116
|
-
change?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5111
|
+
focus?: (event: CallbackEvent<typeof tagName$g>) => void;
|
|
5112
|
+
blur?: (event: CallbackEvent<typeof tagName$g>) => void;
|
|
5113
|
+
input?: (event: CallbackEvent<typeof tagName$g>) => void;
|
|
5114
|
+
change?: (event: CallbackEvent<typeof tagName$g>) => void;
|
|
5117
5115
|
}
|
|
5118
5116
|
|
|
5119
5117
|
interface SearchField {
|
|
@@ -5312,10 +5310,10 @@ interface Text {
|
|
|
5312
5310
|
}
|
|
5313
5311
|
|
|
5314
5312
|
interface TextAreaEvents {
|
|
5315
|
-
input?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5316
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5317
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5318
|
-
change?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5313
|
+
input?: (event: CallbackEvent<typeof tagName$d>) => void;
|
|
5314
|
+
focus?: (event: CallbackEvent<typeof tagName$d>) => void;
|
|
5315
|
+
blur?: (event: CallbackEvent<typeof tagName$d>) => void;
|
|
5316
|
+
change?: (event: CallbackEvent<typeof tagName$d>) => void;
|
|
5319
5317
|
}
|
|
5320
5318
|
|
|
5321
5319
|
interface TextAreaSlots {
|
|
@@ -5368,10 +5366,10 @@ interface TextArea {
|
|
|
5368
5366
|
}
|
|
5369
5367
|
|
|
5370
5368
|
interface TextFieldEvents {
|
|
5371
|
-
input?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5372
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5373
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5374
|
-
change?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5369
|
+
input?: (event: CallbackEvent<typeof tagName$h>) => void;
|
|
5370
|
+
focus?: (event: CallbackEvent<typeof tagName$h>) => void;
|
|
5371
|
+
blur?: (event: CallbackEvent<typeof tagName$h>) => void;
|
|
5372
|
+
change?: (event: CallbackEvent<typeof tagName$h>) => void;
|
|
5375
5373
|
}
|
|
5376
5374
|
|
|
5377
5375
|
interface TextFieldSlots {
|
|
@@ -5419,7 +5417,7 @@ interface TextField {
|
|
|
5419
5417
|
}
|
|
5420
5418
|
|
|
5421
5419
|
interface TileEvents {
|
|
5422
|
-
click?: (event: CallbackEvent<typeof tagName>) => void;
|
|
5420
|
+
click?: (event: CallbackEvent<typeof tagName$q>) => void;
|
|
5423
5421
|
}
|
|
5424
5422
|
|
|
5425
5423
|
interface Tile {
|
|
@@ -5455,10 +5453,10 @@ interface Tile {
|
|
|
5455
5453
|
}
|
|
5456
5454
|
|
|
5457
5455
|
interface TimeFieldEvents {
|
|
5458
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5459
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5460
|
-
input?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5461
|
-
change?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5456
|
+
blur?: (event: CallbackEvent<typeof tagName$3>) => void | null;
|
|
5457
|
+
focus?: (event: CallbackEvent<typeof tagName$3>) => void | null;
|
|
5458
|
+
input?: (event: CallbackEvent<typeof tagName$3>) => void | null;
|
|
5459
|
+
change?: (event: CallbackEvent<typeof tagName$3>) => void | null;
|
|
5462
5460
|
}
|
|
5463
5461
|
|
|
5464
5462
|
interface TimeField {
|
|
@@ -5502,10 +5500,10 @@ interface TimeField {
|
|
|
5502
5500
|
}
|
|
5503
5501
|
|
|
5504
5502
|
interface TimePickerEvents {
|
|
5505
|
-
blur?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5506
|
-
focus?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5507
|
-
change?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5508
|
-
input?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
5503
|
+
blur?: (event: CallbackEvent<typeof tagName$6>) => void | null;
|
|
5504
|
+
focus?: (event: CallbackEvent<typeof tagName$6>) => void | null;
|
|
5505
|
+
change?: (event: CallbackEvent<typeof tagName$6>) => void | null;
|
|
5506
|
+
input?: (event: CallbackEvent<typeof tagName$6>) => void | null;
|
|
5509
5507
|
}
|
|
5510
5508
|
|
|
5511
5509
|
interface TimePicker {
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
/** VERSION: 1.19.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
3
|
-
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
|
-
/* eslint-disable @typescript-eslint/member-ordering */
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
|
-
/// <reference lib="DOM" />
|
|
9
|
-
import type {DropZoneProps$1, ComponentChild} from './shared.d.ts';
|
|
10
|
-
|
|
11
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
12
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
13
|
-
};
|
|
14
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
15
|
-
| (EventListener & {
|
|
16
|
-
(event: CallbackEvent<T>): void;
|
|
17
|
-
})
|
|
18
|
-
| null;
|
|
19
|
-
|
|
20
|
-
export interface DropZoneProps
|
|
21
|
-
extends Required<
|
|
22
|
-
Pick<
|
|
23
|
-
DropZoneProps$1,
|
|
24
|
-
| 'accept'
|
|
25
|
-
| 'accessibilityLabel'
|
|
26
|
-
| 'disabled'
|
|
27
|
-
| 'files'
|
|
28
|
-
| 'name'
|
|
29
|
-
| 'error'
|
|
30
|
-
| 'label'
|
|
31
|
-
| 'labelAccessibilityVisibility'
|
|
32
|
-
| 'multiple'
|
|
33
|
-
| 'required'
|
|
34
|
-
| 'value'
|
|
35
|
-
>
|
|
36
|
-
> {}
|
|
37
|
-
|
|
38
|
-
export type Styles = string;
|
|
39
|
-
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
40
|
-
ShadowRoot: (element: any) => ComponentChild;
|
|
41
|
-
styles?: Styles;
|
|
42
|
-
};
|
|
43
|
-
export interface ActivationEventEsque {
|
|
44
|
-
shiftKey: boolean;
|
|
45
|
-
metaKey: boolean;
|
|
46
|
-
ctrlKey: boolean;
|
|
47
|
-
button: number;
|
|
48
|
-
}
|
|
49
|
-
export interface ClickOptions {
|
|
50
|
-
/**
|
|
51
|
-
* The event you want to influence the synthetic click.
|
|
52
|
-
*/
|
|
53
|
-
sourceEvent?: ActivationEventEsque;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Base class for creating custom elements with Preact.
|
|
57
|
-
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
58
|
-
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
59
|
-
*/
|
|
60
|
-
declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
61
|
-
declare abstract class PreactCustomElement extends BaseClass$1 {
|
|
62
|
-
/** @private */
|
|
63
|
-
static get observedAttributes(): string[];
|
|
64
|
-
constructor({
|
|
65
|
-
styles,
|
|
66
|
-
ShadowRoot: renderFunction,
|
|
67
|
-
delegatesFocus,
|
|
68
|
-
...options
|
|
69
|
-
}: RenderImpl);
|
|
70
|
-
|
|
71
|
-
/** @private */
|
|
72
|
-
setAttribute(name: string, value: string): void;
|
|
73
|
-
/** @private */
|
|
74
|
-
attributeChangedCallback(name: string): void;
|
|
75
|
-
/** @private */
|
|
76
|
-
connectedCallback(): void;
|
|
77
|
-
/** @private */
|
|
78
|
-
disconnectedCallback(): void;
|
|
79
|
-
/** @private */
|
|
80
|
-
adoptedCallback(): void;
|
|
81
|
-
/**
|
|
82
|
-
* Queue a run of the render function.
|
|
83
|
-
* You shouldn't need to call this manually - it should be handled by changes to @property values.
|
|
84
|
-
* @private
|
|
85
|
-
*/
|
|
86
|
-
queueRender(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
89
|
-
*
|
|
90
|
-
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
91
|
-
* components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
|
|
92
|
-
* @private
|
|
93
|
-
* @param options
|
|
94
|
-
*/
|
|
95
|
-
click({sourceEvent}?: ClickOptions): void;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare const setFiles: unique symbol;
|
|
99
|
-
|
|
100
|
-
declare const internals: unique symbol;
|
|
101
|
-
declare const getFileInput: unique symbol;
|
|
102
|
-
declare class BaseClass extends PreactCustomElement {
|
|
103
|
-
static formAssociated: boolean;
|
|
104
|
-
constructor(renderImpl: RenderImpl);
|
|
105
|
-
/** @private */
|
|
106
|
-
[internals]: ElementInternals;
|
|
107
|
-
}
|
|
108
|
-
declare class DropZone extends BaseClass implements DropZoneProps {
|
|
109
|
-
accessor accept: DropZoneProps['accept'];
|
|
110
|
-
accessor accessibilityLabel: DropZoneProps['accessibilityLabel'];
|
|
111
|
-
accessor disabled: DropZoneProps['disabled'];
|
|
112
|
-
accessor error: DropZoneProps['error'];
|
|
113
|
-
accessor label: DropZoneProps['label'];
|
|
114
|
-
accessor labelAccessibilityVisibility: DropZoneProps['labelAccessibilityVisibility'];
|
|
115
|
-
accessor multiple: DropZoneProps['multiple'];
|
|
116
|
-
accessor name: DropZoneProps['name'];
|
|
117
|
-
accessor required: DropZoneProps['required'];
|
|
118
|
-
accessor onchange: CallbackEventListener<typeof tagName>;
|
|
119
|
-
accessor oninput: CallbackEventListener<typeof tagName>;
|
|
120
|
-
accessor ondroprejected: CallbackEventListener<typeof tagName>;
|
|
121
|
-
get value(): string;
|
|
122
|
-
set value(value: string);
|
|
123
|
-
get files(): File[];
|
|
124
|
-
set files(files: File[]);
|
|
125
|
-
/** @private */
|
|
126
|
-
[setFiles](files: File[]): void;
|
|
127
|
-
/** @private */
|
|
128
|
-
[getFileInput](): HTMLInputElement | null;
|
|
129
|
-
/** @private */
|
|
130
|
-
formResetCallback(): void;
|
|
131
|
-
constructor();
|
|
132
|
-
}
|
|
133
|
-
declare global {
|
|
134
|
-
interface HTMLElementTagNameMap {
|
|
135
|
-
[tagName]: DropZone;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
declare module 'preact' {
|
|
139
|
-
namespace createElement.JSX {
|
|
140
|
-
interface IntrinsicElements {
|
|
141
|
-
[tagName]: Omit<
|
|
142
|
-
HTMLAttributes<HTMLElement>,
|
|
143
|
-
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
144
|
-
> &
|
|
145
|
-
DropZoneJSXProps;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
declare const tagName = 's-drop-zone';
|
|
151
|
-
export interface DropZoneJSXProps
|
|
152
|
-
extends Partial<DropZoneProps>,
|
|
153
|
-
Pick<DropZoneProps$1, 'id'> {
|
|
154
|
-
onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
155
|
-
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
156
|
-
onDropRejected?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export {DropZone};
|
|
160
|
-
export type {DropZoneJSXProps};
|