@shopify/ui-extensions 2026.1.2 → 2026.1.3

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 (1049) hide show
  1. package/build/cjs/surfaces/checkout/shared.js +1 -10
  2. package/build/cjs/surfaces/customer-account/preact/metafield.js +1 -0
  3. package/build/cjs/surfaces/customer-account/preact/metafields.js +1 -0
  4. package/build/esm/surfaces/checkout/shared.mjs +1 -10
  5. package/build/esm/surfaces/customer-account/preact/metafield.mjs +1 -0
  6. package/build/esm/surfaces/customer-account/preact/metafields.mjs +1 -0
  7. package/build/esnext/surfaces/checkout/shared.esnext +1 -10
  8. package/build/esnext/surfaces/customer-account/preact/metafield.esnext +1 -0
  9. package/build/esnext/surfaces/customer-account/preact/metafields.esnext +1 -0
  10. package/build/ts/docs/shared/component-definitions.d.ts.map +1 -1
  11. package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -1
  12. package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
  13. package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
  14. package/build/ts/docs/shared/components/Box.d.ts.map +1 -1
  15. package/build/ts/docs/shared/components/Button.d.ts.map +1 -1
  16. package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -1
  17. package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
  18. package/build/ts/docs/shared/components/Chip.d.ts.map +1 -1
  19. package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
  20. package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
  21. package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
  22. package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -1
  23. package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -1
  24. package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -1
  25. package/build/ts/docs/shared/components/DateField.d.ts.map +1 -1
  26. package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
  27. package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
  28. package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
  29. package/build/ts/docs/shared/components/Form.d.ts.map +1 -1
  30. package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -1
  31. package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
  32. package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
  33. package/build/ts/docs/shared/components/Heading.d.ts.map +1 -1
  34. package/build/ts/docs/shared/components/Icon.d.ts.map +1 -1
  35. package/build/ts/docs/shared/components/Image.d.ts.map +1 -1
  36. package/build/ts/docs/shared/components/Link.d.ts.map +1 -1
  37. package/build/ts/docs/shared/components/ListItem.d.ts.map +1 -1
  38. package/build/ts/docs/shared/components/Menu.d.ts.map +1 -1
  39. package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
  40. package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
  41. package/build/ts/docs/shared/components/OrderedList.d.ts.map +1 -1
  42. package/build/ts/docs/shared/components/Paragraph.d.ts.map +1 -1
  43. package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
  44. package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -1
  45. package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
  46. package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
  47. package/build/ts/docs/shared/components/Spinner.d.ts.map +1 -1
  48. package/build/ts/docs/shared/components/Stack.d.ts.map +1 -1
  49. package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
  50. package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
  51. package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
  52. package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
  53. package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
  54. package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
  55. package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
  56. package/build/ts/docs/shared/components/Text.d.ts.map +1 -1
  57. package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
  58. package/build/ts/docs/shared/components/TextField.d.ts.map +1 -1
  59. package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -1
  60. package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -1
  61. package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
  62. package/build/ts/docs/shared/components/UnorderedList.d.ts.map +1 -1
  63. package/build/ts/shared.d.ts +6 -4
  64. package/build/ts/shared.d.ts.map +1 -1
  65. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +1 -8
  66. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
  67. package/build/ts/surfaces/admin/components/ActionExtensionComponents.d.ts +1 -1
  68. package/build/ts/surfaces/admin/components/AdminAction/AdminAction.ext.doc.d.ts.map +1 -1
  69. package/build/ts/surfaces/admin/components/AdminAction.d.ts +113 -12
  70. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
  71. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +109 -9
  72. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.ext.doc.d.ts.map +1 -1
  73. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +105 -9
  74. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -1
  75. package/build/ts/surfaces/admin/components/Avatar.d.ts +165 -13
  76. package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
  77. package/build/ts/surfaces/admin/components/Badge.d.ts +195 -24
  78. package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +1 -1
  79. package/build/ts/surfaces/admin/components/Banner.d.ts +161 -19
  80. package/build/ts/surfaces/admin/components/BlockExtensionComponents.d.ts +1 -1
  81. package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
  82. package/build/ts/surfaces/admin/components/Box.d.ts +260 -78
  83. package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
  84. package/build/ts/surfaces/admin/components/Button.d.ts +316 -56
  85. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
  86. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +138 -28
  87. package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
  88. package/build/ts/surfaces/admin/components/Checkbox.d.ts +193 -9
  89. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -1
  90. package/build/ts/surfaces/admin/components/Chip.d.ts +2 -4
  91. package/build/ts/surfaces/admin/components/Choice.d.ts +129 -27
  92. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  93. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +162 -15
  94. package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
  95. package/build/ts/surfaces/admin/components/Clickable.d.ts +202 -48
  96. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -1
  97. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +176 -30
  98. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -1
  99. package/build/ts/surfaces/admin/components/ColorField.d.ts +237 -23
  100. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -1
  101. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +160 -13
  102. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
  103. package/build/ts/surfaces/admin/components/DateField.d.ts +255 -27
  104. package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
  105. package/build/ts/surfaces/admin/components/DatePicker.d.ts +201 -12
  106. package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts.map +1 -1
  107. package/build/ts/surfaces/admin/components/Divider.d.ts +147 -13
  108. package/build/ts/surfaces/admin/components/DropZone/DropZone.doc.d.ts.map +1 -1
  109. package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts.map +1 -1
  110. package/build/ts/surfaces/admin/components/EmailField.d.ts +219 -12
  111. package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
  112. package/build/ts/surfaces/admin/components/Form.d.ts +125 -10
  113. package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +1 -1
  114. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -1
  115. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +139 -9
  116. package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +1 -1
  117. package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
  118. package/build/ts/surfaces/admin/components/Grid.d.ts +307 -73
  119. package/build/ts/surfaces/admin/components/GridItem.d.ts +270 -37
  120. package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
  121. package/build/ts/surfaces/admin/components/Heading.d.ts +128 -29
  122. package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -1
  123. package/build/ts/surfaces/admin/components/Icon.d.ts +150 -27
  124. package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -1
  125. package/build/ts/surfaces/admin/components/Image.d.ts +290 -36
  126. package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
  127. package/build/ts/surfaces/admin/components/Link.d.ts +141 -39
  128. package/build/ts/surfaces/admin/components/ListItem.d.ts +119 -16
  129. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -1
  130. package/build/ts/surfaces/admin/components/Menu.d.ts +160 -29
  131. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -1
  132. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts.map +1 -1
  133. package/build/ts/surfaces/admin/components/MoneyField.d.ts +218 -12
  134. package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +1 -1
  135. package/build/ts/surfaces/admin/components/NumberField.d.ts +230 -12
  136. package/build/ts/surfaces/admin/components/Option.d.ts +122 -14
  137. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +116 -16
  138. package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  139. package/build/ts/surfaces/admin/components/OrderedList.d.ts +117 -18
  140. package/build/ts/surfaces/admin/components/Page/Page.ab.doc.d.ts.map +1 -1
  141. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
  142. package/build/ts/surfaces/admin/components/Paragraph.d.ts +162 -38
  143. package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +1 -1
  144. package/build/ts/surfaces/admin/components/PasswordField.d.ts +226 -19
  145. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
  146. package/build/ts/surfaces/admin/components/PrintActionExtensionComponents.d.ts +1 -1
  147. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
  148. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +127 -18
  149. package/build/ts/surfaces/admin/components/SearchField/SearchField.doc.d.ts.map +1 -1
  150. package/build/ts/surfaces/admin/components/SearchField.d.ts +212 -18
  151. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
  152. package/build/ts/surfaces/admin/components/Section.d.ts +143 -26
  153. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  154. package/build/ts/surfaces/admin/components/Select.d.ts +209 -33
  155. package/build/ts/surfaces/admin/components/Spinner/Spinner.doc.d.ts.map +1 -1
  156. package/build/ts/surfaces/admin/components/Spinner.d.ts +127 -13
  157. package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
  158. package/build/ts/surfaces/admin/components/Stack.d.ts +297 -65
  159. package/build/ts/surfaces/admin/components/Switch/Switch.doc.d.ts.map +1 -1
  160. package/build/ts/surfaces/admin/components/Switch.d.ts +185 -17
  161. package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
  162. package/build/ts/surfaces/admin/components/Table.d.ts +237 -18
  163. package/build/ts/surfaces/admin/components/TableBody.d.ts +122 -16
  164. package/build/ts/surfaces/admin/components/TableCell.d.ts +125 -12
  165. package/build/ts/surfaces/admin/components/TableHeader.d.ts +137 -16
  166. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +122 -16
  167. package/build/ts/surfaces/admin/components/TableRow.d.ts +125 -16
  168. package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
  169. package/build/ts/surfaces/admin/components/Text.d.ts +192 -38
  170. package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +1 -1
  171. package/build/ts/surfaces/admin/components/TextArea.d.ts +217 -12
  172. package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +1 -1
  173. package/build/ts/surfaces/admin/components/TextField.d.ts +232 -38
  174. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -1
  175. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +158 -13
  176. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
  177. package/build/ts/surfaces/admin/components/Tooltip.d.ts +157 -29
  178. package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +1 -1
  179. package/build/ts/surfaces/admin/components/URLField.d.ts +231 -19
  180. package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  181. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +117 -18
  182. package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts +2 -2
  183. package/build/ts/surfaces/admin/components/patterns/accountConnection.ab.doc.d.ts.map +1 -1
  184. package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts +2 -2
  185. package/build/ts/surfaces/admin/components/patterns/appCard.ab.doc.d.ts.map +1 -1
  186. package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts +2 -2
  187. package/build/ts/surfaces/admin/components/patterns/calloutCard.ab.doc.d.ts.map +1 -1
  188. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +2 -2
  189. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -1
  190. package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts +2 -2
  191. package/build/ts/surfaces/admin/components/patterns/emptyState.ab.doc.d.ts.map +1 -1
  192. package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts +2 -2
  193. package/build/ts/surfaces/admin/components/patterns/footerHelp.ab.doc.d.ts.map +1 -1
  194. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +2 -2
  195. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -1
  196. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +2 -2
  197. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -1
  198. package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
  199. package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts +2 -2
  200. package/build/ts/surfaces/admin/components/patterns/interstitialNav.ab.doc.d.ts.map +1 -1
  201. package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts +2 -2
  202. package/build/ts/surfaces/admin/components/patterns/mediaCard.ab.doc.d.ts.map +1 -1
  203. package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts +2 -2
  204. package/build/ts/surfaces/admin/components/patterns/metricsCard.ab.doc.d.ts.map +1 -1
  205. package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts +2 -2
  206. package/build/ts/surfaces/admin/components/patterns/resourceList.ab.doc.d.ts.map +1 -1
  207. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +2 -2
  208. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -1
  209. package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts +2 -2
  210. package/build/ts/surfaces/admin/components/patterns/setupGuide.ab.doc.d.ts.map +1 -1
  211. package/build/ts/surfaces/admin/components/shared.d.ts +845 -931
  212. package/build/ts/surfaces/admin/docs-types.d.ts +7 -1
  213. package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
  214. package/build/ts/surfaces/admin/extension-targets.d.ts +6 -6
  215. package/build/ts/surfaces/checkout/api/docs.d.ts +0 -2
  216. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  217. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +0 -18
  218. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  219. package/build/ts/surfaces/checkout/shared.d.ts +8 -11
  220. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  221. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +356 -317
  222. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  223. package/build/ts/surfaces/customer-account/api/shared.d.ts +84 -97
  224. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  225. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +8 -10
  226. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  227. package/build/ts/surfaces/customer-account/components/Abbreviation/Abbreviation.doc.d.ts +4 -0
  228. package/build/ts/surfaces/customer-account/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -0
  229. package/build/ts/surfaces/customer-account/components/Announcement/Announcement.doc.d.ts +4 -0
  230. package/build/ts/surfaces/customer-account/components/Announcement/Announcement.doc.d.ts.map +1 -0
  231. package/build/ts/surfaces/customer-account/components/Badge/Badge.doc.d.ts +4 -0
  232. package/build/ts/surfaces/customer-account/components/Badge/Badge.doc.d.ts.map +1 -0
  233. package/build/ts/surfaces/customer-account/components/Banner/Banner.doc.d.ts +4 -0
  234. package/build/ts/surfaces/customer-account/components/Banner/Banner.doc.d.ts.map +1 -0
  235. package/build/ts/surfaces/customer-account/components/Box/Box.doc.d.ts +4 -0
  236. package/build/ts/surfaces/customer-account/components/Box/Box.doc.d.ts.map +1 -0
  237. package/build/ts/surfaces/customer-account/components/Button/Button.doc.d.ts +4 -0
  238. package/build/ts/surfaces/customer-account/components/Button/Button.doc.d.ts.map +1 -0
  239. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
  240. package/build/ts/surfaces/customer-account/components/Checkbox/Checkbox.doc.d.ts +4 -0
  241. package/build/ts/surfaces/customer-account/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
  242. package/build/ts/surfaces/customer-account/components/Chip/Chip.doc.d.ts +4 -0
  243. package/build/ts/surfaces/customer-account/components/Chip/Chip.doc.d.ts.map +1 -0
  244. package/build/ts/surfaces/customer-account/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  245. package/build/ts/surfaces/customer-account/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  246. package/build/ts/surfaces/customer-account/components/Clickable/Clickable.doc.d.ts +4 -0
  247. package/build/ts/surfaces/customer-account/components/Clickable/Clickable.doc.d.ts.map +1 -0
  248. package/build/ts/surfaces/customer-account/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
  249. package/build/ts/surfaces/customer-account/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
  250. package/build/ts/surfaces/customer-account/components/ClipboardItem/ClipboardItem.doc.d.ts +4 -0
  251. package/build/ts/surfaces/customer-account/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -0
  252. package/build/ts/surfaces/customer-account/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
  253. package/build/ts/surfaces/customer-account/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
  254. package/build/ts/surfaces/customer-account/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
  255. package/build/ts/surfaces/customer-account/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
  256. package/build/ts/surfaces/customer-account/components/DateField/DateField.doc.d.ts +4 -0
  257. package/build/ts/surfaces/customer-account/components/DateField/DateField.doc.d.ts.map +1 -0
  258. package/build/ts/surfaces/customer-account/components/DatePicker/DatePicker.doc.d.ts +4 -0
  259. package/build/ts/surfaces/customer-account/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  260. package/build/ts/surfaces/customer-account/components/Details/Details.doc.d.ts +4 -0
  261. package/build/ts/surfaces/customer-account/components/Details/Details.doc.d.ts.map +1 -0
  262. package/build/ts/surfaces/customer-account/components/Divider/Divider.doc.d.ts +4 -0
  263. package/build/ts/surfaces/customer-account/components/Divider/Divider.doc.d.ts.map +1 -0
  264. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts +4 -0
  265. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts.map +1 -0
  266. package/build/ts/surfaces/customer-account/components/EmailField/EmailField.doc.d.ts +4 -0
  267. package/build/ts/surfaces/customer-account/components/EmailField/EmailField.doc.d.ts.map +1 -0
  268. package/build/ts/surfaces/customer-account/components/Form/Form.doc.d.ts +4 -0
  269. package/build/ts/surfaces/customer-account/components/Form/Form.doc.d.ts.map +1 -0
  270. package/build/ts/surfaces/customer-account/components/Grid/Grid.doc.d.ts +4 -0
  271. package/build/ts/surfaces/customer-account/components/Grid/Grid.doc.d.ts.map +1 -0
  272. package/build/ts/surfaces/customer-account/components/Heading/Heading.doc.d.ts +4 -0
  273. package/build/ts/surfaces/customer-account/components/Heading/Heading.doc.d.ts.map +1 -0
  274. package/build/ts/surfaces/customer-account/components/Icon/Icon.doc.d.ts +4 -0
  275. package/build/ts/surfaces/customer-account/components/Icon/Icon.doc.d.ts.map +1 -0
  276. package/build/ts/surfaces/customer-account/components/Image/Image.doc.d.ts +4 -0
  277. package/build/ts/surfaces/customer-account/components/Image/Image.doc.d.ts.map +1 -0
  278. package/build/ts/surfaces/customer-account/components/Link/Link.doc.d.ts +4 -0
  279. package/build/ts/surfaces/customer-account/components/Link/Link.doc.d.ts.map +1 -0
  280. package/build/ts/surfaces/customer-account/components/Map/Map.doc.d.ts +4 -0
  281. package/build/ts/surfaces/customer-account/components/Map/Map.doc.d.ts.map +1 -0
  282. package/build/ts/surfaces/customer-account/components/Modal/Modal.doc.d.ts +4 -0
  283. package/build/ts/surfaces/customer-account/components/Modal/Modal.doc.d.ts.map +1 -0
  284. package/build/ts/surfaces/customer-account/components/MoneyField/MoneyField.doc.d.ts +4 -0
  285. package/build/ts/surfaces/customer-account/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
  286. package/build/ts/surfaces/customer-account/components/NumberField/NumberField.doc.d.ts +4 -0
  287. package/build/ts/surfaces/customer-account/components/NumberField/NumberField.doc.d.ts.map +1 -0
  288. package/build/ts/surfaces/customer-account/components/OrderedList/OrderedList.doc.d.ts +4 -0
  289. package/build/ts/surfaces/customer-account/components/OrderedList/OrderedList.doc.d.ts.map +1 -0
  290. package/build/ts/surfaces/customer-account/components/Paragraph/Paragraph.doc.d.ts +4 -0
  291. package/build/ts/surfaces/customer-account/components/Paragraph/Paragraph.doc.d.ts.map +1 -0
  292. package/build/ts/surfaces/customer-account/components/PasswordField/PasswordField.doc.d.ts +4 -0
  293. package/build/ts/surfaces/customer-account/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
  294. package/build/ts/surfaces/customer-account/components/PaymentIcon/PaymentIcon.doc.d.ts +4 -0
  295. package/build/ts/surfaces/customer-account/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -0
  296. package/build/ts/surfaces/customer-account/components/PhoneField/PhoneField.doc.d.ts +4 -0
  297. package/build/ts/surfaces/customer-account/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
  298. package/build/ts/surfaces/customer-account/components/Popover/Popover.doc.d.ts +4 -0
  299. package/build/ts/surfaces/customer-account/components/Popover/Popover.doc.d.ts.map +1 -0
  300. package/build/ts/surfaces/customer-account/components/PressButton/PressButton.doc.d.ts +4 -0
  301. package/build/ts/surfaces/customer-account/components/PressButton/PressButton.doc.d.ts.map +1 -0
  302. package/build/ts/surfaces/customer-account/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
  303. package/build/ts/surfaces/customer-account/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
  304. package/build/ts/surfaces/customer-account/components/Progress/Progress.doc.d.ts +4 -0
  305. package/build/ts/surfaces/customer-account/components/Progress/Progress.doc.d.ts.map +1 -0
  306. package/build/ts/surfaces/customer-account/components/QRCode/QRCode.doc.d.ts +4 -0
  307. package/build/ts/surfaces/customer-account/components/QRCode/QRCode.doc.d.ts.map +1 -0
  308. package/build/ts/surfaces/customer-account/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  309. package/build/ts/surfaces/customer-account/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  310. package/build/ts/surfaces/customer-account/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
  311. package/build/ts/surfaces/customer-account/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
  312. package/build/ts/surfaces/customer-account/components/Select/Select.doc.d.ts +4 -0
  313. package/build/ts/surfaces/customer-account/components/Select/Select.doc.d.ts.map +1 -0
  314. package/build/ts/surfaces/customer-account/components/Sheet/Sheet.doc.d.ts +4 -0
  315. package/build/ts/surfaces/customer-account/components/Sheet/Sheet.doc.d.ts.map +1 -0
  316. package/build/ts/surfaces/customer-account/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
  317. package/build/ts/surfaces/customer-account/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
  318. package/build/ts/surfaces/customer-account/components/Spinner/Spinner.doc.d.ts +4 -0
  319. package/build/ts/surfaces/customer-account/components/Spinner/Spinner.doc.d.ts.map +1 -0
  320. package/build/ts/surfaces/customer-account/components/Stack/Stack.doc.d.ts +4 -0
  321. package/build/ts/surfaces/customer-account/components/Stack/Stack.doc.d.ts.map +1 -0
  322. package/build/ts/surfaces/customer-account/components/Switch/Switch.doc.d.ts +4 -0
  323. package/build/ts/surfaces/customer-account/components/Switch/Switch.doc.d.ts.map +1 -0
  324. package/build/ts/surfaces/customer-account/components/Text/Text.doc.d.ts +4 -0
  325. package/build/ts/surfaces/customer-account/components/Text/Text.doc.d.ts.map +1 -0
  326. package/build/ts/surfaces/customer-account/components/TextArea/TextArea.doc.d.ts +4 -0
  327. package/build/ts/surfaces/customer-account/components/TextArea/TextArea.doc.d.ts.map +1 -0
  328. package/build/ts/surfaces/customer-account/components/TextField/TextField.doc.d.ts +4 -0
  329. package/build/ts/surfaces/customer-account/components/TextField/TextField.doc.d.ts.map +1 -0
  330. package/build/ts/surfaces/customer-account/components/Time/Time.doc.d.ts +4 -0
  331. package/build/ts/surfaces/customer-account/components/Time/Time.doc.d.ts.map +1 -0
  332. package/build/ts/surfaces/customer-account/components/Tooltip/Tooltip.doc.d.ts +4 -0
  333. package/build/ts/surfaces/customer-account/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
  334. package/build/ts/surfaces/customer-account/components/URLField/URLField.doc.d.ts +4 -0
  335. package/build/ts/surfaces/customer-account/components/URLField/URLField.doc.d.ts.map +1 -0
  336. package/build/ts/surfaces/customer-account/components/UnorderedList/UnorderedList.doc.d.ts +4 -0
  337. package/build/ts/surfaces/customer-account/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -0
  338. package/build/ts/surfaces/customer-account/preact/metafield.d.ts +1 -0
  339. package/build/ts/surfaces/customer-account/preact/metafield.d.ts.map +1 -1
  340. package/build/ts/surfaces/customer-account/preact/metafields.d.ts +1 -0
  341. package/build/ts/surfaces/customer-account/preact/metafields.d.ts.map +1 -1
  342. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +1 -1
  343. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +1 -1
  344. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
  345. package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +2 -2
  346. package/build/ts/surfaces/point-of-sale/components/Link.d.ts +1 -1
  347. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +10 -10
  348. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +1 -1
  349. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +1 -1
  350. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +55 -55
  351. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +2 -2
  352. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
  353. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +23 -2
  354. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
  355. package/build/tsconfig.tsbuildinfo +1 -1
  356. package/package.json +1 -1
  357. package/src/docs/shared/component-definitions.ts +15 -5
  358. package/src/docs/shared/components/Abbreviation.ts +2 -2
  359. package/src/docs/shared/components/Announcement.ts +2 -2
  360. package/src/docs/shared/components/Avatar.ts +3 -2
  361. package/src/docs/shared/components/Badge.ts +3 -2
  362. package/src/docs/shared/components/Banner.ts +3 -2
  363. package/src/docs/shared/components/Box.ts +3 -2
  364. package/src/docs/shared/components/Button.ts +3 -2
  365. package/src/docs/shared/components/ButtonGroup.ts +5 -3
  366. package/src/docs/shared/components/Checkbox.ts +3 -2
  367. package/src/docs/shared/components/Chip.ts +3 -2
  368. package/src/docs/shared/components/Choice.ts +3 -2
  369. package/src/docs/shared/components/ChoiceList.ts +4 -3
  370. package/src/docs/shared/components/Clickable.ts +3 -2
  371. package/src/docs/shared/components/ClickableChip.ts +4 -3
  372. package/src/docs/shared/components/ClipboardItem.ts +3 -3
  373. package/src/docs/shared/components/ColorField.ts +4 -3
  374. package/src/docs/shared/components/ColorPicker.ts +5 -3
  375. package/src/docs/shared/components/ConsentCheckbox.ts +2 -2
  376. package/src/docs/shared/components/ConsentPhoneField.ts +2 -2
  377. package/src/docs/shared/components/DateField.ts +5 -3
  378. package/src/docs/shared/components/DatePicker.ts +5 -3
  379. package/src/docs/shared/components/Details.ts +2 -2
  380. package/src/docs/shared/components/Divider.ts +3 -2
  381. package/src/docs/shared/components/DropZone.ts +3 -3
  382. package/src/docs/shared/components/EmailField.ts +4 -3
  383. package/src/docs/shared/components/Form.ts +3 -2
  384. package/src/docs/shared/components/FunctionSettings.ts +5 -20
  385. package/src/docs/shared/components/Grid.ts +3 -2
  386. package/src/docs/shared/components/GridItem.ts +6 -4
  387. package/src/docs/shared/components/Heading.ts +3 -2
  388. package/src/docs/shared/components/Icon.ts +3 -2
  389. package/src/docs/shared/components/Image.ts +3 -2
  390. package/src/docs/shared/components/Link.ts +3 -2
  391. package/src/docs/shared/components/ListItem.ts +5 -4
  392. package/src/docs/shared/components/Map.ts +2 -2
  393. package/src/docs/shared/components/MapMarker.ts +3 -3
  394. package/src/docs/shared/components/Menu.ts +3 -2
  395. package/src/docs/shared/components/Modal.ts +2 -2
  396. package/src/docs/shared/components/MoneyField.ts +4 -3
  397. package/src/docs/shared/components/NumberField.ts +4 -3
  398. package/src/docs/shared/components/Option.ts +1 -1
  399. package/src/docs/shared/components/OptionGroup.ts +2 -2
  400. package/src/docs/shared/components/OrderedList.ts +4 -3
  401. package/src/docs/shared/components/Page.ts +3 -3
  402. package/src/docs/shared/components/Paragraph.ts +3 -2
  403. package/src/docs/shared/components/PasswordField.ts +5 -3
  404. package/src/docs/shared/components/PaymentIcon.ts +3 -3
  405. package/src/docs/shared/components/PhoneField.ts +2 -2
  406. package/src/docs/shared/components/Popover.ts +2 -2
  407. package/src/docs/shared/components/PressButton.ts +2 -2
  408. package/src/docs/shared/components/ProductThumbnail.ts +3 -3
  409. package/src/docs/shared/components/Progress.ts +2 -2
  410. package/src/docs/shared/components/QRCode.ts +3 -3
  411. package/src/docs/shared/components/QueryContainer.ts +4 -3
  412. package/src/docs/shared/components/ScrollBox.ts +3 -3
  413. package/src/docs/shared/components/SearchField.ts +3 -3
  414. package/src/docs/shared/components/Section.ts +3 -2
  415. package/src/docs/shared/components/Select.ts +3 -2
  416. package/src/docs/shared/components/Sheet.ts +1 -1
  417. package/src/docs/shared/components/SkeletonParagraph.ts +3 -3
  418. package/src/docs/shared/components/Spinner.ts +3 -2
  419. package/src/docs/shared/components/Stack.ts +3 -2
  420. package/src/docs/shared/components/Summary.ts +2 -2
  421. package/src/docs/shared/components/Switch.ts +4 -2
  422. package/src/docs/shared/components/Table.ts +3 -2
  423. package/src/docs/shared/components/TableBody.ts +4 -3
  424. package/src/docs/shared/components/TableCell.ts +5 -3
  425. package/src/docs/shared/components/TableHeader.ts +5 -3
  426. package/src/docs/shared/components/TableHeaderRow.ts +4 -3
  427. package/src/docs/shared/components/TableRow.ts +5 -3
  428. package/src/docs/shared/components/Text.ts +3 -2
  429. package/src/docs/shared/components/TextArea.ts +4 -3
  430. package/src/docs/shared/components/TextField.ts +4 -3
  431. package/src/docs/shared/components/Thumbnail.ts +3 -2
  432. package/src/docs/shared/components/Time.ts +2 -2
  433. package/src/docs/shared/components/Tooltip.ts +3 -2
  434. package/src/docs/shared/components/URLField.ts +4 -3
  435. package/src/docs/shared/components/UnorderedList.ts +4 -3
  436. package/src/shared.ts +6 -4
  437. package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +1 -8
  438. package/src/surfaces/admin/api/print-action/examples/custom-product-labels.jsx +17 -14
  439. package/src/surfaces/admin/api/print-action/examples/generate-packing-slip.jsx +18 -12
  440. package/src/surfaces/admin/api/print-action/examples/shipping-manifest.jsx +11 -12
  441. package/src/surfaces/admin/components/ActionExtensionComponents.ts +1 -1
  442. package/src/surfaces/admin/components/{ButtonGroup/examples/default.jsx → AdminAction/examples/default.html} +3 -2
  443. package/src/surfaces/admin/components/AdminAction/examples/destructive-action.html +10 -0
  444. package/src/surfaces/admin/components/AdminAction/examples/loading-state.html +5 -0
  445. package/src/surfaces/admin/components/AdminAction/examples/with-form-content.html +8 -0
  446. package/src/surfaces/admin/components/AdminAction/examples/with-resource-details.html +15 -0
  447. package/src/surfaces/admin/components/AdminAction.d.ts +113 -12
  448. package/src/surfaces/admin/components/AdminBlock/examples/default.html +3 -0
  449. package/src/surfaces/admin/components/AdminBlock/examples/with-actions.html +14 -0
  450. package/src/surfaces/admin/components/AdminBlock/examples/with-badges.html +14 -0
  451. package/src/surfaces/admin/components/AdminBlock/examples/with-collapsed-summary.html +7 -0
  452. package/src/surfaces/admin/components/AdminBlock/examples/with-data-table.html +21 -0
  453. package/src/surfaces/admin/components/AdminBlock.d.ts +109 -9
  454. package/src/surfaces/admin/components/AdminPrintAction/examples/default.html +1 -0
  455. package/src/surfaces/admin/components/AdminPrintAction/examples/dynamic-url.html +1 -0
  456. package/src/surfaces/admin/components/AdminPrintAction/examples/pdf-source.html +1 -0
  457. package/src/surfaces/admin/components/AdminPrintAction.d.ts +105 -9
  458. package/src/surfaces/admin/components/Avatar.d.ts +165 -13
  459. package/src/surfaces/admin/components/Badge.d.ts +195 -24
  460. package/src/surfaces/admin/components/Banner.d.ts +161 -19
  461. package/src/surfaces/admin/components/BlockExtensionComponents.ts +1 -1
  462. package/src/surfaces/admin/components/Box/examples/accessible-status-messages.html +8 -14
  463. package/src/surfaces/admin/components/Box/examples/screen-reader-only-content.html +3 -0
  464. package/src/surfaces/admin/components/Box.d.ts +260 -78
  465. package/src/surfaces/admin/components/Button/examples/component-interactions.html +8 -6
  466. package/src/surfaces/admin/components/Button/examples/icon-only-button.html +17 -1
  467. package/src/surfaces/admin/components/Button.d.ts +316 -56
  468. package/src/surfaces/admin/components/ButtonGroup.d.ts +138 -28
  469. package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.html +10 -0
  470. package/src/surfaces/admin/components/Checkbox/examples/validation-example.html +9 -0
  471. package/src/surfaces/admin/components/Checkbox.d.ts +193 -9
  472. package/src/surfaces/admin/components/Chip/examples/default.html +1 -1
  473. package/src/surfaces/admin/components/Chip.d.ts +2 -4
  474. package/src/surfaces/admin/components/Choice.d.ts +129 -27
  475. package/src/surfaces/admin/components/ChoiceList/examples/disabled-state.html +5 -0
  476. package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.html +2 -3
  477. package/src/surfaces/admin/components/ChoiceList.d.ts +162 -15
  478. package/src/surfaces/admin/components/Clickable.d.ts +202 -48
  479. package/src/surfaces/admin/components/ClickableChip.d.ts +176 -30
  480. package/src/surfaces/admin/components/ColorField/examples/default.html +4 -1
  481. package/src/surfaces/admin/components/ColorField/examples/validation-example.html +12 -0
  482. package/src/surfaces/admin/components/ColorField.d.ts +237 -23
  483. package/src/surfaces/admin/components/ColorPicker/examples/default.html +1 -1
  484. package/src/surfaces/admin/components/ColorPicker.d.ts +160 -13
  485. package/src/surfaces/admin/components/DateField.d.ts +255 -27
  486. package/src/surfaces/admin/components/DatePicker.d.ts +201 -12
  487. package/src/surfaces/admin/components/Divider.d.ts +147 -13
  488. package/src/surfaces/admin/components/DropZone/examples/upload-with-validation.html +42 -0
  489. package/src/surfaces/admin/components/EmailField/examples/disabled-state.html +5 -0
  490. package/src/surfaces/admin/components/EmailField.d.ts +219 -12
  491. package/src/surfaces/admin/components/Form/examples/default.html +1 -1
  492. package/src/surfaces/admin/components/Form/examples/with-choice-fields.html +12 -0
  493. package/src/surfaces/admin/components/Form/examples/with-multiple-fields.html +12 -0
  494. package/src/surfaces/admin/components/Form/examples/with-sections.html +21 -0
  495. package/src/surfaces/admin/components/Form/examples/with-validation.html +7 -0
  496. package/src/surfaces/admin/components/Form.d.ts +125 -10
  497. package/src/surfaces/admin/components/FormExtensionComponents.ts +1 -1
  498. package/src/surfaces/admin/components/FunctionSettings/examples/default.html +9 -0
  499. package/src/surfaces/admin/components/FunctionSettings/examples/with-multiple-settings.html +16 -0
  500. package/src/surfaces/admin/components/FunctionSettings/examples/with-select-options.html +10 -0
  501. package/src/surfaces/admin/components/FunctionSettings/examples/with-toggle.html +13 -0
  502. package/src/surfaces/admin/components/FunctionSettings/examples/with-validation.html +23 -0
  503. package/src/surfaces/admin/components/FunctionSettings.d.ts +139 -9
  504. package/src/surfaces/admin/components/FunctionSettingsComponents.ts +1 -1
  505. package/src/surfaces/admin/components/Grid.d.ts +307 -73
  506. package/src/surfaces/admin/components/GridItem.d.ts +270 -37
  507. package/src/surfaces/admin/components/Heading.d.ts +128 -29
  508. package/src/surfaces/admin/components/Icon.d.ts +150 -27
  509. package/src/surfaces/admin/components/Image/examples/basic-usage.html +15 -4
  510. package/src/surfaces/admin/components/Image.d.ts +290 -36
  511. package/src/surfaces/admin/components/Link/examples/default.html +1 -1
  512. package/src/surfaces/admin/components/Link.d.ts +141 -39
  513. package/src/surfaces/admin/components/ListItem.d.ts +119 -16
  514. package/src/surfaces/admin/components/Menu/examples/{menu-with-icons.html → icon-only-trigger.html} +7 -2
  515. package/src/surfaces/admin/components/Menu.d.ts +160 -29
  516. package/src/surfaces/admin/components/Modal/examples/delete-with-async-handling.html +28 -0
  517. package/src/surfaces/admin/components/MoneyField/examples/basic-field.html +0 -1
  518. package/src/surfaces/admin/components/MoneyField.d.ts +218 -12
  519. package/src/surfaces/admin/components/NumberField/examples/disabled-and-read-only.html +15 -0
  520. package/src/surfaces/admin/components/NumberField/examples/{basic-usage.html → with-error-state.html} +3 -1
  521. package/src/surfaces/admin/components/NumberField.d.ts +230 -12
  522. package/src/surfaces/admin/components/Option.d.ts +122 -14
  523. package/src/surfaces/admin/components/OptionGroup.d.ts +116 -16
  524. package/src/surfaces/admin/components/OrderedList/examples/default.html +3 -3
  525. package/src/surfaces/admin/components/OrderedList.d.ts +117 -18
  526. package/src/surfaces/admin/components/Page/examples/edit-page-with-all-slots.html +36 -0
  527. package/src/surfaces/admin/components/Paragraph/examples/subdued-color.html +3 -0
  528. package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.html +13 -1
  529. package/src/surfaces/admin/components/Paragraph.d.ts +162 -38
  530. package/src/surfaces/admin/components/PasswordField.d.ts +226 -19
  531. package/src/surfaces/admin/components/Popover/examples/filter-with-apply-and-clear.html +35 -0
  532. package/src/surfaces/admin/components/PrintActionExtensionComponents.ts +1 -1
  533. package/src/surfaces/admin/components/QueryContainer.d.ts +127 -18
  534. package/src/surfaces/admin/components/SearchField.d.ts +212 -18
  535. package/src/surfaces/admin/components/Section.d.ts +143 -26
  536. package/src/surfaces/admin/components/Select/examples/with-error-state.html +2 -2
  537. package/src/surfaces/admin/components/Select/examples/with-option-groups.html +4 -4
  538. package/src/surfaces/admin/components/Select.d.ts +209 -33
  539. package/src/surfaces/admin/components/Spinner/examples/spinner-sizes.html +5 -0
  540. package/src/surfaces/admin/components/Spinner.d.ts +127 -13
  541. package/src/surfaces/admin/components/Stack.d.ts +297 -65
  542. package/src/surfaces/admin/components/Switch/examples/disabled-switch.html +2 -2
  543. package/src/surfaces/admin/components/Switch/examples/form-integration.html +15 -12
  544. package/src/surfaces/admin/components/Switch/examples/hidden-label-for-accessibility.html +1 -1
  545. package/src/surfaces/admin/components/Switch/examples/settings-panel-with-stack.html +1 -1
  546. package/src/surfaces/admin/components/Switch/examples/with-details-and-error.html +1 -1
  547. package/src/surfaces/admin/components/Switch.d.ts +185 -17
  548. package/src/surfaces/admin/components/Table/examples/{basic-usage.jsx → with-filters.html} +2 -13
  549. package/src/surfaces/admin/components/Table.d.ts +237 -18
  550. package/src/surfaces/admin/components/TableBody.d.ts +122 -16
  551. package/src/surfaces/admin/components/TableCell.d.ts +125 -12
  552. package/src/surfaces/admin/components/TableHeader.d.ts +137 -16
  553. package/src/surfaces/admin/components/TableHeaderRow.d.ts +122 -16
  554. package/src/surfaces/admin/components/TableRow.d.ts +125 -16
  555. package/src/surfaces/admin/components/Text.d.ts +192 -38
  556. package/src/surfaces/admin/components/TextArea/examples/disabled-and-read-only.html +15 -0
  557. package/src/surfaces/admin/components/TextArea.d.ts +217 -12
  558. package/src/surfaces/admin/components/TextField/examples/disabled-and-read-only.html +13 -0
  559. package/src/surfaces/admin/components/TextField.d.ts +232 -38
  560. package/src/surfaces/admin/components/Thumbnail/examples/default.html +1 -1
  561. package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.html +3 -3
  562. package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.html +22 -9
  563. package/src/surfaces/admin/components/Thumbnail.d.ts +158 -13
  564. package/src/surfaces/admin/components/Tooltip/examples/basic-usage.html +2 -4
  565. package/src/surfaces/admin/components/Tooltip/examples/keyboard-shortcut.html +2 -0
  566. package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.html +3 -5
  567. package/src/surfaces/admin/components/Tooltip.d.ts +157 -29
  568. package/src/surfaces/admin/components/URLField/examples/default.html +2 -2
  569. package/src/surfaces/admin/components/URLField/examples/with-default-value.html +5 -7
  570. package/src/surfaces/admin/components/URLField.d.ts +231 -19
  571. package/src/surfaces/admin/components/UnorderedList.d.ts +117 -18
  572. package/src/surfaces/admin/components/patterns/examples/accountConnection-modal.html +54 -0
  573. package/src/surfaces/admin/components/patterns/examples/accountConnection-modal.jsx +54 -0
  574. package/src/surfaces/admin/components/patterns/examples/accountConnection-toast.html +25 -0
  575. package/src/surfaces/admin/components/patterns/examples/accountConnection-toast.jsx +27 -0
  576. package/src/surfaces/admin/components/patterns/examples/appCard-nav.html +29 -0
  577. package/src/surfaces/admin/components/patterns/examples/appCard-nav.jsx +29 -0
  578. package/src/surfaces/admin/components/patterns/examples/calloutCard-nav.html +35 -0
  579. package/src/surfaces/admin/components/patterns/examples/calloutCard-nav.jsx +37 -0
  580. package/src/surfaces/admin/components/patterns/examples/calloutCard-toast.html +41 -0
  581. package/src/surfaces/admin/components/patterns/examples/calloutCard-toast.jsx +41 -0
  582. package/src/surfaces/admin/components/patterns/examples/details-modal.html +36 -0
  583. package/src/surfaces/admin/components/patterns/examples/details-modal.jsx +39 -0
  584. package/src/surfaces/admin/components/patterns/examples/details-save-bar.html +21 -0
  585. package/src/surfaces/admin/components/patterns/examples/details-save-bar.jsx +31 -0
  586. package/src/surfaces/admin/components/patterns/examples/details.html +8 -3
  587. package/src/surfaces/admin/components/patterns/examples/details.jsx +238 -242
  588. package/src/surfaces/admin/components/patterns/examples/emptyState-intents.html +39 -0
  589. package/src/surfaces/admin/components/patterns/examples/emptyState-intents.jsx +41 -0
  590. package/src/surfaces/admin/components/patterns/examples/emptyState-nav.html +16 -0
  591. package/src/surfaces/admin/components/patterns/examples/emptyState-nav.jsx +16 -0
  592. package/src/surfaces/admin/components/patterns/examples/homepage.html +6 -1
  593. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +7 -0
  594. package/src/surfaces/admin/components/patterns/examples/index-intents.html +39 -0
  595. package/src/surfaces/admin/components/patterns/examples/index-intents.jsx +41 -0
  596. package/src/surfaces/admin/components/patterns/examples/index.html +12 -7
  597. package/src/surfaces/admin/components/patterns/examples/index.jsx +13 -6
  598. package/src/surfaces/admin/components/patterns/examples/indexTable-bulk-selection.html +109 -0
  599. package/src/surfaces/admin/components/patterns/examples/indexTable-bulk-selection.jsx +131 -0
  600. package/src/surfaces/admin/components/patterns/examples/indexTable-nav.html +85 -0
  601. package/src/surfaces/admin/components/patterns/examples/indexTable-nav.jsx +85 -0
  602. package/src/surfaces/admin/components/patterns/examples/indexTable-pagination.html +74 -0
  603. package/src/surfaces/admin/components/patterns/examples/indexTable-pagination.jsx +85 -0
  604. package/src/surfaces/admin/components/patterns/examples/indexTable-toast.html +119 -0
  605. package/src/surfaces/admin/components/patterns/examples/indexTable-toast.jsx +126 -0
  606. package/src/surfaces/admin/components/patterns/examples/interstitialNav.html +8 -8
  607. package/src/surfaces/admin/components/patterns/examples/interstitialNav.jsx +7 -7
  608. package/src/surfaces/admin/components/patterns/examples/mediaCard-intents.html +31 -0
  609. package/src/surfaces/admin/components/patterns/examples/mediaCard-intents.jsx +33 -0
  610. package/src/surfaces/admin/components/patterns/examples/mediaCard-modal.html +56 -0
  611. package/src/surfaces/admin/components/patterns/examples/mediaCard-modal.jsx +62 -0
  612. package/src/surfaces/admin/components/patterns/examples/mediaCard-share.html +43 -0
  613. package/src/surfaces/admin/components/patterns/examples/mediaCard-share.jsx +43 -0
  614. package/src/surfaces/admin/components/patterns/examples/mediaCard-toast.html +36 -0
  615. package/src/surfaces/admin/components/patterns/examples/mediaCard-toast.jsx +36 -0
  616. package/src/surfaces/admin/components/patterns/examples/mediaCard.html +25 -23
  617. package/src/surfaces/admin/components/patterns/examples/mediaCard.jsx +29 -27
  618. package/src/surfaces/admin/components/patterns/examples/metricsCard-nav.html +51 -0
  619. package/src/surfaces/admin/components/patterns/examples/metricsCard-nav.jsx +51 -0
  620. package/src/surfaces/admin/components/patterns/examples/resourceList-modal.html +78 -0
  621. package/src/surfaces/admin/components/patterns/examples/resourceList-modal.jsx +82 -0
  622. package/src/surfaces/admin/components/patterns/examples/resourceList-nav.html +54 -0
  623. package/src/surfaces/admin/components/patterns/examples/resourceList-nav.jsx +54 -0
  624. package/src/surfaces/admin/components/patterns/examples/resourceList-picker.html +58 -0
  625. package/src/surfaces/admin/components/patterns/examples/resourceList-picker.jsx +59 -0
  626. package/src/surfaces/admin/components/patterns/examples/resourceList-toast.html +67 -0
  627. package/src/surfaces/admin/components/patterns/examples/resourceList-toast.jsx +77 -0
  628. package/src/surfaces/admin/components/patterns/examples/settings-modal.html +45 -0
  629. package/src/surfaces/admin/components/patterns/examples/settings-modal.jsx +53 -0
  630. package/src/surfaces/admin/components/patterns/examples/settings-toast.html +37 -0
  631. package/src/surfaces/admin/components/patterns/examples/settings-toast.jsx +33 -0
  632. package/src/surfaces/admin/components/patterns/examples/settings.html +31 -1
  633. package/src/surfaces/admin/components/patterns/examples/settings.jsx +31 -0
  634. package/src/surfaces/admin/components/patterns/examples/setupGuide-nav.html +89 -0
  635. package/src/surfaces/admin/components/patterns/examples/setupGuide-nav.jsx +93 -0
  636. package/src/surfaces/admin/components/patterns/examples/setupGuide-toast.html +94 -0
  637. package/src/surfaces/admin/components/patterns/examples/setupGuide-toast.jsx +103 -0
  638. package/src/surfaces/admin/components/patterns/examples/setupGuide.html +90 -40
  639. package/src/surfaces/admin/components/patterns/examples/setupGuide.jsx +81 -9
  640. package/src/surfaces/admin/components/patterns/index.ab.doc.ts +75 -52
  641. package/src/surfaces/admin/components/shared.d.ts +845 -931
  642. package/src/surfaces/admin/components.d.ts +3256 -2272
  643. package/src/surfaces/admin/docs-types.ts +10 -1
  644. package/src/surfaces/admin/extension-targets.ts +6 -6
  645. package/src/surfaces/checkout/api/docs.ts +0 -2
  646. package/src/surfaces/checkout/api/standard/standard.ts +0 -21
  647. package/src/surfaces/checkout/shared.ts +8 -11
  648. package/src/surfaces/customer-account/api/order-status/order-status.ts +363 -317
  649. package/src/surfaces/customer-account/api/shared.ts +84 -97
  650. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +8 -10
  651. package/src/surfaces/customer-account/components/Abbreviation/examples/basic-abbreviation.example.html +1 -0
  652. package/src/surfaces/customer-account/components/Announcement/examples/basic-announcement.example.html +16 -0
  653. package/src/surfaces/customer-account/components/Badge/examples/basic-badge.example.html +3 -0
  654. package/src/surfaces/customer-account/components/Banner/examples/basic-banner.example.html +1 -0
  655. package/src/surfaces/customer-account/components/Box/examples/basic-box.example.html +11 -0
  656. package/src/surfaces/customer-account/components/Button/examples/basic-button.example.html +2 -0
  657. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
  658. package/src/surfaces/customer-account/components/Checkbox/examples/basic-checkbox.example.html +1 -0
  659. package/src/surfaces/customer-account/components/Chip/examples/basic-chip.example.html +1 -0
  660. package/src/surfaces/customer-account/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
  661. package/src/surfaces/customer-account/components/ChoiceList/examples/block-choice-variant.example.html +47 -0
  662. package/src/surfaces/customer-account/components/ChoiceList/examples/grid-choice-variant.example.html +5 -0
  663. package/src/surfaces/customer-account/components/ChoiceList/examples/inline-choice-variant.example.html +6 -0
  664. package/src/surfaces/customer-account/components/ChoiceList/examples/list-choice-variant.example.html +5 -0
  665. package/src/surfaces/customer-account/components/Clickable/examples/basic-clickable.example.html +3 -0
  666. package/src/surfaces/customer-account/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
  667. package/src/surfaces/customer-account/components/ClipboardItem/examples/basic-clipboard-item.example.html +2 -0
  668. package/src/surfaces/customer-account/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
  669. package/src/surfaces/customer-account/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
  670. package/src/surfaces/customer-account/components/DateField/examples/basic-date-field.example.html +1 -0
  671. package/src/surfaces/customer-account/components/DatePicker/examples/basic-date-picker.example.html +1 -0
  672. package/src/surfaces/customer-account/components/Details/examples/basic-details.example.html +6 -0
  673. package/src/surfaces/customer-account/components/DropZone/examples/basic-drop-zone.example.html +1 -0
  674. package/src/surfaces/customer-account/components/EmailField/examples/basic-email-field.example.html +1 -0
  675. package/src/surfaces/customer-account/components/Form/examples/basic-form.example.html +4 -0
  676. package/src/surfaces/customer-account/components/Grid/examples/basic-grid.example.html +11 -0
  677. package/src/surfaces/customer-account/components/Heading/examples/basic-heading.example.html +1 -0
  678. package/src/surfaces/customer-account/components/Icon/examples/basic-icon.example.html +4 -0
  679. package/src/surfaces/customer-account/components/Image/examples/basic-image.example.html +1 -0
  680. package/src/surfaces/customer-account/components/Link/examples/basic-link.example.html +1 -0
  681. package/src/surfaces/customer-account/components/Map/examples/basic-map.example.html +3 -0
  682. package/src/surfaces/customer-account/components/Map/examples/map-marker-graphic.example.html +14 -0
  683. package/src/surfaces/customer-account/components/Map/examples/map-marker-popover.example.html +14 -0
  684. package/src/surfaces/customer-account/components/Modal/examples/basic-modal.example.html +20 -0
  685. package/src/surfaces/customer-account/components/MoneyField/examples/basic-money-field.example.html +1 -0
  686. package/src/surfaces/customer-account/components/NumberField/examples/basic-number-field.example.html +8 -0
  687. package/src/surfaces/customer-account/components/OrderedList/examples/basic-ordered-list.example.html +5 -0
  688. package/src/surfaces/customer-account/components/Paragraph/examples/basic-paragraph.example.html +1 -0
  689. package/src/surfaces/customer-account/components/PasswordField/examples/basic-password-field.example.html +1 -0
  690. package/src/surfaces/customer-account/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
  691. package/src/surfaces/customer-account/components/PhoneField/examples/basic-phone-field.example.html +2 -0
  692. package/src/surfaces/customer-account/components/Popover/examples/basic-popover.example.html +7 -0
  693. package/src/surfaces/customer-account/components/PressButton/examples/basic-press-button.example.html +1 -0
  694. package/src/surfaces/customer-account/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +4 -0
  695. package/src/surfaces/customer-account/components/Progress/examples/basic-progress.example.html +1 -0
  696. package/src/surfaces/customer-account/components/QRCode/examples/basic-qr-code.example.html +4 -0
  697. package/src/surfaces/{admin/components/QueryContainer/examples/default.jsx → customer-account/components/QueryContainer/examples/basic-query-container.example.html} +3 -3
  698. package/src/surfaces/customer-account/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
  699. package/src/surfaces/customer-account/components/Section.d.ts +2 -2
  700. package/src/surfaces/customer-account/components/Select/examples/basic-select.example.html +5 -0
  701. package/src/surfaces/customer-account/components/Sheet/examples/basic-sheet.example.html +5 -0
  702. package/src/surfaces/customer-account/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
  703. package/src/surfaces/customer-account/components/Spinner/examples/basic-spinner.example.html +1 -0
  704. package/src/surfaces/customer-account/components/Stack/examples/basic-stack.example.html +22 -0
  705. package/src/surfaces/customer-account/components/Switch/examples/basic-switch.example.html +1 -0
  706. package/src/surfaces/customer-account/components/Text/examples/basic-text.example.html +3 -0
  707. package/src/surfaces/customer-account/components/TextArea/examples/basic-text-area.example.html +5 -0
  708. package/src/surfaces/customer-account/components/TextField/examples/basic-text-field.example.html +4 -0
  709. package/src/surfaces/customer-account/components/Time/examples/basic-time.example.html +1 -0
  710. package/src/surfaces/customer-account/components/Tooltip/examples/basic-tooltip.example.html +9 -0
  711. package/src/surfaces/customer-account/components/URLField/examples/basic-url-field.example.html +1 -0
  712. package/src/surfaces/customer-account/components/UnorderedList/examples/basic-unordered-list.example.html +5 -0
  713. package/src/surfaces/customer-account/preact/metafield.ts +1 -0
  714. package/src/surfaces/customer-account/preact/metafields.ts +1 -0
  715. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +1 -1
  716. package/src/surfaces/point-of-sale/components/Button.d.ts +1 -1
  717. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
  718. package/src/surfaces/point-of-sale/components/EmptyState.d.ts +2 -2
  719. package/src/surfaces/point-of-sale/components/Link.d.ts +1 -1
  720. package/src/surfaces/point-of-sale/components/Stack.d.ts +10 -10
  721. package/src/surfaces/point-of-sale/components/Text.d.ts +1 -1
  722. package/src/surfaces/point-of-sale/components/TextField.d.ts +1 -1
  723. package/src/surfaces/point-of-sale/components/components-shared.d.ts +55 -55
  724. package/src/surfaces/point-of-sale/components.d.ts +110 -110
  725. package/src/surfaces/point-of-sale/event/data/BaseData.ts +6 -2
  726. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +23 -2
  727. package/src/surfaces/admin/components/AdminAction/examples/default.tsx +0 -15
  728. package/src/surfaces/admin/components/AdminBlock/examples/default.tsx +0 -1
  729. package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +0 -9
  730. package/src/surfaces/admin/components/Avatar/examples/basic-usage.jsx +0 -1
  731. package/src/surfaces/admin/components/Avatar/examples/color-consistency-demo.jsx +0 -7
  732. package/src/surfaces/admin/components/Avatar/examples/default-avatar-no-props.jsx +0 -1
  733. package/src/surfaces/admin/components/Avatar/examples/default.jsx +0 -1
  734. package/src/surfaces/admin/components/Avatar/examples/error-handling-example.jsx +0 -5
  735. package/src/surfaces/admin/components/Avatar/examples/fulfillment-partner-avatars.jsx +0 -14
  736. package/src/surfaces/admin/components/Avatar/examples/in-customer-list-context.jsx +0 -24
  737. package/src/surfaces/admin/components/Avatar/examples/long-initials-handling.jsx +0 -5
  738. package/src/surfaces/admin/components/Avatar/examples/size-variations.jsx +0 -7
  739. package/src/surfaces/admin/components/Avatar/examples/staff-member-profiles.jsx +0 -10
  740. package/src/surfaces/admin/components/Avatar/examples/with-image-source-and-fallback.jsx +0 -6
  741. package/src/surfaces/admin/components/Avatar/examples/with-section-component.jsx +0 -17
  742. package/src/surfaces/admin/components/Badge/examples/default.jsx +0 -8
  743. package/src/surfaces/admin/components/Badge/examples/different-sizes-for-emphasis.jsx +0 -4
  744. package/src/surfaces/admin/components/Badge/examples/order-status-badges.html +0 -6
  745. package/src/surfaces/admin/components/Badge/examples/order-status-badges.jsx +0 -6
  746. package/src/surfaces/admin/components/Badge/examples/status-indicators-with-icons.jsx +0 -21
  747. package/src/surfaces/admin/components/Badge/examples/within-table-context.jsx +0 -18
  748. package/src/surfaces/admin/components/Banner/examples/basic-information-banner.html +0 -3
  749. package/src/surfaces/admin/components/Banner/examples/basic-information-banner.jsx +0 -3
  750. package/src/surfaces/admin/components/Banner/examples/critical-banner-with-clear-next-steps.jsx +0 -18
  751. package/src/surfaces/admin/components/Banner/examples/default.jsx +0 -3
  752. package/src/surfaces/admin/components/Banner/examples/dismissible-success-banner.jsx +0 -3
  753. package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.html +0 -14
  754. package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.jsx +0 -14
  755. package/src/surfaces/admin/components/Banner/examples/warning-banner-with-specific-actions.jsx +0 -18
  756. package/src/surfaces/admin/components/Box/examples/accessible-status-messages.jsx +0 -14
  757. package/src/surfaces/admin/components/Box/examples/basic-container.html +0 -9
  758. package/src/surfaces/admin/components/Box/examples/basic-container.jsx +0 -9
  759. package/src/surfaces/admin/components/Box/examples/complex-merchant-dashboard-layout.jsx +0 -34
  760. package/src/surfaces/admin/components/Box/examples/default.jsx +0 -7
  761. package/src/surfaces/admin/components/Box/examples/responsive-shipping-notice.jsx +0 -10
  762. package/src/surfaces/admin/components/Button/examples/basic-usage.jsx +0 -1
  763. package/src/surfaces/admin/components/Button/examples/bulk-actions.html +0 -4
  764. package/src/surfaces/admin/components/Button/examples/bulk-actions.jsx +0 -6
  765. package/src/surfaces/admin/components/Button/examples/component-interactions.jsx +0 -7
  766. package/src/surfaces/admin/components/Button/examples/default.jsx +0 -4
  767. package/src/surfaces/admin/components/Button/examples/delete-confirmation.jsx +0 -6
  768. package/src/surfaces/admin/components/Button/examples/form-states.jsx +0 -6
  769. package/src/surfaces/admin/components/Button/examples/icon-only-button.jsx +0 -1
  770. package/src/surfaces/admin/components/Button/examples/link-buttons.jsx +0 -9
  771. package/src/surfaces/admin/components/Button/examples/loading-state-for-merchant-actions.jsx +0 -11
  772. package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.html +0 -2
  773. package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.jsx +0 -3
  774. package/src/surfaces/admin/components/Button/examples/product-save-form.html +0 -4
  775. package/src/surfaces/admin/components/Button/examples/product-save-form.jsx +0 -6
  776. package/src/surfaces/admin/components/Button/examples/tones.jsx +0 -5
  777. package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.html +0 -17
  778. package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.jsx +0 -17
  779. package/src/surfaces/admin/components/Button/examples/variants.jsx +0 -6
  780. package/src/surfaces/admin/components/Button/examples/with-icon.jsx +0 -1
  781. package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.html +0 -4
  782. package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.jsx +0 -6
  783. package/src/surfaces/admin/components/ButtonGroup/examples/bulk-actions-in-data-tables.jsx +0 -7
  784. package/src/surfaces/admin/components/ButtonGroup/examples/destructive-actions-pattern.jsx +0 -6
  785. package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.html +0 -4
  786. package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.jsx +0 -6
  787. package/src/surfaces/admin/components/ButtonGroup/examples/segmented-appearance.jsx +0 -5
  788. package/src/surfaces/admin/components/ButtonGroup/examples/toolbar-buttons-with-icons.jsx +0 -11
  789. package/src/surfaces/admin/components/Checkbox/examples/default.jsx +0 -4
  790. package/src/surfaces/admin/components/Checkbox/examples/disabled-state.jsx +0 -5
  791. package/src/surfaces/admin/components/Checkbox/examples/error-state.jsx +0 -4
  792. package/src/surfaces/admin/components/Checkbox/examples/help-text.html +0 -4
  793. package/src/surfaces/admin/components/Checkbox/examples/help-text.jsx +0 -4
  794. package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.jsx +0 -21
  795. package/src/surfaces/admin/components/Checkbox/examples/settings-group.jsx +0 -12
  796. package/src/surfaces/admin/components/Checkbox/examples/validation-example.jsx +0 -20
  797. package/src/surfaces/admin/components/Chip/examples/basic-usage.html +0 -3
  798. package/src/surfaces/admin/components/Chip/examples/basic-usage.jsx +0 -3
  799. package/src/surfaces/admin/components/Chip/examples/color-variants.jsx +0 -12
  800. package/src/surfaces/admin/components/Chip/examples/default.jsx +0 -1
  801. package/src/surfaces/admin/components/Chip/examples/product-status.html +0 -8
  802. package/src/surfaces/admin/components/Chip/examples/product-status.jsx +0 -12
  803. package/src/surfaces/admin/components/Chip/examples/text-truncation.jsx +0 -12
  804. package/src/surfaces/admin/components/Chip/examples/with-icon-graphic.jsx +0 -4
  805. package/src/surfaces/admin/components/ChoiceList/examples/basic-usage.jsx +0 -7
  806. package/src/surfaces/admin/components/ChoiceList/examples/default.jsx +0 -16
  807. package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.html +0 -18
  808. package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.jsx +0 -18
  809. package/src/surfaces/admin/components/ChoiceList/examples/multiple-selections.jsx +0 -15
  810. package/src/surfaces/admin/components/ChoiceList/examples/validation-example.jsx +0 -20
  811. package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.jsx +0 -8
  812. package/src/surfaces/admin/components/Clickable/examples/accessibility-with-aria-attributes.jsx +0 -8
  813. package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.html +0 -1
  814. package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.jsx +0 -3
  815. package/src/surfaces/admin/components/Clickable/examples/default.jsx +0 -12
  816. package/src/surfaces/admin/components/Clickable/examples/disabled-link-with-aria.jsx +0 -7
  817. package/src/surfaces/admin/components/Clickable/examples/form-submit-button.jsx +0 -3
  818. package/src/surfaces/admin/components/Clickable/examples/link-mode.jsx +0 -3
  819. package/src/surfaces/admin/components/Clickable/examples/section-with-clickable-action.jsx +0 -9
  820. package/src/surfaces/admin/components/ClickableChip/examples/as-a-link.jsx +0 -8
  821. package/src/surfaces/admin/components/ClickableChip/examples/basic-usage.jsx +0 -17
  822. package/src/surfaces/admin/components/ClickableChip/examples/default.jsx +0 -1
  823. package/src/surfaces/admin/components/ClickableChip/examples/disabled-state.jsx +0 -7
  824. package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.html +0 -17
  825. package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.jsx +0 -17
  826. package/src/surfaces/admin/components/ClickableChip/examples/with-icon-and-remove-button.jsx +0 -8
  827. package/src/surfaces/admin/components/ColorField/examples/basic-usage-required.jsx +0 -3
  828. package/src/surfaces/admin/components/ColorField/examples/basic-usage-web-component.jsx +0 -3
  829. package/src/surfaces/admin/components/ColorField/examples/default.jsx +0 -1
  830. package/src/surfaces/admin/components/ColorField/examples/form-integration.jsx +0 -28
  831. package/src/surfaces/admin/components/ColorField/examples/read-only-state.jsx +0 -3
  832. package/src/surfaces/admin/components/ColorField/examples/validation-example.jsx +0 -21
  833. package/src/surfaces/admin/components/ColorField/examples/with-alpha-transparency.jsx +0 -7
  834. package/src/surfaces/admin/components/ColorField/examples/with-error-state.jsx +0 -9
  835. package/src/surfaces/admin/components/ColorField/examples/with-help-text.jsx +0 -7
  836. package/src/surfaces/admin/components/ColorField/examples/with-placeholder.html +0 -7
  837. package/src/surfaces/admin/components/ColorField/examples/with-placeholder.jsx +0 -7
  838. package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.html +0 -3
  839. package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.jsx +0 -3
  840. package/src/surfaces/admin/components/ColorPicker/examples/default.jsx +0 -1
  841. package/src/surfaces/admin/components/ColorPicker/examples/with-alpha-transparency.jsx +0 -7
  842. package/src/surfaces/admin/components/DateField/examples/basic-usage.jsx +0 -5
  843. package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.html +0 -29
  844. package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.jsx +0 -29
  845. package/src/surfaces/admin/components/DateField/examples/date-range-selection.jsx +0 -19
  846. package/src/surfaces/admin/components/DateField/examples/default.jsx +0 -1
  847. package/src/surfaces/admin/components/DateField/examples/disabled-and-read-only-states.jsx +0 -15
  848. package/src/surfaces/admin/components/DateField/examples/form-integration.jsx +0 -27
  849. package/src/surfaces/admin/components/DateField/examples/validation-example.jsx +0 -20
  850. package/src/surfaces/admin/components/DateField/examples/with-date-restrictions.jsx +0 -6
  851. package/src/surfaces/admin/components/DateField/examples/with-default-value.jsx +0 -5
  852. package/src/surfaces/admin/components/DateField/examples/with-error-state.jsx +0 -5
  853. package/src/surfaces/admin/components/DateField/examples/with-specific-allowed-dates.jsx +0 -6
  854. package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.jsx +0 -35
  855. package/src/surfaces/admin/components/DatePicker/examples/default.jsx +0 -5
  856. package/src/surfaces/admin/components/DatePicker/examples/form-integration.jsx +0 -28
  857. package/src/surfaces/admin/components/DatePicker/examples/single-date-selection.jsx +0 -6
  858. package/src/surfaces/admin/components/DatePicker/examples/with-date-restrictions.jsx +0 -7
  859. package/src/surfaces/admin/components/Divider/examples/basic-usage.jsx +0 -1
  860. package/src/surfaces/admin/components/Divider/examples/custom-color.jsx +0 -1
  861. package/src/surfaces/admin/components/Divider/examples/custom-direction.jsx +0 -5
  862. package/src/surfaces/admin/components/Divider/examples/default.jsx +0 -1
  863. package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.html +0 -9
  864. package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.jsx +0 -9
  865. package/src/surfaces/admin/components/Divider/examples/separating-content-sections.html +0 -13
  866. package/src/surfaces/admin/components/Divider/examples/separating-content-sections.jsx +0 -13
  867. package/src/surfaces/admin/components/Divider/examples/separating-form-sections.jsx +0 -7
  868. package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.html +0 -12
  869. package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.jsx +0 -12
  870. package/src/surfaces/admin/components/DropZone/examples/basic-usage.jsx +0 -1
  871. package/src/surfaces/admin/components/DropZone/examples/default.jsx +0 -9
  872. package/src/surfaces/admin/components/DropZone/examples/disabled-state.jsx +0 -1
  873. package/src/surfaces/admin/components/DropZone/examples/file-type-restrictions.jsx +0 -5
  874. package/src/surfaces/admin/components/DropZone/examples/image-upload.jsx +0 -1
  875. package/src/surfaces/admin/components/DropZone/examples/required-field.jsx +0 -1
  876. package/src/surfaces/admin/components/DropZone/examples/with-accessibility-options.jsx +0 -6
  877. package/src/surfaces/admin/components/DropZone/examples/with-error-state.jsx +0 -4
  878. package/src/surfaces/admin/components/EmailField/examples/basic-usage.html +0 -3
  879. package/src/surfaces/admin/components/EmailField/examples/basic-usage.jsx +0 -3
  880. package/src/surfaces/admin/components/EmailField/examples/default.jsx +0 -5
  881. package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.html +0 -7
  882. package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.jsx +0 -7
  883. package/src/surfaces/admin/components/EmailField/examples/read-only-display.jsx +0 -7
  884. package/src/surfaces/admin/components/EmailField/examples/validation-example.jsx +0 -21
  885. package/src/surfaces/admin/components/EmailField/examples/with-error-and-help-text.jsx +0 -8
  886. package/src/surfaces/admin/components/EmailField/examples/with-length-constraints.jsx +0 -8
  887. package/src/surfaces/admin/components/Form/examples/default.jsx +0 -6
  888. package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +0 -38
  889. package/src/surfaces/admin/components/Grid/examples/basic-two-column-layout.jsx +0 -12
  890. package/src/surfaces/admin/components/Grid/examples/col-span-layouts.jsx +0 -34
  891. package/src/surfaces/admin/components/Grid/examples/default.jsx +0 -15
  892. package/src/surfaces/admin/components/Grid/examples/mobile-first-responsive-grid.jsx +0 -53
  893. package/src/surfaces/admin/components/Heading/examples/basic-heading.html +0 -1
  894. package/src/surfaces/admin/components/Heading/examples/basic-heading.jsx +0 -1
  895. package/src/surfaces/admin/components/Heading/examples/default.jsx +0 -1
  896. package/src/surfaces/admin/components/Heading/examples/heading-with-custom-accessibility.jsx +0 -3
  897. package/src/surfaces/admin/components/Heading/examples/heading-with-line-clamping.jsx +0 -5
  898. package/src/surfaces/admin/components/Heading/examples/heading-within-section-hierarchy.jsx +0 -12
  899. package/src/surfaces/admin/components/Icon/examples/basic-usage.jsx +0 -7
  900. package/src/surfaces/admin/components/Icon/examples/default.jsx +0 -6
  901. package/src/surfaces/admin/components/Icon/examples/in-badge-components.jsx +0 -8
  902. package/src/surfaces/admin/components/Icon/examples/in-button-components.jsx +0 -8
  903. package/src/surfaces/admin/components/Icon/examples/small-size.jsx +0 -1
  904. package/src/surfaces/admin/components/Icon/examples/subdued-color.jsx +0 -1
  905. package/src/surfaces/admin/components/Icon/examples/with-id-property.jsx +0 -1
  906. package/src/surfaces/admin/components/Icon/examples/with-interest-relationship.jsx +0 -6
  907. package/src/surfaces/admin/components/Icon/examples/with-semantic-tone.jsx +0 -6
  908. package/src/surfaces/admin/components/Image/examples/auto-sized-image.html +0 -5
  909. package/src/surfaces/admin/components/Image/examples/auto-sized-image.jsx +0 -5
  910. package/src/surfaces/admin/components/Image/examples/basic-usage.jsx +0 -1
  911. package/src/surfaces/admin/components/Image/examples/decorative-image.jsx +0 -6
  912. package/src/surfaces/admin/components/Image/examples/default.jsx +0 -6
  913. package/src/surfaces/admin/components/Image/examples/responsive-images-with-srcset.jsx +0 -9
  914. package/src/surfaces/admin/components/Image/examples/responsive-layout-with-aspect-ratio.jsx +0 -7
  915. package/src/surfaces/admin/components/Image/examples/with-border-styling.jsx +0 -12
  916. package/src/surfaces/admin/components/Image/examples/within-layout-components.jsx +0 -26
  917. package/src/surfaces/admin/components/Link/examples/basic-links-in-paragraph.jsx +0 -3
  918. package/src/surfaces/admin/components/Link/examples/critical-context-links.html +0 -3
  919. package/src/surfaces/admin/components/Link/examples/critical-context-links.jsx +0 -3
  920. package/src/surfaces/admin/components/Link/examples/default.jsx +0 -1
  921. package/src/surfaces/admin/components/Link/examples/download-links.jsx +0 -3
  922. package/src/surfaces/admin/components/Link/examples/external-links.jsx +0 -5
  923. package/src/surfaces/admin/components/Link/examples/links-in-banner-context.html +0 -5
  924. package/src/surfaces/admin/components/Link/examples/links-in-banner-context.jsx +0 -5
  925. package/src/surfaces/admin/components/Link/examples/links-in-banner.jsx +0 -5
  926. package/src/surfaces/admin/components/Link/examples/links-in-box-container.jsx +0 -5
  927. package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.html +0 -3
  928. package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.jsx +0 -3
  929. package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.html +0 -3
  930. package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.jsx +0 -3
  931. package/src/surfaces/admin/components/Link/examples/links-with-different-tones.jsx +0 -25
  932. package/src/surfaces/admin/components/Link/examples/links-with-language-attribute.jsx +0 -3
  933. package/src/surfaces/admin/components/Menu/examples/basic-menu.html +0 -7
  934. package/src/surfaces/admin/components/Menu/examples/basic-menu.jsx +0 -9
  935. package/src/surfaces/admin/components/Menu/examples/customer-actions-menu.jsx +0 -18
  936. package/src/surfaces/admin/components/Menu/examples/default.jsx +0 -11
  937. package/src/surfaces/admin/components/Menu/examples/menu-with-icons.jsx +0 -14
  938. package/src/surfaces/admin/components/Menu/examples/menu-with-links-and-disabled-items.jsx +0 -13
  939. package/src/surfaces/admin/components/Menu/examples/menu-with-sections.jsx +0 -15
  940. package/src/surfaces/admin/components/Menu/examples/settings-menu.jsx +0 -19
  941. package/src/surfaces/admin/components/Modal/examples/basic-modal.jsx +0 -15
  942. package/src/surfaces/admin/components/Modal/examples/confirmation-modal-with-actions.jsx +0 -30
  943. package/src/surfaces/admin/components/Modal/examples/default.jsx +0 -19
  944. package/src/surfaces/admin/components/Modal/examples/different-modal-sizes.jsx +0 -65
  945. package/src/surfaces/admin/components/Modal/examples/form-modal.jsx +0 -52
  946. package/src/surfaces/admin/components/Modal/examples/modal-without-padding.jsx +0 -20
  947. package/src/surfaces/admin/components/NumberField/examples/basic-usage.jsx +0 -7
  948. package/src/surfaces/admin/components/NumberField/examples/default.jsx +0 -8
  949. package/src/surfaces/admin/components/NumberField/examples/multiple-examples.html +0 -29
  950. package/src/surfaces/admin/components/NumberField/examples/multiple-examples.jsx +0 -29
  951. package/src/surfaces/admin/components/NumberField/examples/with-prefix-and-suffix.jsx +0 -9
  952. package/src/surfaces/admin/components/OrderedList/examples/basic-usage.html +0 -5
  953. package/src/surfaces/admin/components/OrderedList/examples/basic-usage.jsx +0 -5
  954. package/src/surfaces/admin/components/OrderedList/examples/default.jsx +0 -5
  955. package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.html +0 -18
  956. package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.jsx +0 -18
  957. package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.html +0 -8
  958. package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.jsx +0 -8
  959. package/src/surfaces/admin/components/OrderedList/examples/product-setup-instructions.jsx +0 -13
  960. package/src/surfaces/admin/components/Page/examples/default.jsx +0 -5
  961. package/src/surfaces/admin/components/Page/examples/large-inline-size-for-wide-content.jsx +0 -33
  962. package/src/surfaces/admin/components/Page/examples/page-with-breadcrumbs-and-title.jsx +0 -7
  963. package/src/surfaces/admin/components/Page/examples/page-with-heading.jsx +0 -5
  964. package/src/surfaces/admin/components/Page/examples/page-with-secondary-actions.jsx +0 -8
  965. package/src/surfaces/admin/components/Page/examples/small-inline-size-for-focused-content.jsx +0 -9
  966. package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.html +0 -21
  967. package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.jsx +0 -21
  968. package/src/surfaces/admin/components/Paragraph/examples/basic-usage.html +0 -3
  969. package/src/surfaces/admin/components/Paragraph/examples/basic-usage.jsx +0 -3
  970. package/src/surfaces/admin/components/Paragraph/examples/default.jsx +0 -4
  971. package/src/surfaces/admin/components/Paragraph/examples/line-clamping.jsx +0 -8
  972. package/src/surfaces/admin/components/Paragraph/examples/rtl-support.jsx +0 -3
  973. package/src/surfaces/admin/components/Paragraph/examples/screen-reader-text.jsx +0 -3
  974. package/src/surfaces/admin/components/Paragraph/examples/tabular-numbers.jsx +0 -3
  975. package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.jsx +0 -9
  976. package/src/surfaces/admin/components/Popover/examples/default.jsx +0 -10
  977. package/src/surfaces/admin/components/Popover/examples/inventory-stock-details.jsx +0 -37
  978. package/src/surfaces/admin/components/Popover/examples/notifications.jsx +0 -30
  979. package/src/surfaces/admin/components/Popover/examples/table-display-options.jsx +0 -29
  980. package/src/surfaces/admin/components/QueryContainer/examples/basic-usage.jsx +0 -17
  981. package/src/surfaces/admin/components/SearchField/examples/basic-usage.html +0 -5
  982. package/src/surfaces/admin/components/SearchField/examples/basic-usage.jsx +0 -5
  983. package/src/surfaces/admin/components/SearchField/examples/default.jsx +0 -5
  984. package/src/surfaces/admin/components/SearchField/examples/disabled-state.jsx +0 -6
  985. package/src/surfaces/admin/components/SearchField/examples/with-character-limits.jsx +0 -7
  986. package/src/surfaces/admin/components/SearchField/examples/with-error-state.jsx +0 -6
  987. package/src/surfaces/admin/components/Section/examples/default.jsx +0 -3
  988. package/src/surfaces/admin/components/Section/examples/full-width-content-layout.jsx +0 -18
  989. package/src/surfaces/admin/components/Section/examples/nested-sections-with-visual-level-differences.jsx +0 -23
  990. package/src/surfaces/admin/components/Section/examples/section-with-accessibility-label.jsx +0 -13
  991. package/src/surfaces/admin/components/Section/examples/top-level-section-with-form-elements.jsx +0 -5
  992. package/src/surfaces/admin/components/Spinner/examples/basic-usage.html +0 -1
  993. package/src/surfaces/admin/components/Spinner/examples/basic-usage.jsx +0 -1
  994. package/src/surfaces/admin/components/Spinner/examples/default.jsx +0 -1
  995. package/src/surfaces/admin/components/Spinner/examples/inline-loading-with-text.jsx +0 -4
  996. package/src/surfaces/admin/components/Spinner/examples/loading-state-in-section.jsx +0 -4
  997. package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.html +0 -5
  998. package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.jsx +0 -5
  999. package/src/surfaces/admin/components/Stack/examples/custom-alignment.jsx +0 -5
  1000. package/src/surfaces/admin/components/Stack/examples/custom-spacing.jsx +0 -18
  1001. package/src/surfaces/admin/components/Stack/examples/default.jsx +0 -6
  1002. package/src/surfaces/admin/components/Stack/examples/inline-stack-horizontal.jsx +0 -5
  1003. package/src/surfaces/admin/components/Stack/examples/responsive-stack-with-container-queries.jsx +0 -23
  1004. package/src/surfaces/admin/components/Table/examples/default.jsx +0 -30
  1005. package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.html +0 -65
  1006. package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.jsx +0 -65
  1007. package/src/surfaces/admin/components/Table/examples/list-variant.jsx +0 -44
  1008. package/src/surfaces/admin/components/Table/examples/with-loading-state.jsx +0 -40
  1009. package/src/surfaces/admin/components/Table/examples/with-pagination.jsx +0 -27
  1010. package/src/surfaces/admin/components/Text/examples/accessibility-hidden-text.jsx +0 -3
  1011. package/src/surfaces/admin/components/Text/examples/basic-usage.html +0 -3
  1012. package/src/surfaces/admin/components/Text/examples/basic-usage.jsx +0 -3
  1013. package/src/surfaces/admin/components/Text/examples/default.jsx +0 -4
  1014. package/src/surfaces/admin/components/Text/examples/interest-for-association.jsx +0 -8
  1015. package/src/surfaces/admin/components/Text/examples/right-to-left-text.jsx +0 -3
  1016. package/src/surfaces/admin/components/Text/examples/semantic-address.jsx +0 -3
  1017. package/src/surfaces/admin/components/Text/examples/status-tones.jsx +0 -5
  1018. package/src/surfaces/admin/components/Text/examples/strong-text.html +0 -3
  1019. package/src/surfaces/admin/components/Text/examples/strong-text.jsx +0 -3
  1020. package/src/surfaces/admin/components/Text/examples/subdued-color.jsx +0 -3
  1021. package/src/surfaces/admin/components/Text/examples/tabular-numbers.jsx +0 -3
  1022. package/src/surfaces/admin/components/TextArea/examples/basic-usage.jsx +0 -5
  1023. package/src/surfaces/admin/components/TextArea/examples/default.jsx +0 -5
  1024. package/src/surfaces/admin/components/TextArea/examples/error-state.jsx +0 -8
  1025. package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.html +0 -7
  1026. package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.jsx +0 -7
  1027. package/src/surfaces/admin/components/TextArea/examples/seo-meta-description-with-character-limit.jsx +0 -8
  1028. package/src/surfaces/admin/components/TextField/examples/basic-usage.html +0 -1
  1029. package/src/surfaces/admin/components/TextField/examples/basic-usage.jsx +0 -1
  1030. package/src/surfaces/admin/components/TextField/examples/default.jsx +0 -5
  1031. package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.html +0 -1
  1032. package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.jsx +0 -1
  1033. package/src/surfaces/admin/components/TextField/examples/specific-error-messages-for-merchant-context.jsx +0 -16
  1034. package/src/surfaces/admin/components/TextField/examples/with-accessory.jsx +0 -6
  1035. package/src/surfaces/admin/components/TextField/examples/with-icon.jsx +0 -5
  1036. package/src/surfaces/admin/components/TextField/examples/with-prefix-and-suffix.jsx +0 -11
  1037. package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.html +0 -5
  1038. package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.jsx +0 -5
  1039. package/src/surfaces/admin/components/Thumbnail/examples/default.jsx +0 -4
  1040. package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.jsx +0 -17
  1041. package/src/surfaces/admin/components/Thumbnail/examples/empty-state.jsx +0 -1
  1042. package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.jsx +0 -13
  1043. package/src/surfaces/admin/components/Tooltip/examples/basic-usage.jsx +0 -6
  1044. package/src/surfaces/admin/components/Tooltip/examples/default.jsx +0 -6
  1045. package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.jsx +0 -8
  1046. package/src/surfaces/admin/components/UnorderedList/examples/default.jsx +0 -5
  1047. package/src/surfaces/admin/components/UnorderedList/examples/store-setup-checklist.jsx +0 -24
  1048. /package/src/surfaces/admin/components/Button/examples/{basic-usage.html → basic-button.html} +0 -0
  1049. /package/src/surfaces/{admin/components/Divider/examples/basic-usage.html → customer-account/components/Divider/examples/basic-divider.example.html} +0 -0
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.38.0 **/
1
+ /** VERSION: 1.25.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -6,67 +6,212 @@
6
6
 
7
7
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
8
  /// <reference lib="DOM" />
9
- import type {
10
- ComponentChildren,
11
- TextFieldProps$1,
12
- PreactCustomElement,
13
- RenderImpl,
14
- } from './shared.d.ts';
9
+ import type {ComponentChildren, TextFieldProps$1} from './shared.d.ts';
15
10
 
11
+ /**
12
+ * A callback event with a strongly-typed `currentTarget` property that corresponds to a specific HTML element. This provides better type safety when handling events from custom elements.
13
+ */
16
14
  export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
15
+ /**
16
+ * The element that the event listener is attached to, strongly typed based on the element's tag name.
17
+ */
17
18
  currentTarget: HTMLElementTagNameMap[T];
18
19
  };
20
+ /**
21
+ * An event listener function type for callback events with a strongly-typed `currentTarget`. This ensures the event handler receives the correct element type.
22
+ */
19
23
  export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
20
24
  | (EventListener & {
21
25
  (event: CallbackEvent<T>): void;
22
26
  })
23
27
  | null;
28
+ /**
29
+ * The JSX-style event callback props for form field components. These properties provide React-like event handling for input, change, focus, and blur events.
30
+ */
24
31
  export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
32
+ /**
33
+ * A callback that's invoked when the user makes any changes in the field. This fires on every keystroke or modification. Learn more about the [input event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event).
34
+ */
25
35
  onInput?: ((event: CallbackEvent<T>) => void) | null;
36
+ /**
37
+ * A callback that's invoked when the user has finished editing the field, such as when they blur the field or press Enter. This fires less frequently than `onInput`. Learn more about the [change event](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event).
38
+ */
26
39
  onChange?: ((event: CallbackEvent<T>) => void) | null;
40
+ /**
41
+ * A callback that's invoked when the field receives focus, typically when the user clicks into it or tabs to it. Learn more about the [focus event](https://developer.mozilla.org/en-US/docs/Web/API/Element/focus_event).
42
+ */
27
43
  onFocus?: ((event: CallbackEvent<T>) => void) | null;
44
+ /**
45
+ * A callback that's invoked when the field loses focus, typically when the user clicks away or tabs out of it. Learn more about the [blur event](https://developer.mozilla.org/en-US/docs/Web/API/Element/blur_event).
46
+ */
28
47
  onBlur?: ((event: CallbackEvent<T>) => void) | null;
29
48
  }
30
- /** Used when an element does not have children. */
49
+ /**
50
+ * The base properties for Preact elements without children. Provides `key`, `ref`, and `slot` properties for element identification, DOM access, and slot-based positioning.
51
+ */
31
52
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
32
- /** Assigns a unique key to this element. */
53
+ /**
54
+ * A unique identifier for the element when used in lists. Preact uses keys for efficient rendering and reconciliation when lists change.
55
+ */
33
56
  key?: preact.Key;
34
- /** Assigns a ref (generally from `useRef()`) to this element. */
57
+ /**
58
+ * A reference to the underlying DOM element. Typically created with `useRef()` to access the element directly for imperative operations like focusing or measuring.
59
+ */
35
60
  ref?: preact.Ref<TClass>;
36
- /** Assigns this element to a parent's slot. */
61
+ /**
62
+ * The named slot this element should be placed in when used within a web component. Learn more about [using slots](/docs/api/app-ui/using-web-components#slots).
63
+ */
37
64
  slot?: Lowercase<string>;
38
65
  }
39
- /** Used when an element has children. */
66
+ /**
67
+ * The base properties for Preact elements with children. Extends `PreactBaseElementProps` with the ability to render child elements.
68
+ */
40
69
  export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
41
70
  extends PreactBaseElementProps<TClass> {
71
+ /**
72
+ * The child elements to render within this component.
73
+ */
42
74
  children?: preact.ComponentChildren;
43
75
  }
44
76
 
45
- declare class PolarisCustomElement extends PreactCustomElement {
46
- constructor(renderImpl: Omit<RenderImpl, 'globalShadowCSS'>);
77
+ /**
78
+ * The CSS styles as a string, used for styling web components within their shadow DOM.
79
+ */
80
+ export type Styles = string;
81
+ /**
82
+ * The implementation configuration for rendering a Preact component into a shadow root. Defines the render function that returns JSX elements and optional CSS styles to apply to the component's shadow DOM.
83
+ */
84
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
85
+ /**
86
+ * The render function that returns Preact/JSX elements to display in the component's shadow root.
87
+ */
88
+ ShadowRoot: (element: any) => ComponentChildren;
89
+ /**
90
+ * The optional CSS styles to inject into the component's shadow DOM.
91
+ */
92
+ styles?: Styles;
93
+ };
94
+ /**
95
+ * The properties of an activation event (such as a click or keyboard press) that describe which modifier keys and mouse buttons were involved. This is used to determine intended behavior like opening links in new tabs when Command/Control is pressed.
96
+ */
97
+ export interface ActivationEventEsque {
98
+ /**
99
+ * Whether the Shift key was pressed during the activation event.
100
+ */
101
+ shiftKey: boolean;
102
+ /**
103
+ * Whether the Meta key (Command on Mac, Windows key on Windows) was pressed during the activation event.
104
+ */
105
+ metaKey: boolean;
106
+ /**
107
+ * Whether the Control key was pressed during the activation event.
108
+ */
109
+ ctrlKey: boolean;
110
+ /**
111
+ * The mouse button that was pressed during the activation event. `0` for primary button (left click), `1` for auxiliary button (middle click), `2` for secondary button (right click).
112
+ */
113
+ button: number;
114
+ }
115
+ /**
116
+ * The options for controlling how a synthetic click behaves. Allows passing modifier key states and button information from an original event to influence link behavior such as opening in new tabs or background tabs.
117
+ */
118
+ export interface ClickOptions {
119
+ /**
120
+ * The activation event (such as a click or keyboard event) whose modifier key state and button information should influence the synthetic click behavior. For example, passing an event with `metaKey: true` will cause links to open in a new tab.
121
+ */
122
+ sourceEvent?: ActivationEventEsque;
123
+ }
124
+ /**
125
+ * Base class for creating custom elements with Preact.
126
+ * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
127
+ * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
128
+ */
129
+ declare const BaseClass: typeof globalThis.HTMLElement;
130
+ declare abstract class PreactCustomElement extends BaseClass {
131
+ /** @private */
132
+ static get observedAttributes(): string[];
133
+ constructor({
134
+ styles,
135
+ ShadowRoot: renderFunction,
136
+ delegatesFocus,
137
+ ...options
138
+ }: RenderImpl);
139
+
140
+ /** @private */
141
+ setAttribute(name: string, value: string): void;
142
+ /** @private */
143
+ attributeChangedCallback(name: string): void;
144
+ /** @private */
145
+ connectedCallback(): void;
146
+ /** @private */
147
+ disconnectedCallback(): void;
148
+ /** @private */
149
+ adoptedCallback(): void;
150
+ /**
151
+ * Queue a run of the render function.
152
+ * You shouldn't need to call this manually - it should be handled by changes to @property values.
153
+ * @private
154
+ */
155
+ queueRender(): void;
156
+ /**
157
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
158
+ *
159
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
160
+ * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
161
+ * @private
162
+ * @param options
163
+ */
164
+ click({sourceEvent}?: ClickOptions): void;
47
165
  }
48
166
 
49
167
  declare const internals: unique symbol;
168
+ /**
169
+ * The base properties for an input element that participates in form submission. Defines the core properties needed for form integration including identifier, name, value, and disabled state.
170
+ */
50
171
  export type PreactInputProps = Required<
51
172
  Pick<TextFieldProps$1, 'disabled' | 'id' | 'name' | 'value'>
52
173
  >;
174
+ /** @private */
53
175
  declare class PreactInputElement
54
- extends PolarisCustomElement
176
+ extends PreactCustomElement
55
177
  implements PreactInputProps
56
178
  {
57
179
  static formAssociated: boolean;
58
180
  /** @private */
59
181
  [internals]: ElementInternals;
182
+ /**
183
+ * A callback that's invoked when the user has finished editing the field, such as when they blur the field.
184
+ */
60
185
  accessor onchange: CallbackEventListener<'input'>;
186
+ /**
187
+ * A callback that's invoked when the user makes any changes in the field.
188
+ */
61
189
  accessor oninput: CallbackEventListener<'input'>;
190
+ /**
191
+ * Whether the field is disabled, disallowing any interaction.
192
+ *
193
+ * @default false
194
+ */
62
195
  accessor disabled: PreactInputProps['disabled'];
196
+ /**
197
+ * An identifier for the field.
198
+ */
63
199
  accessor id: PreactInputProps['id'];
200
+ /**
201
+ * An identifier for the field that's unique within the nearest containing form.
202
+ */
64
203
  accessor name: PreactInputProps['name'];
204
+ /**
205
+ * The current value for the field.
206
+ */
65
207
  get value(): PreactInputProps['value'];
66
208
  set value(value: PreactInputProps['value']);
67
209
  constructor(renderImpl: RenderImpl);
68
210
  }
69
211
 
212
+ /**
213
+ * The base properties for form field elements that support labels, validation, and autocomplete. Extends `PreactInputProps` with additional form field features like labels, placeholders, error messages, and autocomplete hints.
214
+ */
70
215
  export type PreactFieldProps<Autocomplete extends string = string> =
71
216
  PreactInputProps &
72
217
  Required<
@@ -83,19 +228,9 @@ export type PreactFieldProps<Autocomplete extends string = string> =
83
228
  >
84
229
  > & {
85
230
  /**
86
- * A hint as to the intended content of the field.
87
- *
88
- * When set to `on` (the default), this property indicates that the field should support
89
- * autofill, but you do not have any more semantic information on the intended
90
- * contents.
91
- *
92
- * When set to `off`, you are indicating that this field contains sensitive
93
- * information, or contents that are never saved, like one-time codes.
231
+ * A hint about the intended content of the field for browser autocomplete functionality. When set to `'on'` (the default), this indicates that the field should support autofill, but you don't have specific semantic information about the contents. When set to `'off'`, you're indicating that this field contains sensitive information or contents that are never saved, like one-time codes. Alternatively, you can provide a specific autocomplete value that describes the data you'd like to be entered during autofill, such as `'email'`, `'name'`, or `'street-address'`.
94
232
  *
95
- * Alternatively, you can provide value which describes the
96
- * specific data you would like to be entered into this field during autofill.
97
- *
98
- * @see Learn more about the set of {@link https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens|autocomplete values} supported in browsers.
233
+ * @see Learn more about the set of [autocomplete values](https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-detail-tokens) supported in browsers.
99
234
  *
100
235
  * @default 'tel' for PhoneField
101
236
  * @default 'email' for EmailField
@@ -104,20 +239,58 @@ export type PreactFieldProps<Autocomplete extends string = string> =
104
239
  */
105
240
  autocomplete: Autocomplete;
106
241
  };
242
+ /** @private */
107
243
  declare class PreactFieldElement<Autocomplete extends string = string>
108
244
  extends PreactInputElement
109
245
  implements PreactFieldProps<Autocomplete>
110
246
  {
247
+ /**
248
+ * A callback that's invoked when the field loses focus.
249
+ */
111
250
  accessor onblur: CallbackEventListener<'input'>;
251
+ /**
252
+ * A callback that's invoked when the field receives focus.
253
+ */
112
254
  accessor onfocus: CallbackEventListener<'input'>;
255
+ /**
256
+ * A hint as to the intended content of the field for autocomplete purposes.
257
+ */
113
258
  accessor autocomplete: PreactFieldProps<Autocomplete>['autocomplete'];
259
+ /**
260
+ * The initial value for the field when it's first rendered.
261
+ */
114
262
  accessor defaultValue: PreactFieldProps['defaultValue'];
263
+ /**
264
+ * Additional descriptive text to display below the field that provides supplementary information.
265
+ */
115
266
  accessor details: PreactFieldProps['details'];
267
+ /**
268
+ * An error message to display below the field, indicating validation failure or other issues.
269
+ */
116
270
  accessor error: PreactFieldProps['error'];
271
+ /**
272
+ * The text label to display for the field, describing what the user should enter.
273
+ */
117
274
  accessor label: PreactFieldProps['label'];
275
+ /**
276
+ * Controls the visibility of the label for accessibility purposes.
277
+ */
118
278
  accessor labelAccessibilityVisibility: PreactFieldProps['labelAccessibilityVisibility'];
279
+ /**
280
+ * The placeholder text that's displayed inside the field when it's empty, providing a hint about expected input.
281
+ */
119
282
  accessor placeholder: PreactFieldProps['placeholder'];
283
+ /**
284
+ * Whether the field is read-only, preventing edits while still allowing focus and selection.
285
+ *
286
+ * @default false
287
+ */
120
288
  accessor readOnly: PreactFieldProps['readOnly'];
289
+ /**
290
+ * Whether the field must be filled out before form submission.
291
+ *
292
+ * @default false
293
+ */
121
294
  accessor required: PreactFieldProps['required'];
122
295
  /**
123
296
  * Global keyboard event handlers for things like key bindings typically
@@ -146,6 +319,9 @@ declare class PreactFieldElement<Autocomplete extends string = string>
146
319
  constructor(renderImpl: RenderImpl);
147
320
  }
148
321
 
322
+ /**
323
+ * The properties for the text field component. Extends `PreactFieldProps` with text-specific features like icons, length constraints, and prefix/suffix content.
324
+ */
149
325
  export type TextFieldProps = PreactFieldProps<
150
326
  /** @default 'on' */
151
327
  Required<TextFieldProps$1>['autocomplete']
@@ -157,23 +333,38 @@ export type TextFieldProps = PreactFieldProps<
157
333
  >
158
334
  >;
159
335
 
160
- declare abstract class TextFieldBase
336
+ /**
337
+ * The text field custom element class that renders a single-line text input field in the Shopify admin interface. This component allows merchants to enter and edit text with support for labels, validation, icons, and prefix/suffix content.
338
+ */
339
+ declare class TextField
161
340
  extends PreactFieldElement<TextFieldProps['autocomplete']>
162
- implements
163
- Pick<
164
- TextFieldProps,
165
- 'icon' | 'maxLength' | 'minLength' | 'prefix' | 'suffix'
166
- >
341
+ implements TextFieldProps
167
342
  {
343
+ /**
344
+ * An icon to display at the start of the text field, providing visual context for the input. Accepts any valid icon type from the admin icon set, or an empty string to display no icon.
345
+ */
168
346
  accessor icon: TextFieldProps['icon'];
347
+ /**
348
+ * The maximum number of characters the merchant can enter in the field. When this limit is reached, the field prevents further input.
349
+ */
169
350
  accessor maxLength: TextFieldProps['maxLength'];
351
+ /**
352
+ * The minimum number of characters required in the field for validation. The field will be considered invalid if the merchant enters fewer characters than this value.
353
+ */
170
354
  accessor minLength: TextFieldProps['minLength'];
355
+ /**
356
+ * Text or content to display before the merchant's input, such as a currency symbol (`$`) or protocol (`https://`).
357
+ */
171
358
  accessor prefix: TextFieldProps['prefix'];
359
+ /**
360
+ * Text or content to display after the merchant's input, such as a unit of measurement (`kg`, `%`) or domain (`.myshopify.com`).
361
+ */
172
362
  accessor suffix: TextFieldProps['suffix'];
173
- constructor(renderImpl: RenderImpl);
174
- }
175
-
176
- declare class TextField extends TextFieldBase implements TextFieldProps {
363
+ /**
364
+ * The current text value in the field as a string. When setting this property programmatically, it updates the field's display value. When reading it, you get the user's current input.
365
+ */
366
+ get value(): string;
367
+ set value(value: string);
177
368
  constructor();
178
369
  }
179
370
  declare global {
@@ -191,12 +382,15 @@ declare module 'preact' {
191
382
  }
192
383
 
193
384
  declare const tagName = 's-text-field';
385
+ /**
386
+ * The JSX props for the text field component. These properties extend `TextFieldProps` with JSX-specific event callbacks and an accessory slot for rendering additional content at the end of the field.
387
+ */
194
388
  export interface TextFieldJSXProps
195
389
  extends Partial<Omit<TextFieldProps, 'accessory'>>,
196
390
  Pick<TextFieldProps$1, 'id'>,
197
391
  FieldReactProps<typeof tagName> {
198
392
  /**
199
- * The accessory to display in the text field.
393
+ * An accessory element to display at the end of the text field, such as a button, icon, or other interactive component. This appears inside the field's visual boundary, typically for actions like clearing the field or showing additional options.
200
394
  */
201
395
  accessory?: ComponentChildren;
202
396
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Thumbnail.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Thumbnail/Thumbnail.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAmJX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Thumbnail.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Thumbnail/Thumbnail.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCA0GX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- /** VERSION: 1.38.0 **/
1
+ /** VERSION: 1.25.0 **/
2
2
  /* eslint-disable import/extensions */
3
3
 
4
4
  /* eslint-disable @typescript-eslint/no-namespace */
@@ -6,47 +6,183 @@
6
6
 
7
7
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference, spaced-comment
8
8
  /// <reference lib="DOM" />
9
- import type {
10
- ThumbnailProps$1,
11
- PreactCustomElement,
12
- RenderImpl,
13
- } from './shared.d.ts';
9
+ import type {ThumbnailProps$1, ComponentChildren} from './shared.d.ts';
14
10
 
11
+ /**
12
+ * A callback event that's typed to a specific HTML element.
13
+ */
15
14
  export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
15
+ /**
16
+ * The element that currently has the event listener attached.
17
+ */
16
18
  currentTarget: HTMLElementTagNameMap[T];
17
19
  };
20
+ /**
21
+ * An event listener for callback events, typed to a specific HTML element.
22
+ */
18
23
  export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
19
24
  | (EventListener & {
20
25
  (event: CallbackEvent<T>): void;
21
26
  })
22
27
  | null;
23
- /** Used when an element does not have children. */
28
+ /**
29
+ * The base properties for Preact elements that don't have children, providing essential attributes like keys and refs for component management.
30
+ */
24
31
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
25
- /** Assigns a unique key to this element. */
32
+ /**
33
+ * A unique identifier for this element within its parent. Preact uses keys to optimize rendering performance when lists change by tracking which items have been added, removed, or reordered.
34
+ */
26
35
  key?: preact.Key;
27
- /** Assigns a ref (generally from `useRef()`) to this element. */
36
+ /**
37
+ * A reference to the underlying DOM element, typically created using `useRef()`. This allows you to access and manipulate the DOM element directly in your component logic.
38
+ */
28
39
  ref?: preact.Ref<TClass>;
29
- /** Assigns this element to a parent's slot. */
40
+ /**
41
+ * Assigns this element to a named slot in a parent component that uses shadow DOM or slot-based composition patterns.
42
+ */
30
43
  slot?: Lowercase<string>;
31
44
  }
32
45
 
46
+ /**
47
+ * The properties for the thumbnail component. A thumbnail displays a small preview image with configurable sizing. Properties include `src` for the image URL, `alt` for accessibility text, and `size` for controlling the thumbnail dimensions.
48
+ */
33
49
  export interface ThumbnailProps
34
50
  extends Required<Pick<ThumbnailProps$1, 'src' | 'alt' | 'size'>> {
51
+ /**
52
+ * The URL of the image to display in the thumbnail. You can provide an absolute or relative URL pointing to the image file.
53
+ */
54
+ src: ThumbnailProps$1['src'];
55
+ /**
56
+ * Alternative text that describes the image for screen readers. This text should convey the meaning or content of the image to users who can't see it.
57
+ */
58
+ alt: ThumbnailProps$1['alt'];
59
+ /**
60
+ * The size of the thumbnail. Choose from `'small-200'`, `'small-100'`, `'small'`, `'base'`, `'large'`, or `'large-100'` to control the thumbnail dimensions.
61
+ *
62
+ * @default 'base'
63
+ */
35
64
  size: Extract<
36
65
  ThumbnailProps$1['size'],
37
66
  'small-200' | 'small-100' | 'small' | 'base' | 'large' | 'large-100'
38
67
  >;
39
68
  }
40
69
 
41
- declare class PolarisCustomElement extends PreactCustomElement {
42
- constructor(renderImpl: Omit<RenderImpl, 'globalShadowCSS'>);
70
+ /**
71
+ * A string containing CSS styles for a custom element.
72
+ */
73
+ export type Styles = string;
74
+ /**
75
+ * The configuration for rendering a custom element with Preact.
76
+ */
77
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
78
+ /**
79
+ * The function that renders the shadow root content.
80
+ */
81
+ ShadowRoot: (element: any) => ComponentChildren;
82
+ /**
83
+ * The optional CSS styles to apply to the shadow root.
84
+ */
85
+ styles?: Styles;
86
+ };
87
+ /**
88
+ * The properties of an activation event, such as a click or keypress. These properties capture which modifier keys were pressed and which mouse button was used during the event.
89
+ */
90
+ export interface ActivationEventEsque {
91
+ /**
92
+ * Whether the shift key was pressed during the event.
93
+ */
94
+ shiftKey: boolean;
95
+ /**
96
+ * Whether the meta key (Command on Mac, Windows key on Windows) was pressed during the event.
97
+ */
98
+ metaKey: boolean;
99
+ /**
100
+ * Whether the control key was pressed during the event.
101
+ */
102
+ ctrlKey: boolean;
103
+ /**
104
+ * The mouse button that was pressed (0 for left, 1 for middle, 2 for right).
105
+ */
106
+ button: number;
107
+ }
108
+ /**
109
+ * The options for triggering a synthetic click event.
110
+ */
111
+ export interface ClickOptions {
112
+ /**
113
+ * The original user event (such as a click or keyboard event) that triggered this programmatic click. When provided, the component preserves important event properties like modifier keys (Ctrl, Shift, Alt, Meta) and mouse button states, enabling behaviors such as opening links in a new tab when middle-clicked or Ctrl+clicked.
114
+ */
115
+ sourceEvent?: ActivationEventEsque;
116
+ }
117
+ /**
118
+ * The base class for creating custom elements with Preact.
119
+ * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
120
+ * So we give it a type of `HTMLElement` to avoid typing issues later where it's used, which will only happen in the browser.
121
+ */
122
+ declare const BaseClass: typeof globalThis.HTMLElement;
123
+ /**
124
+ * An abstract base class for creating custom elements that render with Preact.
125
+ */
126
+ declare abstract class PreactCustomElement extends BaseClass {
127
+ /** @private */
128
+ static get observedAttributes(): string[];
129
+ constructor({
130
+ styles,
131
+ ShadowRoot: renderFunction,
132
+ delegatesFocus,
133
+ ...options
134
+ }: RenderImpl);
135
+
136
+ /** @private */
137
+ setAttribute(name: string, value: string): void;
138
+ /** @private */
139
+ attributeChangedCallback(name: string): void;
140
+ /** @private */
141
+ connectedCallback(): void;
142
+ /** @private */
143
+ disconnectedCallback(): void;
144
+ /** @private */
145
+ adoptedCallback(): void;
146
+ /**
147
+ * Queues a run of the render function.
148
+ * You shouldn't need to call this manually - it should be handled by changes to `@property` values.
149
+ * @private
150
+ */
151
+ queueRender(): void;
152
+ /**
153
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
154
+ *
155
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
156
+ * components will attempt to produce the desired behavior on links, such as opening the page in a background tab.
157
+ * @private
158
+ * @param options
159
+ */
160
+ click({sourceEvent}?: ClickOptions): void;
43
161
  }
44
162
 
45
- declare class Thumbnail extends PolarisCustomElement implements ThumbnailProps {
163
+ /**
164
+ * A thumbnail displays a small preview image with configurable sizing.
165
+ */
166
+ declare class Thumbnail extends PreactCustomElement implements ThumbnailProps {
167
+ /**
168
+ * The URL of the image to display in the thumbnail.
169
+ */
46
170
  accessor src: ThumbnailProps['src'];
171
+ /**
172
+ * Alternative text that describes the image for screen readers.
173
+ */
47
174
  accessor alt: ThumbnailProps['alt'];
175
+ /**
176
+ * The size of the thumbnail.
177
+ */
48
178
  accessor size: ThumbnailProps['size'];
179
+ /**
180
+ * A callback that's fired when the image has loaded successfully.
181
+ */
49
182
  accessor onload: CallbackEventListener<typeof tagName> | null;
183
+ /**
184
+ * A callback that's fired when the image fails to load.
185
+ */
50
186
  accessor onerror: OnErrorEventHandler;
51
187
  constructor();
52
188
  }
@@ -64,10 +200,19 @@ declare module 'preact' {
64
200
  }
65
201
 
66
202
  declare const tagName = 's-thumbnail';
203
+ /**
204
+ * The properties for the thumbnail component when it's used in JSX.
205
+ */
67
206
  export interface ThumbnailJSXProps
68
207
  extends Partial<ThumbnailProps>,
69
208
  Pick<ThumbnailProps$1, 'id'> {
209
+ /**
210
+ * A callback that's fired when the image has loaded successfully.
211
+ */
70
212
  onLoad?: ((event: CallbackEvent<typeof tagName>) => void) | null;
213
+ /**
214
+ * A callback that's fired when the image fails to load.
215
+ */
71
216
  onError?: ((event: CallbackEvent<typeof tagName>) => void) | null;
72
217
  }
73
218
 
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Tooltip/Tooltip.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAsHX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Tooltip.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Tooltip/Tooltip.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kCAAkC,EAAC,MAAM,kBAAkB,CAAC;AAGpE,QAAA,MAAM,IAAI,EAAE,kCAkHX,CAAC;AAEF,eAAe,IAAI,CAAC"}