@shopify/ui-extensions 2025.10.0-rc.6 → 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.
Files changed (253) hide show
  1. package/build/ts/docs/shared/components/Map.d.ts +4 -0
  2. package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
  3. package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
  4. package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
  5. package/build/ts/docs/shared/components/Modal.d.ts +4 -0
  6. package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
  7. package/build/ts/docs/shared/components/Option.d.ts +4 -0
  8. package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
  9. package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
  10. package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
  11. package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
  12. package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
  13. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
  14. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
  15. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
  16. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
  17. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
  18. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
  19. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
  20. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
  21. package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +20 -8
  22. package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
  23. package/build/ts/surfaces/checkout/components/Banner.d.ts +52 -13
  24. package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
  25. package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
  26. package/build/ts/surfaces/checkout/components/Button.d.ts +39 -13
  27. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
  28. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
  29. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +54 -0
  30. package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +36 -9
  31. package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
  32. package/build/ts/surfaces/checkout/components/DropZone.d.ts +36 -9
  33. package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
  34. package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
  35. package/build/ts/surfaces/checkout/components/EmailField.d.ts +69 -0
  36. package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
  37. package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
  38. package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
  39. package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
  40. package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
  41. package/build/ts/surfaces/checkout/components/Link.d.ts +39 -13
  42. package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
  43. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
  44. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
  45. package/build/ts/surfaces/checkout/components/Map.d.ts +75 -0
  46. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +73 -0
  47. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
  48. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
  49. package/build/ts/surfaces/checkout/components/Modal.d.ts +87 -0
  50. package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
  51. package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
  52. package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
  53. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
  54. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
  55. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +84 -0
  56. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
  57. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
  58. package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
  59. package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
  60. package/build/ts/surfaces/checkout/components/QRCode.d.ts +32 -8
  61. package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
  62. package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
  63. package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
  64. package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
  65. package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
  66. package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
  67. package/build/ts/surfaces/checkout/components/TextArea.d.ts +69 -0
  68. package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
  69. package/build/ts/surfaces/checkout/components/TextField.d.ts +72 -21
  70. package/build/ts/surfaces/checkout/components/Time.d.ts +20 -8
  71. package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
  72. package/build/ts/surfaces/checkout/components/components-shared.d.ts +486 -2
  73. package/build/ts/surfaces/checkout/components/components.d.ts +1000 -166
  74. package/build/ts/surfaces/checkout/shared.d.ts +1 -1
  75. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  76. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +918 -172
  77. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +918 -172
  78. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +918 -172
  79. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +918 -172
  80. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +918 -172
  81. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +918 -172
  82. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +918 -172
  83. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +918 -172
  84. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +863 -155
  85. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +863 -155
  86. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +863 -155
  87. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +918 -172
  88. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +918 -172
  89. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +918 -172
  90. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +918 -172
  91. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +918 -172
  92. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +918 -172
  93. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +918 -172
  94. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +918 -172
  95. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +918 -172
  96. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +918 -172
  97. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +918 -172
  98. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +918 -172
  99. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +918 -172
  100. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +918 -172
  101. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +918 -172
  102. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +918 -172
  103. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +918 -172
  104. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +918 -172
  105. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +918 -172
  106. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +918 -172
  107. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +918 -172
  108. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +918 -172
  109. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +918 -172
  110. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +918 -172
  111. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +863 -155
  112. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +918 -172
  113. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +918 -172
  114. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +918 -172
  115. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +918 -172
  116. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +863 -155
  117. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +918 -172
  118. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +918 -172
  119. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +918 -172
  120. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +918 -172
  121. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +918 -172
  122. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +918 -172
  123. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +918 -172
  124. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +918 -172
  125. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +918 -172
  126. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +918 -172
  127. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +918 -172
  128. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +918 -172
  129. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +918 -172
  130. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +918 -172
  131. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +918 -172
  132. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +918 -172
  133. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +918 -172
  134. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +918 -172
  135. package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +20 -8
  136. package/build/ts/surfaces/customer-account/components/Banner.d.ts +52 -13
  137. package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
  138. package/build/ts/surfaces/customer-account/components/Button.d.ts +39 -13
  139. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +54 -0
  140. package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +36 -9
  141. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +36 -9
  142. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +69 -0
  143. package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
  144. package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
  145. package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
  146. package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
  147. package/build/ts/surfaces/customer-account/components/Link.d.ts +39 -13
  148. package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
  149. package/build/ts/surfaces/customer-account/components/Map.d.ts +75 -0
  150. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +73 -0
  151. package/build/ts/surfaces/customer-account/components/Modal.d.ts +87 -0
  152. package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
  153. package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
  154. package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
  155. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +84 -0
  156. package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
  157. package/build/ts/surfaces/customer-account/components/QRCode.d.ts +32 -8
  158. package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
  159. package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
  160. package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
  161. package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
  162. package/build/ts/surfaces/customer-account/components/TextArea.d.ts +69 -0
  163. package/build/ts/surfaces/customer-account/components/TextField.d.ts +72 -21
  164. package/build/ts/surfaces/customer-account/components/Time.d.ts +20 -8
  165. package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
  166. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +486 -2
  167. package/build/ts/surfaces/customer-account/components/components.d.ts +1000 -166
  168. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +918 -173
  169. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +918 -173
  170. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +918 -173
  171. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +918 -173
  172. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +918 -173
  173. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +918 -173
  174. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +918 -173
  175. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +918 -173
  176. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +918 -173
  177. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +918 -173
  178. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +918 -173
  179. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +918 -173
  180. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +918 -173
  181. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +918 -173
  182. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +918 -173
  183. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +918 -173
  184. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +918 -173
  185. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +918 -173
  186. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +918 -173
  187. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +918 -173
  188. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +918 -173
  189. package/build/tsconfig.tsbuildinfo +1 -1
  190. package/package.json +1 -1
  191. package/src/docs/shared/components/Map.ts +12 -0
  192. package/src/docs/shared/components/MapMarker.ts +12 -0
  193. package/src/docs/shared/components/Modal.ts +12 -0
  194. package/src/docs/shared/components/Option.ts +12 -0
  195. package/src/docs/shared/components/PhoneField.ts +11 -0
  196. package/src/docs/shared/components/ProductThumbnail.ts +11 -0
  197. package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
  198. package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
  199. package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
  200. package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
  201. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
  202. package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
  203. package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
  204. package/src/surfaces/admin/components/patterns/examples/settings.html +241 -0
  205. package/src/surfaces/admin/components/patterns/examples/settings.jsx +349 -0
  206. package/src/surfaces/admin/components/patterns/index.ab.doc.ts +82 -0
  207. package/src/surfaces/checkout/components/Abbreviation.d.ts +20 -8
  208. package/src/surfaces/checkout/components/Banner.d.ts +52 -13
  209. package/src/surfaces/checkout/components/Box.d.ts +20 -9
  210. package/src/surfaces/checkout/components/Button.d.ts +39 -13
  211. package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
  212. package/src/surfaces/checkout/components/Checkbox.d.ts +54 -0
  213. package/src/surfaces/checkout/components/ClipboardItem.d.ts +36 -9
  214. package/src/surfaces/checkout/components/DropZone.d.ts +36 -9
  215. package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
  216. package/src/surfaces/checkout/components/EmailField.d.ts +69 -0
  217. package/src/surfaces/checkout/components/Form.d.ts +40 -12
  218. package/src/surfaces/checkout/components/Heading.d.ts +20 -8
  219. package/src/surfaces/checkout/components/Icon.d.ts +22 -9
  220. package/src/surfaces/checkout/components/Image.d.ts +13 -7
  221. package/src/surfaces/checkout/components/Link.d.ts +39 -13
  222. package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
  223. package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
  224. package/src/surfaces/checkout/components/Map.d.ts +75 -0
  225. package/src/surfaces/checkout/components/MapMarker.d.ts +73 -0
  226. package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
  227. package/src/surfaces/checkout/components/Modal.d.ts +87 -0
  228. package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
  229. package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
  230. package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
  231. package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
  232. package/src/surfaces/checkout/components/PhoneField.d.ts +84 -0
  233. package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
  234. package/src/surfaces/checkout/components/Progress.d.ts +14 -4
  235. package/src/surfaces/checkout/components/QRCode.d.ts +32 -8
  236. package/src/surfaces/checkout/components/Section.d.ts +20 -8
  237. package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
  238. package/src/surfaces/checkout/components/Stack.d.ts +20 -9
  239. package/src/surfaces/checkout/components/Text.d.ts +20 -8
  240. package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
  241. package/src/surfaces/checkout/components/TextArea.d.ts +69 -0
  242. package/src/surfaces/checkout/components/TextField.d.ts +72 -21
  243. package/src/surfaces/checkout/components/Time.d.ts +20 -8
  244. package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
  245. package/src/surfaces/checkout/components/components-shared.d.ts +486 -2
  246. package/src/surfaces/checkout/components/components.d.ts +1000 -166
  247. package/src/surfaces/checkout/shared.ts +8 -0
  248. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +1 -1
  249. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +1 -1
  250. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +1 -1
  251. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +1 -1
  252. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +1 -1
  253. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +1 -1
@@ -1,11 +1,11 @@
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
  /**
@@ -1122,6 +1122,34 @@ export interface FocusEventProps {
1122
1122
  */
1123
1123
  onFocus?: () => void;
1124
1124
  }
1125
+ export interface ToggleEventProps {
1126
+ /**
1127
+ * Callback fired when the element state changes **after** any animations have finished.
1128
+ *
1129
+ * - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
1130
+ * `newState` property will be set to `open`.
1131
+ * - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
1132
+ * `newState` will be `closed`.
1133
+ *
1134
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
1135
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
1136
+ */
1137
+ onAfterToggle?: (oldState: ToggleState, newState: ToggleState) => void;
1138
+ /**
1139
+ * Callback straight after the element state changes.
1140
+ *
1141
+ * - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
1142
+ * `newState` property will be set to `open`.
1143
+ * - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
1144
+ * `newState` will be `closed`.
1145
+ *
1146
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
1147
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
1148
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
1149
+ */
1150
+ onToggle?: (oldState: ToggleState, newState: ToggleState) => void;
1151
+ }
1152
+ export type ToggleState = "open" | "closed";
1125
1153
  export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
1126
1154
  /**
1127
1155
  * The behavior of the button.
@@ -1398,6 +1426,48 @@ export interface FieldDecorationProps {
1398
1426
  */
1399
1427
  accessory?: ComponentChildren;
1400
1428
  }
1429
+ export interface NumberConstraintsProps {
1430
+ /**
1431
+ * The highest decimal or integer to be accepted for the field.
1432
+ * When used with `step` the value will round down to the max number.
1433
+ *
1434
+ * Note: a user will still be able to use the keyboard to input a number higher than
1435
+ * the max. It is up to the developer to add appropriate validation.
1436
+ *
1437
+ * @default Infinity
1438
+ */
1439
+ max?: number;
1440
+ /**
1441
+ * The lowest decimal or integer to be accepted for the field.
1442
+ * When used with `step` the value will round up to the min number.
1443
+ *
1444
+ * Note: a user will still be able to use the keyboard to input a number lower than
1445
+ * the min. It is up to the developer to add appropriate validation.
1446
+ *
1447
+ * @default -Infinity
1448
+ */
1449
+ min?: number;
1450
+ /**
1451
+ * The amount the value can increase or decrease by. This can be an integer or decimal.
1452
+ * If a `max` or `min` is specified with `step` when increasing/decreasing the value
1453
+ * via the buttons, the final value will always round to the `max` or `min`
1454
+ * rather than the closest valid amount.
1455
+ *
1456
+ * @default 1
1457
+ */
1458
+ step?: number;
1459
+ /**
1460
+ * Sets the type of controls displayed in the field.
1461
+ *
1462
+ * - `stepper`: displays buttons to increase or decrease the value of the field by the stepping interval defined in the `step` property.
1463
+ * Appropriate mouse and [keyboard interactions](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/spinbutton_role#keyboard_interactions) to control the value of the field are enabled.
1464
+ * - `none`: no controls are displayed and users must input the value manually. Arrow keys and scroll wheels can’t be used either to avoid accidental changes.
1465
+ * - `auto`: the presence of the controls depends on the surface and context.
1466
+ *
1467
+ * @default 'auto'
1468
+ */
1469
+ controls?: "auto" | "stepper" | "none";
1470
+ }
1401
1471
  export interface MinMaxLengthProps {
1402
1472
  /**
1403
1473
  * Specifies the maximum number of characters allowed.
@@ -1412,6 +1482,134 @@ export interface MinMaxLengthProps {
1412
1482
  */
1413
1483
  minLength?: number;
1414
1484
  }
1485
+ export interface BaseSelectableProps {
1486
+ /**
1487
+ * A label used for users using assistive technologies like screen readers. When set, any children or `label` supplied will not be announced.
1488
+ * This can also be used to display a control without a visual label, while still providing context to users using screen readers.
1489
+ */
1490
+ accessibilityLabel?: string;
1491
+ /**
1492
+ * Disables the control, disallowing any interaction.
1493
+ *
1494
+ * @default false
1495
+ */
1496
+ disabled?: boolean;
1497
+ /**
1498
+ * The value used in form data when the control is checked.
1499
+ */
1500
+ value?: string;
1501
+ }
1502
+ export interface BaseOptionProps extends BaseSelectableProps {
1503
+ /**
1504
+ * Whether the control is active.
1505
+ *
1506
+ * @default false
1507
+ */
1508
+ selected?: boolean;
1509
+ /**
1510
+ * Whether the control is active by default.
1511
+ *
1512
+ * @implementation `defaultSelected` reflects to the `selected` attribute.
1513
+ *
1514
+ * @default false
1515
+ */
1516
+ defaultSelected?: boolean;
1517
+ }
1518
+ export interface BaseCheckableProps extends BaseSelectableProps, InteractionProps {
1519
+ /**
1520
+ * Visual content to use as the control label.
1521
+ */
1522
+ label?: string;
1523
+ /**
1524
+ * Whether the control is active.
1525
+ *
1526
+ * @default false
1527
+ */
1528
+ checked?: boolean;
1529
+ /**
1530
+ * Whether the control is active by default.
1531
+ *
1532
+ * @implementation `defaultChecked` reflects to the `checked` attribute.
1533
+ *
1534
+ * @default false
1535
+ */
1536
+ defaultChecked?: boolean;
1537
+ /**
1538
+ * An identifier for the control that is unique within the nearest
1539
+ * containing `Form` component.
1540
+ */
1541
+ name?: string;
1542
+ /**
1543
+ * A callback that is run whenever the control is changed.
1544
+ */
1545
+ onChange?: (checked: boolean) => void;
1546
+ /**
1547
+ * A callback that is run whenever the control is changed.
1548
+ */
1549
+ onInput?: (checked: boolean) => void;
1550
+ }
1551
+ interface CheckboxProps$1 extends GlobalProps, BaseCheckableProps, FieldErrorProps, FieldDetailsProps {
1552
+ /**
1553
+ * Whether to display the checkbox in an indeterminate state (neither checked or unchecked).
1554
+ *
1555
+ * In terms of appearance, this takes priority over the `checked` prop.
1556
+ * But this is purely a visual change.
1557
+ * Whether the value is submitted along with a form is still down to the `checked` prop.
1558
+ *
1559
+ * If `indeterminate` has not been explicitly set, and the `indeterminate` state hasn't been modified by the user (via clicking),
1560
+ * then `indeterminate` returns the value of `defaultIndeterminate`.
1561
+ *
1562
+ * @implementation The `indeterminate` property doesn't reflect to any attribute.
1563
+ */
1564
+ indeterminate?: boolean;
1565
+ /**
1566
+ * Whether the checkbox is in an `indeterminate` state by default.
1567
+ *
1568
+ * Similar to `defaultValue` and `defaultChecked`, this value applies until `indeterminate` is set, or user changes the state of the checkbox.
1569
+ *
1570
+ * @implementation `defaultIndeterminate` reflects to the `indeterminate` attribute.
1571
+ *
1572
+ * @default false
1573
+ */
1574
+ defaultIndeterminate?: boolean;
1575
+ /**
1576
+ * Whether the field needs a value. This requirement adds semantic value
1577
+ * to the field, but it will not cause an error to appear automatically.
1578
+ * If you want to present an error when this field is empty, you can do
1579
+ * so with the `error` property.
1580
+ *
1581
+ * @default false
1582
+ */
1583
+ required?: boolean;
1584
+ }
1585
+ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
1586
+ /**
1587
+ * Disables the clickable, and indicates to assistive technology that the loading is in progress.
1588
+ *
1589
+ * This also disables the clickable.
1590
+ */
1591
+ loading?: BaseClickableProps["loading"];
1592
+ /**
1593
+ * Disables the clickable, meaning it cannot be clicked or receive focus.
1594
+ *
1595
+ * In this state, onClick will not fire.
1596
+ * If the click event originates from a child element, the event will immediately stop propagating from this element.
1597
+ *
1598
+ * However, items within the clickable can still receive focus and be interacted with.
1599
+ *
1600
+ * This has no impact on the visual state by default,
1601
+ * but developers are encouraged to style the clickable accordingly.
1602
+ */
1603
+ disabled?: BaseClickableProps["disabled"];
1604
+ /**
1605
+ * Indicate the text language. Useful when the text is in a different language than the rest of the page.
1606
+ * It will allow assistive technologies such as screen readers to invoke the correct pronunciation.
1607
+ * [Reference of values](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) ("subtag" label)
1608
+ *
1609
+ * @default ''
1610
+ */
1611
+ lang?: string;
1612
+ }
1415
1613
  interface ClipboardItemProps$1 extends GlobalProps {
1416
1614
  /**
1417
1615
  * Plain text to be written to the clipboard.
@@ -1469,6 +1667,36 @@ export type AutocompleteGroup = "shipping" | "billing";
1469
1667
  export type AutocompleteAddressGroup = "fax" | "home" | "mobile" | "pager";
1470
1668
  export type AnyAutocompleteField = "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "current-password" | "email" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "new-password" | "nickname" | "one-time-code" | "organization-title" | "organization" | "photo" | "postal-code" | "sex" | "street-address" | "transaction-amount" | "transaction-currency" | "url" | "username" | "bday-day" | "bday-month" | "bday-year" | "bday" | "cc-additional-name" | "cc-expiry-month" | "cc-expiry-year" | "cc-expiry" | "cc-family-name" | "cc-given-name" | "cc-name" | "cc-number" | "cc-csc" | "cc-type" | `${AutocompleteAddressGroup} email` | "impp" | `${AutocompleteAddressGroup} impp` | "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`;
1471
1669
  export type TextAutocompleteField = ExtractStrict<AnyAutocompleteField, "additional-name" | "address-level1" | "address-level2" | "address-level3" | "address-level4" | "address-line1" | "address-line2" | "address-line3" | "country-name" | "country" | "family-name" | "given-name" | "honorific-prefix" | "honorific-suffix" | "language" | "name" | "nickname" | "one-time-code" | "organization-title" | "organization" | "postal-code" | "sex" | "street-address" | "transaction-currency" | "username" | "cc-name" | "cc-given-name" | "cc-additional-name" | "cc-family-name" | "cc-type">;
1670
+ interface DetailsProps$1 extends GlobalProps, ToggleEventProps, ContainerProps {
1671
+ /**
1672
+ * The content of the details.
1673
+ *
1674
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
1675
+ */
1676
+ children?: ComponentChildren;
1677
+ /**
1678
+ * Name of the element.
1679
+ *
1680
+ * This can be used to create multiple named disclosure boxes that where only one can be open at a time.
1681
+ *
1682
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details#multiple_named_disclosure_boxes
1683
+ */
1684
+ name?: string;
1685
+ /**
1686
+ * Indicates whether the element should be open by default.
1687
+ *
1688
+ * This reflects to the `defaultopen` attribute.
1689
+ *
1690
+ * @default false
1691
+ */
1692
+ defaultOpen?: boolean;
1693
+ /**
1694
+ * Sets the transition between the two states.
1695
+ *
1696
+ * @default 'auto'
1697
+ */
1698
+ toggleTransition?: "none" | "auto";
1699
+ }
1472
1700
  interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFieldProps {
1473
1701
  /**
1474
1702
  * A string representing the types of files that are accepted by the dropzone.
@@ -1498,6 +1726,9 @@ interface DropZoneProps$1 extends GlobalProps, FileInputProps<File[]>, BasicFiel
1498
1726
  */
1499
1727
  onDropRejected?(files: File[]): void;
1500
1728
  }
1729
+ interface EmailFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<EmailAutocompleteField> {
1730
+ }
1731
+ export type EmailAutocompleteField = ExtractStrict<AnyAutocompleteField, "email" | `${AutocompleteAddressGroup} email`>;
1501
1732
  export interface ExtendableEvent extends Event {
1502
1733
  /**
1503
1734
  * Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
@@ -1844,6 +2075,192 @@ interface ListItemProps$1 extends GlobalProps {
1844
2075
  */
1845
2076
  children?: ComponentChildren;
1846
2077
  }
2078
+ interface MapProps$1 extends GlobalProps, SizingProps {
2079
+ /**
2080
+ * A valid API key for the map service provider.
2081
+ *
2082
+ * The map service provider may require an API key. Without an API key the map could be hidden or render in a limited developer mode.
2083
+ */
2084
+ apiKey?: string;
2085
+ /**
2086
+ * Map center’s latitude in degrees.
2087
+ *
2088
+ * @default 0
2089
+ */
2090
+ latitude?: number;
2091
+ /**
2092
+ * Map center’s longitude in degrees.
2093
+ *
2094
+ * @default 0
2095
+ */
2096
+ longitude?: number;
2097
+ /**
2098
+ * A label that describes the purpose or contents of the map.
2099
+ *
2100
+ * When set, it will be announced to users using assistive technologies and will provide them with more context.
2101
+ */
2102
+ accessibilityLabel?: string;
2103
+ /**
2104
+ * The initial Map zoom level.
2105
+ *
2106
+ * Valid zoom values are numbers from zero up to 18.
2107
+ * Larger zoom values correspond to a higher resolution.
2108
+ *
2109
+ * @default 4
2110
+ */
2111
+ zoom?: number;
2112
+ /**
2113
+ * The maximum zoom level which will be displayed on the map.
2114
+ *
2115
+ * Valid zoom values are numbers from zero up to 18.
2116
+ *
2117
+ * @default 18
2118
+ */
2119
+ maxZoom?: number;
2120
+ /**
2121
+ * The minimum zoom level which will be displayed on the map.
2122
+ *
2123
+ * Valid zoom values are numbers from zero up to 18.
2124
+ *
2125
+ * @default 0
2126
+ */
2127
+ minZoom?: number;
2128
+ /**
2129
+ * Callback when the viewport bounds have changed or the map is resized.
2130
+ */
2131
+ onBoundsChange?: (bounds: Bounds) => void;
2132
+ /**
2133
+ * Callback when the map view changes.
2134
+ */
2135
+ onViewChange?: (location: Location$1, zoom: number) => void;
2136
+ /**
2137
+ * Callback when the user clicks on the map.
2138
+ */
2139
+ onClick?: (location: Location$1) => void;
2140
+ /**
2141
+ * Callback when the user double-clicks on the map.
2142
+ */
2143
+ onDblClick?: (location: Location$1) => void;
2144
+ }
2145
+ interface Location$1 {
2146
+ latitude?: number;
2147
+ longitude?: number;
2148
+ }
2149
+ export interface Bounds {
2150
+ northEast?: Location$1;
2151
+ southWest?: Location$1;
2152
+ }
2153
+ interface MapMarkerProps$1 extends GlobalProps, InteractionProps, Pick<SizingProps, "blockSize" | "inlineSize"> {
2154
+ /**
2155
+ * Marker’s location latitude in degrees.
2156
+ *
2157
+ * @default 0
2158
+ */
2159
+ latitude?: number;
2160
+ /**
2161
+ * Marker’s longitude latitude in degrees.
2162
+ *
2163
+ * @default 0
2164
+ */
2165
+ longitude?: number;
2166
+ /**
2167
+ * A label that describes the purpose of the marker. When set,
2168
+ * it will be announced to users using assistive technologies and will
2169
+ * provide them with more context.
2170
+ */
2171
+ accessibilityLabel?: string;
2172
+ /**
2173
+ * Allows grouping the marker in clusters when zoomed out.
2174
+ *
2175
+ * @default false
2176
+ */
2177
+ clusterable?: boolean;
2178
+ /**
2179
+ * The graphic to use as the marker.
2180
+ *
2181
+ * If unset, it will default to the provider’s default marker.
2182
+ */
2183
+ graphic?: ComponentChildren;
2184
+ /**
2185
+ * Callback when a marker is clicked.
2186
+ *
2187
+ * It does not trigger a click event on the map itself.
2188
+ */
2189
+ onClick?: () => void;
2190
+ }
2191
+ export interface BaseOverlayProps {
2192
+ /**
2193
+ * Callback fired after the overlay is shown.
2194
+ */
2195
+ onShow?: () => void;
2196
+ /**
2197
+ * Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
2198
+ */
2199
+ onAfterShow?: () => void;
2200
+ /**
2201
+ * Callback fired after the overlay is hidden.
2202
+ */
2203
+ onHide?: () => void;
2204
+ /**
2205
+ * Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
2206
+ */
2207
+ onAfterHide?: () => void;
2208
+ }
2209
+ interface ModalProps$1 extends GlobalProps, BaseOverlayProps, ActionSlots, ContainerProps {
2210
+ /**
2211
+ * A label that describes the purpose of the modal. When set,
2212
+ * it will be announced to users using assistive technologies and will
2213
+ * provide them with more context.
2214
+ *
2215
+ * This overrides the `heading` prop for screen readers.
2216
+ */
2217
+ accessibilityLabel?: string;
2218
+ /**
2219
+ * A title that describes the content of the Modal.
2220
+ *
2221
+ */
2222
+ heading?: string;
2223
+ /**
2224
+ * Adjust the padding around the Modal content.
2225
+ *
2226
+ * `base`: applies padding that is appropriate for the element.
2227
+ *
2228
+ * `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
2229
+ * to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
2230
+ * to bring back the desired padding for the rest of the content.
2231
+ *
2232
+ * @default 'base'
2233
+ */
2234
+ padding?: "base" | "none";
2235
+ /**
2236
+ * Adjust the size of the Modal.
2237
+ *
2238
+ * `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
2239
+ *
2240
+ * @default 'base'
2241
+ */
2242
+ size?: SizeKeyword | "max";
2243
+ /**
2244
+ * The content of the Modal.
2245
+ */
2246
+ children?: ComponentChildren;
2247
+ }
2248
+ interface NumberFieldProps$1 extends GlobalProps, BaseTextFieldProps, AutocompleteProps<NumberAutocompleteField>, NumberConstraintsProps, FieldDecorationProps {
2249
+ /**
2250
+ * Sets the virtual keyboard.
2251
+ *
2252
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/inputmode
2253
+ * @default 'decimal'
2254
+ */
2255
+ inputMode?: "decimal" | "numeric";
2256
+ }
2257
+ export type NumberAutocompleteField = ExtractStrict<AnyAutocompleteField, "one-time-code" | "cc-number" | "cc-csc">;
2258
+ interface OptionProps$1 extends GlobalProps, BaseOptionProps {
2259
+ /**
2260
+ * The content to use as the label.
2261
+ */
2262
+ children?: ComponentChildren;
2263
+ }
1847
2264
  interface OrderedListProps$1 extends GlobalProps {
1848
2265
  }
1849
2266
  interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypographyProps, AccessibilityVisibilityProps, ContainerProps {
@@ -1895,25 +2312,60 @@ interface PaymentIconProps$1 extends GlobalProps {
1895
2312
  accessibilityLabel?: string;
1896
2313
  }
1897
2314
  export type PaymentIconName = "abn" | "acima-leasing" | "acuotaz" | "ada" | "addi" | "adyen" | "aeropay" | "affin-bank" | "affirm" | "aftee" | "afterpay-paynl-version" | "afterpay" | "airtel-money" | "airteltigo-mobile-money" | "aktia" | "akulaku-paylater" | "akulaku" | "alandsbanken" | "alfamart" | "alfamidi" | "alipay-hk" | "alipay-paynl-version" | "alipay" | "alliance-bank" | "alma" | "aman" | "amazon" | "ambank" | "american-express" | "amex" | "ansa-stored-value" | "ansa" | "anyday" | "apecoin" | "aplazo" | "apple-pay" | "aqsat" | "arbitrum" | "arhaus" | "arvato" | "ashley-plcc" | "ask" | "astrapay" | "atm-bersama" | "atobaraidotcom" | "atome" | "atone" | "atrato" | "au-kantan-kessai" | "au-pay" | "authorize-net" | "avalanche" | "axs" | "bancnet" | "banco-azteca" | "bancomat" | "bancontact" | "bangkok-bank" | "bank-islam" | "bank-muamalat" | "bank-rakyat" | "barclays" | "base" | "bbva-cie" | "bc-card" | "bca-klikpay" | "bca" | "bdo" | "belfius" | "benefit" | "best-buy-card" | "biercheque-paynl-version" | "bigc" | "billease" | "biller-paynl-version" | "billie" | "billink-method" | "billink" | "bitcoin-cash" | "bitcoin" | "bizum" | "blik" | "bnbchain" | "bni" | "bnp" | "bogus-app-coin" | "bogus" | "boleto" | "boodil" | "boost" | "bpi" | "braintree" | "bread-pay" | "bread" | "bri-direct-debit" | "bri" | "brimo" | "bsi" | "bsn" | "bss" | "busd" | "careem-pay" | "cartes-bancaires" | "cash-app-pay" | "cash" | "cashew" | "cashinvoice-latin-america" | "catch-payments" | "cebuana" | "cembrapay" | "centi" | "cetelem" | "checkout-finance" | "chinabank" | "cimb-clicks" | "cimb" | "circle-k" | "citadele" | "citi-pay" | "clave-telered" | "clearpay" | "clerq" | "cleverpay" | "clip" | "cliq" | "codensa" | "coinsph" | "collector-bank" | "coop" | "coppel-pay" | "credit-agricole" | "credit-key" | "creditclick-paynl-version" | "credix" | "cuotas" | "d-barai" | "dai" | "daily-yamazaki" | "dan-dan" | "dana" | "danamon-online" | "dankort" | "danske-bank" | "dappmx" | "dash" | "daviplata" | "de-cadeaukaart" | "depay" | "deutsche-bank" | "dinacard" | "diners-club" | "direct-bank-transfer-latin-america" | "directa24" | "directpay" | "discover" | "divido" | "dnb" | "docomo-barai" | "dogecoin" | "dropp" | "duitnow" | "duologi" | "dwolla" | "easywallet" | "ebucks" | "echelon-financing" | "ecpay" | "edenred" | "efecty" | "eft-secure" | "eftpos-au" | "eghl" | "elo" | "elv" | "empty" | "enets" | "eos" | "epayments" | "epospay" | "eps" | "erste" | "escrowcom" | "esr-paymentslip-switzerland" | "ethereum" | "etihad-guest-pay" | "etika" | "ewallet-indonesia" | "ewallet-philippines" | "ewallet-southkorea" | "facebook-pay" | "fairstone-payments" | "fam" | "familymart" | "fantom" | "farmlands" | "fashion-giftcard-paynlversion" | "fashioncheque" | "favepay" | "fawry" | "finloup" | "fintecture" | "fintoc" | "flexiti" | "float-payments" | "flying-blue-plus" | "forbrugsforeningen" | "forsa" | "fortiva" | "fps" | "fpx" | "freecharge" | "freedompay" | "futurepay-mytab" | "gcash" | "generalfinancing" | "generic" | "genoapay" | "gezondheidsbon-paynl-version" | "giftcard" | "giropay" | "givacard" | "glbe-paypal" | "glbe-plus" | "gmo-atokara" | "gmo-bank-transfer" | "gmo-postpay" | "gmo-virtualaccount" | "gnosis" | "google-pay" | "google-wallet" | "gopay" | "grabpay" | "grailpay" | "gusd" | "hana-card" | "handelsbanken" | "happy-pay" | "hello-clever" | "heylight" | "hitrustpay-transfer" | "home-credit" | "hong-leong-bank" | "hong-leong-connect" | "hsbc" | "huis-tuin-cadeau" | "humm" | "hyper" | "hypercard" | "hypercash" | "hyundai-card" | "ibexpay" | "ideal" | "in3-via-ideal" | "in3" | "inbank" | "indomaret" | "ing-homepay" | "interac" | "ivy" | "iwocapay-pay-later" | "jcb" | "jenius" | "jko" | "jousto" | "kakao-pay" | "kakebaraidotcom" | "kasikornbank" | "kasssh" | "katapult" | "kb-card" | "kbc-cbc" | "kcp-credit-card" | "kfast" | "khqr" | "klarna-pay-later" | "klarna-pay-now" | "klarna-slice-it" | "klarna" | "knaken-settle" | "knet" | "koalafi" | "koin" | "krediidipank" | "kredivo" | "krungsri" | "krungthai-bank" | "kueski-pay" | "kunst-en-cultuur-cadeaukaart" | "kuwait-finance-house" | "land-bank" | "laser" | "latitude-creditline-au" | "latitude-gem-au" | "latitude-gem-nz" | "latitude-go-au" | "latitudepay" | "lawson" | "laybuy-heart" | "laybuy" | "lbc" | "lhv" | "line-pay" | "linkaja" | "linkpay" | "litecoin" | "lku" | "lloyds" | "lotte-card" | "lpb" | "luminor" | "lunch-check" | "lydia" | "mach" | "mada" | "maestro" | "mandiri" | "mash" | "master" | "mastercard" | "masterpass" | "maxima" | "maya-bank" | "maya" | "maybank-qrpay" | "maybank" | "maybankm2u" | "mb-way" | "mb" | "mcash" | "medicinos-bankas" | "meeza" | "mercado-credito" | "mercado-pago" | "merpay" | "meta-pay" | "metro-bank" | "military-starcard" | "minicuotas" | "ministop" | "mobicred" | "mobikwik" | "mobilepay" | "mode" | "mokka" | "momopay" | "mondido" | "monero" | "monzo" | "mpesa" | "mtn-mobile-money" | "multisafepay" | "mybank" | "myfatoorah" | "n26" | "naps" | "nationale-bioscoopbon" | "nationale-entertainmentcard" | "natwest" | "naver-pay" | "nelo" | "nequi" | "netbanking" | "neteller" | "nh-card" | "nordea" | "notyd" | "novuna" | "npatobarai" | "npkakebarai" | "oca" | "ocbc-bank" | "octo-clicks" | "octopus" | "offline-bank-transfer-latin-america" | "ola-money" | "omannet" | "omasp" | "oney" | "online-banking" | "online-banktransfer" | "op" | "opay" | "openpay" | "optimism" | "orange-mobile-money" | "overstock-citicobrand" | "overstock-citiplcc" | "ovo" | "oxxo" | "ozow" | "pagoefectivo" | "paid" | "paidy" | "palawa" | "palawan" | "pastpay" | "pay-after-delivery-instalments" | "pay-by-bank-us" | "pay-by-bank" | "pay-easy" | "pay-pay" | "paybylink" | "paycash" | "payco" | "payconiq" | "payd" | "payfast-instant-eft" | "payflex" | "payid" | "payitmonthly" | "payjustnow" | "paymark-online-eftpos" | "paymaya" | "payme" | "paynow-mbank" | "paynow" | "payoo-qr" | "payoo" | "paypal" | "payplan" | "paypo" | "payrexx-bank-transfer" | "payright" | "paysafecard-paynl-version" | "paysafecard" | "paysafecash" | "paysera" | "paysquad" | "paytm" | "payto" | "paytomorrow" | "payu" | "payzapp" | "pei" | "perlasfinance" | "permata" | "pf-pay" | "pivo" | "pix" | "podium-cadeaukaart" | "pointspay" | "poli" | "polygon" | "poppankki" | "postfinance-card" | "postfinance-efinance" | "postpay" | "powered-by-ansa-stored-value" | "powered-by-ansa" | "powerpay" | "pps" | "prepaysolutions" | "progressive-leasing" | "przelew24" | "przelewy24-paynl-version" | "przelewy24" | "pse" | "public-bank" | "publicbank-pbe" | "qasitli" | "qliro" | "qr-promptpay" | "qris" | "qrph" | "rabbit-line-pay" | "rabobank" | "rakuten-pay" | "rapid-transfer" | "ratepay" | "raty-pekao" | "rcbc" | "rcs" | "reka" | "resolve-pay" | "revolut" | "rhb-bank" | "rhb-now" | "rietumu" | "riverty-paynl-version" | "riverty" | "rupay" | "saastopankki" | "sadad" | "sam" | "samsung-card" | "samsung-pay" | "santander" | "satisfi" | "satispay" | "sbpl" | "scalapay" | "scream-truck-wallet" | "scream-truck" | "seb" | "seicomart" | "sepa-bank-transfer" | "sepa-direct-debit" | "sequra" | "seven-eleven" | "sezzle" | "shib" | "shinhan-card" | "shop-pay" | "shopeepay" | "shopify-pay" | "siam-commercial" | "siauliu-bankas" | "siirto" | "sika-fsa" | "sika-hsa" | "sika" | "simpl" | "simple-pay" | "sinpe-movil" | "sistecredito" | "skeps" | "skrill-digital-wallet" | "slice-fnbo" | "smartpay" | "snap-checkout" | "snapmint" | "societe-generale" | "sofort" | "softbank" | "solana-pay-helio" | "solana-pay" | "solana" | "souhoola" | "spankki" | "sparkasse" | "spei" | "splitit" | "spotii" | "spraypay" | "standard-chartered" | "stc-pay" | "stoov" | "store-credit" | "stripe" | "sunkus" | "super-payments" | "svea-b2b-faktura" | "svea-b2b-invoice" | "svea-checkout" | "svea-credit-account" | "svea-delbetalning" | "svea-faktura" | "svea-invoice" | "svea-lasku" | "svea-ostukonto" | "svea-part-payment" | "svea-yrityslasku" | "sveaeramaksu" | "swedbank" | "swiftpay" | "swish" | "swissbilling" | "sympl" | "synchrony-pay" | "synchrony" | "tabby" | "tabit" | "taly" | "tamara" | "tandympayment" | "tasa-cero" | "tbi-bank" | "tcf" | "tendopay" | "tensile" | "tesco-lotus" | "thanachart-bank" | "timepayment" | "tiptop" | "todopay" | "toss" | "touch-n-go" | "tpay" | "trevipay" | "truelayer" | "truemoney-pay" | "trustly" | "twig-pay" | "twint" | "twoinvoice" | "uae-visa" | "uangme" | "ubp" | "underpay" | "unionpay" | "unipay" | "uob-ez-pay" | "uob-thai" | "uob" | "upi" | "urbo" | "urpay" | "usdc" | "usdp" | "v-pay" | "valu" | "venmo" | "ventipay" | "venus-plcc" | "viabill" | "vipps" | "visa-electron" | "visa" | "volksbank" | "volt" | "vvv-cadeaukaart-paynl-version" | "vvv-giftcard" | "waave-pay-by-bank" | "wallet" | "walley" | "wbtc" | "webshop-giftcard" | "wechat-pay" | "wechat-paynl-version" | "wegetfinancing" | "whish-checkout" | "whish-pay" | "wise" | "wissel" | "world-chain" | "xrp" | "yape" | "yappy" | "ymobile" | "younited-pay" | "zalopay" | "zapper" | "zingala" | "zinia" | "zip" | "zoodpay" | "zulily-credit-card" | "zustaina";
1898
- interface ProgressProps$1 extends GlobalProps {
2315
+ export type PhoneAutocompleteField = ExtractStrict<AnyAutocompleteField, "tel" | "tel-area-code" | "tel-country-code" | "tel-extension" | "tel-local-prefix" | "tel-local-suffix" | "tel-local" | "tel-national" | `${AutocompleteAddressGroup} tel` | `${AutocompleteAddressGroup} tel-area-code` | `${AutocompleteAddressGroup} tel-country-code` | `${AutocompleteAddressGroup} tel-extension` | `${AutocompleteAddressGroup} tel-local-prefix` | `${AutocompleteAddressGroup} tel-local-suffix` | `${AutocompleteAddressGroup} tel-local` | `${AutocompleteAddressGroup} tel-national`>;
2316
+ interface PhoneFieldProps$1 extends GlobalProps, BaseTextFieldProps, Pick<FieldDecorationProps, "accessory">, AutocompleteProps<PhoneAutocompleteField> {
1899
2317
  /**
1900
- * A label that describes the purpose of the progress. When set,
1901
- * it will be announced to users using assistive technologies and will
1902
- * provide them with more context.
2318
+ * The type of number to collect.
1903
2319
  *
1904
- * Use it to provide context of what is progressing.
2320
+ * Specific style may be applied to each type to provide extra guidance to users. Note that no extra validation is performed based on the type.
2321
+ *
2322
+ * @default '' meaning no specific kind of phone number
1905
2323
  */
1906
- accessibilityLabel?: string;
2324
+ type?: "mobile" | "";
2325
+ }
2326
+ interface ProductThumbnailProps$1 extends GlobalProps, BaseImageProps {
1907
2327
  /**
1908
- * Sets the tone of the progress, based on the intention of the information being conveyed.
2328
+ * Decorates the product thumbnail with the quantity of the product.
2329
+ */
2330
+ totalItems?: number;
2331
+ /**
2332
+ * Adjusts the size the product thumbnail image.
1909
2333
  *
1910
- * @default 'auto'
2334
+ * @default 'base'
1911
2335
  */
1912
- tone?: ToneKeyword;
2336
+ size?: SizeKeyword;
1913
2337
  /**
1914
- * Specifies how much of the task has been completed.
2338
+ * Invoked when load of provided image completes successfully.
1915
2339
  *
1916
- * It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted.
2340
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
2341
+ */
2342
+ onLoad?: () => void;
2343
+ /**
2344
+ * Invoked on load error of provided image.
2345
+ *
2346
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
2347
+ */
2348
+ onError?: () => void;
2349
+ }
2350
+ interface ProgressProps$1 extends GlobalProps {
2351
+ /**
2352
+ * A label that describes the purpose of the progress. When set,
2353
+ * it will be announced to users using assistive technologies and will
2354
+ * provide them with more context.
2355
+ *
2356
+ * Use it to provide context of what is progressing.
2357
+ */
2358
+ accessibilityLabel?: string;
2359
+ /**
2360
+ * Sets the tone of the progress, based on the intention of the information being conveyed.
2361
+ *
2362
+ * @default 'auto'
2363
+ */
2364
+ tone?: ToneKeyword;
2365
+ /**
2366
+ * Specifies how much of the task has been completed.
2367
+ *
2368
+ * It must be a valid floating point number between 0 and `max`, or between 0 and 1 if `max` is omitted.
1917
2369
  * If there is no value attribute, the progress bar is indeterminate;
1918
2370
  * this indicates that an activity is ongoing with no indication of how long it is expected to take.
1919
2371
  *
@@ -2010,6 +2462,14 @@ interface SectionProps$1 extends GlobalProps, ContainerProps {
2010
2462
  */
2011
2463
  padding?: "base" | "none";
2012
2464
  }
2465
+ interface SelectProps$1 extends GlobalProps, AutocompleteProps<AnyAutocompleteField>, Pick<FieldDecorationProps, "icon">, Omit<FieldProps, "defaultValue">, FocusEventProps {
2466
+ /**
2467
+ * The options a user can select from.
2468
+ *
2469
+ * Accepts `Option` and `OptionGroup` components.
2470
+ */
2471
+ children?: ComponentChildren;
2472
+ }
2013
2473
  interface SpinnerProps$1 extends GlobalProps {
2014
2474
  /**
2015
2475
  * Adjusts the size of the spinner icon.
@@ -2061,6 +2521,22 @@ interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
2061
2521
  */
2062
2522
  alignContent?: AlignContentKeyword;
2063
2523
  }
2524
+ interface SummaryProps$1 extends GlobalProps {
2525
+ /**
2526
+ * The content to use as the label.
2527
+ *
2528
+ * Interactive content is disallowed. For example, you can use a `<Text>` element for extra formatting but
2529
+ * elements like buttons and fields are not allowed.
2530
+ *
2531
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
2532
+ *
2533
+ * @implementation Surfaces may apply styling to this element. An icon suggesting the state (open or closed) of the
2534
+ * details element is recommended.
2535
+ *
2536
+ * @implementation Surface may decide to warn when interactive elements are used.
2537
+ */
2538
+ children?: ComponentChildren;
2539
+ }
2064
2540
  interface TextProps$1 extends GlobalProps, AccessibilityVisibilityProps, BaseTypographyProps, DisplayProps {
2065
2541
  /**
2066
2542
  * The content of the Text.
@@ -2157,6 +2633,14 @@ export type TextType =
2157
2633
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
2158
2634
  */
2159
2635
  | "generic";
2636
+ interface TextAreaProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField> {
2637
+ /**
2638
+ * A number of visible text lines.
2639
+ *
2640
+ * @default 2
2641
+ */
2642
+ rows?: number;
2643
+ }
2160
2644
  interface TextFieldProps$1 extends GlobalProps, BaseTextFieldProps, MinMaxLengthProps, AutocompleteProps<TextAutocompleteField>, FieldDecorationProps {
2161
2645
  }
2162
2646
  interface TimeProps$1 {
@@ -2180,57 +2664,75 @@ interface UnorderedListProps$1 extends GlobalProps {
2180
2664
 
2181
2665
 
2182
2666
 
2667
+ import { ReactNode } from 'react';
2668
+
2669
+ type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
2670
+ type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
2671
+ type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
2672
+ /**
2673
+ * Used when an element does not have children.
2674
+ */
2675
+ interface BaseElementProps<TClass = HTMLElement> {
2676
+ key?: preact.Key;
2677
+ ref?: preact.Ref<TClass>;
2678
+ slot?: Lowercase<string>;
2679
+ }
2680
+ /**
2681
+ * Used when an element has children.
2682
+ */
2683
+ interface BaseElementPropsWithChildren<TClass = HTMLElement> extends BaseElementProps<TClass> {
2684
+ children?: preact.ComponentChildren;
2685
+ }
2686
+ /**
2687
+ * The list of available icon types.
2688
+ *
2689
+ * @see https://github.com/Shopify/ui-api-design/blob/main/packages/ui-api-design/src/components/Icon/Icon.ts#L10
2690
+ */
2691
+ 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'>;
2183
2692
 
2693
+ declare const tagName$B = "s-abbreviation";
2184
2694
  interface AbbreviationProps extends Pick<AbbreviationProps$1, 'title'> {
2185
2695
  }
2186
2696
  interface AbbreviationElement extends AbbreviationProps, Omit<HTMLElement, 'id' | 'title'> {
2187
2697
  }
2188
2698
  declare global {
2189
2699
  interface HTMLElementTagNameMap {
2190
- 's-abbreviation': AbbreviationElement;
2191
2700
  }
2192
2701
  }
2193
2702
  declare module 'preact' {
2194
- interface BaseProps {
2195
- children?: preact.ComponentChildren;
2196
- slot?: Lowercase<string>;
2197
- }
2198
2703
  namespace createElement.JSX {
2199
2704
  interface IntrinsicElements {
2200
- 's-abbreviation': AbbreviationProps & BaseProps;
2705
+ [tagName$B]: AbbreviationProps & BaseElementPropsWithChildren<AbbreviationElement>;
2201
2706
  }
2202
2707
  }
2203
2708
  }
2204
2709
 
2205
- interface BannerProps extends Pick<BannerProps$1, 'collapsible' | 'dismissible' | 'heading' | 'hidden' | 'id' | 'onAfterHide' | 'onDismiss' | 'tone'> {
2710
+ declare const tagName$A = "s-banner";
2711
+ interface BannerBaseProps extends Pick<BannerProps$1, 'collapsible' | 'dismissible' | 'heading' | 'hidden' | 'id' | 'tone'> {
2206
2712
  tone?: Extract<BannerProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical'>;
2207
2713
  }
2208
- interface BannerElement extends Omit<BannerProps, 'onAfterHide' | 'onDismiss'>, Omit<HTMLElement, 'id' | 'title' | 'hidden'> {
2209
- onafterhide: BannerProps['onAfterHide'];
2210
- ondismiss: BannerProps['onDismiss'];
2714
+ interface BannerEvents extends Pick<BannerProps$1, 'onAfterHide' | 'onDismiss'> {
2715
+ }
2716
+ interface BannerElement extends BannerBaseProps, Omit<BannerEvents, 'onAfterHide' | 'onDismiss'>, Omit<HTMLElement, 'id' | 'title' | 'hidden'> {
2717
+ onafterhide: BannerEvents['onAfterHide'];
2718
+ ondismiss: BannerEvents['onDismiss'];
2719
+ }
2720
+ interface BannerProps extends BannerBaseProps, BannerEvents {
2211
2721
  }
2212
2722
  declare global {
2213
2723
  interface HTMLElementTagNameMap {
2214
- 's-banner': BannerElement;
2215
2724
  }
2216
2725
  }
2217
2726
  declare module 'preact' {
2218
- interface BaseProps {
2219
- children?: preact.ComponentChildren;
2220
- slot?: Lowercase<string>;
2221
- }
2222
2727
  namespace createElement.JSX {
2223
2728
  interface IntrinsicElements {
2224
- 's-banner': BannerProps & BaseProps;
2729
+ [tagName$A]: BannerProps & BaseElementPropsWithChildren<BannerElement>;
2225
2730
  }
2226
2731
  }
2227
2732
  }
2228
2733
 
2229
- type ReducedBorderSizeKeyword = Extract<BorderSizeKeyword, 'none' | 'base' | 'large' | 'large-100' | 'large-200'>;
2230
- type ReducedColorKeyword = Extract<ColorKeyword, 'base'>;
2231
- type BorderShorthand = ReducedBorderSizeKeyword | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword}` | `${ReducedBorderSizeKeyword} ${ReducedColorKeyword} ${BorderStyleKeyword}`;
2232
-
2233
- interface BoxProps extends Pick<BoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
2734
+ declare const tagName$z = "s-box";
2735
+ interface BoxProps extends Pick<BoxProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'display' | 'id' | 'inlineSize' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart'> {
2234
2736
  background?: Extract<BoxProps$1['background'], 'transparent' | 'subdued' | 'base'>;
2235
2737
  border?: BorderShorthand;
2236
2738
  borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
@@ -2240,94 +2742,124 @@ interface BoxElement extends BoxProps, Omit<HTMLElement, 'id'> {
2240
2742
  }
2241
2743
  declare global {
2242
2744
  interface HTMLElementTagNameMap {
2243
- 's-box': BoxElement;
2244
2745
  }
2245
2746
  }
2246
2747
  declare module 'preact' {
2247
- interface BaseProps {
2248
- children?: preact.ComponentChildren;
2249
- slot?: Lowercase<string>;
2250
- }
2251
2748
  namespace createElement.JSX {
2252
2749
  interface IntrinsicElements {
2253
- 's-box': BoxProps & BaseProps;
2750
+ [tagName$z]: BoxProps & BaseElementPropsWithChildren<BoxElement>;
2254
2751
  }
2255
2752
  }
2256
2753
  }
2257
2754
 
2258
- interface ButtonProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'loading' | 'onClick' | 'target' | 'tone' | 'type' | 'variant'> {
2259
- target?: Extract<ButtonProps$1['target'], 'auto' | '_self' | '_blank'>;
2755
+ declare const tagName$y = "s-button";
2756
+ interface ButtonBaseProps extends Pick<ButtonProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'disabled' | 'href' | 'id' | 'inlineSize' | 'loading' | 'target' | 'tone' | 'type' | 'variant'> {
2757
+ target?: Extract<ButtonProps$1['target'], 'auto' | '_blank'>;
2260
2758
  tone?: Extract<ButtonProps$1['tone'], 'auto' | 'neutral' | 'critical'>;
2261
2759
  type?: Extract<ButtonProps$1['type'], 'submit' | 'button'>;
2262
2760
  variant?: Extract<ButtonProps$1['variant'], 'auto' | 'primary' | 'secondary'>;
2263
2761
  }
2264
- interface ButtonElement extends Omit<ButtonProps, 'onClick'>, Omit<HTMLElement, 'id' | 'onclick'> {
2265
- onclick: ButtonProps['onClick'];
2762
+ interface ButtonEvents extends Pick<ButtonProps$1, 'onClick'> {
2763
+ }
2764
+ interface ButtonElement extends ButtonBaseProps, Omit<ButtonEvents, 'onClick'>, Omit<HTMLElement, 'id' | 'onclick'> {
2765
+ onclick: ButtonEvents['onClick'];
2766
+ }
2767
+ interface ButtonProps extends ButtonBaseProps, ButtonEvents {
2266
2768
  }
2267
2769
  declare global {
2268
2770
  interface HTMLElementTagNameMap {
2269
- 's-button': ButtonElement;
2270
2771
  }
2271
2772
  }
2272
2773
  declare module 'preact' {
2273
- interface BaseProps {
2274
- children?: preact.ComponentChildren;
2275
- slot?: Lowercase<string>;
2774
+ namespace createElement.JSX {
2775
+ interface IntrinsicElements {
2776
+ [tagName$y]: ButtonProps & BaseElementPropsWithChildren<ButtonElement>;
2777
+ }
2778
+ }
2779
+ }
2780
+
2781
+ declare const tagName$x = "s-checkbox";
2782
+ interface CheckboxBaseProps extends Pick<CheckboxProps$1, 'accessibilityLabel' | 'checked' | 'command' | 'commandFor' | 'defaultChecked' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'required' | 'value'> {
2783
+ }
2784
+ interface CheckboxEvents extends Pick<CheckboxProps$1, 'onChange'> {
2785
+ }
2786
+ interface CheckboxElement extends CheckboxBaseProps, Omit<CheckboxEvents, 'onChange'>, Omit<HTMLElement, 'id' | 'onchange'> {
2787
+ onchange: CheckboxEvents['onChange'];
2788
+ }
2789
+ interface CheckboxProps extends CheckboxBaseProps, CheckboxEvents {
2790
+ }
2791
+ declare global {
2792
+ interface HTMLElementTagNameMap {
2793
+ [tagName$x]: CheckboxElement;
2276
2794
  }
2795
+ }
2796
+ declare module 'preact' {
2277
2797
  namespace createElement.JSX {
2278
2798
  interface IntrinsicElements {
2279
- 's-button': ButtonProps & BaseProps;
2799
+ [tagName$x]: CheckboxProps & BaseElementProps<CheckboxElement>;
2280
2800
  }
2281
2801
  }
2282
2802
  }
2283
2803
 
2284
- interface ClipboardItemProps extends ClipboardItemProps$1 {
2804
+ declare const tagName$w = "s-clickable";
2805
+ interface ClickableProps extends Pick<ClickableProps$1, 'accessibilityLabel' | 'accessibilityVisibility' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'command' | 'commandFor' | 'disabled' | 'display' | 'href' | 'id' | 'inlineSize' | 'lang' | 'loading' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'onBlur' | 'onClick' | 'onFocus' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'target' | 'type'> {
2806
+ background?: Extract<ClickableProps$1['background'], 'transparent' | 'subdued' | 'base'>;
2807
+ border?: BorderShorthand;
2808
+ borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
2809
+ borderRadius?: MaybeAllValuesShorthandProperty<Extract<ClickableProps$1['borderRadius'], 'none' | 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'max'>>;
2810
+ target?: Extract<ClickableProps$1['target'], 'auto' | '_blank'>;
2811
+ type?: Extract<ClickableProps$1['type'], 'submit' | 'button'>;
2285
2812
  }
2286
- interface ClipboardItemElement extends Omit<ClipboardItemProps, 'onCopy' | 'onCopyError'>, Omit<HTMLElement, 'id' | 'oncopy'> {
2287
- oncopy: ClipboardItemProps['onCopy'];
2288
- oncopyerror: ClipboardItemProps['onCopyError'];
2813
+ interface ClickableElement extends Omit<ClickableProps, 'onBlur' | 'onClick' | 'onFocus'>, Omit<HTMLElement, 'id' | 'lang' | 'onblur' | 'onclick' | 'onfocus'> {
2814
+ onblur: ClickableProps['onBlur'];
2815
+ onclick: ClickableProps['onClick'];
2816
+ onfocus: ClickableProps['onFocus'];
2289
2817
  }
2290
2818
  declare global {
2291
2819
  interface HTMLElementTagNameMap {
2292
- 's-clipboard-item': ClipboardItemElement;
2820
+ [tagName$w]: ClickableElement;
2293
2821
  }
2294
2822
  }
2295
2823
  declare module 'preact' {
2296
2824
  namespace createElement.JSX {
2297
2825
  interface IntrinsicElements {
2298
- 's-clipboard-item': ClipboardItemProps;
2826
+ [tagName$w]: ClickableProps & BaseElementPropsWithChildren<ClickableElement>;
2299
2827
  }
2300
2828
  }
2301
2829
  }
2302
2830
 
2303
- interface DropZoneProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'onDropRejected' | 'onInput' | 'required'> {
2831
+ declare const tagName$v = "s-clipboard-item";
2832
+ interface ClipboardItemBaseProps extends Pick<ClipboardItemProps$1, 'id' | 'text'> {
2833
+ }
2834
+ interface ClipboardItemEvents extends Pick<ClipboardItemProps$1, 'onCopy' | 'onCopyError'> {
2304
2835
  }
2305
- interface DropZoneElement extends Omit<DropZoneProps, 'onDropRejected' | 'onInput'>, Omit<HTMLElement, 'id' | 'oninput'> {
2306
- ondroprejected: DropZoneProps['onDropRejected'];
2307
- oninput: DropZoneProps['onInput'];
2836
+ interface ClipboardItemElement extends ClipboardItemBaseProps, Omit<ClipboardItemEvents, 'onCopy' | 'onCopyError'>, Omit<HTMLElement, 'id' | 'oncopy'> {
2837
+ oncopy: ClipboardItemEvents['onCopy'];
2838
+ oncopyerror: ClipboardItemEvents['onCopyError'];
2839
+ }
2840
+ interface ClipboardItemProps extends ClipboardItemBaseProps, ClipboardItemEvents {
2308
2841
  }
2309
2842
  declare global {
2310
2843
  interface HTMLElementTagNameMap {
2311
- 's-drop-zone': DropZoneElement;
2312
2844
  }
2313
2845
  }
2314
2846
  declare module 'preact' {
2315
2847
  namespace createElement.JSX {
2316
2848
  interface IntrinsicElements {
2317
- 's-drop-zone': DropZoneProps;
2849
+ [tagName$v]: ClipboardItemProps & BaseElementProps<ClipboardItemElement>;
2318
2850
  }
2319
2851
  }
2320
2852
  }
2321
2853
 
2322
- interface FormProps extends Pick<FormProps$1, 'id' | 'disabled' | 'onSubmit'> {
2323
- onSubmit?: () => void;
2854
+ declare const tagName$u = "s-details";
2855
+ interface DetailsProps extends Pick<DetailsProps$1, 'defaultOpen' | 'onToggle' | 'name' | 'id'> {
2324
2856
  }
2325
- interface FormElement extends Omit<FormProps, 'onSubmit' | 'children'>, Omit<HTMLElement, 'id' | 'onsubmit'> {
2326
- onsubmit: FormProps['onSubmit'];
2857
+ interface DetailsElement extends Omit<DetailsProps, 'onToggle'>, Omit<HTMLElement, 'ontoggle' | 'id'> {
2858
+ ontoggle: DetailsProps['onToggle'];
2327
2859
  }
2328
2860
  declare global {
2329
2861
  interface HTMLElementTagNameMap {
2330
- 's-form': FormElement;
2862
+ [tagName$u]: DetailsElement;
2331
2863
  }
2332
2864
  }
2333
2865
  declare module 'preact' {
@@ -2337,55 +2869,121 @@ declare module 'preact' {
2337
2869
  }
2338
2870
  namespace createElement.JSX {
2339
2871
  interface IntrinsicElements {
2340
- 's-form': FormProps & BaseProps;
2872
+ [tagName$u]: DetailsProps & BaseProps;
2873
+ }
2874
+ }
2875
+ }
2876
+
2877
+ declare const tagName$t = "s-drop-zone";
2878
+ interface DropZoneBaseProps extends Pick<DropZoneProps$1, 'accept' | 'accessibilityLabel' | 'disabled' | 'error' | 'id' | 'label' | 'multiple' | 'name' | 'required'> {
2879
+ }
2880
+ interface DropZoneEvents extends Pick<DropZoneProps$1, 'onDropRejected' | 'onInput'> {
2881
+ }
2882
+ interface DropZoneElement extends DropZoneBaseProps, Omit<DropZoneEvents, 'onDropRejected' | 'onInput'>, Omit<HTMLElement, 'id' | 'oninput'> {
2883
+ ondroprejected: DropZoneEvents['onDropRejected'];
2884
+ oninput: DropZoneEvents['onInput'];
2885
+ }
2886
+ interface DropZoneProps extends DropZoneBaseProps, DropZoneEvents {
2887
+ }
2888
+ declare global {
2889
+ interface HTMLElementTagNameMap {
2890
+ }
2891
+ }
2892
+ declare module 'preact' {
2893
+ namespace createElement.JSX {
2894
+ interface IntrinsicElements {
2895
+ [tagName$t]: DropZoneProps & BaseElementProps<DropZoneElement>;
2896
+ }
2897
+ }
2898
+ }
2899
+
2900
+ declare const tagName$s = "s-email-field";
2901
+ interface EmailFieldBaseProps extends Pick<EmailFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'maxLength' | 'minLength' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'value'> {
2902
+ }
2903
+ interface EmailFieldEvents extends Pick<EmailFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
2904
+ }
2905
+ interface EmailFieldElement extends EmailFieldBaseProps, Omit<EmailFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
2906
+ onblur: EmailFieldEvents['onBlur'];
2907
+ onchange: EmailFieldEvents['onChange'];
2908
+ onfocus: EmailFieldEvents['onFocus'];
2909
+ oninput: EmailFieldEvents['onInput'];
2910
+ }
2911
+ interface EmailFieldProps extends EmailFieldBaseProps, EmailFieldEvents {
2912
+ }
2913
+ declare global {
2914
+ interface HTMLElementTagNameMap {
2915
+ [tagName$s]: EmailFieldElement;
2916
+ }
2917
+ }
2918
+ declare module 'preact' {
2919
+ namespace createElement.JSX {
2920
+ interface IntrinsicElements {
2921
+ [tagName$s]: EmailFieldProps & BaseElementProps<EmailFieldElement>;
2341
2922
  }
2342
2923
  }
2343
2924
  }
2344
2925
 
2926
+ declare const tagName$r = "s-form";
2927
+ interface FormBaseProps extends Pick<FormProps$1, 'id' | 'disabled'> {
2928
+ }
2929
+ interface FormEvents extends Pick<FormProps$1, 'onSubmit'> {
2930
+ onSubmit?: () => void;
2931
+ }
2932
+ interface FormElement extends Omit<FormBaseProps, 'children'>, Omit<FormEvents, 'onSubmit'>, Omit<HTMLElement, 'id' | 'onsubmit'> {
2933
+ onsubmit: FormEvents['onSubmit'];
2934
+ }
2935
+ interface FormProps extends FormBaseProps, FormEvents {
2936
+ }
2937
+ declare global {
2938
+ interface HTMLElementTagNameMap {
2939
+ }
2940
+ }
2941
+ declare module 'preact' {
2942
+ namespace createElement.JSX {
2943
+ interface IntrinsicElements {
2944
+ [tagName$r]: FormProps & BaseElementPropsWithChildren<FormElement>;
2945
+ }
2946
+ }
2947
+ }
2948
+
2949
+ declare const tagName$q = "s-heading";
2345
2950
  interface HeadingProps extends Pick<HeadingProps$1, 'accessibilityRole' | 'id'> {
2346
2951
  }
2347
2952
  interface HeadingElement extends HeadingProps, Omit<HTMLElement, 'id'> {
2348
2953
  }
2349
2954
  declare global {
2350
2955
  interface HTMLElementTagNameMap {
2351
- 's-heading': HeadingElement;
2352
2956
  }
2353
2957
  }
2354
2958
  declare module 'preact' {
2355
- interface BaseProps {
2356
- children?: preact.ComponentChildren;
2357
- slot?: Lowercase<string>;
2358
- }
2359
2959
  namespace createElement.JSX {
2360
2960
  interface IntrinsicElements {
2361
- 's-heading': HeadingProps & BaseProps;
2961
+ [tagName$q]: HeadingProps & BaseElementPropsWithChildren<HeadingElement>;
2362
2962
  }
2363
2963
  }
2364
2964
  }
2365
2965
 
2966
+ declare const tagName$p = "s-icon";
2366
2967
  interface IconProps extends Pick<IconProps$1, 'id' | 'size' | 'tone' | 'type'> {
2367
2968
  tone?: Extract<IconProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
2368
2969
  size?: Extract<IconProps$1['size'], 'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
2369
- type?: '' | Extract<IconProps$1['type'], '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'>;
2970
+ type?: '' | ReducedIconTypes;
2370
2971
  }
2371
2972
  interface IconElement extends IconProps, Omit<HTMLElement, 'id'> {
2372
2973
  }
2373
2974
  declare global {
2374
2975
  interface HTMLElementTagNameMap {
2375
- 's-icon': IconElement;
2376
2976
  }
2377
2977
  }
2378
2978
  declare module 'preact' {
2379
- interface BaseProps {
2380
- slot?: Lowercase<string>;
2381
- }
2382
2979
  namespace createElement.JSX {
2383
2980
  interface IntrinsicElements {
2384
- 's-icon': IconProps & BaseProps;
2981
+ [tagName$p]: IconProps & BaseElementProps<IconElement>;
2385
2982
  }
2386
2983
  }
2387
2984
  }
2388
2985
 
2986
+ declare const tagName$o = "s-image";
2389
2987
  interface ImageProps extends Pick<ImageProps$1, 'accessibilityRole' | 'alt' | 'aspectRatio' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'id' | 'inlineSize' | 'loading' | 'objectFit' | 'sizes' | 'src' | 'srcSet'> {
2390
2988
  border?: BorderShorthand;
2391
2989
  borderWidth?: MaybeAllValuesShorthandProperty<ReducedBorderSizeKeyword> | '';
@@ -2395,86 +2993,211 @@ interface ImageElement extends ImageProps, Omit<HTMLElement, 'id'> {
2395
2993
  }
2396
2994
  declare global {
2397
2995
  interface HTMLElementTagNameMap {
2398
- 's-image': ImageElement;
2399
2996
  }
2400
2997
  }
2401
2998
  declare module 'preact' {
2402
- interface BaseProps {
2403
- slot?: Lowercase<string>;
2404
- }
2405
2999
  namespace createElement.JSX {
2406
3000
  interface IntrinsicElements {
2407
- 's-image': ImageProps & BaseProps;
3001
+ [tagName$o]: ImageProps & BaseElementProps<ImageElement>;
2408
3002
  }
2409
3003
  }
2410
3004
  }
2411
3005
 
2412
- interface LinkProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'lang' | 'onClick' | 'target' | 'tone'> {
2413
- target?: Extract<LinkProps$1['target'], 'auto' | '_self' | '_blank'>;
3006
+ declare const tagName$n = "s-link";
3007
+ interface LinkBaseProps extends Pick<LinkProps$1, 'accessibilityLabel' | 'command' | 'commandFor' | 'href' | 'id' | 'lang' | 'target' | 'tone'> {
3008
+ target?: Extract<LinkProps$1['target'], 'auto' | '_blank'>;
2414
3009
  tone?: Extract<LinkProps$1['tone'], 'auto' | 'neutral'>;
2415
3010
  }
2416
- interface LinkElement extends Omit<LinkProps, 'onClick'>, Omit<HTMLElement, 'id' | 'lang' | 'onclick'> {
2417
- onclick: LinkProps['onClick'];
3011
+ interface LinkEvents extends Pick<LinkProps$1, 'onClick'> {
3012
+ }
3013
+ interface LinkElement extends LinkBaseProps, Omit<LinkEvents, 'onClick'>, Omit<HTMLElement, 'id' | 'lang' | 'onclick'> {
3014
+ onclick: LinkEvents['onClick'];
3015
+ }
3016
+ interface LinkProps extends LinkBaseProps, LinkEvents {
2418
3017
  }
2419
3018
  declare global {
2420
3019
  interface HTMLElementTagNameMap {
2421
- 's-link': LinkElement;
2422
3020
  }
2423
3021
  }
2424
3022
  declare module 'preact' {
2425
- interface BaseProps {
2426
- children?: preact.ComponentChildren;
2427
- slot?: Lowercase<string>;
2428
- }
2429
3023
  namespace createElement.JSX {
2430
3024
  interface IntrinsicElements {
2431
- 's-link': LinkProps & BaseProps;
3025
+ [tagName$n]: LinkProps & BaseElementPropsWithChildren<LinkElement>;
2432
3026
  }
2433
3027
  }
2434
3028
  }
2435
3029
 
3030
+ declare const tagName$m = "s-list-item";
2436
3031
  interface ListItemProps extends Pick<ListItemProps$1, 'id'> {
2437
3032
  }
2438
- interface ListItem extends ListItemProps, Omit<HTMLElement, 'id'> {
3033
+ interface ListItemElement extends ListItemProps, Omit<HTMLElement, 'id'> {
2439
3034
  }
2440
3035
  declare global {
2441
3036
  interface HTMLElementTagNameMap {
2442
- 's-list-item': ListItem;
2443
3037
  }
2444
3038
  }
2445
3039
  declare module 'preact' {
2446
- interface BaseProps {
2447
- children?: preact.ComponentChildren;
2448
- slot?: Lowercase<string>;
3040
+ namespace createElement.JSX {
3041
+ interface IntrinsicElements {
3042
+ [tagName$m]: ListItemProps & BaseElementPropsWithChildren<ListItemElement>;
3043
+ }
3044
+ }
3045
+ }
3046
+
3047
+ declare const tagName$l = "s-map";
3048
+ interface MapBaseProps extends Pick<MapProps$1, 'accessibilityLabel' | 'apiKey' | 'blockSize' | 'id' | 'inlineSize' | 'latitude' | 'longitude' | 'maxBlockSize' | 'maxInlineSize' | 'maxZoom' | 'minBlockSize' | 'minInlineSize' | 'minZoom' | 'zoom'> {
3049
+ }
3050
+ interface MapEvents extends Pick<MapProps$1, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'> {
3051
+ }
3052
+ interface MapElement extends MapBaseProps, Omit<MapEvents, 'onBoundsChange' | 'onClick' | 'onDblClick' | 'onViewChange'>, Omit<HTMLElement, 'id' | 'onclick' | 'ondblclick'> {
3053
+ onboundschange: MapEvents['onBoundsChange'];
3054
+ onclick: MapEvents['onClick'];
3055
+ ondblclick: MapEvents['onDblClick'];
3056
+ onviewchange: MapEvents['onViewChange'];
3057
+ }
3058
+ interface MapProps extends MapBaseProps, MapEvents {
3059
+ }
3060
+ declare global {
3061
+ interface HTMLElementTagNameMap {
3062
+ [tagName$l]: MapElement;
3063
+ }
3064
+ }
3065
+ declare module 'preact' {
3066
+ namespace createElement.JSX {
3067
+ interface IntrinsicElements {
3068
+ [tagName$l]: MapProps & BaseElementPropsWithChildren<MapElement>;
3069
+ }
3070
+ }
3071
+ }
3072
+
3073
+ declare const tagName$k = "s-map-marker";
3074
+ interface MapMarkerBaseProps extends Pick<MapMarkerProps$1, 'accessibilityLabel' | 'blockSize' | 'clusterable' | 'inlineSize' | 'latitude' | 'longitude'> {
3075
+ }
3076
+ interface MapMarkerEvents extends Pick<MapMarkerProps$1, 'onClick'> {
3077
+ }
3078
+ interface MapMarkerSlots {
3079
+ /**
3080
+ * The graphic to use as the marker.
3081
+ *
3082
+ * If unset, it will default to the provider’s default marker.
3083
+ */
3084
+ graphic?: ReactNode;
3085
+ }
3086
+ interface MapMarkerElement extends MapMarkerBaseProps, MapMarkerSlots, Omit<HTMLElement, 'id' | 'onclick'> {
3087
+ onclick: MapMarkerEvents['onClick'];
3088
+ }
3089
+ interface MapMarkerProps extends MapMarkerBaseProps, MapMarkerEvents {
3090
+ }
3091
+ declare global {
3092
+ interface HTMLElementTagNameMap {
3093
+ [tagName$k]: MapMarkerElement;
3094
+ }
3095
+ }
3096
+ declare module 'preact' {
3097
+ namespace createElement.JSX {
3098
+ interface IntrinsicElements {
3099
+ [tagName$k]: MapMarkerProps & BaseElementProps<MapMarkerElement>;
3100
+ }
3101
+ }
3102
+ }
3103
+
3104
+ declare const tagName$j = "s-modal";
3105
+ interface ModalBaseProps extends Pick<ModalProps$1, 'accessibilityLabel' | 'heading' | 'id' | 'padding' | 'size'> {
3106
+ size?: Extract<ModalProps$1['size'], 'small-100' | 'small' | 'base' | 'large-100' | 'large' | 'max'>;
3107
+ }
3108
+ interface ModalSlots extends Pick<ModalProps$1, 'primaryAction' | 'secondaryActions'> {
3109
+ /**
3110
+ * The primary action to perform, provided as a button type element.
3111
+ */
3112
+ primaryAction?: ReactNode;
3113
+ /**
3114
+ * The secondary actions to perform, provided as button type elements.
3115
+ */
3116
+ secondaryActions?: ReactNode;
3117
+ }
3118
+ interface ModalEvents extends Pick<ModalProps$1, 'onHide' | 'onShow' | 'onAfterHide' | 'onAfterShow'> {
3119
+ }
3120
+ interface ModalElement extends ModalBaseProps, ModalSlots, Omit<ModalEvents, 'onHide' | 'onShow'>, Omit<HTMLElement, 'id'> {
3121
+ onhide: ModalEvents['onHide'];
3122
+ onshow: ModalEvents['onShow'];
3123
+ }
3124
+ interface ModalProps extends ModalBaseProps, ModalSlots, ModalEvents {
3125
+ }
3126
+ declare global {
3127
+ interface HTMLElementTagNameMap {
3128
+ [tagName$j]: ModalElement;
2449
3129
  }
3130
+ }
3131
+ declare module 'preact' {
2450
3132
  namespace createElement.JSX {
2451
3133
  interface IntrinsicElements {
2452
- 's-list-item': ListItemProps & BaseProps;
3134
+ [tagName$j]: ModalProps & BaseElementPropsWithChildren<ModalElement>;
2453
3135
  }
2454
3136
  }
2455
3137
  }
2456
3138
 
3139
+ declare const tagName$i = "s-number-field";
3140
+ interface NumberFieldBaseProps extends NumberFieldProps$1 {
3141
+ }
3142
+ interface NumberFieldEvents extends Pick<NumberFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
3143
+ }
3144
+ interface NumberFieldElement extends NumberFieldBaseProps, Omit<NumberFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'inputMode' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
3145
+ onblur: NumberFieldEvents['onBlur'];
3146
+ onchange: NumberFieldEvents['onChange'];
3147
+ onfocus: NumberFieldEvents['onFocus'];
3148
+ oninput: NumberFieldEvents['onInput'];
3149
+ }
3150
+ interface NumberFieldProps extends NumberFieldBaseProps, NumberFieldEvents {
3151
+ }
3152
+ declare global {
3153
+ interface HTMLElementTagNameMap {
3154
+ [tagName$i]: NumberFieldElement;
3155
+ }
3156
+ }
3157
+ declare module 'preact' {
3158
+ namespace createElement.JSX {
3159
+ interface IntrinsicElements {
3160
+ [tagName$i]: NumberFieldProps & BaseElementProps<NumberFieldElement>;
3161
+ }
3162
+ }
3163
+ }
3164
+
3165
+ declare const tagName$h = "s-ordered-list";
2457
3166
  interface OrderedListProps extends OrderedListProps$1 {
2458
3167
  }
2459
3168
  interface OrderedListElement extends OrderedListProps, Omit<HTMLElement, 'id'> {
2460
3169
  }
2461
3170
  declare global {
2462
3171
  interface HTMLElementTagNameMap {
2463
- 's-ordered-list': OrderedListElement;
2464
3172
  }
2465
3173
  }
2466
3174
  declare module 'preact' {
2467
- interface BaseProps {
2468
- children?: preact.ComponentChildren;
2469
- slot?: Lowercase<string>;
3175
+ namespace createElement.JSX {
3176
+ interface IntrinsicElements {
3177
+ [tagName$h]: OrderedListProps & BaseElementPropsWithChildren<OrderedListElement>;
3178
+ }
2470
3179
  }
3180
+ }
3181
+
3182
+ declare const tagName$g = "s-option";
3183
+ interface OptionProps extends Pick<OptionProps$1, 'accessibilityLabel' | 'defaultSelected' | 'disabled' | 'id' | 'selected' | 'value'> {
3184
+ }
3185
+ interface OptionElement extends OptionProps, Omit<HTMLElement, 'id'> {
3186
+ }
3187
+ declare global {
3188
+ interface HTMLElementTagNameMap {
3189
+ [tagName$g]: OptionElement;
3190
+ }
3191
+ }
3192
+ declare module 'preact' {
2471
3193
  namespace createElement.JSX {
2472
3194
  interface IntrinsicElements {
2473
- 's-ordered-list': OrderedListProps & BaseProps;
3195
+ [tagName$g]: OptionProps & BaseElementPropsWithChildren<OptionElement>;
2474
3196
  }
2475
3197
  }
2476
3198
  }
2477
3199
 
3200
+ declare const tagName$f = "s-paragraph";
2478
3201
  interface ParagraphProps extends Pick<ParagraphProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'id' | 'lang' | 'tone' | 'type'> {
2479
3202
  color?: Extract<ParagraphProps$1['color'], 'subdued' | 'base'>;
2480
3203
  tone?: Extract<ParagraphProps$1['tone'], 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'custom'>;
@@ -2483,59 +3206,86 @@ interface ParagraphElement extends ParagraphProps, Omit<HTMLElement, 'id' | 'dir
2483
3206
  }
2484
3207
  declare global {
2485
3208
  interface HTMLElementTagNameMap {
2486
- 's-paragraph': ParagraphElement;
2487
3209
  }
2488
3210
  }
2489
3211
  declare module 'preact' {
2490
- interface BaseProps {
2491
- children?: preact.ComponentChildren;
2492
- slot?: Lowercase<string>;
2493
- }
2494
3212
  namespace createElement.JSX {
2495
3213
  interface IntrinsicElements {
2496
- 's-paragraph': ParagraphProps & BaseProps;
3214
+ [tagName$f]: ParagraphProps & BaseElementPropsWithChildren<ParagraphElement>;
2497
3215
  }
2498
3216
  }
2499
3217
  }
2500
3218
 
3219
+ declare const tagName$e = "s-payment-icon";
2501
3220
  interface PaymentIconProps extends PaymentIconProps$1 {
2502
3221
  }
2503
3222
  interface PaymentIconElement extends PaymentIconProps, Omit<HTMLElement, 'id'> {
2504
3223
  }
2505
3224
  declare global {
2506
3225
  interface HTMLElementTagNameMap {
2507
- 's-payment-icon': PaymentIconElement;
2508
3226
  }
2509
3227
  }
2510
3228
  declare module 'preact' {
2511
- interface BaseProps {
2512
- slot?: Lowercase<string>;
3229
+ namespace createElement.JSX {
3230
+ interface IntrinsicElements {
3231
+ [tagName$e]: PaymentIconProps & BaseElementProps<PaymentIconElement>;
3232
+ }
2513
3233
  }
3234
+ }
3235
+
3236
+ declare const tagName$d = "s-phone-field";
3237
+ interface PhoneFieldBaseProps extends Pick<PhoneFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'label' | 'labelAccessibilityVisibility' | 'name' | 'placeholder' | 'readOnly' | 'required' | 'value' | 'type'> {
3238
+ }
3239
+ interface PhoneFieldEvents extends Pick<PhoneFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
3240
+ }
3241
+ interface PhoneFieldSlots extends Pick<PhoneFieldProps$1, 'accessory'> {
3242
+ /**
3243
+ * Additional content to be displayed in the field.
3244
+ * Commonly used to display an icon that activates a tooltip providing more information.
3245
+ */
3246
+ accessory?: ReactNode;
3247
+ }
3248
+ interface PhoneFieldElement extends PhoneFieldBaseProps, PhoneFieldSlots, Omit<PhoneFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
3249
+ onblur: PhoneFieldEvents['onBlur'];
3250
+ onchange: PhoneFieldEvents['onChange'];
3251
+ onfocus: PhoneFieldEvents['onFocus'];
3252
+ oninput: PhoneFieldEvents['onInput'];
3253
+ }
3254
+ interface PhoneFieldProps extends PhoneFieldBaseProps, PhoneFieldSlots, PhoneFieldEvents {
3255
+ }
3256
+ declare global {
3257
+ interface HTMLElementTagNameMap {
3258
+ [tagName$d]: PhoneFieldElement;
3259
+ }
3260
+ }
3261
+ declare module 'preact' {
2514
3262
  namespace createElement.JSX {
2515
3263
  interface IntrinsicElements {
2516
- 's-payment-icon': PaymentIconProps & BaseProps;
3264
+ [tagName$d]: PhoneFieldProps & BaseElementProps<PhoneFieldElement>;
2517
3265
  }
2518
3266
  }
2519
3267
  }
2520
3268
 
2521
- interface QRCodeProps extends QRCodeProps$1 {
3269
+ declare const tagName$c = "s-product-thumbnail";
3270
+ interface ProductThumbnailProps extends Pick<ProductThumbnailProps$1, 'alt' | 'size' | 'sizes' | 'src' | 'srcSet' | 'totalItems'> {
3271
+ size?: Extract<ProductThumbnailProps$1['size'], 'small-100' | 'small' | 'base'>;
2522
3272
  }
2523
- interface QRCodelement extends Omit<QRCodeProps, 'onError'>, Omit<HTMLElement, 'id' | 'onerror'> {
2524
- onerror: QRCodeProps['onError'];
3273
+ interface ProductThumbnailElement extends ProductThumbnailProps, Omit<HTMLElement, 'id'> {
2525
3274
  }
2526
3275
  declare global {
2527
3276
  interface HTMLElementTagNameMap {
2528
- 's-qr-code': QRCodelement;
3277
+ [tagName$c]: ProductThumbnailElement;
2529
3278
  }
2530
3279
  }
2531
3280
  declare module 'preact' {
2532
3281
  namespace createElement.JSX {
2533
3282
  interface IntrinsicElements {
2534
- 's-qr-code': QRCodeProps;
3283
+ [tagName$c]: ProductThumbnailProps & BaseElementProps<ProductThumbnailElement>;
2535
3284
  }
2536
3285
  }
2537
3286
  }
2538
3287
 
3288
+ declare const tagName$b = "s-progress";
2539
3289
  interface ProgressProps extends Pick<ProgressProps$1, 'accessibilityLabel' | 'id' | 'max' | 'tone' | 'value'> {
2540
3290
  tone?: Extract<ProgressProps$1['tone'], 'auto' | 'critical'>;
2541
3291
  }
@@ -2543,38 +3293,83 @@ interface ProgressElement extends ProgressProps, Omit<HTMLElement, 'id'> {
2543
3293
  }
2544
3294
  declare global {
2545
3295
  interface HTMLElementTagNameMap {
2546
- 's-progress': ProgressElement;
2547
3296
  }
2548
3297
  }
2549
3298
  declare module 'preact' {
2550
3299
  namespace createElement.JSX {
2551
3300
  interface IntrinsicElements {
2552
- 's-progress': ProgressProps;
3301
+ [tagName$b]: ProgressProps & BaseElementProps<ProgressElement>;
3302
+ }
3303
+ }
3304
+ }
3305
+
3306
+ declare const tagName$a = "s-qr-code";
3307
+ interface QRCodeBaseProps extends QRCodeProps$1 {
3308
+ }
3309
+ interface QRCodeEvents extends Pick<QRCodeProps$1, 'onError'> {
3310
+ }
3311
+ interface QRCodelement extends QRCodeBaseProps, Omit<QRCodeEvents, 'onError'>, Omit<HTMLElement, 'id' | 'onerror'> {
3312
+ onerror: QRCodeEvents['onError'];
3313
+ }
3314
+ interface QRCodeProps extends QRCodeBaseProps, QRCodeEvents {
3315
+ }
3316
+ declare global {
3317
+ interface HTMLElementTagNameMap {
3318
+ [tagName$a]: QRCodelement;
3319
+ }
3320
+ }
3321
+ declare module 'preact' {
3322
+ namespace createElement.JSX {
3323
+ interface IntrinsicElements {
3324
+ [tagName$a]: QRCodeProps & BaseElementProps<QRCodelement>;
2553
3325
  }
2554
3326
  }
2555
3327
  }
2556
3328
 
3329
+ declare const tagName$9 = "s-section";
2557
3330
  interface SectionProps extends Pick<SectionProps$1, 'accessibilityLabel' | 'heading' | 'id'> {
2558
3331
  }
2559
3332
  interface SectionElement extends SectionProps, Omit<HTMLElement, 'id'> {
2560
3333
  }
2561
3334
  declare global {
2562
3335
  interface HTMLElementTagNameMap {
2563
- 's-section': SectionElement;
3336
+ [tagName$9]: SectionElement;
2564
3337
  }
2565
3338
  }
2566
3339
  declare module 'preact' {
2567
- interface BaseProps {
2568
- children?: preact.ComponentChildren;
2569
- slot?: Lowercase<string>;
3340
+ namespace createElement.JSX {
3341
+ interface IntrinsicElements {
3342
+ [tagName$9]: SectionProps & BaseElementPropsWithChildren<SectionElement>;
3343
+ }
2570
3344
  }
3345
+ }
3346
+
3347
+ declare const tagName$8 = "s-select";
3348
+ interface SelectBaseProps extends Pick<SelectProps$1, 'autocomplete' | 'disabled' | 'error' | 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value'> {
3349
+ }
3350
+ interface SelectEvents extends Pick<SelectProps$1, 'onBlur' | 'onChange' | 'onFocus'> {
3351
+ }
3352
+ interface SelectElement extends SelectBaseProps, Omit<SelectEvents, 'onBlur' | 'onChange' | 'onFocus'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus'> {
3353
+ onblur: SelectEvents['onBlur'];
3354
+ onchange: SelectEvents['onChange'];
3355
+ onfocus: SelectEvents['onFocus'];
3356
+ }
3357
+ interface SelectProps extends SelectBaseProps, SelectEvents {
3358
+ }
3359
+ declare global {
3360
+ interface HTMLElementTagNameMap {
3361
+ [tagName$8]: SelectElement;
3362
+ }
3363
+ }
3364
+ declare module 'preact' {
2571
3365
  namespace createElement.JSX {
2572
3366
  interface IntrinsicElements {
2573
- 's-section': SectionProps & BaseProps;
3367
+ [tagName$8]: SelectProps & BaseElementPropsWithChildren<SelectElement>;
2574
3368
  }
2575
3369
  }
2576
3370
  }
2577
3371
 
3372
+ declare const tagName$7 = "s-spinner";
2578
3373
  interface SpinnerProps extends SpinnerProps$1 {
2579
3374
  size?: Extract<SpinnerProps$1['size'], 'small-100' | 'small' | 'base' | 'large' | 'large-100'>;
2580
3375
  }
@@ -2582,18 +3377,18 @@ interface SpinnerElement extends SpinnerProps, Omit<HTMLElement, 'id'> {
2582
3377
  }
2583
3378
  declare global {
2584
3379
  interface HTMLElementTagNameMap {
2585
- 's-spinner': SpinnerElement;
2586
3380
  }
2587
3381
  }
2588
3382
  declare module 'preact' {
2589
3383
  namespace createElement.JSX {
2590
3384
  interface IntrinsicElements {
2591
- 's-spinner': SpinnerProps;
3385
+ [tagName$7]: SpinnerProps & BaseElementProps<SpinnerElement>;
2592
3386
  }
2593
3387
  }
2594
3388
  }
2595
3389
 
2596
- interface StackProps extends Pick<StackProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'alignContent' | 'alignItems' | 'background' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'direction' | 'display' | 'gap' | 'id' | 'justifyContent' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'rowGap'> {
3390
+ declare const tagName$6 = "s-stack";
3391
+ interface StackProps extends Pick<StackProps$1, 'accessibilityLabel' | 'accessibilityRole' | 'alignContent' | 'alignItems' | 'background' | 'blockSize' | 'border' | 'borderRadius' | 'borderStyle' | 'borderWidth' | 'columnGap' | 'direction' | 'display' | 'gap' | 'id' | 'inlineSize' | 'justifyContent' | 'maxBlockSize' | 'maxInlineSize' | 'minBlockSize' | 'minInlineSize' | 'overflow' | 'padding' | 'paddingBlock' | 'paddingBlockEnd' | 'paddingBlockStart' | 'paddingInline' | 'paddingInlineEnd' | 'paddingInlineStart' | 'rowGap'> {
2597
3392
  accessibilityRole?: Extract<StackProps$1['accessibilityRole'], 'main' | 'header' | 'footer' | 'section' | 'aside' | 'navigation' | 'ordered-list' | 'list-item' | 'list-item-separator' | 'unordered-list' | 'separator' | 'status' | 'alert' | 'generic' | 'none'>;
2598
3393
  background?: Extract<StackProps$1['background'], 'transparent' | 'subdued' | 'base'>;
2599
3394
  border?: BorderShorthand;
@@ -2607,31 +3402,24 @@ interface StackElement extends StackProps, Omit<HTMLElement, 'id'> {
2607
3402
  }
2608
3403
  declare global {
2609
3404
  interface HTMLElementTagNameMap {
2610
- 's-stack': StackElement;
2611
3405
  }
2612
3406
  }
2613
3407
  declare module 'preact' {
2614
- interface BaseProps {
2615
- children?: preact.ComponentChildren;
2616
- slot?: Lowercase<string>;
2617
- }
2618
3408
  namespace createElement.JSX {
2619
3409
  interface IntrinsicElements {
2620
- 's-stack': StackProps & BaseProps;
3410
+ [tagName$6]: StackProps & BaseElementPropsWithChildren<StackElement>;
2621
3411
  }
2622
3412
  }
2623
3413
  }
2624
3414
 
2625
- interface TextProps extends Pick<TextProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'display' | 'id' | 'lang' | 'tone' | 'type'> {
2626
- color?: Extract<TextProps$1['color'], 'subdued' | 'base'>;
2627
- tone?: Extract<TextProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
2628
- type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
3415
+ declare const tagName$5 = "s-summary";
3416
+ interface SummaryProps extends Pick<SummaryProps$1, 'id'> {
2629
3417
  }
2630
- interface TextElement extends TextProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
3418
+ interface SummaryElement extends SummaryProps, Omit<HTMLElement, 'id'> {
2631
3419
  }
2632
3420
  declare global {
2633
3421
  interface HTMLElementTagNameMap {
2634
- 's-text': TextElement;
3422
+ [tagName$5]: SummaryElement;
2635
3423
  }
2636
3424
  }
2637
3425
  declare module 'preact' {
@@ -2641,76 +3429,122 @@ declare module 'preact' {
2641
3429
  }
2642
3430
  namespace createElement.JSX {
2643
3431
  interface IntrinsicElements {
2644
- 's-text': TextProps & BaseProps;
3432
+ [tagName$5]: SummaryProps & BaseProps;
2645
3433
  }
2646
3434
  }
2647
3435
  }
2648
3436
 
2649
- interface TextFieldProps extends Pick<TextFieldProps$1, 'accessory' | 'autocomplete' | 'defaultValue' | 'details' | 'disabled' | 'error' | 'id' | 'icon' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'placeholder' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
3437
+ declare const tagName$4 = "s-text-area";
3438
+ interface TextAreaBaseProps extends Pick<TextAreaProps$1, 'id' | 'label' | 'name' | 'placeholder' | 'required' | 'value' | 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'readOnly' | 'rows' | 'maxLength' | 'minLength' | 'labelAccessibilityVisibility'> {
3439
+ }
3440
+ interface TextAreaEvents extends Pick<TextAreaProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
3441
+ }
3442
+ interface TextAreaElement extends TextAreaBaseProps, Omit<TextAreaEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput'> {
3443
+ onblur: TextAreaEvents['onBlur'];
3444
+ onchange: TextAreaEvents['onChange'];
3445
+ onfocus: TextAreaEvents['onFocus'];
3446
+ oninput: TextAreaEvents['onInput'];
3447
+ }
3448
+ interface TextAreaProps extends TextAreaBaseProps, TextAreaEvents {
3449
+ }
3450
+ declare global {
3451
+ interface HTMLElementTagNameMap {
3452
+ [tagName$4]: TextAreaElement;
3453
+ }
3454
+ }
3455
+ declare module 'preact' {
3456
+ namespace createElement.JSX {
3457
+ interface IntrinsicElements {
3458
+ [tagName$4]: TextAreaProps & BaseElementProps<TextAreaElement>;
3459
+ }
3460
+ }
3461
+ }
3462
+
3463
+ declare const tagName$3 = "s-text-field";
3464
+ interface TextFieldBaseProps extends Pick<TextFieldProps$1, 'autocomplete' | 'defaultValue' | 'disabled' | 'error' | 'id' | 'icon' | 'label' | 'labelAccessibilityVisibility' | 'maxLength' | 'minLength' | 'name' | 'placeholder' | 'prefix' | 'readOnly' | 'required' | 'suffix' | 'value'> {
2650
3465
  icon?: IconProps['type'];
2651
3466
  }
2652
- interface TextFieldElement extends Omit<TextFieldProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
2653
- onblur: TextFieldProps['onBlur'];
2654
- onchange: TextFieldProps['onChange'];
2655
- onfocus: TextFieldProps['onFocus'];
2656
- oninput: TextFieldProps['onInput'];
3467
+ interface TextFieldEvents extends Pick<TextFieldProps$1, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'> {
3468
+ }
3469
+ interface TextFieldSlots {
3470
+ /**
3471
+ * Additional content to be displayed in the field.
3472
+ * Commonly used to display an icon that activates a tooltip providing more information.
3473
+ */
3474
+ accessory?: ReactNode;
3475
+ }
3476
+ interface TextFieldElement extends TextFieldBaseProps, TextFieldSlots, Omit<TextFieldEvents, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Omit<HTMLElement, 'id' | 'onblur' | 'onchange' | 'onfocus' | 'oninput' | 'prefix'> {
3477
+ onblur: TextFieldEvents['onBlur'];
3478
+ onchange: TextFieldEvents['onChange'];
3479
+ onfocus: TextFieldEvents['onFocus'];
3480
+ oninput: TextFieldEvents['onInput'];
3481
+ }
3482
+ interface TextFieldProps extends TextFieldBaseProps, TextFieldSlots, TextFieldEvents {
2657
3483
  }
2658
3484
  declare global {
2659
3485
  interface HTMLElementTagNameMap {
2660
- 's-text-field': TextFieldElement;
2661
3486
  }
2662
3487
  }
2663
3488
  declare module 'preact' {
2664
- interface BaseProps {
2665
- slot?: Lowercase<string>;
3489
+ namespace createElement.JSX {
3490
+ interface IntrinsicElements {
3491
+ [tagName$3]: TextFieldProps & BaseElementProps<TextFieldElement>;
3492
+ }
2666
3493
  }
3494
+ }
3495
+
3496
+ declare const tagName$2 = "s-text";
3497
+ interface TextProps extends Pick<TextProps$1, 'accessibilityVisibility' | 'color' | 'dir' | 'display' | 'id' | 'lang' | 'tone' | 'type'> {
3498
+ color?: Extract<TextProps$1['color'], 'subdued' | 'base'>;
3499
+ tone?: Extract<TextProps$1['tone'], 'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'custom'>;
3500
+ type?: Extract<TextProps$1['type'], 'address' | 'redundant' | 'mark' | 'emphasis' | 'offset' | 'small' | 'strong' | 'generic'>;
3501
+ }
3502
+ interface TextElement extends TextProps, Omit<HTMLElement, 'id' | 'dir' | 'lang'> {
3503
+ }
3504
+ declare global {
3505
+ interface HTMLElementTagNameMap {
3506
+ }
3507
+ }
3508
+ declare module 'preact' {
2667
3509
  namespace createElement.JSX {
2668
3510
  interface IntrinsicElements {
2669
- 's-text-field': TextFieldProps & BaseProps;
3511
+ [tagName$2]: TextProps & BaseElementPropsWithChildren<TextElement>;
2670
3512
  }
2671
3513
  }
2672
3514
  }
2673
3515
 
3516
+ declare const tagName$1 = "s-time";
2674
3517
  interface TimeProps extends Pick<TimeProps$1, 'dateTime'> {
2675
3518
  }
2676
3519
  interface TimeElement extends TimeProps, Omit<HTMLElement, 'id'> {
2677
3520
  }
2678
3521
  declare global {
2679
3522
  interface HTMLElementTagNameMap {
2680
- 's-time': TimeElement;
2681
3523
  }
2682
3524
  }
2683
3525
  declare module 'preact' {
2684
- interface BaseProps {
2685
- children?: preact.ComponentChildren;
2686
- slot?: Lowercase<string>;
2687
- }
2688
3526
  namespace createElement.JSX {
2689
3527
  interface IntrinsicElements {
2690
- 's-time': TimeProps & BaseProps;
3528
+ [tagName$1]: TimeProps & BaseElementPropsWithChildren<TimeElement>;
2691
3529
  }
2692
3530
  }
2693
3531
  }
2694
3532
 
3533
+ declare const tagName = "s-unordered-list";
2695
3534
  interface UnorderedListProps extends UnorderedListProps$1 {
2696
3535
  }
2697
3536
  interface UnorderedListElement extends UnorderedListProps, Omit<HTMLElement, 'id'> {
2698
3537
  }
2699
3538
  declare global {
2700
3539
  interface HTMLElementTagNameMap {
2701
- 's-unordered-list': UnorderedListElement;
2702
3540
  }
2703
3541
  }
2704
3542
  declare module 'preact' {
2705
- interface BaseProps {
2706
- children?: preact.ComponentChildren;
2707
- slot?: Lowercase<string>;
2708
- }
2709
3543
  namespace createElement.JSX {
2710
3544
  interface IntrinsicElements {
2711
- 's-unordered-list': UnorderedListProps & BaseProps;
3545
+ [tagName]: UnorderedListProps & BaseElementPropsWithChildren<UnorderedListElement>;
2712
3546
  }
2713
3547
  }
2714
3548
  }
2715
3549
 
2716
- export type { AbbreviationProps, BannerProps, BoxProps, ButtonProps, ClipboardItemProps, DropZoneProps, FormProps, HeadingProps, IconProps, ImageProps, LinkProps, ListItemProps, OrderedListProps, ParagraphProps, PaymentIconProps, ProgressProps, QRCodeProps, SectionProps, SpinnerProps, StackProps, TextFieldProps, TextProps, TimeProps, UnorderedListProps };
3550
+ export type { AbbreviationProps, BannerProps, BoxProps, ButtonProps, CheckboxProps, ClickableProps, ClipboardItemProps, DetailsProps, DropZoneProps, EmailFieldProps, FormProps, HeadingProps, IconProps, ImageProps, LinkProps, ListItemProps, MapMarkerProps, MapProps, ModalProps, NumberFieldProps, OptionProps, OrderedListProps, ParagraphProps, PaymentIconProps, PhoneFieldProps, ProductThumbnailProps, ProgressProps, QRCodeProps, SectionProps, SelectProps, SpinnerProps, StackProps, SummaryProps, TextAreaProps, TextFieldProps, TextProps, TimeProps, UnorderedListProps };