@shopify/ui-extensions 2025.10.0-rc.3 → 2025.10.0-rc.5

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 (259) hide show
  1. package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
  2. package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
  3. package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
  4. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  5. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  6. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  7. package/build/ts/surfaces/admin/components/Badge.d.ts +17 -6
  8. package/build/ts/surfaces/admin/components/Banner.d.ts +17 -6
  9. package/build/ts/surfaces/admin/components/Box.d.ts +28 -7
  10. package/build/ts/surfaces/admin/components/Button.d.ts +16 -6
  11. package/build/ts/surfaces/admin/components/Checkbox.d.ts +17 -2
  12. package/build/ts/surfaces/admin/components/Choice.d.ts +17 -2
  13. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +17 -6
  14. package/build/ts/surfaces/admin/components/Clickable.d.ts +28 -7
  15. package/build/ts/surfaces/admin/components/DatePicker.d.ts +11 -5
  16. package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
  17. package/build/ts/surfaces/admin/components/EmailField.d.ts +11 -5
  18. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  19. package/build/ts/surfaces/admin/components/Grid.d.ts +28 -7
  20. package/build/ts/surfaces/admin/components/GridItem.d.ts +29 -7
  21. package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
  22. package/build/ts/surfaces/admin/components/Icon.d.ts +12 -5
  23. package/build/ts/surfaces/admin/components/Image.d.ts +22 -6
  24. package/build/ts/surfaces/admin/components/Link.d.ts +16 -6
  25. package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
  26. package/build/ts/surfaces/admin/components/MoneyField.d.ts +11 -6
  27. package/build/ts/surfaces/admin/components/NumberField.d.ts +11 -5
  28. package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
  29. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
  30. package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
  31. package/build/ts/surfaces/admin/components/Page.d.ts +20 -5
  32. package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
  33. package/build/ts/surfaces/admin/components/PasswordField.d.ts +11 -5
  34. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  35. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  36. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
  37. package/build/ts/surfaces/admin/components/SearchField.d.ts +14 -6
  38. package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
  39. package/build/ts/surfaces/admin/components/Select.d.ts +16 -6
  40. package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
  41. package/build/ts/surfaces/admin/components/Stack.d.ts +28 -7
  42. package/build/ts/surfaces/admin/components/Switch.d.ts +11 -2
  43. package/build/ts/surfaces/admin/components/Table.d.ts +17 -6
  44. package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
  45. package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -6
  46. package/build/ts/surfaces/admin/components/TableHeader.d.ts +18 -6
  47. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
  48. package/build/ts/surfaces/admin/components/TableRow.d.ts +18 -6
  49. package/build/ts/surfaces/admin/components/Text.d.ts +17 -6
  50. package/build/ts/surfaces/admin/components/TextArea.d.ts +11 -5
  51. package/build/ts/surfaces/admin/components/TextField.d.ts +13 -5
  52. package/build/ts/surfaces/admin/components/URLField.d.ts +11 -5
  53. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
  54. package/build/ts/surfaces/admin/components/shared.d.ts +34 -44
  55. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +589 -219
  56. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +589 -219
  57. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +589 -219
  58. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +589 -219
  59. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +589 -219
  60. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +589 -219
  61. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +589 -219
  62. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +589 -219
  63. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +589 -219
  64. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +589 -219
  65. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +589 -219
  66. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +589 -219
  67. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +589 -219
  68. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +589 -219
  69. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +589 -219
  70. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +589 -219
  71. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +589 -219
  72. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +589 -219
  73. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +589 -219
  74. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +589 -219
  75. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +589 -219
  76. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +589 -219
  77. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +589 -219
  78. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +589 -219
  79. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +589 -219
  80. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +589 -219
  81. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +589 -219
  82. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +589 -219
  83. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +589 -219
  84. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +589 -219
  85. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +589 -219
  86. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +589 -219
  87. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +589 -219
  88. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +589 -219
  89. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +589 -219
  90. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +589 -219
  91. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +589 -219
  92. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +589 -219
  93. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +589 -219
  94. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +589 -219
  95. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +589 -219
  96. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +589 -219
  97. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +589 -219
  98. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +589 -219
  99. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +589 -219
  100. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +589 -219
  101. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +589 -219
  102. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +589 -219
  103. package/build/ts/surfaces/checkout/shared.d.ts +1 -1
  104. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  105. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +103 -1
  106. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +103 -1
  107. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +103 -1
  108. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +103 -1
  109. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +103 -1
  110. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +103 -1
  111. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +103 -1
  112. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +103 -1
  113. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +103 -1
  114. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +103 -1
  115. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +103 -1
  116. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +103 -1
  117. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +103 -1
  118. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +103 -1
  119. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +103 -1
  120. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +103 -1
  121. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +103 -1
  122. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +103 -1
  123. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +103 -1
  124. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +103 -1
  125. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +103 -1
  126. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +103 -1
  127. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +103 -1
  128. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +103 -1
  129. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +103 -1
  130. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +103 -1
  131. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +103 -1
  132. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +103 -1
  133. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +103 -1
  134. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +103 -1
  135. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +103 -1
  136. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +103 -1
  137. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +103 -1
  138. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +103 -1
  139. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +103 -1
  140. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +103 -1
  141. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +103 -1
  142. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +103 -1
  143. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +103 -1
  144. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +103 -1
  145. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +103 -1
  146. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +103 -1
  147. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +103 -1
  148. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +103 -1
  149. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +103 -1
  150. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +103 -1
  151. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +103 -1
  152. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +103 -1
  153. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +103 -1
  154. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +103 -1
  155. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +103 -1
  156. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +103 -1
  157. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +103 -1
  158. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +103 -1
  159. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +103 -1
  160. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +103 -1
  161. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +103 -1
  162. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +103 -1
  163. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +103 -1
  164. package/build/ts/surfaces/customer-account/api/docs.d.ts +1 -1
  165. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  166. package/build/ts/surfaces/customer-account/api/shared.d.ts +0 -6
  167. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  168. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
  169. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
  170. package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -5
  171. package/build/ts/surfaces/customer-account/components/shared.d.ts +11 -0
  172. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  173. package/build/ts/surfaces/customer-account/components/shared.ts +17 -0
  174. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +109 -18
  175. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +109 -18
  176. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +109 -18
  177. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +109 -18
  178. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +109 -18
  179. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +109 -18
  180. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +109 -18
  181. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +109 -18
  182. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +109 -18
  183. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +109 -18
  184. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +109 -18
  185. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +109 -18
  186. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +109 -18
  187. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +109 -18
  188. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +109 -18
  189. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +109 -18
  190. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +109 -18
  191. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +109 -18
  192. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +109 -18
  193. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +109 -18
  194. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +109 -18
  195. package/build/tsconfig.tsbuildinfo +1 -1
  196. package/package.json +1 -1
  197. package/src/docs/shared/components/QueryContainer.ts +12 -0
  198. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  199. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  200. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  201. package/src/surfaces/admin/components/Badge.d.ts +17 -6
  202. package/src/surfaces/admin/components/Banner.d.ts +17 -6
  203. package/src/surfaces/admin/components/Box.d.ts +28 -7
  204. package/src/surfaces/admin/components/Button.d.ts +16 -6
  205. package/src/surfaces/admin/components/Checkbox.d.ts +17 -2
  206. package/src/surfaces/admin/components/Choice.d.ts +17 -2
  207. package/src/surfaces/admin/components/ChoiceList.d.ts +17 -6
  208. package/src/surfaces/admin/components/Clickable.d.ts +28 -7
  209. package/src/surfaces/admin/components/DatePicker.d.ts +11 -5
  210. package/src/surfaces/admin/components/Divider.d.ts +12 -5
  211. package/src/surfaces/admin/components/EmailField.d.ts +11 -5
  212. package/src/surfaces/admin/components/Form.d.ts +1 -1
  213. package/src/surfaces/admin/components/Grid.d.ts +28 -7
  214. package/src/surfaces/admin/components/GridItem.d.ts +29 -7
  215. package/src/surfaces/admin/components/Heading.d.ts +17 -6
  216. package/src/surfaces/admin/components/Icon.d.ts +12 -5
  217. package/src/surfaces/admin/components/Image.d.ts +22 -6
  218. package/src/surfaces/admin/components/Link.d.ts +16 -6
  219. package/src/surfaces/admin/components/ListItem.d.ts +18 -6
  220. package/src/surfaces/admin/components/MoneyField.d.ts +11 -6
  221. package/src/surfaces/admin/components/NumberField.d.ts +11 -5
  222. package/src/surfaces/admin/components/Option.d.ts +17 -5
  223. package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
  224. package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
  225. package/src/surfaces/admin/components/Page.d.ts +20 -5
  226. package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
  227. package/src/surfaces/admin/components/PasswordField.d.ts +11 -5
  228. package/src/surfaces/admin/components/QueryContainer/examples/default.html +5 -0
  229. package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
  230. package/src/surfaces/admin/components/SearchField.d.ts +14 -6
  231. package/src/surfaces/admin/components/Section.d.ts +17 -6
  232. package/src/surfaces/admin/components/Select.d.ts +16 -6
  233. package/src/surfaces/admin/components/Spinner.d.ts +12 -2
  234. package/src/surfaces/admin/components/Stack.d.ts +28 -7
  235. package/src/surfaces/admin/components/Switch.d.ts +11 -2
  236. package/src/surfaces/admin/components/Table.d.ts +17 -6
  237. package/src/surfaces/admin/components/TableBody.d.ts +18 -6
  238. package/src/surfaces/admin/components/TableCell.d.ts +18 -6
  239. package/src/surfaces/admin/components/TableHeader.d.ts +18 -6
  240. package/src/surfaces/admin/components/TableHeaderRow.d.ts +18 -6
  241. package/src/surfaces/admin/components/TableRow.d.ts +18 -6
  242. package/src/surfaces/admin/components/Text.d.ts +17 -6
  243. package/src/surfaces/admin/components/TextArea.d.ts +11 -5
  244. package/src/surfaces/admin/components/TextField.d.ts +13 -5
  245. package/src/surfaces/admin/components/URLField.d.ts +11 -5
  246. package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
  247. package/src/surfaces/admin/components/shared.d.ts +34 -44
  248. package/src/surfaces/admin/components.d.ts +333 -513
  249. package/src/surfaces/checkout/shared.ts +3 -0
  250. package/src/surfaces/customer-account/api/docs.ts +1 -1
  251. package/src/surfaces/customer-account/api/shared.ts +0 -6
  252. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +1 -1
  253. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +1 -1
  254. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +4 -5
  255. package/src/surfaces/customer-account/components/ImageGroup.d.ts +4 -4
  256. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +4 -4
  257. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +4 -4
  258. package/src/surfaces/customer-account/components/Page.d.ts +3 -5
  259. package/src/surfaces/customer-account/components/shared.ts +17 -0
@@ -90,13 +90,9 @@ declare const AdminBlockBaseClass: typeof globalThis.HTMLElement;
90
90
  declare const AdminBlocktagName = 's-admin-block';
91
91
 
92
92
  declare module 'preact' {
93
- interface BaseProps {
94
- slot?: Lowercase<string>;
95
- }
96
-
97
93
  namespace createElement.JSX {
98
94
  interface IntrinsicElements {
99
- [URLFieldtagName]: URLFieldJSXProps & BaseProps;
95
+ [URLFieldtagName]: URLFieldJSXProps & URLFieldPreactBaseElementProps<URLField>;
100
96
  }
101
97
  }
102
98
  }
@@ -110,6 +106,15 @@ declare global {
110
106
  export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
111
107
  }
112
108
 
109
+ export interface URLFieldPreactBaseElementProps<TClass extends HTMLElement> {
110
+ /** Assigns a unique key to this element. */
111
+ key?: preact.Key;
112
+ /** Assigns a ref (generally from `useRef()`) to this element. */
113
+ ref?: preact.Ref<TClass>;
114
+ /** Assigns this element to a parent's slot. */
115
+ slot?: Lowercase<string>;
116
+ }
117
+
113
118
  export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
114
119
  onInput?: ((event: CallbackEvent<T>) => void) | null;
115
120
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -136,14 +141,10 @@ declare const URLFieldinternals: unique symbol;
136
141
  declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
137
142
 
138
143
  declare module 'preact' {
139
- interface BaseProps {
140
- children?: preact.ComponentChildren;
141
- slot?: Lowercase<string>;
142
- }
143
-
144
144
  namespace createElement.JSX {
145
145
  interface IntrinsicElements {
146
- [UnorderedListtagName]: UnorderedListJSXProps & BaseProps;
146
+ [UnorderedListtagName]: UnorderedListJSXProps &
147
+ UnorderedListPreactBaseElementPropsWithChildren<UnorderedList>;
147
148
  }
148
149
  }
149
150
  }
@@ -157,6 +158,19 @@ declare global {
157
158
  export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
158
159
  }
159
160
 
161
+ export interface UnorderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends UnorderedListPreactBaseElementProps<TClass> {
162
+ children?: preact.ComponentChildren;
163
+ }
164
+
165
+ export interface UnorderedListPreactBaseElementProps<TClass extends HTMLElement> {
166
+ /** Assigns a unique key to this element. */
167
+ key?: preact.Key;
168
+ /** Assigns a ref (generally from `useRef()`) to this element. */
169
+ ref?: preact.Ref<TClass>;
170
+ /** Assigns this element to a parent's slot. */
171
+ slot?: Lowercase<string>;
172
+ }
173
+
160
174
  export interface UnorderedListClickOptions {
161
175
  /**
162
176
  * The event you want to influence the synthetic click.
@@ -178,13 +192,10 @@ declare const UnorderedListtagName = 's-unordered-list';
178
192
  declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
179
193
 
180
194
  declare module 'preact' {
181
- interface BaseProps {
182
- slot?: Lowercase<string>;
183
- }
184
-
185
195
  namespace createElement.JSX {
186
196
  interface IntrinsicElements {
187
- [TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> & BaseProps;
197
+ [TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> &
198
+ TextFieldPreactBaseElementProps<TextField>;
188
199
  }
189
200
  }
190
201
  }
@@ -202,6 +213,15 @@ export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accesso
202
213
  accessory?: ComponentChild;
203
214
  }
204
215
 
216
+ export interface TextFieldPreactBaseElementProps<TClass extends HTMLElement> {
217
+ /** Assigns a unique key to this element. */
218
+ key?: preact.Key;
219
+ /** Assigns a ref (generally from `useRef()`) to this element. */
220
+ ref?: preact.Ref<TClass>;
221
+ /** Assigns this element to a parent's slot. */
222
+ slot?: Lowercase<string>;
223
+ }
224
+
205
225
  export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
206
226
  onInput?: ((event: CallbackEvent<T>) => void) | null;
207
227
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -228,13 +248,9 @@ declare const TextFieldinternals: unique symbol;
228
248
  declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
229
249
 
230
250
  declare module 'preact' {
231
- interface BaseProps {
232
- slot?: Lowercase<string>;
233
- }
234
-
235
251
  namespace createElement.JSX {
236
252
  interface IntrinsicElements {
237
- [TextAreatagName]: TextAreaJSXProps & BaseProps;
253
+ [TextAreatagName]: TextAreaJSXProps & TextAreaPreactBaseElementProps<TextArea>;
238
254
  }
239
255
  }
240
256
  }
@@ -248,6 +264,15 @@ declare global {
248
264
  export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
249
265
  }
250
266
 
267
+ export interface TextAreaPreactBaseElementProps<TClass extends HTMLElement> {
268
+ /** Assigns a unique key to this element. */
269
+ key?: preact.Key;
270
+ /** Assigns a ref (generally from `useRef()`) to this element. */
271
+ ref?: preact.Ref<TClass>;
272
+ /** Assigns this element to a parent's slot. */
273
+ slot?: Lowercase<string>;
274
+ }
275
+
251
276
  export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
252
277
  onInput?: ((event: CallbackEvent<T>) => void) | null;
253
278
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -274,14 +299,9 @@ declare const TextAreainternals: unique symbol;
274
299
  declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
275
300
 
276
301
  declare module 'preact' {
277
- interface BaseProps {
278
- children?: preact.ComponentChildren;
279
- slot?: Lowercase<string>;
280
- }
281
-
282
302
  namespace createElement.JSX {
283
303
  interface IntrinsicElements {
284
- [TexttagName]: TextJSXProps & BaseProps;
304
+ [TexttagName]: TextJSXProps & TextPreactBaseElementPropsWithChildren<Text>;
285
305
  }
286
306
  }
287
307
  }
@@ -295,6 +315,19 @@ declare global {
295
315
  export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
296
316
  }
297
317
 
318
+ export interface TextPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TextPreactBaseElementProps<TClass> {
319
+ children?: preact.ComponentChildren;
320
+ }
321
+
322
+ export interface TextPreactBaseElementProps<TClass extends HTMLElement> {
323
+ /** Assigns a unique key to this element. */
324
+ key?: preact.Key;
325
+ /** Assigns a ref (generally from `useRef()`) to this element. */
326
+ ref?: preact.Ref<TClass>;
327
+ /** Assigns this element to a parent's slot. */
328
+ slot?: Lowercase<string>;
329
+ }
330
+
298
331
  export interface TextClickOptions {
299
332
  /**
300
333
  * The event you want to influence the synthetic click.
@@ -339,14 +372,10 @@ declare const TexttagName = 's-text';
339
372
  declare const TextBaseClass: typeof globalThis.HTMLElement;
340
373
 
341
374
  declare module 'preact' {
342
- interface BaseProps {
343
- children?: preact.ComponentChildren;
344
- slot?: Lowercase<string>;
345
- }
346
-
347
375
  namespace createElement.JSX {
348
376
  interface IntrinsicElements {
349
- [TableRowtagName]: TableRowJSXProps & BaseProps;
377
+ [TableRowtagName]: TableRowJSXProps &
378
+ TableRowPreactBaseElementPropsWithChildren<TableRow>;
350
379
  }
351
380
  }
352
381
  }
@@ -360,6 +389,19 @@ declare global {
360
389
  export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
361
390
  }
362
391
 
392
+ export interface TableRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableRowPreactBaseElementProps<TClass> {
393
+ children?: preact.ComponentChildren;
394
+ }
395
+
396
+ export interface TableRowPreactBaseElementProps<TClass extends HTMLElement> {
397
+ /** Assigns a unique key to this element. */
398
+ key?: preact.Key;
399
+ /** Assigns a ref (generally from `useRef()`) to this element. */
400
+ ref?: preact.Ref<TClass>;
401
+ /** Assigns this element to a parent's slot. */
402
+ slot?: Lowercase<string>;
403
+ }
404
+
363
405
  export interface TableRowClickOptions {
364
406
  /**
365
407
  * The event you want to influence the synthetic click.
@@ -381,14 +423,10 @@ declare const TableRowtagName = 's-table-row';
381
423
  declare const TableRowBaseClass: typeof globalThis.HTMLElement;
382
424
 
383
425
  declare module 'preact' {
384
- interface BaseProps {
385
- children?: preact.ComponentChildren;
386
- slot?: Lowercase<string>;
387
- }
388
-
389
426
  namespace createElement.JSX {
390
427
  interface IntrinsicElements {
391
- [TableHeaderRowtagName]: TableHeaderRowJSXProps & BaseProps;
428
+ [TableHeaderRowtagName]: TableHeaderRowJSXProps &
429
+ TableHeaderRowPreactBaseElementPropsWithChildren<TableHeaderRow>;
392
430
  }
393
431
  }
394
432
  }
@@ -402,6 +440,19 @@ declare global {
402
440
  export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
403
441
  }
404
442
 
443
+ export interface TableHeaderRowPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderRowPreactBaseElementProps<TClass> {
444
+ children?: preact.ComponentChildren;
445
+ }
446
+
447
+ export interface TableHeaderRowPreactBaseElementProps<TClass extends HTMLElement> {
448
+ /** Assigns a unique key to this element. */
449
+ key?: preact.Key;
450
+ /** Assigns a ref (generally from `useRef()`) to this element. */
451
+ ref?: preact.Ref<TClass>;
452
+ /** Assigns this element to a parent's slot. */
453
+ slot?: Lowercase<string>;
454
+ }
455
+
405
456
  export interface TableHeaderRowClickOptions {
406
457
  /**
407
458
  * The event you want to influence the synthetic click.
@@ -423,14 +474,10 @@ declare const TableHeaderRowtagName = 's-table-header-row';
423
474
  declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
424
475
 
425
476
  declare module 'preact' {
426
- interface BaseProps {
427
- children?: preact.ComponentChildren;
428
- slot?: Lowercase<string>;
429
- }
430
-
431
477
  namespace createElement.JSX {
432
478
  interface IntrinsicElements {
433
- [TableHeadertagName]: TableHeaderJSXProps & BaseProps;
479
+ [TableHeadertagName]: TableHeaderJSXProps &
480
+ TableHeaderPreactBaseElementPropsWithChildren<TableHeader>;
434
481
  }
435
482
  }
436
483
  }
@@ -444,6 +491,19 @@ declare global {
444
491
  export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
445
492
  }
446
493
 
494
+ export interface TableHeaderPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableHeaderPreactBaseElementProps<TClass> {
495
+ children?: preact.ComponentChildren;
496
+ }
497
+
498
+ export interface TableHeaderPreactBaseElementProps<TClass extends HTMLElement> {
499
+ /** Assigns a unique key to this element. */
500
+ key?: preact.Key;
501
+ /** Assigns a ref (generally from `useRef()`) to this element. */
502
+ ref?: preact.Ref<TClass>;
503
+ /** Assigns this element to a parent's slot. */
504
+ slot?: Lowercase<string>;
505
+ }
506
+
447
507
  export interface TableHeaderClickOptions {
448
508
  /**
449
509
  * The event you want to influence the synthetic click.
@@ -469,14 +529,10 @@ declare const TableHeadertagName = 's-table-header';
469
529
  declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
470
530
 
471
531
  declare module 'preact' {
472
- interface BaseProps {
473
- children?: preact.ComponentChildren;
474
- slot?: Lowercase<string>;
475
- }
476
-
477
532
  namespace createElement.JSX {
478
533
  interface IntrinsicElements {
479
- [TableCelltagName]: TableCellJSXProps & BaseProps;
534
+ [TableCelltagName]: TableCellJSXProps &
535
+ TableCellPreactBaseElementPropsWithChildren<TableCell>;
480
536
  }
481
537
  }
482
538
  }
@@ -490,6 +546,19 @@ declare global {
490
546
  export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
491
547
  }
492
548
 
549
+ export interface TableCellPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableCellPreactBaseElementProps<TClass> {
550
+ children?: preact.ComponentChildren;
551
+ }
552
+
553
+ export interface TableCellPreactBaseElementProps<TClass extends HTMLElement> {
554
+ /** Assigns a unique key to this element. */
555
+ key?: preact.Key;
556
+ /** Assigns a ref (generally from `useRef()`) to this element. */
557
+ ref?: preact.Ref<TClass>;
558
+ /** Assigns this element to a parent's slot. */
559
+ slot?: Lowercase<string>;
560
+ }
561
+
493
562
  export interface TableCellClickOptions {
494
563
  /**
495
564
  * The event you want to influence the synthetic click.
@@ -511,14 +580,10 @@ declare const TableCelltagName = 's-table-cell';
511
580
  declare const TableCellBaseClass: typeof globalThis.HTMLElement;
512
581
 
513
582
  declare module 'preact' {
514
- interface BaseProps {
515
- children?: preact.ComponentChildren;
516
- slot?: Lowercase<string>;
517
- }
518
-
519
583
  namespace createElement.JSX {
520
584
  interface IntrinsicElements {
521
- [TableBodytagName]: TableBodyJSXProps & BaseProps;
585
+ [TableBodytagName]: TableBodyJSXProps &
586
+ TableBodyPreactBaseElementPropsWithChildren<TableBody>;
522
587
  }
523
588
  }
524
589
  }
@@ -532,6 +597,19 @@ declare global {
532
597
  export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
533
598
  }
534
599
 
600
+ export interface TableBodyPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TableBodyPreactBaseElementProps<TClass> {
601
+ children?: preact.ComponentChildren;
602
+ }
603
+
604
+ export interface TableBodyPreactBaseElementProps<TClass extends HTMLElement> {
605
+ /** Assigns a unique key to this element. */
606
+ key?: preact.Key;
607
+ /** Assigns a ref (generally from `useRef()`) to this element. */
608
+ ref?: preact.Ref<TClass>;
609
+ /** Assigns this element to a parent's slot. */
610
+ slot?: Lowercase<string>;
611
+ }
612
+
535
613
  export interface TableBodyClickOptions {
536
614
  /**
537
615
  * The event you want to influence the synthetic click.
@@ -553,14 +631,10 @@ declare const TableBodytagName = 's-table-body';
553
631
  declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
554
632
 
555
633
  declare module 'preact' {
556
- interface BaseProps {
557
- children?: preact.ComponentChildren;
558
- slot?: Lowercase<string>;
559
- }
560
-
561
634
  namespace createElement.JSX {
562
635
  interface IntrinsicElements {
563
- [TabletagName]: Omit<TableJSXProps, 'filters'> & BaseProps;
636
+ [TabletagName]: Omit<TableJSXProps, 'filters'> &
637
+ TablePreactBaseElementPropsWithChildren<Table>;
564
638
  }
565
639
  }
566
640
  }
@@ -578,6 +652,19 @@ export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, '
578
652
  filters?: ComponentChild;
579
653
  }
580
654
 
655
+ export interface TablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends TablePreactBaseElementProps<TClass> {
656
+ children?: preact.ComponentChildren;
657
+ }
658
+
659
+ export interface TablePreactBaseElementProps<TClass extends HTMLElement> {
660
+ /** Assigns a unique key to this element. */
661
+ key?: preact.Key;
662
+ /** Assigns a ref (generally from `useRef()`) to this element. */
663
+ ref?: preact.Ref<TClass>;
664
+ /** Assigns this element to a parent's slot. */
665
+ slot?: Lowercase<string>;
666
+ }
667
+
581
668
  export interface TableClickOptions {
582
669
  /**
583
670
  * The event you want to influence the synthetic click.
@@ -614,14 +701,9 @@ declare const actualTableVariantSymbol: unique symbol;
614
701
  declare const TableBaseClass: typeof globalThis.HTMLElement;
615
702
 
616
703
  declare module 'preact' {
617
- interface BaseProps {
618
- children?: preact.ComponentChildren;
619
- slot?: Lowercase<string>;
620
- }
621
-
622
704
  namespace createElement.JSX {
623
705
  interface IntrinsicElements {
624
- [StacktagName]: StackJSXProps & BaseProps;
706
+ [StacktagName]: StackJSXProps & StackPreactBaseElementPropsWithChildren<Stack>;
625
707
  }
626
708
  }
627
709
  }
@@ -635,6 +717,19 @@ declare global {
635
717
  export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
636
718
  }
637
719
 
720
+ export interface StackPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends StackPreactBaseElementProps<TClass> {
721
+ children?: preact.ComponentChildren;
722
+ }
723
+
724
+ export interface StackPreactBaseElementProps<TClass extends HTMLElement> {
725
+ /** Assigns a unique key to this element. */
726
+ key?: preact.Key;
727
+ /** Assigns a ref (generally from `useRef()`) to this element. */
728
+ ref?: preact.Ref<TClass>;
729
+ /** Assigns this element to a parent's slot. */
730
+ slot?: Lowercase<string>;
731
+ }
732
+
638
733
  export interface StackClickOptions {
639
734
  /**
640
735
  * The event you want to influence the synthetic click.
@@ -710,7 +805,6 @@ export interface StackBoxProps extends Pick<
710
805
  | 'borderRadius'
711
806
  | 'borderStyle'
712
807
  | 'borderWidth'
713
- | 'display'
714
808
  | 'inlineSize'
715
809
  | 'maxBlockSize'
716
810
  | 'maxInlineSize'
@@ -833,6 +927,16 @@ export interface StackBoxProps extends Pick<
833
927
  * @default '' - meaning no override
834
928
  */
835
929
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
930
+ /**
931
+ * Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
932
+ *
933
+ * - `auto` the component's initial value. The actual value depends on the component and context.
934
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
935
+ *
936
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
937
+ * @default 'auto'
938
+ */
939
+ display: ResponsiveBoxProps['display'];
836
940
  }
837
941
 
838
942
  declare const StacktagName = 's-stack';
@@ -841,7 +945,7 @@ declare const StackBaseClass: typeof globalThis.HTMLElement;
841
945
  declare module 'preact' {
842
946
  namespace createElement.JSX {
843
947
  interface IntrinsicElements {
844
- [SpinnertagName]: SpinnerJSXProps;
948
+ [SpinnertagName]: SpinnerJSXProps & SpinnerPreactBaseElementProps<Spinner>;
845
949
  }
846
950
  }
847
951
  }
@@ -855,6 +959,15 @@ declare global {
855
959
  export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
856
960
  }
857
961
 
962
+ export interface SpinnerPreactBaseElementProps<TClass extends HTMLElement> {
963
+ /** Assigns a unique key to this element. */
964
+ key?: preact.Key;
965
+ /** Assigns a ref (generally from `useRef()`) to this element. */
966
+ ref?: preact.Ref<TClass>;
967
+ /** Assigns this element to a parent's slot. */
968
+ slot?: Lowercase<string>;
969
+ }
970
+
858
971
  export interface SpinnerClickOptions {
859
972
  /**
860
973
  * The event you want to influence the synthetic click.
@@ -877,14 +990,9 @@ declare const SpinnertagName = 's-spinner';
877
990
  declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
878
991
 
879
992
  declare module 'preact' {
880
- interface BaseProps {
881
- children?: preact.ComponentChildren;
882
- slot?: Lowercase<string>;
883
- }
884
-
885
993
  namespace createElement.JSX {
886
994
  interface IntrinsicElements {
887
- [SelecttagName]: SelectJSXProps & BaseProps;
995
+ [SelecttagName]: SelectJSXProps & SelectPreactBaseElementPropsWithChildren<Select>;
888
996
  }
889
997
  }
890
998
  }
@@ -919,6 +1027,19 @@ export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
919
1027
  value: Required<SelectProps$1>['value'];
920
1028
  }
921
1029
 
1030
+ export interface SelectPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SelectPreactBaseElementProps<TClass> {
1031
+ children?: preact.ComponentChildren;
1032
+ }
1033
+
1034
+ export interface SelectPreactBaseElementProps<TClass extends HTMLElement> {
1035
+ /** Assigns a unique key to this element. */
1036
+ key?: preact.Key;
1037
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1038
+ ref?: preact.Ref<TClass>;
1039
+ /** Assigns this element to a parent's slot. */
1040
+ slot?: Lowercase<string>;
1041
+ }
1042
+
922
1043
  export interface SelectClickOptions {
923
1044
  /**
924
1045
  * The event you want to influence the synthetic click.
@@ -940,14 +1061,9 @@ declare const Selectinternals: unique symbol;
940
1061
  declare const SelectBaseClass: typeof globalThis.HTMLElement;
941
1062
 
942
1063
  declare module 'preact' {
943
- interface BaseProps {
944
- children?: preact.ComponentChildren;
945
- slot?: Lowercase<string>;
946
- }
947
-
948
1064
  namespace createElement.JSX {
949
1065
  interface IntrinsicElements {
950
- [SectiontagName]: SectionJSXProps & BaseProps;
1066
+ [SectiontagName]: SectionJSXProps & SectionPreactBaseElementPropsWithChildren<Section>;
951
1067
  }
952
1068
  }
953
1069
  }
@@ -961,6 +1077,19 @@ declare global {
961
1077
  export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
962
1078
  }
963
1079
 
1080
+ export interface SectionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends SectionPreactBaseElementProps<TClass> {
1081
+ children?: preact.ComponentChildren;
1082
+ }
1083
+
1084
+ export interface SectionPreactBaseElementProps<TClass extends HTMLElement> {
1085
+ /** Assigns a unique key to this element. */
1086
+ key?: preact.Key;
1087
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1088
+ ref?: preact.Ref<TClass>;
1089
+ /** Assigns this element to a parent's slot. */
1090
+ slot?: Lowercase<string>;
1091
+ }
1092
+
964
1093
  export interface SectionClickOptions {
965
1094
  /**
966
1095
  * The event you want to influence the synthetic click.
@@ -988,13 +1117,9 @@ declare const SectiontagName = 's-section';
988
1117
  declare const SectionBaseClass: typeof globalThis.HTMLElement;
989
1118
 
990
1119
  declare module 'preact' {
991
- interface BaseProps {
992
- slot?: Lowercase<string>;
993
- }
994
-
995
1120
  namespace createElement.JSX {
996
1121
  interface IntrinsicElements {
997
- [PasswordFieldtagName]: PasswordFieldJSXProps & BaseProps;
1122
+ [PasswordFieldtagName]: PasswordFieldJSXProps & PasswordFieldPreactBaseElementProps<PasswordField>;
998
1123
  }
999
1124
  }
1000
1125
  }
@@ -1008,6 +1133,15 @@ declare global {
1008
1133
  export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
1009
1134
  }
1010
1135
 
1136
+ export interface PasswordFieldPreactBaseElementProps<TClass extends HTMLElement> {
1137
+ /** Assigns a unique key to this element. */
1138
+ key?: preact.Key;
1139
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1140
+ ref?: preact.Ref<TClass>;
1141
+ /** Assigns this element to a parent's slot. */
1142
+ slot?: Lowercase<string>;
1143
+ }
1144
+
1011
1145
  export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1012
1146
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1013
1147
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1034,14 +1168,10 @@ declare const PasswordFieldinternals: unique symbol;
1034
1168
  declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
1035
1169
 
1036
1170
  declare module 'preact' {
1037
- interface BaseProps {
1038
- children?: preact.ComponentChildren;
1039
- slot?: Lowercase<string>;
1040
- }
1041
-
1042
1171
  namespace createElement.JSX {
1043
1172
  interface IntrinsicElements {
1044
- [ParagraphtagName]: ParagraphJSXProps & BaseProps;
1173
+ [ParagraphtagName]: ParagraphJSXProps &
1174
+ ParagraphPreactBaseElementPropsWithChildren<Paragraph>;
1045
1175
  }
1046
1176
  }
1047
1177
  }
@@ -1055,6 +1185,19 @@ declare global {
1055
1185
  export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
1056
1186
  }
1057
1187
 
1188
+ export interface ParagraphPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ParagraphPreactBaseElementProps<TClass> {
1189
+ children?: preact.ComponentChildren;
1190
+ }
1191
+
1192
+ export interface ParagraphPreactBaseElementProps<TClass extends HTMLElement> {
1193
+ /** Assigns a unique key to this element. */
1194
+ key?: preact.Key;
1195
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1196
+ ref?: preact.Ref<TClass>;
1197
+ /** Assigns this element to a parent's slot. */
1198
+ slot?: Lowercase<string>;
1199
+ }
1200
+
1058
1201
  export interface ParagraphClickOptions {
1059
1202
  /**
1060
1203
  * The event you want to influence the synthetic click.
@@ -1088,14 +1231,10 @@ declare const ParagraphtagName = 's-paragraph';
1088
1231
  declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
1089
1232
 
1090
1233
  declare module 'preact' {
1091
- interface BaseProps {
1092
- children?: preact.ComponentChildren;
1093
- slot?: Lowercase<string>;
1094
- }
1095
-
1096
1234
  namespace createElement.JSX {
1097
1235
  interface IntrinsicElements {
1098
- [OrderedListtagName]: OrderedListJSXProps & BaseProps;
1236
+ [OrderedListtagName]: OrderedListJSXProps &
1237
+ OrderedListPreactBaseElementPropsWithChildren<OrderedList>;
1099
1238
  }
1100
1239
  }
1101
1240
  }
@@ -1109,6 +1248,19 @@ declare global {
1109
1248
  export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
1110
1249
  }
1111
1250
 
1251
+ export interface OrderedListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OrderedListPreactBaseElementProps<TClass> {
1252
+ children?: preact.ComponentChildren;
1253
+ }
1254
+
1255
+ export interface OrderedListPreactBaseElementProps<TClass extends HTMLElement> {
1256
+ /** Assigns a unique key to this element. */
1257
+ key?: preact.Key;
1258
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1259
+ ref?: preact.Ref<TClass>;
1260
+ /** Assigns this element to a parent's slot. */
1261
+ slot?: Lowercase<string>;
1262
+ }
1263
+
1112
1264
  export interface OrderedListClickOptions {
1113
1265
  /**
1114
1266
  * The event you want to influence the synthetic click.
@@ -1130,13 +1282,10 @@ declare const OrderedListtagName = 's-ordered-list';
1130
1282
  declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
1131
1283
 
1132
1284
  declare module 'preact' {
1133
- interface BaseProps {
1134
- children?: preact.ComponentChildren;
1135
- }
1136
-
1137
1285
  namespace createElement.JSX {
1138
1286
  interface IntrinsicElements {
1139
- [OptionGrouptagName]: OptionGroupJSXProps & BaseProps;
1287
+ [OptionGrouptagName]: OptionGroupJSXProps &
1288
+ OptionGroupPreactBaseElementPropsWithChildren<OptionGroup>;
1140
1289
  }
1141
1290
  }
1142
1291
  }
@@ -1150,6 +1299,19 @@ declare global {
1150
1299
  export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
1151
1300
  }
1152
1301
 
1302
+ export interface OptionGroupPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionGroupPreactBaseElementProps<TClass> {
1303
+ children?: preact.ComponentChildren;
1304
+ }
1305
+
1306
+ export interface OptionGroupPreactBaseElementProps<TClass extends HTMLElement> {
1307
+ /** Assigns a unique key to this element. */
1308
+ key?: preact.Key;
1309
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1310
+ ref?: preact.Ref<TClass>;
1311
+ /** Assigns this element to a parent's slot. */
1312
+ slot?: Lowercase<string>;
1313
+ }
1314
+
1153
1315
  export interface OptionGroupClickOptions {
1154
1316
  /**
1155
1317
  * The event you want to influence the synthetic click.
@@ -1171,13 +1333,9 @@ declare const OptionGrouptagName = 's-option-group';
1171
1333
  declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
1172
1334
 
1173
1335
  declare module 'preact' {
1174
- interface BaseProps {
1175
- children?: preact.ComponentChildren;
1176
- }
1177
-
1178
1336
  namespace createElement.JSX {
1179
1337
  interface IntrinsicElements {
1180
- [OptiontagName]: OptionJSXProps & BaseProps;
1338
+ [OptiontagName]: OptionJSXProps & OptionPreactBaseElementPropsWithChildren<Option>;
1181
1339
  }
1182
1340
  }
1183
1341
  }
@@ -1191,6 +1349,19 @@ declare global {
1191
1349
  export interface OptionJSXProps extends Partial<OptionProps> {
1192
1350
  }
1193
1351
 
1352
+ export interface OptionPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends OptionPreactBaseElementProps<TClass> {
1353
+ children?: preact.ComponentChildren;
1354
+ }
1355
+
1356
+ export interface OptionPreactBaseElementProps<TClass extends HTMLElement> {
1357
+ /** Assigns a unique key to this element. */
1358
+ key?: preact.Key;
1359
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1360
+ ref?: preact.Ref<TClass>;
1361
+ /** Assigns this element to a parent's slot. */
1362
+ slot?: Lowercase<string>;
1363
+ }
1364
+
1194
1365
  export interface OptionClickOptions {
1195
1366
  /**
1196
1367
  * The event you want to influence the synthetic click.
@@ -1214,13 +1385,9 @@ declare const OptiontagName = 's-option';
1214
1385
  declare const OptionBaseClass: typeof globalThis.HTMLElement;
1215
1386
 
1216
1387
  declare module 'preact' {
1217
- interface BaseProps {
1218
- slot?: Lowercase<string>;
1219
- }
1220
-
1221
1388
  namespace createElement.JSX {
1222
1389
  interface IntrinsicElements {
1223
- [NumberFieldtagName]: NumberFieldJSXProps & BaseProps;
1390
+ [NumberFieldtagName]: NumberFieldJSXProps & NumberFieldPreactBaseElementProps<NumberField>;
1224
1391
  }
1225
1392
  }
1226
1393
  }
@@ -1246,6 +1413,15 @@ export interface NumberFieldProps extends Omit<
1246
1413
  value: Required<NumberFieldProps$1>['value'];
1247
1414
  }
1248
1415
 
1416
+ export interface NumberFieldPreactBaseElementProps<TClass extends HTMLElement> {
1417
+ /** Assigns a unique key to this element. */
1418
+ key?: preact.Key;
1419
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1420
+ ref?: preact.Ref<TClass>;
1421
+ /** Assigns this element to a parent's slot. */
1422
+ slot?: Lowercase<string>;
1423
+ }
1424
+
1249
1425
  export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1250
1426
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1251
1427
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1272,14 +1448,9 @@ declare const NumberFieldinternals: unique symbol;
1272
1448
  declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
1273
1449
 
1274
1450
  declare module 'preact' {
1275
- interface BaseProps {
1276
- children?: preact.ComponentChildren;
1277
- slot?: Lowercase<string>;
1278
- }
1279
-
1280
1451
  namespace createElement.JSX {
1281
1452
  interface IntrinsicElements {
1282
- [MoneyFieldtagName]: MoneyFieldJSXProps & BaseProps;
1453
+ [MoneyFieldtagName]: MoneyFieldJSXProps & MoneyFieldPreactBaseElementProps<MoneyField>;
1283
1454
  }
1284
1455
  }
1285
1456
  }
@@ -1297,6 +1468,15 @@ export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<R
1297
1468
  value: Required<MoneyFieldProps$1>['value'];
1298
1469
  }
1299
1470
 
1471
+ export interface MoneyFieldPreactBaseElementProps<TClass extends HTMLElement> {
1472
+ /** Assigns a unique key to this element. */
1473
+ key?: preact.Key;
1474
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1475
+ ref?: preact.Ref<TClass>;
1476
+ /** Assigns this element to a parent's slot. */
1477
+ slot?: Lowercase<string>;
1478
+ }
1479
+
1300
1480
  export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1301
1481
  onInput?: ((event: CallbackEvent<T>) => void) | null;
1302
1482
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -1323,14 +1503,10 @@ declare const MoneyFieldinternals: unique symbol;
1323
1503
  declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
1324
1504
 
1325
1505
  declare module 'preact' {
1326
- interface BaseProps {
1327
- children?: preact.ComponentChildren;
1328
- slot?: Lowercase<string>;
1329
- }
1330
-
1331
1506
  namespace createElement.JSX {
1332
1507
  interface IntrinsicElements {
1333
- [ListItemtagName]: ListItemJSXProps & BaseProps;
1508
+ [ListItemtagName]: ListItemJSXProps &
1509
+ ListItemPreactBaseElementPropsWithChildren<ListItem>;
1334
1510
  }
1335
1511
  }
1336
1512
  }
@@ -1344,6 +1520,19 @@ declare global {
1344
1520
  export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
1345
1521
  }
1346
1522
 
1523
+ export interface ListItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ListItemPreactBaseElementProps<TClass> {
1524
+ children?: preact.ComponentChildren;
1525
+ }
1526
+
1527
+ export interface ListItemPreactBaseElementProps<TClass extends HTMLElement> {
1528
+ /** Assigns a unique key to this element. */
1529
+ key?: preact.Key;
1530
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1531
+ ref?: preact.Ref<TClass>;
1532
+ /** Assigns this element to a parent's slot. */
1533
+ slot?: Lowercase<string>;
1534
+ }
1535
+
1347
1536
  export interface ListItemClickOptions {
1348
1537
  /**
1349
1538
  * The event you want to influence the synthetic click.
@@ -1365,14 +1554,9 @@ declare const ListItemtagName = 's-list-item';
1365
1554
  declare const ListItemBaseClass: typeof globalThis.HTMLElement;
1366
1555
 
1367
1556
  declare module 'preact' {
1368
- interface BaseProps {
1369
- children?: preact.ComponentChildren;
1370
- slot?: Lowercase<string>;
1371
- }
1372
-
1373
1557
  namespace createElement.JSX {
1374
1558
  interface IntrinsicElements {
1375
- [LinktagName]: LinkJSXProps & BaseProps;
1559
+ [LinktagName]: LinkJSXProps & LinkPreactBaseElementPropsWithChildren<Link>;
1376
1560
  }
1377
1561
  }
1378
1562
  }
@@ -1422,6 +1606,19 @@ export interface LinkActivationEventEsque {
1422
1606
  button: number;
1423
1607
  }
1424
1608
 
1609
+ export interface LinkPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends LinkPreactBaseElementProps<TClass> {
1610
+ children?: preact.ComponentChildren;
1611
+ }
1612
+
1613
+ export interface LinkPreactBaseElementProps<TClass extends HTMLElement> {
1614
+ /** Assigns a unique key to this element. */
1615
+ key?: preact.Key;
1616
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1617
+ ref?: preact.Ref<TClass>;
1618
+ /** Assigns this element to a parent's slot. */
1619
+ slot?: Lowercase<string>;
1620
+ }
1621
+
1425
1622
  export interface LinkProps extends Pick<
1426
1623
  LinkProps$1,
1427
1624
  | 'accessibilityLabel'
@@ -1451,13 +1648,9 @@ declare const Link_base: (abstract new (
1451
1648
  declare const LinkBaseClass: typeof globalThis.HTMLElement;
1452
1649
 
1453
1650
  declare module 'preact' {
1454
- interface BaseProps {
1455
- slot?: Lowercase<string>;
1456
- }
1457
-
1458
1651
  namespace createElement.JSX {
1459
1652
  interface IntrinsicElements {
1460
- [ImagetagName]: ImageJSXProps & BaseProps;
1653
+ [ImagetagName]: ImageJSXProps & ImagePreactBaseElementProps<Image>;
1461
1654
  }
1462
1655
  }
1463
1656
  }
@@ -1487,6 +1680,15 @@ export interface ImageActivationEventEsque {
1487
1680
  button: number;
1488
1681
  }
1489
1682
 
1683
+ export interface ImagePreactBaseElementProps<TClass extends HTMLElement> {
1684
+ /** Assigns a unique key to this element. */
1685
+ key?: preact.Key;
1686
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1687
+ ref?: preact.Ref<TClass>;
1688
+ /** Assigns this element to a parent's slot. */
1689
+ slot?: Lowercase<string>;
1690
+ }
1691
+
1490
1692
  export interface ImageProps extends Required<
1491
1693
  Pick<
1492
1694
  ImageProps$1,
@@ -1529,7 +1731,6 @@ export interface ImageBoxProps extends Pick<
1529
1731
  | 'borderRadius'
1530
1732
  | 'borderStyle'
1531
1733
  | 'borderWidth'
1532
- | 'display'
1533
1734
  | 'inlineSize'
1534
1735
  | 'maxBlockSize'
1535
1736
  | 'maxInlineSize'
@@ -1652,19 +1853,25 @@ export interface ImageBoxProps extends Pick<
1652
1853
  * @default '' - meaning no override
1653
1854
  */
1654
1855
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
1856
+ /**
1857
+ * Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
1858
+ *
1859
+ * - `auto` the component's initial value. The actual value depends on the component and context.
1860
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
1861
+ *
1862
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
1863
+ * @default 'auto'
1864
+ */
1865
+ display: ResponsiveBoxProps['display'];
1655
1866
  }
1656
1867
 
1657
1868
  declare const ImagetagName = 's-image';
1658
1869
  declare const ImageBaseClass: typeof globalThis.HTMLElement;
1659
1870
 
1660
1871
  declare module 'preact' {
1661
- interface BaseProps {
1662
- slot?: Lowercase<string>;
1663
- }
1664
-
1665
1872
  namespace createElement.JSX {
1666
1873
  interface IntrinsicElements {
1667
- [IcontagName]: IconJSXProps & BaseProps;
1874
+ [IcontagName]: IconJSXProps & IconPreactBaseElementProps<Icon>;
1668
1875
  }
1669
1876
  }
1670
1877
  }
@@ -1678,6 +1885,15 @@ declare global {
1678
1885
  export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
1679
1886
  }
1680
1887
 
1888
+ export interface IconPreactBaseElementProps<TClass extends HTMLElement> {
1889
+ /** Assigns a unique key to this element. */
1890
+ key?: preact.Key;
1891
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1892
+ ref?: preact.Ref<TClass>;
1893
+ /** Assigns this element to a parent's slot. */
1894
+ slot?: Lowercase<string>;
1895
+ }
1896
+
1681
1897
  export interface IconClickOptions {
1682
1898
  /**
1683
1899
  * The event you want to influence the synthetic click.
@@ -1709,14 +1925,9 @@ declare const IcontagName = 's-icon';
1709
1925
  declare const IconBaseClass: typeof globalThis.HTMLElement;
1710
1926
 
1711
1927
  declare module 'preact' {
1712
- interface BaseProps {
1713
- children?: preact.ComponentChildren;
1714
- slot?: Lowercase<string>;
1715
- }
1716
-
1717
1928
  namespace createElement.JSX {
1718
1929
  interface IntrinsicElements {
1719
- [HeadingtagName]: HeadingJSXProps & BaseProps;
1930
+ [HeadingtagName]: HeadingJSXProps & HeadingPreactBaseElementPropsWithChildren<Heading>;
1720
1931
  }
1721
1932
  }
1722
1933
  }
@@ -1730,6 +1941,19 @@ declare global {
1730
1941
  export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
1731
1942
  }
1732
1943
 
1944
+ export interface HeadingPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends HeadingPreactBaseElementProps<TClass> {
1945
+ children?: preact.ComponentChildren;
1946
+ }
1947
+
1948
+ export interface HeadingPreactBaseElementProps<TClass extends HTMLElement> {
1949
+ /** Assigns a unique key to this element. */
1950
+ key?: preact.Key;
1951
+ /** Assigns a ref (generally from `useRef()`) to this element. */
1952
+ ref?: preact.Ref<TClass>;
1953
+ /** Assigns this element to a parent's slot. */
1954
+ slot?: Lowercase<string>;
1955
+ }
1956
+
1733
1957
  export interface HeadingClickOptions {
1734
1958
  /**
1735
1959
  * The event you want to influence the synthetic click.
@@ -1757,14 +1981,10 @@ declare const HeadingtagName = 's-heading';
1757
1981
  declare const HeadingBaseClass: typeof globalThis.HTMLElement;
1758
1982
 
1759
1983
  declare module 'preact' {
1760
- interface BaseProps {
1761
- children?: preact.ComponentChildren;
1762
- slot?: Lowercase<string>;
1763
- }
1764
-
1765
1984
  namespace createElement.JSX {
1766
1985
  interface IntrinsicElements {
1767
- [GridItemtagName]: GridItemJSXProps & BaseProps;
1986
+ [GridItemtagName]: GridItemJSXProps &
1987
+ GridItemPreactBaseElementPropsWithChildren<GridItem>;
1768
1988
  }
1769
1989
  }
1770
1990
  }
@@ -1778,6 +1998,19 @@ declare global {
1778
1998
  export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
1779
1999
  }
1780
2000
 
2001
+ export interface GridItemPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridItemPreactBaseElementProps<TClass> {
2002
+ children?: preact.ComponentChildren;
2003
+ }
2004
+
2005
+ export interface GridItemPreactBaseElementProps<TClass extends HTMLElement> {
2006
+ /** Assigns a unique key to this element. */
2007
+ key?: preact.Key;
2008
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2009
+ ref?: preact.Ref<TClass>;
2010
+ /** Assigns this element to a parent's slot. */
2011
+ slot?: Lowercase<string>;
2012
+ }
2013
+
1781
2014
  export interface GridItemClickOptions {
1782
2015
  /**
1783
2016
  * The event you want to influence the synthetic click.
@@ -1809,7 +2042,6 @@ export interface GridItemBoxProps extends Pick<
1809
2042
  | 'borderRadius'
1810
2043
  | 'borderStyle'
1811
2044
  | 'borderWidth'
1812
- | 'display'
1813
2045
  | 'inlineSize'
1814
2046
  | 'maxBlockSize'
1815
2047
  | 'maxInlineSize'
@@ -1932,20 +2164,25 @@ export interface GridItemBoxProps extends Pick<
1932
2164
  * @default '' - meaning no override
1933
2165
  */
1934
2166
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2167
+ /**
2168
+ * Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
2169
+ *
2170
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2171
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2172
+ *
2173
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2174
+ * @default 'auto'
2175
+ */
2176
+ display: ResponsiveBoxProps['display'];
1935
2177
  }
1936
2178
 
1937
2179
  declare const GridItemtagName = 's-grid-item';
1938
2180
  declare const GridItemBaseClass: typeof globalThis.HTMLElement;
1939
2181
 
1940
2182
  declare module 'preact' {
1941
- interface BaseProps {
1942
- children?: preact.ComponentChildren;
1943
- slot?: Lowercase<string>;
1944
- }
1945
-
1946
2183
  namespace createElement.JSX {
1947
2184
  interface IntrinsicElements {
1948
- [GridtagName]: GridJSXProps & BaseProps;
2185
+ [GridtagName]: GridJSXProps & GridPreactBaseElementPropsWithChildren<Grid>;
1949
2186
  }
1950
2187
  }
1951
2188
  }
@@ -1973,6 +2210,19 @@ export interface GridActivationEventEsque {
1973
2210
  button: number;
1974
2211
  }
1975
2212
 
2213
+ export interface GridPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends GridPreactBaseElementProps<TClass> {
2214
+ children?: preact.ComponentChildren;
2215
+ }
2216
+
2217
+ export interface GridPreactBaseElementProps<TClass extends HTMLElement> {
2218
+ /** Assigns a unique key to this element. */
2219
+ key?: preact.Key;
2220
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2221
+ ref?: preact.Ref<TClass>;
2222
+ /** Assigns this element to a parent's slot. */
2223
+ slot?: Lowercase<string>;
2224
+ }
2225
+
1976
2226
  export interface GridProps extends GridBoxProps, Required<
1977
2227
  Pick<
1978
2228
  GridProps$1,
@@ -2033,7 +2283,6 @@ export interface GridBoxProps extends Pick<
2033
2283
  | 'borderRadius'
2034
2284
  | 'borderStyle'
2035
2285
  | 'borderWidth'
2036
- | 'display'
2037
2286
  | 'inlineSize'
2038
2287
  | 'maxBlockSize'
2039
2288
  | 'maxInlineSize'
@@ -2156,19 +2405,25 @@ export interface GridBoxProps extends Pick<
2156
2405
  * @default '' - meaning no override
2157
2406
  */
2158
2407
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2408
+ /**
2409
+ * Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
2410
+ *
2411
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2412
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2413
+ *
2414
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2415
+ * @default 'auto'
2416
+ */
2417
+ display: ResponsiveBoxProps['display'];
2159
2418
  }
2160
2419
 
2161
2420
  declare const GridtagName = 's-grid';
2162
2421
  declare const GridBaseClass: typeof globalThis.HTMLElement;
2163
2422
 
2164
2423
  declare module 'preact' {
2165
- interface BaseProps {
2166
- slot?: Lowercase<string>;
2167
- }
2168
-
2169
2424
  namespace createElement.JSX {
2170
2425
  interface IntrinsicElements {
2171
- [EmailFieldtagName]: EmailFieldJSXProps & BaseProps;
2426
+ [EmailFieldtagName]: EmailFieldJSXProps & EmailFieldPreactBaseElementProps<EmailField>;
2172
2427
  }
2173
2428
  }
2174
2429
  }
@@ -2182,6 +2437,15 @@ declare global {
2182
2437
  export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
2183
2438
  }
2184
2439
 
2440
+ export interface EmailFieldPreactBaseElementProps<TClass extends HTMLElement> {
2441
+ /** Assigns a unique key to this element. */
2442
+ key?: preact.Key;
2443
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2444
+ ref?: preact.Ref<TClass>;
2445
+ /** Assigns this element to a parent's slot. */
2446
+ slot?: Lowercase<string>;
2447
+ }
2448
+
2185
2449
  export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
2186
2450
  onInput?: ((event: CallbackEvent<T>) => void) | null;
2187
2451
  onChange?: ((event: CallbackEvent<T>) => void) | null;
@@ -2208,13 +2472,9 @@ declare const EmailFieldinternals: unique symbol;
2208
2472
  declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
2209
2473
 
2210
2474
  declare module 'preact' {
2211
- interface BaseProps {
2212
- slot?: Lowercase<string>;
2213
- }
2214
-
2215
2475
  namespace createElement.JSX {
2216
2476
  interface IntrinsicElements {
2217
- [DividertagName]: DividerJSXProps & BaseProps;
2477
+ [DividertagName]: DividerJSXProps & DividerPreactBaseElementProps<Divider>;
2218
2478
  }
2219
2479
  }
2220
2480
  }
@@ -2228,6 +2488,15 @@ declare global {
2228
2488
  export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
2229
2489
  }
2230
2490
 
2491
+ export interface DividerPreactBaseElementProps<TClass extends HTMLElement> {
2492
+ /** Assigns a unique key to this element. */
2493
+ key?: preact.Key;
2494
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2495
+ ref?: preact.Ref<TClass>;
2496
+ /** Assigns this element to a parent's slot. */
2497
+ slot?: Lowercase<string>;
2498
+ }
2499
+
2231
2500
  export interface DividerClickOptions {
2232
2501
  /**
2233
2502
  * The event you want to influence the synthetic click.
@@ -2251,13 +2520,9 @@ declare const DividertagName = 's-divider';
2251
2520
  declare const DividerBaseClass: typeof globalThis.HTMLElement;
2252
2521
 
2253
2522
  declare module 'preact' {
2254
- interface BaseProps {
2255
- slot?: Lowercase<string>;
2256
- }
2257
-
2258
2523
  namespace createElement.JSX {
2259
2524
  interface IntrinsicElements {
2260
- [DatePickertagName]: DatePickerJSXProps & BaseProps;
2525
+ [DatePickertagName]: DatePickerJSXProps & DatePickerPreactBaseElementProps<DatePicker>;
2261
2526
  }
2262
2527
  }
2263
2528
  }
@@ -2297,6 +2562,15 @@ export interface DatePickerActivationEventEsque {
2297
2562
  button: number;
2298
2563
  }
2299
2564
 
2565
+ export interface DatePickerPreactBaseElementProps<TClass extends HTMLElement> {
2566
+ /** Assigns a unique key to this element. */
2567
+ key?: preact.Key;
2568
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2569
+ ref?: preact.Ref<TClass>;
2570
+ /** Assigns this element to a parent's slot. */
2571
+ slot?: Lowercase<string>;
2572
+ }
2573
+
2300
2574
  export interface DatePickerProps extends Required<
2301
2575
  Pick<
2302
2576
  DatePickerProps$1,
@@ -2320,14 +2594,10 @@ declare const DatePickerinternals: unique symbol;
2320
2594
  declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
2321
2595
 
2322
2596
  declare module 'preact' {
2323
- interface BaseProps {
2324
- children?: preact.ComponentChildren;
2325
- slot?: Lowercase<string>;
2326
- }
2327
-
2328
2597
  namespace createElement.JSX {
2329
2598
  interface IntrinsicElements {
2330
- [ClickabletagName]: ClickableJSXProps & BaseProps;
2599
+ [ClickabletagName]: ClickableJSXProps &
2600
+ ClickablePreactBaseElementPropsWithChildren<Clickable>;
2331
2601
  }
2332
2602
  }
2333
2603
  }
@@ -2379,6 +2649,19 @@ export interface ClickableActivationEventEsque {
2379
2649
  button: number;
2380
2650
  }
2381
2651
 
2652
+ export interface ClickablePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ClickablePreactBaseElementProps<TClass> {
2653
+ children?: preact.ComponentChildren;
2654
+ }
2655
+
2656
+ export interface ClickablePreactBaseElementProps<TClass extends HTMLElement> {
2657
+ /** Assigns a unique key to this element. */
2658
+ key?: preact.Key;
2659
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2660
+ ref?: preact.Ref<TClass>;
2661
+ /** Assigns this element to a parent's slot. */
2662
+ slot?: Lowercase<string>;
2663
+ }
2664
+
2382
2665
  export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
2383
2666
  }
2384
2667
 
@@ -2394,7 +2677,6 @@ export interface ClickableBoxProps extends Pick<
2394
2677
  | 'borderRadius'
2395
2678
  | 'borderStyle'
2396
2679
  | 'borderWidth'
2397
- | 'display'
2398
2680
  | 'inlineSize'
2399
2681
  | 'maxBlockSize'
2400
2682
  | 'maxInlineSize'
@@ -2517,6 +2799,16 @@ export interface ClickableBoxProps extends Pick<
2517
2799
  * @default '' - meaning no override
2518
2800
  */
2519
2801
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2802
+ /**
2803
+ * Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
2804
+ *
2805
+ * - `auto` the component's initial value. The actual value depends on the component and context.
2806
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
2807
+ *
2808
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
2809
+ * @default 'auto'
2810
+ */
2811
+ display: ResponsiveBoxProps['display'];
2520
2812
  }
2521
2813
 
2522
2814
  declare const ClickabletagName = 's-clickable';
@@ -2527,14 +2819,10 @@ declare const Clickable_base: (abstract new (
2527
2819
  declare const ClickableBaseClass: typeof globalThis.HTMLElement;
2528
2820
 
2529
2821
  declare module 'preact' {
2530
- interface BaseProps {
2531
- children?: preact.ComponentChildren;
2532
- slot?: Lowercase<string>;
2533
- }
2534
-
2535
2822
  namespace createElement.JSX {
2536
2823
  interface IntrinsicElements {
2537
- [ChoiceListtagName]: ChoiceListJSXProps & BaseProps;
2824
+ [ChoiceListtagName]: ChoiceListJSXProps &
2825
+ ChoiceListPreactBaseElementPropsWithChildren<ChoiceList>;
2538
2826
  }
2539
2827
  }
2540
2828
  }
@@ -2564,6 +2852,19 @@ export interface ChoiceListActivationEventEsque {
2564
2852
  button: number;
2565
2853
  }
2566
2854
 
2855
+ export interface ChoiceListPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoiceListPreactBaseElementProps<TClass> {
2856
+ children?: preact.ComponentChildren;
2857
+ }
2858
+
2859
+ export interface ChoiceListPreactBaseElementProps<TClass extends HTMLElement> {
2860
+ /** Assigns a unique key to this element. */
2861
+ key?: preact.Key;
2862
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2863
+ ref?: preact.Ref<TClass>;
2864
+ /** Assigns this element to a parent's slot. */
2865
+ slot?: Lowercase<string>;
2866
+ }
2867
+
2567
2868
  export interface ChoiceListProps extends Required<
2568
2869
  Pick<
2569
2870
  ChoiceListProps$1,
@@ -2591,7 +2892,7 @@ declare const BaseClass$1: typeof globalThis.HTMLElement;
2591
2892
  declare module 'preact' {
2592
2893
  namespace createElement.JSX {
2593
2894
  interface IntrinsicElements {
2594
- [ChoicetagName]: ChoiceJSXProps;
2895
+ [ChoicetagName]: ChoiceJSXProps & ChoicePreactBaseElementPropsWithChildren<Choice>;
2595
2896
  }
2596
2897
  }
2597
2898
  }
@@ -2605,6 +2906,19 @@ declare global {
2605
2906
  export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
2606
2907
  }
2607
2908
 
2909
+ export interface ChoicePreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ChoicePreactBaseElementProps<TClass> {
2910
+ children?: preact.ComponentChildren;
2911
+ }
2912
+
2913
+ export interface ChoicePreactBaseElementProps<TClass extends HTMLElement> {
2914
+ /** Assigns a unique key to this element. */
2915
+ key?: preact.Key;
2916
+ /** Assigns a ref (generally from `useRef()`) to this element. */
2917
+ ref?: preact.Ref<TClass>;
2918
+ /** Assigns this element to a parent's slot. */
2919
+ slot?: Lowercase<string>;
2920
+ }
2921
+
2608
2922
  export interface ChoiceClickOptions {
2609
2923
  /**
2610
2924
  * The event you want to influence the synthetic click.
@@ -2639,7 +2953,8 @@ declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
2639
2953
  declare module 'preact' {
2640
2954
  namespace createElement.JSX {
2641
2955
  interface IntrinsicElements {
2642
- [CheckboxtagName]: CheckboxJSXProps;
2956
+ [CheckboxtagName]: CheckboxJSXProps &
2957
+ CheckboxPreactBaseElementPropsWithChildren<Checkbox>;
2643
2958
  }
2644
2959
  }
2645
2960
  }
@@ -2677,6 +2992,19 @@ export interface PreactCheckboxProps extends Required<
2677
2992
  value: Required<CheckboxProps$1>['value'];
2678
2993
  }
2679
2994
 
2995
+ export interface CheckboxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends CheckboxPreactBaseElementProps<TClass> {
2996
+ children?: preact.ComponentChildren;
2997
+ }
2998
+
2999
+ export interface CheckboxPreactBaseElementProps<TClass extends HTMLElement> {
3000
+ /** Assigns a unique key to this element. */
3001
+ key?: preact.Key;
3002
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3003
+ ref?: preact.Ref<TClass>;
3004
+ /** Assigns this element to a parent's slot. */
3005
+ slot?: Lowercase<string>;
3006
+ }
3007
+
2680
3008
  export interface CheckboxClickOptions {
2681
3009
  /**
2682
3010
  * The event you want to influence the synthetic click.
@@ -2696,14 +3024,9 @@ declare const internals: unique symbol;
2696
3024
  declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
2697
3025
 
2698
3026
  declare module 'preact' {
2699
- interface BaseProps {
2700
- children?: preact.ComponentChildren;
2701
- slot?: Lowercase<string>;
2702
- }
2703
-
2704
3027
  namespace createElement.JSX {
2705
3028
  interface IntrinsicElements {
2706
- [ButtontagName]: ButtonJSXProps & BaseProps;
3029
+ [ButtontagName]: ButtonJSXProps & ButtonPreactBaseElementPropsWithChildren<Button>;
2707
3030
  }
2708
3031
  }
2709
3032
  }
@@ -2755,6 +3078,19 @@ export interface ButtonActivationEventEsque {
2755
3078
  button: number;
2756
3079
  }
2757
3080
 
3081
+ export interface ButtonPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends ButtonPreactBaseElementProps<TClass> {
3082
+ children?: preact.ComponentChildren;
3083
+ }
3084
+
3085
+ export interface ButtonPreactBaseElementProps<TClass extends HTMLElement> {
3086
+ /** Assigns a unique key to this element. */
3087
+ key?: preact.Key;
3088
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3089
+ ref?: preact.Ref<TClass>;
3090
+ /** Assigns this element to a parent's slot. */
3091
+ slot?: Lowercase<string>;
3092
+ }
3093
+
2758
3094
  export interface ButtonProps extends ButtonBaseProps {
2759
3095
  tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
2760
3096
  icon: ButtonIconProps['type'];
@@ -2781,14 +3117,9 @@ declare const Button_base: (abstract new (
2781
3117
  declare const ButtonBaseClass: typeof globalThis.HTMLElement;
2782
3118
 
2783
3119
  declare module 'preact' {
2784
- interface BaseProps {
2785
- children?: preact.ComponentChildren;
2786
- slot?: Lowercase<string>;
2787
- }
2788
-
2789
3120
  namespace createElement.JSX {
2790
3121
  interface IntrinsicElements {
2791
- [BoxtagName]: BoxJSXProps & BaseProps;
3122
+ [BoxtagName]: BoxJSXProps & BoxPreactBaseElementPropsWithChildren<Box>;
2792
3123
  }
2793
3124
  }
2794
3125
  }
@@ -2802,6 +3133,19 @@ declare global {
2802
3133
  export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
2803
3134
  }
2804
3135
 
3136
+ export interface BoxPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BoxPreactBaseElementProps<TClass> {
3137
+ children?: preact.ComponentChildren;
3138
+ }
3139
+
3140
+ export interface BoxPreactBaseElementProps<TClass extends HTMLElement> {
3141
+ /** Assigns a unique key to this element. */
3142
+ key?: preact.Key;
3143
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3144
+ ref?: preact.Ref<TClass>;
3145
+ /** Assigns this element to a parent's slot. */
3146
+ slot?: Lowercase<string>;
3147
+ }
3148
+
2805
3149
  export interface BoxClickOptions {
2806
3150
  /**
2807
3151
  * The event you want to influence the synthetic click.
@@ -2828,7 +3172,6 @@ export interface BoxProps extends Pick<
2828
3172
  | 'borderRadius'
2829
3173
  | 'borderStyle'
2830
3174
  | 'borderWidth'
2831
- | 'display'
2832
3175
  | 'inlineSize'
2833
3176
  | 'maxBlockSize'
2834
3177
  | 'maxInlineSize'
@@ -2951,20 +3294,26 @@ export interface BoxProps extends Pick<
2951
3294
  * @default '' - meaning no override
2952
3295
  */
2953
3296
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
3297
+ /**
3298
+ * Sets the outer display type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
3299
+ *
3300
+ * - `auto` the component's initial value. The actual value depends on the component and context.
3301
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
3302
+ *
3303
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
3304
+ * @default 'auto'
3305
+ */
3306
+ display: ResponsiveBoxProps['display'];
2954
3307
  }
2955
3308
 
2956
3309
  declare const BoxtagName = 's-box';
2957
3310
  declare const BoxBaseClass: typeof globalThis.HTMLElement;
2958
3311
 
2959
3312
  declare module 'preact' {
2960
- interface BaseProps {
2961
- children?: preact.ComponentChildren;
2962
- slot?: Lowercase<string>;
2963
- }
2964
-
2965
3313
  namespace createElement.JSX {
2966
3314
  interface IntrinsicElements {
2967
- [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> & BaseProps;
3315
+ [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> &
3316
+ BannerPreactBaseElementPropsWithChildren<Banner>;
2968
3317
  }
2969
3318
  }
2970
3319
  }
@@ -3000,6 +3349,19 @@ export interface BannerActivationEventEsque {
3000
3349
  button: number;
3001
3350
  }
3002
3351
 
3352
+ export interface BannerPreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends BannerPreactBaseElementProps<TClass> {
3353
+ children?: preact.ComponentChildren;
3354
+ }
3355
+
3356
+ export interface BannerPreactBaseElementProps<TClass extends HTMLElement> {
3357
+ /** Assigns a unique key to this element. */
3358
+ key?: preact.Key;
3359
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3360
+ ref?: preact.Ref<TClass>;
3361
+ /** Assigns this element to a parent's slot. */
3362
+ slot?: Lowercase<string>;
3363
+ }
3364
+
3003
3365
  export interface BannerProps extends Pick<
3004
3366
  RequiredBannerProps,
3005
3367
  'heading' | 'dismissible' | 'hidden' | 'tone'
@@ -3014,14 +3376,9 @@ declare const BannertagName = 's-banner';
3014
3376
  declare const BannerBaseClass: typeof globalThis.HTMLElement;
3015
3377
 
3016
3378
  declare module 'preact' {
3017
- interface BaseProps {
3018
- children?: preact.ComponentChildren;
3019
- slot?: Lowercase<string>;
3020
- }
3021
-
3022
3379
  namespace createElement.JSX {
3023
3380
  interface IntrinsicElements {
3024
- [tagName]: BadgeJSXProps & BaseProps;
3381
+ [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
3025
3382
  }
3026
3383
  }
3027
3384
  }
@@ -3035,6 +3392,19 @@ declare global {
3035
3392
  export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
3036
3393
  }
3037
3394
 
3395
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement> extends PreactBaseElementProps<TClass> {
3396
+ children?: preact.ComponentChildren;
3397
+ }
3398
+
3399
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
3400
+ /** Assigns a unique key to this element. */
3401
+ key?: preact.Key;
3402
+ /** Assigns a ref (generally from `useRef()`) to this element. */
3403
+ ref?: preact.Ref<TClass>;
3404
+ /** Assigns this element to a parent's slot. */
3405
+ slot?: Lowercase<string>;
3406
+ }
3407
+
3038
3408
  export interface ClickOptions {
3039
3409
  /**
3040
3410
  * The event you want to influence the synthetic click.