@shopify/ui-extensions 2025.10.0-rc.41 → 2025.10.0-rc.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (437) hide show
  1. package/build/cjs/surfaces/checkout/shared.js +1 -1
  2. package/build/esm/surfaces/checkout/shared.mjs +1 -1
  3. package/build/esnext/surfaces/checkout/shared.esnext +1 -1
  4. package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
  5. package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
  6. package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
  7. package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
  8. package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
  9. package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
  10. package/build/ts/docs/shared/components/index.d.ts +4 -0
  11. package/build/ts/docs/shared/components/index.d.ts.map +1 -1
  12. package/build/ts/index.d.ts.map +1 -1
  13. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
  14. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
  15. package/build/ts/surfaces/admin/api.d.ts +1 -1
  16. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  17. package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
  18. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
  19. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
  20. package/build/ts/surfaces/admin/components/Avatar.d.ts +4 -10
  21. package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
  22. package/build/ts/surfaces/admin/components/Badge.d.ts +4 -10
  23. package/build/ts/surfaces/admin/components/Banner.d.ts +18 -24
  24. package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
  25. package/build/ts/surfaces/admin/components/Box.d.ts +4 -10
  26. package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
  27. package/build/ts/surfaces/admin/components/Button.d.ts +21 -27
  28. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +6 -13
  29. package/build/ts/surfaces/admin/components/Checkbox.d.ts +21 -28
  30. package/build/ts/surfaces/admin/components/Chip.d.ts +5 -11
  31. package/build/ts/surfaces/admin/components/Choice.d.ts +5 -17
  32. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +19 -26
  33. package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
  34. package/build/ts/surfaces/admin/components/Clickable.d.ts +21 -28
  35. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +18 -24
  36. package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -4
  37. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +8 -8
  38. package/build/ts/surfaces/admin/components/DateField.d.ts +12 -12
  39. package/build/ts/surfaces/admin/components/DatePicker.d.ts +3 -4
  40. package/build/ts/surfaces/admin/components/Divider.d.ts +3 -4
  41. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -1
  42. package/build/ts/surfaces/admin/components/EmailField.d.ts +26 -27
  43. package/build/ts/surfaces/admin/components/Form.d.ts +7 -3
  44. package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
  45. package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
  46. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
  47. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
  48. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +3 -3
  49. package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
  50. package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
  51. package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
  52. package/build/ts/surfaces/admin/components/Grid.d.ts +4 -10
  53. package/build/ts/surfaces/admin/components/GridItem.d.ts +4 -11
  54. package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
  55. package/build/ts/surfaces/admin/components/Heading.d.ts +4 -10
  56. package/build/ts/surfaces/admin/components/Icon.d.ts +3 -4
  57. package/build/ts/surfaces/admin/components/Image.d.ts +20 -21
  58. package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
  59. package/build/ts/surfaces/admin/components/Link.d.ts +21 -27
  60. package/build/ts/surfaces/admin/components/ListItem.d.ts +4 -11
  61. package/build/ts/surfaces/admin/components/Menu.d.ts +3 -3
  62. package/build/ts/surfaces/admin/components/Modal.d.ts +15 -15
  63. package/build/ts/surfaces/admin/components/MoneyField.d.ts +29 -29
  64. package/build/ts/surfaces/admin/components/NumberField.d.ts +28 -27
  65. package/build/ts/surfaces/admin/components/Option.d.ts +7 -11
  66. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +7 -12
  67. package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  68. package/build/ts/surfaces/admin/components/OrderedList.d.ts +4 -11
  69. package/build/ts/surfaces/admin/components/Page.d.ts +11 -16
  70. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
  71. package/build/ts/surfaces/admin/components/Paragraph.d.ts +4 -11
  72. package/build/ts/surfaces/admin/components/PasswordField.d.ts +26 -27
  73. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
  74. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
  75. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +3 -3
  76. package/build/ts/surfaces/admin/components/SearchField.d.ts +26 -27
  77. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
  78. package/build/ts/surfaces/admin/components/Section.d.ts +4 -10
  79. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  80. package/build/ts/surfaces/admin/components/Select.d.ts +24 -28
  81. package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -4
  82. package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
  83. package/build/ts/surfaces/admin/components/Stack.d.ts +4 -10
  84. package/build/ts/surfaces/admin/components/Switch.d.ts +20 -21
  85. package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
  86. package/build/ts/surfaces/admin/components/Table.d.ts +5 -12
  87. package/build/ts/surfaces/admin/components/TableBody.d.ts +4 -11
  88. package/build/ts/surfaces/admin/components/TableCell.d.ts +4 -11
  89. package/build/ts/surfaces/admin/components/TableHeader.d.ts +4 -11
  90. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
  91. package/build/ts/surfaces/admin/components/TableRow.d.ts +4 -11
  92. package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
  93. package/build/ts/surfaces/admin/components/Text.d.ts +4 -10
  94. package/build/ts/surfaces/admin/components/TextArea.d.ts +26 -27
  95. package/build/ts/surfaces/admin/components/TextField.d.ts +27 -28
  96. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +11 -12
  97. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
  98. package/build/ts/surfaces/admin/components/Tooltip.d.ts +4 -10
  99. package/build/ts/surfaces/admin/components/URLField.d.ts +26 -27
  100. package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  101. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +4 -11
  102. package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
  103. package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
  104. package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
  105. package/build/ts/surfaces/admin/components/shared.d.ts +24 -7
  106. package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
  107. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  108. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
  109. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +1 -1
  110. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +2 -0
  111. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +2 -0
  112. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +2 -0
  113. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
  114. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
  115. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +2 -2
  116. package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
  117. package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
  118. package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
  119. package/build/ts/surfaces/checkout/components/Badge.d.ts +7 -1
  120. package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
  121. package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
  122. package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
  123. package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
  124. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  125. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  126. package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
  127. package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
  128. package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
  129. package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
  130. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
  131. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
  132. package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
  133. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
  134. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  135. package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
  136. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
  137. package/build/ts/surfaces/checkout/components/Form.d.ts +3 -0
  138. package/build/ts/surfaces/checkout/components/Icon.d.ts +7 -1
  139. package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
  140. package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
  141. package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
  142. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
  143. package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  144. package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  145. package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
  146. package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
  147. package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
  148. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
  149. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
  150. package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
  151. package/build/ts/surfaces/checkout/components/TextField.d.ts +7 -1
  152. package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
  153. package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
  154. package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
  155. package/build/ts/surfaces/checkout/components/components-shared.d.ts +89 -0
  156. package/build/ts/surfaces/checkout/components/components.d.ts +252 -24
  157. package/build/ts/surfaces/checkout/extension-targets.d.ts +61 -61
  158. package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
  159. package/build/ts/surfaces/checkout/shared.d.ts +6 -3
  160. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  161. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +11 -0
  162. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +11 -0
  163. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +11 -0
  164. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +11 -0
  165. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +11 -0
  166. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +11 -0
  167. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +11 -0
  168. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +11 -0
  169. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +11 -0
  170. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +11 -0
  171. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +11 -0
  172. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +11 -0
  173. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +11 -0
  174. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +11 -0
  175. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +11 -0
  176. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +11 -0
  177. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +11 -0
  178. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +11 -0
  179. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +11 -0
  180. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +11 -0
  181. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +11 -0
  182. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +11 -0
  183. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +11 -0
  184. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +11 -0
  185. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +11 -0
  186. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +11 -0
  187. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +11 -0
  188. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +11 -0
  189. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +11 -0
  190. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +11 -0
  191. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +11 -0
  192. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +11 -0
  193. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +11 -0
  194. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +11 -0
  195. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +11 -0
  196. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +11 -0
  197. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +11 -0
  198. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +11 -0
  199. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +11 -0
  200. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +11 -0
  201. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +11 -0
  202. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +11 -0
  203. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +11 -0
  204. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +11 -0
  205. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +11 -0
  206. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +11 -0
  207. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +11 -0
  208. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +11 -0
  209. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +11 -0
  210. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +11 -0
  211. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +11 -0
  212. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +11 -0
  213. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +11 -0
  214. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +12 -0
  215. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +11 -0
  216. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +11 -0
  217. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +11 -0
  218. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +11 -0
  219. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +11 -0
  220. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +11 -0
  221. package/build/ts/surfaces/checkout.d.ts +1 -0
  222. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  223. package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
  224. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
  225. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +2 -2
  226. package/build/ts/surfaces/customer-account/components/Badge.d.ts +7 -1
  227. package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
  228. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
  229. package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
  230. package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
  231. package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
  232. package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
  233. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
  234. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
  235. package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
  236. package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
  237. package/build/ts/surfaces/customer-account/components/Form.d.ts +3 -0
  238. package/build/ts/surfaces/customer-account/components/Icon.d.ts +7 -1
  239. package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
  240. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -1
  241. package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
  242. package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
  243. package/build/ts/surfaces/customer-account/components/Page.d.ts +3 -3
  244. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
  245. package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
  246. package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -1
  247. package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
  248. package/build/ts/surfaces/customer-account/components/TextField.d.ts +7 -1
  249. package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
  250. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +89 -0
  251. package/build/ts/surfaces/customer-account/components/components.d.ts +252 -24
  252. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +12 -0
  253. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +12 -0
  254. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +12 -0
  255. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +12 -0
  256. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +12 -0
  257. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +12 -0
  258. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +12 -0
  259. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +12 -0
  260. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +12 -0
  261. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +12 -0
  262. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +12 -0
  263. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +12 -0
  264. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +12 -0
  265. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +12 -0
  266. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +12 -0
  267. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +12 -0
  268. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +12 -0
  269. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +12 -0
  270. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +12 -0
  271. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +12 -0
  272. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +12 -0
  273. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +12 -0
  274. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +12 -0
  275. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +12 -0
  276. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +2 -9
  277. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
  278. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -1
  279. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -1
  280. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
  281. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -1
  282. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +1 -2
  283. package/build/tsconfig.tsbuildinfo +1 -1
  284. package/package.json +2 -2
  285. package/src/docs/shared/components/Announcement.ts +12 -0
  286. package/src/docs/shared/components/FunctionSettings.ts +28 -0
  287. package/src/docs/shared/components/ScrollBox.ts +12 -0
  288. package/src/docs/shared/components/index.ts +4 -0
  289. package/src/index.ts +1 -0
  290. package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
  291. package/src/surfaces/admin/api.ts +4 -1
  292. package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
  293. package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
  294. package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
  295. package/src/surfaces/admin/components/Avatar.d.ts +4 -10
  296. package/src/surfaces/admin/components/Badge.d.ts +4 -10
  297. package/src/surfaces/admin/components/Banner.d.ts +18 -24
  298. package/src/surfaces/admin/components/Box.d.ts +4 -10
  299. package/src/surfaces/admin/components/Button.d.ts +21 -27
  300. package/src/surfaces/admin/components/ButtonGroup.d.ts +6 -13
  301. package/src/surfaces/admin/components/Checkbox.d.ts +21 -28
  302. package/src/surfaces/admin/components/Chip.d.ts +5 -11
  303. package/src/surfaces/admin/components/Choice.d.ts +5 -17
  304. package/src/surfaces/admin/components/ChoiceList.d.ts +19 -26
  305. package/src/surfaces/admin/components/Clickable.d.ts +21 -28
  306. package/src/surfaces/admin/components/ClickableChip.d.ts +18 -24
  307. package/src/surfaces/admin/components/ColorField.d.ts +3 -4
  308. package/src/surfaces/admin/components/ColorPicker.d.ts +8 -8
  309. package/src/surfaces/admin/components/DateField.d.ts +12 -12
  310. package/src/surfaces/admin/components/DatePicker.d.ts +3 -4
  311. package/src/surfaces/admin/components/Divider.d.ts +3 -4
  312. package/src/surfaces/admin/components/EmailField.d.ts +26 -27
  313. package/src/surfaces/admin/components/Form.d.ts +7 -3
  314. package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
  315. package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
  316. package/src/surfaces/admin/components/FunctionSettings.d.ts +3 -3
  317. package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
  318. package/src/surfaces/admin/components/Grid.d.ts +4 -10
  319. package/src/surfaces/admin/components/GridItem.d.ts +4 -11
  320. package/src/surfaces/admin/components/Heading.d.ts +4 -10
  321. package/src/surfaces/admin/components/Icon.d.ts +3 -4
  322. package/src/surfaces/admin/components/Image.d.ts +20 -21
  323. package/src/surfaces/admin/components/Link.d.ts +21 -27
  324. package/src/surfaces/admin/components/ListItem.d.ts +4 -11
  325. package/src/surfaces/admin/components/Menu.d.ts +3 -3
  326. package/src/surfaces/admin/components/Modal.d.ts +15 -15
  327. package/src/surfaces/admin/components/MoneyField.d.ts +29 -29
  328. package/src/surfaces/admin/components/NumberField.d.ts +28 -27
  329. package/src/surfaces/admin/components/Option.d.ts +7 -11
  330. package/src/surfaces/admin/components/OptionGroup.d.ts +7 -12
  331. package/src/surfaces/admin/components/OrderedList.d.ts +4 -11
  332. package/src/surfaces/admin/components/Page.d.ts +11 -16
  333. package/src/surfaces/admin/components/Paragraph.d.ts +4 -11
  334. package/src/surfaces/admin/components/PasswordField.d.ts +26 -27
  335. package/src/surfaces/admin/components/QueryContainer.d.ts +3 -3
  336. package/src/surfaces/admin/components/SearchField.d.ts +26 -27
  337. package/src/surfaces/admin/components/Section.d.ts +4 -10
  338. package/src/surfaces/admin/components/Select.d.ts +24 -28
  339. package/src/surfaces/admin/components/Spinner.d.ts +3 -4
  340. package/src/surfaces/admin/components/Stack.d.ts +4 -10
  341. package/src/surfaces/admin/components/Switch.d.ts +20 -21
  342. package/src/surfaces/admin/components/Table.d.ts +5 -12
  343. package/src/surfaces/admin/components/TableBody.d.ts +4 -11
  344. package/src/surfaces/admin/components/TableCell.d.ts +4 -11
  345. package/src/surfaces/admin/components/TableHeader.d.ts +4 -11
  346. package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -10
  347. package/src/surfaces/admin/components/TableRow.d.ts +4 -11
  348. package/src/surfaces/admin/components/Text.d.ts +4 -10
  349. package/src/surfaces/admin/components/TextArea.d.ts +26 -27
  350. package/src/surfaces/admin/components/TextField.d.ts +27 -28
  351. package/src/surfaces/admin/components/Thumbnail.d.ts +11 -12
  352. package/src/surfaces/admin/components/Tooltip.d.ts +4 -10
  353. package/src/surfaces/admin/components/URLField.d.ts +26 -27
  354. package/src/surfaces/admin/components/UnorderedList.d.ts +4 -11
  355. package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
  356. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -3
  357. package/src/surfaces/admin/components/shared.d.ts +24 -7
  358. package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
  359. package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
  360. package/src/surfaces/admin/components.d.ts +902 -614
  361. package/src/surfaces/admin/extension-targets.ts +11 -10
  362. package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
  363. package/src/surfaces/checkout/api/checkout/checkout.ts +2 -2
  364. package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
  365. package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
  366. package/src/surfaces/checkout/components/Badge.d.ts +7 -1
  367. package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
  368. package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
  369. package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
  370. package/src/surfaces/checkout/components/Chip.d.ts +56 -0
  371. package/src/surfaces/checkout/components/Choice.d.ts +67 -0
  372. package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
  373. package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
  374. package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
  375. package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
  376. package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
  377. package/src/surfaces/checkout/components/DateField.d.ts +87 -0
  378. package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
  379. package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
  380. package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
  381. package/src/surfaces/checkout/components/Form.d.ts +3 -0
  382. package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
  383. package/src/surfaces/checkout/components/Icon.d.ts +7 -1
  384. package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
  385. package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
  386. package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -1
  387. package/src/surfaces/checkout/components/Option.d.ts +46 -0
  388. package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
  389. package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
  390. package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -7
  391. package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +1 -4
  392. package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
  393. package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
  394. package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
  395. package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
  396. package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
  397. package/src/surfaces/checkout/components/Select.d.ts +79 -0
  398. package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
  399. package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -20
  400. package/src/surfaces/checkout/components/TextArea/examples/basic-text-area.example.html +1 -5
  401. package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +1 -1
  402. package/src/surfaces/checkout/components/TextField.d.ts +7 -1
  403. package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
  404. package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
  405. package/src/surfaces/checkout/components/components-shared.d.ts +89 -0
  406. package/src/surfaces/checkout/components/components.d.ts +252 -24
  407. package/src/surfaces/checkout/extension-targets.ts +63 -62
  408. package/src/surfaces/checkout/shared.ts +15 -8
  409. package/src/surfaces/checkout.ts +1 -0
  410. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
  411. package/src/surfaces/customer-account/components/Avatar.d.ts +2 -2
  412. package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
  413. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
  414. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
  415. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
  416. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
  417. package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
  418. package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
  419. package/src/surfaces/customer-account/components/Page.d.ts +3 -3
  420. package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
  421. package/src/surfaces/customer-account/components/Section.d.ts +2 -2
  422. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +2 -10
  423. package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -5
  424. package/src/surfaces/point-of-sale/components/Modal.d.ts +1 -2
  425. package/src/surfaces/point-of-sale/components.d.ts +48 -50
  426. package/build/ts/surfaces/admin/components/DropZone.d.ts +0 -160
  427. package/build/ts/surfaces/admin/components/Popover.d.ts +0 -379
  428. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -57
  429. package/src/surfaces/admin/components/DropZone.d.ts +0 -160
  430. package/src/surfaces/admin/components/Popover.d.ts +0 -379
  431. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -10
  432. package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +0 -22
  433. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -17
  434. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -17
  435. package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +0 -24
  436. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -37
  437. package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +0 -23
@@ -6,7 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  * The list of supported components.
7
7
  * As of October 1st, 2025, this is a subset of the components that will be available in the 2025-10 stable release.
8
8
  */
9
- const SUPPORTED_COMPONENTS = ['Abbreviation', 'Badge', 'Banner', 'Box', 'Button', 'Checkbox', 'Choice', 'ChoiceList', 'Clickable', 'ClipboardItem', 'DateField', 'DatePicker', 'Details', 'Divider', 'DropZone', 'EmailField', 'Form', 'Grid', 'GridItem', 'Heading', 'Icon', 'Image', 'Link', 'ListItem', 'Map', 'MapMarker', 'Modal', 'MoneyField', 'NumberField', 'Option', 'OrderedList', 'Paragraph', 'PasswordField', 'PaymentIcon', 'PhoneField', 'Popover', 'ProductThumbnail', 'PressButton', 'Progress', 'QueryContainer', 'QRCode', 'ScrollBox', 'Section', 'Select', 'Sheet', 'SkeletonParagraph', 'Spinner', 'Stack', 'Summary', 'Switch', 'Text', 'TextArea', 'TextField', 'Time', 'Tooltip', 'UnorderedList', 'UrlField'];
9
+ const SUPPORTED_COMPONENTS = ['Abbreviation', 'Announcement', 'Badge', 'Banner', 'Box', 'Button', 'Checkbox', 'Chip', 'Choice', 'ChoiceList', 'Clickable', 'ClickableChip', 'ClipboardItem', 'DateField', 'DatePicker', 'Details', 'Divider', 'DropZone', 'EmailField', 'Form', 'Grid', 'GridItem', 'Heading', 'Icon', 'Image', 'Link', 'ListItem', 'Map', 'MapMarker', 'Modal', 'MoneyField', 'NumberField', 'Option', 'OrderedList', 'Paragraph', 'PasswordField', 'PaymentIcon', 'PhoneField', 'Popover', 'PressButton', 'ProductThumbnail', 'Progress', 'QueryContainer', 'QRCode', 'ScrollBox', 'Section', 'Select', 'Sheet', 'SkeletonParagraph', 'Spinner', 'Stack', 'Summary', 'Switch', 'Text', 'TextArea', 'TextField', 'Time', 'Tooltip', 'UnorderedList', 'UrlField'];
10
10
 
11
11
  /**
12
12
  * Note: Chat is not supported in the 2025-10 release candidate, but it is tied to a target, and we don't want to remove the target documentation.
@@ -2,7 +2,7 @@
2
2
  * The list of supported components.
3
3
  * As of October 1st, 2025, this is a subset of the components that will be available in the 2025-10 stable release.
4
4
  */
5
- const SUPPORTED_COMPONENTS = ['Abbreviation', 'Badge', 'Banner', 'Box', 'Button', 'Checkbox', 'Choice', 'ChoiceList', 'Clickable', 'ClipboardItem', 'DateField', 'DatePicker', 'Details', 'Divider', 'DropZone', 'EmailField', 'Form', 'Grid', 'GridItem', 'Heading', 'Icon', 'Image', 'Link', 'ListItem', 'Map', 'MapMarker', 'Modal', 'MoneyField', 'NumberField', 'Option', 'OrderedList', 'Paragraph', 'PasswordField', 'PaymentIcon', 'PhoneField', 'Popover', 'ProductThumbnail', 'PressButton', 'Progress', 'QueryContainer', 'QRCode', 'ScrollBox', 'Section', 'Select', 'Sheet', 'SkeletonParagraph', 'Spinner', 'Stack', 'Summary', 'Switch', 'Text', 'TextArea', 'TextField', 'Time', 'Tooltip', 'UnorderedList', 'UrlField'];
5
+ const SUPPORTED_COMPONENTS = ['Abbreviation', 'Announcement', 'Badge', 'Banner', 'Box', 'Button', 'Checkbox', 'Chip', 'Choice', 'ChoiceList', 'Clickable', 'ClickableChip', 'ClipboardItem', 'DateField', 'DatePicker', 'Details', 'Divider', 'DropZone', 'EmailField', 'Form', 'Grid', 'GridItem', 'Heading', 'Icon', 'Image', 'Link', 'ListItem', 'Map', 'MapMarker', 'Modal', 'MoneyField', 'NumberField', 'Option', 'OrderedList', 'Paragraph', 'PasswordField', 'PaymentIcon', 'PhoneField', 'Popover', 'PressButton', 'ProductThumbnail', 'Progress', 'QueryContainer', 'QRCode', 'ScrollBox', 'Section', 'Select', 'Sheet', 'SkeletonParagraph', 'Spinner', 'Stack', 'Summary', 'Switch', 'Text', 'TextArea', 'TextField', 'Time', 'Tooltip', 'UnorderedList', 'UrlField'];
6
6
 
7
7
  /**
8
8
  * Note: Chat is not supported in the 2025-10 release candidate, but it is tied to a target, and we don't want to remove the target documentation.
@@ -2,7 +2,7 @@
2
2
  * The list of supported components.
3
3
  * As of October 1st, 2025, this is a subset of the components that will be available in the 2025-10 stable release.
4
4
  */
5
- const SUPPORTED_COMPONENTS = ['Abbreviation', 'Badge', 'Banner', 'Box', 'Button', 'Checkbox', 'Choice', 'ChoiceList', 'Clickable', 'ClipboardItem', 'DateField', 'DatePicker', 'Details', 'Divider', 'DropZone', 'EmailField', 'Form', 'Grid', 'GridItem', 'Heading', 'Icon', 'Image', 'Link', 'ListItem', 'Map', 'MapMarker', 'Modal', 'MoneyField', 'NumberField', 'Option', 'OrderedList', 'Paragraph', 'PasswordField', 'PaymentIcon', 'PhoneField', 'Popover', 'ProductThumbnail', 'PressButton', 'Progress', 'QueryContainer', 'QRCode', 'ScrollBox', 'Section', 'Select', 'Sheet', 'SkeletonParagraph', 'Spinner', 'Stack', 'Summary', 'Switch', 'Text', 'TextArea', 'TextField', 'Time', 'Tooltip', 'UnorderedList', 'UrlField'];
5
+ const SUPPORTED_COMPONENTS = ['Abbreviation', 'Announcement', 'Badge', 'Banner', 'Box', 'Button', 'Checkbox', 'Chip', 'Choice', 'ChoiceList', 'Clickable', 'ClickableChip', 'ClipboardItem', 'DateField', 'DatePicker', 'Details', 'Divider', 'DropZone', 'EmailField', 'Form', 'Grid', 'GridItem', 'Heading', 'Icon', 'Image', 'Link', 'ListItem', 'Map', 'MapMarker', 'Modal', 'MoneyField', 'NumberField', 'Option', 'OrderedList', 'Paragraph', 'PasswordField', 'PaymentIcon', 'PhoneField', 'Popover', 'PressButton', 'ProductThumbnail', 'Progress', 'QueryContainer', 'QRCode', 'ScrollBox', 'Section', 'Select', 'Sheet', 'SkeletonParagraph', 'Spinner', 'Stack', 'Summary', 'Switch', 'Text', 'TextArea', 'TextField', 'Time', 'Tooltip', 'UnorderedList', 'UrlField'];
6
6
 
7
7
  /**
8
8
  * Note: Chat is not supported in the 2025-10 release candidate, but it is tied to a target, and we don't want to remove the target documentation.
@@ -0,0 +1,4 @@
1
+ import type { SharedReferenceEntityTemplateSchema } from '../docs-type';
2
+ declare const data: SharedReferenceEntityTemplateSchema;
3
+ export default data;
4
+ //# sourceMappingURL=Announcement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Announcement.d.ts","sourceRoot":"","sources":["../../../../../src/docs/shared/components/Announcement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mCAAmC,EAAC,MAAM,cAAc,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,mCAOX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SharedReferenceEntityTemplateSchema } from '../docs-type';
2
+ declare const data: SharedReferenceEntityTemplateSchema;
3
+ export default data;
4
+ //# sourceMappingURL=FunctionSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionSettings.d.ts","sourceRoot":"","sources":["../../../../../src/docs/shared/components/FunctionSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mCAAmC,EAAC,MAAM,cAAc,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,mCAuBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SharedReferenceEntityTemplateSchema } from '../docs-type';
2
+ declare const data: SharedReferenceEntityTemplateSchema;
3
+ export default data;
4
+ //# sourceMappingURL=ScrollBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScrollBox.d.ts","sourceRoot":"","sources":["../../../../../src/docs/shared/components/ScrollBox.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mCAAmC,EAAC,MAAM,cAAc,CAAC;AAEtE,QAAA,MAAM,IAAI,EAAE,mCAOX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -4,9 +4,12 @@ export { default as Banner } from './Banner';
4
4
  export { default as Box } from './Box';
5
5
  export { default as Button } from './Button';
6
6
  export { default as Checkbox } from './Checkbox';
7
+ export { default as Chip } from './Chip';
7
8
  export { default as ChoiceList } from './ChoiceList';
8
9
  export { default as Clickable } from './Clickable';
10
+ export { default as ClickableChip } from './ClickableChip';
9
11
  export { default as ClipboardItem } from './ClipboardItem';
12
+ export { default as DateField } from './DateField';
10
13
  export { default as DatePicker } from './DatePicker';
11
14
  export { default as Details } from './Details';
12
15
  export { default as Divider } from './Divider';
@@ -29,6 +32,7 @@ export { default as Popover } from './Popover';
29
32
  export { default as PressButton } from './PressButton';
30
33
  export { default as Progress } from './Progress';
31
34
  export { default as QRCode } from './QRCode';
35
+ export { default as ScrollBox } from './ScrollBox';
32
36
  export { default as SearchField } from './SearchField';
33
37
  export { default as Section } from './Section';
34
38
  export { default as Select } from './Select';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/docs/shared/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,GAAG,EAAC,MAAM,OAAO,CAAC;AACrC,OAAO,EAAC,OAAO,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,cAAc,CAAC;AACnD,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,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O,IAAI,MAAM,EAAC,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,OAAO,IAAI,IAAI,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAC,OAAO,IAAI,IAAI,EAAC,MAAM,QAAQ,CAAC;AACvC,OAAO,EAAC,OAAO,IAAI,OAAO,EAAC,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,OAAO,IAAI,QAAQ,EAAC,MAAM,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AAEtB,cAAc,aAAa,CAAC"}
@@ -6,4 +6,34 @@ export interface CustomerSegmentTemplateApi<ExtensionTarget extends AnyExtension
6
6
  /** @private */
7
7
  __enabledFeatures: string[];
8
8
  }
9
+ export type CustomerStandardMetafieldDependency = 'facts.birth_date';
10
+ export interface CustomerSegmentTemplate {
11
+ /**
12
+ * The localized title of the template.
13
+ */
14
+ title: string;
15
+ /**
16
+ * The localized description of the template. An array can be used for multiple paragraphs.
17
+ */
18
+ description: string | string[];
19
+ /**
20
+ * The code snippet to render in the template with syntax highlighting. The `query` is not validated in the template.
21
+ */
22
+ query: string;
23
+ /**
24
+ * The code snippet to insert in the segment editor. If missing, `query` will be used. The `queryToInsert` is not validated in the template.
25
+ */
26
+ queryToInsert: string;
27
+ /**
28
+ * The list of customer standard metafields or custom metafields used in the template's query.
29
+ */
30
+ dependencies?: {
31
+ standardMetafields?: CustomerStandardMetafieldDependency[];
32
+ customMetafields?: string[];
33
+ };
34
+ /**
35
+ * ISO 8601-encoded date and time string. A "New" badge will be rendered for templates introduced in the last month.
36
+ */
37
+ createdOn: string;
38
+ }
9
39
  //# sourceMappingURL=customer-segment-template.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-segment-template.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,MAAM,WAAW,0BAA0B,CACzC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IAEpC,IAAI,EAAE,IAAI,CAAC;IACX,eAAe;IACf,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B"}
1
+ {"version":3,"file":"customer-segment-template.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,MAAM,WAAW,0BAA0B,CACzC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IAEpC,IAAI,EAAE,IAAI,CAAC;IACX,eAAe;IACf,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,MAAM,mCAAmC,GAAG,kBAAkB,CAAC;AACrE,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,mCAAmC,EAAE,CAAC;QAC3D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;KAC7B,CAAC;IACF;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -1,7 +1,7 @@
1
1
  export type { I18n, I18nTranslate } from '../../api';
2
2
  export type { StandardApi, Intents } from './api/standard/standard';
3
3
  export type { Navigation } from './api/block/block';
4
- export type { CustomerSegmentTemplateApi } from './api/customer-segment-template/customer-segment-template';
4
+ export type { CustomerSegmentTemplateApi, CustomerSegmentTemplate, } from './api/customer-segment-template/customer-segment-template';
5
5
  export type { ActionExtensionApi } from './api/action/action';
6
6
  export type { BlockExtensionApi } from './api/block/block';
7
7
  export type { PrintActionExtensionApi } from './api/print-action/print-action';
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,WAAW,CAAC;AACnD,YAAY,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAClD,YAAY,EAAC,0BAA0B,EAAC,MAAM,2DAA2D,CAAC;AAC1G,YAAY,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAC,uBAAuB,EAAC,MAAM,iCAAiC,CAAC;AAC7E,YAAY,EAAC,8BAA8B,EAAC,MAAM,2DAA2D,CAAC;AAC9G,YAAY,EAAC,qCAAqC,EAAC,MAAM,mEAAmE,CAAC;AAC7H,YAAY,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC;AACrF,YAAY,EAAC,qBAAqB,EAAC,MAAM,0CAA0C,CAAC;AACpF,YAAY,EAAC,mCAAmC,EAAC,MAAM,oCAAoC,CAAC;AAC5F,YAAY,EAAC,2BAA2B,EAAC,MAAM,6DAA6D,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,WAAW,CAAC;AACnD,YAAY,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAClD,YAAY,EACV,0BAA0B,EAC1B,uBAAuB,GACxB,MAAM,2DAA2D,CAAC;AACnE,YAAY,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAC,uBAAuB,EAAC,MAAM,iCAAiC,CAAC;AAC7E,YAAY,EAAC,8BAA8B,EAAC,MAAM,2DAA2D,CAAC;AAC9G,YAAY,EAAC,qCAAqC,EAAC,MAAM,mEAAmE,CAAC;AAC7H,YAAY,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC;AACrF,YAAY,EAAC,qBAAqB,EAAC,MAAM,0CAA0C,CAAC;AACpF,YAAY,EAAC,mCAAmC,EAAC,MAAM,oCAAoC,CAAC;AAC5F,YAAY,EAAC,2BAA2B,EAAC,MAAM,6DAA6D,CAAC"}
@@ -1,11 +1,11 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
5
5
 
6
6
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
7
7
  /// <reference lib="DOM" />
8
- import type {ComponentChild, AdminActionProps$1} from './shared.d.ts';
8
+ import type {ComponentChildren, AdminActionProps$1} from './shared.d.ts';
9
9
 
10
10
  export interface AdminActionProps
11
11
  extends Pick<AdminActionProps$1, 'heading' | 'loading'> {}
@@ -17,16 +17,16 @@ export interface AdminActionJSXProps
17
17
  /**
18
18
  * The primary action to display in the admin action.
19
19
  */
20
- primaryAction: ComponentChild;
20
+ primaryAction: ComponentChildren;
21
21
  /**
22
22
  * The secondary actions to display in the admin action.
23
23
  */
24
- secondaryActions: ComponentChild;
24
+ secondaryActions: ComponentChildren;
25
25
  }
26
26
 
27
27
  export type Styles = string;
28
28
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
29
- ShadowRoot: (element: any) => ComponentChild;
29
+ ShadowRoot: (element: any) => ComponentChildren;
30
30
  styles?: Styles;
31
31
  };
32
32
  export interface ActivationEventEsque {
@@ -1,11 +1,11 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
5
5
 
6
6
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
7
7
  /// <reference lib="DOM" />
8
- import type {AdminBlockProps$1, ComponentChild} from './shared.d.ts';
8
+ import type {AdminBlockProps$1, ComponentChildren} from './shared.d.ts';
9
9
 
10
10
  export interface AdminBlockProps
11
11
  extends Pick<AdminBlockProps$1, 'heading' | 'collapsedSummary'> {}
@@ -17,7 +17,7 @@ export interface AdminBlockJSXProps
17
17
 
18
18
  export type Styles = string;
19
19
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
20
- ShadowRoot: (element: any) => ComponentChild;
20
+ ShadowRoot: (element: any) => ComponentChildren;
21
21
  styles?: Styles;
22
22
  };
23
23
  export interface ActivationEventEsque {
@@ -1,11 +1,11 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
5
5
 
6
6
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
7
7
  /// <reference lib="DOM" />
8
- import type {AdminPrintActionProps$1, ComponentChild} from './shared.d.ts';
8
+ import type {AdminPrintActionProps$1, ComponentChildren} from './shared.d.ts';
9
9
 
10
10
  export interface AdminPrintActionProps
11
11
  extends Pick<AdminPrintActionProps$1, 'src'> {}
@@ -17,7 +17,7 @@ export interface AdminPrintActionJSXProps
17
17
 
18
18
  export type Styles = string;
19
19
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
20
- ShadowRoot: (element: any) => ComponentChild;
20
+ ShadowRoot: (element: any) => ComponentChildren;
21
21
  styles?: Styles;
22
22
  };
23
23
  export interface ActivationEventEsque {
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -6,7 +6,7 @@
6
6
 
7
7
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
8
  /// <reference lib="DOM" />
9
- import type {AvatarProps$1, ComponentChild} from './shared.d.ts';
9
+ import type {AvatarProps$1, ComponentChildren} from './shared.d.ts';
10
10
 
11
11
  export interface AvatarProps
12
12
  extends Required<Pick<AvatarProps$1, 'initials' | 'src' | 'alt' | 'size'>> {
@@ -18,7 +18,7 @@ export interface AvatarProps
18
18
 
19
19
  export type Styles = string;
20
20
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
21
- ShadowRoot: (element: any) => ComponentChild;
21
+ ShadowRoot: (element: any) => ComponentChildren;
22
22
  styles?: Styles;
23
23
  };
24
24
  export interface ActivationEventEsque {
@@ -84,7 +84,6 @@ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
84
84
  (event: CallbackEvent<T>): void;
85
85
  })
86
86
  | null;
87
- /** Used when an element does not have children. */
88
87
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
89
88
  /** Assigns a unique key to this element. */
90
89
  key?: preact.Key;
@@ -93,11 +92,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
93
92
  /** Assigns this element to a parent's slot. */
94
93
  slot?: Lowercase<string>;
95
94
  }
96
- /** Used when an element has children. */
97
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
98
- extends PreactBaseElementProps<TClass> {
99
- children?: preact.ComponentChildren;
100
- }
101
95
 
102
96
  declare class Avatar extends PreactCustomElement implements AvatarProps {
103
97
  accessor initials: AvatarProps['initials'];
@@ -116,7 +110,7 @@ declare global {
116
110
  declare module 'preact' {
117
111
  namespace createElement.JSX {
118
112
  interface IntrinsicElements {
119
- [tagName]: AvatarJSXProps & PreactBaseElementPropsWithChildren<Avatar>;
113
+ [tagName]: AvatarJSXProps & PreactBaseElementProps<Avatar>;
120
114
  }
121
115
  }
122
116
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Badge/Badge.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAwBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Badge.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Badge/Badge.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCA6BX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -7,10 +7,10 @@
7
7
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
8
  /// <reference lib="DOM" />
9
9
  import type {
10
+ ComponentChildren,
10
11
  IconProps$1,
11
12
  BadgeProps$1,
12
13
  IconType,
13
- ComponentChild,
14
14
  } from './shared.d.ts';
15
15
 
16
16
  export interface IconProps
@@ -43,7 +43,7 @@ export interface BadgeProps
43
43
 
44
44
  export type Styles = string;
45
45
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
46
- ShadowRoot: (element: any) => ComponentChild;
46
+ ShadowRoot: (element: any) => ComponentChildren;
47
47
  styles?: Styles;
48
48
  };
49
49
  export interface ActivationEventEsque {
@@ -101,7 +101,6 @@ declare abstract class PreactCustomElement extends BaseClass {
101
101
  click({sourceEvent}?: ClickOptions): void;
102
102
  }
103
103
 
104
- /** Used when an element does not have children. */
105
104
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
106
105
  /** Assigns a unique key to this element. */
107
106
  key?: preact.Key;
@@ -110,11 +109,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
110
109
  /** Assigns this element to a parent's slot. */
111
110
  slot?: Lowercase<string>;
112
111
  }
113
- /** Used when an element has children. */
114
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
115
- extends PreactBaseElementProps<TClass> {
116
- children?: preact.ComponentChildren;
117
- }
118
112
 
119
113
  declare class Badge extends PreactCustomElement implements BadgeProps {
120
114
  accessor color: BadgeProps['color'];
@@ -131,7 +125,7 @@ declare global {
131
125
  declare module 'preact' {
132
126
  namespace createElement.JSX {
133
127
  interface IntrinsicElements {
134
- [tagName]: BadgeJSXProps & PreactBaseElementPropsWithChildren<Badge>;
128
+ [tagName]: BadgeJSXProps & PreactBaseElementProps<Badge>;
135
129
  }
136
130
  }
137
131
  }
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -6,19 +6,7 @@
6
6
 
7
7
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
8
  /// <reference lib="DOM" />
9
- import type {ComponentChild, BannerProps$1} from './shared.d.ts';
10
-
11
- export type RequiredBannerProps = Required<BannerProps$1>;
12
- export interface BannerProps
13
- extends Pick<
14
- RequiredBannerProps,
15
- 'heading' | 'dismissible' | 'hidden' | 'tone'
16
- > {
17
- tone: Extract<
18
- RequiredBannerProps['tone'],
19
- 'auto' | 'critical' | 'warning' | 'success' | 'info'
20
- >;
21
- }
9
+ import type {ComponentChildren, BannerProps$1} from './shared.d.ts';
22
10
 
23
11
  export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
24
12
  currentTarget: HTMLElementTagNameMap[T];
@@ -28,7 +16,6 @@ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
28
16
  (event: CallbackEvent<T>): void;
29
17
  })
30
18
  | null;
31
- /** Used when an element does not have children. */
32
19
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
33
20
  /** Assigns a unique key to this element. */
34
21
  key?: preact.Key;
@@ -37,15 +24,22 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
37
24
  /** Assigns this element to a parent's slot. */
38
25
  slot?: Lowercase<string>;
39
26
  }
40
- /** Used when an element has children. */
41
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
42
- extends PreactBaseElementProps<TClass> {
43
- children?: preact.ComponentChildren;
27
+
28
+ export type RequiredBannerProps = Required<BannerProps$1>;
29
+ export interface BannerProps
30
+ extends Pick<
31
+ RequiredBannerProps,
32
+ 'heading' | 'dismissible' | 'hidden' | 'tone'
33
+ > {
34
+ tone: Extract<
35
+ RequiredBannerProps['tone'],
36
+ 'auto' | 'critical' | 'warning' | 'success' | 'info'
37
+ >;
44
38
  }
45
39
 
46
40
  export type Styles = string;
47
41
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
48
- ShadowRoot: (element: any) => ComponentChild;
42
+ ShadowRoot: (element: any) => ComponentChildren;
49
43
  styles?: Styles;
50
44
  };
51
45
  export interface ActivationEventEsque {
@@ -121,7 +115,7 @@ declare module 'preact' {
121
115
  namespace createElement.JSX {
122
116
  interface IntrinsicElements {
123
117
  [tagName]: Omit<BannerJSXProps, 'secondaryActions'> &
124
- PreactBaseElementPropsWithChildren<Banner>;
118
+ PreactBaseElementProps<Banner>;
125
119
  }
126
120
  }
127
121
  }
@@ -131,11 +125,11 @@ export interface BannerJSXProps
131
125
  extends Partial<BannerProps>,
132
126
  Pick<BannerProps$1, 'id'> {
133
127
  /**
134
- * The secondary actions to display at the bottom of the banner.
128
+ * The secondary actions to display at the bottom of the Banner.
135
129
  *
136
- * A maximum of two `s-button` components are allowed, and only buttons with the `variant` of "secondary" are permitted.
130
+ * Only Buttons with the `variant` of "secondary" or "auto" are permitted. A maximum of two `s-button` components are allowed.
137
131
  */
138
- secondaryActions?: ComponentChild;
132
+ secondaryActions?: ComponentChildren;
139
133
  onDismiss?: ((event: CallbackEvent<typeof tagName>) => void) | null;
140
134
  onAfterHide?: ((event: CallbackEvent<typeof tagName>) => void) | null;
141
135
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Box.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Box/Box.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAiCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Box.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Box/Box.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAsCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -6,10 +6,10 @@
6
6
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
7
7
  /// <reference lib="DOM" />
8
8
  import type {
9
+ ComponentChildren,
9
10
  BoxProps$1,
10
11
  MaybeAllValuesShorthandProperty,
11
12
  SizeUnits,
12
- ComponentChild,
13
13
  } from './shared.d.ts';
14
14
 
15
15
  export type MakeResponsive<T> = T | `@container${string}`;
@@ -205,7 +205,7 @@ export interface BoxProps
205
205
 
206
206
  export type Styles = string;
207
207
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
208
- ShadowRoot: (element: any) => ComponentChild;
208
+ ShadowRoot: (element: any) => ComponentChildren;
209
209
  styles?: Styles;
210
210
  };
211
211
  export interface ActivationEventEsque {
@@ -291,7 +291,6 @@ declare class BoxElement extends PreactCustomElement implements BoxProps {
291
291
  accessor display: BoxProps['display'];
292
292
  }
293
293
 
294
- /** Used when an element does not have children. */
295
294
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
296
295
  /** Assigns a unique key to this element. */
297
296
  key?: preact.Key;
@@ -300,11 +299,6 @@ export interface PreactBaseElementProps<TClass extends HTMLElement> {
300
299
  /** Assigns this element to a parent's slot. */
301
300
  slot?: Lowercase<string>;
302
301
  }
303
- /** Used when an element has children. */
304
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
305
- extends PreactBaseElementProps<TClass> {
306
- children?: preact.ComponentChildren;
307
- }
308
302
 
309
303
  declare class Box extends BoxElement implements BoxProps {
310
304
  constructor();
@@ -317,7 +311,7 @@ declare global {
317
311
  declare module 'preact' {
318
312
  namespace createElement.JSX {
319
313
  interface IntrinsicElements {
320
- [tagName]: BoxJSXProps & PreactBaseElementPropsWithChildren<Box>;
314
+ [tagName]: BoxJSXProps & PreactBaseElementProps<Box>;
321
315
  }
322
316
  }
323
317
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Button.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Button/Button.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCA8BX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Button.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Button/Button.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAmCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.19.0 **/
1
+ /** VERSION: 1.20.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -7,13 +7,30 @@
7
7
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
8
  /// <reference lib="DOM" />
9
9
  import type {
10
+ ComponentChildren,
10
11
  IconProps$1,
11
12
  ButtonProps$1,
12
13
  IconType,
13
14
  InteractionProps,
14
- ComponentChild,
15
15
  } from './shared.d.ts';
16
16
 
17
+ export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
18
+ currentTarget: HTMLElementTagNameMap[T];
19
+ };
20
+ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
21
+ | (EventListener & {
22
+ (event: CallbackEvent<T>): void;
23
+ })
24
+ | null;
25
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
26
+ /** Assigns a unique key to this element. */
27
+ key?: preact.Key;
28
+ /** Assigns a ref (generally from `useRef()`) to this element. */
29
+ ref?: preact.Ref<TClass>;
30
+ /** Assigns this element to a parent's slot. */
31
+ slot?: Lowercase<string>;
32
+ }
33
+
17
34
  export interface IconProps
18
35
  extends Pick<
19
36
  IconProps$1,
@@ -61,32 +78,9 @@ export interface ButtonProps extends ButtonBaseProps {
61
78
  icon: IconProps['type'];
62
79
  }
63
80
 
64
- export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
65
- currentTarget: HTMLElementTagNameMap[T];
66
- };
67
- export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
68
- | (EventListener & {
69
- (event: CallbackEvent<T>): void;
70
- })
71
- | null;
72
- /** Used when an element does not have children. */
73
- export interface PreactBaseElementProps<TClass extends HTMLElement> {
74
- /** Assigns a unique key to this element. */
75
- key?: preact.Key;
76
- /** Assigns a ref (generally from `useRef()`) to this element. */
77
- ref?: preact.Ref<TClass>;
78
- /** Assigns this element to a parent's slot. */
79
- slot?: Lowercase<string>;
80
- }
81
- /** Used when an element has children. */
82
- export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
83
- extends PreactBaseElementProps<TClass> {
84
- children?: preact.ComponentChildren;
85
- }
86
-
87
81
  export type Styles = string;
88
82
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
89
- ShadowRoot: (element: any) => ComponentChild;
83
+ ShadowRoot: (element: any) => ComponentChildren;
90
84
  styles?: Styles;
91
85
  };
92
86
  export interface ActivationEventEsque {
@@ -200,7 +194,7 @@ declare global {
200
194
  declare module 'preact' {
201
195
  namespace createElement.JSX {
202
196
  interface IntrinsicElements {
203
- [tagName]: ButtonJSXProps & PreactBaseElementPropsWithChildren<Button>;
197
+ [tagName]: ButtonJSXProps & PreactBaseElementProps<Button>;
204
198
  }
205
199
  }
206
200
  }