@shopify/ui-extensions 2025.10.0-rc.46 → 2025.10.0-rc.48

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 (261) hide show
  1. package/build/cjs/surfaces/checkout/preact/api.js +1 -1
  2. package/build/cjs/surfaces/checkout/shared.js +1 -1
  3. package/build/esm/surfaces/checkout/preact/api.mjs +1 -1
  4. package/build/esm/surfaces/checkout/shared.mjs +1 -1
  5. package/build/esnext/surfaces/checkout/preact/api.esnext +1 -1
  6. package/build/esnext/surfaces/checkout/shared.esnext +1 -1
  7. package/build/ts/docs/shared/components/ConsentCheckbox.d.ts +4 -0
  8. package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +1 -0
  9. package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +4 -0
  10. package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +1 -0
  11. package/build/ts/docs/shared/components/index.d.ts +2 -0
  12. package/build/ts/docs/shared/components/index.d.ts.map +1 -1
  13. package/build/ts/surfaces/admin/components/Chip.d.ts +1 -5
  14. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -5
  15. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -5
  16. package/build/ts/surfaces/admin/components/DateField.d.ts +1 -5
  17. package/build/ts/surfaces/admin/components/Menu.d.ts +1 -5
  18. package/build/ts/surfaces/admin/components/Modal.d.ts +1 -5
  19. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -5
  20. package/build/ts/surfaces/admin/components/shared.d.ts +30 -6
  21. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
  22. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
  23. package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
  24. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
  25. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
  26. package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
  27. package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +4 -0
  28. package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +1 -0
  29. package/build/ts/surfaces/checkout/components/NumberField.d.ts +98 -0
  30. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +1 -1
  31. package/build/ts/surfaces/checkout/components/components-shared.d.ts +17 -0
  32. package/build/ts/surfaces/checkout/components/components.d.ts +216 -144
  33. package/build/ts/surfaces/checkout/shared.d.ts +1 -1
  34. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  35. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +3 -0
  36. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +3 -0
  37. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +3 -0
  38. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +3 -0
  39. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +3 -0
  40. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +3 -0
  41. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +3 -0
  42. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +3 -0
  43. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +3 -0
  44. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +3 -0
  45. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +3 -0
  46. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +3 -0
  47. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +3 -0
  48. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +3 -0
  49. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +3 -0
  50. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +3 -0
  51. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +3 -0
  52. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +3 -0
  53. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +3 -0
  54. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +3 -0
  55. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +3 -0
  56. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +3 -0
  57. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +3 -0
  58. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +3 -0
  59. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +3 -0
  60. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +3 -0
  61. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +3 -0
  62. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +3 -0
  63. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +3 -0
  64. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +3 -0
  65. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +3 -0
  66. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +3 -0
  67. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +3 -0
  68. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +3 -0
  69. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +3 -0
  70. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +3 -0
  71. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +3 -0
  72. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +3 -0
  73. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +3 -0
  74. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +3 -0
  75. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +3 -0
  76. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +3 -0
  77. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +3 -0
  78. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +3 -0
  79. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +3 -0
  80. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +3 -0
  81. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +3 -0
  82. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +3 -0
  83. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +3 -0
  84. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +3 -0
  85. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +3 -0
  86. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +3 -0
  87. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +3 -0
  88. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +3 -0
  89. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +3 -0
  90. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +3 -0
  91. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +3 -0
  92. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +3 -0
  93. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +3 -0
  94. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +3 -0
  95. package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +84 -0
  96. package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +129 -0
  97. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +98 -0
  98. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +1 -1
  99. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +17 -0
  100. package/build/ts/surfaces/customer-account/components/components.d.ts +216 -144
  101. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +3 -0
  102. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +3 -0
  103. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +3 -0
  104. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +3 -0
  105. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +3 -0
  106. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +3 -0
  107. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +3 -0
  108. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +3 -0
  109. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +3 -0
  110. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +3 -0
  111. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +3 -0
  112. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +3 -0
  113. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +3 -0
  114. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +3 -0
  115. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +3 -0
  116. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +3 -0
  117. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +3 -0
  118. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +3 -0
  119. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +3 -0
  120. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +3 -0
  121. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +3 -0
  122. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +3 -0
  123. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +3 -0
  124. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +3 -0
  125. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +10 -1
  126. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +12 -4
  127. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +51 -14
  128. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +12 -2
  129. package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +3 -2
  130. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +12 -5
  131. package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +11 -4
  132. package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +17 -8
  133. package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +14 -6
  134. package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +10 -6
  135. package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +4 -3
  136. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +17 -7
  137. package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +7 -4
  138. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +13 -3
  139. package/build/ts/surfaces/point-of-sale/components/Image.d.ts +12 -5
  140. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +28 -7
  141. package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +17 -7
  142. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +25 -11
  143. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -1
  144. package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +12 -13
  145. package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +12 -8
  146. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +47 -15
  147. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +15 -7
  148. package/build/ts/surfaces/point-of-sale/components/Section.d.ts +15 -9
  149. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +67 -7
  150. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +25 -4
  151. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +17 -7
  152. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +9 -7
  153. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +12 -2
  154. package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +14 -6
  155. package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +14 -6
  156. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +102 -1
  157. package/build/tsconfig.tsbuildinfo +1 -1
  158. package/package.json +2 -1
  159. package/src/docs/shared/components/ConsentCheckbox.ts +12 -0
  160. package/src/docs/shared/components/ConsentPhoneField.ts +12 -0
  161. package/src/docs/shared/components/index.ts +2 -0
  162. package/src/surfaces/admin/components/Chip.d.ts +1 -5
  163. package/src/surfaces/admin/components/ClickableChip.d.ts +1 -5
  164. package/src/surfaces/admin/components/ColorPicker.d.ts +1 -5
  165. package/src/surfaces/admin/components/DateField.d.ts +1 -5
  166. package/src/surfaces/admin/components/Menu.d.ts +1 -5
  167. package/src/surfaces/admin/components/Modal.d.ts +1 -5
  168. package/src/surfaces/admin/components/QueryContainer.d.ts +1 -5
  169. package/src/surfaces/admin/components/shared.d.ts +30 -6
  170. package/src/surfaces/admin/components.d.ts +64 -152
  171. package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
  172. package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
  173. package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
  174. package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
  175. package/src/surfaces/checkout/components/NumberField/examples/basic-number-field.example.html +8 -0
  176. package/src/surfaces/checkout/components/NumberField.d.ts +98 -0
  177. package/src/surfaces/checkout/components/PasswordField.d.ts +1 -1
  178. package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +2 -1
  179. package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +4 -1
  180. package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +20 -4
  181. package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +5 -1
  182. package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +4 -1
  183. package/src/surfaces/checkout/components/components-shared.d.ts +17 -0
  184. package/src/surfaces/checkout/components/components.d.ts +216 -144
  185. package/src/surfaces/checkout/preact/api.ts +1 -1
  186. package/src/surfaces/checkout/preact/tests/api.test.tsx +22 -13
  187. package/src/surfaces/checkout/preact/tests/app-metafields.test.ts +52 -56
  188. package/src/surfaces/checkout/preact/tests/attributes.test.ts +34 -24
  189. package/src/surfaces/checkout/preact/tests/billing-address.test.ts +17 -7
  190. package/src/surfaces/checkout/preact/tests/buyer-identity-businessCustomer.test.ts +16 -9
  191. package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +57 -26
  192. package/src/surfaces/checkout/preact/tests/buyer-journey.test.ts +71 -74
  193. package/src/surfaces/checkout/preact/tests/capabilities.test.ts +32 -28
  194. package/src/surfaces/checkout/preact/tests/cart-line-target.test.ts +31 -24
  195. package/src/surfaces/checkout/preact/tests/checkout-settings.test.ts +17 -9
  196. package/src/surfaces/checkout/preact/tests/checkout-token.test.ts +16 -6
  197. package/src/surfaces/checkout/preact/tests/configuration.test.ts +16 -6
  198. package/src/surfaces/checkout/preact/tests/country.test.tsx +18 -8
  199. package/src/surfaces/checkout/preact/tests/currency.test.tsx +18 -8
  200. package/src/surfaces/checkout/preact/tests/customer-privacy.test.ts +17 -8
  201. package/src/surfaces/checkout/preact/tests/delivery-group-list-target.test.ts +24 -18
  202. package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +25 -19
  203. package/src/surfaces/checkout/preact/tests/delivery-group.test.ts +22 -16
  204. package/src/surfaces/checkout/preact/tests/delivery-groups.test.ts +17 -11
  205. package/src/surfaces/checkout/preact/tests/delivery-selection-groups.test.ts +31 -24
  206. package/src/surfaces/checkout/preact/tests/discounts.test.tsx +21 -14
  207. package/src/surfaces/checkout/preact/tests/extension-language.test.tsx +17 -8
  208. package/src/surfaces/checkout/preact/tests/gift-cards.test.tsx +17 -8
  209. package/src/surfaces/checkout/preact/tests/localized-fields.test.ts +58 -59
  210. package/src/surfaces/checkout/preact/tests/market.test.tsx +17 -7
  211. package/src/surfaces/checkout/preact/tests/metafield.test.tsx +33 -36
  212. package/src/surfaces/checkout/preact/tests/metafields.test.tsx +36 -53
  213. package/src/surfaces/checkout/preact/tests/mount.tsx +60 -17
  214. package/src/surfaces/checkout/preact/tests/notes.test.tsx +16 -6
  215. package/src/surfaces/checkout/preact/tests/payment-method.test.ts +87 -60
  216. package/src/surfaces/checkout/preact/tests/payment-options.test.tsx +26 -24
  217. package/src/surfaces/checkout/preact/tests/pickup-location-option-target.test.tsx +55 -46
  218. package/src/surfaces/checkout/preact/tests/redeemable.test.ts +30 -23
  219. package/src/surfaces/checkout/preact/tests/session-token.test.tsx +12 -6
  220. package/src/surfaces/checkout/preact/tests/shipping-address.test.ts +17 -7
  221. package/src/surfaces/checkout/preact/tests/shipping-option-target.test.ts +54 -50
  222. package/src/surfaces/checkout/preact/tests/shopping-address.test.tsx +18 -10
  223. package/src/surfaces/checkout/preact/tests/timezone.test.tsx +17 -7
  224. package/src/surfaces/checkout/preact/tests/translate.test.tsx +18 -13
  225. package/src/surfaces/checkout/preact/tests/tsconfig.json +1 -1
  226. package/src/surfaces/checkout/shared.ts +2 -0
  227. package/src/surfaces/point-of-sale/components/Badge.d.ts +10 -1
  228. package/src/surfaces/point-of-sale/components/Banner.d.ts +12 -4
  229. package/src/surfaces/point-of-sale/components/Box.d.ts +51 -14
  230. package/src/surfaces/point-of-sale/components/Button.d.ts +12 -2
  231. package/src/surfaces/point-of-sale/components/Choice.d.ts +3 -2
  232. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +12 -5
  233. package/src/surfaces/point-of-sale/components/Clickable.d.ts +11 -4
  234. package/src/surfaces/point-of-sale/components/DateField.d.ts +17 -8
  235. package/src/surfaces/point-of-sale/components/DatePicker.d.ts +14 -6
  236. package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +10 -6
  237. package/src/surfaces/point-of-sale/components/Divider.d.ts +4 -3
  238. package/src/surfaces/point-of-sale/components/EmailField.d.ts +17 -7
  239. package/src/surfaces/point-of-sale/components/Heading.d.ts +7 -4
  240. package/src/surfaces/point-of-sale/components/Icon.d.ts +13 -3
  241. package/src/surfaces/point-of-sale/components/Image.d.ts +12 -5
  242. package/src/surfaces/point-of-sale/components/Modal.d.ts +28 -7
  243. package/src/surfaces/point-of-sale/components/NumberField.d.ts +17 -7
  244. package/src/surfaces/point-of-sale/components/Page.d.ts +25 -11
  245. package/src/surfaces/point-of-sale/components/PosBlock.d.ts +12 -13
  246. package/src/surfaces/point-of-sale/components/QrCode.d.ts +12 -8
  247. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +47 -15
  248. package/src/surfaces/point-of-sale/components/SearchField.d.ts +15 -7
  249. package/src/surfaces/point-of-sale/components/Section.d.ts +15 -9
  250. package/src/surfaces/point-of-sale/components/Stack.d.ts +67 -7
  251. package/src/surfaces/point-of-sale/components/Text.d.ts +25 -4
  252. package/src/surfaces/point-of-sale/components/TextArea.d.ts +17 -7
  253. package/src/surfaces/point-of-sale/components/TextField.d.ts +9 -7
  254. package/src/surfaces/point-of-sale/components/Tile.d.ts +12 -2
  255. package/src/surfaces/point-of-sale/components/TimeField.d.ts +14 -6
  256. package/src/surfaces/point-of-sale/components/TimePicker.d.ts +14 -6
  257. package/src/surfaces/point-of-sale/components/components-shared.d.ts +102 -1
  258. package/src/surfaces/point-of-sale/components.d.ts +869 -481
  259. package/build/ts/surfaces/checkout/errors.d.ts +0 -10
  260. package/build/ts/surfaces/checkout/errors.d.ts.map +0 -1
  261. package/src/surfaces/checkout/errors.ts +0 -13
@@ -1254,7 +1254,6 @@ export interface BaseBoxProps
1254
1254
  export interface BaseBoxPropsWithRole
1255
1255
  extends BaseBoxProps,
1256
1256
  AccessibilityRoleProps {}
1257
- export interface BoxProps extends BaseBoxPropsWithRole, GlobalProps {}
1258
1257
  export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
1259
1258
  /**
1260
1259
  * The behavior of the Button.
@@ -2283,6 +2282,45 @@ export interface BaseTypographyProps {
2283
2282
  */
2284
2283
  dir?: 'ltr' | 'rtl' | 'auto' | '';
2285
2284
  }
2285
+ export interface BlockTypographyProps {
2286
+ /**
2287
+ * Truncates the text content to the specified number of lines.
2288
+ *
2289
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
2290
+ *
2291
+ * @default Infinity - no truncation is applied
2292
+ */
2293
+ lineClamp?: number;
2294
+ }
2295
+ export interface HeadingProps
2296
+ extends GlobalProps,
2297
+ AccessibilityVisibilityProps,
2298
+ BlockTypographyProps {
2299
+ /**
2300
+ * The content of the Heading.
2301
+ */
2302
+ children?: ComponentChildren;
2303
+ /**
2304
+ * Sets the semantic meaning of the component’s content. When set,
2305
+ * the role will be used by assistive technologies to help users
2306
+ * navigate the page.
2307
+ *
2308
+ * - `heading`: defines the element as a heading to a page or section.
2309
+ * - `presentation`: the heading level will be stripped,
2310
+ * and will prevent the element’s implicit ARIA semantics from
2311
+ * being exposed to the accessibility tree.
2312
+ * - `none`: a synonym for the `presentation` role.
2313
+ *
2314
+ * @default 'heading'
2315
+ *
2316
+ * @implementation The `heading` role doesn't need to be applied if
2317
+ * the host applies it for you; for example, an HTML host rendering
2318
+ * an `<h2>` element should not apply the `heading` role.
2319
+ */
2320
+ accessibilityRole?:
2321
+ | 'heading'
2322
+ | ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
2323
+ }
2286
2324
  export interface IconProps
2287
2325
  extends GlobalProps,
2288
2326
  Pick<InteractionProps, 'interestFor'> {
@@ -2523,6 +2561,69 @@ export interface PageProps extends GlobalProps, ActionSlots {
2523
2561
  */
2524
2562
  inlineSize?: SizeKeyword;
2525
2563
  }
2564
+ export interface POSBlockProps
2565
+ extends GlobalProps,
2566
+ Pick<ActionSlots, 'secondaryActions'> {
2567
+ /**
2568
+ * The heading to display within the POSBlock.
2569
+ *
2570
+ * If not provided, the description of the extension will be used when a heading is appropriate.
2571
+ */
2572
+ heading?: string;
2573
+ /**
2574
+ * The content to display within the POSBlock.
2575
+ */
2576
+ children?: ComponentChildren;
2577
+ /**
2578
+ * The secondary actions to perform, provided as button or link type elements.
2579
+ */
2580
+ secondaryActions?: ComponentChildren;
2581
+ }
2582
+ export interface QRCodeProps extends GlobalProps {
2583
+ /**
2584
+ * Set the border of the QR code.
2585
+ *
2586
+ * `base`: applies border that is appropriate for the element.
2587
+ * `none`: removes the border from the element.
2588
+ *
2589
+ * @default 'base'
2590
+ */
2591
+ border?: 'base' | 'none';
2592
+ /**
2593
+ * The content to be encoded in the QR code, which can be any string such as a URL, email address, plain text, etc.
2594
+ * Specific string formatting can trigger actions on the user's device when scanned, like opening geolocation
2595
+ * coordinates on a map, opening a preferred app or app store entry, preparing an email, text message, and more.
2596
+ */
2597
+ content?: string;
2598
+ /**
2599
+ * The displayed size of the QR code.
2600
+ *
2601
+ * `fill`: the QR code will takes up 100% of the available inline-size and maintain a 1:1 aspect ratio.
2602
+ * `base`: the QR code will be displayed at its default size.
2603
+ *
2604
+ * @default 'base'
2605
+ */
2606
+ size?: 'base' | 'fill';
2607
+ /**
2608
+ * A label that describes the purpose or contents of the QR code. When set,
2609
+ * it will be announced to users using assistive technologies and will
2610
+ * provide more context about what the QR code may do when scanned.
2611
+ *
2612
+ * @default 'QR code' (translated to the user's locale)
2613
+ */
2614
+ accessibilityLabel?: string;
2615
+ /**
2616
+ * Invoked when the conversion of `content` to a QR code fails.
2617
+ * If an error occurs, the QR code and its child elements will not be displayed.
2618
+ */
2619
+ onError?: (event: Event) => void;
2620
+ /**
2621
+ * URL of an image to be displayed in the center of the QR code.
2622
+ * This is useful for branding or to indicate to the user what scanning the QR code will do.
2623
+ * By default, no image is displayed.
2624
+ */
2625
+ logo?: string;
2626
+ }
2526
2627
  export interface ScrollEventProps {
2527
2628
  /**
2528
2629
  * Callback when the scroll position reaches any edge.
@@ -3126,6 +3227,7 @@ interface BaseElementPropsWithChildren<TClass = HTMLElement>
3126
3227
  extends BaseElementProps<TClass> {
3127
3228
  children?: ComponentChildren;
3128
3229
  }
3230
+ type IntrinsicElementProps<T> = T & BaseElementPropsWithChildren<T>;
3129
3231
  interface CallbackEvent<T extends keyof HTMLElementTagNameMap> {
3130
3232
  currentTarget: HTMLElementTagNameMap[T];
3131
3233
  bubbles?: boolean;
@@ -3138,7 +3240,10 @@ interface CallbackEvent<T extends keyof HTMLElementTagNameMap> {
3138
3240
 
3139
3241
  declare const tagName$t = 's-button';
3140
3242
  interface ButtonJSXProps
3141
- extends Pick<ButtonProps, 'disabled' | 'command' | 'commandFor' | 'loading'> {
3243
+ extends Pick<
3244
+ ButtonProps,
3245
+ 'id' | 'disabled' | 'command' | 'commandFor' | 'loading'
3246
+ > {
3142
3247
  /**
3143
3248
  * Sets the action the `commandFor` should take when this clickable is activated.
3144
3249
  *
@@ -3172,7 +3277,13 @@ interface ButtonJSXProps
3172
3277
  * @default 'auto' - the variant is automatically determined by the Button's context
3173
3278
  */
3174
3279
  variant?: Extract<ButtonProps['variant'], 'primary' | 'secondary'>;
3280
+ /**
3281
+ * Called when the button is activated.
3282
+ */
3175
3283
  onClick?: (event: CallbackEvent<typeof tagName$t>) => void;
3284
+ /**
3285
+ * The content of the Button.
3286
+ */
3176
3287
  children?: ComponentChildren;
3177
3288
  }
3178
3289
  declare global {
@@ -3183,20 +3294,39 @@ declare global {
3183
3294
  declare module 'preact' {
3184
3295
  namespace createElement.JSX {
3185
3296
  interface IntrinsicElements {
3186
- [tagName$t]: ButtonJSXProps &
3187
- BaseElementPropsWithChildren<ButtonJSXProps>;
3297
+ [tagName$t]: IntrinsicElementProps<ButtonJSXProps>;
3188
3298
  }
3189
3299
  }
3190
3300
  }
3191
3301
 
3192
3302
  declare const tagName$s = 's-text';
3193
- interface TextJSXProps extends Pick<TextProps, 'tone' | 'type'> {
3194
- color?: 'subdued' | 'base' | 'strong';
3195
- type?: Extract<TextProps['type'], 'strong' | 'small' | 'generic'>;
3303
+ interface TextJSXProps extends Pick<TextProps, 'id'> {
3304
+ /**
3305
+ * Modify the color to be more or less intense.
3306
+ *
3307
+ * @default 'base'
3308
+ */
3309
+ color?: Extract<TextProps['color'], 'base' | 'strong' | 'subdued'>;
3310
+ /**
3311
+ * Provide semantic meaning and default styling to the text.
3312
+ *
3313
+ * Other presentation properties on Text override the default styling.
3314
+ *
3315
+ * @default 'generic'
3316
+ */
3317
+ type?: Extract<TextProps['type'], 'generic' | 'strong' | 'small'>;
3318
+ /**
3319
+ * Sets the tone of the component, based on the intention of the information being conveyed.
3320
+ *
3321
+ * @default 'auto'
3322
+ */
3196
3323
  tone?: Extract<
3197
3324
  TextProps['tone'],
3198
3325
  'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'caution'
3199
3326
  >;
3327
+ /**
3328
+ * The Text content. Supports nested text elements.
3329
+ */
3200
3330
  children?: ComponentChildren;
3201
3331
  }
3202
3332
  declare global {
@@ -3207,24 +3337,50 @@ declare global {
3207
3337
  declare module 'preact' {
3208
3338
  namespace createElement.JSX {
3209
3339
  interface IntrinsicElements {
3210
- [tagName$s]: TextJSXProps & BaseElementPropsWithChildren<TextJSXProps>;
3340
+ [tagName$s]: IntrinsicElementProps<TextJSXProps>;
3211
3341
  }
3212
3342
  }
3213
3343
  }
3214
3344
 
3215
3345
  type PaddingKeyword$2 = SizeKeyword | 'none';
3216
3346
  declare const tagName$r = 's-scroll-box';
3217
- interface ScrollBoxJSXProps
3218
- extends Pick<
3219
- ScrollBoxProps,
3220
- | 'id'
3221
- | 'blockSize'
3222
- | 'minBlockSize'
3223
- | 'maxBlockSize'
3224
- | 'inlineSize'
3225
- | 'minInlineSize'
3226
- | 'maxInlineSize'
3227
- > {
3347
+ interface ScrollBoxJSXProps extends Pick<ScrollBoxProps, 'id'> {
3348
+ /**
3349
+ * Adjust the block size.
3350
+ *
3351
+ * @default 'auto'
3352
+ */
3353
+ blockSize?: SizeUnitsOrAuto;
3354
+ /**
3355
+ * Adjust the inline size.
3356
+ *
3357
+ * @default 'auto'
3358
+ */
3359
+ inlineSize?: SizeUnitsOrAuto;
3360
+ /**
3361
+ * Adjust the maximum block size.
3362
+ *
3363
+ * @default 'none'
3364
+ */
3365
+ maxBlockSize?: SizeUnitsOrNone;
3366
+ /**
3367
+ * Adjust the maximum inline size.
3368
+ *
3369
+ * @default 'none'
3370
+ */
3371
+ maxInlineSize?: SizeUnitsOrNone;
3372
+ /**
3373
+ * Adjust the minimum block size.
3374
+ *
3375
+ * @default '0'
3376
+ */
3377
+ minBlockSize?: SizeUnits;
3378
+ /**
3379
+ * Adjust the minimum inline size.
3380
+ *
3381
+ * @default '0'
3382
+ */
3383
+ minInlineSize?: SizeUnits;
3228
3384
  /**
3229
3385
  * Adjust the padding of all edges.
3230
3386
  *
@@ -3255,7 +3411,7 @@ interface ScrollBoxJSXProps
3255
3411
  *
3256
3412
  * @default '' - meaning no override
3257
3413
  */
3258
- paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword$2 | ''>;
3414
+ paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword$2> | '';
3259
3415
  /**
3260
3416
  * Adjust the block-start padding.
3261
3417
  *
@@ -3281,7 +3437,7 @@ interface ScrollBoxJSXProps
3281
3437
  *
3282
3438
  * @default '' - meaning no override
3283
3439
  */
3284
- paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword$2 | ''>;
3440
+ paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword$2> | '';
3285
3441
  /**
3286
3442
  * Adjust the inline-start padding.
3287
3443
  *
@@ -3298,6 +3454,9 @@ interface ScrollBoxJSXProps
3298
3454
  * @default '' - meaning no override
3299
3455
  */
3300
3456
  paddingInlineEnd?: PaddingKeyword$2 | '';
3457
+ /**
3458
+ * The content of the ScrollBox.
3459
+ */
3301
3460
  children?: ComponentChildren;
3302
3461
  }
3303
3462
  declare global {
@@ -3308,8 +3467,7 @@ declare global {
3308
3467
  declare module 'preact' {
3309
3468
  namespace createElement.JSX {
3310
3469
  interface IntrinsicElements {
3311
- [tagName$r]: ScrollBoxJSXProps &
3312
- BaseElementPropsWithChildren<ScrollBoxJSXProps>;
3470
+ [tagName$r]: IntrinsicElementProps<ScrollBoxJSXProps>;
3313
3471
  }
3314
3472
  }
3315
3473
  }
@@ -3318,8 +3476,17 @@ declare const tagName$q = 's-tile';
3318
3476
  interface TileJSXProps
3319
3477
  extends Pick<
3320
3478
  TileProps,
3321
- 'disabled' | 'heading' | 'id' | 'itemCount' | 'tone' | 'subheading'
3479
+ 'heading' | 'id' | 'itemCount' | 'tone' | 'subheading'
3322
3480
  > {
3481
+ /**
3482
+ * Disables the Tile meaning it cannot be clicked or receive focus.
3483
+ *
3484
+ * @default false
3485
+ */
3486
+ disabled?: TileProps['disabled'];
3487
+ /**
3488
+ * Callback when the Tile is activated.
3489
+ */
3323
3490
  onClick?: (event: CallbackEvent<typeof tagName$q>) => void;
3324
3491
  }
3325
3492
  declare global {
@@ -3330,7 +3497,7 @@ declare global {
3330
3497
  declare module 'preact' {
3331
3498
  namespace createElement.JSX {
3332
3499
  interface IntrinsicElements {
3333
- [tagName$q]: TileJSXProps & BaseElementPropsWithChildren<TileJSXProps>;
3500
+ [tagName$q]: IntrinsicElementProps<TileJSXProps>;
3334
3501
  }
3335
3502
  }
3336
3503
  }
@@ -3339,47 +3506,85 @@ declare const tagName$p = 's-banner';
3339
3506
  interface BannerJSXProps extends Pick<BannerProps, 'heading' | 'id'> {
3340
3507
  /**
3341
3508
  * Determines whether the banner is hidden.
3509
+ *
3510
+ * @default false
3342
3511
  */
3343
3512
  hidden?: BannerProps['hidden'];
3344
3513
  /**
3345
3514
  * Sets the tone of the Banner, based on the intention of the information being conveyed.
3515
+ *
3516
+ * @default 'auto'
3346
3517
  */
3347
3518
  tone?: Extract<
3348
3519
  BannerProps['tone'],
3349
- 'success' | 'info' | 'warning' | 'critical'
3520
+ 'auto' | 'success' | 'info' | 'warning' | 'critical'
3350
3521
  >;
3351
3522
  /**
3352
3523
  * The action taken when the Banner is pressed.
3353
3524
  */
3354
3525
  primaryAction?: ComponentChild;
3526
+ /**
3527
+ * The content of the Banner.
3528
+ */
3355
3529
  children?: ComponentChildren;
3356
3530
  }
3531
+ type ElementProps$9 = Omit<BannerJSXProps, 'primaryAction'>;
3357
3532
  declare global {
3358
3533
  interface HTMLElementTagNameMap {
3359
- [tagName$p]: BannerJSXProps;
3534
+ [tagName$p]: ElementProps$9;
3360
3535
  }
3361
3536
  }
3362
3537
  declare module 'preact' {
3363
3538
  namespace createElement.JSX {
3364
3539
  interface IntrinsicElements {
3365
- [tagName$p]: Omit<BannerJSXProps, 'primaryAction'> &
3366
- BaseElementPropsWithChildren<Omit<BannerJSXProps, 'primaryAction'>>;
3540
+ [tagName$p]: IntrinsicElementProps<ElementProps$9>;
3367
3541
  }
3368
3542
  }
3369
3543
  }
3370
3544
 
3371
3545
  declare const tagName$o = 's-box';
3372
3546
  type PaddingKeyword$1 = SizeKeyword | 'none';
3373
- interface BoxJSXProps
3374
- extends Pick<
3375
- BoxProps,
3376
- | 'blockSize'
3377
- | 'minBlockSize'
3378
- | 'maxBlockSize'
3379
- | 'inlineSize'
3380
- | 'minInlineSize'
3381
- | 'maxInlineSize'
3382
- > {
3547
+ interface BoxJSXProps {
3548
+ /**
3549
+ * A unique identifier for the element.
3550
+ */
3551
+ id?: string;
3552
+ /**
3553
+ * Adjust the block size.
3554
+ *
3555
+ * @default 'auto'
3556
+ */
3557
+ blockSize?: SizeUnitsOrAuto;
3558
+ /**
3559
+ * Adjust the inline size.
3560
+ *
3561
+ * @default 'auto'
3562
+ */
3563
+ inlineSize?: SizeUnitsOrAuto;
3564
+ /**
3565
+ * Adjust the maximum block size.
3566
+ *
3567
+ * @default 'none'
3568
+ */
3569
+ maxBlockSize?: SizeUnitsOrNone;
3570
+ /**
3571
+ * Adjust the maximum inline size.
3572
+ *
3573
+ * @default 'none'
3574
+ */
3575
+ maxInlineSize?: SizeUnitsOrNone;
3576
+ /**
3577
+ * Adjust the minimum block size.
3578
+ *
3579
+ * @default '0'
3580
+ */
3581
+ minBlockSize?: SizeUnits;
3582
+ /**
3583
+ * Adjust the minimum inline size.
3584
+ *
3585
+ * @default '0'
3586
+ */
3587
+ minInlineSize?: SizeUnits;
3383
3588
  /**
3384
3589
  * Adjust the padding of all edges.
3385
3590
  *
@@ -3410,7 +3615,7 @@ interface BoxJSXProps
3410
3615
  *
3411
3616
  * @default '' - meaning no override
3412
3617
  */
3413
- paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword$1 | ''>;
3618
+ paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword$1> | '';
3414
3619
  /**
3415
3620
  * Adjust the block-start padding.
3416
3621
  *
@@ -3436,7 +3641,7 @@ interface BoxJSXProps
3436
3641
  *
3437
3642
  * @default '' - meaning no override
3438
3643
  */
3439
- paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword$1 | ''>;
3644
+ paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword$1> | '';
3440
3645
  /**
3441
3646
  * Adjust the inline-start padding.
3442
3647
  *
@@ -3453,6 +3658,9 @@ interface BoxJSXProps
3453
3658
  * @default '' - meaning no override
3454
3659
  */
3455
3660
  paddingInlineEnd?: PaddingKeyword$1 | '';
3661
+ /**
3662
+ * The content of the Box.
3663
+ */
3456
3664
  children?: ComponentChildren;
3457
3665
  }
3458
3666
  declare global {
@@ -3463,7 +3671,7 @@ declare global {
3463
3671
  declare module 'preact' {
3464
3672
  namespace createElement.JSX {
3465
3673
  interface IntrinsicElements {
3466
- [tagName$o]: BoxJSXProps & BaseElementPropsWithChildren<BoxJSXProps>;
3674
+ [tagName$o]: IntrinsicElementProps<BoxJSXProps>;
3467
3675
  }
3468
3676
  }
3469
3677
  }
@@ -3597,9 +3805,11 @@ type SupportedIconNames = Extract<
3597
3805
  | 'x'
3598
3806
  | 'x-circle'
3599
3807
  >;
3600
- interface IconJSXProps extends Pick<IconProps, 'tone' | 'color' | 'size'> {
3808
+ interface IconJSXProps
3809
+ extends Pick<IconProps, 'id' | 'tone' | 'color' | 'size'> {
3601
3810
  /**
3602
- * The type of icon to display. Maps to PDS icon names.
3811
+ * The type of icon to display.
3812
+ *
3603
3813
  * @default ''
3604
3814
  */
3605
3815
  type?: SupportedIconNames;
@@ -3612,15 +3822,16 @@ declare global {
3612
3822
  declare module 'preact' {
3613
3823
  namespace createElement.JSX {
3614
3824
  interface IntrinsicElements {
3615
- [tagName$n]: IconJSXProps & BaseElementProps<IconJSXProps>;
3825
+ [tagName$n]: IntrinsicElementProps<IconJSXProps>;
3616
3826
  }
3617
3827
  }
3618
3828
  }
3619
3829
 
3620
3830
  declare const tagName$m = 's-stack';
3621
3831
  type PaddingKeyword = SizeKeyword | 'none';
3622
- type PickedProps$2 = Pick<
3832
+ type PickedProps = Pick<
3623
3833
  StackProps,
3834
+ | 'id'
3624
3835
  | 'alignItems'
3625
3836
  | 'alignContent'
3626
3837
  | 'gap'
@@ -3635,7 +3846,7 @@ type PickedProps$2 = Pick<
3635
3846
  | 'justifyContent'
3636
3847
  | 'rowGap'
3637
3848
  >;
3638
- interface StackJSXProps extends PickedProps$2 {
3849
+ interface StackJSXProps extends PickedProps {
3639
3850
  /**
3640
3851
  * Adjust the padding of all edges.
3641
3852
  *
@@ -3709,7 +3920,6 @@ interface StackJSXProps extends PickedProps$2 {
3709
3920
  * @default '' - meaning no override
3710
3921
  */
3711
3922
  paddingInlineEnd?: PaddingKeyword | '';
3712
- children?: ComponentChildren;
3713
3923
  /**
3714
3924
  * Adjust the block size.
3715
3925
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
@@ -3718,7 +3928,7 @@ interface StackJSXProps extends PickedProps$2 {
3718
3928
  *
3719
3929
  * @default 'auto'
3720
3930
  */
3721
- blockSize?: PickedProps$2['blockSize'];
3931
+ blockSize?: SizeUnitsOrAuto;
3722
3932
  /**
3723
3933
  * Adjust the maximum block size.
3724
3934
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
@@ -3727,7 +3937,7 @@ interface StackJSXProps extends PickedProps$2 {
3727
3937
  *
3728
3938
  * @default 'none'
3729
3939
  */
3730
- maxBlockSize?: PickedProps$2['maxBlockSize'];
3940
+ maxBlockSize?: SizeUnitsOrNone;
3731
3941
  /**
3732
3942
  * Adjust the maximum inline size.
3733
3943
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
@@ -3736,7 +3946,7 @@ interface StackJSXProps extends PickedProps$2 {
3736
3946
  *
3737
3947
  * @default 'none'
3738
3948
  */
3739
- maxInlineSize?: PickedProps$2['maxInlineSize'];
3949
+ maxInlineSize?: SizeUnitsOrNone;
3740
3950
  /**
3741
3951
  * Adjust the minimum block size.
3742
3952
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
@@ -3745,7 +3955,7 @@ interface StackJSXProps extends PickedProps$2 {
3745
3955
  *
3746
3956
  * @default '0'
3747
3957
  */
3748
- minBlockSize?: PickedProps$2['minBlockSize'];
3958
+ minBlockSize?: SizeUnits;
3749
3959
  /**
3750
3960
  * Adjust the minimum inline size.
3751
3961
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
@@ -3754,7 +3964,59 @@ interface StackJSXProps extends PickedProps$2 {
3754
3964
  *
3755
3965
  * @default '0'
3756
3966
  */
3757
- minInlineSize?: PickedProps$2['minInlineSize'];
3967
+ minInlineSize?: SizeUnits;
3968
+ /**
3969
+ * Aligns the Stack's children along the cross axis.
3970
+ */
3971
+ alignItems?: AlignItemsKeyword;
3972
+ /**
3973
+ * Aligns the Stack along the cross axis.
3974
+ */
3975
+ alignContent?: AlignContentKeyword;
3976
+ /**
3977
+ * Adjust spacing between elements.
3978
+ * A single value applies to both axes. A pair of values (eg large-100 large-500) can be used to set the inline and block axes respectively.
3979
+ *
3980
+ * @default 'none'
3981
+ */
3982
+ gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword>;
3983
+ /**
3984
+ * Adjust spacing between elements in the inline axis. This overrides the column value of gap.
3985
+ *
3986
+ * @default '' - meaning no override
3987
+ */
3988
+ columnGap?: SpacingKeyword | '';
3989
+ /**
3990
+ * Sets how the children are placed within the Stack. This uses logical properties.
3991
+ *
3992
+ * @default 'block'
3993
+ * @implementation - the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
3994
+ */
3995
+ direction?: 'block' | 'inline';
3996
+ /**
3997
+ * Adjust the inline size.
3998
+ * @see — https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
3999
+ *
4000
+ * @default 'auto'
4001
+ */
4002
+ inlineSize?: SizeUnitsOrAuto;
4003
+ /**
4004
+ * Aligns the Stack along the main axis.
4005
+ * @see — https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
4006
+ *
4007
+ * @default 'normal'
4008
+ */
4009
+ justifyContent?: JustifyContentKeyword;
4010
+ /**
4011
+ * Adjust spacing between elements in the block axis. This overrides the row value of gap.
4012
+ *
4013
+ * @default '' - meaning no override
4014
+ */
4015
+ rowGap?: SpacingKeyword | '';
4016
+ /**
4017
+ * The content of the Stack.
4018
+ */
4019
+ children?: ComponentChildren;
3758
4020
  }
3759
4021
  declare global {
3760
4022
  interface HTMLElementTagNameMap {
@@ -3764,17 +4026,25 @@ declare global {
3764
4026
  declare module 'preact' {
3765
4027
  namespace createElement.JSX {
3766
4028
  interface IntrinsicElements {
3767
- [tagName$m]: StackJSXProps & BaseElementPropsWithChildren<StackJSXProps>;
4029
+ [tagName$m]: IntrinsicElementProps<StackJSXProps>;
3768
4030
  }
3769
4031
  }
3770
4032
  }
3771
4033
 
3772
4034
  declare const tagName$l = 's-badge';
3773
4035
  interface BadgeJSXProps extends Pick<BadgeProps, 'id'> {
4036
+ /**
4037
+ * Sets the tone of the Badge, based on the intention of the information being conveyed.
4038
+ *
4039
+ * @default 'auto'
4040
+ */
3774
4041
  tone?: Extract<
3775
4042
  BadgeProps['tone'],
3776
4043
  'auto' | 'neutral' | 'info' | 'success' | 'warning' | 'critical' | 'caution'
3777
4044
  >;
4045
+ /**
4046
+ * The content of the Badge.
4047
+ */
3778
4048
  children?: ComponentChildren;
3779
4049
  }
3780
4050
  declare global {
@@ -3785,18 +4055,25 @@ declare global {
3785
4055
  declare module 'preact' {
3786
4056
  namespace createElement.JSX {
3787
4057
  interface IntrinsicElements {
3788
- [tagName$l]: BadgeJSXProps & BaseElementPropsWithChildren<BadgeJSXProps>;
4058
+ [tagName$l]: IntrinsicElementProps<BadgeJSXProps>;
3789
4059
  }
3790
4060
  }
3791
4061
  }
3792
4062
 
3793
4063
  declare const tagName$k = 's-choice-list';
3794
4064
  interface ChoiceListJSXProps
3795
- extends Pick<ChoiceListProps, 'values' | 'multiple'> {
3796
- /** Function called when the user changes a choice. Fires simultaneously with onChange. */
4065
+ extends Pick<ChoiceListProps, 'id' | 'values' | 'multiple'> {
4066
+ /**
4067
+ * Callback when the user changes a choice. Fires simultaneously with onChange.
4068
+ */
3797
4069
  onInput?: ((event: CallbackEvent<typeof tagName$k>) => void) | null;
3798
- /** Function called when the user changes a choice. Fires simultaneously with onInput. */
4070
+ /**
4071
+ * Callback when the user changes a choice. Fires simultaneously with onInput.
4072
+ */
3799
4073
  onChange?: ((event: CallbackEvent<typeof tagName$k>) => void) | null;
4074
+ /**
4075
+ * The content of the ChoiceList. Should be one or more Choice elements.
4076
+ */
3800
4077
  children?: ComponentChildren;
3801
4078
  }
3802
4079
  declare global {
@@ -3807,15 +4084,14 @@ declare global {
3807
4084
  declare module 'preact' {
3808
4085
  namespace createElement.JSX {
3809
4086
  interface IntrinsicElements {
3810
- [tagName$k]: ChoiceListJSXProps &
3811
- BaseElementPropsWithChildren<ChoiceListJSXProps>;
4087
+ [tagName$k]: IntrinsicElementProps<ChoiceListJSXProps>;
3812
4088
  }
3813
4089
  }
3814
4090
  }
3815
4091
 
3816
4092
  declare const tagName$j = 's-choice';
3817
4093
  interface ChoiceJSXProps
3818
- extends Pick<ChoiceProps, 'value' | 'disabled' | 'selected'> {
4094
+ extends Pick<ChoiceProps, 'id' | 'value' | 'disabled' | 'selected'> {
3819
4095
  children?: ComponentChildren;
3820
4096
  }
3821
4097
  declare global {
@@ -3826,32 +4102,48 @@ declare global {
3826
4102
  declare module 'preact' {
3827
4103
  namespace createElement.JSX {
3828
4104
  interface IntrinsicElements {
3829
- [tagName$j]: ChoiceJSXProps &
3830
- BaseElementPropsWithChildren<ChoiceJSXProps>;
4105
+ [tagName$j]: IntrinsicElementProps<ChoiceJSXProps>;
3831
4106
  }
3832
4107
  }
3833
4108
  }
3834
4109
 
3835
4110
  declare const tagName$i = 's-modal';
3836
4111
  interface ModalJSXProps extends Pick<ModalProps, 'id' | 'heading'> {
3837
- primaryAction?: ComponentChild;
3838
- secondaryActions?: ComponentChild;
4112
+ /**
4113
+ * Callback when the modal is hidden.
4114
+ */
3839
4115
  onHide?: (event: CallbackEvent<typeof tagName$i>) => void | null;
4116
+ /**
4117
+ * Callback when the modal is shown.
4118
+ */
3840
4119
  onShow?: (event: CallbackEvent<typeof tagName$i>) => void | null;
4120
+ /**
4121
+ * The primary action button displayed in the modal.
4122
+ *
4123
+ * The tone of the button is used to define the tone of the modal.
4124
+ *
4125
+ * If omitted, the modal will default to an 'info' tone, and show an 'OK' button, translated according to the user's locale.
4126
+ */
4127
+ primaryAction?: ComponentChild;
4128
+ /**
4129
+ * The secondary action buttons displayed in the modal.
4130
+ */
4131
+ secondaryActions?: ComponentChild;
4132
+ /**
4133
+ * The content of the Modal.
4134
+ */
3841
4135
  children?: ComponentChildren;
3842
4136
  }
4137
+ type ElementProps$8 = Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>;
3843
4138
  declare global {
3844
4139
  interface HTMLElementTagNameMap {
3845
- [tagName$i]: ModalJSXProps;
4140
+ [tagName$i]: ElementProps$8;
3846
4141
  }
3847
4142
  }
3848
4143
  declare module 'preact' {
3849
4144
  namespace createElement.JSX {
3850
4145
  interface IntrinsicElements {
3851
- [tagName$i]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
3852
- BaseElementPropsWithChildren<
3853
- Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>
3854
- >;
4146
+ [tagName$i]: IntrinsicElementProps<ElementProps$8>;
3855
4147
  }
3856
4148
  }
3857
4149
  }
@@ -3860,6 +4152,7 @@ declare const tagName$h = 's-text-field';
3860
4152
  interface TextFieldJSXProps
3861
4153
  extends Pick<
3862
4154
  TextFieldProps,
4155
+ | 'id'
3863
4156
  | 'label'
3864
4157
  | 'details'
3865
4158
  | 'value'
@@ -3870,19 +4163,19 @@ interface TextFieldJSXProps
3870
4163
  | 'maxLength'
3871
4164
  > {
3872
4165
  /**
3873
- * Function called when the user makes any changes in the field.
4166
+ * Callback when the user makes any changes in the field.
3874
4167
  */
3875
4168
  onInput?: ((event: CallbackEvent<typeof tagName$h>) => void) | null;
3876
4169
  /**
3877
- * Function called after editing completes (typically on blur).
4170
+ * Callback after editing completes (typically on blur).
3878
4171
  */
3879
4172
  onChange?: ((event: CallbackEvent<typeof tagName$h>) => void) | null;
3880
4173
  /**
3881
- * Function called when the element loses focus.
4174
+ * Callback when the element loses focus.
3882
4175
  */
3883
4176
  onBlur?: ((event: CallbackEvent<typeof tagName$h>) => void) | null;
3884
4177
  /**
3885
- * Function called when the element receives focus.
4178
+ * Callback when the element receives focus.
3886
4179
  */
3887
4180
  onFocus?: ((event: CallbackEvent<typeof tagName$h>) => void) | null;
3888
4181
  /**
@@ -3890,30 +4183,38 @@ interface TextFieldJSXProps
3890
4183
  */
3891
4184
  accessory?: ComponentChild;
3892
4185
  }
4186
+ type ElementProps$7 = Omit<TextFieldJSXProps, 'accessory'>;
3893
4187
  declare global {
3894
4188
  interface HTMLElementTagNameMap {
3895
- [tagName$h]: TextFieldJSXProps;
4189
+ [tagName$h]: ElementProps$7;
3896
4190
  }
3897
4191
  }
3898
4192
  declare module 'preact' {
3899
4193
  namespace createElement.JSX {
3900
4194
  interface IntrinsicElements {
3901
- [tagName$h]: Omit<TextFieldJSXProps, 'accessory'> &
3902
- BaseElementPropsWithChildren<Omit<TextFieldJSXProps, 'accessory'>>;
4195
+ [tagName$h]: IntrinsicElementProps<ElementProps$7>;
3903
4196
  }
3904
4197
  }
3905
4198
  }
3906
4199
 
3907
4200
  declare const tagName$g = 's-search-field';
3908
4201
  interface SearchFieldJSXProps
3909
- extends Pick<SearchFieldProps, 'disabled' | 'placeholder' | 'value'> {
3910
- /** Function called when the user changes the value in the field. */
4202
+ extends Pick<SearchFieldProps, 'id' | 'disabled' | 'placeholder' | 'value'> {
4203
+ /**
4204
+ * Callback when the user changes the value in the field.
4205
+ */
3911
4206
  onInput?: ((event: CallbackEvent<typeof tagName$g>) => void) | null;
3912
- /** Function called when the field loses focus after the user changes the value in the field. */
4207
+ /**
4208
+ * Callback when the field loses focus after the user changes the value in the field.
4209
+ */
3913
4210
  onChange?: ((event: CallbackEvent<typeof tagName$g>) => void) | null;
3914
- /** Function called when the field loses focus. */
4211
+ /**
4212
+ * Callback when the field loses focus.
4213
+ */
3915
4214
  onBlur?: ((event: CallbackEvent<typeof tagName$g>) => void) | null;
3916
- /** Function called when the field is focused. */
4215
+ /**
4216
+ * Callback when the field is focused.
4217
+ */
3917
4218
  onFocus?: ((event: CallbackEvent<typeof tagName$g>) => void) | null;
3918
4219
  }
3919
4220
  declare global {
@@ -3924,8 +4225,7 @@ declare global {
3924
4225
  declare module 'preact' {
3925
4226
  namespace createElement.JSX {
3926
4227
  interface IntrinsicElements {
3927
- [tagName$g]: SearchFieldJSXProps &
3928
- BaseElementPropsWithChildren<SearchFieldJSXProps>;
4228
+ [tagName$g]: IntrinsicElementProps<SearchFieldJSXProps>;
3929
4229
  }
3930
4230
  }
3931
4231
  }
@@ -3934,6 +4234,7 @@ declare const tagName$f = 's-email-field';
3934
4234
  interface EmailFieldJSXProps
3935
4235
  extends Pick<
3936
4236
  EmailFieldProps,
4237
+ | 'id'
3937
4238
  | 'label'
3938
4239
  | 'value'
3939
4240
  | 'placeholder'
@@ -3943,37 +4244,51 @@ interface EmailFieldJSXProps
3943
4244
  | 'maxLength'
3944
4245
  | 'details'
3945
4246
  > {
3946
- /** Function called when the user makes any changes in the field. */
3947
- onInput?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
3948
- /** Function called after editing completes (typically on blur). */
4247
+ /**
4248
+ * Callback when the user makes any changes in the field.
4249
+ */
4250
+ onInput?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
4251
+ /**
4252
+ * Callback after editing completes (typically on blur).
4253
+ */
3949
4254
  onChange?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
3950
- /** Function called when the element loses focus. */
4255
+ /**
4256
+ * Callback when the element loses focus.
4257
+ */
3951
4258
  onBlur?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
3952
- /** Function called when the element receives focus. */
4259
+ /**
4260
+ * Callback when the element receives focus.
4261
+ */
3953
4262
  onFocus?: ((event: CallbackEvent<typeof tagName$f>) => void) | null;
3954
4263
  /**
3955
4264
  * Additional content to be displayed in the field. Commonly used to display clickable text.
3956
4265
  */
3957
4266
  accessory?: ComponentChild;
3958
4267
  }
4268
+ type ElementProps$6 = Omit<EmailFieldJSXProps, 'accessory'>;
3959
4269
  declare global {
3960
4270
  interface HTMLElementTagNameMap {
3961
- [tagName$f]: EmailFieldJSXProps;
4271
+ [tagName$f]: ElementProps$6;
3962
4272
  }
3963
4273
  }
3964
4274
  declare module 'preact' {
3965
4275
  namespace createElement.JSX {
3966
4276
  interface IntrinsicElements {
3967
- [tagName$f]: Omit<EmailFieldJSXProps, 'accessory'> &
3968
- BaseElementPropsWithChildren<Omit<EmailFieldJSXProps, 'accessory'>>;
4277
+ [tagName$f]: IntrinsicElementProps<ElementProps$6>;
3969
4278
  }
3970
4279
  }
3971
4280
  }
3972
4281
 
3973
4282
  declare const tagName$e = 's-clickable';
3974
- interface ClickableJSXProps extends Pick<ClickableProps, 'disabled'> {
3975
- children?: ComponentChildren;
4283
+ interface ClickableJSXProps extends Pick<ClickableProps, 'id' | 'disabled'> {
4284
+ /**
4285
+ * Callback when the element is activated.
4286
+ */
3976
4287
  onClick?: (event: CallbackEvent<typeof tagName$e>) => void;
4288
+ /**
4289
+ * The content of the Clickable.
4290
+ */
4291
+ children?: ComponentChildren;
3977
4292
  }
3978
4293
  declare global {
3979
4294
  interface HTMLElementTagNameMap {
@@ -3983,8 +4298,7 @@ declare global {
3983
4298
  declare module 'preact' {
3984
4299
  namespace createElement.JSX {
3985
4300
  interface IntrinsicElements {
3986
- [tagName$e]: ClickableJSXProps &
3987
- BaseElementPropsWithChildren<ClickableJSXProps>;
4301
+ [tagName$e]: IntrinsicElementProps<ClickableJSXProps>;
3988
4302
  }
3989
4303
  }
3990
4304
  }
@@ -3993,6 +4307,7 @@ declare const tagName$d = 's-text-area';
3993
4307
  interface TextAreaJSXProps
3994
4308
  extends Pick<
3995
4309
  TextAreaProps,
4310
+ | 'id'
3996
4311
  | 'label'
3997
4312
  | 'details'
3998
4313
  | 'value'
@@ -4003,29 +4318,37 @@ interface TextAreaJSXProps
4003
4318
  | 'maxLength'
4004
4319
  | 'rows'
4005
4320
  > {
4006
- /** Function called when the user makes any changes in the field. */
4321
+ /**
4322
+ * Callback when the user makes any changes in the field.
4323
+ */
4007
4324
  onInput?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
4008
- /** Function called after editing completes (typically on blur). */
4325
+ /**
4326
+ * Callback after editing completes (typically on blur).
4327
+ */
4009
4328
  onChange?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
4010
- /** Function called when the element loses focus. */
4329
+ /**
4330
+ * Callback when the element loses focus.
4331
+ */
4011
4332
  onBlur?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
4012
- /** Function called when the element receives focus. */
4333
+ /**
4334
+ * Callback when the element receives focus.
4335
+ */
4013
4336
  onFocus?: ((event: CallbackEvent<typeof tagName$d>) => void) | null;
4014
4337
  /**
4015
4338
  * Additional content to be displayed in the field. Commonly used to display clickable text.
4016
4339
  */
4017
4340
  accessory?: ComponentChild;
4018
4341
  }
4342
+ type ElementProps$5 = Omit<TextAreaJSXProps, 'accessory'>;
4019
4343
  declare global {
4020
4344
  interface HTMLElementTagNameMap {
4021
- [tagName$d]: TextAreaJSXProps;
4345
+ [tagName$d]: ElementProps$5;
4022
4346
  }
4023
4347
  }
4024
4348
  declare module 'preact' {
4025
4349
  namespace createElement.JSX {
4026
4350
  interface IntrinsicElements {
4027
- [tagName$d]: Omit<TextAreaJSXProps, 'accessory'> &
4028
- BaseElementPropsWithChildren<Omit<TextAreaJSXProps, 'accessory'>>;
4351
+ [tagName$d]: IntrinsicElementProps<ElementProps$5>;
4029
4352
  }
4030
4353
  }
4031
4354
  }
@@ -4034,6 +4357,7 @@ declare const tagName$c = 's-number-field';
4034
4357
  interface NumberFieldJSXProps
4035
4358
  extends Pick<
4036
4359
  NumberFieldProps,
4360
+ | 'id'
4037
4361
  | 'label'
4038
4362
  | 'details'
4039
4363
  | 'value'
@@ -4111,25 +4435,33 @@ interface NumberFieldJSXProps
4111
4435
  * - `auto`: the presence of the controls depends on the surface and context.
4112
4436
  */
4113
4437
  controls?: NumberFieldProps['controls'];
4114
- /** Function called when the user makes any changes in the field. */
4438
+ /**
4439
+ * Callback when the user makes any changes in the field.
4440
+ */
4115
4441
  onInput?: ((event: CallbackEvent<typeof tagName$c>) => void) | null;
4116
- /** Function called after editing completes (typically on blur). */
4442
+ /**
4443
+ * Callback after editing completes (typically on blur).
4444
+ */
4117
4445
  onChange?: ((event: CallbackEvent<typeof tagName$c>) => void) | null;
4118
- /** Function called when the element loses focus. */
4446
+ /**
4447
+ * Callback when the element loses focus.
4448
+ */
4119
4449
  onBlur?: ((event: CallbackEvent<typeof tagName$c>) => void) | null;
4120
- /** Function called when the element receives focus. */
4450
+ /**
4451
+ * Callback when the element receives focus.
4452
+ */
4121
4453
  onFocus?: ((event: CallbackEvent<typeof tagName$c>) => void) | null;
4122
4454
  }
4455
+ type ElementProps$4 = Omit<NumberFieldJSXProps, 'accessory'>;
4123
4456
  declare global {
4124
4457
  interface HTMLElementTagNameMap {
4125
- [tagName$c]: NumberFieldJSXProps;
4458
+ [tagName$c]: ElementProps$4;
4126
4459
  }
4127
4460
  }
4128
4461
  declare module 'preact' {
4129
4462
  namespace createElement.JSX {
4130
4463
  interface IntrinsicElements {
4131
- [tagName$c]: Omit<NumberFieldJSXProps, 'accessory'> &
4132
- BaseElementPropsWithChildren<Omit<NumberFieldJSXProps, 'accessory'>>;
4464
+ [tagName$c]: IntrinsicElementProps<ElementProps$4>;
4133
4465
  }
4134
4466
  }
4135
4467
  }
@@ -4138,40 +4470,56 @@ declare const tagName$b = 's-date-field';
4138
4470
  interface DateFieldJSXProps
4139
4471
  extends Pick<
4140
4472
  DateFieldProps,
4141
- 'label' | 'details' | 'value' | 'disabled' | 'error'
4473
+ 'id' | 'label' | 'details' | 'value' | 'disabled' | 'error'
4142
4474
  > {
4143
- /** Function called when the user makes any changes in the field. */
4475
+ /**
4476
+ * Callback when the user makes any changes in the field.
4477
+ */
4144
4478
  onInput?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
4145
- /** Function called after editing completes (typically on blur). */
4479
+ /**
4480
+ * Callback after editing completes (typically on blur).
4481
+ */
4146
4482
  onChange?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
4147
- /** Function called when the element loses focus. */
4483
+ /**
4484
+ * Callback when the element loses focus.
4485
+ */
4148
4486
  onBlur?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
4149
- /** Function called when the element receives focus. */
4487
+ /**
4488
+ * Callback when the element receives focus.
4489
+ */
4150
4490
  onFocus?: ((event: CallbackEvent<typeof tagName$b>) => void) | null;
4151
4491
  }
4492
+ type ElementProps$3 = Omit<DateFieldJSXProps, 'accessory'>;
4152
4493
  declare global {
4153
4494
  interface HTMLElementTagNameMap {
4154
- [tagName$b]: DateFieldJSXProps;
4495
+ [tagName$b]: ElementProps$3;
4155
4496
  }
4156
4497
  }
4157
4498
  declare module 'preact' {
4158
4499
  namespace createElement.JSX {
4159
4500
  interface IntrinsicElements {
4160
- [tagName$b]: Omit<DateFieldJSXProps, 'accessory'> &
4161
- BaseElementPropsWithChildren<Omit<DateFieldJSXProps, 'accessory'>>;
4501
+ [tagName$b]: IntrinsicElementProps<ElementProps$3>;
4162
4502
  }
4163
4503
  }
4164
4504
  }
4165
4505
 
4166
4506
  declare const tagName$a = 's-date-picker';
4167
4507
  interface DatePickerJSXProps extends Pick<DatePickerProps, 'id' | 'value'> {
4168
- /** Function called when the user selects a date from the picker. */
4508
+ /**
4509
+ * Callback when the user selects a date from the picker.
4510
+ */
4169
4511
  onInput?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4170
- /** Function called when the user selects a date from the picker that is different to the current value. */
4512
+ /**
4513
+ * Callback when the user selects a date from the picker that is different to the current value.
4514
+ */
4171
4515
  onChange?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4172
- /** Function called when the date picker is dismissed. */
4516
+ /**
4517
+ * Callback when the date picker is dismissed.
4518
+ */
4173
4519
  onBlur?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4174
- /** Function called when the date picker is revealed. */
4520
+ /**
4521
+ * Callback when the date picker is revealed.
4522
+ */
4175
4523
  onFocus?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4176
4524
  }
4177
4525
  declare global {
@@ -4182,8 +4530,7 @@ declare global {
4182
4530
  declare module 'preact' {
4183
4531
  namespace createElement.JSX {
4184
4532
  interface IntrinsicElements {
4185
- [tagName$a]: DatePickerJSXProps &
4186
- BaseElementPropsWithChildren<DatePickerJSXProps>;
4533
+ [tagName$a]: IntrinsicElementProps<DatePickerJSXProps>;
4187
4534
  }
4188
4535
  }
4189
4536
  }
@@ -4191,16 +4538,20 @@ declare module 'preact' {
4191
4538
  declare const tagName$9 = 's-date-spinner';
4192
4539
  interface DateSpinnerJSXProps extends Pick<DateSpinnerProps, 'id' | 'value'> {
4193
4540
  /**
4194
- * Function called when the user makes a selection.
4541
+ * Callback when the user makes a selection.
4195
4542
  */
4196
4543
  onInput?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4197
4544
  /**
4198
- * Function called when the value changes. Only called when a different value is selected.
4545
+ * Callback when the value changes. Only called when a different value is selected.
4199
4546
  */
4200
4547
  onChange?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4201
- /** Function called when the date picker is dismissed. */
4548
+ /**
4549
+ * Callback when the date spinner is dismissed.
4550
+ */
4202
4551
  onBlur?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4203
- /** Function called when the date picker is revealed. */
4552
+ /**
4553
+ * Callback when the date spinner is revealed.
4554
+ */
4204
4555
  onFocus?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4205
4556
  }
4206
4557
  declare global {
@@ -4211,40 +4562,47 @@ declare global {
4211
4562
  declare module 'preact' {
4212
4563
  namespace createElement.JSX {
4213
4564
  interface IntrinsicElements {
4214
- [tagName$9]: DateSpinnerJSXProps &
4215
- BaseElementPropsWithChildren<DateSpinnerJSXProps>;
4565
+ [tagName$9]: IntrinsicElementProps<DateSpinnerJSXProps>;
4216
4566
  }
4217
4567
  }
4218
4568
  }
4219
4569
 
4220
4570
  declare const tagName$8 = 's-section';
4221
- interface SectionJSXProps extends Pick<SectionProps, 'children'> {
4222
- secondaryActions?: ComponentChild;
4571
+ interface SectionJSXProps extends Pick<SectionProps, 'id'> {
4223
4572
  /**
4224
- * Adds title text displayed at the top left of the section
4225
- *
4226
- * **Mobile surfaces:** Uses the standard POS Design System heading style for a section (not h2).
4573
+ * A title that describes the content of the section.
4227
4574
  *
4228
- * @default undefined
4575
+ * If omitted, and no secondaryActions are provided, the section will be rendered without a header.
4229
4576
  */
4230
4577
  heading?: string;
4578
+ /**
4579
+ * Button element to display in the section heading. A single button is supported.
4580
+ */
4581
+ secondaryActions?: ComponentChild;
4582
+ /**
4583
+ * The content of the Section.
4584
+ */
4585
+ children?: ComponentChildren;
4231
4586
  }
4587
+ type ElementProps$2 = Omit<SectionJSXProps, 'secondaryActions'>;
4232
4588
  declare global {
4233
4589
  interface HTMLElementTagNameMap {
4234
- [tagName$8]: SectionJSXProps;
4590
+ [tagName$8]: ElementProps$2;
4235
4591
  }
4236
4592
  }
4237
4593
  declare module 'preact' {
4238
4594
  namespace createElement.JSX {
4239
4595
  interface IntrinsicElements {
4240
- [tagName$8]: Omit<SectionJSXProps, 'secondaryActions'> &
4241
- BaseElementPropsWithChildren<Omit<SectionJSXProps, 'secondaryActions'>>;
4596
+ [tagName$8]: IntrinsicElementProps<ElementProps$2>;
4242
4597
  }
4243
4598
  }
4244
4599
  }
4245
4600
 
4246
4601
  declare const tagName$7 = 's-heading';
4247
- interface HeadingJSXProps {
4602
+ interface HeadingJSXProps extends Pick<HeadingProps, 'id'> {
4603
+ /**
4604
+ * The content of the Heading.
4605
+ */
4248
4606
  children?: ComponentChildren;
4249
4607
  }
4250
4608
  declare global {
@@ -4255,21 +4613,28 @@ declare global {
4255
4613
  declare module 'preact' {
4256
4614
  namespace createElement.JSX {
4257
4615
  interface IntrinsicElements {
4258
- [tagName$7]: HeadingJSXProps &
4259
- BaseElementPropsWithChildren<HeadingJSXProps>;
4616
+ [tagName$7]: IntrinsicElementProps<HeadingJSXProps>;
4260
4617
  }
4261
4618
  }
4262
4619
  }
4263
4620
 
4264
4621
  declare const tagName$6 = 's-time-picker';
4265
4622
  interface TimePickerJSXProps extends Pick<TimePickerProps, 'id' | 'value'> {
4266
- /** Function called when the user selects a time from the picker. */
4623
+ /**
4624
+ * Callback when the user selects a time from the picker.
4625
+ */
4267
4626
  onInput?: (event: CallbackEvent<typeof tagName$6>) => void | null;
4268
- /** Function called when the user selects a time from the picker that is different to the current value. */
4627
+ /**
4628
+ * Callback when the user selects a time from the picker that is different to the current value.
4629
+ */
4269
4630
  onChange?: (event: CallbackEvent<typeof tagName$6>) => void | null;
4270
- /** Function called when the time picker is dismissed. */
4631
+ /**
4632
+ * Callback when the time picker is dismissed.
4633
+ */
4271
4634
  onBlur?: (event: CallbackEvent<typeof tagName$6>) => void | null;
4272
- /** Function called when the time picker is revealed. */
4635
+ /**
4636
+ * Callback when the time picker is revealed.
4637
+ */
4273
4638
  onFocus?: (event: CallbackEvent<typeof tagName$6>) => void | null;
4274
4639
  }
4275
4640
  declare global {
@@ -4280,16 +4645,13 @@ declare global {
4280
4645
  declare module 'preact' {
4281
4646
  namespace createElement.JSX {
4282
4647
  interface IntrinsicElements {
4283
- [tagName$6]: TimePickerJSXProps &
4284
- BaseElementPropsWithChildren<TimePickerJSXProps>;
4648
+ [tagName$6]: IntrinsicElementProps<TimePickerJSXProps>;
4285
4649
  }
4286
4650
  }
4287
4651
  }
4288
4652
 
4289
4653
  declare const tagName$5 = 's-image';
4290
- type PickedProps$1 = Pick<ImageProps, 'src' | 'inlineSize' | 'objectFit'>;
4291
- interface ImageJSXProps extends PickedProps$1 {
4292
- children?: ComponentChildren;
4654
+ interface ImageJSXProps extends Pick<ImageProps, 'id' | 'objectFit'> {
4293
4655
  /**
4294
4656
  * The displayed inline width of the image.
4295
4657
  *
@@ -4304,7 +4666,15 @@ interface ImageJSXProps extends PickedProps$1 {
4304
4666
  *
4305
4667
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#width
4306
4668
  */
4307
- inlineSize?: PickedProps$1['inlineSize'];
4669
+ inlineSize?: ImageProps['inlineSize'];
4670
+ /**
4671
+ * The image source, which should be a remote URL.
4672
+ *
4673
+ * When the image is loading or no `src` is provided, a placeholder will be rendered.
4674
+ *
4675
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#src
4676
+ */
4677
+ src?: ImageProps['src'];
4308
4678
  }
4309
4679
  declare global {
4310
4680
  interface HTMLElementTagNameMap {
@@ -4314,33 +4684,46 @@ declare global {
4314
4684
  declare module 'preact' {
4315
4685
  namespace createElement.JSX {
4316
4686
  interface IntrinsicElements {
4317
- [tagName$5]: ImageJSXProps & BaseElementPropsWithChildren<ImageJSXProps>;
4687
+ [tagName$5]: IntrinsicElementProps<ImageJSXProps>;
4318
4688
  }
4319
4689
  }
4320
4690
  }
4321
4691
 
4322
4692
  declare const tagName$4 = 's-page';
4323
- type PickedProps = Pick<
4324
- PageProps,
4325
- 'heading' | 'subheading' | 'secondaryActions' | 'aside'
4326
- >;
4327
- interface PageJSXProps extends PickedProps {
4328
- children?: ComponentChildren;
4693
+ interface PageJSXProps extends Pick<PageProps, 'id'> {
4694
+ /**
4695
+ * The main page heading, displayed in the action bar at the top of the page.
4696
+ *
4697
+ * @default: ''
4698
+ */
4699
+ heading?: PageProps['heading'];
4700
+ /**
4701
+ * A secondary page heading, displayed under the main heading in the action bar.
4702
+ */
4703
+ subheading?: PageProps['subheading'];
4704
+ /**
4705
+ * Button element to display in the action bar. Only a single button is supported.
4706
+ */
4329
4707
  secondaryActions?: ComponentChild;
4708
+ /**
4709
+ * Content to display in the page's sidebar.
4710
+ */
4330
4711
  aside?: ComponentChild;
4712
+ /**
4713
+ * The content of the Page.
4714
+ */
4715
+ children?: ComponentChildren;
4331
4716
  }
4717
+ type ElementProps$1 = Omit<PageJSXProps, 'secondaryActions' | 'aside'>;
4332
4718
  declare global {
4333
4719
  interface HTMLElementTagNameMap {
4334
- [tagName$4]: PageJSXProps;
4720
+ [tagName$4]: ElementProps$1;
4335
4721
  }
4336
4722
  }
4337
4723
  declare module 'preact' {
4338
4724
  namespace createElement.JSX {
4339
4725
  interface IntrinsicElements {
4340
- [tagName$4]: Omit<PageJSXProps, 'secondaryActions' | 'aside'> &
4341
- BaseElementPropsWithChildren<
4342
- Omit<PageJSXProps, 'secondaryActions' | 'aside'>
4343
- >;
4726
+ [tagName$4]: IntrinsicElementProps<ElementProps$1>;
4344
4727
  }
4345
4728
  }
4346
4729
  }
@@ -4351,13 +4734,21 @@ interface TimeFieldJSXProps
4351
4734
  TimeFieldProps,
4352
4735
  'id' | 'label' | 'disabled' | 'value' | 'error' | 'details'
4353
4736
  > {
4354
- /** Function called when the user makes any changes in the field. */
4737
+ /**
4738
+ * Callback when the user makes any changes in the field.
4739
+ */
4355
4740
  onInput?: ((event: CallbackEvent<typeof tagName$3>) => void) | null;
4356
- /** Function called after editing completes (typically on blur). */
4741
+ /**
4742
+ * Callback after editing completes (typically on blur).
4743
+ */
4357
4744
  onChange?: ((event: CallbackEvent<typeof tagName$3>) => void) | null;
4358
- /** Function called when the element loses focus. */
4745
+ /**
4746
+ * Callback when the element loses focus.
4747
+ */
4359
4748
  onBlur?: ((event: CallbackEvent<typeof tagName$3>) => void) | null;
4360
- /** Function called when the element receives focus. */
4749
+ /**
4750
+ * Callback when the element receives focus.
4751
+ */
4361
4752
  onFocus?: ((event: CallbackEvent<typeof tagName$3>) => void) | null;
4362
4753
  }
4363
4754
  declare global {
@@ -4368,47 +4759,38 @@ declare global {
4368
4759
  declare module 'preact' {
4369
4760
  namespace createElement.JSX {
4370
4761
  interface IntrinsicElements {
4371
- [tagName$3]: TimeFieldJSXProps &
4372
- BaseElementPropsWithChildren<TimeFieldJSXProps>;
4762
+ [tagName$3]: IntrinsicElementProps<TimeFieldJSXProps>;
4373
4763
  }
4374
4764
  }
4375
4765
  }
4376
4766
 
4377
4767
  declare const tagName$2 = 's-pos-block';
4378
- interface PosBlockJSXProps extends Pick<SectionProps, 'children'> {
4768
+ interface PosBlockJSXProps extends Pick<POSBlockProps, 'id' | 'heading'> {
4769
+ /**
4770
+ * The secondary actions to perform, provided as button or link type elements.
4771
+ */
4379
4772
  secondaryActions?: ComponentChild;
4380
4773
  /**
4381
- * Adds title text displayed at the top left of the section
4382
- *
4383
- * **Mobile surfaces:** Uses the standard POS Design System heading style for a section (not h2).
4384
- *
4385
- * @default undefined
4774
+ * The content of the Block.
4386
4775
  */
4387
- heading?: string;
4776
+ children?: ComponentChildren;
4388
4777
  }
4778
+ type ElementProps = Omit<PosBlockJSXProps, 'secondaryActions'>;
4389
4779
  declare global {
4390
4780
  interface HTMLElementTagNameMap {
4391
- [tagName$2]: PosBlockJSXProps;
4781
+ [tagName$2]: ElementProps;
4392
4782
  }
4393
4783
  }
4394
4784
  declare module 'preact' {
4395
4785
  namespace createElement.JSX {
4396
4786
  interface IntrinsicElements {
4397
- [tagName$2]: Omit<PosBlockJSXProps, 'secondaryActions'> &
4398
- BaseElementPropsWithChildren<
4399
- Omit<PosBlockJSXProps, 'secondaryActions'>
4400
- >;
4787
+ [tagName$2]: IntrinsicElementProps<ElementProps>;
4401
4788
  }
4402
4789
  }
4403
4790
  }
4404
4791
 
4405
4792
  declare const tagName$1 = 's-qr-code';
4406
- interface QrCodeJSXProps {
4407
- /**
4408
- * The value to encode in the QR code
4409
- */
4410
- content: string;
4411
- }
4793
+ interface QrCodeJSXProps extends Pick<QRCodeProps, 'id' | 'content'> {}
4412
4794
  declare global {
4413
4795
  interface HTMLElementTagNameMap {
4414
4796
  [tagName$1]: QrCodeJSXProps;
@@ -4417,13 +4799,13 @@ declare global {
4417
4799
  declare module 'preact' {
4418
4800
  namespace createElement.JSX {
4419
4801
  interface IntrinsicElements {
4420
- [tagName$1]: QrCodeJSXProps & BaseElementProps<QrCodeJSXProps>;
4802
+ [tagName$1]: IntrinsicElementProps<QrCodeJSXProps>;
4421
4803
  }
4422
4804
  }
4423
4805
  }
4424
4806
 
4425
4807
  declare const tagName = 's-divider';
4426
- interface DividerJSXProps extends Pick<DividerProps, 'direction'> {}
4808
+ interface DividerJSXProps extends Pick<DividerProps, 'id' | 'direction'> {}
4427
4809
  declare global {
4428
4810
  interface HTMLElementTagNameMap {
4429
4811
  [tagName]: DividerJSXProps;
@@ -4432,8 +4814,7 @@ declare global {
4432
4814
  declare module 'preact' {
4433
4815
  namespace createElement.JSX {
4434
4816
  interface IntrinsicElements {
4435
- [tagName]: DividerJSXProps &
4436
- BaseElementPropsWithChildren<DividerJSXProps>;
4817
+ [tagName]: IntrinsicElementProps<DividerJSXProps>;
4437
4818
  }
4438
4819
  }
4439
4820
  }
@@ -4472,6 +4853,10 @@ export type {
4472
4853
  };
4473
4854
 
4474
4855
  interface Badge {
4856
+ /**
4857
+ * Sets the tone of the Badge, based on the intention of the information being conveyed.
4858
+ * @default 'auto'
4859
+ */
4475
4860
  tone?:
4476
4861
  | 'auto'
4477
4862
  | 'neutral'
@@ -4490,10 +4875,16 @@ interface BannerSlots {
4490
4875
  }
4491
4876
 
4492
4877
  interface Banner {
4493
- /** Determines whether the banner is hidden. */
4878
+ /**
4879
+ * Determines whether the banner is hidden.
4880
+ * @default false
4881
+ */
4494
4882
  hidden?: boolean;
4495
- /** Sets the tone of the Banner, based on the intention of the information being conveyed. */
4496
- tone?: 'info' | 'success' | 'warning' | 'critical';
4883
+ /**
4884
+ * Sets the tone of the Banner, based on the intention of the information being conveyed.
4885
+ * @default 'auto'
4886
+ */
4887
+ tone?: 'auto' | 'info' | 'success' | 'warning' | 'critical';
4497
4888
  /**
4498
4889
  * The title of the banner.
4499
4890
  * @default ''
@@ -4504,6 +4895,38 @@ interface Banner {
4504
4895
  }
4505
4896
 
4506
4897
  interface Box {
4898
+ /** A unique identifier for the element. */
4899
+ id?: string;
4900
+ /**
4901
+ * Adjust the block size.
4902
+ * @default 'auto'
4903
+ */
4904
+ blockSize?: SizeUnitsOrAuto;
4905
+ /**
4906
+ * Adjust the inline size.
4907
+ * @default 'auto'
4908
+ */
4909
+ inlineSize?: SizeUnitsOrAuto;
4910
+ /**
4911
+ * Adjust the maximum block size.
4912
+ * @default 'none'
4913
+ */
4914
+ maxBlockSize?: SizeUnitsOrNone;
4915
+ /**
4916
+ * Adjust the maximum inline size.
4917
+ * @default 'none'
4918
+ */
4919
+ maxInlineSize?: SizeUnitsOrNone;
4920
+ /**
4921
+ * Adjust the minimum block size.
4922
+ * @default '0'
4923
+ */
4924
+ minBlockSize?: SizeUnits;
4925
+ /**
4926
+ * Adjust the minimum inline size.
4927
+ * @default '0'
4928
+ */
4929
+ minInlineSize?: SizeUnits;
4507
4930
  /**
4508
4931
  * Adjust the padding of all edges.
4509
4932
  *
@@ -4532,7 +4955,7 @@ interface Box {
4532
4955
  * This overrides the block value of `padding`.
4533
4956
  * @default '' - meaning no override
4534
4957
  */
4535
- paddingBlock?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
4958
+ paddingBlock?: '' | MaybeTwoValuesShorthandProperty<PaddingKeyword>;
4536
4959
  /**
4537
4960
  * Adjust the block-start padding.
4538
4961
  *
@@ -4555,7 +4978,7 @@ interface Box {
4555
4978
  * This overrides the inline value of `padding`.
4556
4979
  * @default '' - meaning no override
4557
4980
  */
4558
- paddingInline?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
4981
+ paddingInline?: '' | MaybeTwoValuesShorthandProperty<PaddingKeyword>;
4559
4982
  /**
4560
4983
  * Adjust the inline-start padding.
4561
4984
  *
@@ -4570,45 +4993,10 @@ interface Box {
4570
4993
  * @default '' - meaning no override
4571
4994
  */
4572
4995
  paddingInlineEnd?: '' | PaddingKeyword;
4573
- /**
4574
- * Adjust the block size.
4575
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/block-size
4576
- * @default 'auto'
4577
- */
4578
- blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
4579
- /**
4580
- * Adjust the minimum block size.
4581
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
4582
- * @default '0'
4583
- */
4584
- minBlockSize?: MaybeResponsive<SizeUnits>;
4585
- /**
4586
- * Adjust the maximum block size.
4587
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
4588
- * @default 'none'
4589
- */
4590
- maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
4591
- /**
4592
- * Adjust the inline size.
4593
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
4594
- * @default 'auto'
4595
- */
4596
- inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
4597
- /**
4598
- * Adjust the minimum inline size.
4599
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
4600
- * @default '0'
4601
- */
4602
- minInlineSize?: MaybeResponsive<SizeUnits>;
4603
- /**
4604
- * Adjust the maximum inline size.
4605
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
4606
- * @default 'none'
4607
- */
4608
- maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
4609
4996
  }
4610
4997
 
4611
4998
  interface ButtonEvents {
4999
+ /** Called when the button is activated. */
4612
5000
  click?: (event: CallbackEvent<typeof tagName$t>) => void;
4613
5001
  }
4614
5002
 
@@ -4636,6 +5024,8 @@ interface Button {
4636
5024
  * @default 'auto' - the variant is automatically determined by the Button's context
4637
5025
  */
4638
5026
  variant?: 'primary' | 'secondary';
5027
+ /** A unique identifier for the element. */
5028
+ id?: string;
4639
5029
  /**
4640
5030
  * Disables the Button meaning it cannot be clicked or receive focus.
4641
5031
  * @default false
@@ -4658,6 +5048,8 @@ interface Button {
4658
5048
  }
4659
5049
 
4660
5050
  interface Choice {
5051
+ /** A unique identifier for the element. */
5052
+ id?: string;
4661
5053
  /** The value used in form data when the control is checked. */
4662
5054
  value?: string;
4663
5055
  /**
@@ -4673,13 +5065,15 @@ interface Choice {
4673
5065
  }
4674
5066
 
4675
5067
  interface ChoiceListEvents {
4676
- /** Function called when the user changes a choice. Fires simultaneously with onChange. */
5068
+ /** Callback when the user changes a choice. Fires simultaneously with onChange. */
4677
5069
  input?: (event: CallbackEvent<typeof tagName$k>) => void;
4678
- /** Function called when the user changes a choice. Fires simultaneously with onInput. */
5070
+ /** Callback when the user changes a choice. Fires simultaneously with onInput. */
4679
5071
  change?: (event: CallbackEvent<typeof tagName$k>) => void;
4680
5072
  }
4681
5073
 
4682
5074
  interface ChoiceList {
5075
+ /** A unique identifier for the element. */
5076
+ id?: string;
4683
5077
  /**
4684
5078
  * An array of the `value`s of the selected options.
4685
5079
  *
@@ -4694,10 +5088,13 @@ interface ChoiceList {
4694
5088
  }
4695
5089
 
4696
5090
  interface ClickableEvents {
5091
+ /** Callback when the element is activated. */
4697
5092
  click?: (event: CallbackEvent<typeof tagName$e>) => void;
4698
5093
  }
4699
5094
 
4700
5095
  interface Clickable {
5096
+ /** A unique identifier for the element. */
5097
+ id?: string;
4701
5098
  /**
4702
5099
  * Disables the clickable, meaning it cannot be clicked or receive focus.
4703
5100
  *
@@ -4713,17 +5110,19 @@ interface Clickable {
4713
5110
  }
4714
5111
 
4715
5112
  interface DateFieldEvents {
4716
- /** Function called when the user makes any changes in the field. */
5113
+ /** Callback when the user makes any changes in the field. */
4717
5114
  input?: (event: CallbackEvent<typeof tagName$b>) => void;
4718
- /** Function called after editing completes (typically on blur). */
5115
+ /** Callback after editing completes (typically on blur). */
4719
5116
  change?: (event: CallbackEvent<typeof tagName$b>) => void;
4720
- /** Function called when the element loses focus. */
5117
+ /** Callback when the element loses focus. */
4721
5118
  blur?: (event: CallbackEvent<typeof tagName$b>) => void;
4722
- /** Function called when the element receives focus. */
5119
+ /** Callback when the element receives focus. */
4723
5120
  focus?: (event: CallbackEvent<typeof tagName$b>) => void;
4724
5121
  }
4725
5122
 
4726
5123
  interface DateField {
5124
+ /** A unique identifier for the element. */
5125
+ id?: string;
4727
5126
  /** Content to use as the field label. */
4728
5127
  label?: string;
4729
5128
  /**
@@ -4749,13 +5148,13 @@ interface DateField {
4749
5148
  }
4750
5149
 
4751
5150
  interface DatePickerEvents {
4752
- /** Function called when the user selects a date from the picker. */
5151
+ /** Callback when the user selects a date from the picker. */
4753
5152
  input?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4754
- /** Function called when the user selects a date from the picker that is different to the current value. */
5153
+ /** Callback when the user selects a date from the picker that is different to the current value. */
4755
5154
  change?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4756
- /** Function called when the date picker is dismissed. */
5155
+ /** Callback when the date picker is dismissed. */
4757
5156
  blur?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4758
- /** Function called when the date picker is revealed. */
5157
+ /** Callback when the date picker is revealed. */
4759
5158
  focus?: (event: CallbackEvent<typeof tagName$a>) => void | null;
4760
5159
  }
4761
5160
 
@@ -4780,13 +5179,13 @@ interface DatePicker {
4780
5179
  }
4781
5180
 
4782
5181
  interface DateSpinnerEvents {
4783
- /** Function called when the user makes a selection. */
5182
+ /** Callback when the user makes a selection. */
4784
5183
  input?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4785
- /** Function called when the value changes. Only called when a different value is selected. */
5184
+ /** Callback when the value changes. Only called when a different value is selected. */
4786
5185
  change?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4787
- /** Function called when the date picker is dismissed. */
5186
+ /** Callback when the date spinner is dismissed. */
4788
5187
  blur?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4789
- /** Function called when the date picker is revealed. */
5188
+ /** Callback when the date spinner is revealed. */
4790
5189
  focus?: (event: CallbackEvent<typeof tagName$9>) => void | null;
4791
5190
  }
4792
5191
 
@@ -4803,6 +5202,8 @@ interface DateSpinner {
4803
5202
  }
4804
5203
 
4805
5204
  interface Divider {
5205
+ /** A unique identifier for the element. */
5206
+ id?: string;
4806
5207
  /**
4807
5208
  * Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
4808
5209
  * @default 'inline'
@@ -4811,13 +5212,13 @@ interface Divider {
4811
5212
  }
4812
5213
 
4813
5214
  interface EmailFieldEvents {
4814
- /** Function called when the user makes any changes in the field. */
5215
+ /** Callback when the user makes any changes in the field. */
4815
5216
  input?: (event: CallbackEvent<typeof tagName$f>) => void;
4816
- /** Function called after editing completes (typically on blur). */
5217
+ /** Callback after editing completes (typically on blur). */
4817
5218
  change?: (event: CallbackEvent<typeof tagName$f>) => void;
4818
- /** Function called when the element loses focus. */
5219
+ /** Callback when the element loses focus. */
4819
5220
  blur?: (event: CallbackEvent<typeof tagName$f>) => void;
4820
- /** Function called when the element receives focus. */
5221
+ /** Callback when the element receives focus. */
4821
5222
  focus?: (event: CallbackEvent<typeof tagName$f>) => void;
4822
5223
  }
4823
5224
 
@@ -4827,6 +5228,8 @@ interface EmailFieldSlots {
4827
5228
  }
4828
5229
 
4829
5230
  interface EmailField {
5231
+ /** A unique identifier for the element. */
5232
+ id?: string;
4830
5233
  /** Content to use as the field label. */
4831
5234
  label?: string;
4832
5235
  /** The current value for the field. If omitted, the field will be empty. */
@@ -4866,12 +5269,19 @@ interface EmailField {
4866
5269
  details?: string;
4867
5270
  }
4868
5271
 
5272
+ interface Heading {
5273
+ /** A unique identifier for the element. */
5274
+ id?: string;
5275
+ }
5276
+
4869
5277
  interface Icon {
4870
5278
  /**
4871
- * The type of icon to display. Maps to PDS icon names.
5279
+ * The type of icon to display.
4872
5280
  * @default ''
4873
5281
  */
4874
5282
  type?: SupportedIconNames;
5283
+ /** A unique identifier for the element. */
5284
+ id?: string;
4875
5285
  /**
4876
5286
  * Sets the tone of the icon, based on the intention of the information being conveyed.
4877
5287
  * @default 'auto'
@@ -4904,14 +5314,14 @@ interface Image {
4904
5314
  */
4905
5315
  inlineSize?: 'fill' | 'auto';
4906
5316
  /**
4907
- * The image source (either a remote URL or a local file resource).
5317
+ * The image source, which should be a remote URL.
4908
5318
  *
4909
5319
  * When the image is loading or no `src` is provided, a placeholder will be rendered.
4910
- * @implementation Surfaces may choose the style of the placeholder, but the space the image occupies should be
4911
- * reserved, except in cases where the image area does not have a contextual inline or block size, which should be rare.
4912
5320
  * @see ://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#src
4913
5321
  */
4914
5322
  src?: string;
5323
+ /** A unique identifier for the element. */
5324
+ id?: string;
4915
5325
  /**
4916
5326
  * Determines how the content of the image is resized to fit its container.
4917
5327
  * The image is positioned in the center of the container.
@@ -4922,12 +5332,22 @@ interface Image {
4922
5332
  }
4923
5333
 
4924
5334
  interface ModalEvents {
5335
+ /** Callback when the modal is hidden. */
4925
5336
  hide?: (event: CallbackEvent<typeof tagName$i>) => void | null;
5337
+ /** Callback when the modal is shown. */
4926
5338
  show?: (event: CallbackEvent<typeof tagName$i>) => void | null;
4927
5339
  }
4928
5340
 
4929
5341
  interface ModalSlots {
5342
+ /**
5343
+ * The primary action button displayed in the modal.
5344
+ *
5345
+ * The tone of the button is used to define the tone of the modal.
5346
+ *
5347
+ * If omitted, the modal will default to an 'info' tone, and show an 'OK' button, translated according to the user's locale.
5348
+ */
4930
5349
  'primary-action'?: HTMLElement;
5350
+ /** The secondary action buttons displayed in the modal. */
4931
5351
  'secondary-actions'?: HTMLElement;
4932
5352
  }
4933
5353
 
@@ -4939,13 +5359,13 @@ interface Modal {
4939
5359
  }
4940
5360
 
4941
5361
  interface NumberFieldEvents {
4942
- /** Function called when the user makes any changes in the field. */
5362
+ /** Callback when the user makes any changes in the field. */
4943
5363
  input?: (event: CallbackEvent<typeof tagName$c>) => void;
4944
- /** Function called after editing completes (typically on blur). */
5364
+ /** Callback after editing completes (typically on blur). */
4945
5365
  change?: (event: CallbackEvent<typeof tagName$c>) => void;
4946
- /** Function called when the element loses focus. */
5366
+ /** Callback when the element loses focus. */
4947
5367
  blur?: (event: CallbackEvent<typeof tagName$c>) => void;
4948
- /** Function called when the element receives focus. */
5368
+ /** Callback when the element receives focus. */
4949
5369
  focus?: (event: CallbackEvent<typeof tagName$c>) => void;
4950
5370
  }
4951
5371
 
@@ -5017,6 +5437,8 @@ interface NumberField {
5017
5437
  * - `auto`: the presence of the controls depends on the surface and context.
5018
5438
  */
5019
5439
  controls?: 'auto' | 'stepper' | 'none';
5440
+ /** A unique identifier for the element. */
5441
+ id?: string;
5020
5442
  /** The current value for the field. If omitted, the field will be empty. */
5021
5443
  value?: string;
5022
5444
  /**
@@ -5045,37 +5467,82 @@ interface NumberField {
5045
5467
  }
5046
5468
 
5047
5469
  interface PageSlots {
5470
+ /** Button element to display in the action bar. Only a single button is supported. */
5048
5471
  'secondary-actions'?: HTMLElement;
5472
+ /** Content to display in the page's sidebar. */
5049
5473
  aside?: HTMLElement;
5050
5474
  }
5051
5475
 
5052
5476
  interface Page {
5053
- /** The main page heading */
5477
+ /**
5478
+ * The main page heading, displayed in the action bar at the top of the page.
5479
+ * @default : ''
5480
+ */
5054
5481
  heading?: string;
5055
- /** The text to be used as subtitle. */
5482
+ /** A secondary page heading, displayed under the main heading in the action bar. */
5056
5483
  subheading?: string;
5484
+ /** A unique identifier for the element. */
5485
+ id?: string;
5057
5486
  }
5058
5487
 
5059
5488
  interface PosBlockSlots {
5489
+ /** The secondary actions to perform, provided as button or link type elements. */
5060
5490
  'secondary-actions'?: HTMLElement;
5061
5491
  }
5062
5492
 
5063
5493
  interface PosBlock {
5494
+ /** A unique identifier for the element. */
5495
+ id?: string;
5064
5496
  /**
5065
- * Adds title text displayed at the top left of the section
5497
+ * The heading to display within the POSBlock.
5066
5498
  *
5067
- * **Mobile surfaces:** Uses the standard POS Design System heading style for a section (not h2).
5068
- * @default undefined
5499
+ * If not provided, the description of the extension will be used when a heading is appropriate.
5069
5500
  */
5070
5501
  heading?: string;
5071
5502
  }
5072
5503
 
5073
5504
  interface QrCode {
5074
- /** The value to encode in the QR code */
5075
- content: string;
5505
+ /** A unique identifier for the element. */
5506
+ id?: string;
5507
+ /**
5508
+ * The content to be encoded in the QR code, which can be any string such as a URL, email address, plain text, etc.
5509
+ * Specific string formatting can trigger actions on the user's device when scanned, like opening geolocation
5510
+ * coordinates on a map, opening a preferred app or app store entry, preparing an email, text message, and more.
5511
+ */
5512
+ content?: string;
5076
5513
  }
5077
5514
 
5078
5515
  interface ScrollBox {
5516
+ /**
5517
+ * Adjust the block size.
5518
+ * @default 'auto'
5519
+ */
5520
+ blockSize?: SizeUnitsOrAuto;
5521
+ /**
5522
+ * Adjust the inline size.
5523
+ * @default 'auto'
5524
+ */
5525
+ inlineSize?: SizeUnitsOrAuto;
5526
+ /**
5527
+ * Adjust the maximum block size.
5528
+ * @default 'none'
5529
+ */
5530
+ maxBlockSize?: SizeUnitsOrNone;
5531
+ /**
5532
+ * Adjust the maximum inline size.
5533
+ * @default 'none'
5534
+ */
5535
+ maxInlineSize?: SizeUnitsOrNone;
5536
+ /**
5537
+ * Adjust the minimum block size.
5538
+ * @default '0'
5539
+ */
5540
+ minBlockSize?: SizeUnits;
5541
+ /**
5542
+ * Adjust the minimum inline size.
5543
+ * @default '0'
5544
+ */
5545
+ minInlineSize?: SizeUnits;
5079
5546
  /**
5080
5547
  * Adjust the padding of all edges.
5081
5548
  *
@@ -5104,7 +5571,7 @@ interface ScrollBox {
5104
5571
  * This overrides the block value of `padding`.
5105
5572
  * @default '' - meaning no override
5106
5573
  */
5107
- paddingBlock?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
5574
+ paddingBlock?: '' | MaybeTwoValuesShorthandProperty<PaddingKeyword>;
5108
5575
  /**
5109
5576
  * Adjust the block-start padding.
5110
5577
  *
@@ -5127,7 +5594,7 @@ interface ScrollBox {
5127
5594
  * This overrides the inline value of `padding`.
5128
5595
  * @default '' - meaning no override
5129
5596
  */
5130
- paddingInline?: MaybeTwoValuesShorthandProperty<'' | PaddingKeyword>;
5597
+ paddingInline?: '' | MaybeTwoValuesShorthandProperty<PaddingKeyword>;
5131
5598
  /**
5132
5599
  * Adjust the inline-start padding.
5133
5600
  *
@@ -5144,56 +5611,22 @@ interface ScrollBox {
5144
5611
  paddingInlineEnd?: '' | PaddingKeyword;
5145
5612
  /** A unique identifier for the element. */
5146
5613
  id?: string;
5147
- /**
5148
- * Adjust the block size.
5149
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/block-size
5150
- * @default 'auto'
5151
- */
5152
- blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
5153
- /**
5154
- * Adjust the minimum block size.
5155
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
5156
- * @default '0'
5157
- */
5158
- minBlockSize?: MaybeResponsive<SizeUnits>;
5159
- /**
5160
- * Adjust the maximum block size.
5161
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
5162
- * @default 'none'
5163
- */
5164
- maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
5165
- /**
5166
- * Adjust the inline size.
5167
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
5168
- * @default 'auto'
5169
- */
5170
- inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
5171
- /**
5172
- * Adjust the minimum inline size.
5173
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
5174
- * @default '0'
5175
- */
5176
- minInlineSize?: MaybeResponsive<SizeUnits>;
5177
- /**
5178
- * Adjust the maximum inline size.
5179
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
5180
- * @default 'none'
5181
- */
5182
- maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
5183
5614
  }
5184
5615
 
5185
5616
  interface SearchFieldEvents {
5186
- /** Function called when the user changes the value in the field. */
5617
+ /** Callback when the user changes the value in the field. */
5187
5618
  input?: (event: CallbackEvent<typeof tagName$g>) => void;
5188
- /** Function called when the field loses focus after the user changes the value in the field. */
5619
+ /** Callback when the field loses focus after the user changes the value in the field. */
5189
5620
  change?: (event: CallbackEvent<typeof tagName$g>) => void;
5190
- /** Function called when the field loses focus. */
5621
+ /** Callback when the field loses focus. */
5191
5622
  blur?: (event: CallbackEvent<typeof tagName$g>) => void;
5192
- /** Function called when the field is focused. */
5623
+ /** Callback when the field is focused. */
5193
5624
  focus?: (event: CallbackEvent<typeof tagName$g>) => void;
5194
5625
  }
5195
5626
 
5196
5627
  interface SearchField {
5628
+ /** A unique identifier for the element. */
5629
+ id?: string;
5197
5630
  /**
5198
5631
  * Disables the field, disallowing any interaction.
5199
5632
  * @default false
@@ -5206,17 +5639,19 @@ interface SearchField {
5206
5639
  }
5207
5640
 
5208
5641
  interface SectionSlots {
5642
+ /** Button element to display in the section heading. A single button is supported. */
5209
5643
  'secondary-actions'?: HTMLElement;
5210
5644
  }
5211
5645
 
5212
5646
  interface Section {
5213
5647
  /**
5214
- * Adds title text displayed at the top left of the section
5648
+ * A title that describes the content of the section.
5215
5649
  *
5216
- * **Mobile surfaces:** Uses the standard POS Design System heading style for a section (not h2).
5217
- * @default undefined
5650
+ * If omitted, and no secondaryActions are provided, the section will be rendered without a header.
5218
5651
  */
5219
5652
  heading?: string;
5653
+ /** A unique identifier for the element. */
5654
+ id?: string;
5220
5655
  }
5221
5656
 
5222
5657
  interface Stack {
@@ -5292,92 +5727,94 @@ interface Stack {
5292
5727
  * @see ://developer.mozilla.org/en-US/docs/Web/CSS/block-size
5293
5728
  * @default 'auto'
5294
5729
  */
5295
- blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
5730
+ blockSize?: SizeUnitsOrAuto;
5296
5731
  /**
5297
5732
  * Adjust the maximum block size.
5298
5733
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
5299
5734
  * @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-block-size
5300
5735
  * @default 'none'
5301
5736
  */
5302
- maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
5737
+ maxBlockSize?: SizeUnitsOrNone;
5303
5738
  /**
5304
5739
  * Adjust the maximum inline size.
5305
5740
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
5306
5741
  * @see ://developer.mozilla.org/en-US/docs/Web/CSS/max-inline-size
5307
5742
  * @default 'none'
5308
5743
  */
5309
- maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
5744
+ maxInlineSize?: SizeUnitsOrNone;
5310
5745
  /**
5311
5746
  * Adjust the minimum block size.
5312
5747
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
5313
5748
  * @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-block-size
5314
5749
  * @default '0'
5315
5750
  */
5316
- minBlockSize?: MaybeResponsive<SizeUnits>;
5751
+ minBlockSize?: SizeUnits;
5317
5752
  /**
5318
5753
  * Adjust the minimum inline size.
5319
5754
  * **Mobile surfaces:** Avoid using percentage-based sizes. They do not behave as expected when placed within a scrollable container.
5320
5755
  * @see ://developer.mozilla.org/en-US/docs/Web/CSS/min-inline-size
5321
5756
  * @default '0'
5322
5757
  */
5323
- minInlineSize?: MaybeResponsive<SizeUnits>;
5324
- /**
5325
- * Aligns the Stack's children along the cross axis.
5326
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/align-items
5327
- * @default 'normal'
5328
- */
5329
- alignItems?: MaybeResponsive<AlignItemsKeyword>;
5330
- /**
5331
- * Aligns the Stack along the cross axis.
5332
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/align-content
5333
- * @default 'normal'
5334
- */
5335
- alignContent?: MaybeResponsive<AlignContentKeyword>;
5758
+ minInlineSize?: SizeUnits;
5759
+ /** Aligns the Stack's children along the cross axis. */
5760
+ alignItems?: AlignItemsKeyword;
5761
+ /** Aligns the Stack along the cross axis. */
5762
+ alignContent?: AlignContentKeyword;
5336
5763
  /**
5337
5764
  * Adjust spacing between elements.
5338
- *
5339
- * A single value applies to both axes.
5340
- * A pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
5765
+ * A single value applies to both axes. A pair of values (eg large-100 large-500) can be used to set the inline and block axes respectively.
5341
5766
  * @default 'none'
5342
5767
  */
5343
- gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
5768
+ gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword>;
5344
5769
  /**
5345
- * Adjust spacing between elements in the inline axis.
5346
- *
5347
- * This overrides the column value of `gap`.
5770
+ * Adjust spacing between elements in the inline axis. This overrides the column value of gap.
5348
5771
  * @default '' - meaning no override
5349
5772
  */
5350
- columnGap?: MaybeResponsive<'' | SpacingKeyword>;
5773
+ columnGap?: '' | SpacingKeyword;
5351
5774
  /**
5352
- * Sets how the children are placed within the Stack. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
5775
+ * Sets how the children are placed within the Stack. This uses logical properties.
5353
5776
  * @default 'block'
5354
- * @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
5777
+ * @implementation - the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
5355
5778
  */
5356
- direction?: MaybeResponsive<'block' | 'inline'>;
5779
+ direction?: 'block' | 'inline';
5357
5780
  /**
5358
5781
  * Adjust the inline size.
5359
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
5782
+ * @see — https://developer.mozilla.org/en-US/docs/Web/CSS/inline-size
5360
5783
  * @default 'auto'
5361
5784
  */
5362
- inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
5785
+ inlineSize?: SizeUnitsOrAuto;
5363
5786
  /**
5364
5787
  * Aligns the Stack along the main axis.
5365
- * @see ://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
5788
+ * @see — https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
5366
5789
  * @default 'normal'
5367
5790
  */
5368
- justifyContent?: MaybeResponsive<JustifyContentKeyword>;
5791
+ justifyContent?: JustifyContentKeyword;
5369
5792
  /**
5370
- * Adjust spacing between elements in the block axis.
5371
- *
5372
- * This overrides the row value of `gap`.
5793
+ * Adjust spacing between elements in the block axis. This overrides the row value of gap.
5373
5794
  * @default '' - meaning no override
5374
5795
  */
5375
- rowGap?: MaybeResponsive<'' | SpacingKeyword>;
5796
+ rowGap?: '' | SpacingKeyword;
5797
+ /** A unique identifier for the element. */
5798
+ id?: string;
5376
5799
  }
5377
5800
 
5378
5801
  interface Text {
5379
- color?: 'subdued' | 'base' | 'strong';
5802
+ /**
5803
+ * Modify the color to be more or less intense.
5804
+ * @default 'base'
5805
+ */
5806
+ color?: ColorKeyword;
5807
+ /**
5808
+ * Provide semantic meaning and default styling to the text.
5809
+ *
5810
+ * Other presentation properties on Text override the default styling.
5811
+ * @default 'generic'
5812
+ */
5380
5813
  type?: 'strong' | 'small' | 'generic';
5814
+ /**
5815
+ * Sets the tone of the component, based on the intention of the information being conveyed.
5816
+ * @default 'auto'
5817
+ */
5381
5818
  tone?:
5382
5819
  | 'auto'
5383
5820
  | 'neutral'
@@ -5386,16 +5823,18 @@ interface Text {
5386
5823
  | 'caution'
5387
5824
  | 'warning'
5388
5825
  | 'critical';
5826
+ /** A unique identifier for the element. */
5827
+ id?: string;
5389
5828
  }
5390
5829
 
5391
5830
  interface TextAreaEvents {
5392
- /** Function called when the user makes any changes in the field. */
5831
+ /** Callback when the user makes any changes in the field. */
5393
5832
  input?: (event: CallbackEvent<typeof tagName$d>) => void;
5394
- /** Function called after editing completes (typically on blur). */
5833
+ /** Callback after editing completes (typically on blur). */
5395
5834
  change?: (event: CallbackEvent<typeof tagName$d>) => void;
5396
- /** Function called when the element loses focus. */
5835
+ /** Callback when the element loses focus. */
5397
5836
  blur?: (event: CallbackEvent<typeof tagName$d>) => void;
5398
- /** Function called when the element receives focus. */
5837
+ /** Callback when the element receives focus. */
5399
5838
  focus?: (event: CallbackEvent<typeof tagName$d>) => void;
5400
5839
  }
5401
5840
 
@@ -5405,6 +5844,8 @@ interface TextAreaSlots {
5405
5844
  }
5406
5845
 
5407
5846
  interface TextArea {
5847
+ /** A unique identifier for the element. */
5848
+ id?: string;
5408
5849
  /** Content to use as the field label. */
5409
5850
  label?: string;
5410
5851
  /**
@@ -5450,13 +5891,13 @@ interface TextArea {
5450
5891
  }
5451
5892
 
5452
5893
  interface TextFieldEvents {
5453
- /** Function called when the user makes any changes in the field. */
5894
+ /** Callback when the user makes any changes in the field. */
5454
5895
  input?: (event: CallbackEvent<typeof tagName$h>) => void;
5455
- /** Function called after editing completes (typically on blur). */
5896
+ /** Callback after editing completes (typically on blur). */
5456
5897
  change?: (event: CallbackEvent<typeof tagName$h>) => void;
5457
- /** Function called when the element loses focus. */
5898
+ /** Callback when the element loses focus. */
5458
5899
  blur?: (event: CallbackEvent<typeof tagName$h>) => void;
5459
- /** Function called when the element receives focus. */
5900
+ /** Callback when the element receives focus. */
5460
5901
  focus?: (event: CallbackEvent<typeof tagName$h>) => void;
5461
5902
  }
5462
5903
 
@@ -5466,6 +5907,8 @@ interface TextFieldSlots {
5466
5907
  }
5467
5908
 
5468
5909
  interface TextField {
5910
+ /** A unique identifier for the element. */
5911
+ id?: string;
5469
5912
  /** Content to use as the field label. */
5470
5913
  label?: string;
5471
5914
  /**
@@ -5506,12 +5949,13 @@ interface TextField {
5506
5949
  }
5507
5950
 
5508
5951
  interface TileEvents {
5952
+ /** Callback when the Tile is activated. */
5509
5953
  click?: (event: CallbackEvent<typeof tagName$q>) => void;
5510
5954
  }
5511
5955
 
5512
5956
  interface Tile {
5513
5957
  /**
5514
- * Disables the Button meaning it cannot be clicked or receive focus.
5958
+ * Disables the Tile meaning it cannot be clicked or receive focus.
5515
5959
  * @default false
5516
5960
  */
5517
5961
  disabled?: boolean;
@@ -5542,13 +5986,13 @@ interface Tile {
5542
5986
  }
5543
5987
 
5544
5988
  interface TimeFieldEvents {
5545
- /** Function called when the user makes any changes in the field. */
5989
+ /** Callback when the user makes any changes in the field. */
5546
5990
  input?: (event: CallbackEvent<typeof tagName$3>) => void;
5547
- /** Function called after editing completes (typically on blur). */
5991
+ /** Callback after editing completes (typically on blur). */
5548
5992
  change?: (event: CallbackEvent<typeof tagName$3>) => void;
5549
- /** Function called when the element loses focus. */
5993
+ /** Callback when the element loses focus. */
5550
5994
  blur?: (event: CallbackEvent<typeof tagName$3>) => void;
5551
- /** Function called when the element receives focus. */
5995
+ /** Callback when the element receives focus. */
5552
5996
  focus?: (event: CallbackEvent<typeof tagName$3>) => void;
5553
5997
  }
5554
5998
 
@@ -5593,13 +6037,13 @@ interface TimeField {
5593
6037
  }
5594
6038
 
5595
6039
  interface TimePickerEvents {
5596
- /** Function called when the user selects a time from the picker. */
6040
+ /** Callback when the user selects a time from the picker. */
5597
6041
  input?: (event: CallbackEvent<typeof tagName$6>) => void | null;
5598
- /** Function called when the user selects a time from the picker that is different to the current value. */
6042
+ /** Callback when the user selects a time from the picker that is different to the current value. */
5599
6043
  change?: (event: CallbackEvent<typeof tagName$6>) => void | null;
5600
- /** Function called when the time picker is dismissed. */
6044
+ /** Callback when the time picker is dismissed. */
5601
6045
  blur?: (event: CallbackEvent<typeof tagName$6>) => void | null;
5602
- /** Function called when the time picker is revealed. */
6046
+ /** Callback when the time picker is revealed. */
5603
6047
  focus?: (event: CallbackEvent<typeof tagName$6>) => void | null;
5604
6048
  }
5605
6049
 
@@ -5628,476 +6072,420 @@ interface TimePicker {
5628
6072
  declare module 'react' {
5629
6073
  namespace JSX {
5630
6074
  interface IntrinsicElements {
5631
- [tagName$t]: ButtonJSXProps &
5632
- BaseElementPropsWithChildren<ButtonJSXProps>;
6075
+ [tagName$t]: IntrinsicElementProps<ButtonJSXProps>;
5633
6076
  }
5634
6077
  }
5635
6078
  }
5636
6079
  declare global {
5637
6080
  namespace JSX {
5638
6081
  interface IntrinsicElements {
5639
- [tagName$t]: ButtonJSXProps &
5640
- BaseElementPropsWithChildren<ButtonJSXProps>;
6082
+ [tagName$t]: IntrinsicElementProps<ButtonJSXProps>;
5641
6083
  }
5642
6084
  }
5643
6085
  }
5644
6086
  declare module 'react' {
5645
6087
  namespace JSX {
5646
6088
  interface IntrinsicElements {
5647
- [tagName$s]: TextJSXProps & BaseElementPropsWithChildren<TextJSXProps>;
6089
+ [tagName$s]: IntrinsicElementProps<TextJSXProps>;
5648
6090
  }
5649
6091
  }
5650
6092
  }
5651
6093
  declare global {
5652
6094
  namespace JSX {
5653
6095
  interface IntrinsicElements {
5654
- [tagName$s]: TextJSXProps & BaseElementPropsWithChildren<TextJSXProps>;
6096
+ [tagName$s]: IntrinsicElementProps<TextJSXProps>;
5655
6097
  }
5656
6098
  }
5657
6099
  }
5658
6100
  declare module 'react' {
5659
6101
  namespace JSX {
5660
6102
  interface IntrinsicElements {
5661
- [tagName$r]: ScrollBoxJSXProps &
5662
- BaseElementPropsWithChildren<ScrollBoxJSXProps>;
6103
+ [tagName$r]: IntrinsicElementProps<ScrollBoxJSXProps>;
5663
6104
  }
5664
6105
  }
5665
6106
  }
5666
6107
  declare global {
5667
6108
  namespace JSX {
5668
6109
  interface IntrinsicElements {
5669
- [tagName$r]: ScrollBoxJSXProps &
5670
- BaseElementPropsWithChildren<ScrollBoxJSXProps>;
6110
+ [tagName$r]: IntrinsicElementProps<ScrollBoxJSXProps>;
5671
6111
  }
5672
6112
  }
5673
6113
  }
5674
6114
  declare module 'react' {
5675
6115
  namespace JSX {
5676
6116
  interface IntrinsicElements {
5677
- [tagName$q]: TileJSXProps & BaseElementPropsWithChildren<TileJSXProps>;
6117
+ [tagName$q]: IntrinsicElementProps<TileJSXProps>;
5678
6118
  }
5679
6119
  }
5680
6120
  }
5681
6121
  declare global {
5682
6122
  namespace JSX {
5683
6123
  interface IntrinsicElements {
5684
- [tagName$q]: TileJSXProps & BaseElementPropsWithChildren<TileJSXProps>;
6124
+ [tagName$q]: IntrinsicElementProps<TileJSXProps>;
5685
6125
  }
5686
6126
  }
5687
6127
  }
5688
6128
  declare module 'react' {
5689
6129
  namespace JSX {
5690
6130
  interface IntrinsicElements {
5691
- [tagName$p]: Omit<BannerJSXProps, 'primaryAction'> &
5692
- BaseElementPropsWithChildren<Omit<BannerJSXProps, 'primaryAction'>>;
6131
+ [tagName$p]: IntrinsicElementProps<ElementProps$9>;
5693
6132
  }
5694
6133
  }
5695
6134
  }
5696
6135
  declare global {
5697
6136
  namespace JSX {
5698
6137
  interface IntrinsicElements {
5699
- [tagName$p]: Omit<BannerJSXProps, 'primaryAction'> &
5700
- BaseElementPropsWithChildren<Omit<BannerJSXProps, 'primaryAction'>>;
6138
+ [tagName$p]: IntrinsicElementProps<ElementProps$9>;
5701
6139
  }
5702
6140
  }
5703
6141
  }
5704
6142
  declare module 'react' {
5705
6143
  namespace JSX {
5706
6144
  interface IntrinsicElements {
5707
- [tagName$o]: BoxJSXProps & BaseElementPropsWithChildren<BoxJSXProps>;
6145
+ [tagName$o]: IntrinsicElementProps<BoxJSXProps>;
5708
6146
  }
5709
6147
  }
5710
6148
  }
5711
6149
  declare global {
5712
6150
  namespace JSX {
5713
6151
  interface IntrinsicElements {
5714
- [tagName$o]: BoxJSXProps & BaseElementPropsWithChildren<BoxJSXProps>;
6152
+ [tagName$o]: IntrinsicElementProps<BoxJSXProps>;
5715
6153
  }
5716
6154
  }
5717
6155
  }
5718
6156
  declare module 'react' {
5719
6157
  namespace JSX {
5720
6158
  interface IntrinsicElements {
5721
- [tagName$n]: IconJSXProps & BaseElementProps<IconJSXProps>;
6159
+ [tagName$n]: IntrinsicElementProps<IconJSXProps>;
5722
6160
  }
5723
6161
  }
5724
6162
  }
5725
6163
  declare global {
5726
6164
  namespace JSX {
5727
6165
  interface IntrinsicElements {
5728
- [tagName$n]: IconJSXProps & BaseElementProps<IconJSXProps>;
6166
+ [tagName$n]: IntrinsicElementProps<IconJSXProps>;
5729
6167
  }
5730
6168
  }
5731
6169
  }
5732
6170
  declare module 'react' {
5733
6171
  namespace JSX {
5734
6172
  interface IntrinsicElements {
5735
- [tagName$m]: StackJSXProps & BaseElementPropsWithChildren<StackJSXProps>;
6173
+ [tagName$m]: IntrinsicElementProps<StackJSXProps>;
5736
6174
  }
5737
6175
  }
5738
6176
  }
5739
6177
  declare global {
5740
6178
  namespace JSX {
5741
6179
  interface IntrinsicElements {
5742
- [tagName$m]: StackJSXProps & BaseElementPropsWithChildren<StackJSXProps>;
6180
+ [tagName$m]: IntrinsicElementProps<StackJSXProps>;
5743
6181
  }
5744
6182
  }
5745
6183
  }
5746
6184
  declare module 'react' {
5747
6185
  namespace JSX {
5748
6186
  interface IntrinsicElements {
5749
- [tagName$l]: BadgeJSXProps & BaseElementPropsWithChildren<BadgeJSXProps>;
6187
+ [tagName$l]: IntrinsicElementProps<BadgeJSXProps>;
5750
6188
  }
5751
6189
  }
5752
6190
  }
5753
6191
  declare global {
5754
6192
  namespace JSX {
5755
6193
  interface IntrinsicElements {
5756
- [tagName$l]: BadgeJSXProps & BaseElementPropsWithChildren<BadgeJSXProps>;
6194
+ [tagName$l]: IntrinsicElementProps<BadgeJSXProps>;
5757
6195
  }
5758
6196
  }
5759
6197
  }
5760
6198
  declare module 'react' {
5761
6199
  namespace JSX {
5762
6200
  interface IntrinsicElements {
5763
- [tagName$k]: ChoiceListJSXProps &
5764
- BaseElementPropsWithChildren<ChoiceListJSXProps>;
6201
+ [tagName$k]: IntrinsicElementProps<ChoiceListJSXProps>;
5765
6202
  }
5766
6203
  }
5767
6204
  }
5768
6205
  declare global {
5769
6206
  namespace JSX {
5770
6207
  interface IntrinsicElements {
5771
- [tagName$k]: ChoiceListJSXProps &
5772
- BaseElementPropsWithChildren<ChoiceListJSXProps>;
6208
+ [tagName$k]: IntrinsicElementProps<ChoiceListJSXProps>;
5773
6209
  }
5774
6210
  }
5775
6211
  }
5776
6212
  declare module 'react' {
5777
6213
  namespace JSX {
5778
6214
  interface IntrinsicElements {
5779
- [tagName$j]: ChoiceJSXProps &
5780
- BaseElementPropsWithChildren<ChoiceJSXProps>;
6215
+ [tagName$j]: IntrinsicElementProps<ChoiceJSXProps>;
5781
6216
  }
5782
6217
  }
5783
6218
  }
5784
6219
  declare global {
5785
6220
  namespace JSX {
5786
6221
  interface IntrinsicElements {
5787
- [tagName$j]: ChoiceJSXProps &
5788
- BaseElementPropsWithChildren<ChoiceJSXProps>;
6222
+ [tagName$j]: IntrinsicElementProps<ChoiceJSXProps>;
5789
6223
  }
5790
6224
  }
5791
6225
  }
5792
6226
  declare module 'react' {
5793
6227
  namespace JSX {
5794
6228
  interface IntrinsicElements {
5795
- [tagName$i]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
5796
- BaseElementPropsWithChildren<
5797
- Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>
5798
- >;
6229
+ [tagName$i]: IntrinsicElementProps<ElementProps$8>;
5799
6230
  }
5800
6231
  }
5801
6232
  }
5802
6233
  declare global {
5803
6234
  namespace JSX {
5804
6235
  interface IntrinsicElements {
5805
- [tagName$i]: Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'> &
5806
- BaseElementPropsWithChildren<
5807
- Omit<ModalJSXProps, 'primaryAction' | 'secondaryActions'>
5808
- >;
6236
+ [tagName$i]: IntrinsicElementProps<ElementProps$8>;
5809
6237
  }
5810
6238
  }
5811
6239
  }
5812
6240
  declare module 'react' {
5813
6241
  namespace JSX {
5814
6242
  interface IntrinsicElements {
5815
- [tagName$h]: Omit<TextFieldJSXProps, 'accessory'> &
5816
- BaseElementPropsWithChildren<Omit<TextFieldJSXProps, 'accessory'>>;
6243
+ [tagName$h]: IntrinsicElementProps<ElementProps$7>;
5817
6244
  }
5818
6245
  }
5819
6246
  }
5820
6247
  declare global {
5821
6248
  namespace JSX {
5822
6249
  interface IntrinsicElements {
5823
- [tagName$h]: Omit<TextFieldJSXProps, 'accessory'> &
5824
- BaseElementPropsWithChildren<Omit<TextFieldJSXProps, 'accessory'>>;
6250
+ [tagName$h]: IntrinsicElementProps<ElementProps$7>;
5825
6251
  }
5826
6252
  }
5827
6253
  }
5828
6254
  declare module 'react' {
5829
6255
  namespace JSX {
5830
6256
  interface IntrinsicElements {
5831
- [tagName$g]: SearchFieldJSXProps &
5832
- BaseElementPropsWithChildren<SearchFieldJSXProps>;
6257
+ [tagName$g]: IntrinsicElementProps<SearchFieldJSXProps>;
5833
6258
  }
5834
6259
  }
5835
6260
  }
5836
6261
  declare global {
5837
6262
  namespace JSX {
5838
6263
  interface IntrinsicElements {
5839
- [tagName$g]: SearchFieldJSXProps &
5840
- BaseElementPropsWithChildren<SearchFieldJSXProps>;
6264
+ [tagName$g]: IntrinsicElementProps<SearchFieldJSXProps>;
5841
6265
  }
5842
6266
  }
5843
6267
  }
5844
6268
  declare module 'react' {
5845
6269
  namespace JSX {
5846
6270
  interface IntrinsicElements {
5847
- [tagName$f]: Omit<EmailFieldJSXProps, 'accessory'> &
5848
- BaseElementPropsWithChildren<Omit<EmailFieldJSXProps, 'accessory'>>;
6271
+ [tagName$f]: IntrinsicElementProps<ElementProps$6>;
5849
6272
  }
5850
6273
  }
5851
6274
  }
5852
6275
  declare global {
5853
6276
  namespace JSX {
5854
6277
  interface IntrinsicElements {
5855
- [tagName$f]: Omit<EmailFieldJSXProps, 'accessory'> &
5856
- BaseElementPropsWithChildren<Omit<EmailFieldJSXProps, 'accessory'>>;
6278
+ [tagName$f]: IntrinsicElementProps<ElementProps$6>;
5857
6279
  }
5858
6280
  }
5859
6281
  }
5860
6282
  declare module 'react' {
5861
6283
  namespace JSX {
5862
6284
  interface IntrinsicElements {
5863
- [tagName$e]: ClickableJSXProps &
5864
- BaseElementPropsWithChildren<ClickableJSXProps>;
6285
+ [tagName$e]: IntrinsicElementProps<ClickableJSXProps>;
5865
6286
  }
5866
6287
  }
5867
6288
  }
5868
6289
  declare global {
5869
6290
  namespace JSX {
5870
6291
  interface IntrinsicElements {
5871
- [tagName$e]: ClickableJSXProps &
5872
- BaseElementPropsWithChildren<ClickableJSXProps>;
6292
+ [tagName$e]: IntrinsicElementProps<ClickableJSXProps>;
5873
6293
  }
5874
6294
  }
5875
6295
  }
5876
6296
  declare module 'react' {
5877
6297
  namespace JSX {
5878
6298
  interface IntrinsicElements {
5879
- [tagName$d]: Omit<TextAreaJSXProps, 'accessory'> &
5880
- BaseElementPropsWithChildren<Omit<TextAreaJSXProps, 'accessory'>>;
6299
+ [tagName$d]: IntrinsicElementProps<ElementProps$5>;
5881
6300
  }
5882
6301
  }
5883
6302
  }
5884
6303
  declare global {
5885
6304
  namespace JSX {
5886
6305
  interface IntrinsicElements {
5887
- [tagName$d]: Omit<TextAreaJSXProps, 'accessory'> &
5888
- BaseElementPropsWithChildren<Omit<TextAreaJSXProps, 'accessory'>>;
6306
+ [tagName$d]: IntrinsicElementProps<ElementProps$5>;
5889
6307
  }
5890
6308
  }
5891
6309
  }
5892
6310
  declare module 'react' {
5893
6311
  namespace JSX {
5894
6312
  interface IntrinsicElements {
5895
- [tagName$c]: Omit<NumberFieldJSXProps, 'accessory'> &
5896
- BaseElementPropsWithChildren<Omit<NumberFieldJSXProps, 'accessory'>>;
6313
+ [tagName$c]: IntrinsicElementProps<ElementProps$4>;
5897
6314
  }
5898
6315
  }
5899
6316
  }
5900
6317
  declare global {
5901
6318
  namespace JSX {
5902
6319
  interface IntrinsicElements {
5903
- [tagName$c]: Omit<NumberFieldJSXProps, 'accessory'> &
5904
- BaseElementPropsWithChildren<Omit<NumberFieldJSXProps, 'accessory'>>;
6320
+ [tagName$c]: IntrinsicElementProps<ElementProps$4>;
5905
6321
  }
5906
6322
  }
5907
6323
  }
5908
6324
  declare module 'react' {
5909
6325
  namespace JSX {
5910
6326
  interface IntrinsicElements {
5911
- [tagName$b]: Omit<DateFieldJSXProps, 'accessory'> &
5912
- BaseElementPropsWithChildren<Omit<DateFieldJSXProps, 'accessory'>>;
6327
+ [tagName$b]: IntrinsicElementProps<ElementProps$3>;
5913
6328
  }
5914
6329
  }
5915
6330
  }
5916
6331
  declare global {
5917
6332
  namespace JSX {
5918
6333
  interface IntrinsicElements {
5919
- [tagName$b]: Omit<DateFieldJSXProps, 'accessory'> &
5920
- BaseElementPropsWithChildren<Omit<DateFieldJSXProps, 'accessory'>>;
6334
+ [tagName$b]: IntrinsicElementProps<ElementProps$3>;
5921
6335
  }
5922
6336
  }
5923
6337
  }
5924
6338
  declare module 'react' {
5925
6339
  namespace JSX {
5926
6340
  interface IntrinsicElements {
5927
- [tagName$a]: DatePickerJSXProps &
5928
- BaseElementPropsWithChildren<DatePickerJSXProps>;
6341
+ [tagName$a]: IntrinsicElementProps<DatePickerJSXProps>;
5929
6342
  }
5930
6343
  }
5931
6344
  }
5932
6345
  declare global {
5933
6346
  namespace JSX {
5934
6347
  interface IntrinsicElements {
5935
- [tagName$a]: DatePickerJSXProps &
5936
- BaseElementPropsWithChildren<DatePickerJSXProps>;
6348
+ [tagName$a]: IntrinsicElementProps<DatePickerJSXProps>;
5937
6349
  }
5938
6350
  }
5939
6351
  }
5940
6352
  declare module 'react' {
5941
6353
  namespace JSX {
5942
6354
  interface IntrinsicElements {
5943
- [tagName$9]: DateSpinnerJSXProps &
5944
- BaseElementPropsWithChildren<DateSpinnerJSXProps>;
6355
+ [tagName$9]: IntrinsicElementProps<DateSpinnerJSXProps>;
5945
6356
  }
5946
6357
  }
5947
6358
  }
5948
6359
  declare global {
5949
6360
  namespace JSX {
5950
6361
  interface IntrinsicElements {
5951
- [tagName$9]: DateSpinnerJSXProps &
5952
- BaseElementPropsWithChildren<DateSpinnerJSXProps>;
6362
+ [tagName$9]: IntrinsicElementProps<DateSpinnerJSXProps>;
5953
6363
  }
5954
6364
  }
5955
6365
  }
5956
6366
  declare module 'react' {
5957
6367
  namespace JSX {
5958
6368
  interface IntrinsicElements {
5959
- [tagName$8]: Omit<SectionJSXProps, 'secondaryActions'> &
5960
- BaseElementPropsWithChildren<Omit<SectionJSXProps, 'secondaryActions'>>;
6369
+ [tagName$8]: IntrinsicElementProps<ElementProps$2>;
5961
6370
  }
5962
6371
  }
5963
6372
  }
5964
6373
  declare global {
5965
6374
  namespace JSX {
5966
6375
  interface IntrinsicElements {
5967
- [tagName$8]: Omit<SectionJSXProps, 'secondaryActions'> &
5968
- BaseElementPropsWithChildren<Omit<SectionJSXProps, 'secondaryActions'>>;
6376
+ [tagName$8]: IntrinsicElementProps<ElementProps$2>;
5969
6377
  }
5970
6378
  }
5971
6379
  }
5972
6380
  declare module 'react' {
5973
6381
  namespace JSX {
5974
6382
  interface IntrinsicElements {
5975
- [tagName$7]: HeadingJSXProps &
5976
- BaseElementPropsWithChildren<HeadingJSXProps>;
6383
+ [tagName$7]: IntrinsicElementProps<HeadingJSXProps>;
5977
6384
  }
5978
6385
  }
5979
6386
  }
5980
6387
  declare global {
5981
6388
  namespace JSX {
5982
6389
  interface IntrinsicElements {
5983
- [tagName$7]: HeadingJSXProps &
5984
- BaseElementPropsWithChildren<HeadingJSXProps>;
6390
+ [tagName$7]: IntrinsicElementProps<HeadingJSXProps>;
5985
6391
  }
5986
6392
  }
5987
6393
  }
5988
6394
  declare module 'react' {
5989
6395
  namespace JSX {
5990
6396
  interface IntrinsicElements {
5991
- [tagName$6]: TimePickerJSXProps &
5992
- BaseElementPropsWithChildren<TimePickerJSXProps>;
6397
+ [tagName$6]: IntrinsicElementProps<TimePickerJSXProps>;
5993
6398
  }
5994
6399
  }
5995
6400
  }
5996
6401
  declare global {
5997
6402
  namespace JSX {
5998
6403
  interface IntrinsicElements {
5999
- [tagName$6]: TimePickerJSXProps &
6000
- BaseElementPropsWithChildren<TimePickerJSXProps>;
6404
+ [tagName$6]: IntrinsicElementProps<TimePickerJSXProps>;
6001
6405
  }
6002
6406
  }
6003
6407
  }
6004
6408
  declare module 'react' {
6005
6409
  namespace JSX {
6006
6410
  interface IntrinsicElements {
6007
- [tagName$5]: ImageJSXProps & BaseElementPropsWithChildren<ImageJSXProps>;
6411
+ [tagName$5]: IntrinsicElementProps<ImageJSXProps>;
6008
6412
  }
6009
6413
  }
6010
6414
  }
6011
6415
  declare global {
6012
6416
  namespace JSX {
6013
6417
  interface IntrinsicElements {
6014
- [tagName$5]: ImageJSXProps & BaseElementPropsWithChildren<ImageJSXProps>;
6418
+ [tagName$5]: IntrinsicElementProps<ImageJSXProps>;
6015
6419
  }
6016
6420
  }
6017
6421
  }
6018
6422
  declare module 'react' {
6019
6423
  namespace JSX {
6020
6424
  interface IntrinsicElements {
6021
- [tagName$4]: Omit<PageJSXProps, 'secondaryActions' | 'aside'> &
6022
- BaseElementPropsWithChildren<
6023
- Omit<PageJSXProps, 'secondaryActions' | 'aside'>
6024
- >;
6425
+ [tagName$4]: IntrinsicElementProps<ElementProps$1>;
6025
6426
  }
6026
6427
  }
6027
6428
  }
6028
6429
  declare global {
6029
6430
  namespace JSX {
6030
6431
  interface IntrinsicElements {
6031
- [tagName$4]: Omit<PageJSXProps, 'secondaryActions' | 'aside'> &
6032
- BaseElementPropsWithChildren<
6033
- Omit<PageJSXProps, 'secondaryActions' | 'aside'>
6034
- >;
6432
+ [tagName$4]: IntrinsicElementProps<ElementProps$1>;
6035
6433
  }
6036
6434
  }
6037
6435
  }
6038
6436
  declare module 'react' {
6039
6437
  namespace JSX {
6040
6438
  interface IntrinsicElements {
6041
- [tagName$3]: TimeFieldJSXProps &
6042
- BaseElementPropsWithChildren<TimeFieldJSXProps>;
6439
+ [tagName$3]: IntrinsicElementProps<TimeFieldJSXProps>;
6043
6440
  }
6044
6441
  }
6045
6442
  }
6046
6443
  declare global {
6047
6444
  namespace JSX {
6048
6445
  interface IntrinsicElements {
6049
- [tagName$3]: TimeFieldJSXProps &
6050
- BaseElementPropsWithChildren<TimeFieldJSXProps>;
6446
+ [tagName$3]: IntrinsicElementProps<TimeFieldJSXProps>;
6051
6447
  }
6052
6448
  }
6053
6449
  }
6054
6450
  declare module 'react' {
6055
6451
  namespace JSX {
6056
6452
  interface IntrinsicElements {
6057
- [tagName$2]: Omit<PosBlockJSXProps, 'secondaryActions'> &
6058
- BaseElementPropsWithChildren<
6059
- Omit<PosBlockJSXProps, 'secondaryActions'>
6060
- >;
6453
+ [tagName$2]: IntrinsicElementProps<ElementProps>;
6061
6454
  }
6062
6455
  }
6063
6456
  }
6064
6457
  declare global {
6065
6458
  namespace JSX {
6066
6459
  interface IntrinsicElements {
6067
- [tagName$2]: Omit<PosBlockJSXProps, 'secondaryActions'> &
6068
- BaseElementPropsWithChildren<
6069
- Omit<PosBlockJSXProps, 'secondaryActions'>
6070
- >;
6460
+ [tagName$2]: IntrinsicElementProps<ElementProps>;
6071
6461
  }
6072
6462
  }
6073
6463
  }
6074
6464
  declare module 'react' {
6075
6465
  namespace JSX {
6076
6466
  interface IntrinsicElements {
6077
- [tagName$1]: QrCodeJSXProps & BaseElementProps<QrCodeJSXProps>;
6467
+ [tagName$1]: IntrinsicElementProps<QrCodeJSXProps>;
6078
6468
  }
6079
6469
  }
6080
6470
  }
6081
6471
  declare global {
6082
6472
  namespace JSX {
6083
6473
  interface IntrinsicElements {
6084
- [tagName$1]: QrCodeJSXProps & BaseElementProps<QrCodeJSXProps>;
6474
+ [tagName$1]: IntrinsicElementProps<QrCodeJSXProps>;
6085
6475
  }
6086
6476
  }
6087
6477
  }
6088
6478
  declare module 'react' {
6089
6479
  namespace JSX {
6090
6480
  interface IntrinsicElements {
6091
- [tagName]: DividerJSXProps &
6092
- BaseElementPropsWithChildren<DividerJSXProps>;
6481
+ [tagName]: IntrinsicElementProps<DividerJSXProps>;
6093
6482
  }
6094
6483
  }
6095
6484
  }
6096
6485
  declare global {
6097
6486
  namespace JSX {
6098
6487
  interface IntrinsicElements {
6099
- [tagName]: DividerJSXProps &
6100
- BaseElementPropsWithChildren<DividerJSXProps>;
6488
+ [tagName]: IntrinsicElementProps<DividerJSXProps>;
6101
6489
  }
6102
6490
  }
6103
6491
  }