@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
@@ -0,0 +1,2 @@
1
+ <s-tooltip id="save-shortcut">Save (⌘S)</s-tooltip>
2
+ <s-button interestFor="save-shortcut">Save</s-button>
@@ -1,6 +1,4 @@
1
- <s-tooltip id="delete-button-tooltip">
2
- <s-text>Delete item permanently</s-text>
3
- </s-tooltip>
4
- <s-button interestFor="delete-button-tooltip">
5
- <s-icon tone="neutral" type="info"></s-icon>
1
+ <s-tooltip id="info-tooltip">View product details and inventory status</s-tooltip>
2
+ <s-button interestFor="info-tooltip" accessibilityLabel="More information">
3
+ <s-icon type="info"></s-icon>
6
4
  </s-button>
@@ -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 */
@@ -9,38 +9,138 @@
9
9
  import type {
10
10
  ComponentChildren,
11
11
  TooltipProps$1,
12
- PreactCustomElement,
13
- RenderImpl,
14
12
  InteractionProps,
15
13
  } from './shared.d.ts';
16
14
 
15
+ /**
16
+ * The properties you can set on a tooltip component.
17
+ */
17
18
  export interface TooltipProps extends Required<Pick<TooltipProps$1, 'id'>> {}
18
19
 
19
- /** Used when an element does not have children. */
20
+ /**
21
+ * The base properties for Preact elements that don't have children, providing essential attributes like keys and refs for component management.
22
+ */
20
23
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
21
- /** Assigns a unique key to this element. */
24
+ /**
25
+ * 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.
26
+ */
22
27
  key?: preact.Key;
23
- /** Assigns a ref (generally from `useRef()`) to this element. */
28
+ /**
29
+ * 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.
30
+ */
24
31
  ref?: preact.Ref<TClass>;
25
- /** Assigns this element to a parent's slot. */
32
+ /**
33
+ * Assigns this element to a named slot in a parent component that uses shadow DOM or slot-based composition patterns.
34
+ */
26
35
  slot?: Lowercase<string>;
27
36
  }
28
- /** Used when an element has children. */
37
+ /**
38
+ * The base properties for Preact elements that have children, extending the base element properties to include child content.
39
+ */
29
40
  export interface PreactBaseElementPropsWithChildren<TClass extends HTMLElement>
30
41
  extends PreactBaseElementProps<TClass> {
31
42
  children?: preact.ComponentChildren;
32
43
  }
33
44
 
34
- declare class PolarisCustomElement extends PreactCustomElement {
35
- constructor(renderImpl: Omit<RenderImpl, 'globalShadowCSS'>);
45
+ /**
46
+ * A string that contains CSS styles to apply to the component.
47
+ */
48
+ export type Styles = string;
49
+ /**
50
+ * The implementation details for rendering a Preact custom element with a shadow root.
51
+ */
52
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
53
+ /**
54
+ * The function that renders the component's shadow root content.
55
+ */
56
+ ShadowRoot: (element: any) => ComponentChildren;
57
+ /**
58
+ * The CSS styles to apply to the component.
59
+ */
60
+ styles?: Styles;
61
+ };
62
+ /**
63
+ * An object that resembles an activation event, containing information about which modifier keys were pressed and which mouse button was used.
64
+ */
65
+ export interface ActivationEventEsque {
66
+ /**
67
+ * Whether the Shift key was pressed during the event.
68
+ */
69
+ shiftKey: boolean;
70
+ /**
71
+ * Whether the Meta key (Command on Mac, Windows key on Windows) was pressed during the event.
72
+ */
73
+ metaKey: boolean;
74
+ /**
75
+ * Whether the Control key was pressed during the event.
76
+ */
77
+ ctrlKey: boolean;
78
+ /**
79
+ * The mouse button that was pressed. A value of `0` means the primary button (usually left), `1` means the middle button, and `2` means the secondary button (usually right).
80
+ */
81
+ button: number;
82
+ }
83
+ /**
84
+ * The options for customizing how a synthetic click is performed.
85
+ */
86
+ export interface ClickOptions {
87
+ /**
88
+ * 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.
89
+ */
90
+ sourceEvent?: ActivationEventEsque;
91
+ }
92
+ /**
93
+ * Base class for creating custom elements with Preact.
94
+ * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
95
+ * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
96
+ */
97
+ declare const BaseClass: typeof globalThis.HTMLElement;
98
+ declare abstract class PreactCustomElement extends BaseClass {
99
+ /** @private */
100
+ static get observedAttributes(): string[];
101
+ constructor({
102
+ styles,
103
+ ShadowRoot: renderFunction,
104
+ delegatesFocus,
105
+ ...options
106
+ }: RenderImpl);
107
+
108
+ /** @private */
109
+ setAttribute(name: string, value: string): void;
110
+ /** @private */
111
+ attributeChangedCallback(name: string): void;
112
+ /** @private */
113
+ connectedCallback(): void;
114
+ /** @private */
115
+ disconnectedCallback(): void;
116
+ /** @private */
117
+ adoptedCallback(): void;
118
+ /**
119
+ * Queue a run of the render function.
120
+ * You shouldn't need to call this manually - it should be handled by changes to @property values.
121
+ * @private
122
+ */
123
+ queueRender(): void;
124
+ /**
125
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
126
+ *
127
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
128
+ * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
129
+ * @private
130
+ * @param options
131
+ */
132
+ click({sourceEvent}?: ClickOptions): void;
36
133
  }
37
134
 
135
+ /**
136
+ * The properties for controlling overlay elements like popovers, tooltips, and menus through command interactions.
137
+ */
38
138
  export interface PreactOverlayControlProps
39
139
  extends Pick<InteractionProps, 'commandFor' | 'interestFor'> {
40
140
  /**
41
- * Sets the action the [command](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command) should take when this clickable is activated.
141
+ * The action that the [command](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command) should take when this component is activated.
42
142
  *
43
- * See the documentation of particular components for the actions they support.
143
+ * See the documentation of specific components for the actions they support.
44
144
  *
45
145
  * - `--auto`: a default action for the target component.
46
146
  * - `--show`: shows the target component.
@@ -54,11 +154,11 @@ export interface PreactOverlayControlProps
54
154
  '--show' | '--hide' | '--toggle' | '--auto'
55
155
  >;
56
156
  /**
57
- * Sets the element the [commandFor](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor) should act on when this clickable is activated.
157
+ * The element that the [commandFor](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor) should act on when this component is activated.
58
158
  */
59
159
  commandFor: Extract<InteractionProps['commandFor'], string>;
60
160
  /**
61
- * Sets the element the [interestFor](https://open-ui.org/components/interest-invokers.explainer/#the-pitch-in-code) should act on when this clickable is activated.
161
+ * The element that the [interestFor](https://open-ui.org/components/interest-invokers.explainer/#the-pitch-in-code) should act on when this component is activated.
62
162
  */
63
163
  interestFor: Extract<InteractionProps['interestFor'], string>;
64
164
  }
@@ -66,29 +166,41 @@ export interface PreactOverlayControlProps
66
166
  /**
67
167
  * Shared symbols for overlay control functionality.
68
168
  * These symbols are used by components that implement overlay behavior
69
- * (like Popover, Tooltip, Modal, etc.) to communicate with the overlay control system.
70
- */
71
- /**
72
- * Symbol used to track the open or closed state of the overlay.
169
+ * (such as Popover, Tooltip, and Modal) to communicate with the overlay control system.
73
170
  */
171
+ /** @private */
74
172
  declare const overlayHidden: unique symbol;
75
- /**
76
- * Symbol used to track the element that opened the overlay. In some cases, like tooltips and popovers, the overlay is positioned against this element. In all cases, focus should be restored to this element when the overlay is closed.
77
- */
173
+ /** @private */
78
174
  declare const overlayActivator: unique symbol;
175
+ /** @private */
79
176
  declare const overlayHideFrameId: unique symbol;
177
+ /**
178
+ * The initialization object for creating a polyfill command event.
179
+ */
80
180
  export type PolyfillCommandEventInit = EventInit & {
181
+ /**
182
+ * The element that triggered the command.
183
+ */
81
184
  source: HTMLElement | null | undefined;
185
+ /**
186
+ * The command action that should be performed.
187
+ */
82
188
  command: PreactOverlayControlProps['command'];
83
- rootActivator?: HTMLElement | null;
84
189
  };
190
+ /**
191
+ * A polyfill event for the command interaction pattern, which is used to control overlay elements.
192
+ */
85
193
  export type PolyfillCommandEvent = Event & {
194
+ /**
195
+ * The element that triggered the command.
196
+ */
86
197
  source: PolyfillCommandEventInit['source'];
198
+ /**
199
+ * The command action that should be performed.
200
+ */
87
201
  command: PolyfillCommandEventInit['command'];
88
- /** Have to use `_s_shadowSource` because `source` is retargeted to the shadow host by browsers */
202
+ /** You have to use `_s_shadowSource` because `source` is retargeted to the shadow host by browsers. */
89
203
  _s_shadowSource: PolyfillCommandEventInit['source'];
90
- /** Root activator for nested overlays (e.g., menu button when modal opened from menu item) */
91
- _s_rootActivator?: HTMLElement | null;
92
204
  };
93
205
  declare global {
94
206
  interface GlobalEventHandlersEventMap {
@@ -96,7 +208,13 @@ declare global {
96
208
  }
97
209
  }
98
210
 
99
- declare class PreactOverlayElement extends PolarisCustomElement {
211
+ /**
212
+ * The base class for overlay elements that can be shown and hidden through command interactions.
213
+ */
214
+ declare class PreactOverlayElement extends PreactCustomElement {
215
+ /**
216
+ * Creates a new overlay element with the given render implementation.
217
+ */
100
218
  constructor(renderImpl: RenderImpl);
101
219
  /** @private */
102
220
  [overlayHidden]: boolean;
@@ -106,7 +224,13 @@ declare class PreactOverlayElement extends PolarisCustomElement {
106
224
  [overlayHideFrameId]?: number;
107
225
  }
108
226
 
227
+ /**
228
+ * A component that displays a small popup with explanatory text when the user hovers over or focuses on an element.
229
+ */
109
230
  declare class Tooltip extends PreactOverlayElement implements TooltipProps {
231
+ /**
232
+ * Creates a new Tooltip instance.
233
+ */
110
234
  constructor();
111
235
  }
112
236
  declare global {
@@ -122,14 +246,18 @@ declare module 'preact' {
122
246
  }
123
247
  }
124
248
 
249
+ /**
250
+ * The custom element tag name for the tooltip component.
251
+ */
125
252
  declare const tagName = 's-tooltip';
253
+ /**
254
+ * The JSX properties you can set on a tooltip component.
255
+ */
126
256
  export interface TooltipJSXProps
127
257
  extends Partial<TooltipProps>,
128
258
  Pick<TooltipProps$1, 'id' | 'children'> {
129
259
  /**
130
- * The content of the Tooltip.
131
- *
132
- * Only accepts `Text`, `Paragraph` components, and raw `textContent`.
260
+ * The content to display inside the tooltip, which should include text or paragraph components, or raw text content.
133
261
  */
134
262
  children?: ComponentChildren;
135
263
  }
@@ -1,5 +1,5 @@
1
1
  <s-url-field
2
2
  label="Your website"
3
- details="Join the partner ecosystem"
4
- placeholder="https://shopify.com/partner"
3
+ details="Enter your business website"
4
+ placeholder="https://example.com"
5
5
  ></s-url-field>
@@ -1,7 +1,5 @@
1
- <s-stack gap="base">
2
- <s-url-field
3
- label="Profile URL"
4
- value="https://shop.myshopify.com"
5
- readOnly
6
- ></s-url-field>
7
- </s-stack>
1
+ <s-url-field
2
+ label="Profile URL"
3
+ value="https://shop.myshopify.com"
4
+ readOnly
5
+ ></s-url-field>
@@ -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 */
@@ -9,59 +9,210 @@
9
9
  import type {
10
10
  TextFieldProps,
11
11
  URLFieldProps$1,
12
- PreactCustomElement,
13
- RenderImpl,
12
+ ComponentChildren,
14
13
  } from './shared.d.ts';
15
14
 
15
+ /**
16
+ * An event object with a strongly-typed currentTarget property that references the specific HTML element type.
17
+ */
16
18
  export type CallbackEvent<T extends keyof HTMLElementTagNameMap> = Event & {
19
+ /**
20
+ * The DOM element that the event listener is attached to.
21
+ */
17
22
  currentTarget: HTMLElementTagNameMap[T];
18
23
  };
24
+ /**
25
+ * An event listener function or null that receives a typed callback event.
26
+ */
19
27
  export type CallbackEventListener<T extends keyof HTMLElementTagNameMap> =
20
28
  | (EventListener & {
29
+ /**
30
+ * The callback function that's invoked when the event fires.
31
+ */
21
32
  (event: CallbackEvent<T>): void;
22
33
  })
23
34
  | null;
35
+ /**
36
+ * The React-style event handler props for form field components.
37
+ */
24
38
  export interface FieldReactProps<T extends keyof HTMLElementTagNameMap> {
39
+ /**
40
+ * A callback that's triggered when the field's value changes as the user types.
41
+ */
25
42
  onInput?: ((event: CallbackEvent<T>) => void) | null;
43
+ /**
44
+ * A callback that's triggered when the field's value changes and the field loses focus.
45
+ */
26
46
  onChange?: ((event: CallbackEvent<T>) => void) | null;
47
+ /**
48
+ * A callback that's triggered when the field receives focus.
49
+ */
27
50
  onFocus?: ((event: CallbackEvent<T>) => void) | null;
51
+ /**
52
+ * A callback that's triggered when the field loses focus.
53
+ */
28
54
  onBlur?: ((event: CallbackEvent<T>) => void) | null;
29
55
  }
30
- /** Used when an element does not have children. */
56
+ /**
57
+ * The base properties for Preact elements that don't have children, providing essential attributes like keys and refs for component management.
58
+ */
31
59
  export interface PreactBaseElementProps<TClass extends HTMLElement> {
32
- /** Assigns a unique key to this element. */
60
+ /**
61
+ * 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.
62
+ */
33
63
  key?: preact.Key;
34
- /** Assigns a ref (generally from `useRef()`) to this element. */
64
+ /**
65
+ * 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.
66
+ */
35
67
  ref?: preact.Ref<TClass>;
36
- /** Assigns this element to a parent's slot. */
68
+ /**
69
+ * Assigns this element to a named slot in a parent component that uses shadow DOM or slot-based composition patterns.
70
+ */
37
71
  slot?: Lowercase<string>;
38
72
  }
39
73
 
40
- declare class PolarisCustomElement extends PreactCustomElement {
41
- constructor(renderImpl: Omit<RenderImpl, 'globalShadowCSS'>);
74
+ /**
75
+ * A string containing CSS styles to be applied to the component.
76
+ */
77
+ export type Styles = string;
78
+ /**
79
+ * The implementation details for rendering a custom element with a shadow DOM.
80
+ */
81
+ export type RenderImpl = Omit<ShadowRootInit, 'mode'> & {
82
+ /**
83
+ * A function that renders the component's shadow DOM content.
84
+ */
85
+ ShadowRoot: (element: any) => ComponentChildren;
86
+ /**
87
+ * The CSS styles to apply to the component.
88
+ */
89
+ styles?: Styles;
90
+ };
91
+ /**
92
+ * An object containing information about keyboard and mouse button states during an activation event.
93
+ */
94
+ export interface ActivationEventEsque {
95
+ /**
96
+ * Whether the Shift key was pressed during the event.
97
+ */
98
+ shiftKey: boolean;
99
+ /**
100
+ * Whether the Meta (Command on Mac, Windows key on PC) key was pressed during the event.
101
+ */
102
+ metaKey: boolean;
103
+ /**
104
+ * Whether the Control key was pressed during the event.
105
+ */
106
+ ctrlKey: boolean;
107
+ /**
108
+ * The mouse button that was pressed during the event.
109
+ */
110
+ button: number;
111
+ }
112
+ /**
113
+ * The options for programmatically triggering a click event on an element.
114
+ */
115
+ export interface ClickOptions {
116
+ /**
117
+ * 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.
118
+ */
119
+ sourceEvent?: ActivationEventEsque;
120
+ }
121
+ /**
122
+ * Base class for creating custom elements with Preact.
123
+ * While this class could be used in both Node and the browser, the constructor will only be used in the browser.
124
+ * So we give it a type of HTMLElement to avoid typing issues later where it's used, which will only happen in the browser.
125
+ */
126
+ declare const BaseClass: typeof globalThis.HTMLElement;
127
+ declare abstract class PreactCustomElement extends BaseClass {
128
+ /** @private */
129
+ static get observedAttributes(): string[];
130
+ constructor({
131
+ styles,
132
+ ShadowRoot: renderFunction,
133
+ delegatesFocus,
134
+ ...options
135
+ }: RenderImpl);
136
+
137
+ /** @private */
138
+ setAttribute(name: string, value: string): void;
139
+ /** @private */
140
+ attributeChangedCallback(name: string): void;
141
+ /** @private */
142
+ connectedCallback(): void;
143
+ /** @private */
144
+ disconnectedCallback(): void;
145
+ /** @private */
146
+ adoptedCallback(): void;
147
+ /**
148
+ * Queue a run of the render function.
149
+ * You shouldn't need to call this manually - it should be handled by changes to @property values.
150
+ * @private
151
+ */
152
+ queueRender(): void;
153
+ /**
154
+ * Like the standard `element.click()`, but you can influence the behavior with a `sourceEvent`.
155
+ *
156
+ * For example, if the `sourceEvent` was a middle click, or has particular keys held down,
157
+ * components will attempt to produce the desired behavior on links, such as opening the page in the background tab.
158
+ * @private
159
+ * @param options
160
+ */
161
+ click({sourceEvent}?: ClickOptions): void;
42
162
  }
43
163
 
44
164
  declare const internals: unique symbol;
165
+ /**
166
+ * The required props for input elements that all form controls must implement.
167
+ */
45
168
  export type PreactInputProps = Required<
46
169
  Pick<TextFieldProps, 'disabled' | 'id' | 'name' | 'value'>
47
170
  >;
171
+ /**
172
+ * The base class for form input elements that participate in form submission.
173
+ */
48
174
  declare class PreactInputElement
49
- extends PolarisCustomElement
175
+ extends PreactCustomElement
50
176
  implements PreactInputProps
51
177
  {
178
+ /** @private */
52
179
  static formAssociated: boolean;
53
180
  /** @private */
54
181
  [internals]: ElementInternals;
182
+ /**
183
+ * The callback that's triggered when the input value changes and the field loses focus.
184
+ */
55
185
  accessor onchange: CallbackEventListener<'input'>;
186
+ /**
187
+ * The callback that's triggered when the input value changes as the user types.
188
+ */
56
189
  accessor oninput: CallbackEventListener<'input'>;
190
+ /**
191
+ * Whether the input is disabled and can't be interacted with.
192
+ */
57
193
  accessor disabled: PreactInputProps['disabled'];
194
+ /**
195
+ * The unique identifier for the input element.
196
+ */
58
197
  accessor id: PreactInputProps['id'];
198
+ /**
199
+ * The name of the input, used when submitting form data.
200
+ */
59
201
  accessor name: PreactInputProps['name'];
202
+ /**
203
+ * The current value of the input.
204
+ */
60
205
  get value(): PreactInputProps['value'];
206
+ /**
207
+ * The current value of the input.
208
+ */
61
209
  set value(value: PreactInputProps['value']);
62
210
  constructor(renderImpl: RenderImpl);
63
211
  }
64
212
 
213
+ /**
214
+ * The common props shared by all form field components in the admin UI.
215
+ */
65
216
  export type PreactFieldProps<Autocomplete extends string = string> =
66
217
  PreactInputProps &
67
218
  Required<
@@ -78,17 +229,17 @@ export type PreactFieldProps<Autocomplete extends string = string> =
78
229
  >
79
230
  > & {
80
231
  /**
81
- * A hint as to the intended content of the field.
232
+ * A hint about the intended content of the field for browser autofill.
82
233
  *
83
234
  * When set to `on` (the default), this property indicates that the field should support
84
- * autofill, but you do not have any more semantic information on the intended
235
+ * autofill, but you don't have any more semantic information on the intended
85
236
  * contents.
86
237
  *
87
- * When set to `off`, you are indicating that this field contains sensitive
238
+ * When set to `off`, you're indicating that this field contains sensitive
88
239
  * information, or contents that are never saved, like one-time codes.
89
240
  *
90
- * Alternatively, you can provide value which describes the
91
- * specific data you would like to be entered into this field during autofill.
241
+ * Alternatively, you can provide a value which describes the
242
+ * specific data you'd like to be entered into this field during autofill.
92
243
  *
93
244
  * @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.
94
245
  *
@@ -99,27 +250,63 @@ export type PreactFieldProps<Autocomplete extends string = string> =
99
250
  */
100
251
  autocomplete: Autocomplete;
101
252
  };
253
+ /**
254
+ * The base class for form field elements that includes label, error, and validation support.
255
+ */
102
256
  declare class PreactFieldElement<Autocomplete extends string = string>
103
257
  extends PreactInputElement
104
258
  implements PreactFieldProps<Autocomplete>
105
259
  {
260
+ /**
261
+ * The callback that's triggered when the field loses focus.
262
+ */
106
263
  accessor onblur: CallbackEventListener<'input'>;
264
+ /**
265
+ * The callback that's triggered when the field receives focus.
266
+ */
107
267
  accessor onfocus: CallbackEventListener<'input'>;
268
+ /**
269
+ * A hint about the intended content of the field for browser autofill.
270
+ */
108
271
  accessor autocomplete: PreactFieldProps<Autocomplete>['autocomplete'];
272
+ /**
273
+ * The initial value of the field when it's first rendered.
274
+ */
109
275
  accessor defaultValue: PreactFieldProps['defaultValue'];
276
+ /**
277
+ * The additional text displayed below the field to provide helpful context.
278
+ */
110
279
  accessor details: PreactFieldProps['details'];
280
+ /**
281
+ * The error message displayed when the field validation fails.
282
+ */
111
283
  accessor error: PreactFieldProps['error'];
284
+ /**
285
+ * The text label displayed above the field.
286
+ */
112
287
  accessor label: PreactFieldProps['label'];
288
+ /**
289
+ * The visibility of the label for accessibility purposes. Available values: `hidden`, `visible`.
290
+ */
113
291
  accessor labelAccessibilityVisibility: PreactFieldProps['labelAccessibilityVisibility'];
292
+ /**
293
+ * The hint text displayed inside the field when it's empty.
294
+ */
114
295
  accessor placeholder: PreactFieldProps['placeholder'];
296
+ /**
297
+ * Whether the field is read-only and can't be edited by the user.
298
+ */
115
299
  accessor readOnly: PreactFieldProps['readOnly'];
300
+ /**
301
+ * Whether the field must be filled out before the form can be submitted.
302
+ */
116
303
  accessor required: PreactFieldProps['required'];
117
304
  /**
118
305
  * Global keyboard event handlers for things like key bindings typically
119
306
  * ignore keystrokes originating from within input elements. Unfortunately,
120
- * these never account for a Custom Element being the input element.
307
+ * these never account for a custom element being the input element.
121
308
  *
122
- * To fix this, we spoof getAttribute & hasAttribute to make a PreactFieldElement
309
+ * To fix this, we spoof getAttribute and hasAttribute to make a PreactFieldElement
123
310
  * appear as a contentEditable "input" when it contains a focused input element.
124
311
  * @private technically not private, but we don't want to expose this as public API
125
312
  */
@@ -129,8 +316,8 @@ declare class PreactFieldElement<Autocomplete extends string = string>
129
316
  */
130
317
  hasAttribute(qualifiedName: string): boolean;
131
318
  /**
132
- * Checks if the shadow tree contains a focused input (input, textarea, select, <x contentEditable>).
133
- * Note: this does _not_ return true for focussed non-field form elements like buttons.
319
+ * Checks if the shadow tree contains a focused input (input, textarea, select, contentEditable element).
320
+ * Note: this doesn't return true for focused non-field form elements like buttons.
134
321
  * @private
135
322
  */
136
323
  get isContentEditable(): boolean;
@@ -141,18 +328,40 @@ declare class PreactFieldElement<Autocomplete extends string = string>
141
328
  constructor(renderImpl: RenderImpl);
142
329
  }
143
330
 
331
+ /**
332
+ * The properties for the URL field component. These properties configure an input field that allows merchants to enter and validate web addresses (URLs) with built-in validation.
333
+ */
144
334
  export type URLFieldProps = PreactFieldProps<
145
335
  Required<URLFieldProps$1>['autocomplete']
146
336
  > &
147
337
  Required<Pick<URLFieldProps$1, 'maxLength' | 'minLength'>>;
148
338
 
339
+ /**
340
+ * The URL field custom element class that renders a URL input field in the Shopify admin interface. This component allows merchants to enter web addresses with automatic URL validation and appropriate mobile keyboard layouts.
341
+ */
149
342
  declare class URLField
150
343
  extends PreactFieldElement<URLFieldProps['autocomplete']>
151
344
  implements URLFieldProps
152
345
  {
346
+ /**
347
+ * A hint about the intended content of the field for browser autofill.
348
+ *
349
+ * @default 'url'
350
+ */
153
351
  accessor autocomplete: URLFieldProps['autocomplete'];
352
+ /**
353
+ * The maximum number of characters allowed in the URL.
354
+ */
154
355
  accessor maxLength: URLFieldProps['maxLength'];
356
+ /**
357
+ * The minimum number of characters required in the URL.
358
+ */
155
359
  accessor minLength: URLFieldProps['minLength'];
360
+ /**
361
+ * The current URL 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. The field validates this value as a URL format when the user finishes editing.
362
+ */
363
+ get value(): string;
364
+ set value(value: string);
156
365
  constructor();
157
366
  }
158
367
  declare global {
@@ -169,6 +378,9 @@ declare module 'preact' {
169
378
  }
170
379
 
171
380
  declare const tagName = 's-url-field';
381
+ /**
382
+ * The JSX props for the URL field component. These properties extend `URLFieldProps` with JSX-specific event callbacks for React-style event handling when used in Preact.
383
+ */
172
384
  export interface URLFieldJSXProps
173
385
  extends Partial<Omit<URLFieldProps, 'accessory'>>,
174
386
  Pick<URLFieldProps$1, 'id'>,