@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 */
|
|
@@ -9,12 +9,29 @@
|
|
|
9
9
|
import type {
|
|
10
10
|
TextFieldProps,
|
|
11
11
|
CheckboxProps$1,
|
|
12
|
-
|
|
12
|
+
ComponentChildren,
|
|
13
13
|
} from './shared.d.ts';
|
|
14
14
|
|
|
15
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
16
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
17
|
+
};
|
|
18
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
19
|
+
| (EventListener & {
|
|
20
|
+
(event: CallbackEvent<T>): void;
|
|
21
|
+
})
|
|
22
|
+
| null;
|
|
23
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
24
|
+
/** Assigns a unique key to this element. */
|
|
25
|
+
key?: preact.Key;
|
|
26
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
27
|
+
ref?: preact.Ref<TClass>;
|
|
28
|
+
/** Assigns this element to a parent's slot. */
|
|
29
|
+
slot?: Lowercase<string>;
|
|
30
|
+
}
|
|
31
|
+
|
|
15
32
|
export type Styles = string;
|
|
16
33
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
17
|
-
ShadowRoot: (element: any) =>
|
|
34
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
18
35
|
styles?: Styles;
|
|
19
36
|
};
|
|
20
37
|
export interface ActivationEventEsque {
|
|
@@ -72,29 +89,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
72
89
|
click({sourceEvent}?: ClickOptions): void;
|
|
73
90
|
}
|
|
74
91
|
|
|
75
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
76
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
77
|
-
};
|
|
78
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
79
|
-
| (EventListener & {
|
|
80
|
-
(event: CallbackEvent<T>): void;
|
|
81
|
-
})
|
|
82
|
-
| null;
|
|
83
|
-
/** Used when an element does not have children. */
|
|
84
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
85
|
-
/** Assigns a unique key to this element. */
|
|
86
|
-
key?: preact.Key;
|
|
87
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
88
|
-
ref?: preact.Ref<TClass>;
|
|
89
|
-
/** Assigns this element to a parent's slot. */
|
|
90
|
-
slot?: Lowercase<string>;
|
|
91
|
-
}
|
|
92
|
-
/** Used when an element has children. */
|
|
93
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
94
|
-
extends PreactBaseElementProps<TClass> {
|
|
95
|
-
children?: preact.ComponentChildren;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
92
|
declare const internals: unique symbol;
|
|
99
93
|
export type PreactInputProps = Required<
|
|
100
94
|
Pick<TextFieldProps, 'disabled' | 'id' | 'name' | 'value'>
|
|
@@ -175,8 +169,7 @@ declare global {
|
|
|
175
169
|
declare module 'preact' {
|
|
176
170
|
namespace createElement.JSX {
|
|
177
171
|
interface IntrinsicElements {
|
|
178
|
-
[tagName]: CheckboxJSXProps &
|
|
179
|
-
PreactBaseElementPropsWithChildren<Checkbox>;
|
|
172
|
+
[tagName]: CheckboxJSXProps & PreactBaseElementProps<Checkbox>;
|
|
180
173
|
}
|
|
181
174
|
}
|
|
182
175
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -6,14 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {
|
|
9
|
+
import type {ComponentChildren, ChipProps$1} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface ChipProps
|
|
12
12
|
extends Required<Pick<ChipProps$1, 'color' | 'accessibilityLabel'>> {}
|
|
13
13
|
|
|
14
14
|
export type Styles = string;
|
|
15
15
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
16
|
-
ShadowRoot: (element: any) =>
|
|
16
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
17
17
|
styles?: Styles;
|
|
18
18
|
};
|
|
19
19
|
export interface ActivationEventEsque {
|
|
@@ -71,7 +71,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
71
71
|
click({sourceEvent}?: ClickOptions): void;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
/** Used when an element does not have children. */
|
|
75
74
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
76
75
|
/** Assigns a unique key to this element. */
|
|
77
76
|
key?: preact.Key;
|
|
@@ -80,11 +79,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
80
79
|
/** Assigns this element to a parent's slot. */
|
|
81
80
|
slot?: Lowercase<string>;
|
|
82
81
|
}
|
|
83
|
-
/** Used when an element has children. */
|
|
84
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
85
|
-
extends PreactBaseElementProps<TClass> {
|
|
86
|
-
children?: preact.ComponentChildren;
|
|
87
|
-
}
|
|
88
82
|
|
|
89
83
|
declare class Chip extends PreactCustomElement implements ChipProps {
|
|
90
84
|
accessor color: ChipProps['color'];
|
|
@@ -104,7 +98,7 @@ declare module 'preact' {
|
|
|
104
98
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
105
99
|
> &
|
|
106
100
|
Omit<ChipJSXProps, 'graphic'> &
|
|
107
|
-
|
|
101
|
+
PreactBaseElementProps<Chip>;
|
|
108
102
|
}
|
|
109
103
|
}
|
|
110
104
|
}
|
|
@@ -118,7 +112,7 @@ export interface ChipJSXProps
|
|
|
118
112
|
*
|
|
119
113
|
* Only accepts `Icon` components.
|
|
120
114
|
*/
|
|
121
|
-
graphic?:
|
|
115
|
+
graphic?: ComponentChildren;
|
|
122
116
|
}
|
|
123
117
|
|
|
124
118
|
export {Chip};
|
|
@@ -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,11 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
8
|
/// <reference lib="DOM" />
|
|
9
|
-
import type {
|
|
10
|
-
ComponentChildren,
|
|
11
|
-
ComponentChild,
|
|
12
|
-
ChoiceProps$1,
|
|
13
|
-
} from './shared.d.ts';
|
|
9
|
+
import type {ComponentChildren, ChoiceProps$1} from './shared.d.ts';
|
|
14
10
|
|
|
15
11
|
export interface ChoiceProps
|
|
16
12
|
extends Required<
|
|
@@ -26,7 +22,7 @@ export interface ChoiceProps
|
|
|
26
22
|
|
|
27
23
|
export type Styles = string;
|
|
28
24
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
29
|
-
ShadowRoot: (element: any) =>
|
|
25
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
30
26
|
styles?: Styles;
|
|
31
27
|
};
|
|
32
28
|
export interface ActivationEventEsque {
|
|
@@ -84,7 +80,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
84
80
|
click({sourceEvent}?: ClickOptions): void;
|
|
85
81
|
}
|
|
86
82
|
|
|
87
|
-
/** Used when an element does not have children. */
|
|
88
83
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
89
84
|
/** Assigns a unique key to this element. */
|
|
90
85
|
key?: preact.Key;
|
|
@@ -93,11 +88,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
93
88
|
/** Assigns this element to a parent's slot. */
|
|
94
89
|
slot?: Lowercase<string>;
|
|
95
90
|
}
|
|
96
|
-
/** Used when an element has children. */
|
|
97
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
98
|
-
extends PreactBaseElementProps<TClass> {
|
|
99
|
-
children?: preact.ComponentChildren;
|
|
100
|
-
}
|
|
101
91
|
|
|
102
92
|
declare class Choice extends PreactCustomElement implements ChoiceProps {
|
|
103
93
|
accessor disabled: ChoiceProps['disabled'];
|
|
@@ -120,7 +110,7 @@ declare global {
|
|
|
120
110
|
declare module 'preact' {
|
|
121
111
|
namespace createElement.JSX {
|
|
122
112
|
interface IntrinsicElements {
|
|
123
|
-
[tagName]: ChoiceJSXProps &
|
|
113
|
+
[tagName]: ChoiceJSXProps & PreactBaseElementProps<Choice>;
|
|
124
114
|
}
|
|
125
115
|
}
|
|
126
116
|
}
|
|
@@ -128,9 +118,7 @@ declare module 'preact' {
|
|
|
128
118
|
declare const tagName = 's-choice';
|
|
129
119
|
export interface ChoiceJSXProps
|
|
130
120
|
extends Partial<ChoiceProps>,
|
|
131
|
-
Pick<ChoiceProps$1, 'id'> {
|
|
132
|
-
details?: ComponentChild;
|
|
133
|
-
}
|
|
121
|
+
Pick<ChoiceProps$1, 'id' | 'details'> {}
|
|
134
122
|
|
|
135
123
|
export {Choice};
|
|
136
124
|
export type {ChoiceJSXProps};
|
|
@@ -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,22 +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 {ChoiceListProps$1
|
|
10
|
-
|
|
11
|
-
export interface ChoiceListProps
|
|
12
|
-
extends Required<
|
|
13
|
-
Pick<
|
|
14
|
-
ChoiceListProps$1,
|
|
15
|
-
| 'details'
|
|
16
|
-
| 'disabled'
|
|
17
|
-
| 'error'
|
|
18
|
-
| 'label'
|
|
19
|
-
| 'labelAccessibilityVisibility'
|
|
20
|
-
| 'multiple'
|
|
21
|
-
| 'name'
|
|
22
|
-
| 'values'
|
|
23
|
-
>
|
|
24
|
-
> {}
|
|
9
|
+
import type {ComponentChildren, ChoiceListProps$1} from './shared.d.ts';
|
|
25
10
|
|
|
26
11
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
27
12
|
currentTarget: HTMLElementTagNameMap[T];
|
|
@@ -31,7 +16,6 @@ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
|
31
16
|
(event: CallbackEvent<T>): void;
|
|
32
17
|
})
|
|
33
18
|
| null;
|
|
34
|
-
/** Used when an element does not have children. */
|
|
35
19
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
36
20
|
/** Assigns a unique key to this element. */
|
|
37
21
|
key?: preact.Key;
|
|
@@ -40,15 +24,25 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
40
24
|
/** Assigns this element to a parent's slot. */
|
|
41
25
|
slot?: Lowercase<string>;
|
|
42
26
|
}
|
|
43
|
-
|
|
44
|
-
export interface
|
|
45
|
-
extends
|
|
46
|
-
|
|
47
|
-
|
|
27
|
+
|
|
28
|
+
export interface ChoiceListProps
|
|
29
|
+
extends Required<
|
|
30
|
+
Pick<
|
|
31
|
+
ChoiceListProps$1,
|
|
32
|
+
| 'details'
|
|
33
|
+
| 'disabled'
|
|
34
|
+
| 'error'
|
|
35
|
+
| 'label'
|
|
36
|
+
| 'labelAccessibilityVisibility'
|
|
37
|
+
| 'multiple'
|
|
38
|
+
| 'name'
|
|
39
|
+
| 'values'
|
|
40
|
+
>
|
|
41
|
+
> {}
|
|
48
42
|
|
|
49
43
|
export type Styles = string;
|
|
50
44
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
51
|
-
ShadowRoot: (element: any) =>
|
|
45
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
52
46
|
styles?: Styles;
|
|
53
47
|
};
|
|
54
48
|
export interface ActivationEventEsque {
|
|
@@ -141,8 +135,7 @@ declare global {
|
|
|
141
135
|
declare module 'preact' {
|
|
142
136
|
namespace createElement.JSX {
|
|
143
137
|
interface IntrinsicElements {
|
|
144
|
-
[tagName]: ChoiceListJSXProps &
|
|
145
|
-
PreactBaseElementPropsWithChildren<ChoiceList>;
|
|
138
|
+
[tagName]: ChoiceListJSXProps & PreactBaseElementProps<ChoiceList>;
|
|
146
139
|
}
|
|
147
140
|
}
|
|
148
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Clickable.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Clickable/Clickable.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"Clickable.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Clickable/Clickable.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAmCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -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,14 +7,31 @@
|
|
|
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
|
ClickableProps$1,
|
|
12
13
|
MaybeAllValuesShorthandProperty,
|
|
13
14
|
SizeUnits,
|
|
14
15
|
InteractionProps,
|
|
15
|
-
ComponentChild,
|
|
16
16
|
} from './shared.d.ts';
|
|
17
17
|
|
|
18
|
+
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
19
|
+
currentTarget: HTMLElementTagNameMap[T];
|
|
20
|
+
};
|
|
21
|
+
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
22
|
+
| (EventListener & {
|
|
23
|
+
(event: CallbackEvent<T>): void;
|
|
24
|
+
})
|
|
25
|
+
| null;
|
|
26
|
+
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
27
|
+
/** Assigns a unique key to this element. */
|
|
28
|
+
key?: preact.Key;
|
|
29
|
+
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
30
|
+
ref?: preact.Ref<TClass>;
|
|
31
|
+
/** Assigns this element to a parent's slot. */
|
|
32
|
+
slot?: Lowercase<string>;
|
|
33
|
+
}
|
|
34
|
+
|
|
18
35
|
export type MakeResponsive<T> = T | `@container${string}`;
|
|
19
36
|
/**
|
|
20
37
|
* Makes a property's value potentially responsive.
|
|
@@ -226,32 +243,9 @@ export interface ClickableProps
|
|
|
226
243
|
extends Required<BoxProps>,
|
|
227
244
|
ClickableBaseProps {}
|
|
228
245
|
|
|
229
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
230
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
231
|
-
};
|
|
232
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
233
|
-
| (EventListener & {
|
|
234
|
-
(event: CallbackEvent<T>): void;
|
|
235
|
-
})
|
|
236
|
-
| null;
|
|
237
|
-
/** Used when an element does not have children. */
|
|
238
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
239
|
-
/** Assigns a unique key to this element. */
|
|
240
|
-
key?: preact.Key;
|
|
241
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
242
|
-
ref?: preact.Ref<TClass>;
|
|
243
|
-
/** Assigns this element to a parent's slot. */
|
|
244
|
-
slot?: Lowercase<string>;
|
|
245
|
-
}
|
|
246
|
-
/** Used when an element has children. */
|
|
247
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
248
|
-
extends PreactBaseElementProps<TClass> {
|
|
249
|
-
children?: preact.ComponentChildren;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
246
|
export type Styles = string;
|
|
253
247
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
254
|
-
ShadowRoot: (element: any) =>
|
|
248
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
255
249
|
styles?: Styles;
|
|
256
250
|
};
|
|
257
251
|
export interface ActivationEventEsque {
|
|
@@ -389,8 +383,7 @@ declare global {
|
|
|
389
383
|
declare module 'preact' {
|
|
390
384
|
namespace createElement.JSX {
|
|
391
385
|
interface IntrinsicElements {
|
|
392
|
-
[tagName]: ClickableJSXProps &
|
|
393
|
-
PreactBaseElementPropsWithChildren<Clickable>;
|
|
386
|
+
[tagName]: ClickableJSXProps & PreactBaseElementProps<Clickable>;
|
|
394
387
|
}
|
|
395
388
|
}
|
|
396
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 */
|
|
@@ -6,20 +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 {ClickableChipProps$1
|
|
10
|
-
|
|
11
|
-
export interface ClickableChipProps
|
|
12
|
-
extends Required<
|
|
13
|
-
Pick<
|
|
14
|
-
ClickableChipProps$1,
|
|
15
|
-
| 'color'
|
|
16
|
-
| 'accessibilityLabel'
|
|
17
|
-
| 'removable'
|
|
18
|
-
| 'hidden'
|
|
19
|
-
| 'href'
|
|
20
|
-
| 'disabled'
|
|
21
|
-
>
|
|
22
|
-
> {}
|
|
9
|
+
import type {ComponentChildren, ClickableChipProps$1} from './shared.d.ts';
|
|
23
10
|
|
|
24
11
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
25
12
|
currentTarget: HTMLElementTagNameMap[T];
|
|
@@ -29,7 +16,6 @@ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
|
29
16
|
(event: CallbackEvent<T>): void;
|
|
30
17
|
})
|
|
31
18
|
| null;
|
|
32
|
-
/** Used when an element does not have children. */
|
|
33
19
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
34
20
|
/** Assigns a unique key to this element. */
|
|
35
21
|
key?: preact.Key;
|
|
@@ -38,15 +24,23 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
38
24
|
/** Assigns this element to a parent's slot. */
|
|
39
25
|
slot?: Lowercase<string>;
|
|
40
26
|
}
|
|
41
|
-
|
|
42
|
-
export interface
|
|
43
|
-
extends
|
|
44
|
-
|
|
45
|
-
|
|
27
|
+
|
|
28
|
+
export interface ClickableChipProps
|
|
29
|
+
extends Required<
|
|
30
|
+
Pick<
|
|
31
|
+
ClickableChipProps$1,
|
|
32
|
+
| 'color'
|
|
33
|
+
| 'accessibilityLabel'
|
|
34
|
+
| 'removable'
|
|
35
|
+
| 'hidden'
|
|
36
|
+
| 'href'
|
|
37
|
+
| 'disabled'
|
|
38
|
+
>
|
|
39
|
+
> {}
|
|
46
40
|
|
|
47
41
|
export type Styles = string;
|
|
48
42
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
49
|
-
ShadowRoot: (element: any) =>
|
|
43
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
50
44
|
styles?: Styles;
|
|
51
45
|
};
|
|
52
46
|
export interface ActivationEventEsque {
|
|
@@ -132,7 +126,7 @@ declare module 'preact' {
|
|
|
132
126
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
133
127
|
> &
|
|
134
128
|
Omit<ClickableChipJSXProps, 'graphic'> &
|
|
135
|
-
|
|
129
|
+
PreactBaseElementProps<ClickableChip>;
|
|
136
130
|
}
|
|
137
131
|
}
|
|
138
132
|
}
|
|
@@ -146,7 +140,7 @@ export interface ClickableChipJSXProps
|
|
|
146
140
|
*
|
|
147
141
|
* Only accepts `Icon` components.
|
|
148
142
|
*/
|
|
149
|
-
graphic?:
|
|
143
|
+
graphic?: ComponentChildren;
|
|
150
144
|
onClick?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
151
145
|
onRemove?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
152
146
|
onAfterHide?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
/* eslint-disable import/extensions */
|
|
3
3
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
import type {
|
|
10
10
|
TextFieldProps,
|
|
11
11
|
ColorFieldProps$1,
|
|
12
|
-
|
|
12
|
+
ComponentChildren,
|
|
13
13
|
} from './shared.d.ts';
|
|
14
14
|
|
|
15
15
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
@@ -26,7 +26,6 @@ export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
|
|
|
26
26
|
onFocus?: ((event: CallbackEvent<T>) => void) | null;
|
|
27
27
|
onBlur?: ((event: CallbackEvent<T>) => void) | null;
|
|
28
28
|
}
|
|
29
|
-
/** Used when an element does not have children. */
|
|
30
29
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
31
30
|
/** Assigns a unique key to this element. */
|
|
32
31
|
key?: preact.Key;
|
|
@@ -38,7 +37,7 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
38
37
|
|
|
39
38
|
export type Styles = string;
|
|
40
39
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
41
|
-
ShadowRoot: (element: any) =>
|
|
40
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
42
41
|
styles?: Styles;
|
|
43
42
|
};
|
|
44
43
|
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,12 +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 {ColorPickerProps$1,
|
|
10
|
-
|
|
11
|
-
export interface ColorPickerProps
|
|
12
|
-
extends Required<
|
|
13
|
-
Pick<ColorPickerProps$1, 'id' | 'alpha' | 'value' | 'defaultValue' | 'name'>
|
|
14
|
-
> {}
|
|
9
|
+
import type {ColorPickerProps$1, ComponentChildren} from './shared.d.ts';
|
|
15
10
|
|
|
16
11
|
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
17
12
|
currentTarget: HTMLElementTagNameMap[T];
|
|
@@ -22,9 +17,14 @@ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
|
22
17
|
})
|
|
23
18
|
| null;
|
|
24
19
|
|
|
20
|
+
export interface ColorPickerProps
|
|
21
|
+
extends Required<
|
|
22
|
+
Pick<ColorPickerProps$1, 'id' | 'alpha' | 'value' | 'defaultValue' | 'name'>
|
|
23
|
+
> {}
|
|
24
|
+
|
|
25
25
|
export type Styles = string;
|
|
26
26
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
27
|
-
ShadowRoot: (element: any) =>
|
|
27
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
28
28
|
styles?: Styles;
|
|
29
29
|
};
|
|
30
30
|
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,12 +10,21 @@ import type {
|
|
|
10
10
|
TextFieldProps,
|
|
11
11
|
DateAutocompleteField,
|
|
12
12
|
DateFieldProps$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
|
+
|
|
16
25
|
export type Styles = string;
|
|
17
26
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
18
|
-
ShadowRoot: (element: any) =>
|
|
27
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
19
28
|
styles?: Styles;
|
|
20
29
|
};
|
|
21
30
|
export interface ActivationEventEsque {
|
|
@@ -73,15 +82,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
73
82
|
click({sourceEvent}?: ClickOptions): void;
|
|
74
83
|
}
|
|
75
84
|
|
|
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
|
-
|
|
85
85
|
declare const internals: unique symbol;
|
|
86
86
|
export type PreactInputProps = Required<
|
|
87
87
|
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 */
|
|
@@ -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 {DatePickerProps$1,
|
|
9
|
+
import type {DatePickerProps$1, ComponentChildren} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface DatePickerProps
|
|
12
12
|
extends Required<
|
|
@@ -34,7 +34,6 @@ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
|
34
34
|
(event: CallbackEvent<T>): void;
|
|
35
35
|
})
|
|
36
36
|
| null;
|
|
37
|
-
/** Used when an element does not have children. */
|
|
38
37
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
39
38
|
/** Assigns a unique key to this element. */
|
|
40
39
|
key?: preact.Key;
|
|
@@ -46,7 +45,7 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
|
46
45
|
|
|
47
46
|
export type Styles = string;
|
|
48
47
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
49
|
-
ShadowRoot: (element: any) =>
|
|
48
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
50
49
|
styles?: Styles;
|
|
51
50
|
};
|
|
52
51
|
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 {DividerProps$1,
|
|
9
|
+
import type {DividerProps$1, ComponentChildren} from './shared.d.ts';
|
|
10
10
|
|
|
11
11
|
export interface DividerProps
|
|
12
12
|
extends Pick<DividerProps$1, 'direction' | 'color'> {
|
|
@@ -16,7 +16,7 @@ export interface DividerProps
|
|
|
16
16
|
|
|
17
17
|
export type Styles = string;
|
|
18
18
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
19
|
-
ShadowRoot: (element: any) =>
|
|
19
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
20
20
|
styles?: Styles;
|
|
21
21
|
};
|
|
22
22
|
export interface ActivationEventEsque {
|
|
@@ -74,7 +74,6 @@ declare abstract class PreactCustomElement extends BaseClass {
|
|
|
74
74
|
click({sourceEvent}?: ClickOptions): void;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
/** Used when an element does not have children. */
|
|
78
77
|
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
79
78
|
/** Assigns a unique key to this element. */
|
|
80
79
|
key?: preact.Key;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropZone.ab.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/DropZone/DropZone.ab.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"DropZone.ab.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/DropZone/DropZone.ab.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAkCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|