@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,160 +0,0 @@
|
|
|
1
|
-
/** VERSION: 1.19.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
3
|
-
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
|
-
/* eslint-disable @typescript-eslint/member-ordering */
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
|
-
/// <reference lib="DOM" />
|
|
9
|
-
import type {DropZoneProps$1, ComponentChild} from './shared.d.ts';
|
|
10
|
-
|
|
11
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
12
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
13
|
-
};
|
|
14
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
15
|
-
| (EventListener & {
|
|
16
|
-
(event: CallbackEvent<T>): void;
|
|
17
|
-
})
|
|
18
|
-
| null;
|
|
19
|
-
|
|
20
|
-
export interface DropZoneProps
|
|
21
|
-
extends Required<
|
|
22
|
-
Pick<
|
|
23
|
-
DropZoneProps$1,
|
|
24
|
-
| 'accept'
|
|
25
|
-
| 'accessibilityLabel'
|
|
26
|
-
| 'disabled'
|
|
27
|
-
| 'files'
|
|
28
|
-
| 'name'
|
|
29
|
-
| 'error'
|
|
30
|
-
| 'label'
|
|
31
|
-
| 'labelAccessibilityVisibility'
|
|
32
|
-
| 'multiple'
|
|
33
|
-
| 'required'
|
|
34
|
-
| 'value'
|
|
35
|
-
>
|
|
36
|
-
> {}
|
|
37
|
-
|
|
38
|
-
export type Styles = string;
|
|
39
|
-
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
40
|
-
ShadowRoot: (element: any) => ComponentChild;
|
|
41
|
-
styles?: Styles;
|
|
42
|
-
};
|
|
43
|
-
export interface ActivationEventEsque {
|
|
44
|
-
shiftKey: boolean;
|
|
45
|
-
metaKey: boolean;
|
|
46
|
-
ctrlKey: boolean;
|
|
47
|
-
button: number;
|
|
48
|
-
}
|
|
49
|
-
export interface ClickOptions {
|
|
50
|
-
/**
|
|
51
|
-
* The event you want to influence the synthetic click.
|
|
52
|
-
*/
|
|
53
|
-
sourceEvent?: ActivationEventEsque;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Base class for creating custom elements with Preact.
|
|
57
|
-
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
58
|
-
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
59
|
-
*/
|
|
60
|
-
declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
61
|
-
declare abstract class PreactCustomElement extends BaseClass$1 {
|
|
62
|
-
/** @private */
|
|
63
|
-
static get observedAttributes(): string[];
|
|
64
|
-
constructor({
|
|
65
|
-
styles,
|
|
66
|
-
ShadowRoot: renderFunction,
|
|
67
|
-
delegatesFocus,
|
|
68
|
-
...options
|
|
69
|
-
}: RenderImpl);
|
|
70
|
-
|
|
71
|
-
/** @private */
|
|
72
|
-
setAttribute(name: string, value: string): void;
|
|
73
|
-
/** @private */
|
|
74
|
-
attributeChangedCallback(name: string): void;
|
|
75
|
-
/** @private */
|
|
76
|
-
connectedCallback(): void;
|
|
77
|
-
/** @private */
|
|
78
|
-
disconnectedCallback(): void;
|
|
79
|
-
/** @private */
|
|
80
|
-
adoptedCallback(): void;
|
|
81
|
-
/**
|
|
82
|
-
* Queue a run of the render function.
|
|
83
|
-
* You shouldn't need to call this manually - it should be handled by changes to @property values.
|
|
84
|
-
* @private
|
|
85
|
-
*/
|
|
86
|
-
queueRender(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
89
|
-
*
|
|
90
|
-
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
91
|
-
* components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
|
|
92
|
-
* @private
|
|
93
|
-
* @param options
|
|
94
|
-
*/
|
|
95
|
-
click({sourceEvent}?: ClickOptions): void;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare const setFiles: unique symbol;
|
|
99
|
-
|
|
100
|
-
declare const internals: unique symbol;
|
|
101
|
-
declare const getFileInput: unique symbol;
|
|
102
|
-
declare class BaseClass extends PreactCustomElement {
|
|
103
|
-
static formAssociated: boolean;
|
|
104
|
-
constructor(renderImpl: RenderImpl);
|
|
105
|
-
/** @private */
|
|
106
|
-
[internals]: ElementInternals;
|
|
107
|
-
}
|
|
108
|
-
declare class DropZone extends BaseClass implements DropZoneProps {
|
|
109
|
-
accessor accept: DropZoneProps['accept'];
|
|
110
|
-
accessor accessibilityLabel: DropZoneProps['accessibilityLabel'];
|
|
111
|
-
accessor disabled: DropZoneProps['disabled'];
|
|
112
|
-
accessor error: DropZoneProps['error'];
|
|
113
|
-
accessor label: DropZoneProps['label'];
|
|
114
|
-
accessor labelAccessibilityVisibility: DropZoneProps['labelAccessibilityVisibility'];
|
|
115
|
-
accessor multiple: DropZoneProps['multiple'];
|
|
116
|
-
accessor name: DropZoneProps['name'];
|
|
117
|
-
accessor required: DropZoneProps['required'];
|
|
118
|
-
accessor onchange: CallbackEventListener<typeof tagName>;
|
|
119
|
-
accessor oninput: CallbackEventListener<typeof tagName>;
|
|
120
|
-
accessor ondroprejected: CallbackEventListener<typeof tagName>;
|
|
121
|
-
get value(): string;
|
|
122
|
-
set value(value: string);
|
|
123
|
-
get files(): File[];
|
|
124
|
-
set files(files: File[]);
|
|
125
|
-
/** @private */
|
|
126
|
-
[setFiles](files: File[]): void;
|
|
127
|
-
/** @private */
|
|
128
|
-
[getFileInput](): HTMLInputElement | null;
|
|
129
|
-
/** @private */
|
|
130
|
-
formResetCallback(): void;
|
|
131
|
-
constructor();
|
|
132
|
-
}
|
|
133
|
-
declare global {
|
|
134
|
-
interface HTMLElementTagNameMap {
|
|
135
|
-
[tagName]: DropZone;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
declare module 'preact' {
|
|
139
|
-
namespace createElement.JSX {
|
|
140
|
-
interface IntrinsicElements {
|
|
141
|
-
[tagName]: Omit<
|
|
142
|
-
HTMLAttributes<HTMLElement>,
|
|
143
|
-
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
144
|
-
> &
|
|
145
|
-
DropZoneJSXProps;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
declare const tagName = 's-drop-zone';
|
|
151
|
-
export interface DropZoneJSXProps
|
|
152
|
-
extends Partial<DropZoneProps>,
|
|
153
|
-
Pick<DropZoneProps$1, 'id'> {
|
|
154
|
-
onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
155
|
-
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
156
|
-
onDropRejected?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export {DropZone};
|
|
160
|
-
export type {DropZoneJSXProps};
|
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
/** VERSION: 1.8.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
3
|
-
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
|
-
/* eslint-disable @typescript-eslint/member-ordering */
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
|
-
/// <reference lib="DOM" />
|
|
9
|
-
import type {
|
|
10
|
-
PopoverProps$1,
|
|
11
|
-
BoxProps$1,
|
|
12
|
-
InteractionProps,
|
|
13
|
-
ComponentChild,
|
|
14
|
-
MaybeAllValuesShorthandProperty,
|
|
15
|
-
} from './shared.d.ts';
|
|
16
|
-
|
|
17
|
-
export interface PopoverProps
|
|
18
|
-
extends Required<
|
|
19
|
-
Pick<
|
|
20
|
-
PopoverProps$1,
|
|
21
|
-
| 'blockSize'
|
|
22
|
-
| 'inlineSize'
|
|
23
|
-
| 'maxBlockSize'
|
|
24
|
-
| 'maxInlineSize'
|
|
25
|
-
| 'minBlockSize'
|
|
26
|
-
| 'minInlineSize'
|
|
27
|
-
>
|
|
28
|
-
> {}
|
|
29
|
-
|
|
30
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
31
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
32
|
-
};
|
|
33
|
-
export type CallbackToggleEvent<
|
|
34
|
-
TTagName extends keyof HTMLElementTagNameMap,
|
|
35
|
-
TEvent extends ToggleEvent = ToggleEvent,
|
|
36
|
-
> = TEvent & {
|
|
37
|
-
currentTarget: HTMLElementTagNameMap[TTagName];
|
|
38
|
-
};
|
|
39
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
40
|
-
| (EventListener & {
|
|
41
|
-
(event: CallbackEvent<T>): void;
|
|
42
|
-
})
|
|
43
|
-
| null;
|
|
44
|
-
/** Used when an element does not have children. */
|
|
45
|
-
export interface PreactBaseElementProps<TClass extends HTMLElement> {
|
|
46
|
-
/** Assigns a unique key to this element. */
|
|
47
|
-
key?: preact.Key;
|
|
48
|
-
/** Assigns a ref (generally from `useRef()`) to this element. */
|
|
49
|
-
ref?: preact.Ref<TClass>;
|
|
50
|
-
/** Assigns this element to a parent's slot. */
|
|
51
|
-
slot?: Lowercase<string>;
|
|
52
|
-
}
|
|
53
|
-
/** Used when an element has children. */
|
|
54
|
-
export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
|
|
55
|
-
extends PreactBaseElementProps<TClass> {
|
|
56
|
-
children?: preact.ComponentChildren;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export type Styles = string;
|
|
60
|
-
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
61
|
-
ShadowRoot: (element: any) => ComponentChild;
|
|
62
|
-
styles?: Styles;
|
|
63
|
-
};
|
|
64
|
-
export interface ActivationEventEsque {
|
|
65
|
-
shiftKey: boolean;
|
|
66
|
-
metaKey: boolean;
|
|
67
|
-
ctrlKey: boolean;
|
|
68
|
-
button: number;
|
|
69
|
-
}
|
|
70
|
-
export interface ClickOptions {
|
|
71
|
-
/**
|
|
72
|
-
* The event you want to influence the synthetic click.
|
|
73
|
-
*/
|
|
74
|
-
sourceEvent?: ActivationEventEsque;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Base class for creating custom elements with Preact.
|
|
78
|
-
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
79
|
-
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
80
|
-
*/
|
|
81
|
-
declare const BaseClass: typeof globalThis.HTMLElement;
|
|
82
|
-
declare abstract class PreactCustomElement extends BaseClass {
|
|
83
|
-
/** @private */
|
|
84
|
-
static get observedAttributes(): string[];
|
|
85
|
-
constructor({
|
|
86
|
-
styles,
|
|
87
|
-
ShadowRoot: renderFunction,
|
|
88
|
-
delegatesFocus,
|
|
89
|
-
...options
|
|
90
|
-
}: RenderImpl);
|
|
91
|
-
|
|
92
|
-
/** @private */
|
|
93
|
-
setAttribute(name: string, value: string): void;
|
|
94
|
-
/** @private */
|
|
95
|
-
attributeChangedCallback(name: string): void;
|
|
96
|
-
/** @private */
|
|
97
|
-
connectedCallback(): void;
|
|
98
|
-
/** @private */
|
|
99
|
-
disconnectedCallback(): void;
|
|
100
|
-
/** @private */
|
|
101
|
-
adoptedCallback(): void;
|
|
102
|
-
/**
|
|
103
|
-
* Queue a run of the render function.
|
|
104
|
-
* You shouldn't need to call this manually - it should be handled by changes to @property values.
|
|
105
|
-
* @private
|
|
106
|
-
*/
|
|
107
|
-
queueRender(): void;
|
|
108
|
-
/**
|
|
109
|
-
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
110
|
-
*
|
|
111
|
-
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
112
|
-
* components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
|
|
113
|
-
* @private
|
|
114
|
-
* @param options
|
|
115
|
-
*/
|
|
116
|
-
click({sourceEvent}?: ClickOptions): void;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* Shared symbols for overlay control functionality.
|
|
121
|
-
* These symbols are used by components that implement overlay behavior
|
|
122
|
-
* (like Popover, Tooltip, etc.) to communicate with the overlay control system.
|
|
123
|
-
*/
|
|
124
|
-
declare const overlayCommand: unique symbol;
|
|
125
|
-
declare const overlayHidden: unique symbol;
|
|
126
|
-
declare const overlayActivator: unique symbol;
|
|
127
|
-
|
|
128
|
-
declare class PreactOverlayElement extends PreactCustomElement {
|
|
129
|
-
constructor(renderImpl: RenderImpl);
|
|
130
|
-
/** @private */
|
|
131
|
-
[overlayHidden]: boolean;
|
|
132
|
-
/** @private */
|
|
133
|
-
[overlayActivator]: HTMLElement | null | undefined;
|
|
134
|
-
/** @private */
|
|
135
|
-
[overlayCommand](command: InteractionProps['command']): void;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
export type MakeResponsive<T> = T | `@container${string}`;
|
|
139
|
-
/**
|
|
140
|
-
* Makes a property's value potentially responsive.
|
|
141
|
-
*
|
|
142
|
-
* @example
|
|
143
|
-
* type Example = {
|
|
144
|
-
* color: boolean;
|
|
145
|
-
* margin: string;
|
|
146
|
-
* padding: number;
|
|
147
|
-
* }
|
|
148
|
-
* type Result = MakeResponsivePick<Example, 'color' | 'margin' | 'padding'>;
|
|
149
|
-
* // Result = {
|
|
150
|
-
* color: boolean | `@container${string}`;
|
|
151
|
-
* margin: string | `@container${string}`;
|
|
152
|
-
* padding: number | `@container${string}`;
|
|
153
|
-
* }
|
|
154
|
-
*/
|
|
155
|
-
export type MakeResponsivePick<TType, TProperty extends keyof TType> = {
|
|
156
|
-
[P in TProperty]: MakeResponsive<TType[P]>;
|
|
157
|
-
};
|
|
158
|
-
|
|
159
|
-
export type RequiredBoxProps = Required<BoxProps$1>;
|
|
160
|
-
export type BoxBorderRadii = Extract<
|
|
161
|
-
RequiredBoxProps['borderRadius'],
|
|
162
|
-
| 'none'
|
|
163
|
-
| 'small-200'
|
|
164
|
-
| 'small-100'
|
|
165
|
-
| 'small'
|
|
166
|
-
| 'base'
|
|
167
|
-
| 'large'
|
|
168
|
-
| 'large-100'
|
|
169
|
-
| 'large-200'
|
|
170
|
-
>;
|
|
171
|
-
export type BoxBorderStyles = Extract<
|
|
172
|
-
RequiredBoxProps['borderStyle'],
|
|
173
|
-
'none' | 'solid' | 'dashed' | 'auto'
|
|
174
|
-
>;
|
|
175
|
-
export type ResponsiveBoxProps = MakeResponsivePick<
|
|
176
|
-
RequiredBoxProps,
|
|
177
|
-
| 'padding'
|
|
178
|
-
| 'paddingBlock'
|
|
179
|
-
| 'paddingBlockStart'
|
|
180
|
-
| 'paddingBlockEnd'
|
|
181
|
-
| 'paddingInline'
|
|
182
|
-
| 'paddingInlineStart'
|
|
183
|
-
| 'paddingInlineEnd'
|
|
184
|
-
| 'display'
|
|
185
|
-
>;
|
|
186
|
-
export interface BoxProps
|
|
187
|
-
extends Pick<
|
|
188
|
-
RequiredBoxProps,
|
|
189
|
-
| 'accessibilityLabel'
|
|
190
|
-
| 'accessibilityRole'
|
|
191
|
-
| 'accessibilityVisibility'
|
|
192
|
-
| 'background'
|
|
193
|
-
| 'blockSize'
|
|
194
|
-
| 'border'
|
|
195
|
-
| 'borderColor'
|
|
196
|
-
| 'borderRadius'
|
|
197
|
-
| 'borderStyle'
|
|
198
|
-
| 'borderWidth'
|
|
199
|
-
| 'inlineSize'
|
|
200
|
-
| 'maxBlockSize'
|
|
201
|
-
| 'maxInlineSize'
|
|
202
|
-
| 'minBlockSize'
|
|
203
|
-
| 'minInlineSize'
|
|
204
|
-
| 'overflow'
|
|
205
|
-
> {
|
|
206
|
-
background: Extract<
|
|
207
|
-
RequiredBoxProps['background'],
|
|
208
|
-
'transparent' | 'base' | 'subdued' | 'strong'
|
|
209
|
-
>;
|
|
210
|
-
borderWidth:
|
|
211
|
-
| MaybeAllValuesShorthandProperty<
|
|
212
|
-
Extract<
|
|
213
|
-
RequiredBoxProps['borderWidth'],
|
|
214
|
-
'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
|
|
215
|
-
>
|
|
216
|
-
>
|
|
217
|
-
| Extract<RequiredBoxProps['borderWidth'], ''>;
|
|
218
|
-
borderStyle:
|
|
219
|
-
| MaybeAllValuesShorthandProperty<BoxBorderStyles>
|
|
220
|
-
| Extract<RequiredBoxProps['borderStyle'], ''>;
|
|
221
|
-
borderColor: Extract<
|
|
222
|
-
RequiredBoxProps['borderColor'],
|
|
223
|
-
'subdued' | 'base' | 'strong' | ''
|
|
224
|
-
>;
|
|
225
|
-
borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
|
|
226
|
-
/**
|
|
227
|
-
* Adjust the padding of all edges.
|
|
228
|
-
*
|
|
229
|
-
* 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
|
|
230
|
-
* supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
|
|
231
|
-
*
|
|
232
|
-
* - 4 values: `block-start inline-end block-end inline-start`
|
|
233
|
-
* - 3 values: `block-start inline block-end`
|
|
234
|
-
* - 2 values: `block inline`
|
|
235
|
-
*
|
|
236
|
-
* For example:
|
|
237
|
-
* - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
|
|
238
|
-
* - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
|
|
239
|
-
* - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
|
|
240
|
-
* - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
|
|
241
|
-
*
|
|
242
|
-
* A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
|
|
243
|
-
*
|
|
244
|
-
* `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
245
|
-
*
|
|
246
|
-
* This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
|
|
247
|
-
*
|
|
248
|
-
* @default 'none'
|
|
249
|
-
*/
|
|
250
|
-
padding: ResponsiveBoxProps['padding'];
|
|
251
|
-
/**
|
|
252
|
-
* Adjust the block-padding.
|
|
253
|
-
*
|
|
254
|
-
* - `large none` means block-start padding is `large`, block-end padding is `none`.
|
|
255
|
-
*
|
|
256
|
-
* This overrides the block value of `padding`.
|
|
257
|
-
*
|
|
258
|
-
* `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
259
|
-
*
|
|
260
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
261
|
-
*
|
|
262
|
-
* @default '' - meaning no override
|
|
263
|
-
*/
|
|
264
|
-
paddingBlock: ResponsiveBoxProps['paddingBlock'];
|
|
265
|
-
/**
|
|
266
|
-
* Adjust the block-start padding.
|
|
267
|
-
*
|
|
268
|
-
* This overrides the block-start value of `paddingBlock`.
|
|
269
|
-
*
|
|
270
|
-
* `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
271
|
-
*
|
|
272
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
273
|
-
* @default '' - meaning no override
|
|
274
|
-
*/
|
|
275
|
-
paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
|
|
276
|
-
/**
|
|
277
|
-
* Adjust the block-end padding.
|
|
278
|
-
*
|
|
279
|
-
* This overrides the block-end value of `paddingBlock`.
|
|
280
|
-
*
|
|
281
|
-
* `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
282
|
-
*
|
|
283
|
-
* This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
284
|
-
* @default '' - meaning no override
|
|
285
|
-
*/
|
|
286
|
-
paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
|
|
287
|
-
/**
|
|
288
|
-
* Adjust the inline padding.
|
|
289
|
-
*
|
|
290
|
-
* - `large none` means inline-start padding is `large`, inline-end padding is `none`.
|
|
291
|
-
*
|
|
292
|
-
* This overrides the inline value of `padding`.
|
|
293
|
-
*
|
|
294
|
-
* `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
295
|
-
*
|
|
296
|
-
* This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
|
|
297
|
-
*
|
|
298
|
-
* @default '' - meaning no override
|
|
299
|
-
*/
|
|
300
|
-
paddingInline: ResponsiveBoxProps['paddingInline'];
|
|
301
|
-
/**
|
|
302
|
-
* Adjust the inline-start padding.
|
|
303
|
-
*
|
|
304
|
-
* This overrides the inline-start value of `paddingInline`.
|
|
305
|
-
*
|
|
306
|
-
* `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
307
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
308
|
-
*
|
|
309
|
-
* @default '' - meaning no override
|
|
310
|
-
*/
|
|
311
|
-
paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
|
|
312
|
-
/**
|
|
313
|
-
* Adjust the inline-end padding.
|
|
314
|
-
*
|
|
315
|
-
* This overrides the inline-end value of `paddingInline`.
|
|
316
|
-
*
|
|
317
|
-
* `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
|
|
318
|
-
* This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
|
|
319
|
-
*
|
|
320
|
-
* @default '' - meaning no override
|
|
321
|
-
*/
|
|
322
|
-
paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
|
|
323
|
-
/**
|
|
324
|
-
* Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
|
|
325
|
-
*
|
|
326
|
-
* - `auto` the component's initial value. The actual value depends on the component and context.
|
|
327
|
-
* - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
|
|
328
|
-
*
|
|
329
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
|
|
330
|
-
* @default 'auto'
|
|
331
|
-
*/
|
|
332
|
-
display: ResponsiveBoxProps['display'];
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
declare class PreactPopoverElement<TTagName extends keyof HTMLElementTagNameMap>
|
|
336
|
-
extends PreactOverlayElement
|
|
337
|
-
implements PopoverProps
|
|
338
|
-
{
|
|
339
|
-
constructor(renderImpl: RenderImpl);
|
|
340
|
-
accessor blockSize: BoxProps['blockSize'];
|
|
341
|
-
accessor minBlockSize: BoxProps['minBlockSize'];
|
|
342
|
-
accessor maxBlockSize: BoxProps['maxBlockSize'];
|
|
343
|
-
accessor inlineSize: BoxProps['inlineSize'];
|
|
344
|
-
accessor minInlineSize: BoxProps['minInlineSize'];
|
|
345
|
-
accessor maxInlineSize: BoxProps['maxInlineSize'];
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
declare class Popover
|
|
349
|
-
extends PreactPopoverElement<typeof tagName>
|
|
350
|
-
implements PopoverProps
|
|
351
|
-
{
|
|
352
|
-
constructor();
|
|
353
|
-
}
|
|
354
|
-
declare global {
|
|
355
|
-
interface HTMLElementTagNameMap {
|
|
356
|
-
[tagName]: Popover;
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
declare module 'preact' {
|
|
360
|
-
namespace createElement.JSX {
|
|
361
|
-
interface IntrinsicElements {
|
|
362
|
-
[tagName]: PopoverJSXProps & PreactBaseElementPropsWithChildren<Popover>;
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
declare const tagName = 's-popover';
|
|
368
|
-
export interface PopoverJSXProps extends Partial<PopoverProps> {
|
|
369
|
-
id?: string;
|
|
370
|
-
onHide?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
371
|
-
onShow?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
372
|
-
onAfterHide?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
373
|
-
onAfterShow?: (event: CallbackEvent<typeof tagName>) => void | null;
|
|
374
|
-
onToggle?: (event: CallbackToggleEvent<typeof tagName>) => void | null;
|
|
375
|
-
onAfterToggle?: (event: CallbackToggleEvent<typeof tagName>) => void | null;
|
|
376
|
-
}
|
|
377
|
-
|
|
378
|
-
export {Popover};
|
|
379
|
-
export type {PopoverJSXProps};
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
/** VERSION: 1.19.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
3
|
-
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
5
|
-
/* eslint-disable @typescript-eslint/member-ordering */
|
|
6
|
-
|
|
7
|
-
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
8
|
-
/// <reference lib="DOM" />
|
|
9
|
-
import type {DropZoneProps$1, ComponentChild} from './shared.d.ts';
|
|
10
|
-
|
|
11
|
-
export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
|
|
12
|
-
currentTarget: HTMLElementTagNameMap[T];
|
|
13
|
-
};
|
|
14
|
-
export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
|
|
15
|
-
| (EventListener & {
|
|
16
|
-
(event: CallbackEvent<T>): void;
|
|
17
|
-
})
|
|
18
|
-
| null;
|
|
19
|
-
|
|
20
|
-
export interface DropZoneProps
|
|
21
|
-
extends Required<
|
|
22
|
-
Pick<
|
|
23
|
-
DropZoneProps$1,
|
|
24
|
-
| 'accept'
|
|
25
|
-
| 'accessibilityLabel'
|
|
26
|
-
| 'disabled'
|
|
27
|
-
| 'files'
|
|
28
|
-
| 'name'
|
|
29
|
-
| 'error'
|
|
30
|
-
| 'label'
|
|
31
|
-
| 'labelAccessibilityVisibility'
|
|
32
|
-
| 'multiple'
|
|
33
|
-
| 'required'
|
|
34
|
-
| 'value'
|
|
35
|
-
>
|
|
36
|
-
> {}
|
|
37
|
-
|
|
38
|
-
export type Styles = string;
|
|
39
|
-
export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
|
|
40
|
-
ShadowRoot: (element: any) => ComponentChild;
|
|
41
|
-
styles?: Styles;
|
|
42
|
-
};
|
|
43
|
-
export interface ActivationEventEsque {
|
|
44
|
-
shiftKey: boolean;
|
|
45
|
-
metaKey: boolean;
|
|
46
|
-
ctrlKey: boolean;
|
|
47
|
-
button: number;
|
|
48
|
-
}
|
|
49
|
-
export interface ClickOptions {
|
|
50
|
-
/**
|
|
51
|
-
* The event you want to influence the synthetic click.
|
|
52
|
-
*/
|
|
53
|
-
sourceEvent?: ActivationEventEsque;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Base class for creating custom elements with Preact.
|
|
57
|
-
* While this class could be used in both Node and the browser, the constructor will only be used in the browser.
|
|
58
|
-
* So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
|
|
59
|
-
*/
|
|
60
|
-
declare const BaseClass$1: typeof globalThis.HTMLElement;
|
|
61
|
-
declare abstract class PreactCustomElement extends BaseClass$1 {
|
|
62
|
-
/** @private */
|
|
63
|
-
static get observedAttributes(): string[];
|
|
64
|
-
constructor({
|
|
65
|
-
styles,
|
|
66
|
-
ShadowRoot: renderFunction,
|
|
67
|
-
delegatesFocus,
|
|
68
|
-
...options
|
|
69
|
-
}: RenderImpl);
|
|
70
|
-
|
|
71
|
-
/** @private */
|
|
72
|
-
setAttribute(name: string, value: string): void;
|
|
73
|
-
/** @private */
|
|
74
|
-
attributeChangedCallback(name: string): void;
|
|
75
|
-
/** @private */
|
|
76
|
-
connectedCallback(): void;
|
|
77
|
-
/** @private */
|
|
78
|
-
disconnectedCallback(): void;
|
|
79
|
-
/** @private */
|
|
80
|
-
adoptedCallback(): void;
|
|
81
|
-
/**
|
|
82
|
-
* Queue a run of the render function.
|
|
83
|
-
* You shouldn't need to call this manually - it should be handled by changes to @property values.
|
|
84
|
-
* @private
|
|
85
|
-
*/
|
|
86
|
-
queueRender(): void;
|
|
87
|
-
/**
|
|
88
|
-
* Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
|
|
89
|
-
*
|
|
90
|
-
* For example, if the `sourceEvent` was a middle click, or has particular keys held down,
|
|
91
|
-
* components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
|
|
92
|
-
* @private
|
|
93
|
-
* @param options
|
|
94
|
-
*/
|
|
95
|
-
click({sourceEvent}?: ClickOptions): void;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
declare const setFiles: unique symbol;
|
|
99
|
-
|
|
100
|
-
declare const internals: unique symbol;
|
|
101
|
-
declare const getFileInput: unique symbol;
|
|
102
|
-
declare class BaseClass extends PreactCustomElement {
|
|
103
|
-
static formAssociated: boolean;
|
|
104
|
-
constructor(renderImpl: RenderImpl);
|
|
105
|
-
/** @private */
|
|
106
|
-
[internals]: ElementInternals;
|
|
107
|
-
}
|
|
108
|
-
declare class DropZone extends BaseClass implements DropZoneProps {
|
|
109
|
-
accessor accept: DropZoneProps['accept'];
|
|
110
|
-
accessor accessibilityLabel: DropZoneProps['accessibilityLabel'];
|
|
111
|
-
accessor disabled: DropZoneProps['disabled'];
|
|
112
|
-
accessor error: DropZoneProps['error'];
|
|
113
|
-
accessor label: DropZoneProps['label'];
|
|
114
|
-
accessor labelAccessibilityVisibility: DropZoneProps['labelAccessibilityVisibility'];
|
|
115
|
-
accessor multiple: DropZoneProps['multiple'];
|
|
116
|
-
accessor name: DropZoneProps['name'];
|
|
117
|
-
accessor required: DropZoneProps['required'];
|
|
118
|
-
accessor onchange: CallbackEventListener<typeof tagName>;
|
|
119
|
-
accessor oninput: CallbackEventListener<typeof tagName>;
|
|
120
|
-
accessor ondroprejected: CallbackEventListener<typeof tagName>;
|
|
121
|
-
get value(): string;
|
|
122
|
-
set value(value: string);
|
|
123
|
-
get files(): File[];
|
|
124
|
-
set files(files: File[]);
|
|
125
|
-
/** @private */
|
|
126
|
-
[setFiles](files: File[]): void;
|
|
127
|
-
/** @private */
|
|
128
|
-
[getFileInput](): HTMLInputElement | null;
|
|
129
|
-
/** @private */
|
|
130
|
-
formResetCallback(): void;
|
|
131
|
-
constructor();
|
|
132
|
-
}
|
|
133
|
-
declare global {
|
|
134
|
-
interface HTMLElementTagNameMap {
|
|
135
|
-
[tagName]: DropZone;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
declare module 'preact' {
|
|
139
|
-
namespace createElement.JSX {
|
|
140
|
-
interface IntrinsicElements {
|
|
141
|
-
[tagName]: Omit<
|
|
142
|
-
HTMLAttributes<HTMLElement>,
|
|
143
|
-
Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
|
|
144
|
-
> &
|
|
145
|
-
DropZoneJSXProps;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
declare const tagName = 's-drop-zone';
|
|
151
|
-
export interface DropZoneJSXProps
|
|
152
|
-
extends Partial<DropZoneProps>,
|
|
153
|
-
Pick<DropZoneProps$1, 'id'> {
|
|
154
|
-
onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
155
|
-
onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
156
|
-
onDropRejected?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
export {DropZone};
|
|
160
|
-
export type {DropZoneJSXProps};
|