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

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 +53 -46
  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 +38 -23
  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 +55 -44
  1049. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
  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
@@ -1,3077 +1,55 @@
1
- declare module 'preact' {
2
- namespace createElement.JSX {
3
- interface IntrinsicElements {
4
- [AdminPrintActiontagName]: AdminPrintActionJSXProps & {
5
- children?: preact.ComponentChildren;
6
- };
7
- }
8
- }
9
- }
10
-
11
- declare global {
12
- interface HTMLElementTagNameMap {
13
- [AdminPrintActiontagName]: AdminPrintAction;
14
- }
15
- }
16
-
17
- export interface AdminPrintActionClickOptions {
18
- /**
19
- * The event you want to influence the synthetic click.
20
- */
21
- sourceEvent?: AdminPrintActionActivationEventEsque;
22
- }
23
-
24
- export interface AdminPrintActionActivationEventEsque {
25
- shiftKey: boolean;
26
- metaKey: boolean;
27
- ctrlKey: boolean;
28
- button: number;
29
- }
30
-
31
- export interface AdminPrintActionJSXProps extends Partial<AdminPrintActionProps>, Pick<AdminPrintActionProps$1, 'id'> {
32
- }
33
-
34
- export interface AdminPrintActionProps extends Pick<AdminPrintActionProps$1, 'src'> {
35
- }
36
-
37
- declare const AdminPrintActionBaseClass: typeof globalThis.HTMLElement;
38
- declare const AdminPrintActiontagName = 's-admin-print-action';
39
-
40
- declare module 'preact' {
41
- interface BaseProps {
42
- slot?: Lowercase<string>;
43
- }
44
-
45
- namespace createElement.JSX {
46
- interface IntrinsicElements {
47
- [URLFieldtagName]: URLFieldJSXProps & BaseProps;
48
- }
49
- }
50
- }
51
-
52
- declare global {
53
- interface HTMLElementTagNameMap {
54
- [URLFieldtagName]: URLField;
55
- }
56
- }
57
-
58
- export interface URLFieldJSXProps extends Partial<Omit<URLFieldProps, 'accessory'>>, Pick<URLFieldProps$1, 'id'>, URLFieldFieldReactProps<typeof URLFieldtagName> {
59
- }
60
-
61
- export interface URLFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
62
- onInput?: ((event: CallbackEvent<T>) => void) | null;
63
- onChange?: ((event: CallbackEvent<T>) => void) | null;
64
- onFocus?: ((event: CallbackEvent<T>) => void) | null;
65
- onBlur?: ((event: CallbackEvent<T>) => void) | null;
66
- }
67
-
68
- export interface URLFieldClickOptions {
69
- /**
70
- * The event you want to influence the synthetic click.
71
- */
72
- sourceEvent?: URLFieldActivationEventEsque;
73
- }
74
-
75
- export interface URLFieldActivationEventEsque {
76
- shiftKey: boolean;
77
- metaKey: boolean;
78
- ctrlKey: boolean;
79
- button: number;
80
- }
81
-
82
- declare const URLFieldtagName = 's-url-field';
83
- declare const URLFieldinternals: unique symbol;
84
- declare const URLFieldBaseClass: typeof globalThis.HTMLElement;
85
-
86
- declare module 'preact' {
87
- interface BaseProps {
88
- children?: preact.ComponentChildren;
89
- slot?: Lowercase<string>;
90
- }
91
-
92
- namespace createElement.JSX {
93
- interface IntrinsicElements {
94
- [UnorderedListtagName]: UnorderedListJSXProps & BaseProps;
95
- }
96
- }
97
- }
98
-
99
- declare global {
100
- interface HTMLElementTagNameMap {
101
- [UnorderedListtagName]: UnorderedList;
102
- }
103
- }
104
-
105
- export interface UnorderedListJSXProps extends Partial<UnorderedListProps>, Pick<UnorderedListProps$1, 'id'> {
106
- }
107
-
108
- export interface UnorderedListClickOptions {
109
- /**
110
- * The event you want to influence the synthetic click.
111
- */
112
- sourceEvent?: UnorderedListActivationEventEsque;
113
- }
114
-
115
- export interface UnorderedListActivationEventEsque {
116
- shiftKey: boolean;
117
- metaKey: boolean;
118
- ctrlKey: boolean;
119
- button: number;
120
- }
121
-
122
- export interface UnorderedListProps extends UnorderedListProps$1 {
123
- }
124
-
125
- declare const UnorderedListtagName = 's-unordered-list';
126
- declare const UnorderedListBaseClass: typeof globalThis.HTMLElement;
127
-
128
- declare module 'preact' {
129
- interface BaseProps {
130
- slot?: Lowercase<string>;
131
- }
132
-
133
- namespace createElement.JSX {
134
- interface IntrinsicElements {
135
- [TextFieldtagName]: Omit<TextFieldJSXProps, 'accessory'> & BaseProps;
136
- }
137
- }
138
- }
139
-
140
- declare global {
141
- interface HTMLElementTagNameMap {
142
- [TextFieldtagName]: TextField;
143
- }
144
- }
145
-
146
- export interface TextFieldJSXProps extends Partial<Omit<TextFieldProps, 'accessory'>>, Pick<TextFieldProps$1, 'id'>, TextFieldFieldReactProps<typeof TextFieldtagName> {
147
- /**
148
- * The accessory to display in the text field.
149
- */
150
- accessory?: ComponentChild;
151
- }
152
-
153
- export interface TextFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
154
- onInput?: ((event: CallbackEvent<T>) => void) | null;
155
- onChange?: ((event: CallbackEvent<T>) => void) | null;
156
- onFocus?: ((event: CallbackEvent<T>) => void) | null;
157
- onBlur?: ((event: CallbackEvent<T>) => void) | null;
158
- }
159
-
160
- export interface TextFieldClickOptions {
161
- /**
162
- * The event you want to influence the synthetic click.
163
- */
164
- sourceEvent?: TextFieldActivationEventEsque;
165
- }
166
-
167
- export interface TextFieldActivationEventEsque {
168
- shiftKey: boolean;
169
- metaKey: boolean;
170
- ctrlKey: boolean;
171
- button: number;
172
- }
173
-
174
- declare const TextFieldtagName = 's-text-field';
175
- declare const TextFieldinternals: unique symbol;
176
- declare const TextFieldBaseClass: typeof globalThis.HTMLElement;
177
-
178
- declare module 'preact' {
179
- interface BaseProps {
180
- slot?: Lowercase<string>;
181
- }
182
-
183
- namespace createElement.JSX {
184
- interface IntrinsicElements {
185
- [TextAreatagName]: TextAreaJSXProps & BaseProps;
186
- }
187
- }
188
- }
189
-
190
- declare global {
191
- interface HTMLElementTagNameMap {
192
- [TextAreatagName]: TextArea;
193
- }
194
- }
195
-
196
- export interface TextAreaJSXProps extends Partial<TextAreaProps>, Pick<TextAreaProps$1, 'id'>, TextAreaFieldReactProps<typeof TextAreatagName> {
197
- }
198
-
199
- export interface TextAreaFieldReactProps<T extends keyof HTMLElementTagNameMap> {
200
- onInput?: ((event: CallbackEvent<T>) => void) | null;
201
- onChange?: ((event: CallbackEvent<T>) => void) | null;
202
- onFocus?: ((event: CallbackEvent<T>) => void) | null;
203
- onBlur?: ((event: CallbackEvent<T>) => void) | null;
204
- }
205
-
206
- export interface TextAreaClickOptions {
207
- /**
208
- * The event you want to influence the synthetic click.
209
- */
210
- sourceEvent?: TextAreaActivationEventEsque;
211
- }
212
-
213
- export interface TextAreaActivationEventEsque {
214
- shiftKey: boolean;
215
- metaKey: boolean;
216
- ctrlKey: boolean;
217
- button: number;
218
- }
219
-
220
- declare const TextAreatagName = 's-text-area';
221
- declare const TextAreainternals: unique symbol;
222
- declare const TextAreaBaseClass: typeof globalThis.HTMLElement;
223
-
224
- declare module 'preact' {
225
- interface BaseProps {
226
- children?: preact.ComponentChildren;
227
- slot?: Lowercase<string>;
228
- }
229
-
230
- namespace createElement.JSX {
231
- interface IntrinsicElements {
232
- [TexttagName]: TextJSXProps & BaseProps;
233
- }
234
- }
235
- }
236
-
237
- declare global {
238
- interface HTMLElementTagNameMap {
239
- [TexttagName]: Text;
240
- }
241
- }
242
-
243
- export interface TextJSXProps extends Partial<TextProps>, Pick<TextProps$1, 'id'> {
244
- }
245
-
246
- export interface TextClickOptions {
247
- /**
248
- * The event you want to influence the synthetic click.
249
- */
250
- sourceEvent?: TextActivationEventEsque;
251
- }
252
-
253
- export interface TextActivationEventEsque {
254
- shiftKey: boolean;
255
- metaKey: boolean;
256
- ctrlKey: boolean;
257
- button: number;
258
- }
259
-
260
- export interface TextProps extends Required<
261
- Pick<
262
- TextProps$1,
263
- | 'accessibilityVisibility'
264
- | 'dir'
265
- | 'color'
266
- | 'type'
267
- | 'tone'
268
- | 'fontVariantNumeric'
269
- >
270
- > {
271
- color: Extract<TextProps$1['color'], 'base' | 'subdued'>;
272
- type: Extract<
273
- TextProps$1['type'],
274
- 'address' | 'redundant' | 'strong' | 'generic'
275
- >;
276
- tone: Extract<
277
- TextProps$1['tone'],
278
- 'auto' | 'info' | 'success' | 'warning' | 'critical' | 'neutral' | 'caution'
279
- >;
280
- fontVariantNumeric: Extract<
281
- TextProps$1['fontVariantNumeric'],
282
- 'auto' | 'normal' | 'tabular-nums'
283
- >;
284
- }
285
-
286
- declare const TexttagName = 's-text';
287
- declare const TextBaseClass: typeof globalThis.HTMLElement;
288
-
289
- declare module 'preact' {
290
- interface BaseProps {
291
- children?: preact.ComponentChildren;
292
- slot?: Lowercase<string>;
293
- }
294
-
295
- namespace createElement.JSX {
296
- interface IntrinsicElements {
297
- [TableRowtagName]: TableRowJSXProps & BaseProps;
298
- }
299
- }
300
- }
301
-
302
- declare global {
303
- interface HTMLElementTagNameMap {
304
- [TableRowtagName]: TableRow;
305
- }
306
- }
307
-
308
- export interface TableRowJSXProps extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id'> {
309
- }
310
-
311
- export interface TableRowClickOptions {
312
- /**
313
- * The event you want to influence the synthetic click.
314
- */
315
- sourceEvent?: TableRowActivationEventEsque;
316
- }
317
-
318
- export interface TableRowActivationEventEsque {
319
- shiftKey: boolean;
320
- metaKey: boolean;
321
- ctrlKey: boolean;
322
- button: number;
323
- }
324
-
325
- export interface TableRowProps extends TableRowProps$1 {
326
- }
327
-
328
- declare const TableRowtagName = 's-table-row';
329
- declare const TableRowBaseClass: typeof globalThis.HTMLElement;
330
-
331
- declare module 'preact' {
332
- interface BaseProps {
333
- children?: preact.ComponentChildren;
334
- slot?: Lowercase<string>;
335
- }
336
-
337
- namespace createElement.JSX {
338
- interface IntrinsicElements {
339
- [TableHeaderRowtagName]: TableHeaderRowJSXProps & BaseProps;
340
- }
341
- }
342
- }
343
-
344
- declare global {
345
- interface HTMLElementTagNameMap {
346
- [TableHeaderRowtagName]: TableHeaderRow;
347
- }
348
- }
349
-
350
- export interface TableHeaderRowJSXProps extends Partial<TableHeaderRowProps>, Pick<TableHeaderRowProps$1, 'id'> {
351
- }
352
-
353
- export interface TableHeaderRowClickOptions {
354
- /**
355
- * The event you want to influence the synthetic click.
356
- */
357
- sourceEvent?: TableHeaderRowActivationEventEsque;
358
- }
359
-
360
- export interface TableHeaderRowActivationEventEsque {
361
- shiftKey: boolean;
362
- metaKey: boolean;
363
- ctrlKey: boolean;
364
- button: number;
365
- }
366
-
367
- export interface TableHeaderRowProps extends TableHeaderRowProps$1 {
368
- }
369
-
370
- declare const TableHeaderRowtagName = 's-table-header-row';
371
- declare const TableHeaderRowBaseClass: typeof globalThis.HTMLElement;
372
-
373
- declare module 'preact' {
374
- interface BaseProps {
375
- children?: preact.ComponentChildren;
376
- slot?: Lowercase<string>;
377
- }
378
-
379
- namespace createElement.JSX {
380
- interface IntrinsicElements {
381
- [TableHeadertagName]: TableHeaderJSXProps & BaseProps;
382
- }
383
- }
384
- }
385
-
386
- declare global {
387
- interface HTMLElementTagNameMap {
388
- [TableHeadertagName]: TableHeader;
389
- }
390
- }
391
-
392
- export interface TableHeaderJSXProps extends Partial<TableHeaderTableHeaderProps>, Pick<TableHeaderProps$1, 'id'> {
393
- }
394
-
395
- export interface TableHeaderClickOptions {
396
- /**
397
- * The event you want to influence the synthetic click.
398
- */
399
- sourceEvent?: TableHeaderActivationEventEsque;
400
- }
401
-
402
- export interface TableHeaderActivationEventEsque {
403
- shiftKey: boolean;
404
- metaKey: boolean;
405
- ctrlKey: boolean;
406
- button: number;
407
- }
408
-
409
- export interface TableHeaderTableHeaderProps extends Pick<TableHeaderProps$1, 'listSlot'> {
410
- listSlot: Extract<
411
- TableHeaderProps$1['listSlot'],
412
- 'primary' | 'secondary' | 'labeled' | 'kicker' | 'inline'
413
- >;
414
- }
415
-
416
- declare const TableHeadertagName = 's-table-header';
417
- declare const TableHeaderBaseClass: typeof globalThis.HTMLElement;
418
-
419
- declare module 'preact' {
420
- interface BaseProps {
421
- children?: preact.ComponentChildren;
422
- slot?: Lowercase<string>;
423
- }
424
-
425
- namespace createElement.JSX {
426
- interface IntrinsicElements {
427
- [TableCelltagName]: TableCellJSXProps & BaseProps;
428
- }
429
- }
430
- }
431
-
432
- declare global {
433
- interface HTMLElementTagNameMap {
434
- [TableCelltagName]: TableCell;
435
- }
436
- }
437
-
438
- export interface TableCellJSXProps extends Partial<TableCellProps>, Pick<TableCellProps$1, 'id'> {
439
- }
440
-
441
- export interface TableCellClickOptions {
442
- /**
443
- * The event you want to influence the synthetic click.
444
- */
445
- sourceEvent?: TableCellActivationEventEsque;
446
- }
447
-
448
- export interface TableCellActivationEventEsque {
449
- shiftKey: boolean;
450
- metaKey: boolean;
451
- ctrlKey: boolean;
452
- button: number;
453
- }
454
-
455
- export interface TableCellProps extends TableCellProps$1 {
456
- }
457
-
458
- declare const TableCelltagName = 's-table-cell';
459
- declare const TableCellBaseClass: typeof globalThis.HTMLElement;
460
-
461
- declare module 'preact' {
462
- interface BaseProps {
463
- children?: preact.ComponentChildren;
464
- slot?: Lowercase<string>;
465
- }
466
-
467
- namespace createElement.JSX {
468
- interface IntrinsicElements {
469
- [TableBodytagName]: TableBodyJSXProps & BaseProps;
470
- }
471
- }
472
- }
473
-
474
- declare global {
475
- interface HTMLElementTagNameMap {
476
- [TableBodytagName]: TableBody;
477
- }
478
- }
479
-
480
- export interface TableBodyJSXProps extends Partial<TableBodyProps>, Pick<TableBodyProps$1, 'id'> {
481
- }
482
-
483
- export interface TableBodyClickOptions {
484
- /**
485
- * The event you want to influence the synthetic click.
486
- */
487
- sourceEvent?: TableBodyActivationEventEsque;
488
- }
489
-
490
- export interface TableBodyActivationEventEsque {
491
- shiftKey: boolean;
492
- metaKey: boolean;
493
- ctrlKey: boolean;
494
- button: number;
495
- }
496
-
497
- export interface TableBodyProps extends TableBodyProps$1 {
498
- }
499
-
500
- declare const TableBodytagName = 's-table-body';
501
- declare const TableBodyBaseClass: typeof globalThis.HTMLElement;
502
-
503
- declare module 'preact' {
504
- interface BaseProps {
505
- children?: preact.ComponentChildren;
506
- slot?: Lowercase<string>;
507
- }
508
-
509
- namespace createElement.JSX {
510
- interface IntrinsicElements {
511
- [TabletagName]: Omit<TableJSXProps, 'filters'> & BaseProps;
512
- }
513
- }
514
- }
515
-
516
- declare global {
517
- interface HTMLElementTagNameMap {
518
- [TabletagName]: Table;
519
- }
520
- }
521
-
522
- export interface TableJSXProps extends Partial<TableProps>, Pick<TableProps$1, 'id' | 'onNextPage' | 'onPreviousPage'> {
523
- /**
524
- * Additional filters to display in the table. For example, the `s-search-field` component can be used to filter the table data.
525
- */
526
- filters?: ComponentChild;
527
- }
528
-
529
- export interface TableClickOptions {
530
- /**
531
- * The event you want to influence the synthetic click.
532
- */
533
- sourceEvent?: TableActivationEventEsque;
534
- }
535
-
536
- export interface TableActivationEventEsque {
537
- shiftKey: boolean;
538
- metaKey: boolean;
539
- ctrlKey: boolean;
540
- button: number;
541
- }
542
-
543
- export interface TableHeaderProps extends Pick<TableHeaderProps$1, 'listSlot'> {
544
- listSlot: Extract<
545
- TableHeaderProps$1['listSlot'],
546
- 'primary' | 'secondary' | 'labeled' | 'kicker' | 'inline'
547
- >;
548
- }
549
-
550
- export interface TableProps extends Required<
551
- Pick<
552
- TableProps$1,
553
- 'loading' | 'paginate' | 'hasPreviousPage' | 'hasNextPage' | 'variant'
554
- >
555
- > {
556
- variant: Extract<TableProps$1['variant'], 'list' | 'auto'>;
557
- }
558
-
559
- declare const TabletagName = 's-table';
560
- declare const tableHeadersSharedDataSymbol: unique symbol;
561
- declare const actualTableVariantSymbol: unique symbol;
562
- declare const TableBaseClass: typeof globalThis.HTMLElement;
563
-
564
- declare module 'preact' {
565
- interface BaseProps {
566
- children?: preact.ComponentChildren;
567
- slot?: Lowercase<string>;
568
- }
569
-
570
- namespace createElement.JSX {
571
- interface IntrinsicElements {
572
- [StacktagName]: StackJSXProps & BaseProps;
573
- }
574
- }
575
- }
576
-
577
- declare global {
578
- interface HTMLElementTagNameMap {
579
- [StacktagName]: Stack;
580
- }
581
- }
582
-
583
- export interface StackJSXProps extends Partial<StackProps>, Pick<StackProps$1, 'id'> {
584
- }
585
-
586
- export interface StackClickOptions {
587
- /**
588
- * The event you want to influence the synthetic click.
589
- */
590
- sourceEvent?: StackActivationEventEsque;
591
- }
592
-
593
- export interface StackActivationEventEsque {
594
- shiftKey: boolean;
595
- metaKey: boolean;
596
- ctrlKey: boolean;
597
- button: number;
598
- }
599
-
600
- export interface StackProps extends StackBoxProps, Pick<
601
- Required<AlignedStackProps>,
602
- 'justifyContent' | 'alignItems' | 'alignContent'
603
- > {
604
- /**
605
- * Adjust spacing between elements.
606
- *
607
- * `gap` can either accept:
608
- * * a single SpacingKeyword value applied to both axes (e.g. `large-100`).
609
- * * OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
610
- * * OR a container query string with supported SpacingKeyword values as query values (e.g.@container (inline-size > 500px) large-300, small-300)
611
- *
612
- * @default 'none'
613
- */
614
- gap: ResponsiveStackProps['gap'];
615
- /**
616
- * Adjust spacing between elements in the block axis.
617
- *
618
- * This overrides the row value of `gap`.
619
- * `rowGap` either accepts a single SpacingKeyword value (e.g. `large-100`)
620
- * OR a container query string with supported SpacingKeyword values as query values (e.g.
621
- * @container (inline-size > 500px) large-300, small-300)
622
- * @default '' - meaning no override
623
- */
624
- rowGap: ResponsiveStackProps['rowGap'];
625
- /**
626
- * Adjust spacing between elements in the inline axis.
627
- *
628
- * This overrides the column value of `gap`.
629
- * `columnGap` either accepts:
630
- * * a single SpacingKeyword value (e.g. `large-100`)
631
- * OR a container query string with supported SpacingKeyword values as query values (e.g.
632
- * @container (inline-size > 500px) large-300, small-300)
633
- * @default '' - meaning no override
634
- */
635
- columnGap: ResponsiveStackProps['columnGap'];
636
- /**
637
- * Sets how the Stack's children are placed within the Stack.
638
- *
639
- * `direction` either accepts:
640
- * * a single value either `inline` or `block`
641
- * *OR a container query string with either of these values as a query value (e.g. `@container (inline-size > 500px) inline, block`)
642
- *
643
- * @default 'block'
644
- * @implementation the content will wrap if the direction is 'inline', and not wrap if the direction is 'block'
645
- */
646
- direction: ResponsiveStackProps['direction'];
647
- }
648
-
649
- export interface StackBoxProps extends Pick<
650
- RequiredBoxProps,
651
- | 'accessibilityLabel'
652
- | 'accessibilityRole'
653
- | 'accessibilityVisibility'
654
- | 'background'
655
- | 'blockSize'
656
- | 'border'
657
- | 'borderColor'
658
- | 'borderRadius'
659
- | 'borderStyle'
660
- | 'borderWidth'
661
- | 'display'
662
- | 'inlineSize'
663
- | 'maxBlockSize'
664
- | 'maxInlineSize'
665
- | 'minBlockSize'
666
- | 'minInlineSize'
667
- | 'overflow'
668
- > {
669
- background: Extract<
670
- RequiredBoxProps['background'],
671
- 'transparent' | 'base' | 'subdued' | 'strong'
672
- >;
673
- borderWidth: | MaybeAllValuesShorthandProperty<
674
- Extract<
675
- RequiredBoxProps['borderWidth'],
676
- 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
677
- >
678
- >
679
- | Extract<RequiredBoxProps['borderWidth'], ''>;
680
- borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
681
- | Extract<RequiredBoxProps['borderStyle'], ''>;
682
- borderColor: Extract<
683
- RequiredBoxProps['borderColor'],
684
- 'subdued' | 'base' | 'strong' | ''
685
- >;
686
- borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
687
- /**
688
- * Adjust the padding of all edges.
689
- *
690
- * 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
691
- * supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
692
- *
693
- * - 4 values: `block-start inline-end block-end inline-start`
694
- * - 3 values: `block-start inline block-end`
695
- * - 2 values: `block inline`
696
- *
697
- * For example:
698
- * - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
699
- * - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
700
- * - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
701
- * - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
702
- *
703
- * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
704
- *
705
- * `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`)
706
- *
707
- * This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
708
- *
709
- * @default 'none'
710
- */
711
- padding: ResponsiveBoxProps['padding'];
712
- /**
713
- * Adjust the block-padding.
714
- *
715
- * - `large none` means block-start padding is `large`, block-end padding is `none`.
716
- *
717
- * This overrides the block value of `padding`.
718
- *
719
- * `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`)
720
- *
721
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
722
- *
723
- * @default '' - meaning no override
724
- */
725
- paddingBlock: ResponsiveBoxProps['paddingBlock'];
726
- /**
727
- * Adjust the block-start padding.
728
- *
729
- * This overrides the block-start value of `paddingBlock`.
730
- *
731
- * `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`)
732
- *
733
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
734
- * @default '' - meaning no override
735
- */
736
- paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
737
- /**
738
- * Adjust the block-end padding.
739
- *
740
- * This overrides the block-end value of `paddingBlock`.
741
- *
742
- * `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`)
743
- *
744
- * This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
745
- * @default '' - meaning no override
746
- */
747
- paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
748
- /**
749
- * Adjust the inline padding.
750
- *
751
- * - `large none` means inline-start padding is `large`, inline-end padding is `none`.
752
- *
753
- * This overrides the inline value of `padding`.
754
- *
755
- * `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`)
756
- *
757
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
758
- *
759
- * @default '' - meaning no override
760
- */
761
- paddingInline: ResponsiveBoxProps['paddingInline'];
762
- /**
763
- * Adjust the inline-start padding.
764
- *
765
- * This overrides the inline-start value of `paddingInline`.
766
- *
767
- * `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`)
768
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
769
- *
770
- * @default '' - meaning no override
771
- */
772
- paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
773
- /**
774
- * Adjust the inline-end padding.
775
- *
776
- * This overrides the inline-end value of `paddingInline`.
777
- *
778
- * `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`)
779
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
780
- *
781
- * @default '' - meaning no override
782
- */
783
- paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
784
- }
785
-
786
- declare const StacktagName = 's-stack';
787
- declare const StackBaseClass: typeof globalThis.HTMLElement;
788
-
789
- declare module 'preact' {
790
- namespace createElement.JSX {
791
- interface IntrinsicElements {
792
- [SpinnertagName]: SpinnerJSXProps;
793
- }
794
- }
795
- }
796
-
797
- declare global {
798
- interface HTMLElementTagNameMap {
799
- [SpinnertagName]: Spinner;
800
- }
801
- }
802
-
803
- export interface SpinnerJSXProps extends Partial<SpinnerProps>, Pick<SpinnerProps$1, 'id'> {
804
- }
805
-
806
- export interface SpinnerClickOptions {
807
- /**
808
- * The event you want to influence the synthetic click.
809
- */
810
- sourceEvent?: SpinnerActivationEventEsque;
811
- }
812
-
813
- export interface SpinnerActivationEventEsque {
814
- shiftKey: boolean;
815
- metaKey: boolean;
816
- ctrlKey: boolean;
817
- button: number;
818
- }
819
-
820
- export interface SpinnerProps extends Required<Pick<SpinnerProps$1, 'accessibilityLabel'>> {
821
- size: Extract<SpinnerProps$1['size'], 'large' | 'large-100' | 'base'>;
822
- }
823
-
824
- declare const SpinnertagName = 's-spinner';
825
- declare const SpinnerBaseClass: typeof globalThis.HTMLElement;
826
-
827
- declare module 'preact' {
828
- interface BaseProps {
829
- children?: preact.ComponentChildren;
830
- slot?: Lowercase<string>;
831
- }
832
-
833
- namespace createElement.JSX {
834
- interface IntrinsicElements {
835
- [SelecttagName]: SelectJSXProps & BaseProps;
836
- }
837
- }
838
- }
839
-
840
- declare global {
841
- interface HTMLElementTagNameMap {
842
- [SelecttagName]: Select;
843
- }
844
- }
845
-
846
- export interface SelectJSXProps extends Partial<SelectProps> {
847
- onChange?: (event: CallbackEvent<typeof SelecttagName>) => void;
848
- onInput?: (event: CallbackEvent<typeof tagName>) => void;
849
- onBlur?: (event: CallbackEvent<typeof tagName>) => void;
850
- onFocus?: (event: CallbackEvent<typeof tagName>) => void;
851
- }
852
-
853
- export interface SelectProps extends Omit<PreactInputProps, 'value'>, Required<
854
- Pick<
855
- SelectProps$1,
856
- | 'details'
857
- | 'disabled'
858
- | 'error'
859
- | 'label'
860
- | 'name'
861
- | 'placeholder'
862
- | 'required'
863
- | 'icon'
864
- | 'labelAccessibilityVisibility'
865
- >
866
- > {
867
- value: Required<SelectProps$1>['value'];
868
- }
869
-
870
- export interface SelectClickOptions {
871
- /**
872
- * The event you want to influence the synthetic click.
873
- */
874
- sourceEvent?: SelectActivationEventEsque;
875
- }
876
-
877
- export interface SelectActivationEventEsque {
878
- shiftKey: boolean;
879
- metaKey: boolean;
880
- ctrlKey: boolean;
881
- button: number;
882
- }
883
-
884
- declare const SelecttagName = 's-select';
885
- declare const hasInitialValueSymbol: unique symbol;
886
- declare const usedFirstOptionSymbol: unique symbol;
887
- declare const Selectinternals: unique symbol;
888
- declare const SelectBaseClass: typeof globalThis.HTMLElement;
889
-
890
- declare module 'preact' {
891
- interface BaseProps {
892
- children?: preact.ComponentChildren;
893
- slot?: Lowercase<string>;
894
- }
895
-
896
- namespace createElement.JSX {
897
- interface IntrinsicElements {
898
- [SectiontagName]: SectionJSXProps & BaseProps;
899
- }
900
- }
901
- }
902
-
903
- declare global {
904
- interface HTMLElementTagNameMap {
905
- [SectiontagName]: Section;
906
- }
907
- }
908
-
909
- export interface SectionJSXProps extends Partial<SectionProps>, Pick<SectionProps$1, 'id'> {
910
- }
911
-
912
- export interface SectionClickOptions {
913
- /**
914
- * The event you want to influence the synthetic click.
915
- */
916
- sourceEvent?: SectionActivationEventEsque;
917
- }
918
-
919
- export interface SectionActivationEventEsque {
920
- shiftKey: boolean;
921
- metaKey: boolean;
922
- ctrlKey: boolean;
923
- button: number;
924
- }
925
-
926
- export interface SectionProps extends Pick<
927
- RequiredSectionProps,
928
- 'accessibilityLabel' | 'heading' | 'padding'
929
- > {
930
- accessibilityLabel: RequiredSectionProps['accessibilityLabel'];
931
- heading: RequiredSectionProps['heading'];
932
- padding: RequiredSectionProps['padding'];
933
- }
934
-
935
- declare const SectiontagName = 's-section';
936
- declare const SectionBaseClass: typeof globalThis.HTMLElement;
937
-
938
- declare module 'preact' {
939
- interface BaseProps {
940
- slot?: Lowercase<string>;
941
- }
942
-
943
- namespace createElement.JSX {
944
- interface IntrinsicElements {
945
- [PasswordFieldtagName]: PasswordFieldJSXProps & BaseProps;
946
- }
947
- }
948
- }
949
-
950
- declare global {
951
- interface HTMLElementTagNameMap {
952
- [PasswordFieldtagName]: PasswordField;
953
- }
954
- }
955
-
956
- export interface PasswordFieldJSXProps extends Partial<PasswordFieldProps>, Pick<PasswordFieldProps$1, 'id'>, PasswordFieldFieldReactProps<typeof PasswordFieldtagName> {
957
- }
958
-
959
- export interface PasswordFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
960
- onInput?: ((event: CallbackEvent<T>) => void) | null;
961
- onChange?: ((event: CallbackEvent<T>) => void) | null;
962
- onFocus?: ((event: CallbackEvent<T>) => void) | null;
963
- onBlur?: ((event: CallbackEvent<T>) => void) | null;
964
- }
965
-
966
- export interface PasswordFieldClickOptions {
967
- /**
968
- * The event you want to influence the synthetic click.
969
- */
970
- sourceEvent?: PasswordFieldActivationEventEsque;
971
- }
972
-
973
- export interface PasswordFieldActivationEventEsque {
974
- shiftKey: boolean;
975
- metaKey: boolean;
976
- ctrlKey: boolean;
977
- button: number;
978
- }
979
-
980
- declare const PasswordFieldtagName = 's-password-field';
981
- declare const PasswordFieldinternals: unique symbol;
982
- declare const PasswordFieldBaseClass: typeof globalThis.HTMLElement;
983
-
984
- declare module 'preact' {
985
- interface BaseProps {
986
- children?: preact.ComponentChildren;
987
- slot?: Lowercase<string>;
988
- }
989
-
990
- namespace createElement.JSX {
991
- interface IntrinsicElements {
992
- [ParagraphtagName]: ParagraphJSXProps & BaseProps;
993
- }
994
- }
995
- }
996
-
997
- declare global {
998
- interface HTMLElementTagNameMap {
999
- [ParagraphtagName]: Paragraph;
1000
- }
1001
- }
1002
-
1003
- export interface ParagraphJSXProps extends Partial<ParagraphProps>, Pick<ParagraphProps$1, 'id'> {
1004
- }
1005
-
1006
- export interface ParagraphClickOptions {
1007
- /**
1008
- * The event you want to influence the synthetic click.
1009
- */
1010
- sourceEvent?: ParagraphActivationEventEsque;
1011
- }
1012
-
1013
- export interface ParagraphActivationEventEsque {
1014
- shiftKey: boolean;
1015
- metaKey: boolean;
1016
- ctrlKey: boolean;
1017
- button: number;
1018
- }
1019
-
1020
- export interface ParagraphProps extends Required<
1021
- Pick<
1022
- ParagraphProps$1,
1023
- | 'accessibilityVisibility'
1024
- | 'fontVariantNumeric'
1025
- | 'tone'
1026
- | 'dir'
1027
- | 'color'
1028
- | 'lineClamp'
1029
- >
1030
- > {
1031
- color: Extract<ParagraphProps$1['color'], 'base' | 'subdued'>;
1032
- lineClamp: Extract<ParagraphProps$1['lineClamp'], number>;
1033
- }
1034
-
1035
- declare const ParagraphtagName = 's-paragraph';
1036
- declare const ParagraphBaseClass: typeof globalThis.HTMLElement;
1037
-
1038
- declare module 'preact' {
1039
- interface BaseProps {
1040
- children?: preact.ComponentChildren;
1041
- slot?: Lowercase<string>;
1042
- }
1043
-
1044
- namespace createElement.JSX {
1045
- interface IntrinsicElements {
1046
- [OrderedListtagName]: OrderedListJSXProps & BaseProps;
1047
- }
1048
- }
1049
- }
1050
-
1051
- declare global {
1052
- interface HTMLElementTagNameMap {
1053
- [OrderedListtagName]: OrderedList;
1054
- }
1055
- }
1056
-
1057
- export interface OrderedListJSXProps extends Partial<OrderedListProps>, Pick<OrderedListProps$1, 'id'> {
1058
- }
1059
-
1060
- export interface OrderedListClickOptions {
1061
- /**
1062
- * The event you want to influence the synthetic click.
1063
- */
1064
- sourceEvent?: OrderedListActivationEventEsque;
1065
- }
1066
-
1067
- export interface OrderedListActivationEventEsque {
1068
- shiftKey: boolean;
1069
- metaKey: boolean;
1070
- ctrlKey: boolean;
1071
- button: number;
1072
- }
1073
-
1074
- export interface OrderedListProps extends OrderedListProps$1 {
1075
- }
1076
-
1077
- declare const OrderedListtagName = 's-ordered-list';
1078
- declare const OrderedListBaseClass: typeof globalThis.HTMLElement;
1079
-
1080
- declare module 'preact' {
1081
- interface BaseProps {
1082
- children?: preact.ComponentChildren;
1083
- }
1084
-
1085
- namespace createElement.JSX {
1086
- interface IntrinsicElements {
1087
- [OptionGrouptagName]: OptionGroupJSXProps & BaseProps;
1088
- }
1089
- }
1090
- }
1091
-
1092
- declare global {
1093
- interface HTMLElementTagNameMap {
1094
- [OptionGrouptagName]: OptionGroup;
1095
- }
1096
- }
1097
-
1098
- export interface OptionGroupJSXProps extends Partial<OptionGroupProps> {
1099
- }
1100
-
1101
- export interface OptionGroupClickOptions {
1102
- /**
1103
- * The event you want to influence the synthetic click.
1104
- */
1105
- sourceEvent?: OptionGroupActivationEventEsque;
1106
- }
1107
-
1108
- export interface OptionGroupActivationEventEsque {
1109
- shiftKey: boolean;
1110
- metaKey: boolean;
1111
- ctrlKey: boolean;
1112
- button: number;
1113
- }
1114
-
1115
- export interface OptionGroupProps extends Required<Pick<OptionGroupProps$1, 'disabled' | 'label'>> {
1116
- }
1117
-
1118
- declare const OptionGrouptagName = 's-option-group';
1119
- declare const OptionGroupBaseClass: typeof globalThis.HTMLElement;
1120
-
1121
- declare module 'preact' {
1122
- interface BaseProps {
1123
- children?: preact.ComponentChildren;
1124
- }
1125
-
1126
- namespace createElement.JSX {
1127
- interface IntrinsicElements {
1128
- [OptiontagName]: OptionJSXProps & BaseProps;
1129
- }
1130
- }
1131
- }
1132
-
1133
- declare global {
1134
- interface HTMLElementTagNameMap {
1135
- [OptiontagName]: Option;
1136
- }
1137
- }
1138
-
1139
- export interface OptionJSXProps extends Partial<OptionProps> {
1140
- }
1141
-
1142
- export interface OptionClickOptions {
1143
- /**
1144
- * The event you want to influence the synthetic click.
1145
- */
1146
- sourceEvent?: OptionActivationEventEsque;
1147
- }
1148
-
1149
- export interface OptionActivationEventEsque {
1150
- shiftKey: boolean;
1151
- metaKey: boolean;
1152
- ctrlKey: boolean;
1153
- button: number;
1154
- }
1155
-
1156
- export interface OptionProps extends Required<
1157
- Pick<OptionProps$1, 'disabled' | 'value' | 'selected' | 'defaultSelected'>
1158
- > {
1159
- }
1160
-
1161
- declare const OptiontagName = 's-option';
1162
- declare const OptionBaseClass: typeof globalThis.HTMLElement;
1163
-
1164
- declare module 'preact' {
1165
- interface BaseProps {
1166
- slot?: Lowercase<string>;
1167
- }
1168
-
1169
- namespace createElement.JSX {
1170
- interface IntrinsicElements {
1171
- [NumberFieldtagName]: NumberFieldJSXProps & BaseProps;
1172
- }
1173
- }
1174
- }
1175
-
1176
- declare global {
1177
- interface HTMLElementTagNameMap {
1178
- [NumberFieldtagName]: NumberField;
1179
- }
1180
- }
1181
-
1182
- export interface NumberFieldJSXProps extends Partial<NumberFieldProps>, Pick<NumberFieldProps$1, 'id'>, NumberFieldFieldReactProps<typeof NumberFieldtagName> {
1183
- }
1184
-
1185
- export interface NumberFieldProps extends Omit<
1186
- PreactFieldProps<Required<NumberFieldProps$1>['autocomplete']>,
1187
- 'value'
1188
- >, Required<
1189
- Pick<
1190
- NumberFieldProps$1,
1191
- 'inputMode' | 'max' | 'min' | 'prefix' | 'step' | 'suffix'
1192
- >
1193
- > {
1194
- value: Required<NumberFieldProps$1>['value'];
1195
- }
1196
-
1197
- export interface NumberFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1198
- onInput?: ((event: CallbackEvent<T>) => void) | null;
1199
- onChange?: ((event: CallbackEvent<T>) => void) | null;
1200
- onFocus?: ((event: CallbackEvent<T>) => void) | null;
1201
- onBlur?: ((event: CallbackEvent<T>) => void) | null;
1202
- }
1203
-
1204
- export interface NumberFieldClickOptions {
1205
- /**
1206
- * The event you want to influence the synthetic click.
1207
- */
1208
- sourceEvent?: NumberFieldActivationEventEsque;
1209
- }
1210
-
1211
- export interface NumberFieldActivationEventEsque {
1212
- shiftKey: boolean;
1213
- metaKey: boolean;
1214
- ctrlKey: boolean;
1215
- button: number;
1216
- }
1217
-
1218
- declare const NumberFieldtagName = 's-number-field';
1219
- declare const NumberFieldinternals: unique symbol;
1220
- declare const NumberFieldBaseClass: typeof globalThis.HTMLElement;
1221
-
1222
- declare module 'preact' {
1223
- interface BaseProps {
1224
- children?: preact.ComponentChildren;
1225
- slot?: Lowercase<string>;
1226
- }
1227
-
1228
- namespace createElement.JSX {
1229
- interface IntrinsicElements {
1230
- [MoneyFieldtagName]: MoneyFieldJSXProps & BaseProps;
1231
- }
1232
- }
1233
- }
1234
-
1235
- declare global {
1236
- interface HTMLElementTagNameMap {
1237
- [MoneyFieldtagName]: MoneyField;
1238
- }
1239
- }
1240
-
1241
- export interface MoneyFieldJSXProps extends Partial<MoneyFieldProps>, MoneyFieldFieldReactProps<typeof MoneyFieldtagName>, Pick<MoneyFieldProps$1, 'id'> {
1242
- }
1243
-
1244
- export interface MoneyFieldProps extends Omit<PreactFieldProps, 'value'>, Pick<RequiredMoneyFieldProps, 'max' | 'min' | 'step' | 'currencyCode'> {
1245
- value: Required<MoneyFieldProps$1>['value'];
1246
- }
1247
-
1248
- export interface MoneyFieldFieldReactProps<T extends keyof HTMLElementTagNameMap> {
1249
- onInput?: ((event: CallbackEvent<T>) => void) | null;
1250
- onChange?: ((event: CallbackEvent<T>) => void) | null;
1251
- onFocus?: ((event: CallbackEvent<T>) => void) | null;
1252
- onBlur?: ((event: CallbackEvent<T>) => void) | null;
1253
- }
1254
-
1255
- export interface MoneyFieldClickOptions {
1256
- /**
1257
- * The event you want to influence the synthetic click.
1258
- */
1259
- sourceEvent?: MoneyFieldActivationEventEsque;
1260
- }
1261
-
1262
- export interface MoneyFieldActivationEventEsque {
1263
- shiftKey: boolean;
1264
- metaKey: boolean;
1265
- ctrlKey: boolean;
1266
- button: number;
1267
- }
1268
-
1269
- declare const MoneyFieldtagName = 's-money-field';
1270
- declare const MoneyFieldinternals: unique symbol;
1271
- declare const MoneyFieldBaseClass: typeof globalThis.HTMLElement;
1272
-
1273
- declare module 'preact' {
1274
- interface BaseProps {
1275
- children?: preact.ComponentChildren;
1276
- slot?: Lowercase<string>;
1277
- }
1278
-
1279
- namespace createElement.JSX {
1280
- interface IntrinsicElements {
1281
- [ListItemtagName]: ListItemJSXProps & BaseProps;
1282
- }
1283
- }
1284
- }
1285
-
1286
- declare global {
1287
- interface HTMLElementTagNameMap {
1288
- [ListItemtagName]: ListItem;
1289
- }
1290
- }
1291
-
1292
- export interface ListItemJSXProps extends Partial<ListItemProps>, Pick<ListItemProps$1, 'id'> {
1293
- }
1294
-
1295
- export interface ListItemClickOptions {
1296
- /**
1297
- * The event you want to influence the synthetic click.
1298
- */
1299
- sourceEvent?: ListItemActivationEventEsque;
1300
- }
1301
-
1302
- export interface ListItemActivationEventEsque {
1303
- shiftKey: boolean;
1304
- metaKey: boolean;
1305
- ctrlKey: boolean;
1306
- button: number;
1307
- }
1308
-
1309
- export interface ListItemProps extends ListItemProps$1 {
1310
- }
1311
-
1312
- declare const ListItemtagName = 's-list-item';
1313
- declare const ListItemBaseClass: typeof globalThis.HTMLElement;
1314
-
1315
- declare module 'preact' {
1316
- interface BaseProps {
1317
- children?: preact.ComponentChildren;
1318
- slot?: Lowercase<string>;
1319
- }
1320
-
1321
- namespace createElement.JSX {
1322
- interface IntrinsicElements {
1323
- [LinktagName]: LinkJSXProps & BaseProps;
1324
- }
1325
- }
1326
- }
1327
-
1328
- declare global {
1329
- interface HTMLElementTagNameMap {
1330
- [LinktagName]: Link;
1331
- }
1332
- }
1333
-
1334
- export interface LinkJSXProps extends Partial<LinkProps>, Pick<LinkProps$1, 'id' | 'lang'> {
1335
- onClick?: ((event: CallbackEvent<typeof LinktagName>) => void) | null;
1336
- }
1337
-
1338
- export interface LinkPreactOverlayControlProps extends Pick<InteractionProps, 'commandFor'> {
1339
- /**
1340
- * Sets the action the `commandFor` should take when this clickable is activated.
1341
- *
1342
- * See the documentation of particular components for the actions they support.
1343
- *
1344
- * - `--auto`: a default action for the target component.
1345
- * - `--show`: shows the target component.
1346
- * - `--hide`: hides the target component.
1347
- * - `--toggle`: toggles the target component.
1348
- *
1349
- * @default '--auto'
1350
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
1351
- */
1352
- command: Extract<
1353
- InteractionProps['command'],
1354
- '--show' | '--hide' | '--toggle' | '--auto'
1355
- >;
1356
- commandFor: Extract<InteractionProps['commandFor'], string>;
1357
- }
1358
-
1359
- export interface LinkClickOptions {
1360
- /**
1361
- * The event you want to influence the synthetic click.
1362
- */
1363
- sourceEvent?: LinkActivationEventEsque;
1364
- }
1365
-
1366
- export interface LinkActivationEventEsque {
1367
- shiftKey: boolean;
1368
- metaKey: boolean;
1369
- ctrlKey: boolean;
1370
- button: number;
1371
- }
1372
-
1373
- export interface LinkProps extends Pick<
1374
- LinkProps$1,
1375
- | 'accessibilityLabel'
1376
- | 'command'
1377
- | 'commandFor'
1378
- | 'download'
1379
- | 'href'
1380
- | 'lang'
1381
- | 'target'
1382
- | 'tone'
1383
- > {
1384
- accessibilityLabel: RequiredLinkProps['accessibilityLabel'];
1385
- command: RequiredLinkProps['command'];
1386
- commandFor: RequiredLinkProps['commandFor'];
1387
- download: RequiredLinkProps['download'];
1388
- href: RequiredLinkProps['href'];
1389
- lang: RequiredLinkProps['lang'];
1390
- target: RequiredLinkProps['target'];
1391
- tone: Extract<RequiredLinkProps['tone'], 'auto' | 'neutral' | 'critical'>;
1392
- }
1393
-
1394
- declare const LinktagName = 's-link';
1395
- declare const Link_base: (abstract new (
1396
- args_0: RenderImpl,
1397
- ) => PreactCustomElement & LinkPreactOverlayControlProps) &
1398
- Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
1399
- declare const LinkBaseClass: typeof globalThis.HTMLElement;
1400
-
1401
- declare module 'preact' {
1402
- interface BaseProps {
1403
- slot?: Lowercase<string>;
1404
- }
1405
-
1406
- namespace createElement.JSX {
1407
- interface IntrinsicElements {
1408
- [ImagetagName]: ImageJSXProps & BaseProps;
1409
- }
1410
- }
1411
- }
1412
-
1413
- declare global {
1414
- interface HTMLElementTagNameMap {
1415
- [ImagetagName]: Image;
1416
- }
1417
- }
1418
-
1419
- export interface ImageJSXProps extends Partial<ImageProps>, Pick<ImageProps$1, 'id'> {
1420
- onError?: ((event: CallbackEvent<typeof ImagetagName>) => void) | null;
1421
- onLoad?: ((event: CallbackEvent<typeof tagName>) => void) | null;
1422
- }
1423
-
1424
- export interface ImageClickOptions {
1425
- /**
1426
- * The event you want to influence the synthetic click.
1427
- */
1428
- sourceEvent?: ImageActivationEventEsque;
1429
- }
1430
-
1431
- export interface ImageActivationEventEsque {
1432
- shiftKey: boolean;
1433
- metaKey: boolean;
1434
- ctrlKey: boolean;
1435
- button: number;
1436
- }
1437
-
1438
- export interface ImageProps extends Required<
1439
- Pick<
1440
- ImageProps$1,
1441
- | 'alt'
1442
- | 'loading'
1443
- | 'src'
1444
- | 'accessibilityRole'
1445
- | 'inlineSize'
1446
- | 'srcSet'
1447
- | 'sizes'
1448
- | 'aspectRatio'
1449
- | 'objectFit'
1450
- >
1451
- >, Required<
1452
- Pick<
1453
- ImageBoxProps,
1454
- | 'border'
1455
- | 'borderColor'
1456
- | 'borderRadius'
1457
- | 'borderStyle'
1458
- | 'borderWidth'
1459
- >
1460
- > {
1461
- border: ImageBoxProps['border'];
1462
- borderColor: ImageBoxProps['borderColor'];
1463
- borderRadius: ImageBoxProps['borderRadius'];
1464
- borderStyle: ImageBoxProps['borderStyle'];
1465
- borderWidth: ImageBoxProps['borderWidth'];
1466
- }
1467
-
1468
- export interface ImageBoxProps extends Pick<
1469
- RequiredBoxProps,
1470
- | 'accessibilityLabel'
1471
- | 'accessibilityRole'
1472
- | 'accessibilityVisibility'
1473
- | 'background'
1474
- | 'blockSize'
1475
- | 'border'
1476
- | 'borderColor'
1477
- | 'borderRadius'
1478
- | 'borderStyle'
1479
- | 'borderWidth'
1480
- | 'display'
1481
- | 'inlineSize'
1482
- | 'maxBlockSize'
1483
- | 'maxInlineSize'
1484
- | 'minBlockSize'
1485
- | 'minInlineSize'
1486
- | 'overflow'
1487
- > {
1488
- background: Extract<
1489
- RequiredBoxProps['background'],
1490
- 'transparent' | 'base' | 'subdued' | 'strong'
1491
- >;
1492
- borderWidth: | MaybeAllValuesShorthandProperty<
1493
- Extract<
1494
- RequiredBoxProps['borderWidth'],
1495
- 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
1496
- >
1497
- >
1498
- | Extract<RequiredBoxProps['borderWidth'], ''>;
1499
- borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
1500
- | Extract<RequiredBoxProps['borderStyle'], ''>;
1501
- borderColor: Extract<
1502
- RequiredBoxProps['borderColor'],
1503
- 'subdued' | 'base' | 'strong' | ''
1504
- >;
1505
- borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
1506
- /**
1507
- * Adjust the padding of all edges.
1508
- *
1509
- * 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
1510
- * supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
1511
- *
1512
- * - 4 values: `block-start inline-end block-end inline-start`
1513
- * - 3 values: `block-start inline block-end`
1514
- * - 2 values: `block inline`
1515
- *
1516
- * For example:
1517
- * - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
1518
- * - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
1519
- * - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
1520
- * - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
1521
- *
1522
- * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
1523
- *
1524
- * `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`)
1525
- *
1526
- * This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
1527
- *
1528
- * @default 'none'
1529
- */
1530
- padding: ResponsiveBoxProps['padding'];
1531
- /**
1532
- * Adjust the block-padding.
1533
- *
1534
- * - `large none` means block-start padding is `large`, block-end padding is `none`.
1535
- *
1536
- * This overrides the block value of `padding`.
1537
- *
1538
- * `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`)
1539
- *
1540
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
1541
- *
1542
- * @default '' - meaning no override
1543
- */
1544
- paddingBlock: ResponsiveBoxProps['paddingBlock'];
1545
- /**
1546
- * Adjust the block-start padding.
1547
- *
1548
- * This overrides the block-start value of `paddingBlock`.
1549
- *
1550
- * `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`)
1551
- *
1552
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1553
- * @default '' - meaning no override
1554
- */
1555
- paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
1556
- /**
1557
- * Adjust the block-end padding.
1558
- *
1559
- * This overrides the block-end value of `paddingBlock`.
1560
- *
1561
- * `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`)
1562
- *
1563
- * This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1564
- * @default '' - meaning no override
1565
- */
1566
- paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
1567
- /**
1568
- * Adjust the inline padding.
1569
- *
1570
- * - `large none` means inline-start padding is `large`, inline-end padding is `none`.
1571
- *
1572
- * This overrides the inline value of `padding`.
1573
- *
1574
- * `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`)
1575
- *
1576
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
1577
- *
1578
- * @default '' - meaning no override
1579
- */
1580
- paddingInline: ResponsiveBoxProps['paddingInline'];
1581
- /**
1582
- * Adjust the inline-start padding.
1583
- *
1584
- * This overrides the inline-start value of `paddingInline`.
1585
- *
1586
- * `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`)
1587
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1588
- *
1589
- * @default '' - meaning no override
1590
- */
1591
- paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
1592
- /**
1593
- * Adjust the inline-end padding.
1594
- *
1595
- * This overrides the inline-end value of `paddingInline`.
1596
- *
1597
- * `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`)
1598
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1599
- *
1600
- * @default '' - meaning no override
1601
- */
1602
- paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
1603
- }
1604
-
1605
- declare const ImagetagName = 's-image';
1606
- declare const ImageBaseClass: typeof globalThis.HTMLElement;
1607
-
1608
- declare module 'preact' {
1609
- interface BaseProps {
1610
- slot?: Lowercase<string>;
1611
- }
1612
-
1613
- namespace createElement.JSX {
1614
- interface IntrinsicElements {
1615
- [IcontagName]: IconJSXProps & BaseProps;
1616
- }
1617
- }
1618
- }
1619
-
1620
- declare global {
1621
- interface HTMLElementTagNameMap {
1622
- [IcontagName]: Icon;
1623
- }
1624
- }
1625
-
1626
- export interface IconJSXProps extends Partial<IconIconProps>, Pick<IconProps$1, 'id'> {
1627
- }
1628
-
1629
- export interface IconClickOptions {
1630
- /**
1631
- * The event you want to influence the synthetic click.
1632
- */
1633
- sourceEvent?: IconActivationEventEsque;
1634
- }
1635
-
1636
- export interface IconActivationEventEsque {
1637
- shiftKey: boolean;
1638
- metaKey: boolean;
1639
- ctrlKey: boolean;
1640
- button: number;
1641
- }
1642
-
1643
- export interface IconIconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' | 'size'> {
1644
- /**
1645
- * Specifies the type of icon that will be displayed.
1646
- */
1647
- type: '' | IconType | 'empty';
1648
- tone: Extract<
1649
- IconProps$1['tone'],
1650
- 'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
1651
- >;
1652
- color: Extract<IconProps$1['color'], 'base' | 'subdued'>;
1653
- size: Extract<IconProps$1['size'], 'small' | 'base'>;
1654
- }
1655
-
1656
- declare const IcontagName = 's-icon';
1657
- declare const IconBaseClass: typeof globalThis.HTMLElement;
1658
-
1659
- declare module 'preact' {
1660
- interface BaseProps {
1661
- children?: preact.ComponentChildren;
1662
- slot?: Lowercase<string>;
1663
- }
1664
-
1665
- namespace createElement.JSX {
1666
- interface IntrinsicElements {
1667
- [HeadingtagName]: HeadingJSXProps & BaseProps;
1668
- }
1669
- }
1670
- }
1671
-
1672
- declare global {
1673
- interface HTMLElementTagNameMap {
1674
- [HeadingtagName]: Heading;
1675
- }
1676
- }
1677
-
1678
- export interface HeadingJSXProps extends Partial<HeadingProps>, Pick<HeadingProps$1, 'id'> {
1679
- }
1680
-
1681
- export interface HeadingClickOptions {
1682
- /**
1683
- * The event you want to influence the synthetic click.
1684
- */
1685
- sourceEvent?: HeadingActivationEventEsque;
1686
- }
1687
-
1688
- export interface HeadingActivationEventEsque {
1689
- shiftKey: boolean;
1690
- metaKey: boolean;
1691
- ctrlKey: boolean;
1692
- button: number;
1693
- }
1694
-
1695
- export interface HeadingProps extends Pick<
1696
- HeadingProps$1,
1697
- 'accessibilityRole' | 'accessibilityVisibility' | 'lineClamp'
1698
- > {
1699
- accessibilityRole: RequiredHeadingProps['accessibilityRole'];
1700
- accessibilityVisibility: RequiredHeadingProps['accessibilityVisibility'];
1701
- lineClamp: RequiredHeadingProps['lineClamp'];
1702
- }
1703
-
1704
- declare const HeadingtagName = 's-heading';
1705
- declare const HeadingBaseClass: typeof globalThis.HTMLElement;
1706
-
1707
- declare module 'preact' {
1708
- interface BaseProps {
1709
- children?: preact.ComponentChildren;
1710
- slot?: Lowercase<string>;
1711
- }
1712
-
1713
- namespace createElement.JSX {
1714
- interface IntrinsicElements {
1715
- [GridItemtagName]: GridItemJSXProps & BaseProps;
1716
- }
1717
- }
1718
- }
1719
-
1720
- declare global {
1721
- interface HTMLElementTagNameMap {
1722
- [GridItemtagName]: GridItem;
1723
- }
1724
- }
1725
-
1726
- export interface GridItemJSXProps extends Partial<GridItemProps>, Pick<GridItemProps$1, 'id'> {
1727
- }
1728
-
1729
- export interface GridItemClickOptions {
1730
- /**
1731
- * The event you want to influence the synthetic click.
1732
- */
1733
- sourceEvent?: GridItemActivationEventEsque;
1734
- }
1735
-
1736
- export interface GridItemActivationEventEsque {
1737
- shiftKey: boolean;
1738
- metaKey: boolean;
1739
- ctrlKey: boolean;
1740
- button: number;
1741
- }
1742
-
1743
- export interface GridItemProps extends GridItemBoxProps, Required<Pick<GridItemProps$1, 'gridColumn' | 'gridRow'>> {
1744
- gridColumn: RequiredGridItemProps['gridColumn'];
1745
- gridRow: RequiredGridItemProps['gridRow'];
1746
- }
1747
-
1748
- export interface GridItemBoxProps extends Pick<
1749
- RequiredBoxProps,
1750
- | 'accessibilityLabel'
1751
- | 'accessibilityRole'
1752
- | 'accessibilityVisibility'
1753
- | 'background'
1754
- | 'blockSize'
1755
- | 'border'
1756
- | 'borderColor'
1757
- | 'borderRadius'
1758
- | 'borderStyle'
1759
- | 'borderWidth'
1760
- | 'display'
1761
- | 'inlineSize'
1762
- | 'maxBlockSize'
1763
- | 'maxInlineSize'
1764
- | 'minBlockSize'
1765
- | 'minInlineSize'
1766
- | 'overflow'
1767
- > {
1768
- background: Extract<
1769
- RequiredBoxProps['background'],
1770
- 'transparent' | 'base' | 'subdued' | 'strong'
1771
- >;
1772
- borderWidth: | MaybeAllValuesShorthandProperty<
1773
- Extract<
1774
- RequiredBoxProps['borderWidth'],
1775
- 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
1776
- >
1777
- >
1778
- | Extract<RequiredBoxProps['borderWidth'], ''>;
1779
- borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
1780
- | Extract<RequiredBoxProps['borderStyle'], ''>;
1781
- borderColor: Extract<
1782
- RequiredBoxProps['borderColor'],
1783
- 'subdued' | 'base' | 'strong' | ''
1784
- >;
1785
- borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
1786
- /**
1787
- * Adjust the padding of all edges.
1788
- *
1789
- * 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
1790
- * supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
1791
- *
1792
- * - 4 values: `block-start inline-end block-end inline-start`
1793
- * - 3 values: `block-start inline block-end`
1794
- * - 2 values: `block inline`
1795
- *
1796
- * For example:
1797
- * - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
1798
- * - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
1799
- * - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
1800
- * - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
1801
- *
1802
- * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
1803
- *
1804
- * `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`)
1805
- *
1806
- * This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
1807
- *
1808
- * @default 'none'
1809
- */
1810
- padding: ResponsiveBoxProps['padding'];
1811
- /**
1812
- * Adjust the block-padding.
1813
- *
1814
- * - `large none` means block-start padding is `large`, block-end padding is `none`.
1815
- *
1816
- * This overrides the block value of `padding`.
1817
- *
1818
- * `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`)
1819
- *
1820
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
1821
- *
1822
- * @default '' - meaning no override
1823
- */
1824
- paddingBlock: ResponsiveBoxProps['paddingBlock'];
1825
- /**
1826
- * Adjust the block-start padding.
1827
- *
1828
- * This overrides the block-start value of `paddingBlock`.
1829
- *
1830
- * `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`)
1831
- *
1832
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1833
- * @default '' - meaning no override
1834
- */
1835
- paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
1836
- /**
1837
- * Adjust the block-end padding.
1838
- *
1839
- * This overrides the block-end value of `paddingBlock`.
1840
- *
1841
- * `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`)
1842
- *
1843
- * This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1844
- * @default '' - meaning no override
1845
- */
1846
- paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
1847
- /**
1848
- * Adjust the inline padding.
1849
- *
1850
- * - `large none` means inline-start padding is `large`, inline-end padding is `none`.
1851
- *
1852
- * This overrides the inline value of `padding`.
1853
- *
1854
- * `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`)
1855
- *
1856
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
1857
- *
1858
- * @default '' - meaning no override
1859
- */
1860
- paddingInline: ResponsiveBoxProps['paddingInline'];
1861
- /**
1862
- * Adjust the inline-start padding.
1863
- *
1864
- * This overrides the inline-start value of `paddingInline`.
1865
- *
1866
- * `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`)
1867
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1868
- *
1869
- * @default '' - meaning no override
1870
- */
1871
- paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
1872
- /**
1873
- * Adjust the inline-end padding.
1874
- *
1875
- * This overrides the inline-end value of `paddingInline`.
1876
- *
1877
- * `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`)
1878
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
1879
- *
1880
- * @default '' - meaning no override
1881
- */
1882
- paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
1883
- }
1884
-
1885
- declare const GridItemtagName = 's-grid-item';
1886
- declare const GridItemBaseClass: typeof globalThis.HTMLElement;
1887
-
1888
- declare module 'preact' {
1889
- interface BaseProps {
1890
- children?: preact.ComponentChildren;
1891
- slot?: Lowercase<string>;
1892
- }
1893
-
1894
- namespace createElement.JSX {
1895
- interface IntrinsicElements {
1896
- [GridtagName]: GridJSXProps & BaseProps;
1897
- }
1898
- }
1899
- }
1900
-
1901
- declare global {
1902
- interface HTMLElementTagNameMap {
1903
- [GridtagName]: Grid;
1904
- }
1905
- }
1906
-
1907
- export interface GridJSXProps extends Partial<GridProps>, Pick<GridProps$1, 'id'> {
1908
- }
1909
-
1910
- export interface GridClickOptions {
1911
- /**
1912
- * The event you want to influence the synthetic click.
1913
- */
1914
- sourceEvent?: GridActivationEventEsque;
1915
- }
1916
-
1917
- export interface GridActivationEventEsque {
1918
- shiftKey: boolean;
1919
- metaKey: boolean;
1920
- ctrlKey: boolean;
1921
- button: number;
1922
- }
1923
-
1924
- export interface GridProps extends GridBoxProps, Required<
1925
- Pick<
1926
- GridProps$1,
1927
- | 'gridTemplateColumns'
1928
- | 'gridTemplateRows'
1929
- | 'alignItems'
1930
- | 'justifyItems'
1931
- | 'placeItems'
1932
- | 'alignContent'
1933
- | 'justifyContent'
1934
- | 'placeContent'
1935
- >
1936
- > {
1937
- /**
1938
- * Adjust spacing between elements.
1939
- *
1940
- * `gap` can either accept:
1941
- * * a single SpacingKeyword value applied to both axes (e.g. `large-100`).
1942
- * *OR a pair of values (eg `large-100 large-500`) can be used to set the inline and block axes respectively.
1943
- * OR a container query string with supported SpacingKeyword values as query values (e.g.@container (inline-size > 500px) large-300, small-300)
1944
- *
1945
- * @default 'none'
1946
- */
1947
- gap: ResponsiveGridProps['gap'];
1948
- /**
1949
- * Adjust spacing between elements in the block axis.
1950
- *
1951
- * This overrides the row value of `gap`.
1952
- * `rowGap` either accepts:
1953
- * * a single SpacingKeyword value (e.g. `large-100`)
1954
- * *OR a container query string with supported SpacingKeyword values as query values (e.g.
1955
- * @container (inline-size > 500px) large-300, small-300)
1956
- * @default '' - meaning no override
1957
- */
1958
- rowGap: ResponsiveGridProps['rowGap'];
1959
- /**
1960
- * Adjust spacing between elements in the inline axis.
1961
- *
1962
- * This overrides the column value of `gap`.
1963
- * `columnGap` either accepts:
1964
- * * a single SpacingKeyword value (e.g. `large-100`)
1965
- * * OR a container query string with supported SpacingKeyword values as query values (e.g.
1966
- * @container (inline-size > 500px) large-300, small-300)
1967
- * @default '' - meaning no override
1968
- */
1969
- columnGap: ResponsiveGridProps['columnGap'];
1970
- }
1971
-
1972
- export interface GridBoxProps extends Pick<
1973
- RequiredBoxProps,
1974
- | 'accessibilityLabel'
1975
- | 'accessibilityRole'
1976
- | 'accessibilityVisibility'
1977
- | 'background'
1978
- | 'blockSize'
1979
- | 'border'
1980
- | 'borderColor'
1981
- | 'borderRadius'
1982
- | 'borderStyle'
1983
- | 'borderWidth'
1984
- | 'display'
1985
- | 'inlineSize'
1986
- | 'maxBlockSize'
1987
- | 'maxInlineSize'
1988
- | 'minBlockSize'
1989
- | 'minInlineSize'
1990
- | 'overflow'
1991
- > {
1992
- background: Extract<
1993
- RequiredBoxProps['background'],
1994
- 'transparent' | 'base' | 'subdued' | 'strong'
1995
- >;
1996
- borderWidth: | MaybeAllValuesShorthandProperty<
1997
- Extract<
1998
- RequiredBoxProps['borderWidth'],
1999
- 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
2000
- >
2001
- >
2002
- | Extract<RequiredBoxProps['borderWidth'], ''>;
2003
- borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
2004
- | Extract<RequiredBoxProps['borderStyle'], ''>;
2005
- borderColor: Extract<
2006
- RequiredBoxProps['borderColor'],
2007
- 'subdued' | 'base' | 'strong' | ''
2008
- >;
2009
- borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
2010
- /**
2011
- * Adjust the padding of all edges.
2012
- *
2013
- * 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
2014
- * supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
2015
- *
2016
- * - 4 values: `block-start inline-end block-end inline-start`
2017
- * - 3 values: `block-start inline block-end`
2018
- * - 2 values: `block inline`
2019
- *
2020
- * For example:
2021
- * - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
2022
- * - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
2023
- * - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
2024
- * - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
2025
- *
2026
- * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
2027
- *
2028
- * `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`)
2029
- *
2030
- * This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
2031
- *
2032
- * @default 'none'
2033
- */
2034
- padding: ResponsiveBoxProps['padding'];
2035
- /**
2036
- * Adjust the block-padding.
2037
- *
2038
- * - `large none` means block-start padding is `large`, block-end padding is `none`.
2039
- *
2040
- * This overrides the block value of `padding`.
2041
- *
2042
- * `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`)
2043
- *
2044
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
2045
- *
2046
- * @default '' - meaning no override
2047
- */
2048
- paddingBlock: ResponsiveBoxProps['paddingBlock'];
2049
- /**
2050
- * Adjust the block-start padding.
2051
- *
2052
- * This overrides the block-start value of `paddingBlock`.
2053
- *
2054
- * `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`)
2055
- *
2056
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2057
- * @default '' - meaning no override
2058
- */
2059
- paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
2060
- /**
2061
- * Adjust the block-end padding.
2062
- *
2063
- * This overrides the block-end value of `paddingBlock`.
2064
- *
2065
- * `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`)
2066
- *
2067
- * This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2068
- * @default '' - meaning no override
2069
- */
2070
- paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
2071
- /**
2072
- * Adjust the inline padding.
2073
- *
2074
- * - `large none` means inline-start padding is `large`, inline-end padding is `none`.
2075
- *
2076
- * This overrides the inline value of `padding`.
2077
- *
2078
- * `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`)
2079
- *
2080
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
2081
- *
2082
- * @default '' - meaning no override
2083
- */
2084
- paddingInline: ResponsiveBoxProps['paddingInline'];
2085
- /**
2086
- * Adjust the inline-start padding.
2087
- *
2088
- * This overrides the inline-start value of `paddingInline`.
2089
- *
2090
- * `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`)
2091
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2092
- *
2093
- * @default '' - meaning no override
2094
- */
2095
- paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
2096
- /**
2097
- * Adjust the inline-end padding.
2098
- *
2099
- * This overrides the inline-end value of `paddingInline`.
2100
- *
2101
- * `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`)
2102
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2103
- *
2104
- * @default '' - meaning no override
2105
- */
2106
- paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2107
- }
2108
-
2109
- declare const GridtagName = 's-grid';
2110
- declare const GridBaseClass: typeof globalThis.HTMLElement;
2111
-
2112
- declare module 'preact' {
2113
- interface BaseProps {
2114
- slot?: Lowercase<string>;
2115
- }
2116
-
2117
- namespace createElement.JSX {
2118
- interface IntrinsicElements {
2119
- [EmailFieldtagName]: EmailFieldJSXProps & BaseProps;
2120
- }
2121
- }
2122
- }
2123
-
2124
- declare global {
2125
- interface HTMLElementTagNameMap {
2126
- [EmailFieldtagName]: EmailField;
2127
- }
2128
- }
2129
-
2130
- export interface EmailFieldJSXProps extends Partial<Omit<EmailFieldProps, 'accessory'>>, Pick<EmailFieldProps$1, 'id'>, FieldReactProps<typeof EmailFieldtagName> {
2131
- }
2132
-
2133
- export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
2134
- onInput?: ((event: CallbackEvent<T>) => void) | null;
2135
- onChange?: ((event: CallbackEvent<T>) => void) | null;
2136
- onFocus?: ((event: CallbackEvent<T>) => void) | null;
2137
- onBlur?: ((event: CallbackEvent<T>) => void) | null;
2138
- }
2139
-
2140
- export interface EmailFieldClickOptions {
2141
- /**
2142
- * The event you want to influence the synthetic click.
2143
- */
2144
- sourceEvent?: EmailFieldActivationEventEsque;
2145
- }
2146
-
2147
- export interface EmailFieldActivationEventEsque {
2148
- shiftKey: boolean;
2149
- metaKey: boolean;
2150
- ctrlKey: boolean;
2151
- button: number;
2152
- }
2153
-
2154
- declare const EmailFieldtagName = 's-email-field';
2155
- declare const EmailFieldinternals: unique symbol;
2156
- declare const EmailFieldBaseClass: typeof globalThis.HTMLElement;
2157
-
2158
- declare module 'preact' {
2159
- interface BaseProps {
2160
- slot?: Lowercase<string>;
2161
- }
2162
-
2163
- namespace createElement.JSX {
2164
- interface IntrinsicElements {
2165
- [DividertagName]: DividerJSXProps & BaseProps;
2166
- }
2167
- }
2168
- }
2169
-
2170
- declare global {
2171
- interface HTMLElementTagNameMap {
2172
- [DividertagName]: Divider;
2173
- }
2174
- }
2175
-
2176
- export interface DividerJSXProps extends Partial<DividerProps>, Pick<DividerProps$1, 'id'> {
2177
- }
2178
-
2179
- export interface DividerClickOptions {
2180
- /**
2181
- * The event you want to influence the synthetic click.
2182
- */
2183
- sourceEvent?: DividerActivationEventEsque;
2184
- }
2185
-
2186
- export interface DividerActivationEventEsque {
2187
- shiftKey: boolean;
2188
- metaKey: boolean;
2189
- ctrlKey: boolean;
2190
- button: number;
2191
- }
2192
-
2193
- export interface DividerProps extends Pick<DividerProps$1, 'direction' | 'color'> {
2194
- direction: Extract<DividerProps$1['direction'], 'inline' | 'block'>;
2195
- color: Extract<DividerProps$1['color'], 'base' | 'strong'>;
2196
- }
2197
-
2198
- declare const DividertagName = 's-divider';
2199
- declare const DividerBaseClass: typeof globalThis.HTMLElement;
2200
-
2201
- declare module 'preact' {
2202
- interface BaseProps {
2203
- slot?: Lowercase<string>;
2204
- }
2205
-
2206
- namespace createElement.JSX {
2207
- interface IntrinsicElements {
2208
- [DatePickertagName]: DatePickerJSXProps & BaseProps;
2209
- }
2210
- }
2211
- }
2212
-
2213
- declare global {
2214
- interface HTMLElementTagNameMap {
2215
- [DatePickertagName]: DatePicker;
2216
- }
2217
-
2218
- interface HTMLElementEventMap {
2219
- viewchange: ViewChangeEvent;
2220
- }
2221
- }
2222
-
2223
- export interface DatePickerJSXProps extends Partial<DatePickerProps>, Pick<DatePickerProps$1, 'id'> {
2224
- onViewChange?: | ((
2225
- event: CallbackEvent<typeof DatePickertagName, HTMLElementEventMap['viewchange']>,
2226
- ) => void)
2227
- | null;
2228
- onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2229
- onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2230
- onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2231
- onChange?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2232
- }
2233
-
2234
- export interface DatePickerClickOptions {
2235
- /**
2236
- * The event you want to influence the synthetic click.
2237
- */
2238
- sourceEvent?: DatePickerActivationEventEsque;
2239
- }
2240
-
2241
- export interface DatePickerActivationEventEsque {
2242
- shiftKey: boolean;
2243
- metaKey: boolean;
2244
- ctrlKey: boolean;
2245
- button: number;
2246
- }
2247
-
2248
- export interface DatePickerProps extends Required<
2249
- Pick<
2250
- DatePickerProps$1,
2251
- | 'defaultView'
2252
- | 'view'
2253
- | 'allow'
2254
- | 'disallow'
2255
- | 'allowDays'
2256
- | 'disallowDays'
2257
- | 'value'
2258
- | 'defaultValue'
2259
- | 'name'
2260
- >
2261
- > {
2262
- type: Extract<DatePickerProps$1['type'], 'single' | 'multiple' | 'range'>;
2263
- }
2264
-
2265
- declare const DatePickertagName = 's-date-picker';
2266
- declare const dirtyStateSymbol: unique symbol;
2267
- declare const DatePickerinternals: unique symbol;
2268
- declare const DatePickerBaseClass$1: typeof globalThis.HTMLElement;
2269
-
2270
- declare module 'preact' {
2271
- interface BaseProps {
2272
- children?: preact.ComponentChildren;
2273
- slot?: Lowercase<string>;
2274
- }
2275
-
2276
- namespace createElement.JSX {
2277
- interface IntrinsicElements {
2278
- [ClickabletagName]: ClickableJSXProps & BaseProps;
2279
- }
2280
- }
2281
- }
2282
-
2283
- declare global {
2284
- interface HTMLElementTagNameMap {
2285
- [ClickabletagName]: Clickable;
2286
- }
2287
- }
2288
-
2289
- export interface ClickableJSXProps extends Partial<ClickableProps>, Pick<ClickableProps$1, 'id'> {
2290
- onClick?: ((event: CallbackEvent<typeof ClickabletagName>) => void) | null;
2291
- onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2292
- onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2293
- }
2294
-
2295
- export interface ClickablePreactOverlayControlProps extends Pick<InteractionProps, 'commandFor'> {
2296
- /**
2297
- * Sets the action the `commandFor` should take when this clickable is activated.
2298
- *
2299
- * See the documentation of particular components for the actions they support.
2300
- *
2301
- * - `--auto`: a default action for the target component.
2302
- * - `--show`: shows the target component.
2303
- * - `--hide`: hides the target component.
2304
- * - `--toggle`: toggles the target component.
2305
- *
2306
- * @default '--auto'
2307
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
2308
- */
2309
- command: Extract<
2310
- InteractionProps['command'],
2311
- '--show' | '--hide' | '--toggle' | '--auto'
2312
- >;
2313
- commandFor: Extract<InteractionProps['commandFor'], string>;
2314
- }
2315
-
2316
- export interface ClickableClickOptions {
2317
- /**
2318
- * The event you want to influence the synthetic click.
2319
- */
2320
- sourceEvent?: ClickableActivationEventEsque;
2321
- }
2322
-
2323
- export interface ClickableActivationEventEsque {
2324
- shiftKey: boolean;
2325
- metaKey: boolean;
2326
- ctrlKey: boolean;
2327
- button: number;
2328
- }
2329
-
2330
- export interface ClickableProps extends Required<ClickableBoxProps>, ClickableBaseProps {
2331
- }
2332
-
2333
- export interface ClickableBoxProps extends Pick<
2334
- RequiredBoxProps,
2335
- | 'accessibilityLabel'
2336
- | 'accessibilityRole'
2337
- | 'accessibilityVisibility'
2338
- | 'background'
2339
- | 'blockSize'
2340
- | 'border'
2341
- | 'borderColor'
2342
- | 'borderRadius'
2343
- | 'borderStyle'
2344
- | 'borderWidth'
2345
- | 'display'
2346
- | 'inlineSize'
2347
- | 'maxBlockSize'
2348
- | 'maxInlineSize'
2349
- | 'minBlockSize'
2350
- | 'minInlineSize'
2351
- | 'overflow'
2352
- > {
2353
- background: Extract<
2354
- RequiredBoxProps['background'],
2355
- 'transparent' | 'base' | 'subdued' | 'strong'
2356
- >;
2357
- borderWidth: | MaybeAllValuesShorthandProperty<
2358
- Extract<
2359
- RequiredBoxProps['borderWidth'],
2360
- 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
2361
- >
2362
- >
2363
- | Extract<RequiredBoxProps['borderWidth'], ''>;
2364
- borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
2365
- | Extract<RequiredBoxProps['borderStyle'], ''>;
2366
- borderColor: Extract<
2367
- RequiredBoxProps['borderColor'],
2368
- 'subdued' | 'base' | 'strong' | ''
2369
- >;
2370
- borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
2371
- /**
2372
- * Adjust the padding of all edges.
2373
- *
2374
- * 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
2375
- * supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
2376
- *
2377
- * - 4 values: `block-start inline-end block-end inline-start`
2378
- * - 3 values: `block-start inline block-end`
2379
- * - 2 values: `block inline`
2380
- *
2381
- * For example:
2382
- * - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
2383
- * - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
2384
- * - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
2385
- * - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
2386
- *
2387
- * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
2388
- *
2389
- * `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`)
2390
- *
2391
- * This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
2392
- *
2393
- * @default 'none'
2394
- */
2395
- padding: ResponsiveBoxProps['padding'];
2396
- /**
2397
- * Adjust the block-padding.
2398
- *
2399
- * - `large none` means block-start padding is `large`, block-end padding is `none`.
2400
- *
2401
- * This overrides the block value of `padding`.
2402
- *
2403
- * `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`)
2404
- *
2405
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
2406
- *
2407
- * @default '' - meaning no override
2408
- */
2409
- paddingBlock: ResponsiveBoxProps['paddingBlock'];
2410
- /**
2411
- * Adjust the block-start padding.
2412
- *
2413
- * This overrides the block-start value of `paddingBlock`.
2414
- *
2415
- * `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`)
2416
- *
2417
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2418
- * @default '' - meaning no override
2419
- */
2420
- paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
2421
- /**
2422
- * Adjust the block-end padding.
2423
- *
2424
- * This overrides the block-end value of `paddingBlock`.
2425
- *
2426
- * `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`)
2427
- *
2428
- * This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2429
- * @default '' - meaning no override
2430
- */
2431
- paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
2432
- /**
2433
- * Adjust the inline padding.
2434
- *
2435
- * - `large none` means inline-start padding is `large`, inline-end padding is `none`.
2436
- *
2437
- * This overrides the inline value of `padding`.
2438
- *
2439
- * `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`)
2440
- *
2441
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
2442
- *
2443
- * @default '' - meaning no override
2444
- */
2445
- paddingInline: ResponsiveBoxProps['paddingInline'];
2446
- /**
2447
- * Adjust the inline-start padding.
2448
- *
2449
- * This overrides the inline-start value of `paddingInline`.
2450
- *
2451
- * `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`)
2452
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2453
- *
2454
- * @default '' - meaning no override
2455
- */
2456
- paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
2457
- /**
2458
- * Adjust the inline-end padding.
2459
- *
2460
- * This overrides the inline-end value of `paddingInline`.
2461
- *
2462
- * `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`)
2463
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2464
- *
2465
- * @default '' - meaning no override
2466
- */
2467
- paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2468
- }
2469
-
2470
- declare const ClickabletagName = 's-clickable';
2471
- declare const Clickable_base: (abstract new (
2472
- renderImpl: RenderImpl,
2473
- ) => BoxElement & ClickablePreactOverlayControlProps) &
2474
- Pick<typeof BoxElement, 'prototype' | 'observedAttributes'>;
2475
- declare const ClickableBaseClass: typeof globalThis.HTMLElement;
2476
-
2477
- declare module 'preact' {
2478
- interface BaseProps {
2479
- children?: preact.ComponentChildren;
2480
- slot?: Lowercase<string>;
2481
- }
2482
-
2483
- namespace createElement.JSX {
2484
- interface IntrinsicElements {
2485
- [ChoiceListtagName]: ChoiceListJSXProps & BaseProps;
2486
- }
2487
- }
2488
- }
2489
-
2490
- declare global {
2491
- interface HTMLElementTagNameMap {
2492
- [ChoiceListtagName]: ChoiceList;
2493
- }
2494
- }
2495
-
2496
- export interface ChoiceListJSXProps extends Partial<ChoiceListProps>, Pick<ChoiceListProps$1, 'id'> {
2497
- onChange?: ((event: CallbackEvent<typeof ChoiceListtagName>) => void) | null;
2498
- onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2499
- }
2500
-
2501
- export interface ChoiceListClickOptions {
2502
- /**
2503
- * The event you want to influence the synthetic click.
2504
- */
2505
- sourceEvent?: ChoiceListActivationEventEsque;
2506
- }
2507
-
2508
- export interface ChoiceListActivationEventEsque {
2509
- shiftKey: boolean;
2510
- metaKey: boolean;
2511
- ctrlKey: boolean;
2512
- button: number;
2513
- }
2514
-
2515
- export interface ChoiceListProps extends Required<
2516
- Pick<
2517
- ChoiceListProps$1,
2518
- | 'details'
2519
- | 'disabled'
2520
- | 'error'
2521
- | 'label'
2522
- | 'labelAccessibilityVisibility'
2523
- | 'multiple'
2524
- | 'name'
2525
- | 'values'
2526
- >
2527
- > {
2528
- }
2529
-
2530
- declare const ChoiceListtagName = 's-choice-list';
2531
- declare const ChoiceListinternals: unique symbol;
2532
- /**
2533
- * Base class for creating custom elements with Preact.
2534
- * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
2535
- * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
2536
- */
2537
- declare const BaseClass$1: typeof globalThis.HTMLElement;
2538
-
2539
- declare module 'preact' {
2540
- namespace createElement.JSX {
2541
- interface IntrinsicElements {
2542
- [ChoicetagName]: ChoiceJSXProps;
2543
- }
2544
- }
2545
- }
2546
-
2547
- declare global {
2548
- interface HTMLElementTagNameMap {
2549
- [ChoicetagName]: Choice;
2550
- }
2551
- }
2552
-
2553
- export interface ChoiceJSXProps extends Partial<ChoiceProps>, Pick<ChoiceProps$1, 'id'> {
2554
- }
2555
-
2556
- export interface ChoiceClickOptions {
2557
- /**
2558
- * The event you want to influence the synthetic click.
2559
- */
2560
- sourceEvent?: ChoiceActivationEventEsque;
2561
- }
2562
-
2563
- export interface ChoiceActivationEventEsque {
2564
- shiftKey: boolean;
2565
- metaKey: boolean;
2566
- ctrlKey: boolean;
2567
- button: number;
2568
- }
2569
-
2570
- export interface ChoiceProps extends Required<
2571
- Pick<
2572
- ChoiceProps$1,
2573
- | 'selected'
2574
- | 'defaultSelected'
2575
- | 'disabled'
2576
- | 'accessibilityLabel'
2577
- | 'value'
2578
- | 'label'
2579
- | 'details'
2580
- >
2581
- > {
2582
- }
2583
-
2584
- declare const ChoicetagName = 's-choice';
2585
- declare const ChoiceBaseClass: typeof globalThis.HTMLElement;
2586
-
2587
- declare module 'preact' {
2588
- namespace createElement.JSX {
2589
- interface IntrinsicElements {
2590
- [CheckboxtagName]: CheckboxJSXProps;
2591
- }
2592
- }
2593
- }
2594
-
2595
- declare global {
2596
- interface HTMLElementTagNameMap {
2597
- [CheckboxtagName]: Checkbox;
2598
- }
2599
- }
2600
-
2601
- export interface CheckboxJSXProps extends Partial<CheckboxProps>, Pick<CheckboxProps$1, 'id'> {
2602
- onChange?: ((event: CallbackEvent<typeof CheckboxtagName>) => void) | null;
2603
- onInput?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2604
- }
2605
-
2606
- export interface CheckboxProps extends PreactCheckboxProps {
2607
- indeterminate: Required<CheckboxProps$1>['indeterminate'];
2608
- defaultIndeterminate: Required<CheckboxProps$1>['defaultIndeterminate'];
2609
- }
2610
-
2611
- export interface PreactCheckboxProps extends Required<
2612
- Pick<
2613
- CheckboxProps$1,
2614
- | 'accessibilityLabel'
2615
- | 'checked'
2616
- | 'defaultChecked'
2617
- | 'details'
2618
- | 'error'
2619
- | 'label'
2620
- | 'required'
2621
- | 'name'
2622
- | 'disabled'
2623
- >
2624
- > {
2625
- value: Required<CheckboxProps$1>['value'];
2626
- }
2627
-
2628
- export interface CheckboxClickOptions {
2629
- /**
2630
- * The event you want to influence the synthetic click.
2631
- */
2632
- sourceEvent?: CheckboxActivationEventEsque;
2633
- }
2634
-
2635
- export interface CheckboxActivationEventEsque {
2636
- shiftKey: boolean;
2637
- metaKey: boolean;
2638
- ctrlKey: boolean;
2639
- button: number;
2640
- }
2641
-
2642
- declare const CheckboxtagName = 's-checkbox';
2643
- declare const internals: unique symbol;
2644
- declare const CheckboxBaseClass: typeof globalThis.HTMLElement;
2645
-
2646
- declare module 'preact' {
2647
- interface BaseProps {
2648
- children?: preact.ComponentChildren;
2649
- slot?: Lowercase<string>;
2650
- }
2651
-
2652
- namespace createElement.JSX {
2653
- interface IntrinsicElements {
2654
- [ButtontagName]: ButtonJSXProps & BaseProps;
2655
- }
2656
- }
2657
- }
2658
-
2659
- declare global {
2660
- interface HTMLElementTagNameMap {
2661
- [ButtontagName]: Button;
2662
- }
2663
- }
2664
-
2665
- export interface ButtonJSXProps extends Partial<ButtonProps>, Pick<ButtonProps$1, 'id'> {
2666
- onClick?: ((event: CallbackEvent<typeof ButtontagName>) => void) | null;
2667
- onFocus?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2668
- onBlur?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2669
- }
2670
-
2671
- export interface PreactOverlayControlProps extends Pick<InteractionProps, 'commandFor'> {
2672
- /**
2673
- * Sets the action the `commandFor` should take when this clickable is activated.
2674
- *
2675
- * See the documentation of particular components for the actions they support.
2676
- *
2677
- * - `--auto`: a default action for the target component.
2678
- * - `--show`: shows the target component.
2679
- * - `--hide`: hides the target component.
2680
- * - `--toggle`: toggles the target component.
2681
- *
2682
- * @default '--auto'
2683
- * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command
2684
- */
2685
- command: Extract<
2686
- InteractionProps['command'],
2687
- '--show' | '--hide' | '--toggle' | '--auto'
2688
- >;
2689
- commandFor: Extract<InteractionProps['commandFor'], string>;
2690
- }
2691
-
2692
- export interface ButtonClickOptions {
2693
- /**
2694
- * The event you want to influence the synthetic click.
2695
- */
2696
- sourceEvent?: ButtonActivationEventEsque;
2697
- }
2698
-
2699
- export interface ButtonActivationEventEsque {
2700
- shiftKey: boolean;
2701
- metaKey: boolean;
2702
- ctrlKey: boolean;
2703
- button: number;
2704
- }
2705
-
2706
- export interface ButtonProps extends ButtonBaseProps {
2707
- tone: Extract<ButtonProps$1['tone'], 'neutral' | 'critical' | 'auto'>;
2708
- icon: ButtonIconProps['type'];
2709
- }
2710
-
2711
- export interface ButtonIconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' | 'size'> {
2712
- /**
2713
- * Specifies the type of icon that will be displayed.
2714
- */
2715
- type: '' | IconType | 'empty';
2716
- tone: Extract<
2717
- IconProps$1['tone'],
2718
- 'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
2719
- >;
2720
- color: Extract<IconProps$1['color'], 'base' | 'subdued'>;
2721
- size: Extract<IconProps$1['size'], 'small' | 'base'>;
2722
- }
2723
-
2724
- declare const ButtontagName = 's-button';
2725
- declare const Button_base: (abstract new (
2726
- args_0: RenderImpl,
2727
- ) => PreactCustomElement & PreactOverlayControlProps) &
2728
- Pick<typeof PreactCustomElement, 'prototype' | 'observedAttributes'>;
2729
- declare const ButtonBaseClass: typeof globalThis.HTMLElement;
2730
-
2731
- declare module 'preact' {
2732
- interface BaseProps {
2733
- children?: preact.ComponentChildren;
2734
- slot?: Lowercase<string>;
2735
- }
2736
-
2737
- namespace createElement.JSX {
2738
- interface IntrinsicElements {
2739
- [BoxtagName]: BoxJSXProps & BaseProps;
2740
- }
2741
- }
2742
- }
2743
-
2744
- declare global {
2745
- interface HTMLElementTagNameMap {
2746
- [BoxtagName]: Box;
2747
- }
2748
- }
2749
-
2750
- export interface BoxJSXProps extends Partial<BoxProps>, Pick<BoxProps$1, 'id'> {
2751
- }
2752
-
2753
- export interface BoxClickOptions {
2754
- /**
2755
- * The event you want to influence the synthetic click.
2756
- */
2757
- sourceEvent?: BoxActivationEventEsque;
2758
- }
2759
-
2760
- export interface BoxActivationEventEsque {
2761
- shiftKey: boolean;
2762
- metaKey: boolean;
2763
- ctrlKey: boolean;
2764
- button: number;
2765
- }
2766
-
2767
- export interface BoxProps extends Pick<
2768
- RequiredBoxProps,
2769
- | 'accessibilityLabel'
2770
- | 'accessibilityRole'
2771
- | 'accessibilityVisibility'
2772
- | 'background'
2773
- | 'blockSize'
2774
- | 'border'
2775
- | 'borderColor'
2776
- | 'borderRadius'
2777
- | 'borderStyle'
2778
- | 'borderWidth'
2779
- | 'display'
2780
- | 'inlineSize'
2781
- | 'maxBlockSize'
2782
- | 'maxInlineSize'
2783
- | 'minBlockSize'
2784
- | 'minInlineSize'
2785
- | 'overflow'
2786
- > {
2787
- background: Extract<
2788
- RequiredBoxProps['background'],
2789
- 'transparent' | 'base' | 'subdued' | 'strong'
2790
- >;
2791
- borderWidth: | MaybeAllValuesShorthandProperty<
2792
- Extract<
2793
- RequiredBoxProps['borderWidth'],
2794
- 'small-100' | 'small' | 'base' | 'large' | 'large-100' | 'none'
2795
- >
2796
- >
2797
- | Extract<RequiredBoxProps['borderWidth'], ''>;
2798
- borderStyle: | MaybeAllValuesShorthandProperty<BoxBorderStyles>
2799
- | Extract<RequiredBoxProps['borderStyle'], ''>;
2800
- borderColor: Extract<
2801
- RequiredBoxProps['borderColor'],
2802
- 'subdued' | 'base' | 'strong' | ''
2803
- >;
2804
- borderRadius: MaybeAllValuesShorthandProperty<BoxBorderRadii>;
2805
- /**
2806
- * Adjust the padding of all edges.
2807
- *
2808
- * 1-to-4-value syntax (@see https://developer.mozilla.org/en-US/docs/Web/CSS/Shorthand_properties#edges_of_a_box) is
2809
- * supported. Note that, contrary to the CSS, it uses flow-relative values and the order is:
2810
- *
2811
- * - 4 values: `block-start inline-end block-end inline-start`
2812
- * - 3 values: `block-start inline block-end`
2813
- * - 2 values: `block inline`
2814
- *
2815
- * For example:
2816
- * - `large` means block-start, inline-end, block-end and inline-start paddings are `large`.
2817
- * - `large none` means block-start and block-end paddings are `large`, inline-start and inline-end paddings are `none`.
2818
- * - `large none large` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `none`.
2819
- * - `large none large small` means block-start padding is `large`, inline-end padding is `none`, block-end padding is `large` and inline-start padding is `small`.
2820
- *
2821
- * A padding value of `auto` will use the default padding for the closest container that has had its usual padding removed.
2822
- *
2823
- * `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`)
2824
- *
2825
- * This also accepts up to 4 values (e.g. `@container (inline-size > 500px) large-300 small-300 large-100 small-100, small-200`)
2826
- *
2827
- * @default 'none'
2828
- */
2829
- padding: ResponsiveBoxProps['padding'];
2830
- /**
2831
- * Adjust the block-padding.
2832
- *
2833
- * - `large none` means block-start padding is `large`, block-end padding is `none`.
2834
- *
2835
- * This overrides the block value of `padding`.
2836
- *
2837
- * `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`)
2838
- *
2839
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
2840
- *
2841
- * @default '' - meaning no override
2842
- */
2843
- paddingBlock: ResponsiveBoxProps['paddingBlock'];
2844
- /**
2845
- * Adjust the block-start padding.
2846
- *
2847
- * This overrides the block-start value of `paddingBlock`.
2848
- *
2849
- * `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`)
2850
- *
2851
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2852
- * @default '' - meaning no override
2853
- */
2854
- paddingBlockStart: ResponsiveBoxProps['paddingBlockStart'];
2855
- /**
2856
- * Adjust the block-end padding.
2857
- *
2858
- * This overrides the block-end value of `paddingBlock`.
2859
- *
2860
- * `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`)
2861
- *
2862
- * This only accepts up to 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2863
- * @default '' - meaning no override
2864
- */
2865
- paddingBlockEnd: ResponsiveBoxProps['paddingBlockEnd'];
2866
- /**
2867
- * Adjust the inline padding.
2868
- *
2869
- * - `large none` means inline-start padding is `large`, inline-end padding is `none`.
2870
- *
2871
- * This overrides the inline value of `padding`.
2872
- *
2873
- * `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`)
2874
- *
2875
- * This also accepts up to 2 values (e.g. `@container (inline-size > 500px) large-300 small-300, small-200`)
2876
- *
2877
- * @default '' - meaning no override
2878
- */
2879
- paddingInline: ResponsiveBoxProps['paddingInline'];
2880
- /**
2881
- * Adjust the inline-start padding.
2882
- *
2883
- * This overrides the inline-start value of `paddingInline`.
2884
- *
2885
- * `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`)
2886
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2887
- *
2888
- * @default '' - meaning no override
2889
- */
2890
- paddingInlineStart: ResponsiveBoxProps['paddingInlineStart'];
2891
- /**
2892
- * Adjust the inline-end padding.
2893
- *
2894
- * This overrides the inline-end value of `paddingInline`.
2895
- *
2896
- * `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`)
2897
- * This only accepts 1 value per predicate (e.g. `@container (inline-size > 500px) large-300, small-200`)
2898
- *
2899
- * @default '' - meaning no override
2900
- */
2901
- paddingInlineEnd: ResponsiveBoxProps['paddingInlineEnd'];
2902
- }
2903
-
2904
- declare const BoxtagName = 's-box';
2905
- declare const BoxBaseClass: typeof globalThis.HTMLElement;
2906
-
2907
- declare module 'preact' {
2908
- interface BaseProps {
2909
- children?: preact.ComponentChildren;
2910
- slot?: Lowercase<string>;
2911
- }
2912
-
2913
- namespace createElement.JSX {
2914
- interface IntrinsicElements {
2915
- [BannertagName]: Omit<BannerJSXProps, 'secondaryActions'> & BaseProps;
2916
- }
2917
- }
2918
- }
2919
-
2920
- declare global {
2921
- interface HTMLElementTagNameMap {
2922
- [BannertagName]: Banner;
2923
- }
2924
- }
2925
-
2926
- export interface BannerJSXProps extends Partial<BannerProps>, Pick<BannerProps$1, 'id'> {
2927
- /**
2928
- * The secondary actions to display at the bottom of the banner.
2929
- *
2930
- * A maximum of two `s-button` components are allowed, and only buttons with the `variant` of "secondary" are permitted.
2931
- */
2932
- secondaryActions?: ComponentChild;
2933
- onDismiss?: ((event: CallbackEvent<typeof BannertagName>) => void) | null;
2934
- onAfterHide?: ((event: CallbackEvent<typeof tagName>) => void) | null;
2935
- }
2936
-
2937
- export interface BannerClickOptions {
2938
- /**
2939
- * The event you want to influence the synthetic click.
2940
- */
2941
- sourceEvent?: BannerActivationEventEsque;
2942
- }
2943
-
2944
- export interface BannerActivationEventEsque {
2945
- shiftKey: boolean;
2946
- metaKey: boolean;
2947
- ctrlKey: boolean;
2948
- button: number;
2949
- }
2950
-
2951
- export interface BannerProps extends Pick<
2952
- RequiredBannerProps,
2953
- 'heading' | 'dismissible' | 'hidden' | 'tone'
2954
- > {
2955
- tone: Extract<
2956
- RequiredBannerProps['tone'],
2957
- 'auto' | 'critical' | 'warning' | 'success' | 'info'
2958
- >;
2959
- }
2960
-
2961
- declare const BannertagName = 's-banner';
2962
- declare const BannerBaseClass: typeof globalThis.HTMLElement;
2963
-
2964
- declare module 'preact' {
2965
- interface BaseProps {
2966
- children?: preact.ComponentChildren;
2967
- slot?: Lowercase<string>;
2968
- }
2969
-
2970
- namespace createElement.JSX {
2971
- interface IntrinsicElements {
2972
- [tagName]: BadgeJSXProps & BaseProps;
2973
- }
2974
- }
2975
- }
2976
-
2977
- declare global {
2978
- interface HTMLElementTagNameMap {
2979
- [tagName]: Badge;
2980
- }
2981
- }
2982
-
2983
- export interface BadgeJSXProps extends Partial<BadgeProps>, Pick<BadgeProps$1, 'id'> {
2984
- }
2985
-
2986
- export interface ClickOptions {
2987
- /**
2988
- * The event you want to influence the synthetic click.
2989
- */
2990
- sourceEvent?: ActivationEventEsque;
2991
- }
2992
-
2993
- export interface ActivationEventEsque {
2994
- shiftKey: boolean;
2995
- metaKey: boolean;
2996
- ctrlKey: boolean;
2997
- button: number;
2998
- }
2999
-
3000
- export interface BadgeProps extends Pick<BadgeProps$1, 'color' | 'size' | 'tone'> {
3001
- color: Extract<BadgeProps$1['color'], 'base' | 'strong'>;
3002
- icon: IconProps['type'] | '';
3003
- size: Extract<BadgeProps$1['size'], 'base' | 'large' | 'large-100'>;
3004
- tone: Extract<
3005
- BadgeProps$1['tone'],
3006
- 'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
3007
- >;
3008
- }
3009
-
3010
- export interface IconProps extends Pick<IconProps$1, 'type' | 'tone' | 'color' | 'size'> {
3011
- /**
3012
- * Specifies the type of icon that will be displayed.
3013
- */
3014
- type: '' | IconType | 'empty';
3015
- tone: Extract<
3016
- IconProps$1['tone'],
3017
- 'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical'
3018
- >;
3019
- color: Extract<IconProps$1['color'], 'base' | 'subdued'>;
3020
- size: Extract<IconProps$1['size'], 'small' | 'base'>;
3021
- }
3022
-
3023
- declare const tagName = 's-badge';
3024
- /**
3025
- * Base class for creating custom elements with Preact.
3026
- * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
3027
- * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
3028
- */
3029
- declare const BaseClass: typeof globalThis.HTMLElement;
3030
-
3031
- import { AdminPrintAction } from "../../../../../src/surfaces/admin/components/AdminPrintAction";
3032
- import { Badge, RenderImpl } from "../../../../../src/surfaces/admin/components/Badge";
3033
- import { Banner, CallbackEvent, RequiredBannerProps } from "../../../../../src/surfaces/admin/components/Banner";
3034
- import { Box, BoxBorderRadii, BoxBorderStyles, RequiredBoxProps, ResponsiveBoxProps } from "../../../../../src/surfaces/admin/components/Box";
3035
- import { Button, ButtonBaseProps } from "../../../../../src/surfaces/admin/components/Button";
3036
- import { Checkbox, PreactInputProps } from "../../../../../src/surfaces/admin/components/Checkbox";
3037
- import { Choice } from "../../../../../src/surfaces/admin/components/Choice";
3038
- import { ChoiceList } from "../../../../../src/surfaces/admin/components/ChoiceList";
3039
- import { Clickable, ClickableBaseProps } from "../../../../../src/surfaces/admin/components/Clickable";
3040
- import { DatePicker } from "../../../../../src/surfaces/admin/components/DatePicker";
3041
- import { Divider } from "../../../../../src/surfaces/admin/components/Divider";
3042
- import { EmailField, EmailFieldProps, PreactFieldProps } from "../../../../../src/surfaces/admin/components/EmailField";
3043
- import { Grid, ResponsiveGridProps } from "../../../../../src/surfaces/admin/components/Grid";
3044
- import { GridItem, RequiredGridItemProps } from "../../../../../src/surfaces/admin/components/GridItem";
3045
- import { Heading, RequiredHeadingProps } from "../../../../../src/surfaces/admin/components/Heading";
3046
- import { Icon } from "../../../../../src/surfaces/admin/components/Icon";
3047
- import { Link, RequiredLinkProps } from "../../../../../src/surfaces/admin/components/Link";
3048
- import { ListItem } from "../../../../../src/surfaces/admin/components/ListItem";
3049
- import { MoneyField, RequiredMoneyFieldProps } from "../../../../../src/surfaces/admin/components/MoneyField";
3050
- import { NumberField } from "../../../../../src/surfaces/admin/components/NumberField";
3051
- import { OptionGroup } from "../../../../../src/surfaces/admin/components/OptionGroup";
3052
- import { OrderedList } from "../../../../../src/surfaces/admin/components/OrderedList";
3053
- import { Paragraph } from "../../../../../src/surfaces/admin/components/Paragraph";
3054
- import { PasswordField, PasswordFieldProps } from "../../../../../src/surfaces/admin/components/PasswordField";
3055
- import { RequiredSectionProps, Section } from "../../../../../src/surfaces/admin/components/Section";
3056
- import { Select } from "../../../../../src/surfaces/admin/components/Select";
3057
- import { AdminPrintActionProps$1, BadgeProps$1, BannerProps$1, BoxProps$1, ButtonProps$1, CheckboxProps$1, ChoiceListProps$1, ChoiceProps$1, ClickableProps$1, ComponentChild, DatePickerProps$1, DividerProps$1, EmailFieldProps$1, GridItemProps$1, GridProps$1, HeadingProps$1, IconProps$1, IconType, ImageProps$1, InteractionProps, LinkProps$1, ListItemProps$1, MaybeAllValuesShorthandProperty, MoneyFieldProps$1, NumberFieldProps$1, OptionGroupProps$1, OptionProps$1, OrderedListProps$1, ParagraphProps$1, PasswordFieldProps$1, SectionProps$1, SelectProps$1, SpinnerProps$1, StackProps$1, TableBodyProps$1, TableCellProps$1, TableHeaderProps$1, TableHeaderRowProps$1, TableProps$1, TableRowProps$1, TextAreaProps$1, TextFieldProps$1, TextProps$1, URLFieldProps$1, UnorderedListProps$1 } from "../../../../../src/surfaces/admin/components/shared";
3058
- import { Spinner } from "../../../../../src/surfaces/admin/components/Spinner";
3059
- import { AlignedStackProps, ResponsiveStackProps, Stack } from "../../../../../src/surfaces/admin/components/Stack";
3060
- import { Table } from "../../../../../src/surfaces/admin/components/Table";
3061
- import { TableBody } from "../../../../../src/surfaces/admin/components/TableBody";
3062
- import { TableCell } from "../../../../../src/surfaces/admin/components/TableCell";
3063
- import { TableHeader } from "../../../../../src/surfaces/admin/components/TableHeader";
3064
- import { TableHeaderRow } from "../../../../../src/surfaces/admin/components/TableHeaderRow";
3065
- import { TableRow } from "../../../../../src/surfaces/admin/components/TableRow";
3066
- import { TextArea, TextAreaProps } from "../../../../../src/surfaces/admin/components/TextArea";
3067
- import { TextField, TextFieldProps } from "../../../../../src/surfaces/admin/components/TextField";
3068
- import { UnorderedList } from "../../../../../src/surfaces/admin/components/UnorderedList";
3069
- import { URLField, URLFieldProps } from "../../../../../src/surfaces/admin/components/URLField";
1
+ import "../components/AdminPrintAction.d.ts";
2
+ import "../components/Avatar.d.ts";
3
+ import "../components/Badge.d.ts";
4
+ import "../components/Banner.d.ts";
5
+ import "../components/Box.d.ts";
6
+ import "../components/Button.d.ts";
7
+ import "../components/ButtonGroup.d.ts";
8
+ import "../components/Checkbox.d.ts";
9
+ import "../components/Chip.d.ts";
10
+ import "../components/Choice.d.ts";
11
+ import "../components/ChoiceList.d.ts";
12
+ import "../components/Clickable.d.ts";
13
+ import "../components/ClickableChip.d.ts";
14
+ import "../components/DatePicker.d.ts";
15
+ import "../components/Divider.d.ts";
16
+ import "../components/EmailField.d.ts";
17
+ import "../components/Grid.d.ts";
18
+ import "../components/GridItem.d.ts";
19
+ import "../components/Heading.d.ts";
20
+ import "../components/Icon.d.ts";
21
+ import "../components/Image.d.ts";
22
+ import "../components/Link.d.ts";
23
+ import "../components/ListItem.d.ts";
24
+ import "../components/Menu.d.ts";
25
+ import "../components/MoneyField.d.ts";
26
+ import "../components/NumberField.d.ts";
27
+ import "../components/Option.d.ts";
28
+ import "../components/OptionGroup.d.ts";
29
+ import "../components/OrderedList.d.ts";
30
+ import "../components/Paragraph.d.ts";
31
+ import "../components/PasswordField.d.ts";
32
+ import "../components/QueryContainer.d.ts";
33
+ import "../components/Section.d.ts";
34
+ import "../components/Select.d.ts";
35
+ import "../components/Spinner.d.ts";
36
+ import "../components/Stack.d.ts";
37
+ import "../components/Table.d.ts";
38
+ import "../components/TableBody.d.ts";
39
+ import "../components/TableCell.d.ts";
40
+ import "../components/TableHeader.d.ts";
41
+ import "../components/TableHeaderRow.d.ts";
42
+ import "../components/TableRow.d.ts";
43
+ import "../components/Text.d.ts";
44
+ import "../components/TextArea.d.ts";
45
+ import "../components/TextField.d.ts";
46
+ import "../components/Thumbnail.d.ts";
47
+ import "../components/Tooltip.d.ts";
48
+ import "../components/UnorderedList.d.ts";
49
+ import "../components/URLField.d.ts";
3070
50
  import type { ExtensionTargets } from '../extension-targets';
51
+
3071
52
  type Target = ExtensionTargets['admin.order-details.print-action.render'];
3072
53
  export type Api = Target['api'];
3073
54
  export type Output = Target['output'];
3074
55
 
3075
- export type GlobalThis = typeof globalThis & {
3076
- shopify: Api;
3077
- }