@shopify/ui-extensions 2025.10.0-rc.42 → 2025.10.0-rc.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/shared.js +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +1 -1
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/index.d.ts +4 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar.d.ts +4 -9
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Banner.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +26 -26
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -4
- package/build/ts/surfaces/admin/components/Choice.d.ts +6 -11
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +89 -32
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -3
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/build/ts/surfaces/admin/components/DateField.d.ts +12 -12
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Form.d.ts +7 -3
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +119 -12
- package/build/ts/surfaces/admin/components/GridItem.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +84 -27
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +22 -22
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Modal.d.ts +16 -16
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/build/ts/surfaces/admin/components/NumberField.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +14 -9
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +83 -9
- package/build/ts/surfaces/admin/components/Switch.d.ts +21 -21
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +4 -4
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -27
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -28
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/shared.d.ts +2 -2
- package/build/ts/surfaces/admin/extension-targets.d.ts +5 -5
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -1
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/components.d.ts +252 -24
- package/build/ts/surfaces/checkout/extension-targets.d.ts +61 -61
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +6 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout.d.ts +1 -0
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/components.d.ts +252 -24
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/index.ts +4 -0
- package/src/index.ts +1 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar.d.ts +4 -9
- package/src/surfaces/admin/components/Badge.d.ts +3 -3
- package/src/surfaces/admin/components/Banner.d.ts +18 -18
- package/src/surfaces/admin/components/Box.d.ts +66 -9
- package/src/surfaces/admin/components/Button.d.ts +26 -26
- package/src/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/src/surfaces/admin/components/Chip.d.ts +4 -4
- package/src/surfaces/admin/components/Choice.d.ts +6 -11
- package/src/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/src/surfaces/admin/components/Clickable.d.ts +89 -32
- package/src/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/src/surfaces/admin/components/ColorField.d.ts +3 -3
- package/src/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/src/surfaces/admin/components/DateField.d.ts +12 -12
- package/src/surfaces/admin/components/DatePicker.d.ts +3 -3
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/EmailField.d.ts +27 -27
- package/src/surfaces/admin/components/Form.d.ts +7 -3
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +119 -12
- package/src/surfaces/admin/components/GridItem.d.ts +66 -9
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +3 -3
- package/src/surfaces/admin/components/Image.d.ts +84 -27
- package/src/surfaces/admin/components/Link.d.ts +22 -22
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu.d.ts +3 -3
- package/src/surfaces/admin/components/Modal.d.ts +16 -16
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/src/surfaces/admin/components/NumberField.d.ts +29 -27
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page.d.ts +14 -9
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -27
- package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/src/surfaces/admin/components/SearchField.d.ts +27 -27
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select.d.ts +29 -27
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +83 -9
- package/src/surfaces/admin/components/Switch.d.ts +21 -21
- package/src/surfaces/admin/components/Table.d.ts +4 -4
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/src/surfaces/admin/components/TableRow.d.ts +3 -3
- package/src/surfaces/admin/components/Text.d.ts +3 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -27
- package/src/surfaces/admin/components/TextField.d.ts +28 -28
- package/src/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/src/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/src/surfaces/admin/components/URLField.d.ts +27 -27
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
- package/src/surfaces/admin/components/shared.d.ts +2 -2
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +655 -105
- package/src/surfaces/admin/extension-targets.ts +5 -5
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge.d.ts +7 -1
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +7 -1
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +1 -1
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -1
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -7
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -1
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -20
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -1
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +1 -1
- package/src/surfaces/checkout/components/TextField.d.ts +7 -1
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/src/surfaces/checkout/components/components.d.ts +252 -24
- package/src/surfaces/checkout/extension-targets.ts +63 -62
- package/src/surfaces/checkout/shared.ts +15 -8
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +2 -2
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +5 -11
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -2
- package/build/ts/surfaces/admin/components/DropZone.d.ts +0 -160
- package/build/ts/surfaces/admin/components/Popover.d.ts +0 -379
- package/src/surfaces/admin/components/DropZone.d.ts +0 -160
- package/src/surfaces/admin/components/Popover.d.ts +0 -379
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import type {
|
|
9
9
|
FunctionSettingsProps$1,
|
|
10
10
|
ExtendableEvent,
|
|
11
|
-
|
|
11
|
+
ComponentChildren,
|
|
12
12
|
} from './shared.d.ts';
|
|
13
13
|
|
|
14
14
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
@@ -68,7 +68,7 @@ export interface FunctionSettingsJSXProps
|
|
|
68
68
|
|
|
69
69
|
export type Styles = string;
|
|
70
70
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
71
|
-
ShadowRoot: (element: any) =>
|
|
71
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
72
72
|
styles?: Styles;
|
|
73
73
|
};
|
|
74
74
|
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,15 +6,17 @@
|
|
|
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
|
GridProps$1,
|
|
11
12
|
MaybeAllValuesShorthandProperty,
|
|
13
|
+
SizeUnitsOrAuto,
|
|
12
14
|
SizeUnits,
|
|
15
|
+
SizeUnitsOrNone,
|
|
13
16
|
AlignItemsKeyword,
|
|
14
17
|
JustifyItemsKeyword,
|
|
15
18
|
AlignContentKeyword,
|
|
16
19
|
JustifyContentKeyword,
|
|
17
|
-
ComponentChild,
|
|
18
20
|
} from './shared.d.ts';
|
|
19
21
|
|
|
20
22
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
@@ -85,10 +87,20 @@ export interface BoxProps
|
|
|
85
87
|
| 'minInlineSize'
|
|
86
88
|
| 'overflow'
|
|
87
89
|
> {
|
|
90
|
+
/**
|
|
91
|
+
* Adjust the background of the component.
|
|
92
|
+
*
|
|
93
|
+
* @default 'transparent'
|
|
94
|
+
*/
|
|
88
95
|
background: Extract<
|
|
89
96
|
RequiredBoxProps['background'],
|
|
90
97
|
'transparent' | 'base' | 'subdued' | 'strong'
|
|
91
98
|
>;
|
|
99
|
+
/**
|
|
100
|
+
* Adjust the width of the border.
|
|
101
|
+
*
|
|
102
|
+
* @default '' - meaning no override
|
|
103
|
+
*/
|
|
92
104
|
borderWidth:
|
|
93
105
|
| MaybeAllValuesShorthandProperty<
|
|
94
106
|
Extract<
|
|
@@ -97,13 +109,28 @@ export interface BoxProps
|
|
|
97
109
|
>
|
|
98
110
|
>
|
|
99
111
|
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
112
|
+
/**
|
|
113
|
+
* Adjust the style of the border.
|
|
114
|
+
*
|
|
115
|
+
* @default '' - meaning no override
|
|
116
|
+
*/
|
|
100
117
|
borderStyle:
|
|
101
118
|
| MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
102
119
|
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
120
|
+
/**
|
|
121
|
+
* Adjust the color of the border.
|
|
122
|
+
*
|
|
123
|
+
* @default '' - meaning no override
|
|
124
|
+
*/
|
|
103
125
|
borderColor: Extract<
|
|
104
126
|
RequiredBoxProps['borderColor'],
|
|
105
127
|
'subdued' | 'base' | 'strong' | ''
|
|
106
128
|
>;
|
|
129
|
+
/**
|
|
130
|
+
* Adjust the radius of the border.
|
|
131
|
+
*
|
|
132
|
+
* @default 'none'
|
|
133
|
+
*/
|
|
107
134
|
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
108
135
|
/**
|
|
109
136
|
* Adjust the padding of all edges.
|
|
@@ -200,26 +227,54 @@ export interface BoxProps
|
|
|
200
227
|
* @default 'auto'
|
|
201
228
|
*/
|
|
202
229
|
display: ResponsiveBoxProps['display'];
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
230
|
+
/**
|
|
231
|
+
* Adjust the [block size](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
232
|
+
*
|
|
233
|
+
* @default 'auto'
|
|
234
|
+
*/
|
|
235
|
+
blockSize: SizeUnitsOrAuto;
|
|
236
|
+
/**
|
|
237
|
+
* Adjust the [minimum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
|
|
238
|
+
*
|
|
239
|
+
* @default '0'
|
|
240
|
+
*/
|
|
241
|
+
minBlockSize: SizeUnits;
|
|
242
|
+
/**
|
|
243
|
+
* Adjust the [maximum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
|
|
244
|
+
*
|
|
245
|
+
* @default 'none'
|
|
246
|
+
*/
|
|
247
|
+
maxBlockSize: SizeUnitsOrNone;
|
|
248
|
+
/**
|
|
249
|
+
* Adjust the [inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
250
|
+
*
|
|
251
|
+
* @default 'auto'
|
|
252
|
+
*/
|
|
253
|
+
inlineSize: SizeUnitsOrAuto;
|
|
254
|
+
/**
|
|
255
|
+
* Adjust the [minimum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
|
|
256
|
+
*
|
|
257
|
+
* @default '0'
|
|
258
|
+
*/
|
|
259
|
+
minInlineSize: SizeUnits;
|
|
260
|
+
/**
|
|
261
|
+
* Adjust the [maximum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
|
|
262
|
+
*
|
|
263
|
+
* @default 'none'
|
|
264
|
+
*/
|
|
265
|
+
maxInlineSize: SizeUnitsOrNone;
|
|
209
266
|
}
|
|
210
267
|
|
|
211
268
|
export type RequiredAlignedProps = Required<GridProps$1>;
|
|
212
269
|
export type ResponsiveGridProps = MakeResponsivePick<
|
|
213
270
|
RequiredAlignedProps,
|
|
214
|
-
'rowGap' | 'columnGap' | 'gap'
|
|
271
|
+
'rowGap' | 'columnGap' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows'
|
|
215
272
|
>;
|
|
216
273
|
export interface GridProps
|
|
217
274
|
extends BoxProps,
|
|
218
275
|
Required<
|
|
219
276
|
Pick<
|
|
220
277
|
GridProps$1,
|
|
221
|
-
| 'gridTemplateColumns'
|
|
222
|
-
| 'gridTemplateRows'
|
|
223
278
|
| 'alignItems'
|
|
224
279
|
| 'justifyItems'
|
|
225
280
|
| 'placeItems'
|
|
@@ -228,11 +283,45 @@ export interface GridProps
|
|
|
228
283
|
| 'placeContent'
|
|
229
284
|
>
|
|
230
285
|
> {
|
|
286
|
+
/**
|
|
287
|
+
* Aligns the grid items along the block axis.
|
|
288
|
+
*
|
|
289
|
+
* @default '' - meaning no override
|
|
290
|
+
*/
|
|
231
291
|
alignItems: AlignItemsKeyword | '';
|
|
292
|
+
/**
|
|
293
|
+
* Aligns the grid items along the inline axis.
|
|
294
|
+
*
|
|
295
|
+
* @default '' - meaning no override
|
|
296
|
+
*/
|
|
232
297
|
justifyItems: JustifyItemsKeyword | '';
|
|
298
|
+
/**
|
|
299
|
+
* A shorthand property for `justify-items` and `align-items`.
|
|
300
|
+
*
|
|
301
|
+
* @default 'normal normal'
|
|
302
|
+
*/
|
|
233
303
|
placeItems: `${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword;
|
|
304
|
+
/**
|
|
305
|
+
* Aligns the grid along the block axis.
|
|
306
|
+
*
|
|
307
|
+
* This overrides the block value of `placeContent`.
|
|
308
|
+
*
|
|
309
|
+
* @default '' - meaning no override
|
|
310
|
+
*/
|
|
234
311
|
alignContent: AlignContentKeyword | '';
|
|
312
|
+
/**
|
|
313
|
+
* Aligns the grid along the inline axis.
|
|
314
|
+
*
|
|
315
|
+
* This overrides the inline value of `placeContent`.
|
|
316
|
+
*
|
|
317
|
+
* @default '' - meaning no override
|
|
318
|
+
*/
|
|
235
319
|
justifyContent: JustifyContentKeyword | '';
|
|
320
|
+
/**
|
|
321
|
+
* A shorthand property for `justify-content` and `align-content`.
|
|
322
|
+
*
|
|
323
|
+
* @default 'normal normal'
|
|
324
|
+
*/
|
|
236
325
|
placeContent:
|
|
237
326
|
| `${AlignContentKeyword} ${JustifyContentKeyword}`
|
|
238
327
|
| AlignContentKeyword;
|
|
@@ -269,6 +358,24 @@ export interface GridProps
|
|
|
269
358
|
* @default '' - meaning no override
|
|
270
359
|
*/
|
|
271
360
|
columnGap: ResponsiveGridProps['columnGap'];
|
|
361
|
+
/**
|
|
362
|
+
* Define columns and specify their size.
|
|
363
|
+
* `gridTemplateColumns` either accepts:
|
|
364
|
+
* - [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (e.g. `1fr auto`)
|
|
365
|
+
* - OR [responsive values](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported track sizing values as a query value.
|
|
366
|
+
*
|
|
367
|
+
* @default 'none'
|
|
368
|
+
*/
|
|
369
|
+
gridTemplateColumns: ResponsiveGridProps['gridTemplateColumns'];
|
|
370
|
+
/**
|
|
371
|
+
* Define rows and specify their size.
|
|
372
|
+
* `gridTemplateRows` either accepts:
|
|
373
|
+
* - [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (e.g. `1fr auto`)
|
|
374
|
+
* - OR [responsive values](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported track sizing values as a query value.
|
|
375
|
+
*
|
|
376
|
+
* @default 'none'
|
|
377
|
+
*/
|
|
378
|
+
gridTemplateRows: ResponsiveGridProps['gridTemplateRows'];
|
|
272
379
|
}
|
|
273
380
|
|
|
274
381
|
/** Used when an element does not have children. */
|
|
@@ -288,7 +395,7 @@ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
|
288
395
|
|
|
289
396
|
export type Styles = string;
|
|
290
397
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
291
|
-
ShadowRoot: (element: any) =>
|
|
398
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
292
399
|
styles?: Styles;
|
|
293
400
|
};
|
|
294
401
|
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,11 +7,13 @@
|
|
|
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
|
BoxProps$1,
|
|
11
12
|
GridItemProps$1,
|
|
12
13
|
MaybeAllValuesShorthandProperty,
|
|
14
|
+
SizeUnitsOrAuto,
|
|
13
15
|
SizeUnits,
|
|
14
|
-
|
|
16
|
+
SizeUnitsOrNone,
|
|
15
17
|
} from './shared.d.ts';
|
|
16
18
|
|
|
17
19
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
@@ -82,10 +84,20 @@ export interface BoxProps
|
|
|
82
84
|
| 'minInlineSize'
|
|
83
85
|
| 'overflow'
|
|
84
86
|
> {
|
|
87
|
+
/**
|
|
88
|
+
* Adjust the background of the component.
|
|
89
|
+
*
|
|
90
|
+
* @default 'transparent'
|
|
91
|
+
*/
|
|
85
92
|
background: Extract<
|
|
86
93
|
RequiredBoxProps['background'],
|
|
87
94
|
'transparent' | 'base' | 'subdued' | 'strong'
|
|
88
95
|
>;
|
|
96
|
+
/**
|
|
97
|
+
* Adjust the width of the border.
|
|
98
|
+
*
|
|
99
|
+
* @default '' - meaning no override
|
|
100
|
+
*/
|
|
89
101
|
borderWidth:
|
|
90
102
|
| MaybeAllValuesShorthandProperty<
|
|
91
103
|
Extract<
|
|
@@ -94,13 +106,28 @@ export interface BoxProps
|
|
|
94
106
|
>
|
|
95
107
|
>
|
|
96
108
|
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
109
|
+
/**
|
|
110
|
+
* Adjust the style of the border.
|
|
111
|
+
*
|
|
112
|
+
* @default '' - meaning no override
|
|
113
|
+
*/
|
|
97
114
|
borderStyle:
|
|
98
115
|
| MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
99
116
|
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
117
|
+
/**
|
|
118
|
+
* Adjust the color of the border.
|
|
119
|
+
*
|
|
120
|
+
* @default '' - meaning no override
|
|
121
|
+
*/
|
|
100
122
|
borderColor: Extract<
|
|
101
123
|
RequiredBoxProps['borderColor'],
|
|
102
124
|
'subdued' | 'base' | 'strong' | ''
|
|
103
125
|
>;
|
|
126
|
+
/**
|
|
127
|
+
* Adjust the radius of the border.
|
|
128
|
+
*
|
|
129
|
+
* @default 'none'
|
|
130
|
+
*/
|
|
104
131
|
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
105
132
|
/**
|
|
106
133
|
* Adjust the padding of all edges.
|
|
@@ -197,12 +224,42 @@ export interface BoxProps
|
|
|
197
224
|
* @default 'auto'
|
|
198
225
|
*/
|
|
199
226
|
display: ResponsiveBoxProps['display'];
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
227
|
+
/**
|
|
228
|
+
* Adjust the [block size](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
229
|
+
*
|
|
230
|
+
* @default 'auto'
|
|
231
|
+
*/
|
|
232
|
+
blockSize: SizeUnitsOrAuto;
|
|
233
|
+
/**
|
|
234
|
+
* Adjust the [minimum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
|
|
235
|
+
*
|
|
236
|
+
* @default '0'
|
|
237
|
+
*/
|
|
238
|
+
minBlockSize: SizeUnits;
|
|
239
|
+
/**
|
|
240
|
+
* Adjust the [maximum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
|
|
241
|
+
*
|
|
242
|
+
* @default 'none'
|
|
243
|
+
*/
|
|
244
|
+
maxBlockSize: SizeUnitsOrNone;
|
|
245
|
+
/**
|
|
246
|
+
* Adjust the [inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
247
|
+
*
|
|
248
|
+
* @default 'auto'
|
|
249
|
+
*/
|
|
250
|
+
inlineSize: SizeUnitsOrAuto;
|
|
251
|
+
/**
|
|
252
|
+
* Adjust the [minimum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
|
|
253
|
+
*
|
|
254
|
+
* @default '0'
|
|
255
|
+
*/
|
|
256
|
+
minInlineSize: SizeUnits;
|
|
257
|
+
/**
|
|
258
|
+
* Adjust the [maximum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
|
|
259
|
+
*
|
|
260
|
+
* @default 'none'
|
|
261
|
+
*/
|
|
262
|
+
maxInlineSize: SizeUnitsOrNone;
|
|
206
263
|
}
|
|
207
264
|
|
|
208
265
|
export type RequiredGridItemProps = Required<GridItemProps$1>;
|
|
@@ -215,7 +272,7 @@ export interface GridItemProps
|
|
|
215
272
|
|
|
216
273
|
export type Styles = string;
|
|
217
274
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
218
|
-
ShadowRoot: (element: any) =>
|
|
275
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
219
276
|
styles?: Styles;
|
|
220
277
|
};
|
|
221
278
|
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 {HeadingProps$1
|
|
9
|
+
import type {ComponentChildren, HeadingProps$1} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export type RequiredHeadingProps = Required<HeadingProps$1>;
|
|
12
12
|
export interface HeadingProps
|
|
@@ -21,7 +21,7 @@ export interface HeadingProps
|
|
|
21
21
|
|
|
22
22
|
export type Styles = string;
|
|
23
23
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
24
|
-
ShadowRoot: (element: any) =>
|
|
24
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
25
25
|
styles?: Styles;
|
|
26
26
|
};
|
|
27
27
|
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 {IconProps$1, IconType,
|
|
9
|
+
import type {IconProps$1, IconType, ComponentChildren} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface IconProps
|
|
12
12
|
extends Pick<
|
|
@@ -27,7 +27,7 @@ export interface IconProps
|
|
|
27
27
|
|
|
28
28
|
export type Styles = string;
|
|
29
29
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
30
|
-
ShadowRoot: (element: any) =>
|
|
30
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
31
31
|
styles?: Styles;
|
|
32
32
|
};
|
|
33
33
|
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 */
|
|
@@ -10,10 +10,30 @@ import type {
|
|
|
10
10
|
BoxProps$1,
|
|
11
11
|
ImageProps$1,
|
|
12
12
|
MaybeAllValuesShorthandProperty,
|
|
13
|
+
SizeUnitsOrAuto,
|
|
13
14
|
SizeUnits,
|
|
14
|
-
|
|
15
|
+
SizeUnitsOrNone,
|
|
16
|
+
ComponentChildren,
|
|
15
17
|
} from './shared.d.ts';
|
|
16
18
|
|
|
19
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
20
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
21
|
+
};
|
|
22
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
23
|
+
| (EventListener & {
|
|
24
|
+
(event: CallbackEvent<T>): void;
|
|
25
|
+
})
|
|
26
|
+
| null;
|
|
27
|
+
/** Used when an element does not have children. */
|
|
28
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
29
|
+
/** Assigns a unique key to this element. */
|
|
30
|
+
key?: preact.Key;
|
|
31
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
32
|
+
ref?: preact.Ref<TClass>;
|
|
33
|
+
/** Assigns this element to a parent's slot. */
|
|
34
|
+
slot?: Lowercase<string>;
|
|
35
|
+
}
|
|
36
|
+
|
|
17
37
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
18
38
|
/**
|
|
19
39
|
* Makes a property's value potentially responsive.
|
|
@@ -82,10 +102,20 @@ export interface BoxProps
|
|
|
82
102
|
| 'minInlineSize'
|
|
83
103
|
| 'overflow'
|
|
84
104
|
> {
|
|
105
|
+
/**
|
|
106
|
+
* Adjust the background of the component.
|
|
107
|
+
*
|
|
108
|
+
* @default 'transparent'
|
|
109
|
+
*/
|
|
85
110
|
background: Extract<
|
|
86
111
|
RequiredBoxProps['background'],
|
|
87
112
|
'transparent' | 'base' | 'subdued' | 'strong'
|
|
88
113
|
>;
|
|
114
|
+
/**
|
|
115
|
+
* Adjust the width of the border.
|
|
116
|
+
*
|
|
117
|
+
* @default '' - meaning no override
|
|
118
|
+
*/
|
|
89
119
|
borderWidth:
|
|
90
120
|
| MaybeAllValuesShorthandProperty<
|
|
91
121
|
Extract<
|
|
@@ -94,13 +124,28 @@ export interface BoxProps
|
|
|
94
124
|
>
|
|
95
125
|
>
|
|
96
126
|
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
127
|
+
/**
|
|
128
|
+
* Adjust the style of the border.
|
|
129
|
+
*
|
|
130
|
+
* @default '' - meaning no override
|
|
131
|
+
*/
|
|
97
132
|
borderStyle:
|
|
98
133
|
| MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
99
134
|
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
135
|
+
/**
|
|
136
|
+
* Adjust the color of the border.
|
|
137
|
+
*
|
|
138
|
+
* @default '' - meaning no override
|
|
139
|
+
*/
|
|
100
140
|
borderColor: Extract<
|
|
101
141
|
RequiredBoxProps['borderColor'],
|
|
102
142
|
'subdued' | 'base' | 'strong' | ''
|
|
103
143
|
>;
|
|
144
|
+
/**
|
|
145
|
+
* Adjust the radius of the border.
|
|
146
|
+
*
|
|
147
|
+
* @default 'none'
|
|
148
|
+
*/
|
|
104
149
|
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
105
150
|
/**
|
|
106
151
|
* Adjust the padding of all edges.
|
|
@@ -197,12 +242,42 @@ export interface BoxProps
|
|
|
197
242
|
* @default 'auto'
|
|
198
243
|
*/
|
|
199
244
|
display: ResponsiveBoxProps['display'];
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
245
|
+
/**
|
|
246
|
+
* Adjust the [block size](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
247
|
+
*
|
|
248
|
+
* @default 'auto'
|
|
249
|
+
*/
|
|
250
|
+
blockSize: SizeUnitsOrAuto;
|
|
251
|
+
/**
|
|
252
|
+
* Adjust the [minimum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
|
|
253
|
+
*
|
|
254
|
+
* @default '0'
|
|
255
|
+
*/
|
|
256
|
+
minBlockSize: SizeUnits;
|
|
257
|
+
/**
|
|
258
|
+
* Adjust the [maximum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
|
|
259
|
+
*
|
|
260
|
+
* @default 'none'
|
|
261
|
+
*/
|
|
262
|
+
maxBlockSize: SizeUnitsOrNone;
|
|
263
|
+
/**
|
|
264
|
+
* Adjust the [inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
265
|
+
*
|
|
266
|
+
* @default 'auto'
|
|
267
|
+
*/
|
|
268
|
+
inlineSize: SizeUnitsOrAuto;
|
|
269
|
+
/**
|
|
270
|
+
* Adjust the [minimum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
|
|
271
|
+
*
|
|
272
|
+
* @default '0'
|
|
273
|
+
*/
|
|
274
|
+
minInlineSize: SizeUnits;
|
|
275
|
+
/**
|
|
276
|
+
* Adjust the [maximum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
|
|
277
|
+
*
|
|
278
|
+
* @default 'none'
|
|
279
|
+
*/
|
|
280
|
+
maxInlineSize: SizeUnitsOrNone;
|
|
206
281
|
}
|
|
207
282
|
|
|
208
283
|
export interface ImageProps
|
|
@@ -231,27 +306,9 @@ export interface ImageProps
|
|
|
231
306
|
>
|
|
232
307
|
> {}
|
|
233
308
|
|
|
234
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
235
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
236
|
-
};
|
|
237
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
238
|
-
| (EventListener & {
|
|
239
|
-
(event: CallbackEvent<T>): void;
|
|
240
|
-
})
|
|
241
|
-
| null;
|
|
242
|
-
/** Used when an element does not have children. */
|
|
243
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
244
|
-
/** Assigns a unique key to this element. */
|
|
245
|
-
key?: preact.Key;
|
|
246
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
247
|
-
ref?: preact.Ref<TClass>;
|
|
248
|
-
/** Assigns this element to a parent's slot. */
|
|
249
|
-
slot?: Lowercase<string>;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
309
|
export type Styles = string;
|
|
253
310
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
254
|
-
ShadowRoot: (element: any) =>
|
|
311
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
255
312
|
styles?: Styles;
|
|
256
313
|
};
|
|
257
314
|
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,30 +7,11 @@
|
|
|
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
|
LinkProps$1,
|
|
11
12
|
InteractionProps,
|
|
12
|
-
ComponentChild,
|
|
13
13
|
} from './shared.d.ts';
|
|
14
14
|
|
|
15
|
-
export type RequiredLinkProps = Required<LinkProps$1>;
|
|
16
|
-
export type LinkBaseProps = Required<
|
|
17
|
-
Pick<
|
|
18
|
-
LinkProps$1,
|
|
19
|
-
| 'accessibilityLabel'
|
|
20
|
-
| 'command'
|
|
21
|
-
| 'commandFor'
|
|
22
|
-
| 'interestFor'
|
|
23
|
-
| 'download'
|
|
24
|
-
| 'href'
|
|
25
|
-
| 'lang'
|
|
26
|
-
| 'target'
|
|
27
|
-
| 'tone'
|
|
28
|
-
>
|
|
29
|
-
>;
|
|
30
|
-
export interface LinkProps extends LinkBaseProps {
|
|
31
|
-
tone: Extract<RequiredLinkProps['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
15
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
35
16
|
currentTarget: HTMLElementTagNameMap[T];
|
|
36
17
|
};
|
|
@@ -54,9 +35,28 @@ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
|
54
35
|
children?: preact.ComponentChildren;
|
|
55
36
|
}
|
|
56
37
|
|
|
38
|
+
export type RequiredLinkProps = Required<LinkProps$1>;
|
|
39
|
+
export type LinkBaseProps = Required<
|
|
40
|
+
Pick<
|
|
41
|
+
LinkProps$1,
|
|
42
|
+
| 'accessibilityLabel'
|
|
43
|
+
| 'command'
|
|
44
|
+
| 'commandFor'
|
|
45
|
+
| 'interestFor'
|
|
46
|
+
| 'download'
|
|
47
|
+
| 'href'
|
|
48
|
+
| 'lang'
|
|
49
|
+
| 'target'
|
|
50
|
+
| 'tone'
|
|
51
|
+
>
|
|
52
|
+
>;
|
|
53
|
+
export interface LinkProps extends LinkBaseProps {
|
|
54
|
+
tone: Extract<RequiredLinkProps['tone'], 'auto' | 'neutral' | 'critical'>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
57
|
export type Styles = string;
|
|
58
58
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
59
|
-
ShadowRoot: (element: any) =>
|
|
59
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
60
60
|
styles?: Styles;
|
|
61
61
|
};
|
|
62
62
|
export interface ActivationEventEsque {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
7
7
|
/// <reference lib="DOM" />
|
|
8
|
-
import type {ListItemProps$1
|
|
8
|
+
import type {ComponentChildren, ListItemProps$1} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface ListItemProps extends ListItemProps$1 {}
|
|
11
11
|
|
|
12
12
|
export type Styles = string;
|
|
13
13
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
14
|
-
ShadowRoot: (element: any) =>
|
|
14
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
15
15
|
styles?: Styles;
|
|
16
16
|
};
|
|
17
17
|
export interface ActivationEventEsque {
|