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

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 (1189) hide show
  1. package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
  2. package/build/cjs/surfaces/checkout/shared.js +22 -0
  3. package/build/cjs/surfaces/checkout.js +2 -0
  4. package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
  5. package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
  6. package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
  7. package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
  8. package/build/cjs/surfaces/point-of-sale.js +9 -0
  9. package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
  10. package/build/esm/surfaces/checkout/shared.mjs +18 -0
  11. package/build/esm/surfaces/checkout.mjs +1 -0
  12. package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
  13. package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
  14. package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
  15. package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
  16. package/build/esm/surfaces/point-of-sale.mjs +1 -0
  17. package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
  18. package/build/esnext/surfaces/checkout/shared.esnext +18 -0
  19. package/build/esnext/surfaces/checkout.esnext +1 -0
  20. package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
  21. package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
  22. package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
  23. package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
  24. package/build/esnext/surfaces/point-of-sale.esnext +1 -0
  25. package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
  26. package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
  27. package/build/ts/docs/shared/components/Badge.d.ts +1 -1
  28. package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
  29. package/build/ts/docs/shared/components/Banner.d.ts +1 -1
  30. package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
  31. package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
  32. package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
  33. package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
  34. package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
  35. package/build/ts/docs/shared/components/Chip.d.ts +4 -0
  36. package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
  37. package/build/ts/docs/shared/components/Choice.d.ts +1 -1
  38. package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
  39. package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
  40. package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
  41. package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
  42. package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
  43. package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
  44. package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
  45. package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
  46. package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
  47. package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
  48. package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
  49. package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
  50. package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
  51. package/build/ts/docs/shared/components/Divider.d.ts +1 -1
  52. package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
  53. package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
  54. package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
  55. package/build/ts/docs/shared/components/Grid.d.ts +1 -1
  56. package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
  57. package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
  58. package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
  59. package/build/ts/docs/shared/components/Map.d.ts +4 -0
  60. package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
  61. package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
  62. package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
  63. package/build/ts/docs/shared/components/Menu.d.ts +4 -0
  64. package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
  65. package/build/ts/docs/shared/components/Modal.d.ts +4 -0
  66. package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
  67. package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
  68. package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
  69. package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
  70. package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
  71. package/build/ts/docs/shared/components/Option.d.ts +4 -0
  72. package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
  73. package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
  74. package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
  75. package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
  76. package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
  77. package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
  78. package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
  79. package/build/ts/docs/shared/components/Popover.d.ts +4 -0
  80. package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
  81. package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
  82. package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
  83. package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
  84. package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
  85. package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
  86. package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
  87. package/build/ts/docs/shared/components/Section.d.ts +1 -1
  88. package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
  89. package/build/ts/docs/shared/components/Select.d.ts +1 -1
  90. package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
  91. package/build/ts/docs/shared/components/Switch.d.ts +1 -1
  92. package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
  93. package/build/ts/docs/shared/components/Table.d.ts +1 -1
  94. package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
  95. package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
  96. package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
  97. package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
  98. package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
  99. package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
  100. package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
  101. package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
  102. package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
  103. package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
  104. package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
  105. package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
  106. package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
  107. package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
  108. package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
  109. package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
  110. package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
  111. package/build/ts/docs/shared/components/URLField.d.ts +1 -1
  112. package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
  113. package/build/ts/docs/shared/docs-type.d.ts +3 -2
  114. package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
  115. package/build/ts/shared.d.ts +23 -0
  116. package/build/ts/shared.d.ts.map +1 -1
  117. package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
  118. package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
  119. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  120. package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
  121. package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
  122. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  123. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
  124. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  125. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  126. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
  127. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
  128. package/build/ts/surfaces/admin/components/Avatar.d.ts +133 -0
  129. package/build/ts/surfaces/admin/components/Badge.d.ts +21 -7
  130. package/build/ts/surfaces/admin/components/Banner.d.ts +21 -16
  131. package/build/ts/surfaces/admin/components/Box.d.ts +35 -26
  132. package/build/ts/surfaces/admin/components/Button.d.ts +34 -20
  133. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
  134. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
  135. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +117 -0
  136. package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -12
  137. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
  138. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
  139. package/build/ts/surfaces/admin/components/Chip.d.ts +120 -0
  140. package/build/ts/surfaces/admin/components/Choice.d.ts +39 -9
  141. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  142. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +21 -16
  143. package/build/ts/surfaces/admin/components/Clickable.d.ts +49 -39
  144. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
  145. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
  146. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +151 -0
  147. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
  148. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
  149. package/build/ts/surfaces/admin/components/ColorField.d.ts +238 -0
  150. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
  151. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
  152. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +132 -0
  153. package/build/ts/surfaces/admin/components/DatePicker.d.ts +18 -35
  154. package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
  155. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
  156. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
  157. package/build/ts/surfaces/admin/components/DropZone.d.ts +160 -0
  158. package/build/ts/surfaces/admin/components/EmailField.d.ts +15 -15
  159. package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
  160. package/build/ts/surfaces/admin/components/Form.d.ts +43 -35
  161. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
  162. package/build/ts/surfaces/admin/components/Grid.d.ts +42 -33
  163. package/build/ts/surfaces/admin/components/GridItem.d.ts +36 -26
  164. package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
  165. package/build/ts/surfaces/admin/components/Icon.d.ts +17 -6
  166. package/build/ts/surfaces/admin/components/Image.d.ts +34 -42
  167. package/build/ts/surfaces/admin/components/Link.d.ts +35 -29
  168. package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
  169. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
  170. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
  171. package/build/ts/surfaces/admin/components/Menu.d.ts +133 -0
  172. package/build/ts/surfaces/admin/components/MoneyField.d.ts +16 -18
  173. package/build/ts/surfaces/admin/components/NumberField.d.ts +15 -15
  174. package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
  175. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
  176. package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
  177. package/build/ts/surfaces/admin/components/Page.d.ts +38 -6
  178. package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
  179. package/build/ts/surfaces/admin/components/PasswordField.d.ts +15 -15
  180. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
  181. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
  182. package/build/ts/surfaces/admin/components/Popover.d.ts +379 -0
  183. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  184. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  185. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
  186. package/build/ts/surfaces/admin/components/SearchField.d.ts +18 -16
  187. package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
  188. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  189. package/build/ts/surfaces/admin/components/Select.d.ts +20 -16
  190. package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
  191. package/build/ts/surfaces/admin/components/Stack.d.ts +53 -43
  192. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  193. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  194. package/build/ts/surfaces/admin/components/Switch.d.ts +16 -12
  195. package/build/ts/surfaces/admin/components/Table.d.ts +27 -16
  196. package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
  197. package/build/ts/surfaces/admin/components/TableCell.d.ts +34 -7
  198. package/build/ts/surfaces/admin/components/TableHeader.d.ts +24 -6
  199. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
  200. package/build/ts/surfaces/admin/components/TableRow.d.ts +21 -7
  201. package/build/ts/surfaces/admin/components/Text.d.ts +19 -6
  202. package/build/ts/surfaces/admin/components/TextArea.d.ts +15 -15
  203. package/build/ts/surfaces/admin/components/TextField.d.ts +17 -15
  204. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
  205. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
  206. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +127 -0
  207. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
  208. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
  209. package/build/ts/surfaces/admin/components/Tooltip.d.ts +141 -0
  210. package/build/ts/surfaces/admin/components/URLField.d.ts +15 -15
  211. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
  212. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
  213. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
  214. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
  215. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
  216. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
  217. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
  218. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
  219. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
  220. package/build/ts/surfaces/admin/components/shared.d.ts +953 -597
  221. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +50 -3083
  222. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
  223. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +51 -3125
  224. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +50 -3083
  225. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
  226. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +51 -3125
  227. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +50 -3083
  228. package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
  229. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +51 -3125
  230. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +50 -3083
  231. package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
  232. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +50 -3083
  233. package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
  234. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +51 -3125
  235. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +51 -3125
  236. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +50 -3083
  237. package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
  238. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +51 -3125
  239. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +50 -3083
  240. package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
  241. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +50 -3083
  242. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
  243. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +50 -3083
  244. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
  245. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +49 -3032
  246. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +50 -3083
  247. package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
  248. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +51 -3125
  249. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +50 -3083
  250. package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
  251. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +50 -3083
  252. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
  253. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +51 -3125
  254. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +50 -3083
  255. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
  256. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +50 -3083
  257. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
  258. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +50 -3083
  259. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
  260. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +51 -3125
  261. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +50 -3083
  262. package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
  263. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +51 -3125
  264. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +50 -3072
  265. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
  266. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +50 -3083
  267. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
  268. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +50 -3083
  269. package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
  270. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +50 -3083
  271. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
  272. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +50 -3072
  273. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
  274. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +50 -3083
  275. package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
  276. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +51 -3125
  277. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +51 -3125
  278. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +50 -3072
  279. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
  280. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +51 -3125
  281. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +50 -3083
  282. package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
  283. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +50 -3083
  284. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
  285. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +50 -3072
  286. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
  287. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +50 -3083
  288. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +50 -3083
  289. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
  290. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +51 -3125
  291. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +51 -3125
  292. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +50 -3083
  293. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +49 -3032
  294. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +49 -3032
  295. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +49 -3032
  296. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
  297. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  298. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +18 -2
  299. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  300. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +1 -1
  301. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
  302. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
  303. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  304. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +1 -1
  305. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
  306. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +1 -1
  307. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
  308. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +1 -1
  309. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
  310. package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
  311. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  312. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
  313. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  314. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +1 -1
  315. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  316. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +21 -3
  317. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  318. package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
  319. package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +21 -9
  320. package/build/ts/surfaces/checkout/components/Badge.d.ts +56 -0
  321. package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
  322. package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
  323. package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
  324. package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
  325. package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
  326. package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
  327. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
  328. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
  329. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
  330. package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
  331. package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
  332. package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
  333. package/build/ts/surfaces/checkout/components/Details.d.ts +72 -0
  334. package/build/ts/surfaces/checkout/components/Divider.d.ts +31 -0
  335. package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
  336. package/build/ts/surfaces/checkout/components/DropZone.d.ts +39 -9
  337. package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
  338. package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
  339. package/build/ts/surfaces/checkout/components/EmailField.d.ts +85 -0
  340. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
  341. package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
  342. package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
  343. package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
  344. package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
  345. package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
  346. package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
  347. package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
  348. package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
  349. package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
  350. package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
  351. package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
  352. package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
  353. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
  354. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
  355. package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
  356. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +77 -0
  357. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
  358. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
  359. package/build/ts/surfaces/checkout/components/Modal.d.ts +90 -0
  360. package/build/ts/surfaces/checkout/components/NumberField.d.ts +85 -0
  361. package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
  362. package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  363. package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
  364. package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
  365. package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
  366. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +84 -0
  367. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
  368. package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
  369. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
  370. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
  371. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +100 -0
  372. package/build/ts/surfaces/checkout/components/Popover.d.ts +68 -0
  373. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
  374. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
  375. package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
  376. package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
  377. package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
  378. package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
  379. package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
  380. package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
  381. package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
  382. package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
  383. package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
  384. package/build/ts/surfaces/checkout/components/Sheet.d.ts +94 -0
  385. package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
  386. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
  387. package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
  388. package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
  389. package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
  390. package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
  391. package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
  392. package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
  393. package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
  394. package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
  395. package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
  396. package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
  397. package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
  398. package/build/ts/surfaces/checkout/components/TextField.d.ts +88 -21
  399. package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
  400. package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
  401. package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  402. package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
  403. package/build/ts/surfaces/checkout/components/UrlField.d.ts +84 -0
  404. package/build/ts/surfaces/checkout/components/components-shared.d.ts +853 -85
  405. package/build/ts/surfaces/checkout/components/components.d.ts +1683 -244
  406. package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
  407. package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
  408. package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
  409. package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
  410. package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -1
  411. package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
  412. package/build/ts/surfaces/checkout/shared.d.ts +8 -3
  413. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  414. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +49 -549
  415. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +49 -549
  416. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +49 -549
  417. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +49 -549
  418. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +49 -549
  419. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +49 -549
  420. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +49 -549
  421. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +49 -549
  422. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +47 -494
  423. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +47 -494
  424. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +47 -494
  425. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +49 -549
  426. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +49 -549
  427. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +49 -549
  428. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +49 -549
  429. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +49 -549
  430. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +49 -549
  431. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +49 -549
  432. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +49 -549
  433. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +49 -549
  434. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +49 -549
  435. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +49 -549
  436. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +49 -549
  437. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +49 -549
  438. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +49 -549
  439. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +49 -549
  440. package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
  441. package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
  442. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +49 -549
  443. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +49 -549
  444. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +49 -549
  445. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +49 -549
  446. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +49 -549
  447. package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
  448. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +49 -549
  449. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +49 -549
  450. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +49 -549
  451. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +49 -549
  452. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +47 -494
  453. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +49 -549
  454. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +49 -549
  455. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +49 -549
  456. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +49 -549
  457. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +47 -494
  458. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +49 -549
  459. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +49 -549
  460. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +49 -549
  461. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +49 -549
  462. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +49 -549
  463. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +49 -549
  464. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +49 -549
  465. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +49 -549
  466. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +49 -549
  467. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +49 -549
  468. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +49 -549
  469. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +49 -549
  470. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +54 -0
  471. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +49 -549
  472. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +49 -549
  473. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +49 -549
  474. package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
  475. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +49 -549
  476. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +49 -549
  477. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +49 -549
  478. package/build/ts/surfaces/checkout.d.ts +1 -1
  479. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  480. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
  481. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
  482. package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
  483. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  484. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
  485. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  486. package/build/ts/surfaces/customer-account/api/shared.d.ts +54 -31
  487. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  488. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +40 -21
  489. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  490. package/build/ts/surfaces/customer-account/api.d.ts +2 -2
  491. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  492. package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +21 -9
  493. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
  494. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
  495. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +92 -0
  496. package/build/ts/surfaces/customer-account/components/Badge.d.ts +56 -0
  497. package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
  498. package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
  499. package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
  500. package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
  501. package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
  502. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
  503. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +60 -0
  504. package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
  505. package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
  506. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
  507. package/build/ts/surfaces/customer-account/components/Details.d.ts +72 -0
  508. package/build/ts/surfaces/customer-account/components/Divider.d.ts +31 -0
  509. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +39 -9
  510. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +85 -0
  511. package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
  512. package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
  513. package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
  514. package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
  515. package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
  516. package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
  517. package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
  518. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
  519. package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
  520. package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
  521. package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
  522. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +77 -0
  523. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
  524. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
  525. package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
  526. package/build/ts/surfaces/customer-account/components/Modal.d.ts +90 -0
  527. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +85 -0
  528. package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
  529. package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
  530. package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
  531. package/build/ts/surfaces/customer-account/components/Page.d.ts +19 -6
  532. package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
  533. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +84 -0
  534. package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
  535. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +100 -0
  536. package/build/ts/surfaces/customer-account/components/Popover.d.ts +68 -0
  537. package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
  538. package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
  539. package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
  540. package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
  541. package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
  542. package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
  543. package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
  544. package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
  545. package/build/ts/surfaces/customer-account/components/Sheet.d.ts +94 -0
  546. package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
  547. package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
  548. package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
  549. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
  550. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
  551. package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
  552. package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
  553. package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
  554. package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
  555. package/build/ts/surfaces/customer-account/components/TextField.d.ts +88 -21
  556. package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
  557. package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
  558. package/build/ts/surfaces/customer-account/components/UrlField.d.ts +84 -0
  559. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +853 -85
  560. package/build/ts/surfaces/customer-account/components/components.d.ts +1683 -244
  561. package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
  562. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  563. package/build/ts/surfaces/customer-account/components/shared.ts +29 -5
  564. package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
  565. package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
  566. package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
  567. package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
  568. package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
  569. package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
  570. package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
  571. package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
  572. package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
  573. package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
  574. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +56 -640
  575. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +61 -0
  576. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +56 -640
  577. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +61 -0
  578. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +56 -640
  579. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +56 -640
  580. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +56 -640
  581. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +56 -640
  582. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +56 -640
  583. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +56 -640
  584. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +56 -640
  585. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +56 -640
  586. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +56 -640
  587. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +56 -640
  588. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +56 -640
  589. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +56 -640
  590. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +56 -640
  591. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +61 -0
  592. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +56 -640
  593. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +56 -640
  594. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +56 -640
  595. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +56 -640
  596. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +56 -640
  597. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +56 -640
  598. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
  599. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
  600. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +9 -0
  601. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
  602. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
  603. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
  604. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
  605. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
  606. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
  607. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
  608. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
  609. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
  610. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
  611. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
  612. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
  613. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
  614. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
  615. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
  616. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +41 -0
  617. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
  618. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
  619. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
  620. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
  621. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
  622. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
  623. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
  624. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
  625. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
  626. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
  627. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
  628. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
  629. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
  630. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
  631. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
  632. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
  633. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
  634. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
  635. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
  636. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
  637. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
  638. package/build/ts/surfaces/point-of-sale/api.d.ts +35 -0
  639. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
  640. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
  641. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
  642. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +52 -0
  643. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
  644. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
  645. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +60 -0
  646. package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
  647. package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
  648. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +64 -0
  649. package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
  650. package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
  651. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +67 -0
  652. package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -0
  653. package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  654. package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  655. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
  656. package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
  657. package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
  658. package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
  659. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
  660. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
  661. package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +71 -0
  662. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
  663. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  664. package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
  665. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
  666. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
  667. package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
  668. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
  669. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
  670. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
  671. package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
  672. package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
  673. package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +49 -0
  674. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
  675. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
  676. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +92 -0
  677. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
  678. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
  679. package/build/ts/surfaces/point-of-sale/components/Image.d.ts +64 -0
  680. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
  681. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
  682. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +70 -0
  683. package/build/ts/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
  684. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
  685. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
  686. package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
  687. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
  688. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
  689. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +62 -0
  690. package/build/ts/surfaces/point-of-sale/components/Screen.d.ts +91 -0
  691. package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
  692. package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
  693. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
  694. package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
  695. package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
  696. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
  697. package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
  698. package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
  699. package/build/ts/surfaces/point-of-sale/components/Section.d.ts +62 -0
  700. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
  701. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
  702. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +116 -0
  703. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
  704. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
  705. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +54 -0
  706. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
  707. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
  708. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
  709. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
  710. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
  711. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +78 -0
  712. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
  713. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
  714. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +98 -0
  715. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
  716. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
  717. package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
  718. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
  719. package/build/ts/surfaces/point-of-sale/components/shared.d.ts +76 -0
  720. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
  721. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
  722. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
  723. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
  724. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
  725. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
  726. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
  727. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
  728. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
  729. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
  730. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
  731. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
  732. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
  733. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
  734. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
  735. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
  736. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
  737. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
  738. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
  739. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
  740. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
  741. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
  742. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
  743. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
  744. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
  745. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
  746. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
  747. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
  748. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
  749. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
  750. package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
  751. package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
  752. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
  753. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
  754. package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
  755. package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
  756. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
  757. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
  758. package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +6 -0
  759. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +7 -0
  760. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +31 -0
  761. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +6 -0
  762. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +6 -0
  763. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +7 -0
  764. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +31 -0
  765. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +18 -0
  766. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +7 -0
  767. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +31 -0
  768. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +18 -0
  769. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +7 -0
  770. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +31 -0
  771. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +18 -0
  772. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +31 -0
  773. package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +7 -0
  774. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +7 -0
  775. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +31 -0
  776. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +18 -0
  777. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +7 -0
  778. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +31 -0
  779. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +18 -0
  780. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +7 -0
  781. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +31 -0
  782. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +18 -0
  783. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +7 -0
  784. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +7 -0
  785. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +7 -0
  786. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +31 -0
  787. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +18 -0
  788. package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +6 -0
  789. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
  790. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
  791. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +178 -0
  792. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
  793. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
  794. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
  795. package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
  796. package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
  797. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
  798. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
  799. package/build/ts/surfaces/point-of-sale/types/money.d.ts +5 -0
  800. package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
  801. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
  802. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
  803. package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
  804. package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
  805. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
  806. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
  807. package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
  808. package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
  809. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +55 -0
  810. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
  811. package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
  812. package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
  813. package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
  814. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
  815. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
  816. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
  817. package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
  818. package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
  819. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
  820. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
  821. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
  822. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
  823. package/build/ts/surfaces/point-of-sale.d.ts +5 -0
  824. package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
  825. package/build/tsconfig.tsbuildinfo +1 -1
  826. package/package.json +23 -2
  827. package/src/docs/shared/components/Avatar.ts +12 -0
  828. package/src/docs/shared/components/Badge.ts +1 -1
  829. package/src/docs/shared/components/Banner.ts +1 -1
  830. package/src/docs/shared/components/ButtonGroup.ts +11 -0
  831. package/src/docs/shared/components/Checkbox.ts +1 -1
  832. package/src/docs/shared/components/Chip.ts +12 -0
  833. package/src/docs/shared/components/Choice.ts +1 -1
  834. package/src/docs/shared/components/ChoiceList.ts +1 -1
  835. package/src/docs/shared/components/Clickable.ts +1 -1
  836. package/src/docs/shared/components/ClickableChip.ts +12 -0
  837. package/src/docs/shared/components/ColorField.ts +11 -0
  838. package/src/docs/shared/components/ColorPicker.ts +11 -0
  839. package/src/docs/shared/components/DatePicker.ts +1 -1
  840. package/src/docs/shared/components/Divider.ts +1 -1
  841. package/src/docs/shared/components/EmailField.ts +1 -1
  842. package/src/docs/shared/components/Grid.ts +1 -1
  843. package/src/docs/shared/components/GridItem.ts +1 -1
  844. package/src/docs/shared/components/Map.ts +12 -0
  845. package/src/docs/shared/components/MapMarker.ts +12 -0
  846. package/src/docs/shared/components/Menu.ts +12 -0
  847. package/src/docs/shared/components/Modal.ts +12 -0
  848. package/src/docs/shared/components/MoneyField.ts +1 -1
  849. package/src/docs/shared/components/NumberField.ts +1 -1
  850. package/src/docs/shared/components/Option.ts +12 -0
  851. package/src/docs/shared/components/OptionGroup.ts +12 -0
  852. package/src/docs/shared/components/Paragraph.ts +1 -1
  853. package/src/docs/shared/components/PasswordField.ts +1 -1
  854. package/src/docs/shared/components/PhoneField.ts +11 -0
  855. package/src/docs/shared/components/Popover.ts +12 -0
  856. package/src/docs/shared/components/ProductThumbnail.ts +11 -0
  857. package/src/docs/shared/components/QueryContainer.ts +12 -0
  858. package/src/docs/shared/components/SearchField.ts +1 -1
  859. package/src/docs/shared/components/Section.ts +1 -1
  860. package/src/docs/shared/components/Select.ts +1 -1
  861. package/src/docs/shared/components/Switch.ts +1 -1
  862. package/src/docs/shared/components/Table.ts +1 -1
  863. package/src/docs/shared/components/TableBody.ts +1 -1
  864. package/src/docs/shared/components/TableCell.ts +1 -1
  865. package/src/docs/shared/components/TableHeader.ts +1 -1
  866. package/src/docs/shared/components/TableHeaderRow.ts +1 -1
  867. package/src/docs/shared/components/TableRow.ts +1 -1
  868. package/src/docs/shared/components/TextArea.ts +1 -1
  869. package/src/docs/shared/components/Thumbnail.ts +12 -0
  870. package/src/docs/shared/components/Tooltip.ts +12 -0
  871. package/src/docs/shared/components/URLField.ts +1 -1
  872. package/src/docs/shared/docs-type.ts +6 -5
  873. package/src/shared.ts +25 -0
  874. package/src/surfaces/admin/api/standard/standard.ts +7 -1
  875. package/src/surfaces/admin/api/standard/storage.ts +110 -0
  876. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  877. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  878. package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
  879. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  880. package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
  881. package/src/surfaces/admin/components/Avatar.d.ts +133 -0
  882. package/src/surfaces/admin/components/Badge.d.ts +21 -7
  883. package/src/surfaces/admin/components/Banner.d.ts +21 -16
  884. package/src/surfaces/admin/components/Box.d.ts +35 -26
  885. package/src/surfaces/admin/components/Button.d.ts +34 -20
  886. package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
  887. package/src/surfaces/admin/components/ButtonGroup.d.ts +117 -0
  888. package/src/surfaces/admin/components/Checkbox.d.ts +22 -12
  889. package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
  890. package/src/surfaces/admin/components/Chip.d.ts +120 -0
  891. package/src/surfaces/admin/components/Choice.d.ts +39 -9
  892. package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
  893. package/src/surfaces/admin/components/ChoiceList.d.ts +21 -16
  894. package/src/surfaces/admin/components/Clickable.d.ts +49 -39
  895. package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
  896. package/src/surfaces/admin/components/ClickableChip.d.ts +151 -0
  897. package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
  898. package/src/surfaces/admin/components/ColorField.d.ts +238 -0
  899. package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
  900. package/src/surfaces/admin/components/ColorPicker.d.ts +132 -0
  901. package/src/surfaces/admin/components/DatePicker.d.ts +18 -35
  902. package/src/surfaces/admin/components/Divider.d.ts +12 -5
  903. package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
  904. package/src/surfaces/admin/components/DropZone.d.ts +160 -0
  905. package/src/surfaces/admin/components/EmailField.d.ts +15 -15
  906. package/src/surfaces/admin/components/Form.d.ts +43 -35
  907. package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
  908. package/src/surfaces/admin/components/Grid.d.ts +42 -33
  909. package/src/surfaces/admin/components/GridItem.d.ts +36 -26
  910. package/src/surfaces/admin/components/Heading.d.ts +17 -6
  911. package/src/surfaces/admin/components/Icon.d.ts +17 -6
  912. package/src/surfaces/admin/components/Image.d.ts +34 -42
  913. package/src/surfaces/admin/components/Link.d.ts +35 -29
  914. package/src/surfaces/admin/components/ListItem.d.ts +18 -6
  915. package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
  916. package/src/surfaces/admin/components/Menu.d.ts +133 -0
  917. package/src/surfaces/admin/components/MoneyField.d.ts +16 -18
  918. package/src/surfaces/admin/components/NumberField.d.ts +15 -15
  919. package/src/surfaces/admin/components/Option.d.ts +17 -5
  920. package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
  921. package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
  922. package/src/surfaces/admin/components/Page.d.ts +38 -6
  923. package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
  924. package/src/surfaces/admin/components/PasswordField.d.ts +15 -15
  925. package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
  926. package/src/surfaces/admin/components/Popover.d.ts +379 -0
  927. package/src/surfaces/admin/components/QueryContainer/examples/default.html +8 -0
  928. package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
  929. package/src/surfaces/admin/components/SearchField.d.ts +18 -16
  930. package/src/surfaces/admin/components/Section.d.ts +17 -6
  931. package/src/surfaces/admin/components/Select/examples/default.html +4 -0
  932. package/src/surfaces/admin/components/Select.d.ts +20 -16
  933. package/src/surfaces/admin/components/Spinner.d.ts +12 -2
  934. package/src/surfaces/admin/components/Stack.d.ts +53 -43
  935. package/src/surfaces/admin/components/StandardComponents.ts +8 -0
  936. package/src/surfaces/admin/components/Switch.d.ts +16 -12
  937. package/src/surfaces/admin/components/Table.d.ts +27 -16
  938. package/src/surfaces/admin/components/TableBody.d.ts +18 -6
  939. package/src/surfaces/admin/components/TableCell.d.ts +34 -7
  940. package/src/surfaces/admin/components/TableHeader.d.ts +24 -6
  941. package/src/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
  942. package/src/surfaces/admin/components/TableRow.d.ts +21 -7
  943. package/src/surfaces/admin/components/Text.d.ts +19 -6
  944. package/src/surfaces/admin/components/TextArea.d.ts +15 -15
  945. package/src/surfaces/admin/components/TextField.d.ts +17 -15
  946. package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
  947. package/src/surfaces/admin/components/Thumbnail.d.ts +127 -0
  948. package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
  949. package/src/surfaces/admin/components/Tooltip.d.ts +141 -0
  950. package/src/surfaces/admin/components/URLField.d.ts +15 -15
  951. package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
  952. package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
  953. package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
  954. package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
  955. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
  956. package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
  957. package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
  958. package/src/surfaces/admin/components/patterns/examples/settings.html +154 -0
  959. package/src/surfaces/admin/components/patterns/examples/settings.jsx +166 -0
  960. package/src/surfaces/admin/components/patterns/index.ab.doc.ts +79 -0
  961. package/src/surfaces/admin/components/shared.d.ts +953 -597
  962. package/src/surfaces/admin/components.d.ts +2962 -1505
  963. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -2
  964. package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
  965. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +1 -1
  966. package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
  967. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +1 -2
  968. package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +1 -1
  969. package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +1 -1
  970. package/src/surfaces/checkout/api/shared.ts +5 -0
  971. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -2
  972. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +1 -2
  973. package/src/surfaces/checkout/api/standard/standard.ts +23 -3
  974. package/src/surfaces/checkout/components/Abbreviation.d.ts +21 -9
  975. package/src/surfaces/checkout/components/Badge.d.ts +56 -0
  976. package/src/surfaces/checkout/components/Banner.d.ts +55 -13
  977. package/src/surfaces/checkout/components/Box.d.ts +20 -9
  978. package/src/surfaces/checkout/components/Button.d.ts +44 -13
  979. package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
  980. package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
  981. package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
  982. package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
  983. package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
  984. package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
  985. package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
  986. package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
  987. package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
  988. package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
  989. package/src/surfaces/checkout/components/Details.d.ts +72 -0
  990. package/src/surfaces/checkout/components/Divider.d.ts +31 -0
  991. package/src/surfaces/checkout/components/DropZone.d.ts +39 -9
  992. package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
  993. package/src/surfaces/checkout/components/EmailField.d.ts +85 -0
  994. package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
  995. package/src/surfaces/checkout/components/Form.d.ts +40 -12
  996. package/src/surfaces/checkout/components/Grid.d.ts +64 -0
  997. package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
  998. package/src/surfaces/checkout/components/Heading.d.ts +20 -8
  999. package/src/surfaces/checkout/components/Icon.d.ts +22 -9
  1000. package/src/surfaces/checkout/components/Image.d.ts +13 -7
  1001. package/src/surfaces/checkout/components/Link.d.ts +44 -13
  1002. package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
  1003. package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
  1004. package/src/surfaces/checkout/components/Map.d.ts +78 -0
  1005. package/src/surfaces/checkout/components/MapMarker.d.ts +77 -0
  1006. package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
  1007. package/src/surfaces/checkout/components/Modal.d.ts +90 -0
  1008. package/src/surfaces/checkout/components/NumberField.d.ts +85 -0
  1009. package/src/surfaces/checkout/components/Option.d.ts +46 -0
  1010. package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
  1011. package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
  1012. package/src/surfaces/checkout/components/PasswordField.d.ts +84 -0
  1013. package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
  1014. package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
  1015. package/src/surfaces/checkout/components/PhoneField.d.ts +100 -0
  1016. package/src/surfaces/checkout/components/Popover.d.ts +68 -0
  1017. package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
  1018. package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
  1019. package/src/surfaces/checkout/components/Progress.d.ts +14 -4
  1020. package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
  1021. package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
  1022. package/src/surfaces/checkout/components/Section.d.ts +20 -8
  1023. package/src/surfaces/checkout/components/Select.d.ts +79 -0
  1024. package/src/surfaces/checkout/components/Sheet.d.ts +94 -0
  1025. package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
  1026. package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
  1027. package/src/surfaces/checkout/components/Stack.d.ts +20 -9
  1028. package/src/surfaces/checkout/components/Summary.d.ts +35 -0
  1029. package/src/surfaces/checkout/components/Switch.d.ts +60 -0
  1030. package/src/surfaces/checkout/components/Text.d.ts +20 -8
  1031. package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
  1032. package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
  1033. package/src/surfaces/checkout/components/TextField.d.ts +88 -21
  1034. package/src/surfaces/checkout/components/Time.d.ts +21 -9
  1035. package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
  1036. package/src/surfaces/checkout/components/UrlField.d.ts +84 -0
  1037. package/src/surfaces/checkout/components/components-shared.d.ts +853 -85
  1038. package/src/surfaces/checkout/components/components.d.ts +1683 -244
  1039. package/src/surfaces/checkout/extension-targets.ts +8 -0
  1040. package/src/surfaces/checkout/preact/attributes.ts +2 -2
  1041. package/src/surfaces/checkout/preact/subscription.ts +2 -1
  1042. package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
  1043. package/src/surfaces/checkout/shared.ts +65 -28
  1044. package/src/surfaces/checkout.ts +1 -0
  1045. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
  1046. package/src/surfaces/customer-account/api/docs.ts +81 -26
  1047. package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
  1048. package/src/surfaces/customer-account/api/shared.ts +57 -29
  1049. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +44 -19
  1050. package/src/surfaces/customer-account/api.ts +8 -4
  1051. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +10 -0
  1052. package/src/surfaces/customer-account/components/Avatar.d.ts +92 -0
  1053. package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +22 -0
  1054. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
  1055. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +8 -7
  1056. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
  1057. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +6 -4
  1058. package/src/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
  1059. package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +24 -0
  1060. package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
  1061. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +10 -9
  1062. package/src/surfaces/customer-account/components/Page.d.ts +19 -6
  1063. package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +23 -0
  1064. package/src/surfaces/customer-account/components/Section.d.ts +46 -0
  1065. package/src/surfaces/customer-account/components/StandardComponents.ts +6 -2
  1066. package/src/surfaces/customer-account/components/shared.ts +29 -5
  1067. package/src/surfaces/customer-account/components.d.ts +124 -31
  1068. package/src/surfaces/customer-account/extension-targets.ts +15 -9
  1069. package/src/surfaces/customer-account/globals.ts +2 -4
  1070. package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
  1071. package/src/surfaces/customer-account/preact/navigation.ts +3 -10
  1072. package/src/surfaces/customer-account/preact/subscription.ts +7 -6
  1073. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
  1074. package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +9 -0
  1075. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
  1076. package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
  1077. package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
  1078. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
  1079. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
  1080. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
  1081. package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
  1082. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +45 -0
  1083. package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
  1084. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
  1085. package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
  1086. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
  1087. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
  1088. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
  1089. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
  1090. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
  1091. package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
  1092. package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
  1093. package/src/surfaces/point-of-sale/api.ts +133 -0
  1094. package/src/surfaces/point-of-sale/components/Badge/examples/default.html +7 -0
  1095. package/src/surfaces/point-of-sale/components/Badge.d.ts +52 -0
  1096. package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
  1097. package/src/surfaces/point-of-sale/components/Banner.d.ts +60 -0
  1098. package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
  1099. package/src/surfaces/point-of-sale/components/Box.d.ts +64 -0
  1100. package/src/surfaces/point-of-sale/components/Button/examples/default.html +4 -0
  1101. package/src/surfaces/point-of-sale/components/Button.d.ts +67 -0
  1102. package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
  1103. package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
  1104. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
  1105. package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
  1106. package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
  1107. package/src/surfaces/point-of-sale/components/DateField/examples/default.html +14 -0
  1108. package/src/surfaces/point-of-sale/components/DateField.d.ts +71 -0
  1109. package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +8 -0
  1110. package/src/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
  1111. package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +8 -0
  1112. package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
  1113. package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +12 -0
  1114. package/src/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
  1115. package/src/surfaces/point-of-sale/components/Heading/examples/default.html +8 -0
  1116. package/src/surfaces/point-of-sale/components/Heading.d.ts +49 -0
  1117. package/src/surfaces/point-of-sale/components/Icon/examples/default.html +1 -0
  1118. package/src/surfaces/point-of-sale/components/Icon.d.ts +92 -0
  1119. package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
  1120. package/src/surfaces/point-of-sale/components/Image.d.ts +64 -0
  1121. package/src/surfaces/point-of-sale/components/Modal/examples/default.html +9 -0
  1122. package/src/surfaces/point-of-sale/components/Modal.d.ts +70 -0
  1123. package/src/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
  1124. package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
  1125. package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
  1126. package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
  1127. package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
  1128. package/src/surfaces/point-of-sale/components/Screen.d.ts +91 -0
  1129. package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
  1130. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
  1131. package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
  1132. package/src/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
  1133. package/src/surfaces/point-of-sale/components/Section/examples/default.html +10 -0
  1134. package/src/surfaces/point-of-sale/components/Section.d.ts +62 -0
  1135. package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
  1136. package/src/surfaces/point-of-sale/components/Stack.d.ts +116 -0
  1137. package/src/surfaces/point-of-sale/components/Text/examples/default.html +6 -0
  1138. package/src/surfaces/point-of-sale/components/Text.d.ts +54 -0
  1139. package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +1 -0
  1140. package/src/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
  1141. package/src/surfaces/point-of-sale/components/TextField/examples/default.html +3 -0
  1142. package/src/surfaces/point-of-sale/components/TextField.d.ts +78 -0
  1143. package/src/surfaces/point-of-sale/components/Tile/examples/default.html +5 -0
  1144. package/src/surfaces/point-of-sale/components/Tile.d.ts +98 -0
  1145. package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +4 -0
  1146. package/src/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
  1147. package/src/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
  1148. package/src/surfaces/point-of-sale/components/shared.d.ts +76 -0
  1149. package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
  1150. package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
  1151. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
  1152. package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
  1153. package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
  1154. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
  1155. package/src/surfaces/point-of-sale/components.d.ts +5327 -0
  1156. package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
  1157. package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
  1158. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
  1159. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
  1160. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
  1161. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
  1162. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
  1163. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
  1164. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
  1165. package/src/surfaces/point-of-sale/event/data.ts +16 -0
  1166. package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
  1167. package/src/surfaces/point-of-sale/event/output.ts +1 -0
  1168. package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
  1169. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
  1170. package/src/surfaces/point-of-sale/types/cart.ts +188 -0
  1171. package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
  1172. package/src/surfaces/point-of-sale/types/device.ts +14 -0
  1173. package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
  1174. package/src/surfaces/point-of-sale/types/money.ts +4 -0
  1175. package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
  1176. package/src/surfaces/point-of-sale/types/order.ts +12 -0
  1177. package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
  1178. package/src/surfaces/point-of-sale/types/payment.ts +16 -0
  1179. package/src/surfaces/point-of-sale/types/pin-pad.ts +58 -0
  1180. package/src/surfaces/point-of-sale/types/product.ts +64 -0
  1181. package/src/surfaces/point-of-sale/types/session.ts +39 -0
  1182. package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
  1183. package/src/surfaces/point-of-sale/types/storage.ts +73 -0
  1184. package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
  1185. package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
  1186. package/src/surfaces/point-of-sale.ts +4 -0
  1187. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
  1188. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
  1189. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
@@ -0,0 +1,160 @@
1
+ /** VERSION: 1.10.0 **/
2
+ /* eslint-disable import/extensions */
3
+
4
+ /* eslint-disable @typescript-eslint/no-namespace */
5
+ /* eslint-disable @typescript-eslint/member-ordering */
6
+
7
+ // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
+ /// <reference lib="DOM" />
9
+ import type {DropZoneProps$1, ComponentChild} from './shared.d.ts';
10
+
11
+ export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
12
+ currentTarget: HTMLElementTagNameMap[T];
13
+ };
14
+ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
15
+ | (EventListener & {
16
+ (event: CallbackEvent<T>): void;
17
+ })
18
+ | null;
19
+
20
+ export interface DropZoneProps
21
+ extends Required<
22
+ Pick<
23
+ DropZoneProps$1,
24
+ | 'accept'
25
+ | 'accessibilityLabel'
26
+ | 'disabled'
27
+ | 'files'
28
+ | 'name'
29
+ | 'error'
30
+ | 'label'
31
+ | 'labelAccessibilityVisibility'
32
+ | 'multiple'
33
+ | 'required'
34
+ | 'value'
35
+ >
36
+ > {}
37
+
38
+ export type Styles = string;
39
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
40
+ ShadowRoot: (element: any) => ComponentChild;
41
+ styles?: Styles;
42
+ };
43
+ export interface ActivationEventEsque {
44
+ shiftKey: boolean;
45
+ metaKey: boolean;
46
+ ctrlKey: boolean;
47
+ button: number;
48
+ }
49
+ export interface ClickOptions {
50
+ /**
51
+ * The event you want to influence the synthetic click.
52
+ */
53
+ sourceEvent?: ActivationEventEsque;
54
+ }
55
+ /**
56
+ * Base class for creating custom elements with Preact.
57
+ * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
58
+ * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
59
+ */
60
+ declare const BaseClass$1: typeof globalThis.HTMLElement;
61
+ declare abstract class PreactCustomElement extends BaseClass$1 {
62
+ /** @private */
63
+ static get observedAttributes(): string[];
64
+ constructor({
65
+ styles,
66
+ ShadowRoot: renderFunction,
67
+ delegatesFocus,
68
+ ...options
69
+ }: RenderImpl);
70
+
71
+ /** @private */
72
+ setAttribute(name: string, value: string): void;
73
+ /** @private */
74
+ attributeChangedCallback(name: string): void;
75
+ /** @private */
76
+ connectedCallback(): void;
77
+ /** @private */
78
+ disconnectedCallback(): void;
79
+ /** @private */
80
+ adoptedCallback(): void;
81
+ /**
82
+ * Queue a run of the render function.
83
+ * You shouldn't need to call this manually - it should be handled by changes to @property values.
84
+ * @private
85
+ */
86
+ queueRender(): void;
87
+ /**
88
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
89
+ *
90
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
91
+ * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
92
+ * @private
93
+ * @param options
94
+ */
95
+ click({sourceEvent}?: ClickOptions): void;
96
+ }
97
+
98
+ declare const setFiles: unique symbol;
99
+
100
+ declare const internals: unique symbol;
101
+ declare const getFileInput: unique symbol;
102
+ declare class BaseClass extends PreactCustomElement {
103
+ static formAssociated: boolean;
104
+ constructor(renderImpl: RenderImpl);
105
+ /** @private */
106
+ [internals]: ElementInternals;
107
+ }
108
+ declare class DropZone extends BaseClass implements DropZoneProps {
109
+ accessor accept: DropZoneProps['accept'];
110
+ accessor accessibilityLabel: DropZoneProps['accessibilityLabel'];
111
+ accessor disabled: DropZoneProps['disabled'];
112
+ accessor error: DropZoneProps['error'];
113
+ accessor label: DropZoneProps['label'];
114
+ accessor labelAccessibilityVisibility: DropZoneProps['labelAccessibilityVisibility'];
115
+ accessor multiple: DropZoneProps['multiple'];
116
+ accessor name: DropZoneProps['name'];
117
+ accessor required: DropZoneProps['required'];
118
+ accessor onchange: CallbackEventListener<typeof tagName>;
119
+ accessor oninput: CallbackEventListener<typeof tagName>;
120
+ accessor ondroprejected: CallbackEventListener<typeof tagName>;
121
+ get value(): string;
122
+ set value(value: string);
123
+ get files(): File[];
124
+ set files(files: File[]);
125
+ /** @private */
126
+ [setFiles](files: File[]): void;
127
+ /** @private */
128
+ [getFileInput](): HTMLInputElement | null;
129
+ /** @private */
130
+ formResetCallback(): void;
131
+ constructor();
132
+ }
133
+ declare global {
134
+ interface HTMLElementTagNameMap {
135
+ [tagName]: DropZone;
136
+ }
137
+ }
138
+ declare module 'preact' {
139
+ namespace createElement.JSX {
140
+ interface IntrinsicElements {
141
+ [tagName]: Omit<
142
+ HTMLAttributes<HTMLElement>,
143
+ Extract<keyof HTMLAttributes<HTMLElement>, `on${Capitalize<string>}`>
144
+ > &
145
+ DropZoneJSXProps;
146
+ }
147
+ }
148
+ }
149
+
150
+ declare const tagName = 's-drop-zone';
151
+ export interface DropZoneJSXProps
152
+ extends Partial<DropZoneProps>,
153
+ Pick<DropZoneProps$1, 'id'> {
154
+ onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
155
+ onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
156
+ onDropRejected?: ((event: CallbackEvent<typeof tagName>) => void) | null;
157
+ }
158
+
159
+ export {DropZone};
160
+ export type {DropZoneJSXProps};
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.0.0 **/
1
+ /** VERSION: 1.10.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -72,18 +72,12 @@ declare abstract class PreactCustomElement extends BaseClass {
72
72
  click({sourceEvent}?: ClickOptions): void;
73
73
  }
74
74
 
75
- export type CallbackEvent<
76
- TTagName extends keyof HTMLElementTagNameMap,
77
- TEvent extends Event = Event,
78
- > = TEvent & {
79
- currentTarget: HTMLElementTagNameMap[TTagName];
75
+ export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
76
+ currentTarget: HTMLElementTagNameMap[T];
80
77
  };
81
- export type CallbackEventListener<
82
- TTagName extends keyof HTMLElementTagNameMap,
83
- TEvent extends Event = Event,
84
- > =
78
+ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
85
79
  | (EventListener & {
86
- (event: CallbackEvent<TTagName, TEvent>): void;
80
+ (event: CallbackEvent<T>): void;
87
81
  })
88
82
  | null;
89
83
  export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
@@ -92,6 +86,15 @@ export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
92
86
  onFocus?: ((event: CallbackEvent<T>) => void) | null;
93
87
  onBlur?: ((event: CallbackEvent<T>) => void) | null;
94
88
  }
89
+ /** Used when an element does not have children. */
90
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
91
+ /** Assigns a unique key to this element. */
92
+ key?: preact.Key;
93
+ /** Assigns a ref (generally from `useRef()`) to this element. */
94
+ ref?: preact.Ref<TClass>;
95
+ /** Assigns this element to a parent's slot. */
96
+ slot?: Lowercase<string>;
97
+ }
95
98
 
96
99
  declare const internals: unique symbol;
97
100
  export type PreactInputProps = Required<
@@ -213,12 +216,9 @@ declare global {
213
216
  }
214
217
  }
215
218
  declare module 'preact' {
216
- interface BaseProps {
217
- slot?: Lowercase<string>;
218
- }
219
219
  namespace createElement.JSX {
220
220
  interface IntrinsicElements {
221
- [tagName]: EmailFieldJSXProps & BaseProps;
221
+ [tagName]: EmailFieldJSXProps & PreactBaseElementProps<EmailField>;
222
222
  }
223
223
  }
224
224
  }
@@ -1,11 +1,45 @@
1
- /** VERSION: 1.0.0 **/
1
+ /** VERSION: 1.10.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
5
5
 
6
6
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
7
7
  /// <reference lib="DOM" />
8
- import type {ComponentChild} from './shared.d.ts';
8
+ import type {ExtendableEvent, FormProps$1, ComponentChild} from './shared.d.ts';
9
+
10
+ export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
11
+ currentTarget: HTMLElementTagNameMap[T];
12
+ };
13
+ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
14
+ | (EventListener & {
15
+ (event: CallbackEvent<T>): void;
16
+ })
17
+ | null;
18
+ export interface CallbackExtendableEvent<
19
+ TTagName extends keyof HTMLElementTagNameMap,
20
+ > extends CallbackEvent<TTagName>,
21
+ Pick<ExtendableEvent, 'waitUntil'> {}
22
+ export type CallbackExtendableEventListener<
23
+ TTagName extends keyof HTMLElementTagNameMap,
24
+ > =
25
+ | (EventListener & {
26
+ (event: CallbackExtendableEvent<TTagName>): void;
27
+ })
28
+ | null;
29
+
30
+ export interface FormProps extends Pick<FormProps$1, 'id'> {}
31
+
32
+ declare const tagName = 's-form';
33
+ export interface FormJSXProps extends Partial<FormProps> {
34
+ /**
35
+ * A callback that is run when the form is submitted.
36
+ */
37
+ onSubmit?: ((event: CallbackExtendableEvent<typeof tagName>) => void) | null;
38
+ /**
39
+ * A callback that is run when the form is reset.
40
+ */
41
+ onReset?: ((event: CallbackEvent<typeof tagName>) => void) | null;
42
+ }
9
43
 
10
44
  export type Styles = string;
11
45
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
@@ -67,25 +101,15 @@ declare abstract class PreactCustomElement extends BaseClass {
67
101
  click({sourceEvent}?: ClickOptions): void;
68
102
  }
69
103
 
70
- export type CallbackEvent<
71
- TTagName extends keyof HTMLElementTagNameMap,
72
- TEvent extends Event = Event,
73
- > = TEvent & {
74
- currentTarget: HTMLElementTagNameMap[TTagName];
75
- };
76
- export type CallbackEventListener<
77
- TTagName extends keyof HTMLElementTagNameMap,
78
- TEvent extends Event = Event,
79
- > =
80
- | (EventListener & {
81
- (event: CallbackEvent<TTagName, TEvent>): void;
82
- })
83
- | null;
84
-
85
- export interface FormProps {}
86
104
  declare class Form extends PreactCustomElement implements FormProps {
87
105
  constructor();
88
- accessor onsubmit: ((event: ExtendableEvent) => void) | null;
106
+ /**
107
+ * A callback that is run when the form is submitted.
108
+ */
109
+ accessor onsubmit: CallbackExtendableEventListener<typeof tagName> | null;
110
+ /**
111
+ * A callback that is run when the form is reset.
112
+ */
89
113
  accessor onreset: CallbackEventListener<typeof tagName> | null;
90
114
  }
91
115
  declare global {
@@ -103,21 +127,5 @@ declare module 'preact' {
103
127
  }
104
128
  }
105
129
 
106
- declare const tagName = 's-form';
107
- export interface ExtendableEvent extends CallbackEvent<typeof tagName> {
108
- waitUntil(f: Promise<unknown>): void;
109
- }
110
- export interface FormJSXProps extends Partial<FormProps> {
111
- id?: string;
112
- /**
113
- * A callback that is run when the form is submitted.
114
- */
115
- onSubmit?: ((event: ExtendableEvent) => void) | null;
116
- /**
117
- * A callback that is run when the form is reset.
118
- */
119
- onReset?: ((event: CallbackEvent<typeof tagName>) => void) | null;
120
- }
121
-
122
130
  export {Form};
123
131
  export type {FormJSXProps};
@@ -0,0 +1,183 @@
1
+ /** VERSION: 1.10.0 **/
2
+ /* eslint-disable import/extensions */
3
+
4
+ /* eslint-disable @typescript-eslint/no-namespace */
5
+
6
+ // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
7
+ /// <reference lib="DOM" />
8
+ import type {
9
+ FunctionSettingsProps$1,
10
+ ExtendableEvent,
11
+ ComponentChild,
12
+ } from './shared.d.ts';
13
+
14
+ export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
15
+ currentTarget: HTMLElementTagNameMap[T];
16
+ };
17
+ export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
18
+ | (EventListener & {
19
+ (event: CallbackEvent<T>): void;
20
+ })
21
+ | null;
22
+ export type CallbackErrorEventListener<
23
+ TTagName extends keyof HTMLElementTagNameMap,
24
+ TError extends Error = Error,
25
+ > =
26
+ | (EventListener & {
27
+ (
28
+ event: CallbackEvent<TTagName> & {
29
+ error: TError;
30
+ },
31
+ ): void;
32
+ })
33
+ | null;
34
+ export interface CallbackExtendableEvent<
35
+ TTagName extends keyof HTMLElementTagNameMap,
36
+ > extends CallbackEvent<TTagName>,
37
+ Pick<ExtendableEvent, 'waitUntil'> {}
38
+ export type CallbackExtendableEventListener<
39
+ TTagName extends keyof HTMLElementTagNameMap,
40
+ > =
41
+ | (EventListener & {
42
+ (event: CallbackExtendableEvent<TTagName>): void;
43
+ })
44
+ | null;
45
+
46
+ export interface FunctionSettingsProps
47
+ extends Pick<FunctionSettingsProps$1, 'id'> {}
48
+
49
+ declare const tagName = 's-function-settings';
50
+ export interface FunctionSettingsJSXProps
51
+ extends Partial<
52
+ FunctionSettingsProps & Pick<FunctionSettingsProps$1, 'onError'>
53
+ > {
54
+ /**
55
+ * An optional callback function that will be run by the admin when the user
56
+ * commits their changes in the admin-rendered part of the function settings
57
+ * experience. If `event.waitUntil` is called with a promise, the admin will wait for the
58
+ * promise to resolve before committing any changes to Shopify’s servers. If
59
+ * the promise rejects, the admin will abort the changes and display an error,
60
+ * using the `message` property of the error you reject with.
61
+ */
62
+ onSubmit?: ((event: CallbackExtendableEvent<typeof tagName>) => void) | null;
63
+ /**
64
+ * A callback that is run when the function settings form is reset.
65
+ */
66
+ onReset?: ((event: CallbackEvent<typeof tagName>) => void) | null;
67
+ }
68
+
69
+ export type Styles = string;
70
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
71
+ ShadowRoot: (element: any) => ComponentChild;
72
+ styles?: Styles;
73
+ };
74
+ export interface ActivationEventEsque {
75
+ shiftKey: boolean;
76
+ metaKey: boolean;
77
+ ctrlKey: boolean;
78
+ button: number;
79
+ }
80
+ export interface ClickOptions {
81
+ /**
82
+ * The event you want to influence the synthetic click.
83
+ */
84
+ sourceEvent?: ActivationEventEsque;
85
+ }
86
+ /**
87
+ * Base class for creating custom elements with Preact.
88
+ * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
89
+ * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
90
+ */
91
+ declare const BaseClass: typeof globalThis.HTMLElement;
92
+ declare abstract class PreactCustomElement extends BaseClass {
93
+ /** @private */
94
+ static get observedAttributes(): string[];
95
+ constructor({
96
+ styles,
97
+ ShadowRoot: renderFunction,
98
+ delegatesFocus,
99
+ ...options
100
+ }: RenderImpl);
101
+
102
+ /** @private */
103
+ setAttribute(name: string, value: string): void;
104
+ /** @private */
105
+ attributeChangedCallback(name: string): void;
106
+ /** @private */
107
+ connectedCallback(): void;
108
+ /** @private */
109
+ disconnectedCallback(): void;
110
+ /** @private */
111
+ adoptedCallback(): void;
112
+ /**
113
+ * Queue a run of the render function.
114
+ * You shouldn't need to call this manually - it should be handled by changes to @property values.
115
+ * @private
116
+ */
117
+ queueRender(): void;
118
+ /**
119
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
120
+ *
121
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
122
+ * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
123
+ * @private
124
+ * @param options
125
+ */
126
+ click({sourceEvent}?: ClickOptions): void;
127
+ }
128
+
129
+ export type FunctionSettingsErrorEvent = Parameters<
130
+ NonNullable<FunctionSettingsProps$1['onError']>
131
+ >[0];
132
+ declare class FunctionSettings
133
+ extends PreactCustomElement
134
+ implements FunctionSettingsProps
135
+ {
136
+ constructor();
137
+ /**
138
+ * An optional callback function that will be run by the admin when the user
139
+ * commits their changes in the admin-rendered part of the function settings
140
+ * experience. If `event.waitUntil` is called with a promise, the admin will wait for the
141
+ * promise to resolve before committing any changes to Shopify’s servers. If
142
+ * the promise rejects, the admin will abort the changes and display an error,
143
+ * using the `message` property of the error you reject with.
144
+ */
145
+ accessor onsubmit: CallbackExtendableEventListener<typeof tagName> | null;
146
+ /**
147
+ * An optional callback function that will be run by the admin when
148
+ * committing the changes to Shopify’s servers fails. The error event you receive includes
149
+ * an `error` property that is an `AggregateError` object. This object includes
150
+ * an array of errors that were caused by data your extension provided.
151
+ * Network errors and user errors that are out of your control will not be reported here.
152
+ *
153
+ * In the `onError` callback, you should update your extension’s UI to
154
+ * highlight the fields that caused the errors, and display the error messages
155
+ * to the user.
156
+ */
157
+ accessor onerror: CallbackErrorEventListener<
158
+ typeof tagName,
159
+ FunctionSettingsErrorEvent['error']['errors'][0]
160
+ > | null;
161
+
162
+ /**
163
+ * A callback that is run when the function settings form is reset.
164
+ */
165
+ accessor onreset: CallbackEventListener<typeof tagName> | null;
166
+ }
167
+ declare global {
168
+ interface HTMLElementTagNameMap {
169
+ [tagName]: FunctionSettings;
170
+ }
171
+ }
172
+ declare module 'preact' {
173
+ namespace createElement.JSX {
174
+ interface IntrinsicElements {
175
+ [tagName]: FunctionSettingsJSXProps & {
176
+ children?: preact.ComponentChildren;
177
+ };
178
+ }
179
+ }
180
+ }
181
+
182
+ export {FunctionSettings};
183
+ export type {FunctionSettingsJSXProps};
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.0.0 **/
1
+ /** VERSION: 1.10.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -58,6 +58,7 @@ export type ResponsiveBoxProps = MakeResponsivePick<
58
58
  | 'paddingInline'
59
59
  | 'paddingInlineStart'
60
60
  | 'paddingInlineEnd'
61
+ | 'display'
61
62
  >;
62
63
  export interface BoxProps
63
64
  extends Pick<
@@ -72,7 +73,6 @@ export interface BoxProps
72
73
  | 'borderRadius'
73
74
  | 'borderStyle'
74
75
  | 'borderWidth'
75
- | 'display'
76
76
  | 'inlineSize'
77
77
  | 'maxBlockSize'
78
78
  | 'maxInlineSize'
@@ -103,8 +103,7 @@ export interface BoxProps
103
103
  /**
104
104
  * Adjust the padding of all edges.
105
105
  *
106
- * 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
107
- * supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
106
+ * [1-to-4-value syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
108
107
  *
109
108
  * - 4 values: `block-start inline-end block-end inline-start`
110
109
  * - 3 values: `block-start inline block-end`
@@ -118,9 +117,7 @@ export interface BoxProps
118
117
  *
119
118
  * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
120
119
  *
121
- * `padding` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
122
- *
123
- * This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
120
+ * `padding` also accepts a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported PaddingKeyword as a query value.
124
121
  *
125
122
  * @default 'none'
126
123
  */
@@ -132,9 +129,7 @@ export interface BoxProps
132
129
  *
133
130
  * This overrides the block value of `padding`.
134
131
  *
135
- * `paddingBlock` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
136
- *
137
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
132
+ * `paddingBlock` also accepts a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported PaddingKeyword as a query value.
138
133
  *
139
134
  * @default '' - meaning no override
140
135
  */
@@ -144,9 +139,8 @@ export interface BoxProps
144
139
  *
145
140
  * This overrides the block-start value of `paddingBlock`.
146
141
  *
147
- * `paddingBlockStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
142
+ * `paddingBlockStart` also accepts a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported PaddingKeyword as a query value.
148
143
  *
149
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
150
144
  * @default '' - meaning no override
151
145
  */
152
146
  paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
@@ -155,9 +149,8 @@ export interface BoxProps
155
149
  *
156
150
  * This overrides the block-end value of `paddingBlock`.
157
151
  *
158
- * `paddingBlockEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
152
+ * `paddingBlockEnd` also accepts a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported PaddingKeyword as a query value.
159
153
  *
160
- * This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
161
154
  * @default '' - meaning no override
162
155
  */
163
156
  paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
@@ -168,9 +161,7 @@ export interface BoxProps
168
161
  *
169
162
  * This overrides the inline value of `padding`.
170
163
  *
171
- * `paddingInline` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
172
- *
173
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
164
+ * `paddingInline` also accepts a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported PaddingKeyword as a query value.
174
165
  *
175
166
  * @default '' - meaning no override
176
167
  */
@@ -180,8 +171,7 @@ export interface BoxProps
180
171
  *
181
172
  * This overrides the inline-start value of `paddingInline`.
182
173
  *
183
- * `paddingInlineStart` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
184
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
174
+ * `paddingInlineStart` also accepts a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported PaddingKeyword as a query value.
185
175
  *
186
176
  * @default '' - meaning no override
187
177
  */
@@ -191,12 +181,20 @@ export interface BoxProps
191
181
  *
192
182
  * This overrides the inline-end value of `paddingInline`.
193
183
  *
194
- * `paddingInlineEnd` also accepts a container query string with the supported PaddingKeyword as a query value e.g. (`@container (inline-size > 500px) large-300, small-300`)
195
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
184
+ * `paddingInlineEnd` also accepts a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported PaddingKeyword as a query value.
196
185
  *
197
186
  * @default '' - meaning no override
198
187
  */
199
188
  paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
189
+ /**
190
+ * Sets the outer [display](https://developer.mozilla.org/en-US/docs/Web/CSS/display) type of the component. The outer type sets a component's participation in [flow layout](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout).
191
+ *
192
+ * - `auto` the component's initial value. The actual value depends on the component and context.
193
+ * - `none` hides the component from display and removes it from the accessibility tree, making it invisible to screen readers.
194
+ *
195
+ * @default 'auto'
196
+ */
197
+ display: ResponsiveBoxProps['display'];
200
198
  }
201
199
 
202
200
  export type RequiredAlignedProps = Required<GridProps$1>;
@@ -223,9 +221,9 @@ export interface GridProps
223
221
  * Adjust spacing between elements.
224
222
  *
225
223
  * `gap` can either accept:
226
- * * a single SpacingKeyword value applied to both axes (e.g. `large-100`).
227
- * *OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
228
- * OR a container query string with supported SpacingKeyword values as query values (e.g.@container (inline-size > 500px) large-300, small-300)
224
+ * - a single SpacingKeyword value applied to both axes (e.g. `large-100`)
225
+ * - OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively
226
+ * - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
229
227
  *
230
228
  * @default 'none'
231
229
  */
@@ -235,8 +233,8 @@ export interface GridProps
235
233
  *
236
234
  * This overrides the row value of `gap`.
237
235
  * `rowGap` either accepts:
238
- * * a single SpacingKeyword value (e.g. `large-100`)
239
- * *OR a container query string with supported SpacingKeyword values as query values (e.g. @container (inline-size > 500px) large-300, small-300)
236
+ * - a single SpacingKeyword value (e.g. `large-100`)
237
+ * - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
240
238
  *
241
239
  * @default '' - meaning no override
242
240
  */
@@ -246,14 +244,29 @@ export interface GridProps
246
244
  *
247
245
  * This overrides the column value of `gap`.
248
246
  * `columnGap` either accepts:
249
- * * a single SpacingKeyword value (e.g. `large-100`)
250
- * * OR a container query string with supported SpacingKeyword values as query values (e.g. @container (inline-size > 500px) large-300, small-300)
247
+ * - a single SpacingKeyword value (e.g. `large-100`)
248
+ * - OR a [responsive value](https://shopify.dev/docs/api/app-home/using-polaris-components#responsive-values) string with the supported SpacingKeyword as a query value.
251
249
  *
252
250
  * @default '' - meaning no override
253
251
  */
254
252
  columnGap: ResponsiveGridProps['columnGap'];
255
253
  }
256
254
 
255
+ /** Used when an element does not have children. */
256
+ export interface PreactBaseElementProps<TClass extends HTMLElement> {
257
+ /** Assigns a unique key to this element. */
258
+ key?: preact.Key;
259
+ /** Assigns a ref (generally from `useRef()`) to this element. */
260
+ ref?: preact.Ref<TClass>;
261
+ /** Assigns this element to a parent's slot. */
262
+ slot?: Lowercase<string>;
263
+ }
264
+ /** Used when an element has children. */
265
+ export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
266
+ extends PreactBaseElementProps<TClass> {
267
+ children?: preact.ComponentChildren;
268
+ }
269
+
257
270
  export type Styles = string;
258
271
  export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
259
272
  ShadowRoot: (element: any) => ComponentChild;
@@ -362,13 +375,9 @@ declare global {
362
375
  }
363
376
  }
364
377
  declare module 'preact' {
365
- interface BaseProps {
366
- children?: preact.ComponentChildren;
367
- slot?: Lowercase<string>;
368
- }
369
378
  namespace createElement.JSX {
370
379
  interface IntrinsicElements {
371
- [tagName]: GridJSXProps & BaseProps;
380
+ [tagName]: GridJSXProps & PreactBaseElementPropsWithChildren<Grid>;
372
381
  }
373
382
  }
374
383
  }