@shopify/ui-extensions 2025.10.0-rc.42 → 2025.10.0-rc.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/shared.js +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +1 -1
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/index.d.ts +4 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Banner.d.ts +18 -24
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +21 -27
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +6 -13
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +21 -28
- package/build/ts/surfaces/admin/components/Chip.d.ts +5 -11
- package/build/ts/surfaces/admin/components/Choice.d.ts +5 -17
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +19 -26
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +21 -28
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +18 -24
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -4
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/build/ts/surfaces/admin/components/DateField.d.ts +12 -12
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -4
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Form.d.ts +7 -3
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +4 -10
- package/build/ts/surfaces/admin/components/GridItem.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Icon.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Image.d.ts +20 -21
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +21 -27
- package/build/ts/surfaces/admin/components/ListItem.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Modal.d.ts +15 -15
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +29 -29
- package/build/ts/surfaces/admin/components/NumberField.d.ts +28 -27
- package/build/ts/surfaces/admin/components/Option.d.ts +7 -11
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +7 -12
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Page.d.ts +11 -16
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +4 -11
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/build/ts/surfaces/admin/components/SearchField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +24 -28
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -4
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +4 -10
- package/build/ts/surfaces/admin/components/Switch.d.ts +20 -21
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +5 -12
- package/build/ts/surfaces/admin/components/TableBody.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableCell.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +4 -11
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
- package/build/ts/surfaces/admin/components/TableRow.d.ts +4 -11
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +4 -10
- package/build/ts/surfaces/admin/components/TextArea.d.ts +26 -27
- package/build/ts/surfaces/admin/components/TextField.d.ts +27 -28
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -12
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +4 -10
- package/build/ts/surfaces/admin/components/URLField.d.ts +26 -27
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +4 -11
- package/build/ts/surfaces/admin/components/shared.d.ts +24 -7
- 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 +1 -1
- 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 -10
- package/src/surfaces/admin/components/Badge.d.ts +4 -10
- package/src/surfaces/admin/components/Banner.d.ts +18 -24
- package/src/surfaces/admin/components/Box.d.ts +4 -10
- package/src/surfaces/admin/components/Button.d.ts +21 -27
- package/src/surfaces/admin/components/ButtonGroup.d.ts +6 -13
- package/src/surfaces/admin/components/Checkbox.d.ts +21 -28
- package/src/surfaces/admin/components/Chip.d.ts +5 -11
- package/src/surfaces/admin/components/Choice.d.ts +5 -17
- package/src/surfaces/admin/components/ChoiceList.d.ts +19 -26
- package/src/surfaces/admin/components/Clickable.d.ts +21 -28
- package/src/surfaces/admin/components/ClickableChip.d.ts +18 -24
- package/src/surfaces/admin/components/ColorField.d.ts +3 -4
- package/src/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/src/surfaces/admin/components/DateField.d.ts +12 -12
- package/src/surfaces/admin/components/DatePicker.d.ts +3 -4
- package/src/surfaces/admin/components/Divider.d.ts +3 -4
- package/src/surfaces/admin/components/EmailField.d.ts +26 -27
- package/src/surfaces/admin/components/Form.d.ts +7 -3
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +4 -10
- package/src/surfaces/admin/components/GridItem.d.ts +4 -11
- package/src/surfaces/admin/components/Heading.d.ts +4 -10
- package/src/surfaces/admin/components/Icon.d.ts +3 -4
- package/src/surfaces/admin/components/Image.d.ts +20 -21
- package/src/surfaces/admin/components/Link.d.ts +21 -27
- package/src/surfaces/admin/components/ListItem.d.ts +4 -11
- package/src/surfaces/admin/components/Menu.d.ts +3 -3
- package/src/surfaces/admin/components/Modal.d.ts +15 -15
- package/src/surfaces/admin/components/MoneyField.d.ts +29 -29
- package/src/surfaces/admin/components/NumberField.d.ts +28 -27
- package/src/surfaces/admin/components/Option.d.ts +7 -11
- package/src/surfaces/admin/components/OptionGroup.d.ts +7 -12
- package/src/surfaces/admin/components/OrderedList.d.ts +4 -11
- package/src/surfaces/admin/components/Page.d.ts +11 -16
- package/src/surfaces/admin/components/Paragraph.d.ts +4 -11
- package/src/surfaces/admin/components/PasswordField.d.ts +26 -27
- package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/src/surfaces/admin/components/SearchField.d.ts +26 -27
- package/src/surfaces/admin/components/Section.d.ts +4 -10
- package/src/surfaces/admin/components/Select.d.ts +24 -28
- package/src/surfaces/admin/components/Spinner.d.ts +3 -4
- package/src/surfaces/admin/components/Stack.d.ts +4 -10
- package/src/surfaces/admin/components/Switch.d.ts +20 -21
- package/src/surfaces/admin/components/Table.d.ts +5 -12
- package/src/surfaces/admin/components/TableBody.d.ts +4 -11
- package/src/surfaces/admin/components/TableCell.d.ts +4 -11
- package/src/surfaces/admin/components/TableHeader.d.ts +4 -11
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
- package/src/surfaces/admin/components/TableRow.d.ts +4 -11
- package/src/surfaces/admin/components/Text.d.ts +4 -10
- package/src/surfaces/admin/components/TextArea.d.ts +26 -27
- package/src/surfaces/admin/components/TextField.d.ts +27 -28
- package/src/surfaces/admin/components/Thumbnail.d.ts +11 -12
- package/src/surfaces/admin/components/Tooltip.d.ts +4 -10
- package/src/surfaces/admin/components/URLField.d.ts +26 -27
- package/src/surfaces/admin/components/UnorderedList.d.ts +4 -11
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
- package/src/surfaces/admin/components/shared.d.ts +24 -7
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +625 -252
- 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 +1 -1
- 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 */
|
|
@@ -7,16 +7,33 @@
|
|
|
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
|
TextFieldProps,
|
|
11
12
|
IconProps$1,
|
|
12
13
|
SelectProps$1,
|
|
13
|
-
ComponentChild,
|
|
14
14
|
IconType,
|
|
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
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
26
|
+
/** Assigns a unique key to this element. */
|
|
27
|
+
key?: preact.Key;
|
|
28
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
29
|
+
ref?: preact.Ref<TClass>;
|
|
30
|
+
/** Assigns this element to a parent's slot. */
|
|
31
|
+
slot?: Lowercase<string>;
|
|
32
|
+
}
|
|
33
|
+
|
|
17
34
|
export type Styles = string;
|
|
18
35
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
19
|
-
ShadowRoot: (element: any) =>
|
|
36
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
20
37
|
styles?: Styles;
|
|
21
38
|
};
|
|
22
39
|
export interface ActivationEventEsque {
|
|
@@ -74,29 +91,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
74
91
|
click({sourceEvent}?: ClickOptions): void;
|
|
75
92
|
}
|
|
76
93
|
|
|
77
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
78
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
79
|
-
};
|
|
80
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
81
|
-
| (EventListener & {
|
|
82
|
-
(event: CallbackEvent<T>): void;
|
|
83
|
-
})
|
|
84
|
-
| null;
|
|
85
|
-
/** Used when an element does not have children. */
|
|
86
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
87
|
-
/** Assigns a unique key to this element. */
|
|
88
|
-
key?: preact.Key;
|
|
89
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
90
|
-
ref?: preact.Ref<TClass>;
|
|
91
|
-
/** Assigns this element to a parent's slot. */
|
|
92
|
-
slot?: Lowercase<string>;
|
|
93
|
-
}
|
|
94
|
-
/** Used when an element has children. */
|
|
95
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
96
|
-
extends PreactBaseElementProps<TClass> {
|
|
97
|
-
children?: preact.ComponentChildren;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
94
|
declare const internals: unique symbol;
|
|
101
95
|
export type PreactInputProps = Required<
|
|
102
96
|
Pick<TextFieldProps, 'disabled' | 'id' | 'name' | 'value'>
|
|
@@ -194,13 +188,15 @@ declare global {
|
|
|
194
188
|
declare module 'preact' {
|
|
195
189
|
namespace createElement.JSX {
|
|
196
190
|
interface IntrinsicElements {
|
|
197
|
-
[tagName]: SelectJSXProps &
|
|
191
|
+
[tagName]: SelectJSXProps & PreactBaseElementProps<Select>;
|
|
198
192
|
}
|
|
199
193
|
}
|
|
200
194
|
}
|
|
201
195
|
|
|
202
196
|
declare const tagName = 's-select';
|
|
203
|
-
export interface SelectJSXProps
|
|
197
|
+
export interface SelectJSXProps
|
|
198
|
+
extends Partial<SelectProps>,
|
|
199
|
+
Pick<SelectProps$1, 'id'> {
|
|
204
200
|
onChange?: (event: CallbackEvent<typeof tagName>) => void;
|
|
205
201
|
onInput?: (event: CallbackEvent<typeof tagName>) => void;
|
|
206
202
|
onBlur?: (event: CallbackEvent<typeof tagName>) => void;
|
|
@@ -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 {SpinnerProps$1,
|
|
9
|
+
import type {SpinnerProps$1, ComponentChildren} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface SpinnerProps
|
|
12
12
|
extends Required<Pick<SpinnerProps$1, 'accessibilityLabel'>> {
|
|
@@ -15,7 +15,7 @@ export interface SpinnerProps
|
|
|
15
15
|
|
|
16
16
|
export type Styles = string;
|
|
17
17
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
18
|
-
ShadowRoot: (element: any) =>
|
|
18
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
19
19
|
styles?: Styles;
|
|
20
20
|
};
|
|
21
21
|
export interface ActivationEventEsque {
|
|
@@ -73,7 +73,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
73
73
|
click({sourceEvent}?: ClickOptions): void;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
/** Used when an element does not have children. */
|
|
77
76
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
78
77
|
/** Assigns a unique key to this element. */
|
|
79
78
|
key?: preact.Key;
|
|
@@ -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,6 +6,7 @@
|
|
|
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
|
StackProps$1,
|
|
11
12
|
MaybeAllValuesShorthandProperty,
|
|
@@ -13,7 +14,6 @@ import type {
|
|
|
13
14
|
JustifyContentKeyword,
|
|
14
15
|
AlignItemsKeyword,
|
|
15
16
|
AlignContentKeyword,
|
|
16
|
-
ComponentChild,
|
|
17
17
|
} from './shared.d.ts';
|
|
18
18
|
|
|
19
19
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
@@ -270,7 +270,7 @@ export interface StackProps
|
|
|
270
270
|
|
|
271
271
|
export type Styles = string;
|
|
272
272
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
273
|
-
ShadowRoot: (element: any) =>
|
|
273
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
274
274
|
styles?: Styles;
|
|
275
275
|
};
|
|
276
276
|
export interface ActivationEventEsque {
|
|
@@ -356,7 +356,6 @@ declare class BoxElement extends PreactCustomElement implements BoxProps {
|
|
|
356
356
|
accessor display: BoxProps['display'];
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
/** Used when an element does not have children. */
|
|
360
359
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
361
360
|
/** Assigns a unique key to this element. */
|
|
362
361
|
key?: preact.Key;
|
|
@@ -365,11 +364,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
365
364
|
/** Assigns this element to a parent's slot. */
|
|
366
365
|
slot?: Lowercase<string>;
|
|
367
366
|
}
|
|
368
|
-
/** Used when an element has children. */
|
|
369
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
370
|
-
extends PreactBaseElementProps<TClass> {
|
|
371
|
-
children?: preact.ComponentChildren;
|
|
372
|
-
}
|
|
373
367
|
|
|
374
368
|
declare class Stack extends BoxElement implements StackProps {
|
|
375
369
|
constructor();
|
|
@@ -389,7 +383,7 @@ declare global {
|
|
|
389
383
|
declare module 'preact' {
|
|
390
384
|
namespace createElement.JSX {
|
|
391
385
|
interface IntrinsicElements {
|
|
392
|
-
[tagName]: StackJSXProps &
|
|
386
|
+
[tagName]: StackJSXProps & PreactBaseElementProps<Stack>;
|
|
393
387
|
}
|
|
394
388
|
}
|
|
395
389
|
}
|
|
@@ -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,12 +10,29 @@ import type {
|
|
|
10
10
|
TextFieldProps,
|
|
11
11
|
CheckboxProps,
|
|
12
12
|
SwitchProps$1,
|
|
13
|
-
|
|
13
|
+
ComponentChildren,
|
|
14
14
|
} from './shared.d.ts';
|
|
15
15
|
|
|
16
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
17
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
18
|
+
};
|
|
19
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
20
|
+
| (EventListener & {
|
|
21
|
+
(event: CallbackEvent<T>): void;
|
|
22
|
+
})
|
|
23
|
+
| null;
|
|
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
|
+
|
|
16
33
|
export type Styles = string;
|
|
17
34
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
18
|
-
ShadowRoot: (element: any) =>
|
|
35
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
19
36
|
styles?: Styles;
|
|
20
37
|
};
|
|
21
38
|
export interface ActivationEventEsque {
|
|
@@ -73,24 +90,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
73
90
|
click({sourceEvent}?: ClickOptions): void;
|
|
74
91
|
}
|
|
75
92
|
|
|
76
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
77
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
78
|
-
};
|
|
79
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
80
|
-
| (EventListener & {
|
|
81
|
-
(event: CallbackEvent<T>): void;
|
|
82
|
-
})
|
|
83
|
-
| null;
|
|
84
|
-
/** Used when an element does not have children. */
|
|
85
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
86
|
-
/** Assigns a unique key to this element. */
|
|
87
|
-
key?: preact.Key;
|
|
88
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
89
|
-
ref?: preact.Ref<TClass>;
|
|
90
|
-
/** Assigns this element to a parent's slot. */
|
|
91
|
-
slot?: Lowercase<string>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
93
|
declare const internals: unique symbol;
|
|
95
94
|
export type PreactInputProps = Required<
|
|
96
95
|
Pick<TextFieldProps, 'disabled' | 'id' | 'name' | 'value'>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
9
|
import type {
|
|
10
|
-
|
|
10
|
+
ComponentChildren,
|
|
11
11
|
TableProps$1,
|
|
12
12
|
TableHeaderProps$1,
|
|
13
13
|
} from './shared.d.ts';
|
|
@@ -37,7 +37,7 @@ export interface TableHeaderProps
|
|
|
37
37
|
|
|
38
38
|
export type Styles = string;
|
|
39
39
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
40
|
-
ShadowRoot: (element: any) =>
|
|
40
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
41
41
|
styles?: Styles;
|
|
42
42
|
};
|
|
43
43
|
export interface ActivationEventEsque {
|
|
@@ -113,7 +113,6 @@ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
|
113
113
|
(event: CallbackEvent<T>): void;
|
|
114
114
|
})
|
|
115
115
|
| null;
|
|
116
|
-
/** Used when an element does not have children. */
|
|
117
116
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
118
117
|
/** Assigns a unique key to this element. */
|
|
119
118
|
key?: preact.Key;
|
|
@@ -122,11 +121,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
122
121
|
/** Assigns this element to a parent's slot. */
|
|
123
122
|
slot?: Lowercase<string>;
|
|
124
123
|
}
|
|
125
|
-
/** Used when an element has children. */
|
|
126
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
127
|
-
extends PreactBaseElementProps<TClass> {
|
|
128
|
-
children?: preact.ComponentChildren;
|
|
129
|
-
}
|
|
130
124
|
|
|
131
125
|
declare class Table extends PreactCustomElement implements TableProps {
|
|
132
126
|
accessor variant: TableProps['variant'];
|
|
@@ -160,8 +154,7 @@ declare global {
|
|
|
160
154
|
declare module 'preact' {
|
|
161
155
|
namespace createElement.JSX {
|
|
162
156
|
interface IntrinsicElements {
|
|
163
|
-
[tagName]: Omit<TableJSXProps, 'filters'> &
|
|
164
|
-
PreactBaseElementPropsWithChildren<Table>;
|
|
157
|
+
[tagName]: Omit<TableJSXProps, 'filters'> & PreactBaseElementProps<Table>;
|
|
165
158
|
}
|
|
166
159
|
}
|
|
167
160
|
}
|
|
@@ -173,7 +166,7 @@ export interface TableJSXProps
|
|
|
173
166
|
/**
|
|
174
167
|
* Additional filters to display in the table. For example, the `s-search-field` component can be used to filter the table data.
|
|
175
168
|
*/
|
|
176
|
-
filters?:
|
|
169
|
+
filters?: ComponentChildren;
|
|
177
170
|
}
|
|
178
171
|
|
|
179
172
|
export {Table};
|
|
@@ -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 {TableBodyProps$1
|
|
8
|
+
import type {ComponentChildren, TableBodyProps$1} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface TableBodyProps extends TableBodyProps$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 {
|
|
@@ -69,7 +69,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
69
69
|
click({sourceEvent}?: ClickOptions): void;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
/** Used when an element does not have children. */
|
|
73
72
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
74
73
|
/** Assigns a unique key to this element. */
|
|
75
74
|
key?: preact.Key;
|
|
@@ -78,11 +77,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
78
77
|
/** Assigns this element to a parent's slot. */
|
|
79
78
|
slot?: Lowercase<string>;
|
|
80
79
|
}
|
|
81
|
-
/** Used when an element has children. */
|
|
82
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
83
|
-
extends PreactBaseElementProps<TClass> {
|
|
84
|
-
children?: preact.ComponentChildren;
|
|
85
|
-
}
|
|
86
80
|
|
|
87
81
|
declare class TableBody extends PreactCustomElement implements TableBodyProps {
|
|
88
82
|
constructor();
|
|
@@ -95,8 +89,7 @@ declare global {
|
|
|
95
89
|
declare module 'preact' {
|
|
96
90
|
namespace createElement.JSX {
|
|
97
91
|
interface IntrinsicElements {
|
|
98
|
-
[tagName]: TableBodyJSXProps &
|
|
99
|
-
PreactBaseElementPropsWithChildren<TableBody>;
|
|
92
|
+
[tagName]: TableBodyJSXProps & PreactBaseElementProps<TableBody>;
|
|
100
93
|
}
|
|
101
94
|
}
|
|
102
95
|
}
|
|
@@ -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,16 +6,16 @@
|
|
|
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
|
TableCellProps$1,
|
|
10
11
|
TableHeaderProps,
|
|
11
|
-
ComponentChild,
|
|
12
12
|
} from './shared.d.ts';
|
|
13
13
|
|
|
14
14
|
export interface TableCellProps extends TableCellProps$1 {}
|
|
15
15
|
|
|
16
16
|
export type Styles = string;
|
|
17
17
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
18
|
-
ShadowRoot: (element: any) =>
|
|
18
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
19
19
|
styles?: Styles;
|
|
20
20
|
};
|
|
21
21
|
export interface ActivationEventEsque {
|
|
@@ -73,7 +73,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
73
73
|
click({sourceEvent}?: ClickOptions): void;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
/** Used when an element does not have children. */
|
|
77
76
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
78
77
|
/** Assigns a unique key to this element. */
|
|
79
78
|
key?: preact.Key;
|
|
@@ -82,11 +81,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
82
81
|
/** Assigns this element to a parent's slot. */
|
|
83
82
|
slot?: Lowercase<string>;
|
|
84
83
|
}
|
|
85
|
-
/** Used when an element has children. */
|
|
86
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
87
|
-
extends PreactBaseElementProps<TClass> {
|
|
88
|
-
children?: preact.ComponentChildren;
|
|
89
|
-
}
|
|
90
84
|
|
|
91
85
|
declare const headerFormatSymbol: unique symbol;
|
|
92
86
|
|
|
@@ -110,8 +104,7 @@ declare global {
|
|
|
110
104
|
declare module 'preact' {
|
|
111
105
|
namespace createElement.JSX {
|
|
112
106
|
interface IntrinsicElements {
|
|
113
|
-
[tagName]: TableCellJSXProps &
|
|
114
|
-
PreactBaseElementPropsWithChildren<TableCell>;
|
|
107
|
+
[tagName]: TableCellJSXProps & PreactBaseElementProps<TableCell>;
|
|
115
108
|
}
|
|
116
109
|
}
|
|
117
110
|
}
|
|
@@ -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 {TableHeaderProps$1
|
|
9
|
+
import type {ComponentChildren, TableHeaderProps$1} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export type HeaderFormat = Extract<
|
|
12
12
|
TableHeaderProps$1['format'],
|
|
@@ -23,7 +23,7 @@ export interface TableHeaderProps
|
|
|
23
23
|
|
|
24
24
|
export type Styles = string;
|
|
25
25
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
26
|
-
ShadowRoot: (element: any) =>
|
|
26
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
27
27
|
styles?: Styles;
|
|
28
28
|
};
|
|
29
29
|
export interface ActivationEventEsque {
|
|
@@ -81,7 +81,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
81
81
|
click({sourceEvent}?: ClickOptions): void;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
/** Used when an element does not have children. */
|
|
85
84
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
86
85
|
/** Assigns a unique key to this element. */
|
|
87
86
|
key?: preact.Key;
|
|
@@ -90,11 +89,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
90
89
|
/** Assigns this element to a parent's slot. */
|
|
91
90
|
slot?: Lowercase<string>;
|
|
92
91
|
}
|
|
93
|
-
/** Used when an element has children. */
|
|
94
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
95
|
-
extends PreactBaseElementProps<TClass> {
|
|
96
|
-
children?: preact.ComponentChildren;
|
|
97
|
-
}
|
|
98
92
|
|
|
99
93
|
declare class TableHeader
|
|
100
94
|
extends PreactCustomElement
|
|
@@ -112,8 +106,7 @@ declare global {
|
|
|
112
106
|
declare module 'preact' {
|
|
113
107
|
namespace createElement.JSX {
|
|
114
108
|
interface IntrinsicElements {
|
|
115
|
-
[tagName]: TableHeaderJSXProps &
|
|
116
|
-
PreactBaseElementPropsWithChildren<TableHeader>;
|
|
109
|
+
[tagName]: TableHeaderJSXProps & PreactBaseElementProps<TableHeader>;
|
|
117
110
|
}
|
|
118
111
|
}
|
|
119
112
|
}
|
|
@@ -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 {TableHeaderRowProps$1
|
|
8
|
+
import type {ComponentChildren, TableHeaderRowProps$1} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface TableHeaderRowProps extends TableHeaderRowProps$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 {
|
|
@@ -69,7 +69,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
69
69
|
click({sourceEvent}?: ClickOptions): void;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
/** Used when an element does not have children. */
|
|
73
72
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
74
73
|
/** Assigns a unique key to this element. */
|
|
75
74
|
key?: preact.Key;
|
|
@@ -78,11 +77,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
78
77
|
/** Assigns this element to a parent's slot. */
|
|
79
78
|
slot?: Lowercase<string>;
|
|
80
79
|
}
|
|
81
|
-
/** Used when an element has children. */
|
|
82
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
83
|
-
extends PreactBaseElementProps<TClass> {
|
|
84
|
-
children?: preact.ComponentChildren;
|
|
85
|
-
}
|
|
86
80
|
|
|
87
81
|
declare class TableHeaderRow
|
|
88
82
|
extends PreactCustomElement
|
|
@@ -103,7 +97,7 @@ declare module 'preact' {
|
|
|
103
97
|
namespace createElement.JSX {
|
|
104
98
|
interface IntrinsicElements {
|
|
105
99
|
[tagName]: TableHeaderRowJSXProps &
|
|
106
|
-
|
|
100
|
+
PreactBaseElementProps<TableHeaderRow>;
|
|
107
101
|
}
|
|
108
102
|
}
|
|
109
103
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
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 {TableRowProps$1
|
|
8
|
+
import type {ComponentChildren, TableRowProps$1} from './shared.d.ts';
|
|
9
9
|
|
|
10
10
|
export interface TableRowProps
|
|
11
11
|
extends Pick<TableRowProps$1, 'children' | 'clickDelegate'> {}
|
|
12
12
|
|
|
13
13
|
export type Styles = string;
|
|
14
14
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
15
|
-
ShadowRoot: (element: any) =>
|
|
15
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
16
16
|
styles?: Styles;
|
|
17
17
|
};
|
|
18
18
|
export interface ActivationEventEsque {
|
|
@@ -70,7 +70,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
70
70
|
click({sourceEvent}?: ClickOptions): void;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
/** Used when an element does not have children. */
|
|
74
73
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
75
74
|
/** Assigns a unique key to this element. */
|
|
76
75
|
key?: preact.Key;
|
|
@@ -79,11 +78,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
79
78
|
/** Assigns this element to a parent's slot. */
|
|
80
79
|
slot?: Lowercase<string>;
|
|
81
80
|
}
|
|
82
|
-
/** Used when an element has children. */
|
|
83
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
84
|
-
extends PreactBaseElementProps<TClass> {
|
|
85
|
-
children?: preact.ComponentChildren;
|
|
86
|
-
}
|
|
87
81
|
|
|
88
82
|
declare class TableRow extends PreactCustomElement implements TableRowProps {
|
|
89
83
|
constructor();
|
|
@@ -97,8 +91,7 @@ declare global {
|
|
|
97
91
|
declare module 'preact' {
|
|
98
92
|
namespace createElement.JSX {
|
|
99
93
|
interface IntrinsicElements {
|
|
100
|
-
[tagName]: TableRowJSXProps &
|
|
101
|
-
PreactBaseElementPropsWithChildren<TableRow>;
|
|
94
|
+
[tagName]: TableRowJSXProps & PreactBaseElementProps<TableRow>;
|
|
102
95
|
}
|
|
103
96
|
}
|
|
104
97
|
}
|
|
@@ -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 {TextProps$1
|
|
9
|
+
import type {ComponentChildren, TextProps$1} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface TextProps
|
|
12
12
|
extends Required<
|
|
@@ -38,7 +38,7 @@ export interface TextProps
|
|
|
38
38
|
|
|
39
39
|
export type Styles = string;
|
|
40
40
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
41
|
-
ShadowRoot: (element: any) =>
|
|
41
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
42
42
|
styles?: Styles;
|
|
43
43
|
};
|
|
44
44
|
export interface ActivationEventEsque {
|
|
@@ -96,7 +96,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
96
96
|
click({sourceEvent}?: ClickOptions): void;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
/** Used when an element does not have children. */
|
|
100
99
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
101
100
|
/** Assigns a unique key to this element. */
|
|
102
101
|
key?: preact.Key;
|
|
@@ -105,11 +104,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
105
104
|
/** Assigns this element to a parent's slot. */
|
|
106
105
|
slot?: Lowercase<string>;
|
|
107
106
|
}
|
|
108
|
-
/** Used when an element has children. */
|
|
109
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
110
|
-
extends PreactBaseElementProps<TClass> {
|
|
111
|
-
children?: preact.ComponentChildren;
|
|
112
|
-
}
|
|
113
107
|
|
|
114
108
|
declare class Text extends PreactCustomElement implements TextProps {
|
|
115
109
|
accessor fontVariantNumeric: TextProps['fontVariantNumeric'];
|
|
@@ -129,7 +123,7 @@ declare global {
|
|
|
129
123
|
declare module 'preact' {
|
|
130
124
|
namespace createElement.JSX {
|
|
131
125
|
interface IntrinsicElements {
|
|
132
|
-
[tagName]: TextJSXProps &
|
|
126
|
+
[tagName]: TextJSXProps & PreactBaseElementProps<Text>;
|
|
133
127
|
}
|
|
134
128
|
}
|
|
135
129
|
}
|