@shopify/ui-extensions 2025.10.0-rc.8 → 2025.10.0

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 (1481) hide show
  1. package/build/cjs/surfaces/checkout/preact/api.js +5 -1
  2. package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
  3. package/build/cjs/surfaces/checkout/preact/subscription.js +6 -5
  4. package/build/cjs/surfaces/checkout/shared.js +35 -0
  5. package/build/cjs/surfaces/checkout.js +2 -0
  6. package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
  7. package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
  8. package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
  9. package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
  10. package/build/cjs/surfaces/point-of-sale.js +9 -0
  11. package/build/esm/surfaces/checkout/preact/api.mjs +5 -1
  12. package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
  13. package/build/esm/surfaces/checkout/preact/subscription.mjs +6 -5
  14. package/build/esm/surfaces/checkout/shared.mjs +31 -0
  15. package/build/esm/surfaces/checkout.mjs +1 -0
  16. package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
  17. package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
  18. package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
  19. package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
  20. package/build/esm/surfaces/point-of-sale.mjs +1 -0
  21. package/build/esnext/surfaces/checkout/preact/api.esnext +5 -1
  22. package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
  23. package/build/esnext/surfaces/checkout/preact/subscription.esnext +6 -5
  24. package/build/esnext/surfaces/checkout/shared.esnext +31 -0
  25. package/build/esnext/surfaces/checkout.esnext +1 -0
  26. package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
  27. package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
  28. package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
  29. package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
  30. package/build/esnext/surfaces/point-of-sale.esnext +1 -0
  31. package/build/ts/docs/shared/components/Announcement.d.ts +4 -0
  32. package/build/ts/docs/shared/components/Announcement.d.ts.map +1 -0
  33. package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
  34. package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
  35. package/build/ts/docs/shared/components/Badge.d.ts +1 -1
  36. package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
  37. package/build/ts/docs/shared/components/Banner.d.ts +1 -1
  38. package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
  39. package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
  40. package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
  41. package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
  42. package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
  43. package/build/ts/docs/shared/components/Chip.d.ts +4 -0
  44. package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
  45. package/build/ts/docs/shared/components/Choice.d.ts +1 -1
  46. package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
  47. package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
  48. package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
  49. package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
  50. package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
  51. package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
  52. package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
  53. package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
  54. package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
  55. package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
  56. package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
  57. package/build/ts/docs/shared/components/ConsentCheckbox.d.ts +4 -0
  58. package/build/ts/docs/shared/components/ConsentCheckbox.d.ts.map +1 -0
  59. package/build/ts/docs/shared/components/ConsentPhoneField.d.ts +4 -0
  60. package/build/ts/docs/shared/components/ConsentPhoneField.d.ts.map +1 -0
  61. package/build/ts/docs/shared/components/DateField.d.ts +4 -0
  62. package/build/ts/docs/shared/components/DateField.d.ts.map +1 -0
  63. package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
  64. package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
  65. package/build/ts/docs/shared/components/Details.d.ts +4 -0
  66. package/build/ts/docs/shared/components/Details.d.ts.map +1 -0
  67. package/build/ts/docs/shared/components/Divider.d.ts +1 -1
  68. package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
  69. package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
  70. package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
  71. package/build/ts/docs/shared/components/FunctionSettings.d.ts +4 -0
  72. package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -0
  73. package/build/ts/docs/shared/components/Grid.d.ts +1 -1
  74. package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
  75. package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
  76. package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
  77. package/build/ts/docs/shared/components/Menu.d.ts +4 -0
  78. package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
  79. package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
  80. package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
  81. package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
  82. package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
  83. package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
  84. package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
  85. package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
  86. package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
  87. package/build/ts/docs/shared/components/Popover.d.ts +4 -0
  88. package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
  89. package/build/ts/docs/shared/components/PressButton.d.ts +4 -0
  90. package/build/ts/docs/shared/components/PressButton.d.ts.map +1 -0
  91. package/build/ts/docs/shared/components/ScrollBox.d.ts +4 -0
  92. package/build/ts/docs/shared/components/ScrollBox.d.ts.map +1 -0
  93. package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
  94. package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
  95. package/build/ts/docs/shared/components/Section.d.ts +1 -1
  96. package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
  97. package/build/ts/docs/shared/components/Select.d.ts +1 -1
  98. package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
  99. package/build/ts/docs/shared/components/SkeletonParagraph.d.ts +4 -0
  100. package/build/ts/docs/shared/components/SkeletonParagraph.d.ts.map +1 -0
  101. package/build/ts/docs/shared/components/Summary.d.ts +4 -0
  102. package/build/ts/docs/shared/components/Summary.d.ts.map +1 -0
  103. package/build/ts/docs/shared/components/Switch.d.ts +1 -1
  104. package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
  105. package/build/ts/docs/shared/components/Table.d.ts +1 -1
  106. package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
  107. package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
  108. package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
  109. package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
  110. package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
  111. package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
  112. package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
  113. package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
  114. package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
  115. package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
  116. package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
  117. package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
  118. package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
  119. package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
  120. package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
  121. package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
  122. package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
  123. package/build/ts/docs/shared/components/URLField.d.ts +1 -1
  124. package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
  125. package/build/ts/docs/shared/components/index.d.ts +12 -0
  126. package/build/ts/docs/shared/components/index.d.ts.map +1 -1
  127. package/build/ts/docs/shared/docs-type.d.ts +3 -2
  128. package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
  129. package/build/ts/shared.d.ts +14 -1
  130. package/build/ts/shared.d.ts.map +1 -1
  131. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +30 -0
  132. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
  133. package/build/ts/surfaces/admin/api/intents/intents.d.ts +132 -0
  134. package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -0
  135. package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts +4 -0
  136. package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -0
  137. package/build/ts/surfaces/admin/api/standard/standard.d.ts +8 -8
  138. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  139. package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
  140. package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
  141. package/build/ts/surfaces/admin/api.d.ts +1 -1
  142. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  143. package/build/ts/surfaces/admin/components/AdminAction.d.ts +5 -5
  144. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
  145. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +3 -3
  146. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
  147. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
  148. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
  149. package/build/ts/surfaces/admin/components/Avatar.d.ts +128 -0
  150. package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
  151. package/build/ts/surfaces/admin/components/Badge.d.ts +8 -5
  152. package/build/ts/surfaces/admin/components/Banner.d.ts +22 -28
  153. package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
  154. package/build/ts/surfaces/admin/components/Box.d.ts +76 -24
  155. package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
  156. package/build/ts/surfaces/admin/components/Button.d.ts +41 -36
  157. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
  158. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
  159. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +132 -0
  160. package/build/ts/surfaces/admin/components/Checkbox.d.ts +23 -34
  161. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
  162. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
  163. package/build/ts/surfaces/admin/components/Chip.d.ts +121 -0
  164. package/build/ts/surfaces/admin/components/Choice.d.ts +10 -9
  165. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  166. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +22 -28
  167. package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
  168. package/build/ts/surfaces/admin/components/Clickable.d.ts +109 -56
  169. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
  170. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
  171. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +152 -0
  172. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
  173. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
  174. package/build/ts/surfaces/admin/components/ColorField.d.ts +240 -0
  175. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
  176. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
  177. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +128 -0
  178. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
  179. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
  180. package/build/ts/surfaces/admin/components/DateField.d.ts +242 -0
  181. package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -33
  182. package/build/ts/surfaces/admin/components/Divider.d.ts +3 -3
  183. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
  184. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
  185. package/build/ts/surfaces/admin/components/EmailField.d.ts +27 -33
  186. package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
  187. package/build/ts/surfaces/admin/components/Form.d.ts +48 -36
  188. package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +4 -0
  189. package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -0
  190. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts +4 -0
  191. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -0
  192. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
  193. package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +4 -0
  194. package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -0
  195. package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
  196. package/build/ts/surfaces/admin/components/Grid.d.ts +148 -34
  197. package/build/ts/surfaces/admin/components/GridItem.d.ts +76 -24
  198. package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
  199. package/build/ts/surfaces/admin/components/Heading.d.ts +3 -3
  200. package/build/ts/surfaces/admin/components/Icon.d.ts +8 -4
  201. package/build/ts/surfaces/admin/components/Image.d.ts +95 -55
  202. package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
  203. package/build/ts/surfaces/admin/components/Link.d.ts +35 -39
  204. package/build/ts/surfaces/admin/components/ListItem.d.ts +3 -3
  205. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
  206. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
  207. package/build/ts/surfaces/admin/components/Menu.d.ts +139 -0
  208. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
  209. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
  210. package/build/ts/surfaces/admin/components/Modal.d.ts +227 -0
  211. package/build/ts/surfaces/admin/components/MoneyField.d.ts +30 -38
  212. package/build/ts/surfaces/admin/components/NumberField.d.ts +27 -33
  213. package/build/ts/surfaces/admin/components/Option.d.ts +6 -4
  214. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +6 -4
  215. package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  216. package/build/ts/surfaces/admin/components/OrderedList.d.ts +3 -3
  217. package/build/ts/surfaces/admin/components/Page.d.ts +33 -7
  218. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
  219. package/build/ts/surfaces/admin/components/Paragraph.d.ts +3 -3
  220. package/build/ts/surfaces/admin/components/PasswordField.d.ts +27 -33
  221. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
  222. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
  223. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
  224. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +4 -8
  225. package/build/ts/surfaces/admin/components/SearchField.d.ts +27 -33
  226. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
  227. package/build/ts/surfaces/admin/components/Section.d.ts +3 -3
  228. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  229. package/build/ts/surfaces/admin/components/Select.d.ts +49 -33
  230. package/build/ts/surfaces/admin/components/Spinner.d.ts +3 -3
  231. package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
  232. package/build/ts/surfaces/admin/components/Stack.d.ts +117 -41
  233. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  234. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  235. package/build/ts/surfaces/admin/components/Switch.d.ts +22 -27
  236. package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
  237. package/build/ts/surfaces/admin/components/Table.d.ts +16 -15
  238. package/build/ts/surfaces/admin/components/TableBody.d.ts +3 -3
  239. package/build/ts/surfaces/admin/components/TableCell.d.ts +18 -3
  240. package/build/ts/surfaces/admin/components/TableHeader.d.ts +11 -4
  241. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
  242. package/build/ts/surfaces/admin/components/TableRow.d.ts +6 -4
  243. package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
  244. package/build/ts/surfaces/admin/components/Text.d.ts +5 -3
  245. package/build/ts/surfaces/admin/components/TextArea.d.ts +27 -33
  246. package/build/ts/surfaces/admin/components/TextField.d.ts +28 -34
  247. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
  248. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
  249. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +15 -21
  250. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
  251. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
  252. package/build/ts/surfaces/admin/components/Tooltip.d.ts +148 -0
  253. package/build/ts/surfaces/admin/components/URLField.d.ts +27 -33
  254. package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  255. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +3 -3
  256. package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +4 -0
  257. package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -0
  258. package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +4 -0
  259. package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -0
  260. package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +4 -0
  261. package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -0
  262. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
  263. package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +4 -0
  264. package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -0
  265. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
  266. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
  267. package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts +4 -0
  268. package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -0
  269. package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +4 -0
  270. package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -0
  271. package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +4 -0
  272. package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -0
  273. package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +4 -0
  274. package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -0
  275. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
  276. package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +4 -0
  277. package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -0
  278. package/build/ts/surfaces/admin/components/shared.d.ts +1212 -737
  279. package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
  280. package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
  281. package/build/ts/surfaces/admin/extension-targets.d.ts +10 -8
  282. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  283. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +53 -3548
  284. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
  285. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +54 -3590
  286. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +53 -3548
  287. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
  288. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +54 -3590
  289. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +53 -3548
  290. package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
  291. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +54 -3590
  292. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +53 -3548
  293. package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
  294. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +53 -3548
  295. package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
  296. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +54 -3590
  297. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +54 -3590
  298. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +53 -3548
  299. package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
  300. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +54 -3590
  301. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +53 -3548
  302. package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
  303. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +53 -3548
  304. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
  305. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +53 -3548
  306. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
  307. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.data.d.ts +6 -0
  308. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +53 -3548
  309. package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
  310. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +54 -3590
  311. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +53 -3548
  312. package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
  313. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +53 -3548
  314. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
  315. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +54 -3590
  316. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +53 -3548
  317. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
  318. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +53 -3548
  319. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
  320. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +53 -3548
  321. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
  322. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +54 -3590
  323. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +53 -3548
  324. package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
  325. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +54 -3590
  326. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +53 -3537
  327. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
  328. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +53 -3548
  329. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
  330. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +53 -3548
  331. package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
  332. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +53 -3548
  333. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
  334. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +53 -3537
  335. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
  336. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +53 -3548
  337. package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
  338. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +54 -3590
  339. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +54 -3590
  340. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +53 -3537
  341. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
  342. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +54 -3590
  343. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +53 -3548
  344. package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
  345. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +53 -3548
  346. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
  347. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +53 -3537
  348. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
  349. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +53 -3548
  350. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +53 -3548
  351. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
  352. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +54 -3590
  353. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +54 -3590
  354. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +53 -3548
  355. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +54 -3497
  356. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +54 -3497
  357. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +54 -3497
  358. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -1
  359. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +8 -0
  360. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -0
  361. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +3 -3
  362. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  363. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +20 -4
  364. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  365. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +2 -2
  366. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
  367. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -3
  368. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  369. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -3
  370. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
  371. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +2 -2
  372. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
  373. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +2 -2
  374. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
  375. package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
  376. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  377. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +3 -3
  378. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  379. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +3 -3
  380. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  381. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +63 -40
  382. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  383. package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
  384. package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -1
  385. package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts +4 -0
  386. package/build/ts/surfaces/checkout/components/Announcement/Announcement.doc.d.ts.map +1 -0
  387. package/build/ts/surfaces/checkout/components/Announcement.d.ts +95 -0
  388. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
  389. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
  390. package/build/ts/surfaces/checkout/components/Badge.d.ts +57 -0
  391. package/build/ts/surfaces/checkout/components/Banner.d.ts +9 -6
  392. package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
  393. package/build/ts/surfaces/checkout/components/Button.d.ts +10 -5
  394. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +11 -5
  395. package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts +4 -0
  396. package/build/ts/surfaces/checkout/components/Chip/Chip.doc.d.ts.map +1 -0
  397. package/build/ts/surfaces/checkout/components/Chip.d.ts +56 -0
  398. package/build/ts/surfaces/checkout/components/Choice.d.ts +67 -0
  399. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  400. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  401. package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +65 -0
  402. package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts +4 -0
  403. package/build/ts/surfaces/checkout/components/Clickable/Clickable.doc.d.ts.map +1 -0
  404. package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
  405. package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
  406. package/build/ts/surfaces/checkout/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
  407. package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +83 -0
  408. package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
  409. package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
  410. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
  411. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
  412. package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
  413. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
  414. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
  415. package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
  416. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +4 -0
  417. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -0
  418. package/build/ts/surfaces/checkout/components/DateField.d.ts +87 -0
  419. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +4 -0
  420. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  421. package/build/ts/surfaces/checkout/components/DatePicker.d.ts +77 -0
  422. package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts +4 -0
  423. package/build/ts/surfaces/checkout/components/Details/Details.doc.d.ts.map +1 -0
  424. package/build/ts/surfaces/checkout/components/Details.d.ts +85 -0
  425. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +4 -0
  426. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -0
  427. package/build/ts/surfaces/checkout/components/Divider.d.ts +46 -0
  428. package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -7
  429. package/build/ts/surfaces/checkout/components/EmailField.d.ts +31 -8
  430. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
  431. package/build/ts/surfaces/checkout/components/Form.d.ts +11 -8
  432. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +4 -0
  433. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -0
  434. package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
  435. package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
  436. package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
  437. package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
  438. package/build/ts/surfaces/checkout/components/Icon.d.ts +4 -3
  439. package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
  440. package/build/ts/surfaces/checkout/components/Link.d.ts +10 -5
  441. package/build/ts/surfaces/checkout/components/Map.d.ts +11 -8
  442. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +16 -15
  443. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
  444. package/build/ts/surfaces/checkout/components/Modal.d.ts +22 -18
  445. package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts +4 -0
  446. package/build/ts/surfaces/checkout/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
  447. package/build/ts/surfaces/checkout/components/MoneyField.d.ts +80 -0
  448. package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts +4 -0
  449. package/build/ts/surfaces/checkout/components/NumberField/NumberField.doc.d.ts.map +1 -0
  450. package/build/ts/surfaces/checkout/components/NumberField.d.ts +98 -0
  451. package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
  452. package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  453. package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
  454. package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts +4 -0
  455. package/build/ts/surfaces/checkout/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
  456. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +93 -0
  457. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
  458. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +31 -17
  459. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +4 -0
  460. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -0
  461. package/build/ts/surfaces/checkout/components/Popover.d.ts +116 -0
  462. package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts +4 -0
  463. package/build/ts/surfaces/checkout/components/PressButton/PressButton.doc.d.ts.map +1 -0
  464. package/build/ts/surfaces/checkout/components/PressButton.d.ts +79 -0
  465. package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
  466. package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
  467. package/build/ts/surfaces/checkout/components/QRCode.d.ts +8 -5
  468. package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  469. package/build/ts/surfaces/checkout/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  470. package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +48 -0
  471. package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
  472. package/build/ts/surfaces/checkout/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
  473. package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
  474. package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
  475. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +4 -0
  476. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -0
  477. package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
  478. package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts +4 -0
  479. package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -0
  480. package/build/ts/surfaces/checkout/components/Sheet.d.ts +100 -0
  481. package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
  482. package/build/ts/surfaces/checkout/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
  483. package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
  484. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
  485. package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
  486. package/build/ts/surfaces/checkout/components/Stack.d.ts +4 -4
  487. package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
  488. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
  489. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
  490. package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
  491. package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
  492. package/build/ts/surfaces/checkout/components/TextArea.d.ts +24 -8
  493. package/build/ts/surfaces/checkout/components/TextField.d.ts +35 -20
  494. package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
  495. package/build/ts/surfaces/checkout/components/Time.d.ts +1 -1
  496. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +4 -0
  497. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
  498. package/build/ts/surfaces/checkout/components/Tooltip.d.ts +48 -0
  499. package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  500. package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts +4 -0
  501. package/build/ts/surfaces/checkout/components/UrlField/UrlField.doc.d.ts.map +1 -0
  502. package/build/ts/surfaces/checkout/components/UrlField.d.ts +93 -0
  503. package/build/ts/surfaces/checkout/components/components-shared.d.ts +1034 -288
  504. package/build/ts/surfaces/checkout/components/components.d.ts +1947 -530
  505. package/build/ts/surfaces/checkout/extension-targets.d.ts +64 -60
  506. package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
  507. package/build/ts/surfaces/checkout/preact/api.d.ts +4 -0
  508. package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
  509. package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
  510. package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
  511. package/build/ts/surfaces/checkout/preact/subscription.d.ts +5 -4
  512. package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
  513. package/build/ts/surfaces/checkout/shared.d.ts +36 -5
  514. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  515. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +62 -1397
  516. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +62 -1397
  517. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +62 -1397
  518. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +62 -1397
  519. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +62 -1397
  520. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +62 -1397
  521. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +62 -1397
  522. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +62 -1397
  523. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +60 -1304
  524. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +60 -1304
  525. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +60 -1304
  526. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +62 -1397
  527. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +62 -1397
  528. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +62 -1397
  529. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +62 -1397
  530. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +62 -1397
  531. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +62 -1397
  532. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +62 -1397
  533. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +62 -1397
  534. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +62 -1397
  535. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +62 -1397
  536. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +62 -1397
  537. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +62 -1397
  538. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +62 -1397
  539. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +62 -1397
  540. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +62 -1397
  541. package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
  542. package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
  543. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +62 -1397
  544. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +62 -1397
  545. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +62 -1397
  546. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +62 -1397
  547. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +62 -1397
  548. package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
  549. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +62 -1397
  550. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +62 -1397
  551. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +62 -1397
  552. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +62 -1397
  553. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +60 -1304
  554. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +62 -1397
  555. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +62 -1397
  556. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +62 -1397
  557. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +62 -1397
  558. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +60 -1304
  559. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +62 -1397
  560. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +62 -1397
  561. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +62 -1397
  562. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +62 -1397
  563. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +62 -1397
  564. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +62 -1397
  565. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +62 -1397
  566. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +62 -1397
  567. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +62 -1397
  568. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +62 -1397
  569. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +62 -1397
  570. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +62 -1397
  571. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +68 -0
  572. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +62 -1397
  573. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +62 -1397
  574. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +62 -1397
  575. package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
  576. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +62 -1397
  577. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +62 -1397
  578. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +62 -1397
  579. package/build/ts/surfaces/checkout.d.ts +3 -1
  580. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  581. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
  582. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
  583. package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
  584. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  585. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
  586. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  587. package/build/ts/surfaces/customer-account/api/shared.d.ts +54 -40
  588. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  589. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
  590. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  591. package/build/ts/surfaces/customer-account/api.d.ts +2 -2
  592. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  593. package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -1
  594. package/build/ts/surfaces/customer-account/components/Announcement.d.ts +95 -0
  595. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -1
  596. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +46 -20
  597. package/build/ts/surfaces/customer-account/components/Badge.d.ts +57 -0
  598. package/build/ts/surfaces/customer-account/components/Banner.d.ts +9 -6
  599. package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -5
  600. package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
  601. package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
  602. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
  603. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +11 -5
  604. package/build/ts/surfaces/customer-account/components/Chip.d.ts +56 -0
  605. package/build/ts/surfaces/customer-account/components/Choice.d.ts +67 -0
  606. package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +65 -0
  607. package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
  608. package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +83 -0
  609. package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +9 -6
  610. package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +84 -0
  611. package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +129 -0
  612. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -1
  613. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
  614. package/build/ts/surfaces/customer-account/components/DateField.d.ts +87 -0
  615. package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +77 -0
  616. package/build/ts/surfaces/customer-account/components/Details.d.ts +85 -0
  617. package/build/ts/surfaces/customer-account/components/Divider.d.ts +46 -0
  618. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -7
  619. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +31 -8
  620. package/build/ts/surfaces/customer-account/components/Form.d.ts +11 -8
  621. package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
  622. package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
  623. package/build/ts/surfaces/customer-account/components/Icon.d.ts +4 -3
  624. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
  625. package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -5
  626. package/build/ts/surfaces/customer-account/components/Map.d.ts +11 -8
  627. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +16 -15
  628. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
  629. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
  630. package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
  631. package/build/ts/surfaces/customer-account/components/Modal.d.ts +22 -18
  632. package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +80 -0
  633. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +98 -0
  634. package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
  635. package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
  636. package/build/ts/surfaces/customer-account/components/Page.d.ts +17 -2
  637. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +93 -0
  638. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +31 -17
  639. package/build/ts/surfaces/customer-account/components/Popover.d.ts +116 -0
  640. package/build/ts/surfaces/customer-account/components/PressButton.d.ts +79 -0
  641. package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
  642. package/build/ts/surfaces/customer-account/components/QRCode.d.ts +8 -5
  643. package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +48 -0
  644. package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
  645. package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
  646. package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
  647. package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
  648. package/build/ts/surfaces/customer-account/components/Sheet.d.ts +100 -0
  649. package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
  650. package/build/ts/surfaces/customer-account/components/Stack.d.ts +4 -4
  651. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
  652. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
  653. package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
  654. package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
  655. package/build/ts/surfaces/customer-account/components/TextArea.d.ts +24 -8
  656. package/build/ts/surfaces/customer-account/components/TextField.d.ts +35 -20
  657. package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -1
  658. package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +48 -0
  659. package/build/ts/surfaces/customer-account/components/UrlField.d.ts +93 -0
  660. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +1034 -288
  661. package/build/ts/surfaces/customer-account/components/components.d.ts +1947 -530
  662. package/build/ts/surfaces/customer-account/components/shared.d.ts +2 -2
  663. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  664. package/build/ts/surfaces/customer-account/components/shared.ts +12 -5
  665. package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
  666. package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
  667. package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
  668. package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
  669. package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
  670. package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
  671. package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
  672. package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
  673. package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
  674. package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
  675. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +70 -1537
  676. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +75 -0
  677. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +70 -1537
  678. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +75 -0
  679. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +70 -1537
  680. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +70 -1537
  681. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +70 -1537
  682. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +70 -1537
  683. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +70 -1537
  684. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +70 -1537
  685. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +70 -1537
  686. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +70 -1537
  687. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +70 -1537
  688. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +70 -1537
  689. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +70 -1537
  690. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +70 -1537
  691. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +70 -1537
  692. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +75 -0
  693. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +70 -1537
  694. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +70 -1537
  695. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +70 -1537
  696. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +70 -1537
  697. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +70 -1537
  698. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +70 -1537
  699. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
  700. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
  701. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +8 -0
  702. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
  703. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
  704. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
  705. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
  706. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
  707. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
  708. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
  709. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
  710. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
  711. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
  712. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
  713. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
  714. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
  715. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
  716. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
  717. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +47 -0
  718. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
  719. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
  720. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
  721. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
  722. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
  723. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
  724. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
  725. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
  726. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
  727. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
  728. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
  729. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
  730. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
  731. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
  732. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
  733. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
  734. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
  735. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
  736. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
  737. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
  738. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
  739. package/build/ts/surfaces/point-of-sale/api.d.ts +34 -0
  740. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
  741. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
  742. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
  743. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +61 -0
  744. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
  745. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
  746. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +77 -0
  747. package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
  748. package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
  749. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +175 -0
  750. package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
  751. package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
  752. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +102 -0
  753. package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +50 -0
  754. package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  755. package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  756. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
  757. package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
  758. package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
  759. package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
  760. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
  761. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
  762. package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +78 -0
  763. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
  764. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  765. package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
  766. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
  767. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
  768. package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
  769. package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts +4 -0
  770. package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +1 -0
  771. package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +48 -0
  772. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
  773. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
  774. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
  775. package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
  776. package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
  777. package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +52 -0
  778. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
  779. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
  780. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +183 -0
  781. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
  782. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
  783. package/build/ts/surfaces/point-of-sale/components/Image.d.ts +71 -0
  784. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
  785. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
  786. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +90 -0
  787. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
  788. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
  789. package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
  790. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
  791. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
  792. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +76 -0
  793. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
  794. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
  795. package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
  796. package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
  797. package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
  798. package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
  799. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
  800. package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
  801. package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
  802. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
  803. package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
  804. package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
  805. package/build/ts/surfaces/point-of-sale/components/Section.d.ts +68 -0
  806. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
  807. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
  808. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +250 -0
  809. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
  810. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
  811. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +75 -0
  812. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
  813. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
  814. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
  815. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
  816. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
  817. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +95 -0
  818. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
  819. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
  820. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +71 -0
  821. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
  822. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
  823. package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
  824. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
  825. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
  826. package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
  827. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
  828. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
  829. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
  830. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
  831. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
  832. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
  833. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
  834. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
  835. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
  836. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
  837. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
  838. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
  839. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
  840. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
  841. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
  842. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
  843. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
  844. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
  845. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
  846. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
  847. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
  848. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
  849. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
  850. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
  851. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
  852. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
  853. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
  854. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
  855. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
  856. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
  857. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
  858. package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
  859. package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
  860. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
  861. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
  862. package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
  863. package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
  864. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
  865. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
  866. package/build/ts/surfaces/point-of-sale/globals.d.ts +5 -0
  867. package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
  868. package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +7 -0
  869. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +8 -0
  870. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +34 -0
  871. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +7 -0
  872. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +7 -0
  873. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +8 -0
  874. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +34 -0
  875. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +20 -0
  876. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +8 -0
  877. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +34 -0
  878. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +20 -0
  879. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +8 -0
  880. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +34 -0
  881. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +20 -0
  882. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +34 -0
  883. package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +8 -0
  884. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +8 -0
  885. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +34 -0
  886. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +20 -0
  887. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +8 -0
  888. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +34 -0
  889. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +20 -0
  890. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +8 -0
  891. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +34 -0
  892. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +20 -0
  893. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +10 -0
  894. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +10 -0
  895. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +8 -0
  896. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +34 -0
  897. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +20 -0
  898. package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +7 -0
  899. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
  900. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
  901. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +165 -0
  902. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
  903. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
  904. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
  905. package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
  906. package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
  907. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
  908. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
  909. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +5 -0
  910. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -0
  911. package/build/ts/surfaces/point-of-sale/types/money.d.ts +9 -0
  912. package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
  913. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
  914. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
  915. package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
  916. package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
  917. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
  918. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
  919. package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
  920. package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
  921. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +64 -0
  922. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
  923. package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
  924. package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
  925. package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
  926. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
  927. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
  928. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
  929. package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
  930. package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
  931. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
  932. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
  933. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
  934. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
  935. package/build/ts/surfaces/point-of-sale.d.ts +5 -0
  936. package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
  937. package/build/tsconfig.tsbuildinfo +1 -1
  938. package/package.json +37 -5
  939. package/src/docs/shared/components/Announcement.ts +12 -0
  940. package/src/docs/shared/components/Avatar.ts +12 -0
  941. package/src/docs/shared/components/Badge.ts +1 -1
  942. package/src/docs/shared/components/Banner.ts +1 -1
  943. package/src/docs/shared/components/ButtonGroup.ts +11 -0
  944. package/src/docs/shared/components/Checkbox.ts +1 -1
  945. package/src/docs/shared/components/Chip.ts +12 -0
  946. package/src/docs/shared/components/Choice.ts +1 -1
  947. package/src/docs/shared/components/ChoiceList.ts +1 -1
  948. package/src/docs/shared/components/Clickable.ts +1 -1
  949. package/src/docs/shared/components/ClickableChip.ts +12 -0
  950. package/src/docs/shared/components/ColorField.ts +12 -0
  951. package/src/docs/shared/components/ColorPicker.ts +11 -0
  952. package/src/docs/shared/components/ConsentCheckbox.ts +12 -0
  953. package/src/docs/shared/components/ConsentPhoneField.ts +12 -0
  954. package/src/docs/shared/components/DateField.ts +11 -0
  955. package/src/docs/shared/components/DatePicker.ts +1 -1
  956. package/src/docs/shared/components/Details.ts +12 -0
  957. package/src/docs/shared/components/Divider.ts +1 -1
  958. package/src/docs/shared/components/EmailField.ts +2 -2
  959. package/src/docs/shared/components/FunctionSettings.ts +28 -0
  960. package/src/docs/shared/components/Grid.ts +1 -1
  961. package/src/docs/shared/components/GridItem.ts +1 -1
  962. package/src/docs/shared/components/Menu.ts +12 -0
  963. package/src/docs/shared/components/Modal.ts +2 -2
  964. package/src/docs/shared/components/MoneyField.ts +1 -1
  965. package/src/docs/shared/components/NumberField.ts +1 -1
  966. package/src/docs/shared/components/OptionGroup.ts +12 -0
  967. package/src/docs/shared/components/Paragraph.ts +1 -1
  968. package/src/docs/shared/components/PasswordField.ts +1 -1
  969. package/src/docs/shared/components/Popover.ts +12 -0
  970. package/src/docs/shared/components/PressButton.ts +12 -0
  971. package/src/docs/shared/components/ScrollBox.ts +12 -0
  972. package/src/docs/shared/components/SearchField.ts +1 -1
  973. package/src/docs/shared/components/Section.ts +1 -1
  974. package/src/docs/shared/components/Select.ts +1 -1
  975. package/src/docs/shared/components/SkeletonParagraph.ts +12 -0
  976. package/src/docs/shared/components/Summary.ts +12 -0
  977. package/src/docs/shared/components/Switch.ts +1 -1
  978. package/src/docs/shared/components/Table.ts +1 -1
  979. package/src/docs/shared/components/TableBody.ts +1 -1
  980. package/src/docs/shared/components/TableCell.ts +1 -1
  981. package/src/docs/shared/components/TableHeader.ts +1 -1
  982. package/src/docs/shared/components/TableHeaderRow.ts +1 -1
  983. package/src/docs/shared/components/TableRow.ts +1 -1
  984. package/src/docs/shared/components/TextArea.ts +1 -1
  985. package/src/docs/shared/components/Thumbnail.ts +12 -0
  986. package/src/docs/shared/components/Tooltip.ts +12 -0
  987. package/src/docs/shared/components/URLField.ts +1 -1
  988. package/src/docs/shared/components/index.ts +12 -0
  989. package/src/docs/shared/docs-type.ts +6 -5
  990. package/src/shared.ts +16 -1
  991. package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +31 -0
  992. package/src/surfaces/admin/api/intents/examples/create-article.js +9 -0
  993. package/src/surfaces/admin/api/intents/examples/create-catalog.js +9 -0
  994. package/src/surfaces/admin/api/intents/examples/create-collection.js +9 -0
  995. package/src/surfaces/admin/api/intents/examples/create-customer.js +9 -0
  996. package/src/surfaces/admin/api/intents/examples/create-discount.js +11 -0
  997. package/src/surfaces/admin/api/intents/examples/create-market.js +9 -0
  998. package/src/surfaces/admin/api/intents/examples/create-menu.js +9 -0
  999. package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +11 -0
  1000. package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +9 -0
  1001. package/src/surfaces/admin/api/intents/examples/create-metaobject.js +11 -0
  1002. package/src/surfaces/admin/api/intents/examples/create-page.js +9 -0
  1003. package/src/surfaces/admin/api/intents/examples/create-product.js +9 -0
  1004. package/src/surfaces/admin/api/intents/examples/create-variant.js +11 -0
  1005. package/src/surfaces/admin/api/intents/examples/edit-article.js +11 -0
  1006. package/src/surfaces/admin/api/intents/examples/edit-catalog.js +11 -0
  1007. package/src/surfaces/admin/api/intents/examples/edit-collection.js +11 -0
  1008. package/src/surfaces/admin/api/intents/examples/edit-customer.js +11 -0
  1009. package/src/surfaces/admin/api/intents/examples/edit-discount.js +11 -0
  1010. package/src/surfaces/admin/api/intents/examples/edit-market.js +11 -0
  1011. package/src/surfaces/admin/api/intents/examples/edit-menu.js +11 -0
  1012. package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +11 -0
  1013. package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +11 -0
  1014. package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +11 -0
  1015. package/src/surfaces/admin/api/intents/examples/edit-page.js +11 -0
  1016. package/src/surfaces/admin/api/intents/examples/edit-product.js +11 -0
  1017. package/src/surfaces/admin/api/intents/examples/edit-variant.js +11 -0
  1018. package/src/surfaces/admin/api/intents/intents.ts +153 -0
  1019. package/src/surfaces/admin/api/standard/standard.ts +9 -7
  1020. package/src/surfaces/admin/api/standard/storage.ts +110 -0
  1021. package/src/surfaces/admin/api.ts +4 -1
  1022. package/src/surfaces/admin/components/AdminAction.d.ts +5 -5
  1023. package/src/surfaces/admin/components/AdminBlock.d.ts +3 -3
  1024. package/src/surfaces/admin/components/AdminPrintAction.d.ts +3 -3
  1025. package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
  1026. package/src/surfaces/admin/components/Avatar.d.ts +128 -0
  1027. package/src/surfaces/admin/components/Badge.d.ts +8 -5
  1028. package/src/surfaces/admin/components/Banner.d.ts +22 -28
  1029. package/src/surfaces/admin/components/Box.d.ts +76 -24
  1030. package/src/surfaces/admin/components/Button.d.ts +41 -36
  1031. package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
  1032. package/src/surfaces/admin/components/ButtonGroup.d.ts +132 -0
  1033. package/src/surfaces/admin/components/Checkbox.d.ts +23 -34
  1034. package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
  1035. package/src/surfaces/admin/components/Chip.d.ts +121 -0
  1036. package/src/surfaces/admin/components/Choice.d.ts +10 -9
  1037. package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
  1038. package/src/surfaces/admin/components/ChoiceList.d.ts +22 -28
  1039. package/src/surfaces/admin/components/Clickable.d.ts +109 -56
  1040. package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
  1041. package/src/surfaces/admin/components/ClickableChip.d.ts +152 -0
  1042. package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
  1043. package/src/surfaces/admin/components/ColorField.d.ts +240 -0
  1044. package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
  1045. package/src/surfaces/admin/components/ColorPicker.d.ts +128 -0
  1046. package/src/surfaces/admin/components/DateField/examples/default.html +1 -0
  1047. package/src/surfaces/admin/components/DateField.d.ts +242 -0
  1048. package/src/surfaces/admin/components/DatePicker.d.ts +10 -33
  1049. package/src/surfaces/admin/components/Divider.d.ts +3 -3
  1050. package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
  1051. package/src/surfaces/admin/components/EmailField.d.ts +27 -33
  1052. package/src/surfaces/admin/components/Form.d.ts +48 -36
  1053. package/src/surfaces/admin/components/FormExtensionComponents.ts +5 -0
  1054. package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +38 -0
  1055. package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
  1056. package/src/surfaces/admin/components/FunctionSettingsComponents.ts +7 -0
  1057. package/src/surfaces/admin/components/Grid.d.ts +148 -34
  1058. package/src/surfaces/admin/components/GridItem.d.ts +76 -24
  1059. package/src/surfaces/admin/components/Heading.d.ts +3 -3
  1060. package/src/surfaces/admin/components/Icon.d.ts +8 -4
  1061. package/src/surfaces/admin/components/Image/examples/default.html +1 -1
  1062. package/src/surfaces/admin/components/Image.d.ts +95 -55
  1063. package/src/surfaces/admin/components/Link.d.ts +35 -39
  1064. package/src/surfaces/admin/components/ListItem.d.ts +3 -3
  1065. package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
  1066. package/src/surfaces/admin/components/Menu.d.ts +139 -0
  1067. package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
  1068. package/src/surfaces/admin/components/Modal.d.ts +227 -0
  1069. package/src/surfaces/admin/components/MoneyField/examples/default.html +0 -1
  1070. package/src/surfaces/admin/components/MoneyField.d.ts +30 -38
  1071. package/src/surfaces/admin/components/NumberField.d.ts +27 -33
  1072. package/src/surfaces/admin/components/Option.d.ts +6 -4
  1073. package/src/surfaces/admin/components/OptionGroup.d.ts +6 -4
  1074. package/src/surfaces/admin/components/OrderedList.d.ts +3 -3
  1075. package/src/surfaces/admin/components/Page/examples/default.html +3 -3
  1076. package/src/surfaces/admin/components/Page.d.ts +33 -7
  1077. package/src/surfaces/admin/components/Paragraph.d.ts +3 -3
  1078. package/src/surfaces/admin/components/PasswordField.d.ts +27 -33
  1079. package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
  1080. package/src/surfaces/admin/components/QueryContainer/examples/default.html +4 -1
  1081. package/src/surfaces/admin/components/QueryContainer.d.ts +4 -8
  1082. package/src/surfaces/admin/components/SearchField.d.ts +27 -33
  1083. package/src/surfaces/admin/components/Section.d.ts +3 -3
  1084. package/src/surfaces/admin/components/Select/examples/default.html +4 -0
  1085. package/src/surfaces/admin/components/Select.d.ts +49 -33
  1086. package/src/surfaces/admin/components/Spinner.d.ts +3 -3
  1087. package/src/surfaces/admin/components/Stack.d.ts +117 -41
  1088. package/src/surfaces/admin/components/StandardComponents.ts +9 -0
  1089. package/src/surfaces/admin/components/Switch.d.ts +22 -27
  1090. package/src/surfaces/admin/components/Table.d.ts +16 -15
  1091. package/src/surfaces/admin/components/TableBody.d.ts +3 -3
  1092. package/src/surfaces/admin/components/TableCell.d.ts +18 -3
  1093. package/src/surfaces/admin/components/TableHeader.d.ts +11 -4
  1094. package/src/surfaces/admin/components/TableHeaderRow.d.ts +4 -3
  1095. package/src/surfaces/admin/components/TableRow.d.ts +6 -4
  1096. package/src/surfaces/admin/components/Text.d.ts +5 -3
  1097. package/src/surfaces/admin/components/TextArea.d.ts +27 -33
  1098. package/src/surfaces/admin/components/TextField.d.ts +28 -34
  1099. package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
  1100. package/src/surfaces/admin/components/Thumbnail.d.ts +15 -21
  1101. package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
  1102. package/src/surfaces/admin/components/Tooltip.d.ts +148 -0
  1103. package/src/surfaces/admin/components/URLField.d.ts +27 -33
  1104. package/src/surfaces/admin/components/UnorderedList.d.ts +3 -3
  1105. package/src/surfaces/admin/components/patterns/examples/accountConnection.html +16 -0
  1106. package/src/surfaces/admin/components/patterns/examples/appCard.html +30 -0
  1107. package/src/surfaces/admin/components/patterns/examples/calloutCard.html +35 -0
  1108. package/src/surfaces/admin/components/patterns/examples/details.html +16 -16
  1109. package/src/surfaces/admin/components/patterns/examples/details.jsx +13 -20
  1110. package/src/surfaces/admin/components/patterns/examples/emptyState.html +27 -0
  1111. package/src/surfaces/admin/components/patterns/examples/homepage.html +26 -59
  1112. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +26 -63
  1113. package/src/surfaces/admin/components/patterns/examples/index.html +26 -34
  1114. package/src/surfaces/admin/components/patterns/examples/index.jsx +23 -35
  1115. package/src/surfaces/admin/components/patterns/examples/indexTable.html +127 -0
  1116. package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +72 -0
  1117. package/src/surfaces/admin/components/patterns/examples/mediaCard.html +23 -0
  1118. package/src/surfaces/admin/components/patterns/examples/metricsCard.html +51 -0
  1119. package/src/surfaces/admin/components/patterns/examples/settings.html +168 -215
  1120. package/src/surfaces/admin/components/patterns/examples/settings.jsx +169 -311
  1121. package/src/surfaces/admin/components/patterns/examples/setupGuide.html +91 -0
  1122. package/src/surfaces/admin/components/patterns/index.ab.doc.ts +8 -10
  1123. package/src/surfaces/admin/components/shared.d.ts +1212 -737
  1124. package/src/surfaces/admin/components/using-polaris-web-components/examples/event-handling.jsx +1 -1
  1125. package/src/surfaces/admin/components/using-polaris-web-components/examples/using-with-react.jsx +1 -1
  1126. package/src/surfaces/admin/components.d.ts +3311 -1293
  1127. package/src/surfaces/admin/docs-types.ts +8 -1
  1128. package/src/surfaces/admin/extension-targets.ts +11 -10
  1129. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -1
  1130. package/src/surfaces/checkout/api/announcement/announcement.ts +7 -0
  1131. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +3 -4
  1132. package/src/surfaces/checkout/api/checkout/checkout.ts +14 -4
  1133. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +2 -2
  1134. package/src/surfaces/checkout/api/payment/payment-option-item.ts +3 -3
  1135. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -4
  1136. package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +2 -2
  1137. package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +2 -2
  1138. package/src/surfaces/checkout/api/shared.ts +5 -0
  1139. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +3 -4
  1140. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +3 -4
  1141. package/src/surfaces/checkout/api/standard/standard.ts +65 -41
  1142. package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -1
  1143. package/src/surfaces/checkout/components/Announcement/examples/basic-announcement.example.html +16 -0
  1144. package/src/surfaces/checkout/components/Announcement.d.ts +95 -0
  1145. package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.html +3 -0
  1146. package/src/surfaces/checkout/components/Badge.d.ts +57 -0
  1147. package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.html +1 -2
  1148. package/src/surfaces/checkout/components/Banner.d.ts +9 -6
  1149. package/src/surfaces/checkout/components/Box/examples/basic-box.example.html +1 -1
  1150. package/src/surfaces/checkout/components/Button.d.ts +10 -5
  1151. package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
  1152. package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
  1153. package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
  1154. package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
  1155. package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
  1156. package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
  1157. package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -1
  1158. package/src/surfaces/checkout/components/Checkbox.d.ts +11 -5
  1159. package/src/surfaces/checkout/components/Chip/examples/basic-chip.example.html +1 -0
  1160. package/src/surfaces/checkout/components/Chip.d.ts +56 -0
  1161. package/src/surfaces/checkout/components/Choice.d.ts +67 -0
  1162. package/src/surfaces/checkout/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
  1163. package/src/surfaces/checkout/components/ChoiceList.d.ts +65 -0
  1164. package/src/surfaces/checkout/components/Clickable/examples/basic-clickable.example.html +3 -0
  1165. package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
  1166. package/src/surfaces/checkout/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
  1167. package/src/surfaces/checkout/components/ClickableChip.d.ts +83 -0
  1168. package/src/surfaces/checkout/components/ClipboardItem.d.ts +9 -6
  1169. package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
  1170. package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +84 -0
  1171. package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
  1172. package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +129 -0
  1173. package/src/surfaces/checkout/components/DateField/examples/basic-date-field.example.html +1 -0
  1174. package/src/surfaces/checkout/components/DateField.d.ts +87 -0
  1175. package/src/surfaces/checkout/components/DatePicker/examples/basic-date-picker.example.html +1 -0
  1176. package/src/surfaces/checkout/components/DatePicker.d.ts +77 -0
  1177. package/src/surfaces/checkout/components/Details/examples/basic-details.example.html +6 -0
  1178. package/src/surfaces/checkout/components/Details.d.ts +85 -0
  1179. package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.html +1 -0
  1180. package/src/surfaces/checkout/components/Divider.d.ts +46 -0
  1181. package/src/surfaces/checkout/components/DropZone/examples/basic-drop-zone.example.html +1 -0
  1182. package/src/surfaces/checkout/components/DropZone.d.ts +15 -7
  1183. package/src/surfaces/checkout/components/EmailField/examples/basic-email-field.example.html +1 -0
  1184. package/src/surfaces/checkout/components/EmailField.d.ts +31 -8
  1185. package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +2 -2
  1186. package/src/surfaces/checkout/components/Form.d.ts +11 -8
  1187. package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.html +11 -0
  1188. package/src/surfaces/checkout/components/Grid.d.ts +64 -0
  1189. package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
  1190. package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.html +4 -4
  1191. package/src/surfaces/checkout/components/Icon.d.ts +4 -3
  1192. package/src/surfaces/checkout/components/Image/examples/basic-image.example.html +1 -1
  1193. package/src/surfaces/checkout/components/Link.d.ts +10 -5
  1194. package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +2 -2
  1195. package/src/surfaces/checkout/components/Map.d.ts +11 -8
  1196. package/src/surfaces/checkout/components/MapMarker.d.ts +16 -15
  1197. package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +1 -1
  1198. package/src/surfaces/checkout/components/Modal.d.ts +22 -18
  1199. package/src/surfaces/checkout/components/MoneyField/examples/basic-money-field.example.html +1 -0
  1200. package/src/surfaces/checkout/components/MoneyField.d.ts +80 -0
  1201. package/src/surfaces/checkout/components/NumberField/examples/basic-number-field.example.html +8 -0
  1202. package/src/surfaces/checkout/components/NumberField.d.ts +98 -0
  1203. package/src/surfaces/checkout/components/Option.d.ts +46 -0
  1204. package/src/surfaces/checkout/components/PasswordField/examples/basic-password-field.example.html +1 -0
  1205. package/src/surfaces/checkout/components/PasswordField.d.ts +93 -0
  1206. package/src/surfaces/checkout/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
  1207. package/src/surfaces/checkout/components/PhoneField/examples/basic-phone-field.example.html +2 -0
  1208. package/src/surfaces/checkout/components/PhoneField.d.ts +31 -17
  1209. package/src/surfaces/checkout/components/Popover/examples/basic-popover.example.html +7 -0
  1210. package/src/surfaces/checkout/components/Popover.d.ts +116 -0
  1211. package/src/surfaces/checkout/components/PressButton/examples/basic-press-button.example.html +1 -0
  1212. package/src/surfaces/checkout/components/PressButton.d.ts +79 -0
  1213. package/src/surfaces/checkout/components/ProductThumbnail/examples/{basic-productthumbnail.example.html → basic-product-thumbnail.example.html} +1 -1
  1214. package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
  1215. package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.html +1 -1
  1216. package/src/surfaces/checkout/components/QRCode.d.ts +8 -5
  1217. package/src/surfaces/checkout/components/QueryContainer/examples/basic-query-container.example.html +8 -0
  1218. package/src/surfaces/checkout/components/QueryContainer.d.ts +48 -0
  1219. package/src/surfaces/checkout/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
  1220. package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
  1221. package/src/surfaces/checkout/components/Select/examples/basic-select.example.html +5 -0
  1222. package/src/surfaces/checkout/components/Select.d.ts +79 -0
  1223. package/src/surfaces/checkout/components/Sheet/examples/basic-sheet.example.html +5 -0
  1224. package/src/surfaces/checkout/components/Sheet.d.ts +100 -0
  1225. package/src/surfaces/checkout/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
  1226. package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
  1227. package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.html +1 -1
  1228. package/src/surfaces/checkout/components/Stack/examples/basic-stack.example.html +4 -0
  1229. package/src/surfaces/checkout/components/Stack.d.ts +4 -4
  1230. package/src/surfaces/checkout/components/Summary.d.ts +35 -0
  1231. package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.html +1 -0
  1232. package/src/surfaces/checkout/components/Switch.d.ts +60 -0
  1233. package/src/surfaces/checkout/components/Text/examples/basic-text.example.html +1 -1
  1234. package/src/surfaces/checkout/components/TextArea/examples/{basic-textarea.example.html → basic-text-area.example.html} +1 -1
  1235. package/src/surfaces/checkout/components/TextArea.d.ts +24 -8
  1236. package/src/surfaces/checkout/components/TextField/examples/basic-text-field.example.html +4 -0
  1237. package/src/surfaces/checkout/components/TextField.d.ts +35 -20
  1238. package/src/surfaces/checkout/components/Time/examples/basic-time.example.html +1 -1
  1239. package/src/surfaces/checkout/components/Time.d.ts +1 -1
  1240. package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.html +9 -0
  1241. package/src/surfaces/checkout/components/Tooltip.d.ts +48 -0
  1242. package/src/surfaces/checkout/components/UrlField/examples/basic-url-field.example.html +1 -0
  1243. package/src/surfaces/checkout/components/UrlField.d.ts +93 -0
  1244. package/src/surfaces/checkout/components/components-shared.d.ts +1034 -288
  1245. package/src/surfaces/checkout/components/components.d.ts +1947 -530
  1246. package/src/surfaces/checkout/extension-targets.ts +70 -61
  1247. package/src/surfaces/checkout/preact/api.ts +5 -1
  1248. package/src/surfaces/checkout/preact/attributes.ts +2 -2
  1249. package/src/surfaces/checkout/preact/subscription.ts +10 -8
  1250. package/src/surfaces/checkout/preact/tests/api.test.tsx +22 -13
  1251. package/src/surfaces/checkout/preact/tests/app-metafields.test.ts +52 -56
  1252. package/src/surfaces/checkout/preact/tests/attributes.test.ts +34 -24
  1253. package/src/surfaces/checkout/preact/tests/billing-address.test.ts +17 -7
  1254. package/src/surfaces/checkout/preact/tests/buyer-identity-businessCustomer.test.ts +16 -9
  1255. package/src/surfaces/checkout/preact/tests/buyer-identity.test.tsx +56 -26
  1256. package/src/surfaces/checkout/preact/tests/buyer-journey.test.ts +71 -74
  1257. package/src/surfaces/checkout/preact/tests/capabilities.test.ts +32 -28
  1258. package/src/surfaces/checkout/preact/tests/cart-line-target.test.ts +31 -24
  1259. package/src/surfaces/checkout/preact/tests/checkout-settings.test.ts +17 -9
  1260. package/src/surfaces/checkout/preact/tests/checkout-token.test.ts +16 -6
  1261. package/src/surfaces/checkout/preact/tests/configuration.test.ts +16 -6
  1262. package/src/surfaces/checkout/preact/tests/country.test.tsx +18 -8
  1263. package/src/surfaces/checkout/preact/tests/currency.test.tsx +18 -8
  1264. package/src/surfaces/checkout/preact/tests/customer-privacy.test.ts +17 -8
  1265. package/src/surfaces/checkout/preact/tests/delivery-group-list-target.test.ts +24 -18
  1266. package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +26 -20
  1267. package/src/surfaces/checkout/preact/tests/delivery-group.test.ts +22 -16
  1268. package/src/surfaces/checkout/preact/tests/delivery-groups.test.ts +17 -11
  1269. package/src/surfaces/checkout/preact/tests/delivery-selection-groups.test.ts +31 -24
  1270. package/src/surfaces/checkout/preact/tests/discounts.test.tsx +21 -14
  1271. package/src/surfaces/checkout/preact/tests/extension-language.test.tsx +17 -8
  1272. package/src/surfaces/checkout/preact/tests/gift-cards.test.tsx +17 -8
  1273. package/src/surfaces/checkout/preact/tests/localized-fields.test.ts +58 -59
  1274. package/src/surfaces/checkout/preact/tests/market.test.tsx +17 -7
  1275. package/src/surfaces/checkout/preact/tests/metafield.test.tsx +33 -36
  1276. package/src/surfaces/checkout/preact/tests/metafields.test.tsx +36 -53
  1277. package/src/surfaces/checkout/preact/tests/mount.tsx +63 -20
  1278. package/src/surfaces/checkout/preact/tests/notes.test.tsx +16 -6
  1279. package/src/surfaces/checkout/preact/tests/payment-method.test.ts +87 -60
  1280. package/src/surfaces/checkout/preact/tests/payment-options.test.tsx +26 -24
  1281. package/src/surfaces/checkout/preact/tests/pickup-location-option-target.test.tsx +55 -46
  1282. package/src/surfaces/checkout/preact/tests/redeemable.test.ts +30 -23
  1283. package/src/surfaces/checkout/preact/tests/session-token.test.tsx +12 -6
  1284. package/src/surfaces/checkout/preact/tests/shipping-address.test.ts +17 -7
  1285. package/src/surfaces/checkout/preact/tests/shipping-option-target.test.ts +54 -50
  1286. package/src/surfaces/checkout/preact/tests/shopping-address.test.tsx +18 -10
  1287. package/src/surfaces/checkout/preact/tests/timezone.test.tsx +17 -7
  1288. package/src/surfaces/checkout/preact/tests/translate.test.tsx +18 -13
  1289. package/src/surfaces/checkout/preact/tests/tsconfig.json +1 -1
  1290. package/src/surfaces/checkout/shared.ts +112 -43
  1291. package/src/surfaces/checkout.ts +5 -1
  1292. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
  1293. package/src/surfaces/customer-account/api/docs.ts +81 -26
  1294. package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
  1295. package/src/surfaces/customer-account/api/shared.ts +58 -40
  1296. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
  1297. package/src/surfaces/customer-account/api.ts +8 -4
  1298. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar.example.html +4 -0
  1299. package/src/surfaces/customer-account/components/Avatar.d.ts +46 -20
  1300. package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup.example.html +11 -0
  1301. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
  1302. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction.example.html +9 -0
  1303. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +14 -3
  1304. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup.example.html +18 -0
  1305. package/src/surfaces/customer-account/components/ImageGroup.d.ts +2 -2
  1306. package/src/surfaces/customer-account/components/Menu/examples/basic-Menu.example.html +14 -0
  1307. package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
  1308. package/src/surfaces/customer-account/components/Page/examples/basic-Page.example.html +19 -0
  1309. package/src/surfaces/customer-account/components/Page.d.ts +17 -2
  1310. package/src/surfaces/customer-account/components/Section/examples/basic-Section.example.html +12 -0
  1311. package/src/surfaces/customer-account/components/Section.d.ts +46 -0
  1312. package/src/surfaces/customer-account/components/StandardComponents.ts +5 -2
  1313. package/src/surfaces/customer-account/components/shared.ts +12 -5
  1314. package/src/surfaces/customer-account/components.d.ts +109 -83
  1315. package/src/surfaces/customer-account/extension-targets.ts +15 -9
  1316. package/src/surfaces/customer-account/globals.ts +4 -4
  1317. package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
  1318. package/src/surfaces/customer-account/preact/navigation.ts +3 -10
  1319. package/src/surfaces/customer-account/preact/subscription.ts +7 -6
  1320. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
  1321. package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +7 -0
  1322. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
  1323. package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
  1324. package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
  1325. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
  1326. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
  1327. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
  1328. package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
  1329. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +55 -0
  1330. package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
  1331. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
  1332. package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
  1333. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
  1334. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
  1335. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
  1336. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
  1337. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
  1338. package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
  1339. package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
  1340. package/src/surfaces/point-of-sale/api.ts +128 -0
  1341. package/src/surfaces/point-of-sale/components/Badge/examples/default.html +5 -0
  1342. package/src/surfaces/point-of-sale/components/Badge.d.ts +61 -0
  1343. package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
  1344. package/src/surfaces/point-of-sale/components/Banner.d.ts +77 -0
  1345. package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
  1346. package/src/surfaces/point-of-sale/components/Box.d.ts +175 -0
  1347. package/src/surfaces/point-of-sale/components/Button/examples/default.html +2 -0
  1348. package/src/surfaces/point-of-sale/components/Button.d.ts +102 -0
  1349. package/src/surfaces/point-of-sale/components/Choice.d.ts +50 -0
  1350. package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +6 -0
  1351. package/src/surfaces/point-of-sale/components/ChoiceList/examples/event-handling.jsx +8 -0
  1352. package/src/surfaces/point-of-sale/components/ChoiceList/examples/multiple-selection.jsx +9 -0
  1353. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +70 -0
  1354. package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +6 -0
  1355. package/src/surfaces/point-of-sale/components/Clickable.d.ts +66 -0
  1356. package/src/surfaces/point-of-sale/components/DateField/examples/default.html +4 -0
  1357. package/src/surfaces/point-of-sale/components/DateField/examples/event-handling.jsx +8 -0
  1358. package/src/surfaces/point-of-sale/components/DateField.d.ts +78 -0
  1359. package/src/surfaces/point-of-sale/components/DatePicker/examples/command-system.jsx +10 -0
  1360. package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +7 -0
  1361. package/src/surfaces/point-of-sale/components/DatePicker/examples/event-handling.jsx +7 -0
  1362. package/src/surfaces/point-of-sale/components/DatePicker.d.ts +74 -0
  1363. package/src/surfaces/point-of-sale/components/DateSpinner/examples/command-system.jsx +10 -0
  1364. package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +7 -0
  1365. package/src/surfaces/point-of-sale/components/DateSpinner/examples/event-handling.jsx +7 -0
  1366. package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +74 -0
  1367. package/src/surfaces/point-of-sale/components/Divider/examples/default.html +1 -0
  1368. package/src/surfaces/point-of-sale/components/Divider.d.ts +48 -0
  1369. package/src/surfaces/point-of-sale/components/EmailField/examples/accessory-slot.jsx +9 -0
  1370. package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +5 -0
  1371. package/src/surfaces/point-of-sale/components/EmailField/examples/event-handling.jsx +8 -0
  1372. package/src/surfaces/point-of-sale/components/EmailField.d.ts +95 -0
  1373. package/src/surfaces/point-of-sale/components/Heading/examples/default.html +7 -0
  1374. package/src/surfaces/point-of-sale/components/Heading.d.ts +52 -0
  1375. package/src/surfaces/point-of-sale/components/Icon/examples/default.html +4 -0
  1376. package/src/surfaces/point-of-sale/components/Icon.d.ts +183 -0
  1377. package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
  1378. package/src/surfaces/point-of-sale/components/Image.d.ts +71 -0
  1379. package/src/surfaces/point-of-sale/components/Modal/examples/default.html +7 -0
  1380. package/src/surfaces/point-of-sale/components/Modal.d.ts +90 -0
  1381. package/src/surfaces/point-of-sale/components/NumberField/examples/controls-constraints.jsx +9 -0
  1382. package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +5 -0
  1383. package/src/surfaces/point-of-sale/components/NumberField/examples/input-mode.jsx +15 -0
  1384. package/src/surfaces/point-of-sale/components/NumberField.d.ts +159 -0
  1385. package/src/surfaces/point-of-sale/components/Page/examples/default.html +5 -0
  1386. package/src/surfaces/point-of-sale/components/Page.d.ts +76 -0
  1387. package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +5 -0
  1388. package/src/surfaces/point-of-sale/components/PosBlock.d.ts +63 -0
  1389. package/src/surfaces/point-of-sale/components/QrCode.d.ts +47 -0
  1390. package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +8 -0
  1391. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +172 -0
  1392. package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
  1393. package/src/surfaces/point-of-sale/components/SearchField/examples/event-handling.jsx +8 -0
  1394. package/src/surfaces/point-of-sale/components/SearchField.d.ts +74 -0
  1395. package/src/surfaces/point-of-sale/components/Section/examples/default.html +8 -0
  1396. package/src/surfaces/point-of-sale/components/Section.d.ts +68 -0
  1397. package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
  1398. package/src/surfaces/point-of-sale/components/Stack.d.ts +250 -0
  1399. package/src/surfaces/point-of-sale/components/Text/examples/default.html +3 -0
  1400. package/src/surfaces/point-of-sale/components/Text.d.ts +75 -0
  1401. package/src/surfaces/point-of-sale/components/TextArea/examples/accessory-slot.jsx +9 -0
  1402. package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +4 -0
  1403. package/src/surfaces/point-of-sale/components/TextArea/examples/event-handling.jsx +8 -0
  1404. package/src/surfaces/point-of-sale/components/TextArea/examples/rows-configuration.jsx +7 -0
  1405. package/src/surfaces/point-of-sale/components/TextArea.d.ts +96 -0
  1406. package/src/surfaces/point-of-sale/components/TextField/examples/accessory-slot.jsx +5 -0
  1407. package/src/surfaces/point-of-sale/components/TextField/examples/common-props.jsx +11 -0
  1408. package/src/surfaces/point-of-sale/components/TextField/examples/default.html +5 -0
  1409. package/src/surfaces/point-of-sale/components/TextField/examples/event-handling.jsx +17 -0
  1410. package/src/surfaces/point-of-sale/components/TextField.d.ts +95 -0
  1411. package/src/surfaces/point-of-sale/components/Tile/examples/default.html +2 -0
  1412. package/src/surfaces/point-of-sale/components/Tile.d.ts +71 -0
  1413. package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +4 -0
  1414. package/src/surfaces/point-of-sale/components/TimeField/examples/event-handling.jsx +8 -0
  1415. package/src/surfaces/point-of-sale/components/TimeField.d.ts +77 -0
  1416. package/src/surfaces/point-of-sale/components/TimePicker/examples/command-system.jsx +10 -0
  1417. package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +7 -0
  1418. package/src/surfaces/point-of-sale/components/TimePicker/examples/event-handling.jsx +7 -0
  1419. package/src/surfaces/point-of-sale/components/TimePicker.d.ts +74 -0
  1420. package/src/surfaces/point-of-sale/components/components-shared.d.ts +3210 -0
  1421. package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
  1422. package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
  1423. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
  1424. package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
  1425. package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
  1426. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
  1427. package/src/surfaces/point-of-sale/components.d.ts +6491 -0
  1428. package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
  1429. package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
  1430. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
  1431. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
  1432. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
  1433. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
  1434. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
  1435. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
  1436. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
  1437. package/src/surfaces/point-of-sale/event/data.ts +16 -0
  1438. package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
  1439. package/src/surfaces/point-of-sale/event/output.ts +1 -0
  1440. package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
  1441. package/src/surfaces/point-of-sale/globals.ts +6 -0
  1442. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
  1443. package/src/surfaces/point-of-sale/types/cart.ts +174 -0
  1444. package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
  1445. package/src/surfaces/point-of-sale/types/device.ts +14 -0
  1446. package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
  1447. package/src/surfaces/point-of-sale/types/discount-allocation.ts +5 -0
  1448. package/src/surfaces/point-of-sale/types/money.ts +9 -0
  1449. package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
  1450. package/src/surfaces/point-of-sale/types/order.ts +12 -0
  1451. package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
  1452. package/src/surfaces/point-of-sale/types/payment.ts +16 -0
  1453. package/src/surfaces/point-of-sale/types/pin-pad.ts +64 -0
  1454. package/src/surfaces/point-of-sale/types/product.ts +64 -0
  1455. package/src/surfaces/point-of-sale/types/session.ts +39 -0
  1456. package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
  1457. package/src/surfaces/point-of-sale/types/storage.ts +73 -0
  1458. package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
  1459. package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
  1460. package/src/surfaces/point-of-sale.ts +4 -0
  1461. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +0 -3502
  1462. package/build/ts/surfaces/checkout/errors.d.ts +0 -10
  1463. package/build/ts/surfaces/checkout/errors.d.ts.map +0 -1
  1464. package/src/surfaces/checkout/components/DropZone/examples/basic-dropzone.example.html +0 -1
  1465. package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +0 -4
  1466. package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.html +0 -7
  1467. package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +0 -2
  1468. package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.html +0 -1
  1469. package/src/surfaces/checkout/errors.ts +0 -13
  1470. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +0 -9
  1471. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +0 -9
  1472. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
  1473. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +0 -16
  1474. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
  1475. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +0 -15
  1476. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
  1477. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +0 -36
  1478. /package/src/surfaces/checkout/components/ClipboardItem/examples/{basic-clipboarditem.example.html → basic-clipboard-item.example.html} +0 -0
  1479. /package/src/surfaces/checkout/components/OrderedList/examples/{basic-orderedlist.example.html → basic-ordered-list.example.html} +0 -0
  1480. /package/src/surfaces/checkout/components/QRCode/examples/{basic-qrcode.example.html → basic-qr-code.example.html} +0 -0
  1481. /package/src/surfaces/checkout/components/UnorderedList/examples/{basic-unorderedlist.example.html → basic-unordered-list.example.html} +0 -0
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.1.1 **/
1
+ /** VERSION: 1.20.0 **/
2
2
 
3
3
  /* eslint-disable @typescript-eslint/ban-types */
4
4
 
@@ -8,13 +8,168 @@
8
8
  * TODO: Update `any` type here after this is resolved
9
9
  * https://github.com/Shopify/ui-api-design/issues/139
10
10
  */
11
- export type ComponentChildren = any;
11
+ export type ComponentChildren = preact.ComponentChildren;
12
+ export type StringChildren = string;
12
13
  export interface GlobalProps {
13
14
  /**
14
15
  * A unique identifier for the element.
15
16
  */
16
17
  id?: string;
17
18
  }
19
+ export interface ActionProps {
20
+ /**
21
+ * The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
22
+ */
23
+ heading?: string;
24
+ }
25
+ export interface ActionSlots {
26
+ /**
27
+ * The primary action to perform, provided as a button or link type element.
28
+ */
29
+ primaryAction?: ComponentChildren;
30
+ /**
31
+ * The secondary actions to perform, provided as button or link type elements.
32
+ */
33
+ secondaryActions?: ComponentChildren;
34
+ }
35
+ interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
36
+ /**
37
+ * Whether the action is in a loading state, such as initial page load or action opening.
38
+ * When true, the action could be in an inert state, which prevents user interaction.
39
+ *
40
+ * @default false
41
+ */
42
+ loading?: boolean;
43
+ }
44
+ interface AdminBlockProps$1 extends GlobalProps {
45
+ /**
46
+ * The text to use as the Block title in the block header. If not provided, the name of the
47
+ * extension will be used.
48
+ */
49
+ heading?: string;
50
+ /**
51
+ * The summary to display when the app block is collapsed.
52
+ * Summary longer than 30 characters will be truncated.
53
+ */
54
+ collapsedSummary?: string;
55
+ }
56
+ interface AdminPrintActionProps$1 extends GlobalProps {
57
+ /**
58
+ * Sets the src URL of the preview and the document to print.
59
+ * If not provided, the preview will show an empty state and the print button will be disabled.
60
+ * HTML, PDFs and images are supported.
61
+ */
62
+ src?: string;
63
+ }
64
+ export interface BaseOverlayProps {
65
+ /**
66
+ * Callback fired after the overlay is shown.
67
+ */
68
+ onShow?: (event: Event) => void;
69
+ /**
70
+ * Callback fired when the overlay is shown **after** any animations to show the overlay have finished.
71
+ */
72
+ onAfterShow?: (event: Event) => void;
73
+ /**
74
+ * Callback fired after the overlay is hidden.
75
+ */
76
+ onHide?: (event: Event) => void;
77
+ /**
78
+ * Callback fired when the overlay is hidden **after** any animations to hide the overlay have finished.
79
+ */
80
+ onAfterHide?: (event: Event) => void;
81
+ }
82
+ /**
83
+ * Shared interfaces for web component methods.
84
+ *
85
+ * Methods are required (not optional) because:
86
+ * - Components implementing this interface must provide all methods
87
+ * - Unlike props/attributes, methods are not rendered in HTML but are JavaScript APIs
88
+ * - Consumers expect these methods to be consistently available on all instances
89
+ */
90
+ export interface BaseOverlayMethods {
91
+ /**
92
+ * Method to show an overlay.
93
+ *
94
+ * @implementation This is a method to be called on the element and not a callback and should hence be camelCase
95
+ */
96
+ showOverlay: () => void;
97
+ /**
98
+ * Method to hide an overlay.
99
+ *
100
+ * @implementation This is a method to be called on the element and not a callback and should hence be camelCase
101
+ */
102
+ hideOverlay: () => void;
103
+ /**
104
+ * Method to toggle the visiblity of an overlay.
105
+ *
106
+ * @implementation This is a method to be called on the element and not a callback and should hence be camelCase
107
+ */
108
+ toggleOverlay: () => void;
109
+ }
110
+ export interface FocusEventProps {
111
+ /**
112
+ * Callback when the element loses focus.
113
+ *
114
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event
115
+ */
116
+ onBlur?: (event: FocusEvent) => void;
117
+ /**
118
+ * Callback when the element receives focus.
119
+ *
120
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event
121
+ */
122
+ onFocus?: (event: FocusEvent) => void;
123
+ }
124
+ export interface ToggleEventProps {
125
+ /**
126
+ * Callback fired when the element state changes **after** any animations have finished.
127
+ *
128
+ * - If the element transitioned from hidden to showing, the `oldState` property will be set to `closed` and the
129
+ * `newState` property will be set to `open`.
130
+ * - If the element transitioned from showing to hidden, the `oldState` property will be set to `open` and the
131
+ * `newState` will be `closed`.
132
+ *
133
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
134
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
135
+ */
136
+ onAfterToggle?: (event: ToggleEvent$1) => void;
137
+ /**
138
+ * Callback straight after the element state changes.
139
+ *
140
+ * - If the element is transitioning from hidden to showing, the `oldState` property will be set to `closed` and the
141
+ * `newState` property will be set to `open`.
142
+ * - If the element is transitioning from showing to hidden, then `oldState` property will be set to `open` and the
143
+ * `newState` will be `closed`.
144
+ *
145
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/toggle_event
146
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/newState
147
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/ToggleEvent/oldState
148
+ */
149
+ onToggle?: (event: ToggleEvent$1) => void;
150
+ }
151
+ export type ToggleState = 'open' | 'closed';
152
+ interface ToggleEvent$1 extends Event {
153
+ readonly newState: ToggleState;
154
+ readonly oldState: ToggleState;
155
+ }
156
+ export interface ExtendableEvent extends Event {
157
+ /**
158
+ * Provide a promise that signals the length, and eventual success or failure of actions relating to the event.
159
+ *
160
+ * This may be called many times, which adds promises to the event.
161
+ *
162
+ * However, this may only be called synchronously during the dispatch of the event.
163
+ * As in, you cannot call it after a `setTimeout` or microtask.
164
+ */
165
+ waitUntil?: (promise: Promise<void>) => void;
166
+ }
167
+ interface AggregateError$1<T extends Error> extends Error {
168
+ errors: T[];
169
+ }
170
+ export interface AggregateErrorEvent<T extends Error> extends ErrorEvent {
171
+ error: AggregateError$1<T>;
172
+ }
18
173
  export type SizeKeyword =
19
174
  | 'small-500'
20
175
  | 'small-400'
@@ -30,6 +185,41 @@ export type SizeKeyword =
30
185
  | 'large-400'
31
186
  | 'large-500';
32
187
  export type ColorKeyword = 'subdued' | 'base' | 'strong';
188
+ interface AvatarProps$1 extends GlobalProps {
189
+ /**
190
+ * Initials to display in the avatar.
191
+ */
192
+ initials?: string;
193
+ /**
194
+ * The URL or path to the image.
195
+ *
196
+ * Initials will be rendered as a fallback if `src` is not provided, fails to load or does not load quickly
197
+ */
198
+ src?: string;
199
+ /**
200
+ * Invoked when load of provided image completes successfully.
201
+ *
202
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
203
+ */
204
+ onLoad?: (event: Event) => void;
205
+ /**
206
+ * Invoked on load error of provided image.
207
+ *
208
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
209
+ */
210
+ onError?: (event: Event) => void;
211
+ /**
212
+ * Size of the avatar.
213
+ *
214
+ * @default 'base'
215
+ */
216
+ size?: SizeKeyword;
217
+ /**
218
+ * An alternative text that describes the avatar for the reader
219
+ * to understand what it is about or identify the user the avatar belongs to.
220
+ */
221
+ alt?: string;
222
+ }
33
223
  export type BackgroundColorKeyword = 'transparent' | ColorKeyword;
34
224
  export interface BackgroundProps {
35
225
  /**
@@ -57,6 +247,7 @@ export type ToneKeyword =
57
247
  | 'caution'
58
248
  | 'warning'
59
249
  | 'critical'
250
+ | 'accent'
60
251
  | 'custom';
61
252
  declare const privateIconArray: readonly [
62
253
  'adjust',
@@ -66,23 +257,23 @@ declare const privateIconArray: readonly [
66
257
  'alert-circle',
67
258
  'alert-diamond',
68
259
  'alert-location',
69
- 'alert-octagon-filled',
70
260
  'alert-octagon',
261
+ 'alert-octagon-filled',
71
262
  'alert-triangle',
72
263
  'alert-triangle-filled',
73
264
  'app-extension',
74
265
  'apps',
75
266
  'archive',
267
+ 'arrow-down',
76
268
  'arrow-down-circle',
77
269
  'arrow-down-right',
78
- 'arrow-down',
79
- 'arrow-left-circle',
80
270
  'arrow-left',
81
- 'arrow-right-circle',
271
+ 'arrow-left-circle',
82
272
  'arrow-right',
273
+ 'arrow-right-circle',
274
+ 'arrow-up',
83
275
  'arrow-up-circle',
84
276
  'arrow-up-right',
85
- 'arrow-up',
86
277
  'arrows-in-horizontal',
87
278
  'arrows-out-horizontal',
88
279
  'attachment',
@@ -91,36 +282,39 @@ declare const privateIconArray: readonly [
91
282
  'bag',
92
283
  'bank',
93
284
  'barcode',
285
+ 'battery-low',
94
286
  'bill',
95
287
  'blank',
96
288
  'blog',
97
- 'bolt-filled',
98
289
  'bolt',
99
- 'book-open',
290
+ 'bolt-filled',
100
291
  'book',
292
+ 'book-open',
101
293
  'bug',
102
294
  'bullet',
103
295
  'business-entity',
104
- 'button-press',
105
296
  'button',
297
+ 'button-press',
106
298
  'calculator',
299
+ 'calendar',
107
300
  'calendar-check',
108
301
  'calendar-compare',
109
302
  'calendar-list',
110
303
  'calendar-time',
111
- 'calendar',
112
- 'camera-flip',
113
304
  'camera',
305
+ 'camera-flip',
114
306
  'caret-down',
115
- 'caret-up',
116
307
  'caret-left',
117
308
  'caret-right',
309
+ 'caret-up',
310
+ 'cart',
118
311
  'cart-abandoned',
119
312
  'cart-discount',
120
313
  'cart-down',
314
+ 'cart-filled',
121
315
  'cart-sale',
316
+ 'cart-send',
122
317
  'cart-up',
123
- 'cart',
124
318
  'cash-dollar',
125
319
  'cash-euro',
126
320
  'cash-pound',
@@ -132,8 +326,8 @@ declare const privateIconArray: readonly [
132
326
  'chart-cohort',
133
327
  'chart-donut',
134
328
  'chart-funnel',
135
- 'chart-histogram-first-last',
136
329
  'chart-histogram-first',
330
+ 'chart-histogram-first-last',
137
331
  'chart-histogram-flat',
138
332
  'chart-histogram-full',
139
333
  'chart-histogram-growth',
@@ -144,36 +338,37 @@ declare const privateIconArray: readonly [
144
338
  'chart-popular',
145
339
  'chart-stacked',
146
340
  'chart-vertical',
341
+ 'chat',
147
342
  'chat-new',
148
343
  'chat-referral',
149
- 'chat',
150
- 'check-circle-filled',
151
- 'check-circle',
152
344
  'check',
345
+ 'check-circle',
346
+ 'check-circle-filled',
153
347
  'checkbox',
154
- 'chevron-down-circle',
155
348
  'chevron-down',
156
- 'chevron-left-circle',
349
+ 'chevron-down-circle',
157
350
  'chevron-left',
158
- 'chevron-right-circle',
351
+ 'chevron-left-circle',
159
352
  'chevron-right',
160
- 'chevron-up-circle',
353
+ 'chevron-right-circle',
161
354
  'chevron-up',
162
- 'circle-dashed',
355
+ 'chevron-up-circle',
163
356
  'circle',
357
+ 'circle-dashed',
358
+ 'clipboard',
164
359
  'clipboard-check',
165
360
  'clipboard-checklist',
166
- 'clipboard',
167
- 'clock-revert',
168
361
  'clock',
169
- 'code-add',
362
+ 'clock-list',
363
+ 'clock-revert',
170
364
  'code',
365
+ 'code-add',
366
+ 'collection',
171
367
  'collection-featured',
172
368
  'collection-list',
173
369
  'collection-reference',
174
- 'collection',
175
- 'color-none',
176
370
  'color',
371
+ 'color-none',
177
372
  'compass',
178
373
  'complete',
179
374
  'compose',
@@ -184,76 +379,81 @@ declare const privateIconArray: readonly [
184
379
  'corner-pill',
185
380
  'corner-round',
186
381
  'corner-square',
382
+ 'credit-card',
187
383
  'credit-card-cancel',
188
384
  'credit-card-percent',
385
+ 'credit-card-reader',
189
386
  'credit-card-reader-chip',
190
387
  'credit-card-reader-tap',
191
- 'credit-card-reader',
192
388
  'credit-card-secure',
193
389
  'credit-card-tap-chip',
194
- 'credit-card',
195
390
  'crop',
196
391
  'currency-convert',
392
+ 'cursor',
197
393
  'cursor-banner',
198
394
  'cursor-option',
199
- 'cursor',
200
395
  'data-presentation',
201
396
  'data-table',
397
+ 'database',
202
398
  'database-add',
203
399
  'database-connect',
204
- 'database',
205
400
  'delete',
206
401
  'delivered',
207
402
  'delivery',
208
403
  'desktop',
209
404
  'disabled',
405
+ 'disabled-filled',
406
+ 'discount',
210
407
  'discount-add',
408
+ 'discount-automatic',
211
409
  'discount-code',
212
- 'discount',
410
+ 'discount-remove',
213
411
  'dns-settings',
214
412
  'dock-floating',
215
413
  'dock-side',
414
+ 'domain',
216
415
  'domain-landing-page',
217
416
  'domain-new',
218
417
  'domain-redirect',
219
- 'domain',
220
418
  'download',
221
419
  'drag-drop',
222
420
  'drag-handle',
421
+ 'drawer',
223
422
  'duplicate',
224
423
  'edit',
424
+ 'email',
225
425
  'email-follow-up',
226
426
  'email-newsletter',
227
- 'email',
228
427
  'empty',
229
428
  'enabled',
230
429
  'enter',
231
- 'envelope-soft-pack',
232
430
  'envelope',
431
+ 'envelope-soft-pack',
233
432
  'eraser',
234
433
  'exchange',
235
434
  'exit',
236
435
  'export',
237
436
  'external',
238
437
  'eye-check-mark',
239
- 'eye-dropper-list',
240
438
  'eye-dropper',
439
+ 'eye-dropper-list',
241
440
  'eye-first',
242
441
  'eyeglasses',
243
442
  'fav',
244
443
  'favicon',
245
- 'file-list',
246
444
  'file',
445
+ 'file-list',
247
446
  'filter',
447
+ 'filter-active',
248
448
  'flag',
249
449
  'flip-horizontal',
250
450
  'flip-vertical',
251
451
  'flower',
452
+ 'folder',
252
453
  'folder-add',
253
454
  'folder-down',
254
455
  'folder-remove',
255
456
  'folder-up',
256
- 'folder',
257
457
  'food',
258
458
  'foreground',
259
459
  'forklift',
@@ -261,33 +461,35 @@ declare const privateIconArray: readonly [
261
461
  'games',
262
462
  'gauge',
263
463
  'geolocation',
264
- 'gift-card',
265
464
  'gift',
465
+ 'gift-card',
266
466
  'git-branch',
267
467
  'git-commit',
268
468
  'git-repository',
469
+ 'globe',
269
470
  'globe-asia',
270
471
  'globe-europe',
271
472
  'globe-lines',
272
473
  'globe-list',
273
- 'globe',
474
+ 'graduation-hat',
274
475
  'grid',
476
+ 'hashtag',
275
477
  'hashtag-decimal',
276
478
  'hashtag-list',
277
- 'hashtag',
278
479
  'heart',
279
- 'hide-filled',
280
480
  'hide',
481
+ 'hide-filled',
281
482
  'home',
483
+ 'home-filled',
282
484
  'icons',
283
485
  'identity-card',
486
+ 'image',
284
487
  'image-add',
285
488
  'image-alt',
286
489
  'image-explore',
287
490
  'image-magic',
288
491
  'image-none',
289
492
  'image-with-text-overlay',
290
- 'image',
291
493
  'images',
292
494
  'import',
293
495
  'in-progress',
@@ -296,20 +498,25 @@ declare const privateIconArray: readonly [
296
498
  'incomplete',
297
499
  'info',
298
500
  'info-filled',
299
- 'inventory-updated',
501
+ 'inheritance',
300
502
  'inventory',
503
+ 'inventory-edit',
504
+ 'inventory-list',
505
+ 'inventory-transfer',
506
+ 'inventory-updated',
301
507
  'iq',
302
508
  'key',
509
+ 'keyboard',
303
510
  'keyboard-filled',
304
511
  'keyboard-hide',
305
- 'keyboard',
512
+ 'keypad',
306
513
  'label-printer',
307
- 'language-translate',
308
514
  'language',
515
+ 'language-translate',
309
516
  'layout-block',
517
+ 'layout-buy-button',
310
518
  'layout-buy-button-horizontal',
311
519
  'layout-buy-button-vertical',
312
- 'layout-buy-button',
313
520
  'layout-column-1',
314
521
  'layout-columns-2',
315
522
  'layout-columns-3',
@@ -322,64 +529,74 @@ declare const privateIconArray: readonly [
322
529
  'layout-sidebar-left',
323
530
  'layout-sidebar-right',
324
531
  'lightbulb',
325
- 'link-list',
326
532
  'link',
533
+ 'link-list',
327
534
  'list-bulleted',
535
+ 'list-bulleted-filled',
328
536
  'list-numbered',
329
537
  'live',
330
- 'location-none',
538
+ 'live-critical',
539
+ 'live-none',
331
540
  'location',
541
+ 'location-none',
332
542
  'lock',
333
543
  'map',
544
+ 'markets',
334
545
  'markets-euro',
335
546
  'markets-rupee',
336
547
  'markets-yen',
337
- 'markets',
338
548
  'maximize',
339
- 'measurement-size-list',
340
549
  'measurement-size',
341
- 'measurement-volume-list',
550
+ 'measurement-size-list',
342
551
  'measurement-volume',
343
- 'measurement-weight-list',
552
+ 'measurement-volume-list',
344
553
  'measurement-weight',
554
+ 'measurement-weight-list',
345
555
  'media-receiver',
346
556
  'megaphone',
347
557
  'mention',
558
+ 'menu',
559
+ 'menu-filled',
348
560
  'menu-horizontal',
349
561
  'menu-vertical',
350
- 'menu',
351
562
  'merge',
352
563
  'metafields',
564
+ 'metaobject',
353
565
  'metaobject-list',
354
566
  'metaobject-reference',
355
- 'metaobject',
356
567
  'microphone',
357
568
  'minimize',
358
- 'minus-circle',
359
569
  'minus',
570
+ 'minus-circle',
360
571
  'mobile',
361
- 'money-none',
362
572
  'money',
573
+ 'money-none',
574
+ 'money-split',
363
575
  'moon',
364
576
  'nature',
365
- 'note-add',
366
577
  'note',
578
+ 'note-add',
367
579
  'notification',
580
+ 'number-one',
581
+ 'order',
368
582
  'order-batches',
369
583
  'order-draft',
584
+ 'order-filled',
370
585
  'order-first',
371
586
  'order-fulfilled',
372
587
  'order-repeat',
373
588
  'order-unfulfilled',
374
- 'order',
375
589
  'orders-status',
376
590
  'organization',
377
591
  'outdent',
378
592
  'outgoing',
593
+ 'package',
594
+ 'package-cancel',
379
595
  'package-fulfilled',
380
596
  'package-on-hold',
597
+ 'package-reassign',
381
598
  'package-returned',
382
- 'package',
599
+ 'page',
383
600
  'page-add',
384
601
  'page-attachment',
385
602
  'page-clock',
@@ -390,7 +607,6 @@ declare const privateIconArray: readonly [
390
607
  'page-remove',
391
608
  'page-report',
392
609
  'page-up',
393
- 'page',
394
610
  'pagination-end',
395
611
  'pagination-start',
396
612
  'paint-brush-flat',
@@ -400,49 +616,56 @@ declare const privateIconArray: readonly [
400
616
  'passkey',
401
617
  'paste',
402
618
  'pause-circle',
403
- 'payment-capture',
404
619
  'payment',
620
+ 'payment-capture',
621
+ 'payout',
405
622
  'payout-dollar',
406
623
  'payout-euro',
407
624
  'payout-pound',
408
625
  'payout-rupee',
409
626
  'payout-yen',
410
- 'payout',
627
+ 'person',
411
628
  'person-add',
412
629
  'person-exit',
630
+ 'person-filled',
413
631
  'person-list',
414
632
  'person-lock',
415
633
  'person-remove',
416
634
  'person-segment',
417
- 'person',
418
635
  'personalized-text',
636
+ 'phablet',
637
+ 'phone',
419
638
  'phone-in',
420
639
  'phone-out',
421
- 'phone',
422
640
  'pin',
423
641
  'pin-remove',
424
642
  'plan',
425
- 'play-circle',
426
643
  'play',
644
+ 'play-circle',
645
+ 'plus',
427
646
  'plus-circle',
428
647
  'plus-circle-down',
648
+ 'plus-circle-filled',
429
649
  'plus-circle-up',
430
- 'plus',
431
650
  'point-of-sale',
651
+ 'point-of-sale-register',
432
652
  'price-list',
433
653
  'print',
654
+ 'product',
434
655
  'product-add',
435
656
  'product-cost',
657
+ 'product-filled',
436
658
  'product-list',
437
659
  'product-reference',
438
660
  'product-remove',
439
661
  'product-return',
440
662
  'product-unavailable',
441
- 'product',
442
- 'profile-filled',
443
663
  'profile',
444
- 'question-circle-filled',
664
+ 'profile-filled',
445
665
  'question-circle',
666
+ 'question-circle-filled',
667
+ 'radio-control',
668
+ 'receipt',
446
669
  'receipt-dollar',
447
670
  'receipt-euro',
448
671
  'receipt-folded',
@@ -451,7 +674,6 @@ declare const privateIconArray: readonly [
451
674
  'receipt-refund',
452
675
  'receipt-rupee',
453
676
  'receipt-yen',
454
- 'receipt',
455
677
  'receivables',
456
678
  'redo',
457
679
  'referral-code',
@@ -469,10 +691,12 @@ declare const privateIconArray: readonly [
469
691
  'sandbox',
470
692
  'save',
471
693
  'savings',
694
+ 'scan-qr-code',
695
+ 'search',
696
+ 'search-add',
472
697
  'search-list',
473
698
  'search-recent',
474
699
  'search-resource',
475
- 'search',
476
700
  'select',
477
701
  'send',
478
702
  'settings',
@@ -482,6 +706,7 @@ declare const privateIconArray: readonly [
482
706
  'shield-pending',
483
707
  'shield-person',
484
708
  'shipping-label',
709
+ 'shipping-label-cancel',
485
710
  'shopcodes',
486
711
  'slideshow',
487
712
  'smiley-happy',
@@ -490,74 +715,80 @@ declare const privateIconArray: readonly [
490
715
  'smiley-sad',
491
716
  'social-ad',
492
717
  'social-post',
718
+ 'sort',
493
719
  'sort-ascending',
494
720
  'sort-descending',
495
- 'sort',
496
721
  'sound',
722
+ 'split',
497
723
  'sports',
724
+ 'star',
725
+ 'star-circle',
498
726
  'star-filled',
499
727
  'star-half',
500
728
  'star-list',
501
- 'star',
502
- 'status-active',
503
729
  'status',
730
+ 'status-active',
504
731
  'stop-circle',
732
+ 'store',
505
733
  'store-import',
506
734
  'store-managed',
507
735
  'store-online',
508
- 'store',
509
736
  'sun',
510
- 'table-masonry',
511
737
  'table',
738
+ 'table-masonry',
512
739
  'tablet',
513
740
  'target',
514
741
  'tax',
515
742
  'team',
743
+ 'text',
516
744
  'text-align-center',
517
745
  'text-align-left',
518
746
  'text-align-right',
519
747
  'text-block',
520
748
  'text-bold',
521
749
  'text-color',
522
- 'text-font-list',
523
750
  'text-font',
751
+ 'text-font-list',
524
752
  'text-grammar',
525
753
  'text-in-columns',
526
754
  'text-in-rows',
527
- 'text-indent-remove',
528
755
  'text-indent',
756
+ 'text-indent-remove',
529
757
  'text-italic',
530
758
  'text-quote',
531
759
  'text-title',
532
760
  'text-underline',
533
761
  'text-with-image',
534
- 'text',
762
+ 'theme',
535
763
  'theme-edit',
536
764
  'theme-store',
537
765
  'theme-template',
538
- 'theme',
539
766
  'three-d-environment',
540
767
  'thumbs-down',
541
768
  'thumbs-up',
542
769
  'tip-jar',
543
770
  'toggle-off',
544
771
  'toggle-on',
772
+ 'transaction',
773
+ 'transaction-fee-add',
545
774
  'transaction-fee-dollar',
546
775
  'transaction-fee-euro',
547
776
  'transaction-fee-pound',
548
777
  'transaction-fee-rupee',
549
778
  'transaction-fee-yen',
550
- 'transaction',
779
+ 'transfer',
551
780
  'transfer-in',
552
781
  'transfer-internal',
553
782
  'transfer-out',
554
- 'transfer',
555
783
  'truck',
556
784
  'undo',
557
785
  'unknown-device',
558
786
  'unlock',
559
787
  'upload',
560
788
  'variant',
789
+ 'variant-list',
790
+ 'video',
791
+ 'video-list',
561
792
  'view',
562
793
  'viewport-narrow',
563
794
  'viewport-short',
@@ -567,12 +798,12 @@ declare const privateIconArray: readonly [
567
798
  'wand',
568
799
  'watch',
569
800
  'wifi',
570
- 'work-list',
571
801
  'work',
802
+ 'work-list',
572
803
  'wrench',
573
- 'x-circle-filled',
574
- 'x-circle',
575
804
  'x',
805
+ 'x-circle',
806
+ 'x-circle-filled',
576
807
  ];
577
808
  export type IconType = (typeof privateIconArray)[number];
578
809
  /**
@@ -585,6 +816,7 @@ export type MaybeAllValuesShorthandProperty<T extends string> =
585
816
  | `${T} ${T} ${T}`
586
817
  | `${T} ${T} ${T} ${T}`;
587
818
  export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
819
+ export type MaybeResponsive<T> = T | `@container${string}`;
588
820
  /**
589
821
  * Prevents widening string literal types in a union to `string`.
590
822
  * @example
@@ -594,6 +826,13 @@ export type MaybeTwoValuesShorthandProperty<T extends string> = T | `${T} ${T}`;
594
826
  * // ^? 'foo' | 'bar' | (string & {})
595
827
  */
596
828
  export type AnyString = string & {};
829
+ /**
830
+ * This is purely to give the ability
831
+ * to have a space or not in the string literal types.
832
+ *
833
+ * For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
834
+ */
835
+ export type optionalSpace = '' | ' ';
597
836
  interface BadgeProps$1 extends GlobalProps {
598
837
  /**
599
838
  * The content of the Badge.
@@ -628,22 +867,6 @@ interface BadgeProps$1 extends GlobalProps {
628
867
  */
629
868
  size?: SizeKeyword;
630
869
  }
631
- export interface ActionProps {
632
- /**
633
- * The text to use as the Action modal’s title. If not provided, the name of the extension will be used.
634
- */
635
- heading?: string;
636
- }
637
- export interface ActionSlots {
638
- /**
639
- * The primary action to perform, provided as a button or link type element.
640
- */
641
- primaryAction?: ComponentChildren;
642
- /**
643
- * The secondary actions to perform, provided as button or link type elements.
644
- */
645
- secondaryActions?: ComponentChildren;
646
- }
647
870
  interface BannerProps$1 extends GlobalProps, ActionSlots {
648
871
  /**
649
872
  * The title of the banner.
@@ -695,7 +918,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots {
695
918
  *
696
919
  * The `hidden` property will be `false` when this event fires.
697
920
  */
698
- onDismiss?: () => void;
921
+ onDismiss?: (event: Event) => void;
699
922
  /**
700
923
  * Event handler when the banner has fully hidden.
701
924
  *
@@ -705,7 +928,7 @@ interface BannerProps$1 extends GlobalProps, ActionSlots {
705
928
  * this event must fire after the banner has fully hidden.
706
929
  * We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
707
930
  */
708
- onAfterHide?: () => void;
931
+ onAfterHide?: (event: Event) => void;
709
932
  /**
710
933
  * Determines whether the banner is hidden.
711
934
  *
@@ -729,7 +952,7 @@ export interface DisplayProps {
729
952
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
730
953
  * @default 'auto'
731
954
  */
732
- display?: 'auto' | 'none';
955
+ display?: MaybeResponsive<'auto' | 'none'>;
733
956
  }
734
957
  export interface AccessibilityRoleProps {
735
958
  /**
@@ -907,7 +1130,7 @@ export interface PaddingProps {
907
1130
  *
908
1131
  * @default 'none'
909
1132
  */
910
- padding?: MaybeAllValuesShorthandProperty<PaddingKeyword>;
1133
+ padding?: MaybeResponsive<MaybeAllValuesShorthandProperty<PaddingKeyword>>;
911
1134
  /**
912
1135
  * Adjust the block-padding.
913
1136
  *
@@ -917,7 +1140,9 @@ export interface PaddingProps {
917
1140
  *
918
1141
  * @default '' - meaning no override
919
1142
  */
920
- paddingBlock?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | '';
1143
+ paddingBlock?: MaybeResponsive<
1144
+ MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
1145
+ >;
921
1146
  /**
922
1147
  * Adjust the block-start padding.
923
1148
  *
@@ -925,7 +1150,7 @@ export interface PaddingProps {
925
1150
  *
926
1151
  * @default '' - meaning no override
927
1152
  */
928
- paddingBlockStart?: PaddingKeyword | '';
1153
+ paddingBlockStart?: MaybeResponsive<PaddingKeyword | ''>;
929
1154
  /**
930
1155
  * Adjust the block-end padding.
931
1156
  *
@@ -933,7 +1158,7 @@ export interface PaddingProps {
933
1158
  *
934
1159
  * @default '' - meaning no override
935
1160
  */
936
- paddingBlockEnd?: PaddingKeyword | '';
1161
+ paddingBlockEnd?: MaybeResponsive<PaddingKeyword | ''>;
937
1162
  /**
938
1163
  * Adjust the inline padding.
939
1164
  *
@@ -943,7 +1168,9 @@ export interface PaddingProps {
943
1168
  *
944
1169
  * @default '' - meaning no override
945
1170
  */
946
- paddingInline?: MaybeTwoValuesShorthandProperty<PaddingKeyword> | '';
1171
+ paddingInline?: MaybeResponsive<
1172
+ MaybeTwoValuesShorthandProperty<PaddingKeyword> | ''
1173
+ >;
947
1174
  /**
948
1175
  * Adjust the inline-start padding.
949
1176
  *
@@ -951,7 +1178,7 @@ export interface PaddingProps {
951
1178
  *
952
1179
  * @default '' - meaning no override
953
1180
  */
954
- paddingInlineStart?: PaddingKeyword | '';
1181
+ paddingInlineStart?: MaybeResponsive<PaddingKeyword | ''>;
955
1182
  /**
956
1183
  * Adjust the inline-end padding.
957
1184
  *
@@ -959,7 +1186,7 @@ export interface PaddingProps {
959
1186
  *
960
1187
  * @default '' - meaning no override
961
1188
  */
962
- paddingInlineEnd?: PaddingKeyword | '';
1189
+ paddingInlineEnd?: MaybeResponsive<PaddingKeyword | ''>;
963
1190
  }
964
1191
  export type SizeUnits = `${number}px` | `${number}%` | `0`;
965
1192
  export type SizeUnitsOrAuto = SizeUnits | 'auto';
@@ -972,7 +1199,7 @@ export interface SizingProps {
972
1199
  *
973
1200
  * @default 'auto'
974
1201
  */
975
- blockSize?: SizeUnitsOrAuto;
1202
+ blockSize?: MaybeResponsive<SizeUnitsOrAuto>;
976
1203
  /**
977
1204
  * Adjust the minimum block size.
978
1205
  *
@@ -980,7 +1207,7 @@ export interface SizingProps {
980
1207
  *
981
1208
  * @default '0'
982
1209
  */
983
- minBlockSize?: SizeUnits;
1210
+ minBlockSize?: MaybeResponsive<SizeUnits>;
984
1211
  /**
985
1212
  * Adjust the maximum block size.
986
1213
  *
@@ -988,7 +1215,7 @@ export interface SizingProps {
988
1215
  *
989
1216
  * @default 'none'
990
1217
  */
991
- maxBlockSize?: SizeUnitsOrNone;
1218
+ maxBlockSize?: MaybeResponsive<SizeUnitsOrNone>;
992
1219
  /**
993
1220
  * Adjust the inline size.
994
1221
  *
@@ -996,7 +1223,7 @@ export interface SizingProps {
996
1223
  *
997
1224
  * @default 'auto'
998
1225
  */
999
- inlineSize?: SizeUnitsOrAuto;
1226
+ inlineSize?: MaybeResponsive<SizeUnitsOrAuto>;
1000
1227
  /**
1001
1228
  * Adjust the minimum inline size.
1002
1229
  *
@@ -1004,7 +1231,7 @@ export interface SizingProps {
1004
1231
  *
1005
1232
  * @default '0'
1006
1233
  */
1007
- minInlineSize?: SizeUnits;
1234
+ minInlineSize?: MaybeResponsive<SizeUnits>;
1008
1235
  /**
1009
1236
  * Adjust the maximum inline size.
1010
1237
  *
@@ -1012,7 +1239,7 @@ export interface SizingProps {
1012
1239
  *
1013
1240
  * @default 'none'
1014
1241
  */
1015
- maxInlineSize?: SizeUnitsOrNone;
1242
+ maxInlineSize?: MaybeResponsive<SizeUnitsOrNone>;
1016
1243
  }
1017
1244
  export type BorderStyleKeyword =
1018
1245
  | 'none'
@@ -1127,8 +1354,7 @@ export interface OverflowProps {
1127
1354
  overflow?: 'hidden' | 'visible';
1128
1355
  }
1129
1356
  export interface BaseBoxProps
1130
- extends GlobalProps,
1131
- AccessibilityVisibilityProps,
1357
+ extends AccessibilityVisibilityProps,
1132
1358
  BackgroundProps,
1133
1359
  DisplayProps,
1134
1360
  SizingProps,
@@ -1150,20 +1376,10 @@ export interface BaseBoxProps
1150
1376
  export interface BaseBoxPropsWithRole
1151
1377
  extends BaseBoxProps,
1152
1378
  AccessibilityRoleProps {}
1153
- interface BoxProps$1 extends BaseBoxPropsWithRole {}
1154
- export interface FocusEventProps {
1155
- /**
1156
- * Callback when the element loses focus.
1157
- */
1158
- onBlur?: () => void;
1159
- /**
1160
- * Callback when the element receives focus.
1161
- */
1162
- onFocus?: () => void;
1163
- }
1379
+ interface BoxProps$1 extends BaseBoxPropsWithRole, GlobalProps {}
1164
1380
  export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
1165
1381
  /**
1166
- * The behavior of the button.
1382
+ * The behavior of the Button.
1167
1383
  *
1168
1384
  * - `submit`: Used to indicate the component acts as a submit button, meaning it submits the closest form.
1169
1385
  * - `button`: Used to indicate the component acts as a button, meaning it has no default action.
@@ -1175,12 +1391,14 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
1175
1391
  */
1176
1392
  type?: 'submit' | 'button' | 'reset';
1177
1393
  /**
1178
- * Callback when the button is activated.
1394
+ * Callback when the Button is activated.
1179
1395
  * This will be called before the action indicated by `type`.
1396
+ *
1397
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
1180
1398
  */
1181
- onClick?: () => void;
1399
+ onClick?: (event: Event) => void;
1182
1400
  /**
1183
- * Disables the button, meaning it cannot be clicked or receive focus.
1401
+ * Disables the Button meaning it cannot be clicked or receive focus.
1184
1402
  *
1185
1403
  * @default false
1186
1404
  */
@@ -1188,7 +1406,7 @@ export interface ButtonBehaviorProps extends InteractionProps, FocusEventProps {
1188
1406
  /**
1189
1407
  * Replaces content with a loading indicator while a background action is being performed.
1190
1408
  *
1191
- * This also disables the button.
1409
+ * This also disables the Button.
1192
1410
  *
1193
1411
  * @default false
1194
1412
  */
@@ -1218,15 +1436,17 @@ export interface LinkBehaviorProps extends InteractionProps, FocusEventProps {
1218
1436
  target?: 'auto' | '_blank' | '_self' | '_parent' | '_top' | AnyString;
1219
1437
  /**
1220
1438
  * Causes the browser to treat the linked URL as a download with the string being the file name.
1221
- * Download only works for same-origin URLs, or the blob: and data: schemes.
1439
+ * Download only works for same-origin URLs or the `blob:` and `data:` schemes.
1222
1440
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#download
1223
1441
  */
1224
1442
  download?: string;
1225
1443
  /**
1226
1444
  * Callback when the link is activated.
1227
1445
  * This will be called before navigating to the location specified by `href`.
1446
+ *
1447
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
1228
1448
  */
1229
- onClick?: () => void;
1449
+ onClick?: (event: Event) => void;
1230
1450
  }
1231
1451
  export interface InteractionProps {
1232
1452
  /**
@@ -1253,6 +1473,10 @@ export interface InteractionProps {
1253
1473
  * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
1254
1474
  */
1255
1475
  command?: '--auto' | '--show' | '--hide' | '--toggle' | '--copy';
1476
+ /**
1477
+ * ID of a component that should respond to interest (e.g. hover and focus) on this component.
1478
+ */
1479
+ interestFor?: string;
1256
1480
  }
1257
1481
  export interface BaseClickableProps
1258
1482
  extends ButtonBehaviorProps,
@@ -1261,7 +1485,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
1261
1485
  /**
1262
1486
  * A label that describes the purpose or contents of the Button. It will be read to users using assistive technologies such as screen readers.
1263
1487
  *
1264
- * Use this when using only an icon or the button text is not enough context
1488
+ * Use this when using only an icon or the Button text is not enough context
1265
1489
  * for users using assistive technologies.
1266
1490
  */
1267
1491
  accessibilityLabel?: string;
@@ -1270,13 +1494,13 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
1270
1494
  */
1271
1495
  children?: ComponentChildren;
1272
1496
  /**
1273
- * The type of icon to be displayed in the button.
1497
+ * The type of icon to be displayed in the Button.
1274
1498
  *
1275
1499
  * @default ''
1276
1500
  */
1277
1501
  icon?: IconType | AnyString;
1278
1502
  /**
1279
- * The displayed inline width of the button.
1503
+ * The displayed inline width of the Button.
1280
1504
  *
1281
1505
  * - `auto`: the size of the button depends on the surface and context.
1282
1506
  * - `fill`: the button will takes up 100% of the available inline size.
@@ -1292,7 +1516,7 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
1292
1516
  */
1293
1517
  variant?: 'auto' | 'primary' | 'secondary' | 'tertiary';
1294
1518
  /**
1295
- * Sets the tone of the Button, based on the intention of the information being conveyed.
1519
+ * Sets the tone of the Button based on the intention of the information being conveyed.
1296
1520
  *
1297
1521
  * @default 'auto'
1298
1522
  */
@@ -1304,6 +1528,23 @@ interface ButtonProps$1 extends GlobalProps, BaseClickableProps {
1304
1528
  */
1305
1529
  lang?: string;
1306
1530
  }
1531
+ interface ButtonGroupProps$1 extends GlobalProps, ActionSlots {
1532
+ /**
1533
+ * The content of the ButtonGroup.
1534
+ */
1535
+ children?: ComponentChildren;
1536
+ /**
1537
+ * The gap between elements.
1538
+ * @default 'base'
1539
+ */
1540
+ gap?: 'base' | 'none';
1541
+ /**
1542
+ * Label for the button group that describes the content of the group for screen reader users to understand what's included.
1543
+ *
1544
+ * @implementation Used as a hidden heading or an aria-label on the wrapping element.
1545
+ */
1546
+ accessibilityLabel?: string;
1547
+ }
1307
1548
  export interface BaseInputProps {
1308
1549
  /**
1309
1550
  * An identifier for the field that is unique within the nearest containing form.
@@ -1319,12 +1560,16 @@ export interface BaseInputProps {
1319
1560
  export interface InputProps extends BaseInputProps {
1320
1561
  /**
1321
1562
  * Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
1563
+ *
1564
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
1322
1565
  */
1323
- onChange?: (newValue: string) => void;
1566
+ onChange?: (event: Event) => void;
1324
1567
  /**
1325
1568
  * Callback when the user makes any changes in the field.
1569
+ *
1570
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
1326
1571
  */
1327
- onInput?: (newValue: string) => void;
1572
+ onInput?: (event: Event) => void;
1328
1573
  /**
1329
1574
  * The current value for the field. If omitted, the field will be empty.
1330
1575
  */
@@ -1338,13 +1583,17 @@ export interface InputProps extends BaseInputProps {
1338
1583
  }
1339
1584
  export interface MultipleInputProps extends BaseInputProps {
1340
1585
  /**
1341
- * Callback when the user has selected file(s).
1586
+ * Callback when the user has selected option(s).
1587
+ *
1588
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
1342
1589
  */
1343
- onChange?: (newValue: string[]) => void;
1590
+ onChange?: (event: Event) => void;
1344
1591
  /**
1345
- * Callback when the user has selected file(s).
1592
+ * Callback when the user has selected option(s).
1593
+ *
1594
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
1346
1595
  */
1347
- onInput?: (newValue: string[]) => void;
1596
+ onInput?: (event: Event) => void;
1348
1597
  /**
1349
1598
  * An array of the `value`s of the selected options.
1350
1599
  *
@@ -1352,6 +1601,35 @@ export interface MultipleInputProps extends BaseInputProps {
1352
1601
  */
1353
1602
  values?: string[];
1354
1603
  }
1604
+ export interface FileInputProps extends BaseInputProps {
1605
+ /**
1606
+ * Callback when the user has **finished selecting** a file or files.
1607
+ */
1608
+ onChange?: (event: Event) => void;
1609
+ /**
1610
+ * Callback when the user makes any changes in the file selection.
1611
+ */
1612
+ onInput?: (event: Event) => void;
1613
+ /**
1614
+ * A string that represents the path to the selected file(s). If no file is selected yet, the value is an empty string ("").
1615
+ * When the user selected multiple files, the value represents the first file in the list of files they selected.
1616
+ * The value is always the file's name prefixed with "C:\fakepath\", which isn't the real path of the file.
1617
+ *
1618
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/file#value
1619
+ *
1620
+ * @default ''
1621
+ */
1622
+ value?: string;
1623
+ /**
1624
+ * An array of File objects representing the files currently selected by the user.
1625
+ *
1626
+ * This property is read-only and cannot be directly modified.
1627
+ * To clear the selected files, set the `value` prop to an empty string or null.
1628
+ *
1629
+ * @default []
1630
+ */
1631
+ files?: ReadonlyArray<File>;
1632
+ }
1355
1633
  export interface FieldErrorProps {
1356
1634
  /**
1357
1635
  * Indicate an error to the user. The field will be given a specific stylistic treatment
@@ -1560,12 +1838,16 @@ export interface BaseCheckableProps
1560
1838
  name?: string;
1561
1839
  /**
1562
1840
  * A callback that is run whenever the control is changed.
1841
+ *
1842
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event
1563
1843
  */
1564
- onChange?: (checked: boolean) => void;
1844
+ onChange?: (event: Event) => void;
1565
1845
  /**
1566
1846
  * A callback that is run whenever the control is changed.
1847
+ *
1848
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event
1567
1849
  */
1568
- onInput?: (checked: boolean) => void;
1850
+ onInput?: (event: Event) => void;
1569
1851
  }
1570
1852
  interface CheckboxProps$1
1571
1853
  extends GlobalProps,
@@ -1605,11 +1887,42 @@ interface CheckboxProps$1
1605
1887
  */
1606
1888
  required?: boolean;
1607
1889
  }
1890
+ export interface ChipProps$1 extends GlobalProps {
1891
+ /**
1892
+ * The content of the chip.
1893
+ */
1894
+ children?: ComponentChildren;
1895
+ /**
1896
+ * The graphic to display inside of the chip.
1897
+ *
1898
+ * @implementation Only `s-icon` is supported.
1899
+ */
1900
+ graphic?: ComponentChildren;
1901
+ /**
1902
+ * A label that describes the purpose or contents of the Chip. It will be read to users using assistive technologies such as screen readers.
1903
+ */
1904
+ accessibilityLabel?: string;
1905
+ /**
1906
+ * Modify the color to be more or less intense.
1907
+ *
1908
+ * @default 'base'
1909
+ */
1910
+ color?: ColorKeyword;
1911
+ }
1912
+ interface ChipProps$2 extends ChipProps$1, GlobalProps {}
1608
1913
  interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
1609
1914
  /**
1610
1915
  * Content to use as the choice label.
1916
+ *
1917
+ * @implementation (StringChildren) The label is produced by extracting and
1918
+ * concatenating the text nodes from the provided content; any markup or
1919
+ * element structure is ignored.
1920
+ *
1921
+ * @implementation (ComponentChildren) Behaves as a slot: any elements passed
1922
+ * are rendered as the label content (subject to surface constraints); there
1923
+ * is no coercion to a string.
1611
1924
  */
1612
- label?: string;
1925
+ children?: ComponentChildren | StringChildren;
1613
1926
  /**
1614
1927
  * Additional text to provide context or guidance for the input.
1615
1928
  *
@@ -1618,13 +1931,23 @@ interface ChoiceProps$1 extends GlobalProps, BaseOptionProps {
1618
1931
  *
1619
1932
  * @implementation this content should be linked to the input with an `aria-describedby` attribute.
1620
1933
  */
1621
- details?: string;
1934
+ details?: ComponentChildren;
1622
1935
  /**
1623
1936
  * Set to `true` to associate a choice with the error passed to `ChoiceList`
1624
1937
  *
1625
1938
  * @default false
1626
1939
  */
1627
1940
  error?: boolean;
1941
+ /**
1942
+ * Secondary content for a choice.
1943
+ */
1944
+ secondaryContent?: ComponentChildren;
1945
+ /**
1946
+ * Content to display when the option is selected.
1947
+ *
1948
+ * This can be used to provide additional information or options related to the choice.
1949
+ */
1950
+ selectedContent?: ComponentChildren;
1628
1951
  }
1629
1952
  interface ChoiceListProps$1
1630
1953
  extends GlobalProps,
@@ -1651,8 +1974,26 @@ interface ChoiceListProps$1
1651
1974
  * @default false
1652
1975
  */
1653
1976
  disabled?: MultipleInputProps['disabled'];
1977
+ /**
1978
+ * The variant of the choice grid.
1979
+ *
1980
+ * - `auto`: The variant is determined by the context.
1981
+ * - `list`: The choices are displayed in a list.
1982
+ * - `inline`: The choices are displayed on the inline axis.
1983
+ * - `block`: The choices are displayed on the block axis.
1984
+ * - `grid`: The choices are displayed in a grid.
1985
+ *
1986
+ * @implementation The `block`, `inline` and `grid` variants are more suitable for button looking choices, but it's at the
1987
+ * discretion of each surface.
1988
+ *
1989
+ * @default 'auto'
1990
+ */
1991
+ variant?: 'auto' | 'list' | 'inline' | 'block' | 'grid';
1654
1992
  }
1655
- interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
1993
+ interface ClickableProps$1
1994
+ extends GlobalProps,
1995
+ BaseBoxProps,
1996
+ BaseClickableProps {
1656
1997
  /**
1657
1998
  * Disables the clickable, and indicates to assistive technology that the loading is in progress.
1658
1999
  *
@@ -1680,158 +2021,95 @@ interface ClickableProps$1 extends BaseBoxProps, BaseClickableProps {
1680
2021
  */
1681
2022
  lang?: string;
1682
2023
  }
1683
- interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
2024
+ interface ClickableChipProps$1 extends ChipProps$1, GlobalProps {
1684
2025
  /**
1685
- * Default month to display in `YYYY-MM` format.
1686
- *
1687
- * This value is used until `view` is set, either directly or as a result of user interaction.
1688
- *
1689
- * Defaults to the current month in the user's locale.
2026
+ * Callback when the chip is clicked.
1690
2027
  */
1691
- defaultView?: string;
2028
+ onClick?: (event: Event) => void;
1692
2029
  /**
1693
- * Displayed month in `YYYY-MM` format.
1694
- *
1695
- * `onViewChange` is called when this value changes.
2030
+ * The URL to link to.
1696
2031
  *
1697
- * Defaults to `defaultView`.
2032
+ * - If set, it will navigate to the location specified by `href` after executing the `click` event.
1698
2033
  */
1699
- view?: string;
2034
+ href?: string;
1700
2035
  /**
1701
- * Called whenever the month to display changes.
2036
+ * Whether the chip is removable.
1702
2037
  *
1703
- * @param view The new month to display in `YYYY-MM` format.
2038
+ * @default false
1704
2039
  */
1705
- onViewChange?: (view: string) => void;
2040
+ removable?: boolean;
1706
2041
  /**
1707
- * The type of selection the date picker allows.
1708
- *
1709
- * - `single` allows selecting a single date.
1710
- * - `multiple` allows selecting multiple non-contiguous dates.
1711
- * - `range` allows selecting a single range of dates.
1712
- *
1713
- * @default "single"
2042
+ * Callback when the chip is removed.
1714
2043
  */
1715
- type?: 'single' | 'multiple' | 'range';
2044
+ onRemove?: (event: Event) => void;
1716
2045
  /**
1717
- * Dates that can be selected.
2046
+ * Determines whether the chip is hidden.
1718
2047
  *
1719
- * A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
1720
- *
1721
- * The default `''` allows all dates.
1722
- *
1723
- * - Dates in `YYYY-MM-DD` format allow a single date.
1724
- * - Dates in `YYYY-MM` format allow a whole month.
1725
- * - Dates in `YYYY` format allow a whole year.
1726
- * - Ranges are expressed as `start--end`.
1727
- * - Ranges are inclusive.
1728
- * - If either `start` or `end` is omitted, the range is unbounded in that direction.
1729
- * - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
1730
- * So `2024--` is equivalent to `2024-01-01--`.
1731
- * - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
1732
- * So `--2024` is equivalent to `--2024-12-31`.
1733
- * - Whitespace is allowed either side of `--`.
2048
+ * If this property is being set on each framework render (as in 'controlled' usage),
2049
+ * and the chip is `removable`,
2050
+ * ensure you update app state for this property when the `remove` event fires.
1734
2051
  *
1735
- * @default ""
2052
+ * If the chip is not `removable`, it can still be hidden by setting this property.
1736
2053
  *
1737
- * @example
1738
- * `2024-02--2025` // allow any date from February 2024 to the end of 2025
1739
- * `2024-02--` // allow any date from February 2024 to the end of the month
1740
- * `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
2054
+ * @default false
1741
2055
  */
1742
- allow?: string;
2056
+ hidden?: boolean;
1743
2057
  /**
1744
- * Dates that cannot be selected. These subtract from `allowDates`.
1745
- *
1746
- * A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
1747
- *
1748
- * The default `''` has no effect on `allowDates`.
1749
- *
1750
- * - Dates in `YYYY-MM-DD` format disallow a single date.
1751
- * - Dates in `YYYY-MM` format disallow a whole month.
1752
- * - Dates in `YYYY` format disallow a whole year.
1753
- * - Ranges are expressed as `start--end`.
1754
- * - Ranges are inclusive.
1755
- * - If either `start` or `end` is omitted, the range is unbounded in that direction.
1756
- * - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
1757
- * So `2024--` is equivalent to `2024-01-01--`.
1758
- * - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
1759
- * So `--2024` is equivalent to `--2024-12-31`.
1760
- * - Whitespace is allowed either side of `--`.
2058
+ * Event handler when the chip has fully hidden.
1761
2059
  *
1762
- * @default ""
2060
+ * The `hidden` property will be `true` when this event fires.
1763
2061
  *
1764
- * @example
1765
- * `--2024-02` // disallow any date before February 2024
1766
- * `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
2062
+ * @implementation If implementations animate the hiding of the chip,
2063
+ * this event must fire after the chip has fully hidden.
2064
+ * We can add an `onHide` event in future if we want to provide a hook for the start of the animation.
1767
2065
  */
1768
- disallow?: string;
2066
+ onAfterHide?: (event: Event) => void;
1769
2067
  /**
1770
- * Days of the week that can be selected. These intersect with the result of `allowDates` and `disallowDates`.
1771
- *
1772
- * A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
1773
- *
1774
- * The default `''` has no effect on the result of `allowDates` and `disallowDates`.
1775
- *
1776
- * Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
1777
- *
1778
- * @default ""
2068
+ * Disables the chip, disallowing any interaction.
1779
2069
  *
1780
- * @example
1781
- * 'saturday, sunday' // allow only weekends within the result of `allowDates` and `disallowDates`.
2070
+ * @default false
1782
2071
  */
1783
- allowDays?: string;
2072
+ disabled?: boolean;
2073
+ }
2074
+ interface ColorPickerProps$1 extends GlobalProps, InputProps {
1784
2075
  /**
1785
- * Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allowDates` and `disallowDates`.
1786
- *
1787
- * A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
2076
+ * Allow user to select an alpha value.
1788
2077
  *
1789
- * The default `''` has no effect on `allowDays`.
1790
- *
1791
- * Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
1792
- *
1793
- * @default ""
1794
- *
1795
- * @example
1796
- * 'saturday, sunday' // disallow weekends within the result of `allowDates` and `disallowDates`.
2078
+ * @default false
1797
2079
  */
1798
- disallowDays?: string;
2080
+ alpha?: boolean;
1799
2081
  /**
1800
- * Default selected value.
1801
- *
1802
- * The default means no date is selected.
1803
- *
1804
- * If the provided value is invalid, no date is selected.
2082
+ * This callback will emit the value in hex.
1805
2083
  *
1806
- * - If `type="single"`, this is a date in `YYYY-MM-DD` format.
1807
- * - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
1808
- * - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
1809
- *
1810
- * @default ""
2084
+ * If the `alpha` prop is `true`, `onChange` will emit an 8-value hex (#RRGGBBAA).
2085
+ * If the `alpha` prop is `false`, `onChange` will emit a 6-value hex (#RRGGBB).
1811
2086
  */
1812
- defaultValue?: string;
2087
+ onChange?: InputProps['onChange'];
1813
2088
  /**
1814
- * Current selected value.
2089
+ * This callback will emit the value in hex.
1815
2090
  *
1816
- * The default means no date is selected.
1817
- *
1818
- * If the provided value is invalid, no date is selected.
1819
- *
1820
- * Otherwise:
2091
+ * If the `alpha` prop is `true`, `onInput` will emit an 8-value hex (#RRGGBBAA).
2092
+ * If the `alpha` prop is `false`, `onInput` will emit a 6-value hex (#RRGGBB).
2093
+ */
2094
+ onInput?: InputProps['onChange'];
2095
+ /**
2096
+ * The currently selected color.
1821
2097
  *
1822
- * - If `type="single"`, this is a date in `YYYY-MM-DD` format.
1823
- * - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
1824
- * - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
2098
+ * Supported formats include:
2099
+ * - HSL @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl
2100
+ * - HSLA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsla
2101
+ * - RGB @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
2102
+ * - RGBA @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
2103
+ * - Hex (3-value, 4-value, 6-value, 8-value) @see https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color
1825
2104
  *
1826
- * Events:
2105
+ * For RGB and RGBA, both the legacy syntax (comma-separated) and modern syntax (space-separate) are supported.
2106
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/rgb
1827
2107
  *
1828
- * - `onInput` - Invoked when any date is selected. Will fire before `onChange`.
1829
- * - `onChange` - Invoked when the `value` is changed. For `type="single"` and `type="multiple"`, this is the same as `onInput`.
1830
- * For `type="range"`, this is only called when the range is completed by selecting the end date of the range.
2108
+ * If the value is invalid, the component will return an empty string ''.
1831
2109
  *
1832
- * @default ""
2110
+ * Note that the `onChange` handler will emit the value in hex.
1833
2111
  */
1834
- value?: string;
2112
+ value?: InputProps['value'];
1835
2113
  }
1836
2114
  export interface AutocompleteProps<
1837
2115
  AutocompleteField extends AnyAutocompleteField,
@@ -1978,35 +2256,347 @@ export type TextAutocompleteField = ExtractStrict<
1978
2256
  | 'cc-family-name'
1979
2257
  | 'cc-type'
1980
2258
  >;
2259
+ interface ColorFieldProps$1
2260
+ extends GlobalProps,
2261
+ BaseTextFieldProps,
2262
+ Pick<ColorPickerProps$1, 'alpha' | 'value' | 'defaultValue'> {
2263
+ autocomplete?: Extract<
2264
+ AutocompleteProps<never>['autocomplete'],
2265
+ 'on' | 'off'
2266
+ >;
2267
+ }
2268
+ interface DatePickerProps$1 extends GlobalProps, InputProps, FocusEventProps {
2269
+ /**
2270
+ * Default month to display in `YYYY-MM` format.
2271
+ *
2272
+ * This value is used until `view` is set, either directly or as a result of user interaction.
2273
+ *
2274
+ * Defaults to the current month in the user's locale.
2275
+ */
2276
+ defaultView?: string;
2277
+ /**
2278
+ * Displayed month in `YYYY-MM` format.
2279
+ *
2280
+ * `onViewChange` is called when this value changes.
2281
+ *
2282
+ * Defaults to `defaultView`.
2283
+ */
2284
+ view?: string;
2285
+ /**
2286
+ * Called whenever the month to display changes.
2287
+ *
2288
+ * @param view The new month to display in `YYYY-MM` format.
2289
+ */
2290
+ onViewChange?: (view: string) => void;
2291
+ /**
2292
+ * The type of selection the date picker allows.
2293
+ *
2294
+ * - `single` allows selecting a single date.
2295
+ * - `multiple` allows selecting multiple non-contiguous dates.
2296
+ * - `range` allows selecting a single range of dates.
2297
+ *
2298
+ * @default "single"
2299
+ */
2300
+ type?: 'single' | 'multiple' | 'range';
2301
+ /**
2302
+ * Dates that can be selected.
2303
+ *
2304
+ * A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
2305
+ *
2306
+ * The default `''` allows all dates.
2307
+ *
2308
+ * - Dates in `YYYY-MM-DD` format allow a single date.
2309
+ * - Dates in `YYYY-MM` format allow a whole month.
2310
+ * - Dates in `YYYY` format allow a whole year.
2311
+ * - Ranges are expressed as `start--end`.
2312
+ * - Ranges are inclusive.
2313
+ * - If either `start` or `end` is omitted, the range is unbounded in that direction.
2314
+ * - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
2315
+ * So `2024--` is equivalent to `2024-01-01--`.
2316
+ * - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
2317
+ * So `--2024` is equivalent to `--2024-12-31`.
2318
+ * - Whitespace is allowed either side of `--`.
2319
+ *
2320
+ * @default ""
2321
+ *
2322
+ * @example
2323
+ * `2024-02--2025` // allow any date from February 2024 to the end of 2025
2324
+ * `2024-02--` // allow any date from February 2024 to the end of the month
2325
+ * `2024-05-09, 2024-05-11` // allow only the 9th and 11th of May 2024
2326
+ */
2327
+ allow?: string;
2328
+ /**
2329
+ * Dates that cannot be selected. These subtract from `allow`.
2330
+ *
2331
+ * A comma-separated list of dates, date ranges. Whitespace is allowed after commas.
2332
+ *
2333
+ * The default `''` has no effect on `allow`.
2334
+ *
2335
+ * - Dates in `YYYY-MM-DD` format disallow a single date.
2336
+ * - Dates in `YYYY-MM` format disallow a whole month.
2337
+ * - Dates in `YYYY` format disallow a whole year.
2338
+ * - Ranges are expressed as `start--end`.
2339
+ * - Ranges are inclusive.
2340
+ * - If either `start` or `end` is omitted, the range is unbounded in that direction.
2341
+ * - If parts of the date are omitted for `start`, they are assumed to be the minimum possible value.
2342
+ * So `2024--` is equivalent to `2024-01-01--`.
2343
+ * - If parts of the date are omitted for `end`, they are assumed to be the maximum possible value.
2344
+ * So `--2024` is equivalent to `--2024-12-31`.
2345
+ * - Whitespace is allowed either side of `--`.
2346
+ *
2347
+ * @default ""
2348
+ *
2349
+ * @example
2350
+ * `--2024-02` // disallow any date before February 2024
2351
+ * `2024-05-09, 2024-05-11` // disallow the 9th and 11th of May 2024
2352
+ */
2353
+ disallow?: string;
2354
+ /**
2355
+ * Days of the week that can be selected. These intersect with the result of `allow` and `disallow`.
2356
+ *
2357
+ * A comma-separated list of days. Whitespace is allowed after commas.
2358
+ *
2359
+ * The default `''` has no effect on the result of `allow` and `disallow`.
2360
+ *
2361
+ * Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
2362
+ *
2363
+ * @default ""
2364
+ *
2365
+ * @example
2366
+ * 'saturday, sunday' // allow only weekends within the result of `allow` and `disallow`.
2367
+ */
2368
+ allowDays?: string;
2369
+ /**
2370
+ * Days of the week that cannot be selected. This subtracts from `allowDays`, and intersects with the result of `allow` and `disallow`.
2371
+ *
2372
+ * A comma-separated list of days. Whitespace is allowed after commas.
2373
+ *
2374
+ * The default `''` has no effect on `allowDays`.
2375
+ *
2376
+ * Days are `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`.
2377
+ *
2378
+ * @default ""
2379
+ *
2380
+ * @example
2381
+ * 'saturday, sunday' // disallow weekends within the result of `allow` and `disallow`.
2382
+ */
2383
+ disallowDays?: string;
2384
+ /**
2385
+ * Default selected value.
2386
+ *
2387
+ * The default means no date is selected.
2388
+ *
2389
+ * If the provided value is invalid, no date is selected.
2390
+ *
2391
+ * - If `type="single"`, this is a date in `YYYY-MM-DD` format.
2392
+ * - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
2393
+ * - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
2394
+ *
2395
+ * @default ""
2396
+ */
2397
+ defaultValue?: string;
2398
+ /**
2399
+ * Current selected value.
2400
+ *
2401
+ * The default means no date is selected.
2402
+ *
2403
+ * If the provided value is invalid, no date is selected.
2404
+ *
2405
+ * Otherwise:
2406
+ *
2407
+ * - If `type="single"`, this is a date in `YYYY-MM-DD` format.
2408
+ * - If `type="multiple"`, this is a comma-separated list of dates in `YYYY-MM-DD` format.
2409
+ * - If `type="range"`, this is a range in `YYYY-MM-DD--YYYY-MM-DD` format. The range is inclusive.
2410
+ *
2411
+ * @default ""
2412
+ */
2413
+ value?: string;
2414
+ /**
2415
+ * Callback when any date is selected.
2416
+ *
2417
+ * - If `type="single"`, fires when a date is selected and happens before `onChange`.
2418
+ * - If `type="multiple"`, fires when a date is selected before `onChange`.
2419
+ * - If `type="range"`, fires when a first date is selected (with the partial value formatted as `YYYY-MM-DD--`), and when the last date is selected before `onChange`.
2420
+ */
2421
+ onInput?: (event: Event) => void;
2422
+ /**
2423
+ * Callback when the value is committed.
2424
+ *
2425
+ * - If `type="single"`, fires when a date is selected after `onInput`.
2426
+ * - If `type="multiple"`, fires when a date is selected after `onInput`.
2427
+ * - If `type="range"`, fires when a range is completed by selecting the end date after `onInput`.
2428
+ */
2429
+ onChange?: (event: Event) => void;
2430
+ }
2431
+ interface DateFieldProps$1
2432
+ extends GlobalProps,
2433
+ BaseTextFieldProps,
2434
+ Pick<
2435
+ DatePickerProps$1,
2436
+ | 'view'
2437
+ | 'defaultView'
2438
+ | 'value'
2439
+ | 'defaultValue'
2440
+ | 'allow'
2441
+ | 'disallow'
2442
+ | 'allowDays'
2443
+ | 'disallowDays'
2444
+ | 'onViewChange'
2445
+ >,
2446
+ AutocompleteProps<DateAutocompleteField> {
2447
+ /**
2448
+ * Callback when the user makes any changes in the field.
2449
+ * Also triggered when a date is selected using the date picker popup before `onChange`.
2450
+ */
2451
+ onInput?: (event: Event) => void;
2452
+ /**
2453
+ * Callback when the user has **finished editing** a field, e.g. once they have blurred the field.
2454
+ * Also triggered when a date is selected using the date picker popup after `onInput`.
2455
+ */
2456
+ onChange?: (event: Event) => void;
2457
+ /**
2458
+ * Callback when the field has an invalid date.
2459
+ * This callback will be called, if the date typed is invalid or disabled.
2460
+ *
2461
+ * Dates that don’t exist or have formatting errors are considered invalid. Some examples of invalid dates are:
2462
+ * - 2021-02-31: February doesn’t have 31 days
2463
+ * - 2021-02-00: The day can’t be 00
2464
+ *
2465
+ * Disallowed dates are considered invalid.
2466
+ *
2467
+ * It’s important to note that this callback will be called only when the user **finishes editing** the date,
2468
+ * and it’s called right after the `onChange` callback.
2469
+ * The field is **not** validated on every change to the input. Once the buyer has signalled that
2470
+ * they have finished editing the field (typically, by blurring the field), the field gets validated and the callback is run if the value is invalid.
2471
+ */
2472
+ onInvalid?: (event: Event) => void;
2473
+ }
2474
+ export type DateAutocompleteField = ExtractStrict<
2475
+ AnyAutocompleteField,
2476
+ | 'bday'
2477
+ | 'bday-day'
2478
+ | 'bday-month'
2479
+ | 'bday-year'
2480
+ | 'cc-expiry'
2481
+ | 'cc-expiry-month'
2482
+ | 'cc-expiry-year'
2483
+ >;
1981
2484
  interface DividerProps$1 extends GlobalProps {
1982
2485
  /**
1983
- * Specify the direction of the divider.
2486
+ * Specify the direction of the divider. This uses [logical properties](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_logical_properties_and_values).
2487
+ *
2488
+ * @default 'inline'
2489
+ */
2490
+ direction?: 'inline' | 'block';
2491
+ /**
2492
+ * Modify the color to be more or less intense.
2493
+ *
2494
+ * @default 'base'
2495
+ */
2496
+ color?: ColorKeyword;
2497
+ }
2498
+ interface DropZoneProps$1 extends GlobalProps, FileInputProps, BasicFieldProps {
2499
+ /**
2500
+ * A string representing the types of files that are accepted by the drop zone.
2501
+ * This string is a comma-separated list of unique file type specifiers which can be one of the following:
2502
+ * - A file extension starting with a period (".") character (e.g. .jpg, .pdf, .doc)
2503
+ * - A valid MIME type string with no extensions
2504
+ *
2505
+ * If omitted, all file types are accepted.
2506
+ *
2507
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
2508
+ * @default ''
2509
+ */
2510
+ accept?: string;
2511
+ /**
2512
+ * A label that describes the purpose or contents of the item. When set,
2513
+ * it will be announced to buyers using assistive technologies and will
2514
+ * provide them with more context.
2515
+ */
2516
+ accessibilityLabel?: string;
2517
+ /**
2518
+ * Whether multiple files can be selected or dropped at once.
2519
+ *
2520
+ * @default false
2521
+ */
2522
+ multiple?: boolean;
2523
+ /**
2524
+ * Callback fired when rejected files are dropped.
2525
+ * Files are rejected based on the `accept` prop and are not added to `files`.
2526
+ */
2527
+ onDropRejected?: (event: Event) => void;
2528
+ }
2529
+ interface EmailFieldProps$1
2530
+ extends GlobalProps,
2531
+ BaseTextFieldProps,
2532
+ MinMaxLengthProps,
2533
+ AutocompleteProps<EmailAutocompleteField> {}
2534
+ export type EmailAutocompleteField = ExtractStrict<
2535
+ AnyAutocompleteField,
2536
+ 'email' | `${AutocompleteAddressGroup} email`
2537
+ >;
2538
+ interface FormProps$1 extends GlobalProps {
2539
+ /**
2540
+ * The content of the form.
2541
+ */
2542
+ children?: ComponentChildren;
2543
+ /**
2544
+ * Whether the form is able to be submitted.
2545
+ *
2546
+ * When set to `true`, this will also disable the implicit submit behavior of the form.
2547
+ *
2548
+ * @default false
2549
+ *
2550
+ * @deprecated Prevent default within the onSubmit callback using a local state instead. Deprecated in v1.6.0
2551
+ * @private
2552
+ */
2553
+ disabled?: boolean;
2554
+ /**
2555
+ * A callback that is run when the form is submitted.
1984
2556
  *
1985
- * An 'inline' divider separates blocks of content.
1986
- * In a left-to-right or right-to-left writing mode, this would typically be a horizontal line.
1987
- *
1988
- * A 'block' divider separates items within the current line of content.
1989
- * In a left-to-right or right-to-left writing mode, this would typically be a vertical line.
2557
+ * Use `event.waitUntil` to signal how long it takes to save the data,
2558
+ * and whether it was successful or not.
2559
+ */
2560
+ onSubmit?: (event: ExtendableEvent) => void;
2561
+ /**
2562
+ * A callback that is run when the form is reset.
2563
+ */
2564
+ onReset?: (event: Event) => void;
2565
+ }
2566
+ interface FunctionSettingsProps$1 extends GlobalProps, FormProps$1 {
2567
+ /**
2568
+ * An optional callback function that will be run by the admin when the user
2569
+ * commits their changes in the admin-rendered part of the function settings
2570
+ * experience. If `event.waitUntil` is called with a promise, the admin will wait for the
2571
+ * promise to resolve before committing any changes to Shopify’s servers. If
2572
+ * the promise rejects, the admin will abort the changes and display an error,
2573
+ * using the `message` property of the error you reject with.
2574
+ */
2575
+ onSubmit?: (event: ExtendableEvent) => void;
2576
+ /**
2577
+ * An optional callback function that will be run by the admin when
2578
+ * committing the changes to Shopify’s servers fails. The error event you receive includes
2579
+ * an `error` property that is an `AggregateError` object. This object includes
2580
+ * an array of errors that were caused by data your extension provided.
2581
+ * Network errors and user errors that are out of your control will not be reported here.
1990
2582
  *
1991
- * @default 'inline'
2583
+ * In the `onError` callback, you should update your extension’s UI to
2584
+ * highlight the fields that caused the errors, and display the error messages
2585
+ * to the user.
1992
2586
  */
1993
- direction?: 'inline' | 'block';
2587
+ onError?: (event: AggregateErrorEvent<FunctionSettingsError>) => void;
2588
+ }
2589
+ export interface FunctionSettingsError extends Error {
1994
2590
  /**
1995
- * Modify the color to be more or less intense.
2591
+ * A unique identifier describing the “class” of error. These will match
2592
+ * the GraphQL error codes as closely as possible. For example the enums
2593
+ * returned by the `metafieldsSet` mutation
1996
2594
  *
1997
- * @default 'base'
2595
+ * @see https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldsSetUserErrorCode
1998
2596
  */
1999
- color?: ColorKeyword;
2597
+ code: string;
2598
+ name: 'FunctionSettingsError';
2000
2599
  }
2001
- interface EmailFieldProps$1
2002
- extends GlobalProps,
2003
- BaseTextFieldProps,
2004
- MinMaxLengthProps,
2005
- AutocompleteProps<EmailAutocompleteField> {}
2006
- export type EmailAutocompleteField = ExtractStrict<
2007
- AnyAutocompleteField,
2008
- 'email' | `${AutocompleteAddressGroup} email`
2009
- >;
2010
2600
  export type SpacingKeyword = SizeKeyword | 'none';
2011
2601
  export interface GapProps {
2012
2602
  /**
@@ -2017,7 +2607,7 @@ export interface GapProps {
2017
2607
  *
2018
2608
  * @default 'none'
2019
2609
  */
2020
- gap?: MaybeTwoValuesShorthandProperty<SpacingKeyword>;
2610
+ gap?: MaybeResponsive<MaybeTwoValuesShorthandProperty<SpacingKeyword>>;
2021
2611
  /**
2022
2612
  * Adjust spacing between elements in the block axis.
2023
2613
  *
@@ -2025,7 +2615,7 @@ export interface GapProps {
2025
2615
  *
2026
2616
  * @default '' - meaning no override
2027
2617
  */
2028
- rowGap?: SpacingKeyword | '';
2618
+ rowGap?: MaybeResponsive<SpacingKeyword | ''>;
2029
2619
  /**
2030
2620
  * Adjust spacing between elements in the inline axis.
2031
2621
  *
@@ -2033,7 +2623,7 @@ export interface GapProps {
2033
2623
  *
2034
2624
  * @default '' - meaning no override
2035
2625
  */
2036
- columnGap?: SpacingKeyword | '';
2626
+ columnGap?: MaybeResponsive<SpacingKeyword | ''>;
2037
2627
  }
2038
2628
  export type BaselinePosition = 'baseline' | 'first baseline' | 'last baseline';
2039
2629
  export type ContentDistribution =
@@ -2088,21 +2678,21 @@ export type AlignContentKeyword =
2088
2678
  | ContentDistribution
2089
2679
  | OverflowPosition
2090
2680
  | ContentPosition;
2091
- interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
2681
+ interface GridProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
2092
2682
  /**
2093
2683
  Define columns and specify their size.
2094
2684
 
2095
2685
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns
2096
2686
  @default 'none'
2097
2687
  */
2098
- gridTemplateColumns?: string;
2688
+ gridTemplateColumns?: MaybeResponsive<string>;
2099
2689
  /**
2100
2690
  Define rows and specify their size.
2101
2691
 
2102
2692
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows
2103
2693
  @default 'none'
2104
2694
  */
2105
- gridTemplateRows?: string;
2695
+ gridTemplateRows?: MaybeResponsive<string>;
2106
2696
  /**
2107
2697
  Aligns the grid items along the inline (row) axis.
2108
2698
 
@@ -2111,7 +2701,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
2111
2701
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items
2112
2702
  @default '' - meaning no override
2113
2703
  */
2114
- justifyItems?: JustifyItemsKeyword | '';
2704
+ justifyItems?: MaybeResponsive<JustifyItemsKeyword | ''>;
2115
2705
  /**
2116
2706
  Aligns the grid items along the block (column) axis.
2117
2707
 
@@ -2120,16 +2710,16 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
2120
2710
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
2121
2711
  @default '' - meaning no override
2122
2712
  */
2123
- alignItems?: AlignItemsKeyword | '';
2713
+ alignItems?: MaybeResponsive<AlignItemsKeyword | ''>;
2124
2714
  /**
2125
2715
  A shorthand property for `justify-items` and `align-items`.
2126
2716
 
2127
2717
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/place-items
2128
2718
  @default 'normal normal'
2129
2719
  */
2130
- placeItems?:
2131
- | `${AlignItemsKeyword} ${JustifyItemsKeyword}`
2132
- | AlignItemsKeyword;
2720
+ placeItems?: MaybeResponsive<
2721
+ `${AlignItemsKeyword} ${JustifyItemsKeyword}` | AlignItemsKeyword
2722
+ >;
2133
2723
  /**
2134
2724
  Aligns the grid along the inline (row) axis.
2135
2725
 
@@ -2138,7 +2728,7 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
2138
2728
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
2139
2729
  @default '' - meaning no override
2140
2730
  */
2141
- justifyContent?: JustifyContentKeyword | '';
2731
+ justifyContent?: MaybeResponsive<JustifyContentKeyword | ''>;
2142
2732
  /**
2143
2733
  Aligns the grid along the block (column) axis.
2144
2734
 
@@ -2147,18 +2737,18 @@ interface GridProps$1 extends BaseBoxPropsWithRole, GapProps {
2147
2737
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
2148
2738
  @default '' - meaning no override
2149
2739
  */
2150
- alignContent?: AlignContentKeyword | '';
2740
+ alignContent?: MaybeResponsive<AlignContentKeyword | ''>;
2151
2741
  /**
2152
2742
  A shorthand property for `justify-content` and `align-content`.
2153
2743
 
2154
2744
  @see https://developer.mozilla.org/en-US/docs/Web/CSS/place-content
2155
2745
  @default 'normal normal'
2156
2746
  */
2157
- placeContent?:
2158
- | `${AlignContentKeyword} ${JustifyContentKeyword}`
2159
- | AlignContentKeyword;
2747
+ placeContent?: MaybeResponsive<
2748
+ `${AlignContentKeyword} ${JustifyContentKeyword}` | AlignContentKeyword
2749
+ >;
2160
2750
  }
2161
- interface GridItemProps$1 extends BaseBoxPropsWithRole {
2751
+ interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
2162
2752
  /**
2163
2753
  * Number of columns the item will span across
2164
2754
  *
@@ -2260,7 +2850,9 @@ interface HeadingProps$1
2260
2850
  | 'heading'
2261
2851
  | ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
2262
2852
  }
2263
- interface IconProps$1 extends GlobalProps {
2853
+ interface IconProps$1
2854
+ extends GlobalProps,
2855
+ Pick<InteractionProps, 'interestFor'> {
2264
2856
  /**
2265
2857
  * Sets the tone of the icon, based on the intention of the information being conveyed.
2266
2858
  *
@@ -2326,13 +2918,6 @@ export interface BaseImageProps {
2326
2918
  */
2327
2919
  srcSet?: string;
2328
2920
  }
2329
- /**
2330
- * This is purely to give the ability
2331
- * to have a space or not in the string literal types.
2332
- *
2333
- * For example in the `aspectRatio` property, `16/9` and `16 / 9` are both valid.
2334
- */
2335
- export type optionalSpace = '' | ' ';
2336
2921
  interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
2337
2922
  /**
2338
2923
  * Sets the semantic meaning of the component’s content. When set,
@@ -2400,13 +2985,13 @@ interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
2400
2985
  *
2401
2986
  * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
2402
2987
  */
2403
- onLoad?: () => void;
2988
+ onLoad?: (event: Event) => void;
2404
2989
  /**
2405
2990
  * Invoked on load error.
2406
2991
  *
2407
2992
  * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
2408
2993
  */
2409
- onError?: () => void;
2994
+ onError?: (event: Event) => void;
2410
2995
  }
2411
2996
  interface LinkProps$1 extends GlobalProps, LinkBehaviorProps {
2412
2997
  /**
@@ -2439,189 +3024,69 @@ interface ListItemProps$1 extends GlobalProps {
2439
3024
  */
2440
3025
  children?: ComponentChildren;
2441
3026
  }
2442
- interface MoneyFieldProps$1
3027
+ interface MenuProps$1 extends GlobalProps {
3028
+ /**
3029
+ * A label that describes the purpose or contents of the element. When set,
3030
+ * it will be announced using assistive technologies and provide additional context.
3031
+ */
3032
+ accessibilityLabel?: string;
3033
+ /**
3034
+ * The children define the actions to render inside the Menu. Only Button components are allowed as children of a Menu, and these Buttons can perform actions (using `onClick`) or link to other parts of the application (using `to`/ `href`). Any other component placed here will be ignored.
3035
+ */
3036
+ children?: ComponentChildren;
3037
+ }
3038
+ interface ModalProps$1
2443
3039
  extends GlobalProps,
2444
- BaseTextFieldProps,
2445
- NumberConstraintsProps,
2446
- AutocompleteProps<MoneyAutocompleteField> {
3040
+ BaseOverlayProps,
3041
+ BaseOverlayMethods,
3042
+ ActionSlots {
2447
3043
  /**
2448
- * Specifies the currency code that will be displayed.
3044
+ * A label that describes the purpose of the modal. When set,
3045
+ * it will be announced to users using assistive technologies and will
3046
+ * provide them with more context.
2449
3047
  *
2450
- * @default ''
3048
+ * This overrides the `heading` prop for screen readers.
3049
+ */
3050
+ accessibilityLabel?: string;
3051
+ /**
3052
+ * A title that describes the content of the Modal.
3053
+ *
3054
+ */
3055
+ heading?: string;
3056
+ /**
3057
+ * Adjust the padding around the Modal content.
3058
+ *
3059
+ * `base`: applies padding that is appropriate for the element.
3060
+ *
3061
+ * `none`: removes all padding from the element. This can be useful when elements inside the Modal need to span
3062
+ * to the edge of the Modal. For example, a full-width image. In this case, rely on `Box` with a padding of 'base'
3063
+ * to bring back the desired padding for the rest of the content.
3064
+ *
3065
+ * @default 'base'
3066
+ */
3067
+ padding?: 'base' | 'none';
3068
+ /**
3069
+ * Adjust the size of the Modal.
3070
+ *
3071
+ * `max`: expands the Modal to its maximum size as defined by the host application, on both the horizontal and vertical axes.
3072
+ *
3073
+ * @default 'base'
3074
+ */
3075
+ size?: SizeKeyword | 'max';
3076
+ /**
3077
+ * The content of the Modal.
2451
3078
  */
2452
- currencyCode?: CurrencyCode | AnyString;
3079
+ children?: ComponentChildren;
2453
3080
  }
3081
+ interface MoneyFieldProps$1
3082
+ extends GlobalProps,
3083
+ BaseTextFieldProps,
3084
+ NumberConstraintsProps,
3085
+ AutocompleteProps<MoneyAutocompleteField> {}
2454
3086
  export type MoneyAutocompleteField = ExtractStrict<
2455
3087
  AnyAutocompleteField,
2456
3088
  'transaction-amount'
2457
3089
  >;
2458
- /**
2459
- * Supported monetary currencies from [ISO 4217](https://www.iso.org/iso-4217-currency-codes.html).
2460
- *
2461
- * @see https://www.iso.org/iso-4217-currency-codes.html
2462
- */
2463
- export type CurrencyCode =
2464
- | 'USD'
2465
- | 'EUR'
2466
- | 'GBP'
2467
- | 'CAD'
2468
- | 'AFN'
2469
- | 'ALL'
2470
- | 'DZD'
2471
- | 'AOA'
2472
- | 'ARS'
2473
- | 'AMD'
2474
- | 'AWG'
2475
- | 'AUD'
2476
- | 'BBD'
2477
- | 'AZN'
2478
- | 'BDT'
2479
- | 'BSD'
2480
- | 'BHD'
2481
- | 'BIF'
2482
- | 'BZD'
2483
- | 'BMD'
2484
- | 'BTN'
2485
- | 'BAM'
2486
- | 'BRL'
2487
- | 'BOB'
2488
- | 'BWP'
2489
- | 'BND'
2490
- | 'BGN'
2491
- | 'MMK'
2492
- | 'KHR'
2493
- | 'CVE'
2494
- | 'KYD'
2495
- | 'XAF'
2496
- | 'CLP'
2497
- | 'CNY'
2498
- | 'COP'
2499
- | 'KMF'
2500
- | 'CDF'
2501
- | 'CRC'
2502
- | 'HRK'
2503
- | 'CZK'
2504
- | 'DKK'
2505
- | 'DOP'
2506
- | 'XCD'
2507
- | 'EGP'
2508
- | 'ETB'
2509
- | 'XPF'
2510
- | 'FJD'
2511
- | 'GMD'
2512
- | 'GHS'
2513
- | 'GTQ'
2514
- | 'GYD'
2515
- | 'GEL'
2516
- | 'HTG'
2517
- | 'HNL'
2518
- | 'HKD'
2519
- | 'HUF'
2520
- | 'ISK'
2521
- | 'INR'
2522
- | 'IDR'
2523
- | 'ILS'
2524
- | 'IQD'
2525
- | 'JMD'
2526
- | 'JPY'
2527
- | 'JEP'
2528
- | 'JOD'
2529
- | 'KZT'
2530
- | 'KES'
2531
- | 'KWD'
2532
- | 'KGS'
2533
- | 'LAK'
2534
- | 'LVL'
2535
- | 'LBP'
2536
- | 'LSL'
2537
- | 'LRD'
2538
- | 'LTL'
2539
- | 'MGA'
2540
- | 'MKD'
2541
- | 'MOP'
2542
- | 'MWK'
2543
- | 'MVR'
2544
- | 'MXN'
2545
- | 'MYR'
2546
- | 'MUR'
2547
- | 'MDL'
2548
- | 'MAD'
2549
- | 'MNT'
2550
- | 'MZN'
2551
- | 'NAD'
2552
- | 'NPR'
2553
- | 'ANG'
2554
- | 'NZD'
2555
- | 'NIO'
2556
- | 'NGN'
2557
- | 'NOK'
2558
- | 'OMR'
2559
- | 'PAB'
2560
- | 'PKR'
2561
- | 'PGK'
2562
- | 'PYG'
2563
- | 'PEN'
2564
- | 'PHP'
2565
- | 'PLN'
2566
- | 'QAR'
2567
- | 'RON'
2568
- | 'RUB'
2569
- | 'RWF'
2570
- | 'WST'
2571
- | 'SAR'
2572
- | 'RSD'
2573
- | 'SCR'
2574
- | 'SGD'
2575
- | 'SDG'
2576
- | 'SYP'
2577
- | 'ZAR'
2578
- | 'KRW'
2579
- | 'SSP'
2580
- | 'SBD'
2581
- | 'LKR'
2582
- | 'SRD'
2583
- | 'SZL'
2584
- | 'SEK'
2585
- | 'CHF'
2586
- | 'TWD'
2587
- | 'THB'
2588
- | 'TZS'
2589
- | 'TTD'
2590
- | 'TND'
2591
- | 'TRY'
2592
- | 'TMT'
2593
- | 'UGX'
2594
- | 'UAH'
2595
- | 'AED'
2596
- | 'UYU'
2597
- | 'UZS'
2598
- | 'VUV'
2599
- | 'VND'
2600
- | 'XOF'
2601
- | 'YER'
2602
- | 'ZMW'
2603
- | 'BYN'
2604
- | 'BYR'
2605
- | 'DJF'
2606
- | 'ERN'
2607
- | 'FKP'
2608
- | 'GIP'
2609
- | 'GNF'
2610
- | 'IRR'
2611
- | 'KID'
2612
- | 'LYD'
2613
- | 'MRU'
2614
- | 'SLL'
2615
- | 'SHP'
2616
- | 'SOS'
2617
- | 'STD'
2618
- | 'STN'
2619
- | 'TJS'
2620
- | 'TOP'
2621
- | 'VED'
2622
- | 'VEF'
2623
- | 'VES'
2624
- | 'XXX';
2625
3090
  interface NumberFieldProps$1
2626
3091
  extends GlobalProps,
2627
3092
  BaseTextFieldProps,
@@ -2665,7 +3130,7 @@ interface OptionGroupProps$1 extends GlobalProps {
2665
3130
  children?: ComponentChildren;
2666
3131
  }
2667
3132
  interface OrderedListProps$1 extends GlobalProps {}
2668
- interface PageProps$1 extends GlobalProps {
3133
+ interface PageProps$1 extends GlobalProps, ActionSlots {
2669
3134
  /**
2670
3135
  * The content of the Page.
2671
3136
  */
@@ -2679,18 +3144,13 @@ interface PageProps$1 extends GlobalProps {
2679
3144
  */
2680
3145
  subheading?: string;
2681
3146
  /**
2682
- * The primary action to perform, provided as a button or link type element.
2683
- * When a `Button` is added to the `primaryAction` it's variant is set to `primary`
3147
+ * Additional contextual information about the page.
2684
3148
  */
2685
- primaryAction?: ComponentChildren;
3149
+ accessory?: ComponentChildren;
2686
3150
  /**
2687
3151
  * The breadcrumb actions to perform, provided as link elements.
2688
3152
  */
2689
3153
  breadcrumbActions?: ComponentChildren;
2690
- /**
2691
- * Secondary actions. These are `Button`s that will be contextually the 'secondary' variant.
2692
- */
2693
- secondaryActions?: ComponentChildren;
2694
3154
  /**
2695
3155
  * The aside element is section of a page that contains content that is tangentially related to the content around the aside element, and which could be considered separate from that content.
2696
3156
  * Such sections are often represented as sidebars in printed typography.
@@ -2751,6 +3211,17 @@ export type PasswordAutocompleteField = ExtractStrict<
2751
3211
  AnyAutocompleteField,
2752
3212
  'new-password' | 'current-password'
2753
3213
  >;
3214
+ interface PopoverProps$1
3215
+ extends GlobalProps,
3216
+ BaseOverlayProps,
3217
+ BaseOverlayMethods,
3218
+ ToggleEventProps,
3219
+ SizingProps {
3220
+ /**
3221
+ * The content of the popover.
3222
+ */
3223
+ children?: ComponentChildren;
3224
+ }
2754
3225
  interface QueryContainerProps$1 extends GlobalProps {
2755
3226
  /**
2756
3227
  * The content of the container.
@@ -2771,7 +3242,7 @@ interface QueryContainerProps$1 extends GlobalProps {
2771
3242
  */
2772
3243
  containerName?: string;
2773
3244
  }
2774
- interface SectionProps$1 extends GlobalProps {
3245
+ interface SectionProps$1 extends GlobalProps, ActionSlots {
2775
3246
  /**
2776
3247
  * The content of the Section.
2777
3248
  */
@@ -2830,40 +3301,40 @@ interface SpinnerProps$1 extends GlobalProps {
2830
3301
  */
2831
3302
  accessibilityLabel?: string;
2832
3303
  }
2833
- interface StackProps$1 extends BaseBoxPropsWithRole, GapProps {
3304
+ interface StackProps$1 extends GlobalProps, BaseBoxPropsWithRole, GapProps {
2834
3305
  /**
2835
3306
  * The content of the Stack.
2836
3307
  */
2837
3308
  children?: ComponentChildren;
2838
3309
  /**
2839
- * Sets how the children are placed within the Stack.
3310
+ * 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).
2840
3311
  *
2841
3312
  * @default 'block'
2842
3313
  *
2843
3314
  * @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
2844
3315
  */
2845
- direction?: 'block' | 'inline';
3316
+ direction?: MaybeResponsive<'block' | 'inline'>;
2846
3317
  /**
2847
3318
  * Aligns the Stack along the main axis.
2848
3319
  *
2849
3320
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content
2850
3321
  * @default 'normal'
2851
3322
  */
2852
- justifyContent?: JustifyContentKeyword;
3323
+ justifyContent?: MaybeResponsive<JustifyContentKeyword>;
2853
3324
  /**
2854
3325
  * Aligns the Stack's children along the cross axis.
2855
3326
  *
2856
3327
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-items
2857
3328
  * @default 'normal'
2858
3329
  */
2859
- alignItems?: AlignItemsKeyword;
3330
+ alignItems?: MaybeResponsive<AlignItemsKeyword>;
2860
3331
  /**
2861
3332
  * Aligns the Stack along the cross axis.
2862
3333
  *
2863
3334
  * @see https://developer.mozilla.org/en-US/docs/Web/CSS/align-content
2864
3335
  * @default 'normal'
2865
3336
  */
2866
- alignContent?: AlignContentKeyword;
3337
+ alignContent?: MaybeResponsive<AlignContentKeyword>;
2867
3338
  }
2868
3339
  interface SwitchProps$1
2869
3340
  extends GlobalProps,
@@ -2881,11 +3352,11 @@ export interface PaginationProps {
2881
3352
  /**
2882
3353
  * Called when the previous page button is clicked.
2883
3354
  */
2884
- onPreviousPage?: () => void;
3355
+ onPreviousPage?: (event: Event) => void;
2885
3356
  /**
2886
3357
  * Called when the next page button is clicked.
2887
3358
  */
2888
- onNextPage?: () => void;
3359
+ onNextPage?: (event: Event) => void;
2889
3360
  /**
2890
3361
  * Whether there's an additional page of data.
2891
3362
  *
@@ -2930,11 +3401,11 @@ interface TableBodyProps$1 extends GlobalProps {
2930
3401
  /**
2931
3402
  * The body of the table. May not have any semantic meaning in the Table's `list` variant.
2932
3403
  */
2933
- children: ComponentChildren;
3404
+ children?: ComponentChildren;
2934
3405
  }
2935
3406
  interface TableCellProps$1 extends GlobalProps {
2936
3407
  /**
2937
- * The content of the table data.
3408
+ * The content of the table cell.
2938
3409
  */
2939
3410
  children?: ComponentChildren;
2940
3411
  }
@@ -2952,7 +3423,7 @@ interface TableHeaderProps$1 extends GlobalProps {
2952
3423
  /**
2953
3424
  * Content designation for the table's `list` variant.
2954
3425
  *
2955
- * - `primary'`: The most important content. Only one column can have this designation.
3426
+ * - `primary`: The most important content. Only one column can have this designation.
2956
3427
  * - `secondary`: The secondary content. Only one column can have this designation.
2957
3428
  * - `kicker`: Content that is displayed before primary and secondary content, but with less visual prominence. Only one column can have this designation.
2958
3429
  * - `inline`: Content that is displayed inline.
@@ -2961,6 +3432,16 @@ interface TableHeaderProps$1 extends GlobalProps {
2961
3432
  * @default 'labeled'
2962
3433
  */
2963
3434
  listSlot?: ListSlotType;
3435
+ /**
3436
+ * The format of the column. Will automatically apply styling and alignment to cell content based on the value.
3437
+ *
3438
+ * - `base`: The base format for columns.
3439
+ * - `currency`: Formats the column as currency.
3440
+ * - `numeric`: Formats the column as a number.
3441
+ *
3442
+ * @default 'base'
3443
+ */
3444
+ format?: 'base' | 'currency' | 'numeric';
2964
3445
  }
2965
3446
  interface TableHeaderRowProps$1 extends GlobalProps {
2966
3447
  /**
@@ -2973,12 +3454,24 @@ interface TableRowProps$1 extends GlobalProps {
2973
3454
  * The content of a TableRow, which should be `TableCell` components.
2974
3455
  */
2975
3456
  children?: ComponentChildren;
3457
+ /**
3458
+ * The ID of an interactive element (e.g. `s-link`) in the row that will be the target of the click when the row is clicked.
3459
+ * This is the primary action for the row; it should not be used for secondary actions.
3460
+ *
3461
+ * This is a click-only affordance, and does not introduce any keyboard or screen reader affordances.
3462
+ * Which is why the target element must be in the table; so that keyboard and screen reader users can interact with it normally.
3463
+ *
3464
+ * @implementation no focus or keyboard affordances are introduced by this property. No aria attributes need to be added to the table row.
3465
+ * @implementation the row and/or delegate should have some affordance that indicates it is clickable. This may be a background color, a border, a hover effect, etc.
3466
+ */
3467
+ clickDelegate?: string;
2976
3468
  }
2977
3469
  interface TextProps$1
2978
3470
  extends GlobalProps,
2979
3471
  AccessibilityVisibilityProps,
2980
3472
  BaseTypographyProps,
2981
- DisplayProps {
3473
+ DisplayProps,
3474
+ Pick<InteractionProps, 'interestFor'> {
2982
3475
  /**
2983
3476
  * The content of the Text.
2984
3477
  */
@@ -2986,7 +3479,7 @@ interface TextProps$1
2986
3479
  /**
2987
3480
  * Provide semantic meaning and default styling to the text.
2988
3481
  *
2989
- * Other presentation properties on `<s-text>` override the default styling.
3482
+ * Other presentation properties on Text override the default styling.
2990
3483
  *
2991
3484
  * @default 'generic'
2992
3485
  */
@@ -3086,42 +3579,207 @@ interface TextAreaProps$1
3086
3579
  */
3087
3580
  rows?: number;
3088
3581
  }
3089
- interface TextFieldProps$1
3090
- extends GlobalProps,
3091
- BaseTextFieldProps,
3092
- MinMaxLengthProps,
3093
- AutocompleteProps<TextAutocompleteField>,
3094
- FieldDecorationProps {}
3095
- interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
3096
- /**
3097
- * Invoked when load of provided image completes successfully.
3098
- *
3099
- * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
3100
- */
3101
- onLoad?: () => void;
3102
- /**
3103
- * Invoked on load error of provided image.
3104
- *
3105
- * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
3106
- */
3107
- onError?: () => void;
3108
- /**
3109
- * Adjusts the size the product thumbnail image.
3110
- *
3111
- * @default 'base'
3112
- */
3113
- size?: SizeKeyword;
3582
+ interface TextFieldProps$1
3583
+ extends GlobalProps,
3584
+ BaseTextFieldProps,
3585
+ MinMaxLengthProps,
3586
+ AutocompleteProps<TextAutocompleteField>,
3587
+ FieldDecorationProps {}
3588
+ interface ThumbnailProps$1 extends GlobalProps, BaseImageProps {
3589
+ /**
3590
+ * Invoked when load of provided image completes successfully.
3591
+ *
3592
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onload
3593
+ */
3594
+ onLoad?: (event: Event) => void;
3595
+ /**
3596
+ * Invoked on load error of provided image.
3597
+ *
3598
+ * @see https://developer.mozilla.org/en-US/docs/Web/API/GlobalEventHandlers/onerror
3599
+ */
3600
+ onError?: (event: Event) => void;
3601
+ /**
3602
+ * Adjusts the size the product thumbnail image.
3603
+ *
3604
+ * @default 'base'
3605
+ */
3606
+ size?: SizeKeyword;
3607
+ }
3608
+ interface TooltipProps$1 extends GlobalProps {
3609
+ /**
3610
+ * The content of the Tooltip.
3611
+ */
3612
+ children?: ComponentChildren;
3613
+ }
3614
+ interface UnorderedListProps$1 extends GlobalProps {}
3615
+ interface URLFieldProps$1
3616
+ extends GlobalProps,
3617
+ BaseTextFieldProps,
3618
+ MinMaxLengthProps,
3619
+ AutocompleteProps<URLAutocompleteField> {}
3620
+ export type URLAutocompleteField = ExtractStrict<
3621
+ AnyAutocompleteField,
3622
+ 'url' | 'photo' | 'impp' | `${AutocompleteAddressGroup} impp`
3623
+ >;
3624
+ //
3625
+ // Preact Virtual DOM
3626
+ // -----------------------------------
3627
+ export interface VNode<P = {}> {
3628
+ type: ComponentType<P> | string;
3629
+ props: P & {
3630
+ children: ComponentChildren$1;
3631
+ };
3632
+ key: Key;
3633
+ /**
3634
+ * ref is not guaranteed by React.ReactElement, for compatibility reasons
3635
+ * with popular react libs we define it as optional too
3636
+ */
3637
+ ref?: Ref<any> | null;
3638
+ /**
3639
+ * The time this `vnode` started rendering. Will only be set when
3640
+ * the devtools are attached.
3641
+ * Default value: `0`
3642
+ */
3643
+ startTime?: number;
3644
+ /**
3645
+ * The time that the rendering of this `vnode` was completed. Will only be
3646
+ * set when the devtools are attached.
3647
+ * Default value: `-1`
3648
+ */
3649
+ endTime?: number;
3650
+ }
3651
+ //
3652
+ // Preact Component interface
3653
+ // -----------------------------------
3654
+ export type Key = string | number | any;
3655
+ export interface RefObject<T> {
3656
+ current: T | null;
3657
+ }
3658
+ export type RefCallback<T> = (instance: T | null) => void;
3659
+ export type Ref<T> = RefObject<T> | RefCallback<T> | null;
3660
+ export type ComponentChild =
3661
+ | VNode<any>
3662
+ | object
3663
+ | string
3664
+ | number
3665
+ | bigint
3666
+ | boolean
3667
+ | null
3668
+ | undefined;
3669
+ type ComponentChildren$1 = ComponentChild[] | ComponentChild;
3670
+ export interface Attributes {
3671
+ key?: Key | undefined;
3672
+ jsx?: boolean | undefined;
3673
+ }
3674
+ export interface ErrorInfo {
3675
+ componentStack?: string;
3676
+ }
3677
+ export type RenderableProps<P, RefType = any> = P &
3678
+ Readonly<
3679
+ Attributes & {
3680
+ children?: ComponentChildren$1;
3681
+ ref?: Ref<RefType>;
3682
+ }
3683
+ >;
3684
+ export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
3685
+ export interface FunctionComponent<P = {}> {
3686
+ (props: RenderableProps<P>, context?: any): ComponentChildren$1;
3687
+ displayName?: string;
3688
+ defaultProps?: Partial<P> | undefined;
3689
+ }
3690
+ export interface ComponentClass<P = {}, S = {}> {
3691
+ new (props: P, context?: any): Component<P, S>;
3692
+ displayName?: string;
3693
+ defaultProps?: Partial<P>;
3694
+ contextType?: Context<any>;
3695
+ getDerivedStateFromProps?(
3696
+ props: Readonly<P>,
3697
+ state: Readonly<S>,
3698
+ ): Partial<S> | null;
3699
+ getDerivedStateFromError?(error: any): Partial<S> | null;
3700
+ }
3701
+ export interface Component<P = {}, S = {}> {
3702
+ componentWillMount?(): void;
3703
+ componentDidMount?(): void;
3704
+ componentWillUnmount?(): void;
3705
+ getChildContext?(): object;
3706
+ componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
3707
+ shouldComponentUpdate?(
3708
+ nextProps: Readonly<P>,
3709
+ nextState: Readonly<S>,
3710
+ nextContext: any,
3711
+ ): boolean;
3712
+ componentWillUpdate?(
3713
+ nextProps: Readonly<P>,
3714
+ nextState: Readonly<S>,
3715
+ nextContext: any,
3716
+ ): void;
3717
+ getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
3718
+ componentDidUpdate?(
3719
+ previousProps: Readonly<P>,
3720
+ previousState: Readonly<S>,
3721
+ snapshot: any,
3722
+ ): void;
3723
+ componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
3724
+ }
3725
+ declare abstract class Component<P, S> {
3726
+ constructor(props?: P, context?: any);
3727
+ static displayName?: string;
3728
+ static defaultProps?: any;
3729
+ static contextType?: Context<any>;
3730
+ // Static members cannot reference class type parameters. This is not
3731
+ // supported in TypeScript. Reusing the same type arguments from `Component`
3732
+ // will lead to an impossible state where one cannot satisfy the type
3733
+ // constraint under no circumstances, see #1356.In general type arguments
3734
+ // seem to be a bit buggy and not supported well at the time of this
3735
+ // writing with TS 3.3.3333.
3736
+ static getDerivedStateFromProps?(
3737
+ props: Readonly<object>,
3738
+ state: Readonly<object>,
3739
+ ): object | null;
3740
+
3741
+ static getDerivedStateFromError?(error: any): object | null;
3742
+ state: Readonly<S>;
3743
+ props: RenderableProps<P>;
3744
+ context: any;
3745
+ base?: Element | Text;
3746
+ // From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
3747
+ // // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
3748
+ // // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
3749
+ setState<K extends keyof S>(
3750
+ state:
3751
+ | ((
3752
+ prevState: Readonly<S>,
3753
+ props: Readonly<P>,
3754
+ ) => Pick<S, K> | Partial<S> | null)
3755
+ | (Pick<S, K> | Partial<S> | null),
3756
+ callback?: () => void,
3757
+ ): void;
3758
+
3759
+ forceUpdate(callback?: () => void): void;
3760
+ abstract render(
3761
+ props?: RenderableProps<P>,
3762
+ state?: Readonly<S>,
3763
+ context?: any,
3764
+ ): ComponentChildren$1;
3765
+ }
3766
+ //
3767
+ // Context
3768
+ // -----------------------------------
3769
+ export interface Consumer<T>
3770
+ extends FunctionComponent<{
3771
+ children: (value: T) => ComponentChildren$1;
3772
+ }> {}
3773
+ export interface Provider<T>
3774
+ extends FunctionComponent<{
3775
+ value: T;
3776
+ children?: ComponentChildren$1;
3777
+ }> {}
3778
+ export interface Context<T> extends Provider<T> {
3779
+ Consumer: Consumer<T>;
3780
+ Provider: Provider<T>;
3781
+ displayName?: string;
3114
3782
  }
3115
- interface UnorderedListProps$1 extends GlobalProps {}
3116
- interface URLFieldProps$1
3117
- extends GlobalProps,
3118
- BaseTextFieldProps,
3119
- MinMaxLengthProps,
3120
- AutocompleteProps<URLAutocompleteField> {}
3121
- export type URLAutocompleteField = ExtractStrict<
3122
- AnyAutocompleteField,
3123
- 'url' | 'photo' | 'impp' | `${AutocompleteAddressGroup} impp`
3124
- >;
3125
3783
  type IconType$1 =
3126
3784
  | 'adjust'
3127
3785
  | 'affiliate'
@@ -3162,6 +3820,7 @@ type IconType$1 =
3162
3820
  | 'book-open'
3163
3821
  | 'bug'
3164
3822
  | 'bullet'
3823
+ | 'business-entity'
3165
3824
  | 'button'
3166
3825
  | 'button-press'
3167
3826
  | 'calculator'
@@ -3302,6 +3961,7 @@ type IconType$1 =
3302
3961
  | 'file'
3303
3962
  | 'file-list'
3304
3963
  | 'filter'
3964
+ | 'filter-active'
3305
3965
  | 'flag'
3306
3966
  | 'flip-horizontal'
3307
3967
  | 'flip-vertical'
@@ -3350,6 +4010,7 @@ type IconType$1 =
3350
4010
  | 'incoming'
3351
4011
  | 'incomplete'
3352
4012
  | 'info'
4013
+ | 'inheritance'
3353
4014
  | 'inventory'
3354
4015
  | 'inventory-updated'
3355
4016
  | 'iq'
@@ -3480,6 +4141,7 @@ type IconType$1 =
3480
4141
  | 'plus'
3481
4142
  | 'plus-circle'
3482
4143
  | 'plus-circle-down'
4144
+ | 'plus-circle-filled'
3483
4145
  | 'plus-circle-up'
3484
4146
  | 'point-of-sale'
3485
4147
  | 'price-list'
@@ -3520,6 +4182,7 @@ type IconType$1 =
3520
4182
  | 'sandbox'
3521
4183
  | 'save'
3522
4184
  | 'search'
4185
+ | 'search-add'
3523
4186
  | 'search-list'
3524
4187
  | 'search-recent'
3525
4188
  | 'search-resource'
@@ -3619,191 +4282,3 @@ type IconType$1 =
3619
4282
  | 'wrench'
3620
4283
  | 'x'
3621
4284
  | 'x-circle';
3622
- //
3623
- // Preact Virtual DOM
3624
- // -----------------------------------
3625
- export interface VNode<P = {}> {
3626
- type: ComponentType<P> | string;
3627
- props: P & {
3628
- children: ComponentChildren$1;
3629
- };
3630
- key: Key;
3631
- /**
3632
- * ref is not guaranteed by React.ReactElement, for compatibility reasons
3633
- * with popular react libs we define it as optional too
3634
- */
3635
- ref?: Ref<any> | null;
3636
- /**
3637
- * The time this `vnode` started rendering. Will only be set when
3638
- * the devtools are attached.
3639
- * Default value: `0`
3640
- */
3641
- startTime?: number;
3642
- /**
3643
- * The time that the rendering of this `vnode` was completed. Will only be
3644
- * set when the devtools are attached.
3645
- * Default value: `-1`
3646
- */
3647
- endTime?: number;
3648
- }
3649
- //
3650
- // Preact Component interface
3651
- // -----------------------------------
3652
- export type Key = string | number | any;
3653
- export interface RefObject<T> {
3654
- current: T | null;
3655
- }
3656
- export type RefCallback<T> = (instance: T | null) => void;
3657
- export type Ref<T> = RefObject<T> | RefCallback<T> | null;
3658
- export type ComponentChild =
3659
- | VNode<any>
3660
- | object
3661
- | string
3662
- | number
3663
- | bigint
3664
- | boolean
3665
- | null
3666
- | undefined;
3667
- type ComponentChildren$1 = ComponentChild[] | ComponentChild;
3668
- export interface Attributes {
3669
- key?: Key | undefined;
3670
- jsx?: boolean | undefined;
3671
- }
3672
- export interface ErrorInfo {
3673
- componentStack?: string;
3674
- }
3675
- export type RenderableProps<P, RefType = any> = P &
3676
- Readonly<
3677
- Attributes & {
3678
- children?: ComponentChildren$1;
3679
- ref?: Ref<RefType>;
3680
- }
3681
- >;
3682
- export type ComponentType<P = {}> = ComponentClass<P> | FunctionComponent<P>;
3683
- export interface FunctionComponent<P = {}> {
3684
- (props: RenderableProps<P>, context?: any): ComponentChildren$1;
3685
- displayName?: string;
3686
- defaultProps?: Partial<P> | undefined;
3687
- }
3688
- export interface ComponentClass<P = {}, S = {}> {
3689
- new (props: P, context?: any): Component<P, S>;
3690
- displayName?: string;
3691
- defaultProps?: Partial<P>;
3692
- contextType?: Context<any>;
3693
- getDerivedStateFromProps?(
3694
- props: Readonly<P>,
3695
- state: Readonly<S>,
3696
- ): Partial<S> | null;
3697
- getDerivedStateFromError?(error: any): Partial<S> | null;
3698
- }
3699
- export interface Component<P = {}, S = {}> {
3700
- componentWillMount?(): void;
3701
- componentDidMount?(): void;
3702
- componentWillUnmount?(): void;
3703
- getChildContext?(): object;
3704
- componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void;
3705
- shouldComponentUpdate?(
3706
- nextProps: Readonly<P>,
3707
- nextState: Readonly<S>,
3708
- nextContext: any,
3709
- ): boolean;
3710
- componentWillUpdate?(
3711
- nextProps: Readonly<P>,
3712
- nextState: Readonly<S>,
3713
- nextContext: any,
3714
- ): void;
3715
- getSnapshotBeforeUpdate?(oldProps: Readonly<P>, oldState: Readonly<S>): any;
3716
- componentDidUpdate?(
3717
- previousProps: Readonly<P>,
3718
- previousState: Readonly<S>,
3719
- snapshot: any,
3720
- ): void;
3721
- componentDidCatch?(error: any, errorInfo: ErrorInfo): void;
3722
- }
3723
- declare abstract class Component<P, S> {
3724
- constructor(props?: P, context?: any);
3725
- static displayName?: string;
3726
- static defaultProps?: any;
3727
- static contextType?: Context<any>;
3728
- // Static members cannot reference class type parameters. This is not
3729
- // supported in TypeScript. Reusing the same type arguments from `Component`
3730
- // will lead to an impossible state where one cannot satisfy the type
3731
- // constraint under no circumstances, see #1356.In general type arguments
3732
- // seem to be a bit buggy and not supported well at the time of this
3733
- // writing with TS 3.3.3333.
3734
- static getDerivedStateFromProps?(
3735
- props: Readonly<object>,
3736
- state: Readonly<object>,
3737
- ): object | null;
3738
-
3739
- static getDerivedStateFromError?(error: any): object | null;
3740
- state: Readonly<S>;
3741
- props: RenderableProps<P>;
3742
- context: any;
3743
- base?: Element | Text;
3744
- // From https://github.com/DefinitelyTyped/DefinitelyTyped/blob/e836acc75a78cf0655b5dfdbe81d69fdd4d8a252/types/react/index.d.ts#L402
3745
- // // We MUST keep setState() as a unified signature because it allows proper checking of the method return type.
3746
- // // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/18365#issuecomment-351013257
3747
- setState<K extends keyof S>(
3748
- state:
3749
- | ((
3750
- prevState: Readonly<S>,
3751
- props: Readonly<P>,
3752
- ) => Pick<S, K> | Partial<S> | null)
3753
- | (Pick<S, K> | Partial<S> | null),
3754
- callback?: () => void,
3755
- ): void;
3756
-
3757
- forceUpdate(callback?: () => void): void;
3758
- abstract render(
3759
- props?: RenderableProps<P>,
3760
- state?: Readonly<S>,
3761
- context?: any,
3762
- ): ComponentChildren$1;
3763
- }
3764
- //
3765
- // Context
3766
- // -----------------------------------
3767
- export interface Consumer<T>
3768
- extends FunctionComponent<{
3769
- children: (value: T) => ComponentChildren$1;
3770
- }> {}
3771
- export interface Provider<T>
3772
- extends FunctionComponent<{
3773
- value: T;
3774
- children?: ComponentChildren$1;
3775
- }> {}
3776
- export interface Context<T> extends Provider<T> {
3777
- Consumer: Consumer<T>;
3778
- Provider: Provider<T>;
3779
- displayName?: string;
3780
- }
3781
- interface AdminActionProps$1 extends GlobalProps, ActionProps, ActionSlots {
3782
- /**
3783
- * Whether the action is in a loading state, such as initial page load or action opening.
3784
- * When true, the action could be in an inert state, which prevents user interaction.
3785
- *
3786
- * @default false
3787
- */
3788
- loading?: boolean;
3789
- }
3790
- interface AdminBlockProps$1 extends GlobalProps {
3791
- /**
3792
- * The text to use as the Block title in the block header. If not provided, the name of the
3793
- * extension will be used.
3794
- */
3795
- heading?: string;
3796
- /**
3797
- * The summary to display when the app block is collapsed.
3798
- * Summary longer than 30 characters will be truncated.
3799
- */
3800
- collapsedSummary?: string;
3801
- }
3802
- interface AdminPrintActionProps$1 extends GlobalProps {
3803
- /**
3804
- * Sets the src URL of the preview and the document to print.
3805
- * If not provided, the preview will show an empty state and the print button will be disabled.
3806
- * HTML, PDFs and images are supported.
3807
- */
3808
- src?: string;
3809
- }