@shopify/ui-extensions 2025.10.0-rc.42 → 2025.10.0-rc.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/shared.js +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +1 -1
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/index.d.ts +4 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar.d.ts +4 -9
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Banner.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +26 -26
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -4
- package/build/ts/surfaces/admin/components/Choice.d.ts +6 -11
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +89 -32
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -3
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/build/ts/surfaces/admin/components/DateField.d.ts +12 -12
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Form.d.ts +7 -3
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +119 -12
- package/build/ts/surfaces/admin/components/GridItem.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +84 -27
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +22 -22
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Modal.d.ts +16 -16
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/build/ts/surfaces/admin/components/NumberField.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +14 -9
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +83 -9
- package/build/ts/surfaces/admin/components/Switch.d.ts +21 -21
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +4 -4
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -27
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -28
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/shared.d.ts +2 -2
- package/build/ts/surfaces/admin/extension-targets.d.ts +5 -5
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -1
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/components.d.ts +252 -24
- package/build/ts/surfaces/checkout/extension-targets.d.ts +61 -61
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +6 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout.d.ts +1 -0
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/components.d.ts +252 -24
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/index.ts +4 -0
- package/src/index.ts +1 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar.d.ts +4 -9
- package/src/surfaces/admin/components/Badge.d.ts +3 -3
- package/src/surfaces/admin/components/Banner.d.ts +18 -18
- package/src/surfaces/admin/components/Box.d.ts +66 -9
- package/src/surfaces/admin/components/Button.d.ts +26 -26
- package/src/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/src/surfaces/admin/components/Chip.d.ts +4 -4
- package/src/surfaces/admin/components/Choice.d.ts +6 -11
- package/src/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/src/surfaces/admin/components/Clickable.d.ts +89 -32
- package/src/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/src/surfaces/admin/components/ColorField.d.ts +3 -3
- package/src/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/src/surfaces/admin/components/DateField.d.ts +12 -12
- package/src/surfaces/admin/components/DatePicker.d.ts +3 -3
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/EmailField.d.ts +27 -27
- package/src/surfaces/admin/components/Form.d.ts +7 -3
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +119 -12
- package/src/surfaces/admin/components/GridItem.d.ts +66 -9
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +3 -3
- package/src/surfaces/admin/components/Image.d.ts +84 -27
- package/src/surfaces/admin/components/Link.d.ts +22 -22
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu.d.ts +3 -3
- package/src/surfaces/admin/components/Modal.d.ts +16 -16
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/src/surfaces/admin/components/NumberField.d.ts +29 -27
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page.d.ts +14 -9
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -27
- package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/src/surfaces/admin/components/SearchField.d.ts +27 -27
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select.d.ts +29 -27
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +83 -9
- package/src/surfaces/admin/components/Switch.d.ts +21 -21
- package/src/surfaces/admin/components/Table.d.ts +4 -4
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/src/surfaces/admin/components/TableRow.d.ts +3 -3
- package/src/surfaces/admin/components/Text.d.ts +3 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -27
- package/src/surfaces/admin/components/TextField.d.ts +28 -28
- package/src/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/src/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/src/surfaces/admin/components/URLField.d.ts +27 -27
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
- package/src/surfaces/admin/components/shared.d.ts +2 -2
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +655 -105
- package/src/surfaces/admin/extension-targets.ts +5 -5
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge.d.ts +7 -1
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +7 -1
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +1 -1
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -1
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -7
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -1
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -20
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -1
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +1 -1
- package/src/surfaces/checkout/components/TextField.d.ts +7 -1
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/src/surfaces/checkout/components/components.d.ts +252 -24
- package/src/surfaces/checkout/extension-targets.ts +63 -62
- package/src/surfaces/checkout/shared.ts +15 -8
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +2 -2
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +5 -11
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -2
- package/build/ts/surfaces/admin/components/DropZone.d.ts +0 -160
- package/build/ts/surfaces/admin/components/Popover.d.ts +0 -379
- package/src/surfaces/admin/components/DropZone.d.ts +0 -160
- package/src/surfaces/admin/components/Popover.d.ts +0 -379
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/ui-extensions",
|
|
3
|
-
"version": "2025.10.0-rc.
|
|
3
|
+
"version": "2025.10.0-rc.44",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"docs:admin": "node ./docs/surfaces/admin/build-docs.mjs",
|
|
6
6
|
"docs:checkout": "bash ./docs/surfaces/checkout/build-docs.sh",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
],
|
|
128
128
|
"devDependencies": {
|
|
129
129
|
"@remote-ui/async-subscription": "^2.1.16",
|
|
130
|
-
"@shopify/generate-docs": "0.19.
|
|
130
|
+
"@shopify/generate-docs": "0.19.6",
|
|
131
131
|
"typescript": "^4.9.0",
|
|
132
132
|
"@faker-js/faker": "^8.4.1"
|
|
133
133
|
},
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {SharedReferenceEntityTemplateSchema} from '../docs-type';
|
|
2
|
+
|
|
3
|
+
const data: SharedReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'Announcement',
|
|
5
|
+
description:
|
|
6
|
+
'The Announcement component provides a less disruptive alternative to auto-open modals for capturing user attention. It provides a standardized way to engage users without being too intrusive.',
|
|
7
|
+
category: 'Polaris web components',
|
|
8
|
+
subCategory: 'Feedback',
|
|
9
|
+
related: [],
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default data;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type {SharedReferenceEntityTemplateSchema} from '../docs-type';
|
|
2
|
+
|
|
3
|
+
const data: SharedReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'FunctionSettings',
|
|
5
|
+
description:
|
|
6
|
+
'FunctionSettings should be used when configuring the metafield configuration of a Shopify Function. It provides a structure for various input fields and controls, such as text fields, checkboxes, and selections. It also integrates with the native Contextual Save Bar to handle form submission and reset actions.',
|
|
7
|
+
category: 'Polaris web components',
|
|
8
|
+
subCategory: 'Forms',
|
|
9
|
+
related: [
|
|
10
|
+
{
|
|
11
|
+
type: 'component',
|
|
12
|
+
name: 'TextField',
|
|
13
|
+
url: '/docs/api/admin-extensions/components/forms/textfield',
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
type: 'component',
|
|
17
|
+
name: 'NumberField',
|
|
18
|
+
url: '/docs/api/admin-extensions/components/forms/numberfield',
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: 'component',
|
|
22
|
+
name: 'ChoiceList',
|
|
23
|
+
url: '/docs/api/admin-extensions/components/forms/choicelist',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default data;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type {SharedReferenceEntityTemplateSchema} from '../docs-type';
|
|
2
|
+
|
|
3
|
+
const data: SharedReferenceEntityTemplateSchema = {
|
|
4
|
+
name: 'ScrollBox',
|
|
5
|
+
description:
|
|
6
|
+
'Provides a scrollable container for long content that exceeds the available space. Use to display lists, order summaries, or other lengthy content while maintaining a constrained layout.',
|
|
7
|
+
category: 'Polaris web components',
|
|
8
|
+
subCategory: 'Structure',
|
|
9
|
+
related: [],
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export default data;
|
|
@@ -4,9 +4,12 @@ export {default as Banner} from './Banner';
|
|
|
4
4
|
export {default as Box} from './Box';
|
|
5
5
|
export {default as Button} from './Button';
|
|
6
6
|
export {default as Checkbox} from './Checkbox';
|
|
7
|
+
export {default as Chip} from './Chip';
|
|
7
8
|
export {default as ChoiceList} from './ChoiceList';
|
|
8
9
|
export {default as Clickable} from './Clickable';
|
|
10
|
+
export {default as ClickableChip} from './ClickableChip';
|
|
9
11
|
export {default as ClipboardItem} from './ClipboardItem';
|
|
12
|
+
export {default as DateField} from './DateField';
|
|
10
13
|
export {default as DatePicker} from './DatePicker';
|
|
11
14
|
export {default as Details} from './Details';
|
|
12
15
|
export {default as Divider} from './Divider';
|
|
@@ -29,6 +32,7 @@ export {default as Popover} from './Popover';
|
|
|
29
32
|
export {default as PressButton} from './PressButton';
|
|
30
33
|
export {default as Progress} from './Progress';
|
|
31
34
|
export {default as QRCode} from './QRCode';
|
|
35
|
+
export {default as ScrollBox} from './ScrollBox';
|
|
32
36
|
export {default as SearchField} from './SearchField';
|
|
33
37
|
export {default as Section} from './Section';
|
|
34
38
|
export {default as Select} from './Select';
|
package/src/index.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
7
7
|
/// <reference lib="DOM" />
|
|
8
|
-
import type {
|
|
8
|
+
import type {ComponentChildren, AdminActionProps$1} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface AdminActionProps
|
|
11
11
|
extends Pick<AdminActionProps$1, 'heading' | 'loading'> {}
|
|
@@ -17,16 +17,16 @@ export interface AdminActionJSXProps
|
|
|
17
17
|
/**
|
|
18
18
|
* The primary action to display in the admin action.
|
|
19
19
|
*/
|
|
20
|
-
primaryAction:
|
|
20
|
+
primaryAction: ComponentChildren;
|
|
21
21
|
/**
|
|
22
22
|
* The secondary actions to display in the admin action.
|
|
23
23
|
*/
|
|
24
|
-
secondaryActions:
|
|
24
|
+
secondaryActions: ComponentChildren;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export type Styles = string;
|
|
28
28
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
29
|
-
ShadowRoot: (element: any) =>
|
|
29
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
30
30
|
styles?: Styles;
|
|
31
31
|
};
|
|
32
32
|
export interface ActivationEventEsque {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
7
7
|
/// <reference lib="DOM" />
|
|
8
|
-
import type {AdminBlockProps$1,
|
|
8
|
+
import type {AdminBlockProps$1, ComponentChildren} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface AdminBlockProps
|
|
11
11
|
extends Pick<AdminBlockProps$1, 'heading' | 'collapsedSummary'> {}
|
|
@@ -17,7 +17,7 @@ export interface AdminBlockJSXProps
|
|
|
17
17
|
|
|
18
18
|
export type Styles = string;
|
|
19
19
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
20
|
-
ShadowRoot: (element: any) =>
|
|
20
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
21
21
|
styles?: Styles;
|
|
22
22
|
};
|
|
23
23
|
export interface ActivationEventEsque {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
7
7
|
/// <reference lib="DOM" />
|
|
8
|
-
import type {AdminPrintActionProps$1,
|
|
8
|
+
import type {AdminPrintActionProps$1, ComponentChildren} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface AdminPrintActionProps
|
|
11
11
|
extends Pick<AdminPrintActionProps$1, 'src'> {}
|
|
@@ -17,7 +17,7 @@ export interface AdminPrintActionJSXProps
|
|
|
17
17
|
|
|
18
18
|
export type Styles = string;
|
|
19
19
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
20
|
-
ShadowRoot: (element: any) =>
|
|
20
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
21
21
|
styles?: Styles;
|
|
22
22
|
};
|
|
23
23
|
export interface ActivationEventEsque {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {AvatarProps$1,
|
|
9
|
+
import type {AvatarProps$1, ComponentChildren} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface AvatarProps
|
|
12
12
|
extends Required<Pick<AvatarProps$1, 'initials' | 'src' | 'alt' | 'size'>> {
|
|
@@ -18,7 +18,7 @@ export interface AvatarProps
|
|
|
18
18
|
|
|
19
19
|
export type Styles = string;
|
|
20
20
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
21
|
-
ShadowRoot: (element: any) =>
|
|
21
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
22
22
|
styles?: Styles;
|
|
23
23
|
};
|
|
24
24
|
export interface ActivationEventEsque {
|
|
@@ -93,11 +93,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
93
93
|
/** Assigns this element to a parent's slot. */
|
|
94
94
|
slot?: Lowercase<string>;
|
|
95
95
|
}
|
|
96
|
-
/** Used when an element has children. */
|
|
97
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
98
|
-
extends PreactBaseElementProps<TClass> {
|
|
99
|
-
children?: preact.ComponentChildren;
|
|
100
|
-
}
|
|
101
96
|
|
|
102
97
|
declare class Avatar extends PreactCustomElement implements AvatarProps {
|
|
103
98
|
accessor initials: AvatarProps['initials'];
|
|
@@ -116,7 +111,7 @@ declare global {
|
|
|
116
111
|
declare module 'preact' {
|
|
117
112
|
namespace createElement.JSX {
|
|
118
113
|
interface IntrinsicElements {
|
|
119
|
-
[tagName]: AvatarJSXProps &
|
|
114
|
+
[tagName]: AvatarJSXProps & PreactBaseElementProps<Avatar>;
|
|
120
115
|
}
|
|
121
116
|
}
|
|
122
117
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
9
|
import type {
|
|
10
|
+
ComponentChildren,
|
|
10
11
|
IconProps$1,
|
|
11
12
|
BadgeProps$1,
|
|
12
13
|
IconType,
|
|
13
|
-
ComponentChild,
|
|
14
14
|
} from './shared.d.ts';
|
|
15
15
|
|
|
16
16
|
export interface IconProps
|
|
@@ -43,7 +43,7 @@ export interface BadgeProps
|
|
|
43
43
|
|
|
44
44
|
export type Styles = string;
|
|
45
45
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
46
|
-
ShadowRoot: (element: any) =>
|
|
46
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
47
47
|
styles?: Styles;
|
|
48
48
|
};
|
|
49
49
|
export interface ActivationEventEsque {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,19 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {
|
|
10
|
-
|
|
11
|
-
export type RequiredBannerProps = Required<BannerProps$1>;
|
|
12
|
-
export interface BannerProps
|
|
13
|
-
extends Pick<
|
|
14
|
-
RequiredBannerProps,
|
|
15
|
-
'heading' | 'dismissible' | 'hidden' | 'tone'
|
|
16
|
-
> {
|
|
17
|
-
tone: Extract<
|
|
18
|
-
RequiredBannerProps['tone'],
|
|
19
|
-
'auto' | 'critical' | 'warning' | 'success' | 'info'
|
|
20
|
-
>;
|
|
21
|
-
}
|
|
9
|
+
import type {ComponentChildren, BannerProps$1} from './shared.d.ts';
|
|
22
10
|
|
|
23
11
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
24
12
|
currentTarget: HTMLElementTagNameMap[T];
|
|
@@ -43,9 +31,21 @@ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
|
43
31
|
children?: preact.ComponentChildren;
|
|
44
32
|
}
|
|
45
33
|
|
|
34
|
+
export type RequiredBannerProps = Required<BannerProps$1>;
|
|
35
|
+
export interface BannerProps
|
|
36
|
+
extends Pick<
|
|
37
|
+
RequiredBannerProps,
|
|
38
|
+
'heading' | 'dismissible' | 'hidden' | 'tone'
|
|
39
|
+
> {
|
|
40
|
+
tone: Extract<
|
|
41
|
+
RequiredBannerProps['tone'],
|
|
42
|
+
'auto' | 'critical' | 'warning' | 'success' | 'info'
|
|
43
|
+
>;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
46
|
export type Styles = string;
|
|
47
47
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
48
|
-
ShadowRoot: (element: any) =>
|
|
48
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
49
49
|
styles?: Styles;
|
|
50
50
|
};
|
|
51
51
|
export interface ActivationEventEsque {
|
|
@@ -131,11 +131,11 @@ export interface BannerJSXProps
|
|
|
131
131
|
extends Partial<BannerProps>,
|
|
132
132
|
Pick<BannerProps$1, 'id'> {
|
|
133
133
|
/**
|
|
134
|
-
* The secondary actions to display at the bottom of the
|
|
134
|
+
* The secondary actions to display at the bottom of the Banner.
|
|
135
135
|
*
|
|
136
|
-
*
|
|
136
|
+
* Only Buttons with the `variant` of "secondary" or "auto" are permitted. A maximum of two `s-button` components are allowed.
|
|
137
137
|
*/
|
|
138
|
-
secondaryActions?:
|
|
138
|
+
secondaryActions?: ComponentChildren;
|
|
139
139
|
onDismiss?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
140
140
|
onAfterHide?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
141
141
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
7
7
|
/// <reference lib="DOM" />
|
|
8
8
|
import type {
|
|
9
|
+
ComponentChildren,
|
|
9
10
|
BoxProps$1,
|
|
10
11
|
MaybeAllValuesShorthandProperty,
|
|
12
|
+
SizeUnitsOrAuto,
|
|
11
13
|
SizeUnits,
|
|
12
|
-
|
|
14
|
+
SizeUnitsOrNone,
|
|
13
15
|
} from './shared.d.ts';
|
|
14
16
|
|
|
15
17
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
@@ -80,10 +82,20 @@ export interface BoxProps
|
|
|
80
82
|
| 'minInlineSize'
|
|
81
83
|
| 'overflow'
|
|
82
84
|
> {
|
|
85
|
+
/**
|
|
86
|
+
* Adjust the background of the component.
|
|
87
|
+
*
|
|
88
|
+
* @default 'transparent'
|
|
89
|
+
*/
|
|
83
90
|
background: Extract<
|
|
84
91
|
RequiredBoxProps['background'],
|
|
85
92
|
'transparent' | 'base' | 'subdued' | 'strong'
|
|
86
93
|
>;
|
|
94
|
+
/**
|
|
95
|
+
* Adjust the width of the border.
|
|
96
|
+
*
|
|
97
|
+
* @default '' - meaning no override
|
|
98
|
+
*/
|
|
87
99
|
borderWidth:
|
|
88
100
|
| MaybeAllValuesShorthandProperty<
|
|
89
101
|
Extract<
|
|
@@ -92,13 +104,28 @@ export interface BoxProps
|
|
|
92
104
|
>
|
|
93
105
|
>
|
|
94
106
|
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
107
|
+
/**
|
|
108
|
+
* Adjust the style of the border.
|
|
109
|
+
*
|
|
110
|
+
* @default '' - meaning no override
|
|
111
|
+
*/
|
|
95
112
|
borderStyle:
|
|
96
113
|
| MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
97
114
|
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
115
|
+
/**
|
|
116
|
+
* Adjust the color of the border.
|
|
117
|
+
*
|
|
118
|
+
* @default '' - meaning no override
|
|
119
|
+
*/
|
|
98
120
|
borderColor: Extract<
|
|
99
121
|
RequiredBoxProps['borderColor'],
|
|
100
122
|
'subdued' | 'base' | 'strong' | ''
|
|
101
123
|
>;
|
|
124
|
+
/**
|
|
125
|
+
* Adjust the radius of the border.
|
|
126
|
+
*
|
|
127
|
+
* @default 'none'
|
|
128
|
+
*/
|
|
102
129
|
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
103
130
|
/**
|
|
104
131
|
* Adjust the padding of all edges.
|
|
@@ -195,17 +222,47 @@ export interface BoxProps
|
|
|
195
222
|
* @default 'auto'
|
|
196
223
|
*/
|
|
197
224
|
display: ResponsiveBoxProps['display'];
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
225
|
+
/**
|
|
226
|
+
* Adjust the [block size](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
227
|
+
*
|
|
228
|
+
* @default 'auto'
|
|
229
|
+
*/
|
|
230
|
+
blockSize: SizeUnitsOrAuto;
|
|
231
|
+
/**
|
|
232
|
+
* Adjust the [minimum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
|
|
233
|
+
*
|
|
234
|
+
* @default '0'
|
|
235
|
+
*/
|
|
236
|
+
minBlockSize: SizeUnits;
|
|
237
|
+
/**
|
|
238
|
+
* Adjust the [maximum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
|
|
239
|
+
*
|
|
240
|
+
* @default 'none'
|
|
241
|
+
*/
|
|
242
|
+
maxBlockSize: SizeUnitsOrNone;
|
|
243
|
+
/**
|
|
244
|
+
* Adjust the [inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
245
|
+
*
|
|
246
|
+
* @default 'auto'
|
|
247
|
+
*/
|
|
248
|
+
inlineSize: SizeUnitsOrAuto;
|
|
249
|
+
/**
|
|
250
|
+
* Adjust the [minimum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
|
|
251
|
+
*
|
|
252
|
+
* @default '0'
|
|
253
|
+
*/
|
|
254
|
+
minInlineSize: SizeUnits;
|
|
255
|
+
/**
|
|
256
|
+
* Adjust the [maximum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
|
|
257
|
+
*
|
|
258
|
+
* @default 'none'
|
|
259
|
+
*/
|
|
260
|
+
maxInlineSize: SizeUnitsOrNone;
|
|
204
261
|
}
|
|
205
262
|
|
|
206
263
|
export type Styles = string;
|
|
207
264
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
208
|
-
ShadowRoot: (element: any) =>
|
|
265
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
209
266
|
styles?: Styles;
|
|
210
267
|
};
|
|
211
268
|
export interface ActivationEventEsque {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -7,13 +7,36 @@
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
9
|
import type {
|
|
10
|
+
ComponentChildren,
|
|
10
11
|
IconProps$1,
|
|
11
12
|
ButtonProps$1,
|
|
12
13
|
IconType,
|
|
13
14
|
InteractionProps,
|
|
14
|
-
ComponentChild,
|
|
15
15
|
} from './shared.d.ts';
|
|
16
16
|
|
|
17
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
18
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
19
|
+
};
|
|
20
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
21
|
+
| (EventListener & {
|
|
22
|
+
(event: CallbackEvent<T>): void;
|
|
23
|
+
})
|
|
24
|
+
| null;
|
|
25
|
+
/** Used when an element does not have children. */
|
|
26
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
27
|
+
/** Assigns a unique key to this element. */
|
|
28
|
+
key?: preact.Key;
|
|
29
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
30
|
+
ref?: preact.Ref<TClass>;
|
|
31
|
+
/** Assigns this element to a parent's slot. */
|
|
32
|
+
slot?: Lowercase<string>;
|
|
33
|
+
}
|
|
34
|
+
/** Used when an element has children. */
|
|
35
|
+
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
36
|
+
extends PreactBaseElementProps<TClass> {
|
|
37
|
+
children?: preact.ComponentChildren;
|
|
38
|
+
}
|
|
39
|
+
|
|
17
40
|
export interface IconProps
|
|
18
41
|
extends Pick<
|
|
19
42
|
IconProps$1,
|
|
@@ -61,32 +84,9 @@ export interface ButtonProps extends ButtonBaseProps {
|
|
|
61
84
|
icon: IconProps['type'];
|
|
62
85
|
}
|
|
63
86
|
|
|
64
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
65
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
66
|
-
};
|
|
67
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
68
|
-
| (EventListener & {
|
|
69
|
-
(event: CallbackEvent<T>): void;
|
|
70
|
-
})
|
|
71
|
-
| null;
|
|
72
|
-
/** Used when an element does not have children. */
|
|
73
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
74
|
-
/** Assigns a unique key to this element. */
|
|
75
|
-
key?: preact.Key;
|
|
76
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
77
|
-
ref?: preact.Ref<TClass>;
|
|
78
|
-
/** Assigns this element to a parent's slot. */
|
|
79
|
-
slot?: Lowercase<string>;
|
|
80
|
-
}
|
|
81
|
-
/** Used when an element has children. */
|
|
82
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
83
|
-
extends PreactBaseElementProps<TClass> {
|
|
84
|
-
children?: preact.ComponentChildren;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
87
|
export type Styles = string;
|
|
88
88
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
89
|
-
ShadowRoot: (element: any) =>
|
|
89
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
90
90
|
styles?: Styles;
|
|
91
91
|
};
|
|
92
92
|
export interface ActivationEventEsque {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {ButtonGroupProps$1
|
|
9
|
+
import type {ComponentChildren, ButtonGroupProps$1} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface ButtonGroupProps
|
|
12
12
|
extends Required<Pick<ButtonGroupProps$1, 'gap' | 'accessibilityLabel'>> {}
|
|
13
13
|
|
|
14
14
|
export type Styles = string;
|
|
15
15
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
16
|
-
ShadowRoot: (element: any) =>
|
|
16
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
17
17
|
styles?: Styles;
|
|
18
18
|
};
|
|
19
19
|
export interface ActivationEventEsque {
|
|
@@ -102,7 +102,10 @@ declare global {
|
|
|
102
102
|
declare module 'preact' {
|
|
103
103
|
namespace createElement.JSX {
|
|
104
104
|
interface IntrinsicElements {
|
|
105
|
-
[tagName]:
|
|
105
|
+
[tagName]: Omit<
|
|
106
|
+
ButtonGroupJSXProps,
|
|
107
|
+
'primaryAction' | 'secondaryActions'
|
|
108
|
+
> &
|
|
106
109
|
PreactBaseElementPropsWithChildren<ButtonGroup>;
|
|
107
110
|
}
|
|
108
111
|
}
|
|
@@ -117,12 +120,12 @@ export interface ButtonGroupJSXProps
|
|
|
117
120
|
* Accepts a single Button element with a `variant` of `primary`.
|
|
118
121
|
* Cannot be used when gap="none".
|
|
119
122
|
*/
|
|
120
|
-
primaryAction?:
|
|
123
|
+
primaryAction?: ComponentChildren;
|
|
121
124
|
/**
|
|
122
125
|
* Secondary action buttons for the group.
|
|
123
126
|
* Accepts Button elements with a `variant` of `secondary` or `auto`.
|
|
124
127
|
*/
|
|
125
|
-
secondaryActions?:
|
|
128
|
+
secondaryActions?: ComponentChildren;
|
|
126
129
|
}
|
|
127
130
|
|
|
128
131
|
export {ButtonGroup};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -9,12 +9,30 @@
|
|
|
9
9
|
import type {
|
|
10
10
|
TextFieldProps,
|
|
11
11
|
CheckboxProps$1,
|
|
12
|
-
|
|
12
|
+
ComponentChildren,
|
|
13
13
|
} from './shared.d.ts';
|
|
14
14
|
|
|
15
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
16
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
17
|
+
};
|
|
18
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
19
|
+
| (EventListener & {
|
|
20
|
+
(event: CallbackEvent<T>): void;
|
|
21
|
+
})
|
|
22
|
+
| null;
|
|
23
|
+
/** Used when an element does not have children. */
|
|
24
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
25
|
+
/** Assigns a unique key to this element. */
|
|
26
|
+
key?: preact.Key;
|
|
27
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
28
|
+
ref?: preact.Ref<TClass>;
|
|
29
|
+
/** Assigns this element to a parent's slot. */
|
|
30
|
+
slot?: Lowercase<string>;
|
|
31
|
+
}
|
|
32
|
+
|
|
15
33
|
export type Styles = string;
|
|
16
34
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
17
|
-
ShadowRoot: (element: any) =>
|
|
35
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
18
36
|
styles?: Styles;
|
|
19
37
|
};
|
|
20
38
|
export interface ActivationEventEsque {
|
|
@@ -72,29 +90,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
72
90
|
click({sourceEvent}?: ClickOptions): void;
|
|
73
91
|
}
|
|
74
92
|
|
|
75
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
76
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
77
|
-
};
|
|
78
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
79
|
-
| (EventListener & {
|
|
80
|
-
(event: CallbackEvent<T>): void;
|
|
81
|
-
})
|
|
82
|
-
| null;
|
|
83
|
-
/** Used when an element does not have children. */
|
|
84
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
85
|
-
/** Assigns a unique key to this element. */
|
|
86
|
-
key?: preact.Key;
|
|
87
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
88
|
-
ref?: preact.Ref<TClass>;
|
|
89
|
-
/** Assigns this element to a parent's slot. */
|
|
90
|
-
slot?: Lowercase<string>;
|
|
91
|
-
}
|
|
92
|
-
/** Used when an element has children. */
|
|
93
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
94
|
-
extends PreactBaseElementProps<TClass> {
|
|
95
|
-
children?: preact.ComponentChildren;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
93
|
declare const internals: unique symbol;
|
|
99
94
|
export type PreactInputProps = Required<
|
|
100
95
|
Pick<TextFieldProps, 'disabled' | 'id' | 'name' | 'value'>
|
|
@@ -175,8 +170,7 @@ declare global {
|
|
|
175
170
|
declare module 'preact' {
|
|
176
171
|
namespace createElement.JSX {
|
|
177
172
|
interface IntrinsicElements {
|
|
178
|
-
[tagName]: CheckboxJSXProps &
|
|
179
|
-
PreactBaseElementPropsWithChildren<Checkbox>;
|
|
173
|
+
[tagName]: CheckboxJSXProps & PreactBaseElementProps<Checkbox>;
|
|
180
174
|
}
|
|
181
175
|
}
|
|
182
176
|
}
|