@shopify/ui-extensions 2025.10.0-rc.5 → 2025.10.0-rc.7
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/ts/docs/shared/components/Map.d.ts +4 -0
- package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
- package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Modal.d.ts +4 -0
- package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
- package/build/ts/docs/shared/components/Option.d.ts +4 -0
- package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
- package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
- package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
- package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
- package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +43 -1
- package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +43 -1
- package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Banner.d.ts +52 -13
- package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Button.d.ts +39 -13
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Checkbox.d.ts +54 -0
- package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +36 -9
- package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/DropZone.d.ts +36 -9
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/EmailField.d.ts +69 -0
- package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
- package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
- package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/Link.d.ts +39 -13
- package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Map.d.ts +75 -0
- package/build/ts/surfaces/checkout/components/MapMarker.d.ts +73 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Modal.d.ts +87 -0
- package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/PhoneField.d.ts +84 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/QRCode.d.ts +32 -8
- package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
- package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
- package/build/ts/surfaces/checkout/components/TextArea.d.ts +69 -0
- package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/components/TextField.d.ts +72 -21
- package/build/ts/surfaces/checkout/components/Time.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/checkout/components/components-shared.d.ts +486 -2
- package/build/ts/surfaces/checkout/components/components.d.ts +1000 -166
- package/build/ts/surfaces/checkout/shared.d.ts +1 -1
- package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
- package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +863 -155
- package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +918 -172
- package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +918 -172
- package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Banner.d.ts +52 -13
- package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Button.d.ts +39 -13
- package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +54 -0
- package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +36 -9
- package/build/ts/surfaces/customer-account/components/DropZone.d.ts +36 -9
- package/build/ts/surfaces/customer-account/components/EmailField.d.ts +69 -0
- package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
- package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
- package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
- package/build/ts/surfaces/customer-account/components/Link.d.ts +39 -13
- package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
- package/build/ts/surfaces/customer-account/components/Map.d.ts +75 -0
- package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +73 -0
- package/build/ts/surfaces/customer-account/components/Modal.d.ts +87 -0
- package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
- package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +84 -0
- package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/QRCode.d.ts +32 -8
- package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
- package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
- package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/TextArea.d.ts +69 -0
- package/build/ts/surfaces/customer-account/components/TextField.d.ts +72 -21
- package/build/ts/surfaces/customer-account/components/Time.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
- package/build/ts/surfaces/customer-account/components/components-shared.d.ts +486 -2
- package/build/ts/surfaces/customer-account/components/components.d.ts +1000 -166
- package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +918 -173
- package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +918 -173
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/docs/shared/components/Map.ts +12 -0
- package/src/docs/shared/components/MapMarker.ts +12 -0
- package/src/docs/shared/components/Modal.ts +12 -0
- package/src/docs/shared/components/Option.ts +12 -0
- package/src/docs/shared/components/PhoneField.ts +11 -0
- package/src/docs/shared/components/ProductThumbnail.ts +11 -0
- package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
- package/src/surfaces/admin/components/StandardComponents.ts +1 -0
- package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
- package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
- package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
- package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
- package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
- package/src/surfaces/admin/components/patterns/examples/settings.html +241 -0
- package/src/surfaces/admin/components/patterns/examples/settings.jsx +349 -0
- package/src/surfaces/admin/components/patterns/index.ab.doc.ts +82 -0
- package/src/surfaces/checkout/components/Abbreviation.d.ts +20 -8
- package/src/surfaces/checkout/components/Banner.d.ts +52 -13
- package/src/surfaces/checkout/components/Box.d.ts +20 -9
- package/src/surfaces/checkout/components/Button.d.ts +39 -13
- package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
- package/src/surfaces/checkout/components/Checkbox.d.ts +54 -0
- package/src/surfaces/checkout/components/ClipboardItem.d.ts +36 -9
- package/src/surfaces/checkout/components/DropZone.d.ts +36 -9
- package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
- package/src/surfaces/checkout/components/EmailField.d.ts +69 -0
- package/src/surfaces/checkout/components/Form.d.ts +40 -12
- package/src/surfaces/checkout/components/Heading.d.ts +20 -8
- package/src/surfaces/checkout/components/Icon.d.ts +22 -9
- package/src/surfaces/checkout/components/Image.d.ts +13 -7
- package/src/surfaces/checkout/components/Link.d.ts +39 -13
- package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
- package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
- package/src/surfaces/checkout/components/Map.d.ts +75 -0
- package/src/surfaces/checkout/components/MapMarker.d.ts +73 -0
- package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
- package/src/surfaces/checkout/components/Modal.d.ts +87 -0
- package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
- package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
- package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
- package/src/surfaces/checkout/components/PhoneField.d.ts +84 -0
- package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
- package/src/surfaces/checkout/components/Progress.d.ts +14 -4
- package/src/surfaces/checkout/components/QRCode.d.ts +32 -8
- package/src/surfaces/checkout/components/Section.d.ts +20 -8
- package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
- package/src/surfaces/checkout/components/Stack.d.ts +20 -9
- package/src/surfaces/checkout/components/Text.d.ts +20 -8
- package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
- package/src/surfaces/checkout/components/TextArea.d.ts +69 -0
- package/src/surfaces/checkout/components/TextField.d.ts +72 -21
- package/src/surfaces/checkout/components/Time.d.ts +20 -8
- package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
- package/src/surfaces/checkout/components/components-shared.d.ts +486 -2
- package/src/surfaces/checkout/components/components.d.ts +1000 -166
- package/src/surfaces/checkout/shared.ts +8 -0
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +1 -1
- package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +1 -1
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +1 -1
- package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +1 -1
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +1 -1
- package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +1 -1
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/** VERSION: 0.0.0 **/
|
|
2
|
+
/* eslint-disable import-x/extensions */
|
|
3
|
+
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
+
/* eslint-disable @typescript-eslint/member-ordering */
|
|
5
|
+
/* eslint-disable line-comment-position */
|
|
6
|
+
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
7
|
+
/* eslint-disable no-var */
|
|
8
|
+
/* eslint-disable import-x/namespace */
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
|
+
/// <reference lib="DOM" />
|
|
11
|
+
import type {TextAreaProps$1} from './components-shared.d.ts';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Used when an element does not have children.
|
|
15
|
+
*/
|
|
16
|
+
export interface BaseElementProps<TClass = HTMLElement> {
|
|
17
|
+
key?: preact.Key;
|
|
18
|
+
ref?: preact.Ref<TClass>;
|
|
19
|
+
slot?: Lowercase<string>;
|
|
20
|
+
}
|
|
21
|
+
export type CallbackEvent<TTagName extends keyof HTMLElementTagNameMap, TEvent extends Event = Event> = TEvent & {
|
|
22
|
+
currentTarget: HTMLElementTagNameMap[TTagName];
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
declare const tagName = "s-text-area";
|
|
26
|
+
export interface TextAreaBaseProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value' | 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'readOnly' | 'rows' | 'maxLength' | 'minLength' | 'labelAccessibilityVisibility'> {
|
|
27
|
+
}
|
|
28
|
+
export interface TextAreaEvents extends Pick<TextAreaProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
29
|
+
}
|
|
30
|
+
export interface TextAreaElementEvents {
|
|
31
|
+
/**
|
|
32
|
+
* Callback when the element loses focus.
|
|
33
|
+
*/
|
|
34
|
+
blur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
35
|
+
/**
|
|
36
|
+
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
37
|
+
*/
|
|
38
|
+
change?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
39
|
+
/**
|
|
40
|
+
* Callback when the element receives focus.
|
|
41
|
+
*/
|
|
42
|
+
focus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
43
|
+
/**
|
|
44
|
+
* Callback when the user makes any changes in the field.
|
|
45
|
+
*/
|
|
46
|
+
input?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
47
|
+
}
|
|
48
|
+
export interface TextAreaElement extends TextAreaBaseProps, Omit<TextAreaEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
|
|
49
|
+
onblur: TextAreaEvents['onBlur'];
|
|
50
|
+
onchange: TextAreaEvents['onChange'];
|
|
51
|
+
onfocus: TextAreaEvents['onFocus'];
|
|
52
|
+
oninput: TextAreaEvents['onInput'];
|
|
53
|
+
}
|
|
54
|
+
export interface TextAreaProps extends TextAreaBaseProps, TextAreaEvents {
|
|
55
|
+
}
|
|
56
|
+
declare global {
|
|
57
|
+
interface HTMLElementTagNameMap {
|
|
58
|
+
[tagName]: TextAreaElement;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
declare module 'preact' {
|
|
62
|
+
namespace createElement.JSX {
|
|
63
|
+
interface IntrinsicElements {
|
|
64
|
+
[tagName]: TextAreaProps & BaseElementProps<TextAreaElement>;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type { TextAreaBaseProps, TextAreaElement, TextAreaElementEvents, TextAreaEvents, TextAreaProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/TextField/TextField.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TextField.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/components/TextField/TextField.doc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAI1E,QAAA,MAAM,IAAI,EAAE,6BA+CX,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,61 +1,112 @@
|
|
|
1
1
|
/** VERSION: 0.0.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
2
|
+
/* eslint-disable import-x/extensions */
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
4
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
5
5
|
/* eslint-disable line-comment-position */
|
|
6
6
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
7
7
|
/* eslint-disable no-var */
|
|
8
|
-
/* eslint-disable import/namespace */
|
|
8
|
+
/* eslint-disable import-x/namespace */
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
|
-
import type {IconProps$1, TextFieldProps$1} from './components-shared.d.ts';
|
|
11
|
+
import type {IconProps$1, TextFieldProps$1,IconType} from './components-shared.d.ts';
|
|
12
|
+
import { ReactNode } from 'react';
|
|
12
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Used when an element does not have children.
|
|
16
|
+
*/
|
|
17
|
+
export interface BaseElementProps<TClass = HTMLElement> {
|
|
18
|
+
key?: preact.Key;
|
|
19
|
+
ref?: preact.Ref<TClass>;
|
|
20
|
+
slot?: Lowercase<string>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The list of available icon types.
|
|
24
|
+
*
|
|
25
|
+
* @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
|
|
26
|
+
*/
|
|
27
|
+
export type ReducedIconTypes = Extract<IconType, 'alert-circle' | 'alert-triangle-filled' | 'alert-triangle' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up-right' | 'arrow-up' | 'bag' | 'bullet' | 'calendar' | 'camera' | 'caret-down' | 'cart' | 'cash-dollar' | 'categories' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left' | 'chevron-right' | 'chevron-up' | 'circle' | 'clipboard' | 'clock' | 'credit-card' | 'delete' | 'delivered' | 'delivery' | 'disabled' | 'discount' | 'edit' | 'email' | 'empty' | 'external' | 'filter' | 'geolocation' | 'gift-card' | 'globe' | 'grid' | 'image' | 'info-filled' | 'info' | 'list-bulleted' | 'location' | 'lock' | 'map' | 'menu-horizontal' | 'menu-vertical' | 'menu' | 'minus' | 'mobile' | 'note' | 'order' | 'organization' | 'plus' | 'profile' | 'question-circle-filled' | 'question-circle' | 'reorder' | 'reset' | 'return' | 'savings' | 'search' | 'settings' | 'star-filled' | 'star-half' | 'star' | 'store' | 'truck' | 'upload' | 'x-circle-filled' | 'x-circle' | 'x'>;
|
|
28
|
+
export type CallbackEvent<TTagName extends keyof HTMLElementTagNameMap, TEvent extends Event = Event> = TEvent & {
|
|
29
|
+
currentTarget: HTMLElementTagNameMap[TTagName];
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
declare const tagName$1 = "s-icon";
|
|
13
33
|
export interface IconProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
|
|
14
34
|
tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
|
|
15
35
|
size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
|
|
16
|
-
type?: '' |
|
|
36
|
+
type?: '' | ReducedIconTypes;
|
|
17
37
|
}
|
|
18
38
|
export interface IconElement extends IconProps, Omit<HTMLElement, 'id'> {
|
|
19
39
|
}
|
|
20
40
|
declare global {
|
|
21
41
|
interface HTMLElementTagNameMap {
|
|
22
|
-
|
|
42
|
+
[tagName$1]: IconElement;
|
|
23
43
|
}
|
|
24
44
|
}
|
|
25
45
|
declare module 'preact' {
|
|
26
|
-
interface BaseProps {
|
|
27
|
-
slot?: Lowercase<string>;
|
|
28
|
-
}
|
|
29
46
|
namespace createElement.JSX {
|
|
30
47
|
interface IntrinsicElements {
|
|
31
|
-
|
|
48
|
+
[tagName$1]: IconProps & BaseElementProps<IconElement>;
|
|
32
49
|
}
|
|
33
50
|
}
|
|
34
51
|
}
|
|
35
52
|
|
|
36
|
-
|
|
53
|
+
declare const tagName = "s-text-field";
|
|
54
|
+
export interface TextFieldBaseProps extends Pick<TextFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'icon' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'placeholder' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
|
|
37
55
|
icon?: IconProps['type'];
|
|
38
56
|
}
|
|
39
|
-
export interface
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
57
|
+
export interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
|
|
58
|
+
}
|
|
59
|
+
export interface TextFieldElementEvents {
|
|
60
|
+
/**
|
|
61
|
+
* Callback when the element loses focus.
|
|
62
|
+
*/
|
|
63
|
+
blur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
64
|
+
/**
|
|
65
|
+
* Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
|
|
66
|
+
*/
|
|
67
|
+
change?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
68
|
+
/**
|
|
69
|
+
* Callback when the element receives focus.
|
|
70
|
+
*/
|
|
71
|
+
focus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
72
|
+
/**
|
|
73
|
+
* Callback when the user makes any changes in the field.
|
|
74
|
+
*/
|
|
75
|
+
input?: ((event: CallbackEvent<typeof tagName>) => void) | null;
|
|
76
|
+
}
|
|
77
|
+
export interface TextFieldSlots {
|
|
78
|
+
/**
|
|
79
|
+
* Additional content to be displayed in the field.
|
|
80
|
+
* Commonly used to display an icon that activates a tooltip providing more information.
|
|
81
|
+
*/
|
|
82
|
+
accessory?: ReactNode;
|
|
83
|
+
}
|
|
84
|
+
export interface TextFieldElementSlots {
|
|
85
|
+
/**
|
|
86
|
+
* Additional content to be displayed in the field.
|
|
87
|
+
* Commonly used to display an icon that activates a tooltip providing more information.
|
|
88
|
+
*/
|
|
89
|
+
accessory?: HTMLElement;
|
|
90
|
+
}
|
|
91
|
+
export interface TextFieldElement extends TextFieldBaseProps, TextFieldSlots, Omit<TextFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
|
|
92
|
+
onblur: TextFieldEvents['onBlur'];
|
|
93
|
+
onchange: TextFieldEvents['onChange'];
|
|
94
|
+
onfocus: TextFieldEvents['onFocus'];
|
|
95
|
+
oninput: TextFieldEvents['onInput'];
|
|
96
|
+
}
|
|
97
|
+
export interface TextFieldProps extends TextFieldBaseProps, TextFieldSlots, TextFieldEvents {
|
|
44
98
|
}
|
|
45
99
|
declare global {
|
|
46
100
|
interface HTMLElementTagNameMap {
|
|
47
|
-
|
|
101
|
+
[tagName]: TextFieldElement;
|
|
48
102
|
}
|
|
49
103
|
}
|
|
50
104
|
declare module 'preact' {
|
|
51
|
-
interface BaseProps {
|
|
52
|
-
slot?: Lowercase<string>;
|
|
53
|
-
}
|
|
54
105
|
namespace createElement.JSX {
|
|
55
106
|
interface IntrinsicElements {
|
|
56
|
-
|
|
107
|
+
[tagName]: TextFieldProps & BaseElementProps<TextFieldElement>;
|
|
57
108
|
}
|
|
58
109
|
}
|
|
59
110
|
}
|
|
60
111
|
|
|
61
|
-
export type { TextFieldElement, TextFieldProps };
|
|
112
|
+
export type { TextFieldBaseProps, TextFieldElement, TextFieldElementEvents, TextFieldElementSlots, TextFieldEvents, TextFieldProps, TextFieldSlots };
|
|
@@ -1,32 +1,44 @@
|
|
|
1
1
|
/** VERSION: 0.0.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
2
|
+
/* eslint-disable import-x/extensions */
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
4
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
5
5
|
/* eslint-disable line-comment-position */
|
|
6
6
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
7
7
|
/* eslint-disable no-var */
|
|
8
|
-
/* eslint-disable import/namespace */
|
|
8
|
+
/* eslint-disable import-x/namespace */
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
import type {TimeProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Used when an element does not have children.
|
|
15
|
+
*/
|
|
16
|
+
export interface BaseElementProps<TClass = HTMLElement> {
|
|
17
|
+
key?: preact.Key;
|
|
18
|
+
ref?: preact.Ref<TClass>;
|
|
19
|
+
slot?: Lowercase<string>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Used when an element has children.
|
|
23
|
+
*/
|
|
24
|
+
export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
25
|
+
children?: preact.ComponentChildren;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare const tagName = "s-time";
|
|
13
29
|
export interface TimeProps extends Pick<TimeProps$1, 'dateTime'> {
|
|
14
30
|
}
|
|
15
31
|
export interface TimeElement extends TimeProps, Omit<HTMLElement, 'id'> {
|
|
16
32
|
}
|
|
17
33
|
declare global {
|
|
18
34
|
interface HTMLElementTagNameMap {
|
|
19
|
-
|
|
35
|
+
[tagName]: TimeElement;
|
|
20
36
|
}
|
|
21
37
|
}
|
|
22
38
|
declare module 'preact' {
|
|
23
|
-
interface BaseProps {
|
|
24
|
-
children?: preact.ComponentChildren;
|
|
25
|
-
slot?: Lowercase<string>;
|
|
26
|
-
}
|
|
27
39
|
namespace createElement.JSX {
|
|
28
40
|
interface IntrinsicElements {
|
|
29
|
-
|
|
41
|
+
[tagName]: TimeProps & BaseElementPropsWithChildren<TimeElement>;
|
|
30
42
|
}
|
|
31
43
|
}
|
|
32
44
|
}
|
|
@@ -1,32 +1,44 @@
|
|
|
1
1
|
/** VERSION: 0.0.0 **/
|
|
2
|
-
/* eslint-disable import/extensions */
|
|
2
|
+
/* eslint-disable import-x/extensions */
|
|
3
3
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
4
|
/* eslint-disable @typescript-eslint/member-ordering */
|
|
5
5
|
/* eslint-disable line-comment-position */
|
|
6
6
|
/* eslint-disable @typescript-eslint/unified-signatures */
|
|
7
7
|
/* eslint-disable no-var */
|
|
8
|
-
/* eslint-disable import/namespace */
|
|
8
|
+
/* eslint-disable import-x/namespace */
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
|
|
10
10
|
/// <reference lib="DOM" />
|
|
11
11
|
import type {UnorderedListProps$1} from './components-shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Used when an element does not have children.
|
|
15
|
+
*/
|
|
16
|
+
export interface BaseElementProps<TClass = HTMLElement> {
|
|
17
|
+
key?: preact.Key;
|
|
18
|
+
ref?: preact.Ref<TClass>;
|
|
19
|
+
slot?: Lowercase<string>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Used when an element has children.
|
|
23
|
+
*/
|
|
24
|
+
export interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
|
|
25
|
+
children?: preact.ComponentChildren;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare const tagName = "s-unordered-list";
|
|
13
29
|
export interface UnorderedListProps extends UnorderedListProps$1 {
|
|
14
30
|
}
|
|
15
31
|
export interface UnorderedListElement extends UnorderedListProps, Omit<HTMLElement, 'id'> {
|
|
16
32
|
}
|
|
17
33
|
declare global {
|
|
18
34
|
interface HTMLElementTagNameMap {
|
|
19
|
-
|
|
35
|
+
[tagName]: UnorderedListElement;
|
|
20
36
|
}
|
|
21
37
|
}
|
|
22
38
|
declare module 'preact' {
|
|
23
|
-
interface BaseProps {
|
|
24
|
-
children?: preact.ComponentChildren;
|
|
25
|
-
slot?: Lowercase<string>;
|
|
26
|
-
}
|
|
27
39
|
namespace createElement.JSX {
|
|
28
40
|
interface IntrinsicElements {
|
|
29
|
-
|
|
41
|
+
[tagName]: UnorderedListProps & BaseElementPropsWithChildren<UnorderedListElement>;
|
|
30
42
|
}
|
|
31
43
|
}
|
|
32
44
|
}
|