@shopify/ui-extensions 2025.10.0-rc.42 → 2025.10.0-rc.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/surfaces/checkout/shared.js +1 -1
- package/build/esm/surfaces/checkout/shared.mjs +1 -1
- package/build/esnext/surfaces/checkout/shared.esnext +1 -1
- package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
- package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
- package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
- package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
- package/build/ts/docs/shared/components/index.d.ts +4 -0
- package/build/ts/docs/shared/components/index.d.ts.map +1 -1
- package/build/ts/index.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Avatar.d.ts +4 -9
- package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Badge.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Banner.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Box.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Button.d.ts +26 -26
- package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/build/ts/surfaces/admin/components/Chip.d.ts +4 -4
- package/build/ts/surfaces/admin/components/Choice.d.ts +6 -11
- package/build/ts/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Clickable.d.ts +89 -32
- package/build/ts/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -3
- package/build/ts/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/build/ts/surfaces/admin/components/DateField.d.ts +12 -12
- package/build/ts/surfaces/admin/components/DatePicker.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
- package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Form.d.ts +7 -3
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
- package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Grid.d.ts +119 -12
- package/build/ts/surfaces/admin/components/GridItem.d.ts +66 -9
- package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Icon.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Image.d.ts +84 -27
- package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Link.d.ts +22 -22
- package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Modal.d.ts +16 -16
- package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/build/ts/surfaces/admin/components/NumberField.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Page.d.ts +14 -9
- package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Select.d.ts +29 -27
- package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Stack.d.ts +83 -9
- package/build/ts/surfaces/admin/components/Switch.d.ts +21 -21
- package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Table.d.ts +4 -4
- package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableCell.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TableRow.d.ts +3 -3
- package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Text.d.ts +3 -3
- package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -27
- package/build/ts/surfaces/admin/components/TextField.d.ts +28 -28
- package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/build/ts/surfaces/admin/components/URLField.d.ts +27 -27
- package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/build/ts/surfaces/admin/components/shared.d.ts +2 -2
- package/build/ts/surfaces/admin/extension-targets.d.ts +5 -5
- package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -1
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +2 -0
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +2 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
- package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/checkout/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/checkout/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
- package/build/ts/surfaces/checkout/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/checkout/components/components.d.ts +252 -24
- package/build/ts/surfaces/checkout/extension-targets.d.ts +61 -61
- package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts +6 -3
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +11 -0
- package/build/ts/surfaces/checkout.d.ts +1 -0
- package/build/ts/surfaces/checkout.d.ts.map +1 -1
- package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
- package/build/ts/surfaces/customer-account/components/Badge.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
- package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
- package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
- package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
- package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
- package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
- package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +7 -1
- package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +89 -0
- package/build/ts/surfaces/customer-account/components/components.d.ts +252 -24
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +12 -0
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +12 -0
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +2 -2
- package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
- package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/docs/shared/components/Announcement.ts +12 -0
- package/src/docs/shared/components/FunctionSettings.ts +28 -0
- package/src/docs/shared/components/ScrollBox.ts +12 -0
- package/src/docs/shared/components/index.ts +4 -0
- package/src/index.ts +1 -0
- package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
- package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
- package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
- package/src/surfaces/admin/components/Avatar.d.ts +4 -9
- package/src/surfaces/admin/components/Badge.d.ts +3 -3
- package/src/surfaces/admin/components/Banner.d.ts +18 -18
- package/src/surfaces/admin/components/Box.d.ts +66 -9
- package/src/surfaces/admin/components/Button.d.ts +26 -26
- package/src/surfaces/admin/components/ButtonGroup.d.ts +9 -6
- package/src/surfaces/admin/components/Checkbox.d.ts +22 -28
- package/src/surfaces/admin/components/Chip.d.ts +4 -4
- package/src/surfaces/admin/components/Choice.d.ts +6 -11
- package/src/surfaces/admin/components/ChoiceList.d.ts +18 -18
- package/src/surfaces/admin/components/Clickable.d.ts +89 -32
- package/src/surfaces/admin/components/ClickableChip.d.ts +17 -17
- package/src/surfaces/admin/components/ColorField.d.ts +3 -3
- package/src/surfaces/admin/components/ColorPicker.d.ts +8 -8
- package/src/surfaces/admin/components/DateField.d.ts +12 -12
- package/src/surfaces/admin/components/DatePicker.d.ts +3 -3
- package/src/surfaces/admin/components/Divider.d.ts +3 -3
- package/src/surfaces/admin/components/EmailField.d.ts +27 -27
- package/src/surfaces/admin/components/Form.d.ts +7 -3
- package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
- package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
- package/src/surfaces/admin/components/FunctionSettings.d.ts +3 -3
- package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
- package/src/surfaces/admin/components/Grid.d.ts +119 -12
- package/src/surfaces/admin/components/GridItem.d.ts +66 -9
- package/src/surfaces/admin/components/Heading.d.ts +3 -3
- package/src/surfaces/admin/components/Icon.d.ts +3 -3
- package/src/surfaces/admin/components/Image.d.ts +84 -27
- package/src/surfaces/admin/components/Link.d.ts +22 -22
- package/src/surfaces/admin/components/ListItem.d.ts +3 -3
- package/src/surfaces/admin/components/Menu.d.ts +3 -3
- package/src/surfaces/admin/components/Modal.d.ts +16 -16
- package/src/surfaces/admin/components/MoneyField.d.ts +30 -29
- package/src/surfaces/admin/components/NumberField.d.ts +29 -27
- package/src/surfaces/admin/components/Option.d.ts +6 -4
- package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
- package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
- package/src/surfaces/admin/components/Page.d.ts +14 -9
- package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
- package/src/surfaces/admin/components/PasswordField.d.ts +27 -27
- package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
- package/src/surfaces/admin/components/SearchField.d.ts +27 -27
- package/src/surfaces/admin/components/Section.d.ts +3 -3
- package/src/surfaces/admin/components/Select.d.ts +29 -27
- package/src/surfaces/admin/components/Spinner.d.ts +3 -3
- package/src/surfaces/admin/components/Stack.d.ts +83 -9
- package/src/surfaces/admin/components/Switch.d.ts +21 -21
- package/src/surfaces/admin/components/Table.d.ts +4 -4
- package/src/surfaces/admin/components/TableBody.d.ts +3 -3
- package/src/surfaces/admin/components/TableCell.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeader.d.ts +3 -3
- package/src/surfaces/admin/components/TableHeaderRow.d.ts +3 -3
- package/src/surfaces/admin/components/TableRow.d.ts +3 -3
- package/src/surfaces/admin/components/Text.d.ts +3 -3
- package/src/surfaces/admin/components/TextArea.d.ts +27 -27
- package/src/surfaces/admin/components/TextField.d.ts +28 -28
- package/src/surfaces/admin/components/Thumbnail.d.ts +11 -11
- package/src/surfaces/admin/components/Tooltip.d.ts +3 -3
- package/src/surfaces/admin/components/URLField.d.ts +27 -27
- package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
- package/src/surfaces/admin/components/shared.d.ts +2 -2
- package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
- package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
- package/src/surfaces/admin/components.d.ts +655 -105
- package/src/surfaces/admin/extension-targets.ts +5 -5
- package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
- package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
- package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
- package/src/surfaces/checkout/components/Badge.d.ts +7 -1
- package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
- package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
- package/src/surfaces/checkout/components/Chip.d.ts +56 -0
- package/src/surfaces/checkout/components/Choice.d.ts +67 -0
- package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
- package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
- package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
- package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
- package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
- package/src/surfaces/checkout/components/DateField.d.ts +87 -0
- package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
- package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
- package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
- package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
- package/src/surfaces/checkout/components/Icon.d.ts +7 -1
- package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +1 -1
- package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -1
- package/src/surfaces/checkout/components/Option.d.ts +46 -0
- package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
- package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
- package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -7
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -1
- package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
- package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
- package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
- package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
- package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
- package/src/surfaces/checkout/components/Select.d.ts +79 -0
- package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
- package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -20
- package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -1
- package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +1 -1
- package/src/surfaces/checkout/components/TextField.d.ts +7 -1
- package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
- package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
- package/src/surfaces/checkout/components/components-shared.d.ts +89 -0
- package/src/surfaces/checkout/components/components.d.ts +252 -24
- package/src/surfaces/checkout/extension-targets.ts +63 -62
- package/src/surfaces/checkout/shared.ts +15 -8
- package/src/surfaces/checkout.ts +1 -0
- package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +2 -2
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +5 -11
- package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -2
- package/build/ts/surfaces/admin/components/DropZone.d.ts +0 -160
- package/build/ts/surfaces/admin/components/Popover.d.ts +0 -379
- package/src/surfaces/admin/components/DropZone.d.ts +0 -160
- package/src/surfaces/admin/components/Popover.d.ts +0 -379
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** VERSION: 1.
|
|
1
|
+
/** VERSION: 1.20.0 **/
|
|
2
2
|
|
|
3
3
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
4
4
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* TODO: Update `any` type here after this is resolved
|
|
11
11
|
* https://github.com/Shopify/ui-api-design/issues/139
|
|
12
12
|
*/
|
|
13
|
-
export type ComponentChildren =
|
|
13
|
+
export type ComponentChildren = preact.ComponentChildren;
|
|
14
14
|
export type StringChildren = string;
|
|
15
15
|
export interface GlobalProps {
|
|
16
16
|
/**
|
|
@@ -4271,7 +4271,7 @@ export interface AvatarProps
|
|
|
4271
4271
|
|
|
4272
4272
|
export type Styles = string;
|
|
4273
4273
|
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
4274
|
-
ShadowRoot: (element: any) =>
|
|
4274
|
+
ShadowRoot: (element: any) => ComponentChildren;
|
|
4275
4275
|
styles?: Styles;
|
|
4276
4276
|
};
|
|
4277
4277
|
export interface ActivationEventEsque {
|
|
@@ -4402,7 +4402,7 @@ declare global {
|
|
|
4402
4402
|
declare module 'preact' {
|
|
4403
4403
|
namespace createElement.JSX {
|
|
4404
4404
|
interface IntrinsicElements {
|
|
4405
|
-
[tagName$Z]: AvatarJSXProps &
|
|
4405
|
+
[tagName$Z]: AvatarJSXProps & PreactBaseElementProps<Avatar>;
|
|
4406
4406
|
}
|
|
4407
4407
|
}
|
|
4408
4408
|
}
|
|
@@ -4466,7 +4466,12 @@ declare module 'preact' {
|
|
|
4466
4466
|
declare const tagName$Y = 's-badge';
|
|
4467
4467
|
export interface BadgeJSXProps
|
|
4468
4468
|
extends Partial<BadgeProps>,
|
|
4469
|
-
Pick<BadgeProps$1, 'id'> {
|
|
4469
|
+
Pick<BadgeProps$1, 'id' | 'children'> {
|
|
4470
|
+
/**
|
|
4471
|
+
* The content of the Badge.
|
|
4472
|
+
*/
|
|
4473
|
+
children?: ComponentChildren;
|
|
4474
|
+
}
|
|
4470
4475
|
|
|
4471
4476
|
export type RequiredBannerProps = Required<BannerProps$1>;
|
|
4472
4477
|
export interface BannerProps
|
|
@@ -4504,13 +4509,17 @@ declare module 'preact' {
|
|
|
4504
4509
|
declare const tagName$X = 's-banner';
|
|
4505
4510
|
export interface BannerJSXProps
|
|
4506
4511
|
extends Partial<BannerProps>,
|
|
4507
|
-
Pick<BannerProps$1, 'id'> {
|
|
4512
|
+
Pick<BannerProps$1, 'id' | 'children'> {
|
|
4513
|
+
/**
|
|
4514
|
+
* The content of the Banner.
|
|
4515
|
+
*/
|
|
4516
|
+
children?: ComponentChildren;
|
|
4508
4517
|
/**
|
|
4509
|
-
* The secondary actions to display at the bottom of the
|
|
4518
|
+
* The secondary actions to display at the bottom of the Banner.
|
|
4510
4519
|
*
|
|
4511
|
-
*
|
|
4520
|
+
* Only Buttons with the `variant` of "secondary" or "auto" are permitted. A maximum of two `s-button` components are allowed.
|
|
4512
4521
|
*/
|
|
4513
|
-
secondaryActions?:
|
|
4522
|
+
secondaryActions?: ComponentChildren;
|
|
4514
4523
|
onDismiss?: ((event: CallbackEvent<typeof tagName$X>) => void) | null;
|
|
4515
4524
|
onAfterHide?: ((event: CallbackEvent<typeof tagName$X>) => void) | null;
|
|
4516
4525
|
}
|
|
@@ -4583,10 +4592,20 @@ export interface BoxProps
|
|
|
4583
4592
|
| 'minInlineSize'
|
|
4584
4593
|
| 'overflow'
|
|
4585
4594
|
> {
|
|
4595
|
+
/**
|
|
4596
|
+
* Adjust the background of the component.
|
|
4597
|
+
*
|
|
4598
|
+
* @default 'transparent'
|
|
4599
|
+
*/
|
|
4586
4600
|
background: Extract<
|
|
4587
4601
|
RequiredBoxProps['background'],
|
|
4588
4602
|
'transparent' | 'base' | 'subdued' | 'strong'
|
|
4589
4603
|
>;
|
|
4604
|
+
/**
|
|
4605
|
+
* Adjust the width of the border.
|
|
4606
|
+
*
|
|
4607
|
+
* @default '' - meaning no override
|
|
4608
|
+
*/
|
|
4590
4609
|
borderWidth:
|
|
4591
4610
|
| MaybeAllValuesShorthandProperty<
|
|
4592
4611
|
Extract<
|
|
@@ -4595,13 +4614,28 @@ export interface BoxProps
|
|
|
4595
4614
|
>
|
|
4596
4615
|
>
|
|
4597
4616
|
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
4617
|
+
/**
|
|
4618
|
+
* Adjust the style of the border.
|
|
4619
|
+
*
|
|
4620
|
+
* @default '' - meaning no override
|
|
4621
|
+
*/
|
|
4598
4622
|
borderStyle:
|
|
4599
4623
|
| MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
4600
4624
|
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
4625
|
+
/**
|
|
4626
|
+
* Adjust the color of the border.
|
|
4627
|
+
*
|
|
4628
|
+
* @default '' - meaning no override
|
|
4629
|
+
*/
|
|
4601
4630
|
borderColor: Extract<
|
|
4602
4631
|
RequiredBoxProps['borderColor'],
|
|
4603
4632
|
'subdued' | 'base' | 'strong' | ''
|
|
4604
4633
|
>;
|
|
4634
|
+
/**
|
|
4635
|
+
* Adjust the radius of the border.
|
|
4636
|
+
*
|
|
4637
|
+
* @default 'none'
|
|
4638
|
+
*/
|
|
4605
4639
|
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
4606
4640
|
/**
|
|
4607
4641
|
* Adjust the padding of all edges.
|
|
@@ -4698,12 +4732,42 @@ export interface BoxProps
|
|
|
4698
4732
|
* @default 'auto'
|
|
4699
4733
|
*/
|
|
4700
4734
|
display: ResponsiveBoxProps['display'];
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4735
|
+
/**
|
|
4736
|
+
* Adjust the [block size](https://developer.mozilla.org/en-US/docs/Web/CSS/block-size).
|
|
4737
|
+
*
|
|
4738
|
+
* @default 'auto'
|
|
4739
|
+
*/
|
|
4740
|
+
blockSize: SizeUnitsOrAuto;
|
|
4741
|
+
/**
|
|
4742
|
+
* Adjust the [minimum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size).
|
|
4743
|
+
*
|
|
4744
|
+
* @default '0'
|
|
4745
|
+
*/
|
|
4746
|
+
minBlockSize: SizeUnits;
|
|
4747
|
+
/**
|
|
4748
|
+
* Adjust the [maximum block size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size).
|
|
4749
|
+
*
|
|
4750
|
+
* @default 'none'
|
|
4751
|
+
*/
|
|
4752
|
+
maxBlockSize: SizeUnitsOrNone;
|
|
4753
|
+
/**
|
|
4754
|
+
* Adjust the [inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size).
|
|
4755
|
+
*
|
|
4756
|
+
* @default 'auto'
|
|
4757
|
+
*/
|
|
4758
|
+
inlineSize: SizeUnitsOrAuto;
|
|
4759
|
+
/**
|
|
4760
|
+
* Adjust the [minimum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size).
|
|
4761
|
+
*
|
|
4762
|
+
* @default '0'
|
|
4763
|
+
*/
|
|
4764
|
+
minInlineSize: SizeUnits;
|
|
4765
|
+
/**
|
|
4766
|
+
* Adjust the [maximum inline size](https://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size).
|
|
4767
|
+
*
|
|
4768
|
+
* @default 'none'
|
|
4769
|
+
*/
|
|
4770
|
+
maxInlineSize: SizeUnitsOrNone;
|
|
4707
4771
|
}
|
|
4708
4772
|
|
|
4709
4773
|
declare class BoxElement extends PreactCustomElement implements BoxProps {
|
|
@@ -4753,7 +4817,12 @@ declare module 'preact' {
|
|
|
4753
4817
|
declare const tagName$W = 's-box';
|
|
4754
4818
|
export interface BoxJSXProps
|
|
4755
4819
|
extends Partial<BoxProps>,
|
|
4756
|
-
Pick<BoxProps$1, 'id'> {
|
|
4820
|
+
Pick<BoxProps$1, 'id' | 'children'> {
|
|
4821
|
+
/**
|
|
4822
|
+
* The content of the Box.
|
|
4823
|
+
*/
|
|
4824
|
+
children?: ComponentChildren;
|
|
4825
|
+
}
|
|
4757
4826
|
|
|
4758
4827
|
export type ButtonOnlyProps = Extract<
|
|
4759
4828
|
ButtonProps$1,
|
|
@@ -4846,7 +4915,11 @@ declare module 'preact' {
|
|
|
4846
4915
|
declare const tagName$V = 's-button';
|
|
4847
4916
|
export interface ButtonJSXProps
|
|
4848
4917
|
extends Partial<ButtonProps>,
|
|
4849
|
-
Pick<ButtonProps$1, 'id'> {
|
|
4918
|
+
Pick<ButtonProps$1, 'id' | 'children'> {
|
|
4919
|
+
/**
|
|
4920
|
+
* The content of the Button.
|
|
4921
|
+
*/
|
|
4922
|
+
children?: ComponentChildren;
|
|
4850
4923
|
onClick?: ((event: CallbackEvent<typeof tagName$V>) => void) | null;
|
|
4851
4924
|
onFocus?: ((event: CallbackEvent<typeof tagName$V>) => void) | null;
|
|
4852
4925
|
onBlur?: ((event: CallbackEvent<typeof tagName$V>) => void) | null;
|
|
@@ -4871,7 +4944,10 @@ declare global {
|
|
|
4871
4944
|
declare module 'preact' {
|
|
4872
4945
|
namespace createElement.JSX {
|
|
4873
4946
|
interface IntrinsicElements {
|
|
4874
|
-
[tagName$U]:
|
|
4947
|
+
[tagName$U]: Omit<
|
|
4948
|
+
ButtonGroupJSXProps,
|
|
4949
|
+
'primaryAction' | 'secondaryActions'
|
|
4950
|
+
> &
|
|
4875
4951
|
PreactBaseElementPropsWithChildren<ButtonGroup>;
|
|
4876
4952
|
}
|
|
4877
4953
|
}
|
|
@@ -4880,18 +4956,22 @@ declare module 'preact' {
|
|
|
4880
4956
|
declare const tagName$U = 's-button-group';
|
|
4881
4957
|
export interface ButtonGroupJSXProps
|
|
4882
4958
|
extends Partial<ButtonGroupProps>,
|
|
4883
|
-
Pick<ButtonGroupProps$1, 'id'> {
|
|
4959
|
+
Pick<ButtonGroupProps$1, 'id' | 'children'> {
|
|
4960
|
+
/**
|
|
4961
|
+
* The content of the ButtonGroup.
|
|
4962
|
+
*/
|
|
4963
|
+
children?: ComponentChildren;
|
|
4884
4964
|
/**
|
|
4885
4965
|
* The primary action button for the group.
|
|
4886
4966
|
* Accepts a single Button element with a `variant` of `primary`.
|
|
4887
4967
|
* Cannot be used when gap="none".
|
|
4888
4968
|
*/
|
|
4889
|
-
primaryAction?:
|
|
4969
|
+
primaryAction?: ComponentChildren;
|
|
4890
4970
|
/**
|
|
4891
4971
|
* Secondary action buttons for the group.
|
|
4892
4972
|
* Accepts Button elements with a `variant` of `secondary` or `auto`.
|
|
4893
4973
|
*/
|
|
4894
|
-
secondaryActions?:
|
|
4974
|
+
secondaryActions?: ComponentChildren;
|
|
4895
4975
|
}
|
|
4896
4976
|
|
|
4897
4977
|
declare const internals$4: unique symbol;
|
|
@@ -4972,8 +5052,7 @@ declare global {
|
|
|
4972
5052
|
declare module 'preact' {
|
|
4973
5053
|
namespace createElement.JSX {
|
|
4974
5054
|
interface IntrinsicElements {
|
|
4975
|
-
[tagName$T]: CheckboxJSXProps &
|
|
4976
|
-
PreactBaseElementPropsWithChildren<Checkbox>;
|
|
5055
|
+
[tagName$T]: CheckboxJSXProps & PreactBaseElementProps<Checkbox>;
|
|
4977
5056
|
}
|
|
4978
5057
|
}
|
|
4979
5058
|
}
|
|
@@ -5015,13 +5094,17 @@ declare module 'preact' {
|
|
|
5015
5094
|
declare const tagName$S = 's-chip';
|
|
5016
5095
|
export interface ChipJSXProps
|
|
5017
5096
|
extends Partial<ChipProps>,
|
|
5018
|
-
Pick<ChipProps$2, 'id'> {
|
|
5097
|
+
Pick<ChipProps$2, 'id' | 'children'> {
|
|
5098
|
+
/**
|
|
5099
|
+
* The content of the Chip.
|
|
5100
|
+
*/
|
|
5101
|
+
children?: ComponentChildren;
|
|
5019
5102
|
/**
|
|
5020
5103
|
* The graphic to display in the chip.
|
|
5021
5104
|
*
|
|
5022
5105
|
* Only accepts `Icon` components.
|
|
5023
5106
|
*/
|
|
5024
|
-
graphic?:
|
|
5107
|
+
graphic?: ComponentChildren;
|
|
5025
5108
|
}
|
|
5026
5109
|
|
|
5027
5110
|
export interface ChoiceProps
|
|
@@ -5034,16 +5117,7 @@ export interface ChoiceProps
|
|
|
5034
5117
|
| 'accessibilityLabel'
|
|
5035
5118
|
| 'value'
|
|
5036
5119
|
>
|
|
5037
|
-
> {
|
|
5038
|
-
/**
|
|
5039
|
-
* Content to use as the choice label.
|
|
5040
|
-
*
|
|
5041
|
-
* The label is produced by extracting and
|
|
5042
|
-
* concatenating the text nodes from the provided content;
|
|
5043
|
-
* any markup or element structure is ignored.
|
|
5044
|
-
*/
|
|
5045
|
-
children: ComponentChildren;
|
|
5046
|
-
}
|
|
5120
|
+
> {}
|
|
5047
5121
|
|
|
5048
5122
|
declare class Choice extends PreactCustomElement implements ChoiceProps {
|
|
5049
5123
|
accessor disabled: ChoiceProps['disabled'];
|
|
@@ -5066,7 +5140,8 @@ declare global {
|
|
|
5066
5140
|
declare module 'preact' {
|
|
5067
5141
|
namespace createElement.JSX {
|
|
5068
5142
|
interface IntrinsicElements {
|
|
5069
|
-
[tagName$R]: ChoiceJSXProps &
|
|
5143
|
+
[tagName$R]: Omit<ChoiceJSXProps, 'details'> &
|
|
5144
|
+
PreactBaseElementPropsWithChildren<Choice>;
|
|
5070
5145
|
}
|
|
5071
5146
|
}
|
|
5072
5147
|
}
|
|
@@ -5074,8 +5149,15 @@ declare module 'preact' {
|
|
|
5074
5149
|
declare const tagName$R = 's-choice';
|
|
5075
5150
|
export interface ChoiceJSXProps
|
|
5076
5151
|
extends Partial<ChoiceProps>,
|
|
5077
|
-
Pick<ChoiceProps$1, 'id'> {
|
|
5078
|
-
|
|
5152
|
+
Pick<ChoiceProps$1, 'id' | 'children' | 'details'> {
|
|
5153
|
+
/**
|
|
5154
|
+
* Content to use as the choice label.
|
|
5155
|
+
*
|
|
5156
|
+
* The label is produced by extracting and
|
|
5157
|
+
* concatenating the text nodes from the provided content;
|
|
5158
|
+
* any markup or element structure is ignored.
|
|
5159
|
+
*/
|
|
5160
|
+
children?: ComponentChildren;
|
|
5079
5161
|
}
|
|
5080
5162
|
|
|
5081
5163
|
export interface ChoiceListProps
|
|
@@ -5135,7 +5217,13 @@ declare module 'preact' {
|
|
|
5135
5217
|
declare const tagName$Q = 's-choice-list';
|
|
5136
5218
|
export interface ChoiceListJSXProps
|
|
5137
5219
|
extends Partial<ChoiceListProps>,
|
|
5138
|
-
Pick<ChoiceListProps$1, 'id'> {
|
|
5220
|
+
Pick<ChoiceListProps$1, 'id' | 'children'> {
|
|
5221
|
+
/**
|
|
5222
|
+
* The choices a user can select from.
|
|
5223
|
+
*
|
|
5224
|
+
* Accepts `Choice` components.
|
|
5225
|
+
*/
|
|
5226
|
+
children?: ComponentChildren;
|
|
5139
5227
|
onChange?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
|
|
5140
5228
|
onInput?: ((event: CallbackEvent<typeof tagName$Q>) => void) | null;
|
|
5141
5229
|
}
|
|
@@ -5190,7 +5278,11 @@ declare module 'preact' {
|
|
|
5190
5278
|
declare const tagName$P = 's-clickable';
|
|
5191
5279
|
export interface ClickableJSXProps
|
|
5192
5280
|
extends Partial<ClickableProps>,
|
|
5193
|
-
Pick<ClickableProps$1, 'id'> {
|
|
5281
|
+
Pick<ClickableProps$1, 'id' | 'children'> {
|
|
5282
|
+
/**
|
|
5283
|
+
* The content of the Clickable.
|
|
5284
|
+
*/
|
|
5285
|
+
children?: ComponentChildren;
|
|
5194
5286
|
onClick?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
5195
5287
|
onFocus?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
5196
5288
|
onBlur?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
@@ -5242,13 +5334,17 @@ declare module 'preact' {
|
|
|
5242
5334
|
declare const tagName$O = 's-clickable-chip';
|
|
5243
5335
|
export interface ClickableChipJSXProps
|
|
5244
5336
|
extends Partial<ClickableChipProps>,
|
|
5245
|
-
Pick<ClickableChipProps$1, 'id'> {
|
|
5337
|
+
Pick<ClickableChipProps$1, 'id' | 'children'> {
|
|
5338
|
+
/**
|
|
5339
|
+
* The content of the clickable chip.
|
|
5340
|
+
*/
|
|
5341
|
+
children?: ComponentChildren;
|
|
5246
5342
|
/**
|
|
5247
5343
|
* The graphic to display in the clickable chip.
|
|
5248
5344
|
*
|
|
5249
5345
|
* Only accepts `Icon` components.
|
|
5250
5346
|
*/
|
|
5251
|
-
graphic?:
|
|
5347
|
+
graphic?: ComponentChildren;
|
|
5252
5348
|
onClick?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
|
|
5253
5349
|
onRemove?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
|
|
5254
5350
|
onAfterHide?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
|
|
@@ -5647,6 +5743,10 @@ declare const tagName$I = 's-drop-zone';
|
|
|
5647
5743
|
export interface DropZoneJSXProps
|
|
5648
5744
|
extends Partial<DropZoneProps>,
|
|
5649
5745
|
Pick<DropZoneProps$1, 'id'> {
|
|
5746
|
+
/**
|
|
5747
|
+
* Content to include inside the DropZone container
|
|
5748
|
+
*/
|
|
5749
|
+
children?: ComponentChildren;
|
|
5650
5750
|
onChange?: ((event: CallbackEvent<typeof tagName$I>) => void) | null;
|
|
5651
5751
|
onInput?: ((event: CallbackEvent<typeof tagName$I>) => void) | null;
|
|
5652
5752
|
onDropRejected?: ((event: CallbackEvent<typeof tagName$I>) => void) | null;
|
|
@@ -5688,15 +5788,13 @@ export interface EmailFieldJSXProps
|
|
|
5688
5788
|
export type RequiredAlignedProps = Required<GridProps$1>;
|
|
5689
5789
|
export type ResponsiveGridProps = MakeResponsivePick<
|
|
5690
5790
|
RequiredAlignedProps,
|
|
5691
|
-
'rowGap' | 'columnGap' | 'gap'
|
|
5791
|
+
'rowGap' | 'columnGap' | 'gap' | 'gridTemplateColumns' | 'gridTemplateRows'
|
|
5692
5792
|
>;
|
|
5693
5793
|
export interface GridProps
|
|
5694
5794
|
extends BoxProps,
|
|
5695
5795
|
Required<
|
|
5696
5796
|
Pick<
|
|
5697
5797
|
GridProps$1,
|
|
5698
|
-
| 'gridTemplateColumns'
|
|
5699
|
-
| 'gridTemplateRows'
|
|
5700
5798
|
| 'alignItems'
|
|
5701
5799
|
| 'justifyItems'
|
|
5702
5800
|
| 'placeItems'
|
|
@@ -5705,11 +5803,45 @@ export interface GridProps
|
|
|
5705
5803
|
| 'placeContent'
|
|
5706
5804
|
>
|
|
5707
5805
|
> {
|
|
5806
|
+
/**
|
|
5807
|
+
* Aligns the grid items along the block axis.
|
|
5808
|
+
*
|
|
5809
|
+
* @default '' - meaning no override
|
|
5810
|
+
*/
|
|
5708
5811
|
alignItems: AlignItemsKeyword | '';
|
|
5812
|
+
/**
|
|
5813
|
+
* Aligns the grid items along the inline axis.
|
|
5814
|
+
*
|
|
5815
|
+
* @default '' - meaning no override
|
|
5816
|
+
*/
|
|
5709
5817
|
justifyItems: JustifyItemsKeyword | '';
|
|
5818
|
+
/**
|
|
5819
|
+
* A shorthand property for `justify-items` and `align-items`.
|
|
5820
|
+
*
|
|
5821
|
+
* @default 'normal normal'
|
|
5822
|
+
*/
|
|
5710
5823
|
placeItems: `${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword;
|
|
5824
|
+
/**
|
|
5825
|
+
* Aligns the grid along the block axis.
|
|
5826
|
+
*
|
|
5827
|
+
* This overrides the block value of `placeContent`.
|
|
5828
|
+
*
|
|
5829
|
+
* @default '' - meaning no override
|
|
5830
|
+
*/
|
|
5711
5831
|
alignContent: AlignContentKeyword | '';
|
|
5832
|
+
/**
|
|
5833
|
+
* Aligns the grid along the inline axis.
|
|
5834
|
+
*
|
|
5835
|
+
* This overrides the inline value of `placeContent`.
|
|
5836
|
+
*
|
|
5837
|
+
* @default '' - meaning no override
|
|
5838
|
+
*/
|
|
5712
5839
|
justifyContent: JustifyContentKeyword | '';
|
|
5840
|
+
/**
|
|
5841
|
+
* A shorthand property for `justify-content` and `align-content`.
|
|
5842
|
+
*
|
|
5843
|
+
* @default 'normal normal'
|
|
5844
|
+
*/
|
|
5713
5845
|
placeContent:
|
|
5714
5846
|
| `${AlignContentKeyword} ${JustifyContentKeyword}`
|
|
5715
5847
|
| AlignContentKeyword;
|
|
@@ -5746,6 +5878,24 @@ export interface GridProps
|
|
|
5746
5878
|
* @default '' - meaning no override
|
|
5747
5879
|
*/
|
|
5748
5880
|
columnGap: ResponsiveGridProps['columnGap'];
|
|
5881
|
+
/**
|
|
5882
|
+
* Define columns and specify their size.
|
|
5883
|
+
* `gridTemplateColumns` either accepts:
|
|
5884
|
+
* - [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (e.g. `1fr auto`)
|
|
5885
|
+
* - OR [responsive values](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported track sizing values as a query value.
|
|
5886
|
+
*
|
|
5887
|
+
* @default 'none'
|
|
5888
|
+
*/
|
|
5889
|
+
gridTemplateColumns: ResponsiveGridProps['gridTemplateColumns'];
|
|
5890
|
+
/**
|
|
5891
|
+
* Define rows and specify their size.
|
|
5892
|
+
* `gridTemplateRows` either accepts:
|
|
5893
|
+
* - [track sizing values](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout/Basic_concepts_of_grid_layout#fixed_and_flexible_track_sizes) (e.g. `1fr auto`)
|
|
5894
|
+
* - OR [responsive values](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported track sizing values as a query value.
|
|
5895
|
+
*
|
|
5896
|
+
* @default 'none'
|
|
5897
|
+
*/
|
|
5898
|
+
gridTemplateRows: ResponsiveGridProps['gridTemplateRows'];
|
|
5749
5899
|
}
|
|
5750
5900
|
|
|
5751
5901
|
declare class Grid extends BoxElement implements GridProps {
|
|
@@ -5778,7 +5928,12 @@ declare module 'preact' {
|
|
|
5778
5928
|
declare const tagName$G = 's-grid';
|
|
5779
5929
|
export interface GridJSXProps
|
|
5780
5930
|
extends Partial<GridProps>,
|
|
5781
|
-
Pick<GridProps$1, 'id'> {
|
|
5931
|
+
Pick<GridProps$1, 'id' | 'children'> {
|
|
5932
|
+
/**
|
|
5933
|
+
* The content of the Grid.
|
|
5934
|
+
*/
|
|
5935
|
+
children?: ComponentChildren;
|
|
5936
|
+
}
|
|
5782
5937
|
|
|
5783
5938
|
export type RequiredGridItemProps = Required<GridItemProps$1>;
|
|
5784
5939
|
export interface GridItemProps
|
|
@@ -5810,7 +5965,12 @@ declare module 'preact' {
|
|
|
5810
5965
|
declare const tagName$F = 's-grid-item';
|
|
5811
5966
|
export interface GridItemJSXProps
|
|
5812
5967
|
extends Partial<GridItemProps>,
|
|
5813
|
-
Pick<GridItemProps$1, 'id'> {
|
|
5968
|
+
Pick<GridItemProps$1, 'id' | 'children'> {
|
|
5969
|
+
/**
|
|
5970
|
+
* The content of the GridItem.
|
|
5971
|
+
*/
|
|
5972
|
+
children?: ComponentChildren;
|
|
5973
|
+
}
|
|
5814
5974
|
|
|
5815
5975
|
export type RequiredHeadingProps = Required<HeadingProps$1>;
|
|
5816
5976
|
export interface HeadingProps
|
|
@@ -5846,7 +6006,12 @@ declare module 'preact' {
|
|
|
5846
6006
|
declare const tagName$E = 's-heading';
|
|
5847
6007
|
export interface HeadingJSXProps
|
|
5848
6008
|
extends Partial<HeadingProps>,
|
|
5849
|
-
Pick<HeadingProps$1, 'id'> {
|
|
6009
|
+
Pick<HeadingProps$1, 'id' | 'children'> {
|
|
6010
|
+
/**
|
|
6011
|
+
* The content of the Heading.
|
|
6012
|
+
*/
|
|
6013
|
+
children?: ComponentChildren;
|
|
6014
|
+
}
|
|
5850
6015
|
|
|
5851
6016
|
declare class Icon extends PreactCustomElement implements IconProps {
|
|
5852
6017
|
accessor color: IconProps['color'];
|
|
@@ -5986,7 +6151,11 @@ declare module 'preact' {
|
|
|
5986
6151
|
declare const tagName$B = 's-link';
|
|
5987
6152
|
export interface LinkJSXProps
|
|
5988
6153
|
extends Partial<LinkProps>,
|
|
5989
|
-
Pick<LinkProps$1, 'id' | 'lang'> {
|
|
6154
|
+
Pick<LinkProps$1, 'id' | 'lang' | 'children'> {
|
|
6155
|
+
/**
|
|
6156
|
+
* The content of the Link.
|
|
6157
|
+
*/
|
|
6158
|
+
children?: ComponentChildren;
|
|
5990
6159
|
onClick?: ((event: CallbackEvent<typeof tagName$B>) => void) | null;
|
|
5991
6160
|
}
|
|
5992
6161
|
|
|
@@ -6012,7 +6181,12 @@ declare module 'preact' {
|
|
|
6012
6181
|
declare const tagName$A = 's-list-item';
|
|
6013
6182
|
export interface ListItemJSXProps
|
|
6014
6183
|
extends Partial<ListItemProps>,
|
|
6015
|
-
Pick<ListItemProps$1, 'id'> {
|
|
6184
|
+
Pick<ListItemProps$1, 'id' | 'children'> {
|
|
6185
|
+
/**
|
|
6186
|
+
* The content of the ListItem.
|
|
6187
|
+
*/
|
|
6188
|
+
children?: ComponentChildren;
|
|
6189
|
+
}
|
|
6016
6190
|
|
|
6017
6191
|
export interface MenuProps
|
|
6018
6192
|
extends Required<Pick<MenuProps$1, 'id' | 'accessibilityLabel'>> {}
|
|
@@ -6079,13 +6253,13 @@ declare module 'preact' {
|
|
|
6079
6253
|
declare const tagName$z = 's-menu';
|
|
6080
6254
|
export interface MenuJSXProps
|
|
6081
6255
|
extends Partial<MenuProps>,
|
|
6082
|
-
Pick<MenuProps$1, 'id'> {
|
|
6256
|
+
Pick<MenuProps$1, 'id' | 'children'> {
|
|
6083
6257
|
/**
|
|
6084
6258
|
* The Menu items.
|
|
6085
6259
|
*
|
|
6086
6260
|
* Only accepts `Button` and `Section` components.
|
|
6087
6261
|
*/
|
|
6088
|
-
children?:
|
|
6262
|
+
children?: ComponentChildren;
|
|
6089
6263
|
}
|
|
6090
6264
|
|
|
6091
6265
|
export type RequiredAlignedModalProps = Required<ModalProps$1>;
|
|
@@ -6175,7 +6349,7 @@ declare module 'preact' {
|
|
|
6175
6349
|
HTMLAttributes<HTMLElement>,
|
|
6176
6350
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
6177
6351
|
> &
|
|
6178
|
-
ModalJSXProps
|
|
6352
|
+
Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>;
|
|
6179
6353
|
}
|
|
6180
6354
|
}
|
|
6181
6355
|
}
|
|
@@ -6184,18 +6358,22 @@ declare const tagName$y = 's-modal';
|
|
|
6184
6358
|
export interface ModalJSXProps
|
|
6185
6359
|
extends Partial<ModalProps>,
|
|
6186
6360
|
Pick<ModalProps$1, 'id' | 'children'> {
|
|
6361
|
+
/**
|
|
6362
|
+
* The content of the Modal.
|
|
6363
|
+
*/
|
|
6364
|
+
children?: ComponentChildren;
|
|
6187
6365
|
/**
|
|
6188
6366
|
* The primary action to perform.
|
|
6189
6367
|
*
|
|
6190
6368
|
* Only a `Button` with a variant of `primary` is allowed.
|
|
6191
6369
|
*/
|
|
6192
|
-
primaryAction?:
|
|
6370
|
+
primaryAction?: ComponentChildren;
|
|
6193
6371
|
/**
|
|
6194
6372
|
* The secondary actions to perform.
|
|
6195
6373
|
*
|
|
6196
6374
|
* Only `ButtonGroup` or `Button` with a variant of `secondary` or `auto` are allowed.
|
|
6197
6375
|
*/
|
|
6198
|
-
secondaryActions?:
|
|
6376
|
+
secondaryActions?: ComponentChildren;
|
|
6199
6377
|
onHide?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
|
|
6200
6378
|
onShow?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
|
|
6201
6379
|
onAfterHide?: ((event: CallbackEvent<typeof tagName$y>) => void) | null;
|
|
@@ -6205,7 +6383,7 @@ export interface ModalJSXProps
|
|
|
6205
6383
|
export type RequiredMoneyFieldProps = Required<MoneyFieldProps$1>;
|
|
6206
6384
|
export interface MoneyFieldProps
|
|
6207
6385
|
extends Omit<PreactFieldProps, 'value'>,
|
|
6208
|
-
Pick<RequiredMoneyFieldProps, 'max' | 'min'
|
|
6386
|
+
Pick<RequiredMoneyFieldProps, 'max' | 'min'> {
|
|
6209
6387
|
value: Required<MoneyFieldProps$1>['value'];
|
|
6210
6388
|
}
|
|
6211
6389
|
|
|
@@ -6215,7 +6393,8 @@ declare class MoneyField
|
|
|
6215
6393
|
{
|
|
6216
6394
|
accessor max: MoneyFieldProps['max'];
|
|
6217
6395
|
accessor min: MoneyFieldProps['min'];
|
|
6218
|
-
|
|
6396
|
+
get value(): string;
|
|
6397
|
+
set value(value: string);
|
|
6219
6398
|
constructor();
|
|
6220
6399
|
}
|
|
6221
6400
|
declare global {
|
|
@@ -6255,6 +6434,8 @@ declare class NumberField
|
|
|
6255
6434
|
extends PreactFieldElement<NumberFieldProps['autocomplete']>
|
|
6256
6435
|
implements NumberFieldProps
|
|
6257
6436
|
{
|
|
6437
|
+
get value(): string;
|
|
6438
|
+
set value(value: string);
|
|
6258
6439
|
accessor inputMode: NumberFieldProps['inputMode'];
|
|
6259
6440
|
accessor step: NumberFieldProps['step'];
|
|
6260
6441
|
accessor max: NumberFieldProps['max'];
|
|
@@ -6308,7 +6489,14 @@ declare module 'preact' {
|
|
|
6308
6489
|
}
|
|
6309
6490
|
|
|
6310
6491
|
declare const tagName$v = 's-option';
|
|
6311
|
-
export interface OptionJSXProps
|
|
6492
|
+
export interface OptionJSXProps
|
|
6493
|
+
extends Partial<OptionProps>,
|
|
6494
|
+
Pick<OptionProps$1, 'id' | 'children'> {
|
|
6495
|
+
/**
|
|
6496
|
+
* The content to use as the label.
|
|
6497
|
+
*/
|
|
6498
|
+
children?: ComponentChildren;
|
|
6499
|
+
}
|
|
6312
6500
|
|
|
6313
6501
|
export interface OptionGroupProps
|
|
6314
6502
|
extends Required<Pick<OptionGroupProps$1, 'disabled' | 'label'>> {}
|
|
@@ -6336,7 +6524,16 @@ declare module 'preact' {
|
|
|
6336
6524
|
}
|
|
6337
6525
|
|
|
6338
6526
|
declare const tagName$u = 's-option-group';
|
|
6339
|
-
export interface OptionGroupJSXProps
|
|
6527
|
+
export interface OptionGroupJSXProps
|
|
6528
|
+
extends Partial<OptionGroupProps>,
|
|
6529
|
+
Pick<OptionGroupProps$1, 'id' | 'children'> {
|
|
6530
|
+
/**
|
|
6531
|
+
* The options a user can select from.
|
|
6532
|
+
*
|
|
6533
|
+
* Accepts `Option` components.
|
|
6534
|
+
*/
|
|
6535
|
+
children?: ComponentChildren;
|
|
6536
|
+
}
|
|
6340
6537
|
|
|
6341
6538
|
export interface OrderedListProps extends OrderedListProps$1 {}
|
|
6342
6539
|
|
|
@@ -6363,7 +6560,14 @@ declare module 'preact' {
|
|
|
6363
6560
|
declare const tagName$t = 's-ordered-list';
|
|
6364
6561
|
export interface OrderedListJSXProps
|
|
6365
6562
|
extends Partial<OrderedListProps>,
|
|
6366
|
-
Pick<OrderedListProps$1, 'id'> {
|
|
6563
|
+
Pick<OrderedListProps$1, 'id'> {
|
|
6564
|
+
/**
|
|
6565
|
+
* The items of the OrderedList.
|
|
6566
|
+
*
|
|
6567
|
+
* Only ListItems are accepted.
|
|
6568
|
+
*/
|
|
6569
|
+
children?: ComponentChildren;
|
|
6570
|
+
}
|
|
6367
6571
|
|
|
6368
6572
|
export interface PageProps
|
|
6369
6573
|
extends Required<Pick<PageProps$1, 'inlineSize' | 'heading'>> {
|
|
@@ -6385,39 +6589,48 @@ declare global {
|
|
|
6385
6589
|
declare module 'preact' {
|
|
6386
6590
|
namespace createElement.JSX {
|
|
6387
6591
|
interface IntrinsicElements {
|
|
6388
|
-
[tagName$s]: Omit<
|
|
6592
|
+
[tagName$s]: Omit<
|
|
6593
|
+
PageJSXProps,
|
|
6594
|
+
'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
|
|
6595
|
+
> &
|
|
6389
6596
|
PreactBaseElementPropsWithChildren<Page>;
|
|
6390
6597
|
}
|
|
6391
6598
|
}
|
|
6392
6599
|
}
|
|
6393
6600
|
|
|
6394
6601
|
declare const tagName$s = 's-page';
|
|
6395
|
-
export interface PageJSXProps
|
|
6602
|
+
export interface PageJSXProps
|
|
6603
|
+
extends Partial<PageProps>,
|
|
6604
|
+
Pick<PageProps$1, 'id' | 'children'> {
|
|
6605
|
+
/**
|
|
6606
|
+
* The content of the Page.
|
|
6607
|
+
*/
|
|
6608
|
+
children?: ComponentChildren;
|
|
6396
6609
|
/**
|
|
6397
6610
|
* The content to display in the aside section of the page.
|
|
6398
6611
|
*
|
|
6399
6612
|
* This slot is only rendered when `inlineSize` is "base".
|
|
6400
6613
|
*/
|
|
6401
|
-
aside?:
|
|
6614
|
+
aside?: ComponentChildren;
|
|
6402
6615
|
/**
|
|
6403
6616
|
* The primary action for the page.
|
|
6404
6617
|
*
|
|
6405
6618
|
* Only accepts a single `Button` component with a `variant` of `primary`.
|
|
6406
6619
|
*
|
|
6407
6620
|
*/
|
|
6408
|
-
primaryAction?:
|
|
6621
|
+
primaryAction?: ComponentChildren;
|
|
6409
6622
|
/**
|
|
6410
6623
|
* Secondary actions for the page.
|
|
6411
6624
|
*
|
|
6412
6625
|
* Only accepts `ButtonGroup` and `Button` components with a `variant` of `secondary` or `auto`.
|
|
6413
6626
|
*/
|
|
6414
|
-
secondaryActions?:
|
|
6627
|
+
secondaryActions?: ComponentChildren;
|
|
6415
6628
|
/**
|
|
6416
6629
|
* Navigations back actions for the page.
|
|
6417
6630
|
*
|
|
6418
6631
|
* Only accepts `Link` components.
|
|
6419
6632
|
*/
|
|
6420
|
-
breadcrumbActions?:
|
|
6633
|
+
breadcrumbActions?: ComponentChildren;
|
|
6421
6634
|
}
|
|
6422
6635
|
|
|
6423
6636
|
export interface ParagraphProps
|
|
@@ -6466,7 +6679,12 @@ declare module 'preact' {
|
|
|
6466
6679
|
declare const tagName$r = 's-paragraph';
|
|
6467
6680
|
export interface ParagraphJSXProps
|
|
6468
6681
|
extends Partial<ParagraphProps>,
|
|
6469
|
-
Pick<ParagraphProps$1, 'id'> {
|
|
6682
|
+
Pick<ParagraphProps$1, 'id' | 'children'> {
|
|
6683
|
+
/**
|
|
6684
|
+
* The content of the Paragraph.
|
|
6685
|
+
*/
|
|
6686
|
+
children?: ComponentChildren;
|
|
6687
|
+
}
|
|
6470
6688
|
|
|
6471
6689
|
export type PasswordFieldProps = PreactFieldProps<
|
|
6472
6690
|
Required<PasswordFieldProps$1>['autocomplete']
|
|
@@ -6565,8 +6783,13 @@ declare module 'preact' {
|
|
|
6565
6783
|
}
|
|
6566
6784
|
|
|
6567
6785
|
declare const tagName$p = 's-popover';
|
|
6568
|
-
export interface PopoverJSXProps
|
|
6569
|
-
|
|
6786
|
+
export interface PopoverJSXProps
|
|
6787
|
+
extends Partial<PopoverProps>,
|
|
6788
|
+
Pick<PopoverProps$1, 'id' | 'children'> {
|
|
6789
|
+
/**
|
|
6790
|
+
* The content of the Popover.
|
|
6791
|
+
*/
|
|
6792
|
+
children?: ComponentChildren;
|
|
6570
6793
|
onHide?: (event: CallbackEvent<typeof tagName$p>) => void | null;
|
|
6571
6794
|
onShow?: (event: CallbackEvent<typeof tagName$p>) => void | null;
|
|
6572
6795
|
onAfterHide?: (event: CallbackEvent<typeof tagName$p>) => void | null;
|
|
@@ -6607,7 +6830,12 @@ declare module 'preact' {
|
|
|
6607
6830
|
declare const tagName$o = 's-query-container';
|
|
6608
6831
|
export interface QueryContainerJSXProps
|
|
6609
6832
|
extends Partial<QueryContainerProps$1>,
|
|
6610
|
-
Pick<QueryContainerProps$1, 'id'> {
|
|
6833
|
+
Pick<QueryContainerProps$1, 'id' | 'children'> {
|
|
6834
|
+
/**
|
|
6835
|
+
* The content of the container.
|
|
6836
|
+
*/
|
|
6837
|
+
children?: ComponentChildren;
|
|
6838
|
+
}
|
|
6611
6839
|
|
|
6612
6840
|
export type SearchFieldProps = PreactFieldProps<
|
|
6613
6841
|
/**
|
|
@@ -6697,7 +6925,12 @@ declare module 'preact' {
|
|
|
6697
6925
|
declare const tagName$m = 's-section';
|
|
6698
6926
|
export interface SectionJSXProps
|
|
6699
6927
|
extends Partial<SectionProps>,
|
|
6700
|
-
Pick<SectionProps$1, 'id'> {
|
|
6928
|
+
Pick<SectionProps$1, 'id' | 'children'> {
|
|
6929
|
+
/**
|
|
6930
|
+
* The content of the Section.
|
|
6931
|
+
*/
|
|
6932
|
+
children?: ComponentChildren;
|
|
6933
|
+
}
|
|
6701
6934
|
|
|
6702
6935
|
export interface SelectProps
|
|
6703
6936
|
extends Omit<PreactInputProps, 'value'>,
|
|
@@ -6764,7 +6997,15 @@ declare module 'preact' {
|
|
|
6764
6997
|
}
|
|
6765
6998
|
|
|
6766
6999
|
declare const tagName$l = 's-select';
|
|
6767
|
-
export interface SelectJSXProps
|
|
7000
|
+
export interface SelectJSXProps
|
|
7001
|
+
extends Partial<SelectProps>,
|
|
7002
|
+
Pick<SelectProps$1, 'id' | 'children'> {
|
|
7003
|
+
/**
|
|
7004
|
+
* The options a user can select from.
|
|
7005
|
+
*
|
|
7006
|
+
* Accepts `Option` and `OptionGroup` components.
|
|
7007
|
+
*/
|
|
7008
|
+
children?: ComponentChildren;
|
|
6768
7009
|
onChange?: (event: CallbackEvent<typeof tagName$l>) => void;
|
|
6769
7010
|
onInput?: (event: CallbackEvent<typeof tagName$l>) => void;
|
|
6770
7011
|
onBlur?: (event: CallbackEvent<typeof tagName$l>) => void;
|
|
@@ -6810,8 +7051,25 @@ export interface StackProps
|
|
|
6810
7051
|
Required<AlignedStackProps>,
|
|
6811
7052
|
'justifyContent' | 'alignItems' | 'alignContent'
|
|
6812
7053
|
> {
|
|
7054
|
+
/**
|
|
7055
|
+
* Aligns the Stack's children along the inline axis.
|
|
7056
|
+
*
|
|
7057
|
+
* @default 'normal'
|
|
7058
|
+
*/
|
|
6813
7059
|
justifyContent: JustifyContentKeyword;
|
|
7060
|
+
/**
|
|
7061
|
+
* Aligns the Stack's children along the block axis.
|
|
7062
|
+
*
|
|
7063
|
+
* @default 'normal'
|
|
7064
|
+
*/
|
|
6814
7065
|
alignItems: AlignItemsKeyword;
|
|
7066
|
+
/**
|
|
7067
|
+
* Aligns the Stack's children along the block axis.
|
|
7068
|
+
*
|
|
7069
|
+
* This overrides the block value of `alignContent`.
|
|
7070
|
+
*
|
|
7071
|
+
* @default 'normal'
|
|
7072
|
+
*/
|
|
6815
7073
|
alignContent: AlignContentKeyword;
|
|
6816
7074
|
/**
|
|
6817
7075
|
* Adjust spacing between elements.
|
|
@@ -6886,7 +7144,12 @@ declare module 'preact' {
|
|
|
6886
7144
|
declare const tagName$j = 's-stack';
|
|
6887
7145
|
export interface StackJSXProps
|
|
6888
7146
|
extends Partial<StackProps>,
|
|
6889
|
-
Pick<StackProps$1, 'id'> {
|
|
7147
|
+
Pick<StackProps$1, 'id' | 'children'> {
|
|
7148
|
+
/**
|
|
7149
|
+
* The content of the Stack.
|
|
7150
|
+
*/
|
|
7151
|
+
children?: ComponentChildren;
|
|
7152
|
+
}
|
|
6890
7153
|
|
|
6891
7154
|
export interface SwitchProps
|
|
6892
7155
|
extends PreactCheckboxProps,
|
|
@@ -6983,11 +7246,15 @@ declare module 'preact' {
|
|
|
6983
7246
|
declare const tagName$h = 's-table';
|
|
6984
7247
|
export interface TableJSXProps
|
|
6985
7248
|
extends Partial<TableProps>,
|
|
6986
|
-
Pick<TableProps$1, 'id' | 'onNextPage' | 'onPreviousPage'> {
|
|
7249
|
+
Pick<TableProps$1, 'id' | 'children' | 'onNextPage' | 'onPreviousPage'> {
|
|
7250
|
+
/**
|
|
7251
|
+
* The content of the Table.
|
|
7252
|
+
*/
|
|
7253
|
+
children?: ComponentChildren;
|
|
6987
7254
|
/**
|
|
6988
7255
|
* Additional filters to display in the table. For example, the `s-search-field` component can be used to filter the table data.
|
|
6989
7256
|
*/
|
|
6990
|
-
filters?:
|
|
7257
|
+
filters?: ComponentChildren;
|
|
6991
7258
|
}
|
|
6992
7259
|
|
|
6993
7260
|
export interface TableBodyProps extends TableBodyProps$1 {}
|
|
@@ -7012,7 +7279,12 @@ declare module 'preact' {
|
|
|
7012
7279
|
declare const tagName$g = 's-table-body';
|
|
7013
7280
|
export interface TableBodyJSXProps
|
|
7014
7281
|
extends Partial<TableBodyProps>,
|
|
7015
|
-
Pick<TableBodyProps$1, 'id'> {
|
|
7282
|
+
Pick<TableBodyProps$1, 'id' | 'children'> {
|
|
7283
|
+
/**
|
|
7284
|
+
* The body of the table. May not have any semantic meaning in the Table's `list` variant.
|
|
7285
|
+
*/
|
|
7286
|
+
children?: ComponentChildren;
|
|
7287
|
+
}
|
|
7016
7288
|
|
|
7017
7289
|
export interface TableCellProps extends TableCellProps$1 {}
|
|
7018
7290
|
|
|
@@ -7042,7 +7314,12 @@ declare module 'preact' {
|
|
|
7042
7314
|
declare const tagName$f = 's-table-cell';
|
|
7043
7315
|
export interface TableCellJSXProps
|
|
7044
7316
|
extends Partial<TableCellProps>,
|
|
7045
|
-
Pick<TableCellProps$1, 'id'> {
|
|
7317
|
+
Pick<TableCellProps$1, 'id' | 'children'> {
|
|
7318
|
+
/**
|
|
7319
|
+
* The content of the table cell.
|
|
7320
|
+
*/
|
|
7321
|
+
children?: ComponentChildren;
|
|
7322
|
+
}
|
|
7046
7323
|
|
|
7047
7324
|
declare class TableHeader
|
|
7048
7325
|
extends PreactCustomElement
|
|
@@ -7069,7 +7346,12 @@ declare module 'preact' {
|
|
|
7069
7346
|
declare const tagName$e = 's-table-header';
|
|
7070
7347
|
export interface TableHeaderJSXProps
|
|
7071
7348
|
extends Partial<TableHeaderProps>,
|
|
7072
|
-
Pick<TableHeaderProps$1, 'id'> {
|
|
7349
|
+
Pick<TableHeaderProps$1, 'id' | 'children'> {
|
|
7350
|
+
/**
|
|
7351
|
+
* The heading of the column in the `table` variant, and the label of its data in `list` variant.
|
|
7352
|
+
*/
|
|
7353
|
+
children?: ComponentChildren;
|
|
7354
|
+
}
|
|
7073
7355
|
|
|
7074
7356
|
export interface TableHeaderRowProps extends TableHeaderRowProps$1 {}
|
|
7075
7357
|
|
|
@@ -7100,7 +7382,12 @@ declare module 'preact' {
|
|
|
7100
7382
|
declare const tagName$d = 's-table-header-row';
|
|
7101
7383
|
export interface TableHeaderRowJSXProps
|
|
7102
7384
|
extends Partial<TableHeaderRowProps>,
|
|
7103
|
-
Pick<TableHeaderRowProps$1, 'id'> {
|
|
7385
|
+
Pick<TableHeaderRowProps$1, 'id' | 'children'> {
|
|
7386
|
+
/**
|
|
7387
|
+
* Contents of the table heading row; children should be `TableHeading` components.
|
|
7388
|
+
*/
|
|
7389
|
+
children?: ComponentChildren;
|
|
7390
|
+
}
|
|
7104
7391
|
|
|
7105
7392
|
export interface TableRowProps
|
|
7106
7393
|
extends Pick<TableRowProps$1, 'children' | 'clickDelegate'> {}
|
|
@@ -7126,7 +7413,12 @@ declare module 'preact' {
|
|
|
7126
7413
|
declare const tagName$c = 's-table-row';
|
|
7127
7414
|
export interface TableRowJSXProps
|
|
7128
7415
|
extends Partial<TableRowProps>,
|
|
7129
|
-
Pick<TableRowProps$1, 'id'> {
|
|
7416
|
+
Pick<TableRowProps$1, 'id' | 'children'> {
|
|
7417
|
+
/**
|
|
7418
|
+
* The content of a TableRow, which should be `TableCell` components.
|
|
7419
|
+
*/
|
|
7420
|
+
children?: ComponentChildren;
|
|
7421
|
+
}
|
|
7130
7422
|
|
|
7131
7423
|
export interface TextProps
|
|
7132
7424
|
extends Required<
|
|
@@ -7182,7 +7474,12 @@ declare module 'preact' {
|
|
|
7182
7474
|
declare const tagName$b = 's-text';
|
|
7183
7475
|
export interface TextJSXProps
|
|
7184
7476
|
extends Partial<TextProps>,
|
|
7185
|
-
Pick<TextProps$1, 'id'> {
|
|
7477
|
+
Pick<TextProps$1, 'id' | 'children'> {
|
|
7478
|
+
/**
|
|
7479
|
+
* The content of the Text.
|
|
7480
|
+
*/
|
|
7481
|
+
children?: ComponentChildren;
|
|
7482
|
+
}
|
|
7186
7483
|
|
|
7187
7484
|
export type TextAreaProps = PreactFieldProps<
|
|
7188
7485
|
Required<TextAreaProps$1>['autocomplete']
|
|
@@ -7261,7 +7558,7 @@ export interface TextFieldJSXProps
|
|
|
7261
7558
|
/**
|
|
7262
7559
|
* The accessory to display in the text field.
|
|
7263
7560
|
*/
|
|
7264
|
-
accessory?:
|
|
7561
|
+
accessory?: ComponentChildren;
|
|
7265
7562
|
}
|
|
7266
7563
|
|
|
7267
7564
|
export interface ThumbnailProps
|
|
@@ -7321,13 +7618,13 @@ declare module 'preact' {
|
|
|
7321
7618
|
declare const tagName$7 = 's-tooltip';
|
|
7322
7619
|
export interface TooltipJSXProps
|
|
7323
7620
|
extends Partial<TooltipProps>,
|
|
7324
|
-
Pick<TooltipProps$1, 'id'> {
|
|
7621
|
+
Pick<TooltipProps$1, 'id' | 'children'> {
|
|
7325
7622
|
/**
|
|
7326
7623
|
* The content of the Tooltip.
|
|
7327
7624
|
*
|
|
7328
7625
|
* Only accepts `Text`, `Paragraph` components, and raw `textContent`.
|
|
7329
7626
|
*/
|
|
7330
|
-
children
|
|
7627
|
+
children?: ComponentChildren;
|
|
7331
7628
|
}
|
|
7332
7629
|
|
|
7333
7630
|
export type URLFieldProps = PreactFieldProps<
|
|
@@ -7388,7 +7685,14 @@ declare module 'preact' {
|
|
|
7388
7685
|
declare const tagName$5 = 's-unordered-list';
|
|
7389
7686
|
export interface UnorderedListJSXProps
|
|
7390
7687
|
extends Partial<UnorderedListProps>,
|
|
7391
|
-
Pick<UnorderedListProps$1, 'id'> {
|
|
7688
|
+
Pick<UnorderedListProps$1, 'id'> {
|
|
7689
|
+
/**
|
|
7690
|
+
* The items of the UnorderedList.
|
|
7691
|
+
*
|
|
7692
|
+
* Only ListItems are accepted.
|
|
7693
|
+
*/
|
|
7694
|
+
children?: ComponentChildren;
|
|
7695
|
+
}
|
|
7392
7696
|
|
|
7393
7697
|
export interface AdminActionProps
|
|
7394
7698
|
extends Pick<AdminActionProps$1, 'heading' | 'loading'> {}
|
|
@@ -7400,11 +7704,11 @@ export interface AdminActionJSXProps
|
|
|
7400
7704
|
/**
|
|
7401
7705
|
* The primary action to display in the admin action.
|
|
7402
7706
|
*/
|
|
7403
|
-
primaryAction:
|
|
7707
|
+
primaryAction: ComponentChildren;
|
|
7404
7708
|
/**
|
|
7405
7709
|
* The secondary actions to display in the admin action.
|
|
7406
7710
|
*/
|
|
7407
|
-
secondaryActions:
|
|
7711
|
+
secondaryActions: ComponentChildren;
|
|
7408
7712
|
}
|
|
7409
7713
|
|
|
7410
7714
|
declare class AdminAction
|
|
@@ -7709,6 +8013,13 @@ export interface AvatarEvents {
|
|
|
7709
8013
|
error: OnErrorEventHandler = null;
|
|
7710
8014
|
}
|
|
7711
8015
|
|
|
8016
|
+
export interface BadgeSlots {
|
|
8017
|
+
/**
|
|
8018
|
+
* The content of the Badge.
|
|
8019
|
+
*/
|
|
8020
|
+
children?: HTMLElement;
|
|
8021
|
+
}
|
|
8022
|
+
|
|
7712
8023
|
export interface BannerEvents {
|
|
7713
8024
|
dismiss: CallbackEventListener<typeof tagName> | null = null;
|
|
7714
8025
|
afterhide: CallbackEventListener<typeof tagName> | null = null;
|
|
@@ -7716,20 +8027,42 @@ export interface BannerEvents {
|
|
|
7716
8027
|
|
|
7717
8028
|
export interface BannerSlots {
|
|
7718
8029
|
/**
|
|
7719
|
-
* The
|
|
8030
|
+
* The content of the Banner.
|
|
8031
|
+
*/
|
|
8032
|
+
children?: HTMLElement;
|
|
8033
|
+
/**
|
|
8034
|
+
* The secondary actions to display at the bottom of the Banner.
|
|
7720
8035
|
*
|
|
7721
|
-
*
|
|
8036
|
+
* Only Buttons with the `variant` of "secondary" or "auto" are permitted. A maximum of two `s-button` components are allowed.
|
|
7722
8037
|
*/
|
|
7723
8038
|
'secondary-actions'?: HTMLElement;
|
|
7724
8039
|
}
|
|
7725
8040
|
|
|
8041
|
+
export interface BoxSlots {
|
|
8042
|
+
/**
|
|
8043
|
+
* The content of the Box.
|
|
8044
|
+
*/
|
|
8045
|
+
children?: HTMLElement;
|
|
8046
|
+
}
|
|
8047
|
+
|
|
7726
8048
|
export interface ButtonEvents {
|
|
7727
8049
|
click: CallbackEventListener<typeof tagName> | null = null;
|
|
7728
8050
|
blur: CallbackEventListener<typeof tagName> | null = null;
|
|
7729
8051
|
focus: CallbackEventListener<typeof tagName> | null = null;
|
|
7730
8052
|
}
|
|
7731
8053
|
|
|
8054
|
+
export interface ButtonSlots {
|
|
8055
|
+
/**
|
|
8056
|
+
* The content of the Button.
|
|
8057
|
+
*/
|
|
8058
|
+
children?: HTMLElement;
|
|
8059
|
+
}
|
|
8060
|
+
|
|
7732
8061
|
export interface ButtonGroupSlots {
|
|
8062
|
+
/**
|
|
8063
|
+
* The content of the ButtonGroup.
|
|
8064
|
+
*/
|
|
8065
|
+
children?: HTMLElement;
|
|
7733
8066
|
/**
|
|
7734
8067
|
* The primary action button for the group.
|
|
7735
8068
|
* Accepts a single Button element with a `variant` of `primary`.
|
|
@@ -7749,6 +8082,10 @@ export interface CheckboxEvents {
|
|
|
7749
8082
|
}
|
|
7750
8083
|
|
|
7751
8084
|
export interface ChipSlots {
|
|
8085
|
+
/**
|
|
8086
|
+
* The content of the Chip.
|
|
8087
|
+
*/
|
|
8088
|
+
children?: HTMLElement;
|
|
7752
8089
|
/**
|
|
7753
8090
|
* The graphic to display in the chip.
|
|
7754
8091
|
*
|
|
@@ -7758,7 +8095,14 @@ export interface ChipSlots {
|
|
|
7758
8095
|
}
|
|
7759
8096
|
|
|
7760
8097
|
export interface ChoiceSlots {
|
|
7761
|
-
|
|
8098
|
+
/**
|
|
8099
|
+
* Content to use as the choice label.
|
|
8100
|
+
*
|
|
8101
|
+
* The label is produced by extracting and
|
|
8102
|
+
* concatenating the text nodes from the provided content;
|
|
8103
|
+
* any markup or element structure is ignored.
|
|
8104
|
+
*/
|
|
8105
|
+
children?: HTMLElement;
|
|
7762
8106
|
}
|
|
7763
8107
|
|
|
7764
8108
|
export interface ChoiceListEvents {
|
|
@@ -7766,12 +8110,28 @@ export interface ChoiceListEvents {
|
|
|
7766
8110
|
input: CallbackEventListener<typeof tagName> | null = null;
|
|
7767
8111
|
}
|
|
7768
8112
|
|
|
8113
|
+
export interface ChoiceListSlots {
|
|
8114
|
+
/**
|
|
8115
|
+
* The choices a user can select from.
|
|
8116
|
+
*
|
|
8117
|
+
* Accepts `Choice` components.
|
|
8118
|
+
*/
|
|
8119
|
+
children?: HTMLElement;
|
|
8120
|
+
}
|
|
8121
|
+
|
|
7769
8122
|
export interface ClickableEvents {
|
|
7770
8123
|
click: CallbackEventListener<typeof tagName> | null = null;
|
|
7771
8124
|
blur: CallbackEventListener<typeof tagName> | null = null;
|
|
7772
8125
|
focus: CallbackEventListener<typeof tagName> | null = null;
|
|
7773
8126
|
}
|
|
7774
8127
|
|
|
8128
|
+
export interface ClickableSlots {
|
|
8129
|
+
/**
|
|
8130
|
+
* The content of the Clickable.
|
|
8131
|
+
*/
|
|
8132
|
+
children?: HTMLElement;
|
|
8133
|
+
}
|
|
8134
|
+
|
|
7775
8135
|
export interface ClickableChipEvents {
|
|
7776
8136
|
click: CallbackEventListener<typeof tagName> | null = null;
|
|
7777
8137
|
remove: CallbackEventListener<typeof tagName> | null = null;
|
|
@@ -7779,6 +8139,10 @@ export interface ClickableChipEvents {
|
|
|
7779
8139
|
}
|
|
7780
8140
|
|
|
7781
8141
|
export interface ClickableChipSlots {
|
|
8142
|
+
/**
|
|
8143
|
+
* The content of the clickable chip.
|
|
8144
|
+
*/
|
|
8145
|
+
children?: HTMLElement;
|
|
7782
8146
|
/**
|
|
7783
8147
|
* The graphic to display in the clickable chip.
|
|
7784
8148
|
*
|
|
@@ -7822,6 +8186,13 @@ export interface DropZoneEvents {
|
|
|
7822
8186
|
droprejected: CallbackEventListener<typeof tagName> = null;
|
|
7823
8187
|
}
|
|
7824
8188
|
|
|
8189
|
+
export interface DropZoneSlots {
|
|
8190
|
+
/**
|
|
8191
|
+
* Content to include inside the DropZone container
|
|
8192
|
+
*/
|
|
8193
|
+
children?: HTMLElement;
|
|
8194
|
+
}
|
|
8195
|
+
|
|
7825
8196
|
export interface EmailFieldEvents {
|
|
7826
8197
|
change: CallbackEventListener<'input'>;
|
|
7827
8198
|
input: CallbackEventListener<'input'>;
|
|
@@ -7829,6 +8200,27 @@ export interface EmailFieldEvents {
|
|
|
7829
8200
|
focus: CallbackEventListener<'input'>;
|
|
7830
8201
|
}
|
|
7831
8202
|
|
|
8203
|
+
export interface GridSlots {
|
|
8204
|
+
/**
|
|
8205
|
+
* The content of the Grid.
|
|
8206
|
+
*/
|
|
8207
|
+
children?: HTMLElement;
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8210
|
+
export interface GridItemSlots {
|
|
8211
|
+
/**
|
|
8212
|
+
* The content of the GridItem.
|
|
8213
|
+
*/
|
|
8214
|
+
children?: HTMLElement;
|
|
8215
|
+
}
|
|
8216
|
+
|
|
8217
|
+
export interface HeadingSlots {
|
|
8218
|
+
/**
|
|
8219
|
+
* The content of the Heading.
|
|
8220
|
+
*/
|
|
8221
|
+
children?: HTMLElement;
|
|
8222
|
+
}
|
|
8223
|
+
|
|
7832
8224
|
export interface ImageEvents {
|
|
7833
8225
|
load: CallbackEventListener<typeof tagName> | null = null;
|
|
7834
8226
|
error: OnErrorEventHandler = null;
|
|
@@ -7838,6 +8230,20 @@ export interface LinkEvents {
|
|
|
7838
8230
|
click: CallbackEventListener<typeof tagName> | null = null;
|
|
7839
8231
|
}
|
|
7840
8232
|
|
|
8233
|
+
export interface LinkSlots {
|
|
8234
|
+
/**
|
|
8235
|
+
* The content of the Link.
|
|
8236
|
+
*/
|
|
8237
|
+
children?: HTMLElement;
|
|
8238
|
+
}
|
|
8239
|
+
|
|
8240
|
+
export interface ListItemSlots {
|
|
8241
|
+
/**
|
|
8242
|
+
* The content of the ListItem.
|
|
8243
|
+
*/
|
|
8244
|
+
children?: HTMLElement;
|
|
8245
|
+
}
|
|
8246
|
+
|
|
7841
8247
|
export interface MenuSlots {
|
|
7842
8248
|
/**
|
|
7843
8249
|
* The Menu items.
|
|
@@ -7855,6 +8261,10 @@ export interface ModalEvents {
|
|
|
7855
8261
|
}
|
|
7856
8262
|
|
|
7857
8263
|
export interface ModalSlots {
|
|
8264
|
+
/**
|
|
8265
|
+
* The content of the Modal.
|
|
8266
|
+
*/
|
|
8267
|
+
children?: HTMLElement;
|
|
7858
8268
|
/**
|
|
7859
8269
|
* The primary action to perform.
|
|
7860
8270
|
*
|
|
@@ -7883,7 +8293,36 @@ export interface NumberFieldEvents {
|
|
|
7883
8293
|
focus: CallbackEventListener<'input'>;
|
|
7884
8294
|
}
|
|
7885
8295
|
|
|
8296
|
+
export interface OptionSlots {
|
|
8297
|
+
/**
|
|
8298
|
+
* The content to use as the label.
|
|
8299
|
+
*/
|
|
8300
|
+
children?: HTMLElement;
|
|
8301
|
+
}
|
|
8302
|
+
|
|
8303
|
+
export interface OptionGroupSlots {
|
|
8304
|
+
/**
|
|
8305
|
+
* The options a user can select from.
|
|
8306
|
+
*
|
|
8307
|
+
* Accepts `Option` components.
|
|
8308
|
+
*/
|
|
8309
|
+
children?: HTMLElement;
|
|
8310
|
+
}
|
|
8311
|
+
|
|
8312
|
+
export interface OrderedListSlots {
|
|
8313
|
+
/**
|
|
8314
|
+
* The items of the OrderedList.
|
|
8315
|
+
*
|
|
8316
|
+
* Only ListItems are accepted.
|
|
8317
|
+
*/
|
|
8318
|
+
children?: HTMLElement;
|
|
8319
|
+
}
|
|
8320
|
+
|
|
7886
8321
|
export interface PageSlots {
|
|
8322
|
+
/**
|
|
8323
|
+
* The content of the Page.
|
|
8324
|
+
*/
|
|
8325
|
+
children?: HTMLElement;
|
|
7887
8326
|
/**
|
|
7888
8327
|
* The content to display in the aside section of the page.
|
|
7889
8328
|
*
|
|
@@ -7911,6 +8350,13 @@ export interface PageSlots {
|
|
|
7911
8350
|
'breadcrumb-actions'?: HTMLElement;
|
|
7912
8351
|
}
|
|
7913
8352
|
|
|
8353
|
+
export interface ParagraphSlots {
|
|
8354
|
+
/**
|
|
8355
|
+
* The content of the Paragraph.
|
|
8356
|
+
*/
|
|
8357
|
+
children?: HTMLElement;
|
|
8358
|
+
}
|
|
8359
|
+
|
|
7914
8360
|
export interface PasswordFieldEvents {
|
|
7915
8361
|
change: CallbackEventListener<'input'>;
|
|
7916
8362
|
input: CallbackEventListener<'input'>;
|
|
@@ -7927,6 +8373,20 @@ export interface PopoverEvents {
|
|
|
7927
8373
|
aftertoggle: CallbackEventListener<TTagName> | null;
|
|
7928
8374
|
}
|
|
7929
8375
|
|
|
8376
|
+
export interface PopoverSlots {
|
|
8377
|
+
/**
|
|
8378
|
+
* The content of the Popover.
|
|
8379
|
+
*/
|
|
8380
|
+
children?: HTMLElement;
|
|
8381
|
+
}
|
|
8382
|
+
|
|
8383
|
+
export interface QueryContainerSlots {
|
|
8384
|
+
/**
|
|
8385
|
+
* The content of the container.
|
|
8386
|
+
*/
|
|
8387
|
+
children?: HTMLElement;
|
|
8388
|
+
}
|
|
8389
|
+
|
|
7930
8390
|
export interface SearchFieldEvents {
|
|
7931
8391
|
change: CallbackEventListener<'input'>;
|
|
7932
8392
|
input: CallbackEventListener<'input'>;
|
|
@@ -7934,11 +8394,34 @@ export interface SearchFieldEvents {
|
|
|
7934
8394
|
focus: CallbackEventListener<'input'>;
|
|
7935
8395
|
}
|
|
7936
8396
|
|
|
8397
|
+
export interface SectionSlots {
|
|
8398
|
+
/**
|
|
8399
|
+
* The content of the Section.
|
|
8400
|
+
*/
|
|
8401
|
+
children?: HTMLElement;
|
|
8402
|
+
}
|
|
8403
|
+
|
|
7937
8404
|
export interface SelectEvents {
|
|
7938
8405
|
change: CallbackEventListener<'input'>;
|
|
7939
8406
|
input: CallbackEventListener<'input'>;
|
|
7940
8407
|
}
|
|
7941
8408
|
|
|
8409
|
+
export interface SelectSlots {
|
|
8410
|
+
/**
|
|
8411
|
+
* The options a user can select from.
|
|
8412
|
+
*
|
|
8413
|
+
* Accepts `Option` and `OptionGroup` components.
|
|
8414
|
+
*/
|
|
8415
|
+
children?: HTMLElement;
|
|
8416
|
+
}
|
|
8417
|
+
|
|
8418
|
+
export interface StackSlots {
|
|
8419
|
+
/**
|
|
8420
|
+
* The content of the Stack.
|
|
8421
|
+
*/
|
|
8422
|
+
children?: HTMLElement;
|
|
8423
|
+
}
|
|
8424
|
+
|
|
7942
8425
|
export interface SwitchEvents {
|
|
7943
8426
|
change: CallbackEventListener<'input'>;
|
|
7944
8427
|
input: CallbackEventListener<'input'>;
|
|
@@ -7950,12 +8433,58 @@ export interface TableEvents {
|
|
|
7950
8433
|
}
|
|
7951
8434
|
|
|
7952
8435
|
export interface TableSlots {
|
|
8436
|
+
/**
|
|
8437
|
+
* The content of the Table.
|
|
8438
|
+
*/
|
|
8439
|
+
children?: HTMLElement;
|
|
7953
8440
|
/**
|
|
7954
8441
|
* Additional filters to display in the table. For example, the `s-search-field` component can be used to filter the table data.
|
|
7955
8442
|
*/
|
|
7956
8443
|
filters?: HTMLElement;
|
|
7957
8444
|
}
|
|
7958
8445
|
|
|
8446
|
+
export interface TableBodySlots {
|
|
8447
|
+
/**
|
|
8448
|
+
* The body of the table. May not have any semantic meaning in the Table's `list` variant.
|
|
8449
|
+
*/
|
|
8450
|
+
children?: HTMLElement;
|
|
8451
|
+
}
|
|
8452
|
+
|
|
8453
|
+
export interface TableCellSlots {
|
|
8454
|
+
/**
|
|
8455
|
+
* The content of the table cell.
|
|
8456
|
+
*/
|
|
8457
|
+
children?: HTMLElement;
|
|
8458
|
+
}
|
|
8459
|
+
|
|
8460
|
+
export interface TableHeaderSlots {
|
|
8461
|
+
/**
|
|
8462
|
+
* The heading of the column in the `table` variant, and the label of its data in `list` variant.
|
|
8463
|
+
*/
|
|
8464
|
+
children?: HTMLElement;
|
|
8465
|
+
}
|
|
8466
|
+
|
|
8467
|
+
export interface TableHeaderRowSlots {
|
|
8468
|
+
/**
|
|
8469
|
+
* Contents of the table heading row; children should be `TableHeading` components.
|
|
8470
|
+
*/
|
|
8471
|
+
children?: HTMLElement;
|
|
8472
|
+
}
|
|
8473
|
+
|
|
8474
|
+
export interface TableRowSlots {
|
|
8475
|
+
/**
|
|
8476
|
+
* The content of a TableRow, which should be `TableCell` components.
|
|
8477
|
+
*/
|
|
8478
|
+
children?: HTMLElement;
|
|
8479
|
+
}
|
|
8480
|
+
|
|
8481
|
+
export interface TextSlots {
|
|
8482
|
+
/**
|
|
8483
|
+
* The content of the Text.
|
|
8484
|
+
*/
|
|
8485
|
+
children?: HTMLElement;
|
|
8486
|
+
}
|
|
8487
|
+
|
|
7959
8488
|
export interface TextAreaEvents {
|
|
7960
8489
|
change: CallbackEventListener<'input'>;
|
|
7961
8490
|
input: CallbackEventListener<'input'>;
|
|
@@ -7988,7 +8517,7 @@ export interface TooltipSlots {
|
|
|
7988
8517
|
*
|
|
7989
8518
|
* Only accepts `Text`, `Paragraph` components, and raw `textContent`.
|
|
7990
8519
|
*/
|
|
7991
|
-
children
|
|
8520
|
+
children?: HTMLElement;
|
|
7992
8521
|
}
|
|
7993
8522
|
|
|
7994
8523
|
export interface URLFieldEvents {
|
|
@@ -7998,6 +8527,15 @@ export interface URLFieldEvents {
|
|
|
7998
8527
|
focus: CallbackEventListener<'input'>;
|
|
7999
8528
|
}
|
|
8000
8529
|
|
|
8530
|
+
export interface UnorderedListSlots {
|
|
8531
|
+
/**
|
|
8532
|
+
* The items of the UnorderedList.
|
|
8533
|
+
*
|
|
8534
|
+
* Only ListItems are accepted.
|
|
8535
|
+
*/
|
|
8536
|
+
children?: HTMLElement;
|
|
8537
|
+
}
|
|
8538
|
+
|
|
8001
8539
|
export interface AdminActionSlots {
|
|
8002
8540
|
/**
|
|
8003
8541
|
* The primary action to display in the admin action.
|
|
@@ -8053,14 +8591,14 @@ export interface FunctionSettingsEvents {
|
|
|
8053
8591
|
declare module 'react' {
|
|
8054
8592
|
namespace JSX {
|
|
8055
8593
|
interface IntrinsicElements {
|
|
8056
|
-
[tagName$Z]: AvatarJSXProps &
|
|
8594
|
+
[tagName$Z]: AvatarJSXProps & ReactBaseElementProps<Avatar>;
|
|
8057
8595
|
}
|
|
8058
8596
|
}
|
|
8059
8597
|
}
|
|
8060
8598
|
declare global {
|
|
8061
8599
|
namespace JSX {
|
|
8062
8600
|
interface IntrinsicElements {
|
|
8063
|
-
[tagName$Z]: AvatarJSXProps &
|
|
8601
|
+
[tagName$Z]: AvatarJSXProps & ReactBaseElementProps<Avatar>;
|
|
8064
8602
|
}
|
|
8065
8603
|
}
|
|
8066
8604
|
}
|
|
@@ -8125,7 +8663,10 @@ declare global {
|
|
|
8125
8663
|
declare module 'react' {
|
|
8126
8664
|
namespace JSX {
|
|
8127
8665
|
interface IntrinsicElements {
|
|
8128
|
-
[tagName$U]:
|
|
8666
|
+
[tagName$U]: Omit<
|
|
8667
|
+
ButtonGroupJSXProps,
|
|
8668
|
+
'primaryAction' | 'secondaryActions'
|
|
8669
|
+
> &
|
|
8129
8670
|
ReactBaseElementPropsWithChildren<ButtonGroup>;
|
|
8130
8671
|
}
|
|
8131
8672
|
}
|
|
@@ -8133,7 +8674,10 @@ declare module 'react' {
|
|
|
8133
8674
|
declare global {
|
|
8134
8675
|
namespace JSX {
|
|
8135
8676
|
interface IntrinsicElements {
|
|
8136
|
-
[tagName$U]:
|
|
8677
|
+
[tagName$U]: Omit<
|
|
8678
|
+
ButtonGroupJSXProps,
|
|
8679
|
+
'primaryAction' | 'secondaryActions'
|
|
8680
|
+
> &
|
|
8137
8681
|
ReactBaseElementPropsWithChildren<ButtonGroup>;
|
|
8138
8682
|
}
|
|
8139
8683
|
}
|
|
@@ -8141,16 +8685,14 @@ declare global {
|
|
|
8141
8685
|
declare module 'react' {
|
|
8142
8686
|
namespace JSX {
|
|
8143
8687
|
interface IntrinsicElements {
|
|
8144
|
-
[tagName$T]: CheckboxJSXProps &
|
|
8145
|
-
ReactBaseElementPropsWithChildren<Checkbox>;
|
|
8688
|
+
[tagName$T]: CheckboxJSXProps & ReactBaseElementProps<Checkbox>;
|
|
8146
8689
|
}
|
|
8147
8690
|
}
|
|
8148
8691
|
}
|
|
8149
8692
|
declare global {
|
|
8150
8693
|
namespace JSX {
|
|
8151
8694
|
interface IntrinsicElements {
|
|
8152
|
-
[tagName$T]: CheckboxJSXProps &
|
|
8153
|
-
ReactBaseElementPropsWithChildren<Checkbox>;
|
|
8695
|
+
[tagName$T]: CheckboxJSXProps & ReactBaseElementProps<Checkbox>;
|
|
8154
8696
|
}
|
|
8155
8697
|
}
|
|
8156
8698
|
}
|
|
@@ -8184,14 +8726,16 @@ declare global {
|
|
|
8184
8726
|
declare module 'react' {
|
|
8185
8727
|
namespace JSX {
|
|
8186
8728
|
interface IntrinsicElements {
|
|
8187
|
-
[tagName$R]: ChoiceJSXProps &
|
|
8729
|
+
[tagName$R]: Omit<ChoiceJSXProps, 'details'> &
|
|
8730
|
+
ReactBaseElementPropsWithChildren<Choice>;
|
|
8188
8731
|
}
|
|
8189
8732
|
}
|
|
8190
8733
|
}
|
|
8191
8734
|
declare global {
|
|
8192
8735
|
namespace JSX {
|
|
8193
8736
|
interface IntrinsicElements {
|
|
8194
|
-
[tagName$R]: ChoiceJSXProps &
|
|
8737
|
+
[tagName$R]: Omit<ChoiceJSXProps, 'details'> &
|
|
8738
|
+
ReactBaseElementPropsWithChildren<Choice>;
|
|
8195
8739
|
}
|
|
8196
8740
|
}
|
|
8197
8741
|
}
|
|
@@ -8519,7 +9063,7 @@ declare module 'react' {
|
|
|
8519
9063
|
HTMLAttributes<HTMLElement>,
|
|
8520
9064
|
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
8521
9065
|
> &
|
|
8522
|
-
ModalJSXProps
|
|
9066
|
+
Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>;
|
|
8523
9067
|
}
|
|
8524
9068
|
}
|
|
8525
9069
|
}
|
|
@@ -8533,7 +9077,7 @@ declare global {
|
|
|
8533
9077
|
`on${Capitalize<string>}`
|
|
8534
9078
|
>
|
|
8535
9079
|
> &
|
|
8536
|
-
ModalJSXProps
|
|
9080
|
+
Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>;
|
|
8537
9081
|
}
|
|
8538
9082
|
}
|
|
8539
9083
|
}
|
|
@@ -8614,7 +9158,10 @@ declare global {
|
|
|
8614
9158
|
declare module 'react' {
|
|
8615
9159
|
namespace JSX {
|
|
8616
9160
|
interface IntrinsicElements {
|
|
8617
|
-
[tagName$s]: Omit<
|
|
9161
|
+
[tagName$s]: Omit<
|
|
9162
|
+
PageJSXProps,
|
|
9163
|
+
'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
|
|
9164
|
+
> &
|
|
8618
9165
|
ReactBaseElementPropsWithChildren<Page>;
|
|
8619
9166
|
}
|
|
8620
9167
|
}
|
|
@@ -8622,7 +9169,10 @@ declare module 'react' {
|
|
|
8622
9169
|
declare global {
|
|
8623
9170
|
namespace JSX {
|
|
8624
9171
|
interface IntrinsicElements {
|
|
8625
|
-
[tagName$s]: Omit<
|
|
9172
|
+
[tagName$s]: Omit<
|
|
9173
|
+
PageJSXProps,
|
|
9174
|
+
'aside' | 'primaryAction' | 'secondaryActions' | 'breadcrumbActions'
|
|
9175
|
+
> &
|
|
8626
9176
|
ReactBaseElementPropsWithChildren<Page>;
|
|
8627
9177
|
}
|
|
8628
9178
|
}
|