@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
@@ -12,76 +12,113 @@ import type {ExtensionTarget} from '../../extension-targets';
12
12
  import {Extension} from '../shared';
13
13
 
14
14
  /**
15
- * Metadata associated with the checkout.
15
+ * A [metafield](/docs/apps/build/custom-data/metafields) associated with the order, identified by a namespace and key.
16
+ *
17
+ * @deprecated Use `AppMetafieldEntry` instead.
16
18
  */
17
19
  export interface Metafield {
18
20
  /**
19
- * The name of the metafield. It must be between 3 and 30 characters in
20
- * length (inclusive).
21
+ * The identifier for the metafield within its namespace, such as `'ingredients'` or `'rating'`.
21
22
  */
22
23
  key: string;
23
24
 
24
25
  /**
25
- * A container for a set of metafields. You need to define a custom
26
- * namespace for your metafields to distinguish them from the metafields
27
- * used by other apps. This must be between 2 and 20 characters in length (inclusive).
26
+ * The namespace that the metafield belongs to. Namespaces group related metafields and prevent naming collisions between different apps.
28
27
  */
29
28
  namespace: string;
30
29
 
31
30
  /**
32
- * The information to be stored as metadata.
31
+ * The data stored in the metafield. The format depends on the `valueType`: a plain string for `'string'`, a numeric value for `'integer'`, or a serialized JSON object for `'json_string'`.
33
32
  */
34
33
  value: string | number;
35
34
 
36
- /** The metafield’s information type. */
35
+ /**
36
+ * The data type of the metafield value. Determines how the `value` field should be interpreted:
37
+ *
38
+ * - `'integer'`: A whole number.
39
+ * - `'string'`: A plain text value.
40
+ * - `'json_string'`: A serialized JSON object or array.
41
+ */
37
42
  valueType: 'integer' | 'string' | 'json_string';
38
43
  }
39
44
 
40
45
  /**
41
- * Represents a custom metadata attached to a resource.
46
+ * A [metafield](/docs/apps/build/custom-data/metafields) attached to a Shopify resource, such as a product, variant, customer, or the shop. Metafields let merchants and apps store custom data beyond what Shopify provides by default.
42
47
  */
43
48
  export interface AppMetafield {
44
- /** The key name of a metafield. */
49
+ /**
50
+ * The identifier for the metafield within its namespace, such as `'ingredients'` or `'shipping_weight'`.
51
+ */
45
52
  key: string;
46
53
 
47
- /** The namespace for a metafield. */
54
+ /**
55
+ * The namespace that the metafield belongs to. Namespaces group related metafields and prevent naming collisions between different apps.
56
+ */
48
57
  namespace: string;
49
58
 
50
- /** The value of a metafield. */
59
+ /**
60
+ * The data stored in the metafield. The format depends on the `valueType`: a string for `'string'`, a number for `'integer'` or `'float'`, a boolean for `'boolean'`, or a serialized JSON object for `'json_string'`.
61
+ */
51
62
  value: string | number | boolean;
52
63
 
53
- /** The metafield’s information type. */
64
+ /**
65
+ * The data type of the metafield value. Determines how to interpret the `value` field:
66
+ *
67
+ * - `'boolean'`: A `true` or `false` value.
68
+ * - `'float'`: A decimal number.
69
+ * - `'integer'`: A whole number.
70
+ * - `'json_string'`: A serialized JSON object or array.
71
+ * - `'string'`: A plain text value.
72
+ */
54
73
  valueType: 'boolean' | 'float' | 'integer' | 'json_string' | 'string';
55
74
 
56
- /** The metafield's type name. */
75
+ /**
76
+ * The metafield's [content type](/docs/apps/build/custom-data/metafields/list-of-data-types), which provides more specific type information than `valueType`. For example, `'single_line_text_field'`, `'number_integer'`, or `'json'`.
77
+ */
57
78
  type: string;
58
79
  }
59
80
 
60
81
  /**
61
- * Represents a custom metadata attached to a resource.
82
+ * A [metafield](/docs/apps/build/custom-data/metafields) attached to the cart. Cart metafields are temporary and only persist for the duration of the checkout session.
62
83
  */
63
84
  export interface CartMetafield {
64
- /** The key name of a metafield. */
85
+ /**
86
+ * The identifier for the metafield within its namespace.
87
+ */
65
88
  key: string;
66
89
 
67
- /** The namespace for a metafield. */
90
+ /**
91
+ * The namespace that the metafield belongs to. Namespaces group related metafields and prevent naming collisions between different apps.
92
+ */
68
93
  namespace: string;
69
94
 
70
- /** The value of a metafield. */
95
+ /**
96
+ * The string value stored in the cart metafield. Unlike `AppMetafield`, cart metafield values are always strings.
97
+ */
71
98
  value: string;
72
99
 
73
- /** The metafield's type name. */
100
+ /**
101
+ * The metafield's [content type](/docs/apps/build/custom-data/metafields/list-of-data-types), which describes the structure and validation of the value. For example, `'single_line_text_field'` or `'json'`.
102
+ */
74
103
  type: string;
75
104
  }
76
105
 
77
106
  /**
78
- * The metafield owner.
107
+ * The Shopify resource that a metafield is attached to. Each entry identifies a specific resource by its type and globally-unique ID, so your extension can determine where the metafield data originates.
79
108
  */
80
109
  export interface AppMetafieldEntryTarget {
81
110
  /**
82
- * The type of the metafield owner.
111
+ * The kind of Shopify resource this metafield belongs to:
112
+ *
113
+ * - `'customer'`: The customer who placed the order.
114
+ * - `'product'`: A product in the merchant's catalog.
115
+ * - `'shop'`: The merchant's shop.
116
+ * - `'variant'`: A specific variant of a product.
117
+ * - `'company'`: A B2B company associated with the order.
118
+ * - `'companyLocation'`: A location belonging to a B2B company.
119
+ * - `'cart'`: The cart associated with the order.
83
120
  *
84
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
121
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company`, or `companyLocation`.
85
122
  */
86
123
  type:
87
124
  | 'customer'
@@ -92,22 +129,26 @@ export interface AppMetafieldEntryTarget {
92
129
  | 'companyLocation'
93
130
  | 'cart';
94
131
 
95
- /** The numeric owner ID that is associated with the metafield. */
132
+ /**
133
+ * The globally-unique identifier of the Shopify resource, in [GID](https://shopify.dev/docs/api/usage/gids) format. Use this value to match the metafield to a specific resource in your extension or when querying the GraphQL API.
134
+ *
135
+ * @example 'gid://shopify/Product/123'
136
+ */
96
137
  id: string;
97
138
  }
98
139
 
99
140
  /**
100
- * A metafield associated with the shop or a resource on the checkout.
141
+ * An entry that pairs a Shopify resource with one of its [metafields](/docs/apps/build/custom-data/metafields). Each entry contains a `target` identifying which resource the metafield belongs to and a `metafield` object with the actual data. Use `appMetafields` on the Order API to access these entries.
101
142
  */
102
143
  export interface AppMetafieldEntry {
103
144
  /**
104
- * The target that is associated to the metadata.
105
- *
106
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
107
- */
145
+ * The Shopify resource that this metafield is attached to, including the resource type (such as `'product'` or `'customer'`) and its globally-unique ID.
146
+ * */
108
147
  target: AppMetafieldEntryTarget;
109
148
 
110
- /** The metadata information. */
149
+ /**
150
+ * The metafield data, including the namespace, key, value, and content type. Use the `namespace` and `key` together to uniquely identify the metafield within its resource.
151
+ */
111
152
  metafield: AppMetafield;
112
153
  }
113
154
 
@@ -115,258 +156,259 @@ export type Version = string;
115
156
 
116
157
  export interface Currency {
117
158
  /**
118
- * The ISO-4217 code for this currency.
119
- * @see https://www.iso.org/iso-4217-currency-codes.html
159
+ * The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, such as `'USD'`, `'EUR'`, or `'CAD'`.
120
160
  */
121
161
  isoCode: CurrencyCode;
122
162
  }
123
163
 
124
164
  export interface Market {
125
165
  /**
126
- * A globally-unique identifier for a market.
166
+ * A globally-unique identifier for the market in the format `gid://shopify/Market/<id>`.
127
167
  */
128
168
  id: string;
129
169
 
130
170
  /**
131
- * The human-readable, shop-scoped identifier for the market.
171
+ * The human-readable, shop-scoped identifier for the market, such as `'us'` or `'eu'`. Merchants define these handles when configuring [Shopify Markets](/docs/apps/build/markets).
132
172
  */
133
173
  handle: string;
134
174
  }
135
175
 
136
176
  export interface OrderStatusLocalization {
137
177
  /**
138
- * The currency that the buyer sees for money amounts in the checkout.
178
+ * The currency used to display money amounts on the **Order status** page. Use this value
179
+ * to format prices and totals in the buyer's expected currency.
139
180
  */
140
181
  currency: SubscribableSignalLike<Currency>;
141
182
 
142
183
  /**
143
- * The buyers time zone.
184
+ * The buyer's time zone, derived from their browser or account settings. Use this value
185
+ * to format dates and times relative to the buyer's local time.
144
186
  */
145
187
  timezone: SubscribableSignalLike<Timezone>;
146
188
 
147
189
  /**
148
- * The language the buyer sees in the checkout.
190
+ * The language the buyer sees on the **Order status** page. This reflects the language
191
+ * selected by the buyer or determined by their browser settings, and may differ from
192
+ * the languages your extension supports.
149
193
  */
150
194
  language: SubscribableSignalLike<Language>;
151
195
 
152
196
  /**
153
- * This is the buyer's language, as supported by the extension.
154
- * If the buyer's actual language is not supported by the extension,
155
- * this is the fallback locale used for translations.
156
- *
157
- * For example, if the buyer's language is 'fr-CA' but your extension
158
- * only supports translations for 'fr', then the `isoCode` for this
159
- * language is 'fr'. If your extension does not provide french
160
- * translations at all, this value is the default locale for your
161
- * extension (that is, the one matching your .default.json file).
197
+ * The best available language match for your extension based on the buyer's language.
198
+ * If the buyer's language is `fr-CA` but your extension only supports `fr`, this
199
+ * returns `fr`. If your extension doesn't support any variant of the buyer's language,
200
+ * this falls back to your extension's default locale (the `.default.json` translation file).
201
+ * Use this value to load the correct translation file for your extension.
162
202
  */
163
203
  extensionLanguage: SubscribableSignalLike<Language>;
164
204
 
165
205
  /**
166
- * The country context of the checkout. This value carries over from the
167
- * context of the cart, where it was used to contextualize the storefront
168
- * experience. It will update if the buyer changes the country of their
169
- * shipping address. The value is undefined if unknown.
206
+ * The country associated with the order, carried over from the cart context where it was
207
+ * used to contextualize the storefront experience. Use this value to display region-specific
208
+ * content such as local support information or regional policies. The value is `undefined`
209
+ * if the buyer's country is unknown.
170
210
  */
171
211
  country: SubscribableSignalLike<Country | undefined>;
172
212
 
173
213
  /**
174
- * The [market](https://shopify.dev/docs/apps/markets) context of the
175
- * checkout. This value carries over from the context of the cart, where it
176
- * was used to contextualize the storefront experience. It will update if the
177
- * buyer changes the country of their shipping address. The value is undefined
178
- * if unknown.
214
+ * The [market](/docs/apps/build/markets) associated with the order, carried
215
+ * over from the cart context. Markets group countries and regions with shared pricing,
216
+ * languages, and domains. The value is `undefined` if the market is unknown.
179
217
  */
180
218
  market: SubscribableSignalLike<Market | undefined>;
181
219
  }
182
220
 
221
+ /**
222
+ * The buyer's authentication status on the **Order status** page:
223
+ *
224
+ * - `'fully_authenticated'`: The buyer has logged in to their customer account.
225
+ * - `'pre_authenticated'`: The buyer accessed the page via a direct link, such as from an order confirmation email, without logging in.
226
+ */
183
227
  export type AuthenticationState = 'fully_authenticated' | 'pre_authenticated';
184
228
 
185
229
  export interface OrderStatusApi<Target extends ExtensionTarget> {
186
230
  /**
187
- * Gift Cards that have been applied to the order.
231
+ * The gift cards that were applied to the order. Each gift card includes the last four
232
+ * characters of the code, the amount used for this order, and the remaining balance.
188
233
  */
189
234
  appliedGiftCards: SubscribableSignalLike<AppliedGiftCard[]>;
190
235
 
191
236
  /**
192
- * The metafields requested in the
193
- * [`shopify.ui.extension.toml`](https://shopify.dev/docs/api/customer-account-ui-extensions/configuration)
194
- * file. These metafields are updated when there's a change in the merchandise items
195
- * being purchased by the customer.
237
+ * The [metafields](/docs/apps/build/custom-data/metafields) requested in the
238
+ * [`shopify.extension.toml`](/docs/api/customer-account-ui-extensions/latest#configuration)
239
+ * file. Metafields are custom data fields that store additional information on Shopify resources
240
+ * such as products, variants, customers, and the shop. These metafields are updated when there's
241
+ * a change in the merchandise items being purchased by the customer.
196
242
  *
197
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
243
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when accessing metafields attached to `customer`, `company`, or `companyLocation` resources.
198
244
  */
199
245
  appMetafields: SubscribableSignalLike<AppMetafieldEntry[]>;
200
246
 
201
247
  /**
202
- * Custom attributes left by the customer to the merchant, either in their cart or during checkout.
248
+ * The custom key-value pairs attached to the order by the customer or by other extensions
249
+ * during cart or checkout. These are commonly used for delivery instructions, gift messages,
250
+ * or other information the buyer provides. The value is `undefined` if no attributes were set.
203
251
  */
204
252
  attributes: SubscribableSignalLike<Attribute[] | undefined>;
205
253
 
206
254
  /**
207
- * Information about the buyer that is interacting with the order.
208
- *
209
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
255
+ * The buyer who placed the order, including their customer account, email, phone number, and B2B purchasing company. Use this to personalize the **Order status** page or identify B2B orders.
210
256
  */
211
257
  buyerIdentity?: OrderStatusBuyerIdentity;
212
258
 
213
259
  /**
214
- * Settings applied to the buyer's checkout.
260
+ * The checkout settings that were active when the buyer placed the order, such as
261
+ * whether order notes and login are enabled.
215
262
  */
216
263
  checkoutSettings: SubscribableSignalLike<CheckoutSettings>;
217
264
 
218
265
  /**
219
- * Details on the costs of the purchase for the buyer.
266
+ * A breakdown of the costs for the order, including the subtotal, shipping, tax, and total amounts.
220
267
  */
221
268
  cost: CartCost;
222
269
 
223
270
  /**
224
- * A list of discount codes applied to the purchase.
271
+ * A list of discount codes that the buyer entered during checkout and that were applied to the order.
225
272
  */
226
273
  discountCodes: SubscribableSignalLike<CartDiscountCode[]>;
227
274
 
228
275
  /**
229
- * Discounts that have been applied to the entire cart.
276
+ * The cart-level discount allocations applied to the order. A discount allocation represents
277
+ * how a discount is distributed across the order. Each allocation includes the discounted
278
+ * amount and one of the following types:
279
+ *
280
+ * - `CartCodeDiscountAllocation`: A discount the buyer applied by entering a code at checkout.
281
+ * - `CartAutomaticDiscountAllocation`: A discount the merchant configured in Shopify admin to apply automatically.
282
+ * - `CartCustomDiscountAllocation`: A discount created programmatically by a [Shopify Function](/docs/apps/build/functions).
230
283
  */
231
284
  discountAllocations: SubscribableSignalLike<CartDiscountAllocation[]>;
232
285
 
233
286
  /**
234
- * Meta information about the extension.
287
+ * Metadata about the current extension, including its target, API version, and capabilities.
235
288
  */
236
289
  extension: Extension<Target>;
237
290
 
238
291
  /**
239
- * The identifier that specifies where in Shopifys UI your code is being
240
- * injected. This will be one of the targets you have included in your
241
- * extension’s configuration file.
292
+ * The identifier that specifies where in Shopify's UI your code is being injected. This will be one of the targets you have included in your extension's configuration file.
242
293
  *
243
294
  * @example 'customer-account.order-status.block.render'
244
- * @see https://shopify.dev/docs/api/customer-account-ui-extensions/extension-targets-overview
245
- * @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
295
+ * @see /docs/api/customer-account-ui-extensions/extension-targets-overview
296
+ * @see /docs/apps/app-extensions/configuration#targets
246
297
  *
247
298
  * @deprecated Deprecated as of version `2023-07`, use `extension.target` instead.
248
299
  */
249
300
  extensionPoint: Target;
250
301
 
251
302
  /**
252
- * A list of lines containing information about the items the customer intends to purchase.
303
+ * A list of line items in the order. Each line includes the merchandise, quantity, cost,
304
+ * custom attributes, and discount allocations.
253
305
  */
254
306
  lines: SubscribableSignalLike<CartLine[]>;
255
307
 
256
308
  /**
257
- * Details about the location, language, and currency of the buyer. For utilities to easily
258
- * format and translate content based on these details, you can use the
259
- * [`i18n`](https://shopify.dev/docs/api/customer-account-ui-extensions/apis/localization)
260
- * object instead.
309
+ * The buyer's locale, currency, time zone, country, and market context for the order.
310
+ * Use these values to adapt your extension's content to the buyer's region. For formatted
311
+ * dates, numbers, and translated strings, use the [Localization API](/docs/api/customer-account-ui-extensions/target-apis/platform-apis/localization-api)
312
+ * instead.
261
313
  */
262
314
  localization: OrderStatusLocalization;
263
315
 
264
316
  /**
265
- * The metafields that apply to the current order. The actual resource
266
- * on which these metafields exist depends on the source of the order:
267
- *
268
- * - If the source is an order, then the metafields are on the order.
269
- *
270
- * - If the source is a draft order, then the initial value of metafields are
271
- * from the draft order, and any new metafields you write are applied
272
- * to the order created by the checkout.
273
- *
274
- * - For all other sources, the metafields are only stored locally on the
275
- * client creating the checkout, and are applied to the order that
276
- * results from checkout.
317
+ * The [metafields](/docs/apps/build/custom-data/metafields) associated with the order. These metafields are shared across all extensions and persist throughout the checkout session.
277
318
  *
278
- * These metafields are shared by all extensions running on checkout, and
279
- * persist for as long as the customer is working on this checkout.
280
- *
281
- * Once the order is created, you can query these metafields using the
282
- * [GraphQL Admin API](https://shopify.dev/docs/admin-api/graphql/reference/orders/order#metafield-2021-01)
319
+ * @deprecated Use `appMetafields` instead, which provides richer data including the resource type and metafield content type.
283
320
  */
284
321
  metafields: SubscribableSignalLike<Metafield[]>;
285
322
 
286
323
  /**
287
324
  * A note left by the customer to the merchant, either in their cart or during checkout.
325
+ * The value is `undefined` if no note was provided.
288
326
  */
289
327
  note: SubscribableSignalLike<string | undefined>;
290
328
 
291
329
  /**
292
- * Information about the order that was placed.
330
+ * The order that was placed after checkout completion. Includes the order ID,
331
+ * display name, confirmation number, and timestamps for processing and cancellation.
332
+ * The value is `undefined` if the order hasn't been fully processed yet.
293
333
  */
294
334
  order: SubscribableSignalLike<Order | undefined>;
295
335
 
296
336
  /**
297
- * id that represents the checkout used to create the order.
298
- *
299
- * Matches the `token` field in the [WebPixel checkout payload](https://shopify.dev/docs/api/pixels/customer-events#checkout)
300
- * and the `checkout_token` field in the [Admin REST API Order resource](https://shopify.dev/docs/api/admin-rest/unstable/resources/order#resource-object).
337
+ * The token that identifies the checkout session used to create the order. Use this value
338
+ * to correlate the order with analytics events or backend API calls. This matches the
339
+ * `token` field in the [WebPixel checkout payload](/docs/api/pixels/customer-events#checkout)
340
+ * and the `checkout_token` field in the [Admin REST API Order resource](/docs/api/admin-rest/unstable/resources/order#resource-object).
341
+ * The value is `undefined` if the checkout token is unavailable.
301
342
  */
302
343
  checkoutToken: SubscribableSignalLike<CheckoutToken | undefined>;
303
344
 
304
345
  /**
305
- * The buyer shipping address used for the order.
306
- *
307
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
346
+ * The shipping address that the buyer provided for the order. This is where physical goods
347
+ * are delivered. The value is `undefined` if the order contains only digital products or
348
+ * if a shipping address wasn't required.
308
349
  */
309
350
  shippingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
310
351
 
311
352
  /**
312
- * The buyer billing address used for the order.
313
- *
314
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
353
+ * The billing address associated with the buyer's payment method for the order. The value
354
+ * is `undefined` if the order doesn't have a billing address on file.
315
355
  */
316
356
  billingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
317
357
 
318
- /** Shop where the purchase took place. */
358
+ /**
359
+ * The shop where the order was placed. Includes the shop ID, name, primary
360
+ * storefront URL, and myshopify.com domain.
361
+ */
319
362
  shop: Shop;
320
363
 
321
364
  /**
322
- * The renderer version being used for the extension.
365
+ * The API version that the extension is using, such as `'2026-01'` or `'unstable'`. This corresponds to the version declared in your extension's configuration.
323
366
  *
324
367
  * @example 'unstable'
325
368
  */
326
369
  version: Version;
327
370
 
328
371
  /**
329
- * The requireLogin() method triggers login if the customer is viewing pre-authenticated Order status page.
372
+ * Triggers a login prompt if the customer is viewing a pre-authenticated **Order status** page.
373
+ * Use this to require full authentication before displaying sensitive information in your extension.
330
374
  */
331
375
  requireLogin: () => Promise<void>;
332
376
 
333
377
  /**
334
- * The authentication state of Order status page.
378
+ * The buyer's current authentication level on the **Order status** page. Use this to determine whether to display sensitive information or prompt the buyer to log in.
335
379
  */
336
380
  authenticationState: SubscribableSignalLike<AuthenticationState>;
337
381
  }
338
382
 
383
+ /**
384
+ * Information about the buyer who placed the order.
385
+ *
386
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data). The `customer` and `purchasingCompany` properties require level 1 access. The `email` and `phone` properties require level 2 access.
387
+ */
339
388
  export interface OrderStatusBuyerIdentity {
340
389
  /**
341
- * The buyer's customer account. The value is undefined if the buyer isn’t a
342
- * known customer for this shop or if they haven't logged in yet.
343
- *
344
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
390
+ * The buyer's customer account, including their ID and whether they have accepted marketing.
391
+ * The value is `undefined` if the buyer is a guest or hasn't logged in yet.
345
392
  */
346
393
  customer: SubscribableSignalLike<OrderStatusCustomer | undefined>;
347
394
 
348
395
  /**
349
- * The email address of the buyer that is interacting with the cart.
350
- * The value is `undefined` if the app does not have access to customer data.
351
- *
352
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
396
+ * The email address associated with the order. This is the email the buyer provided during
397
+ * checkout for order confirmation and communication. The value is `undefined` if the app
398
+ * doesn't have access to customer data.
353
399
  */
354
400
  email: SubscribableSignalLike<string | undefined>;
355
401
 
356
402
  /**
357
- * The phone number of the buyer that is interacting with the cart.
358
- * The value is `undefined` if the app does not have access to customer data.
359
- *
360
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
403
+ * The phone number the buyer provided during checkout. The value is `undefined` if no phone
404
+ * number was provided or the app doesn't have access to customer data.
361
405
  */
362
406
  phone: SubscribableSignalLike<string | undefined>;
363
407
 
364
408
  /**
365
- * Provides details of the company and the company location that the business customer is purchasing on behalf of.
366
- * This includes information that can be used to identify the company and the company location that the business
367
- * customer belongs to.
368
- *
369
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
409
+ * The company and company location that a B2B (business-to-business) customer is purchasing
410
+ * on behalf of. Use this to identify the business context of the order. The value is
411
+ * `undefined` if the buyer isn't a B2B customer.
370
412
  */
371
413
  purchasingCompany: SubscribableSignalLike<
372
414
  OrderStatusPurchasingCompany | undefined
@@ -375,171 +417,160 @@ export interface OrderStatusBuyerIdentity {
375
417
 
376
418
  /**
377
419
  * Information about a company that the business customer is purchasing on behalf of.
420
+ *
421
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
378
422
  */
379
423
  export interface OrderStatusPurchasingCompany {
380
424
  /**
381
- * Includes information of the company that the business customer is purchasing on behalf of.
382
- *
383
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
425
+ * The company that the B2B customer is purchasing on behalf of, including the company ID, name, and optional external ID.
384
426
  */
385
427
  company: OrderStatusCompany;
386
428
  /**
387
- * Includes information of the company location that the business customer is purchasing on behalf of.
388
- *
389
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
429
+ * The specific company location where the order is being placed, including the location ID, name, and optional external ID.
390
430
  */
391
431
  location: OrderStatusCompanyLocation;
392
432
  }
393
433
 
434
+ /**
435
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
436
+ */
394
437
  export interface OrderStatusCompany {
395
438
  /**
396
- * The company ID.
397
- *
398
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
439
+ * A globally-unique identifier for the company in the format `gid://shopify/Company/<id>`.
399
440
  */
400
441
  id: string;
401
442
  /**
402
- * The name of the company.
403
- *
404
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
443
+ * The registered business name of the company, as configured by the merchant in Shopify admin.
405
444
  */
406
445
  name: string;
407
446
  /**
408
- * The external ID of the company that can be set by the merchant.
409
- *
410
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
447
+ * A merchant-defined external identifier for the company, often used to map to an ID in an external ERP or CRM system. The value is `undefined` if no external ID has been set.
411
448
  */
412
449
  externalId?: string;
413
450
  }
414
451
 
452
+ /**
453
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
454
+ */
415
455
  export interface OrderStatusCompanyLocation {
416
456
  /**
417
- * The company location ID.
418
- *
419
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
457
+ * A globally-unique identifier for the company location in the format `gid://shopify/CompanyLocation/<id>`.
420
458
  */
421
459
  id: string;
422
460
  /**
423
- * The name of the company location.
424
- *
425
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
461
+ * The display name of the company location, such as a branch office or warehouse name.
426
462
  */
427
463
  name: string;
428
464
  /**
429
- * The external ID of the company location that can be set by the merchant.
430
- *
431
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
465
+ * A merchant-defined external identifier for the company location, often used to map to an ID in an external ERP or CRM system. The value is `undefined` if no external ID has been set.
432
466
  */
433
467
  externalId?: string;
434
468
  }
435
469
 
436
470
  export interface AppliedGiftCard {
437
471
  /**
438
- * The last four characters of the applied gift card's code.
472
+ * The last four characters of the applied gift card's code. The full code isn't available for security reasons.
439
473
  */
440
474
  lastCharacters: string;
441
475
 
442
476
  /**
443
- * The amount of the applied gift card that will be used when the checkout is completed.
477
+ * The amount of the applied gift card that was used for this order.
444
478
  */
445
479
  amountUsed: Money;
446
480
 
447
481
  /**
448
- * The current balance of the applied gift card prior to checkout completion.
482
+ * The remaining balance of the applied gift card after the order was placed.
449
483
  */
450
484
  balance: Money;
451
485
  }
452
486
 
453
487
  export interface Shop {
454
488
  /**
455
- * The shop ID.
489
+ * A globally-unique identifier for the shop in the format `gid://shopify/Shop/<id>`.
490
+ *
456
491
  * @example 'gid://shopify/Shop/123'
457
492
  */
458
493
  id: string;
494
+
459
495
  /**
460
- * The name of the shop.
496
+ * The display name of the shop as configured by the merchant in Shopify admin.
461
497
  */
462
498
  name: string;
463
499
 
464
500
  /**
465
- * The primary storefront URL.
466
- *
467
- * > Caution:
468
- * As of version `2024-10` this value will no longer have a trailing slash.
501
+ * The primary storefront URL for the shop, such as `https://example.myshopify.com`. Use this to build links back to the merchant's online store.
469
502
  */
470
503
  storefrontUrl?: string;
504
+
471
505
  /**
472
- * The shop's myshopify.com domain.
506
+ * The shop's unique `.myshopify.com` subdomain, such as `example.myshopify.com`. This domain is permanent and doesn't change even if the merchant adds a custom domain.
473
507
  */
474
508
  myshopifyDomain: string;
475
509
  }
476
510
 
477
511
  export interface CartCost {
478
512
  /**
479
- * A `Money` value representing the subtotal value of the items in the cart at the current
480
- * step of checkout.
513
+ * The sum of all line item prices before shipping and taxes are applied. Use this value
514
+ * to display the base cost of the items the buyer purchased.
481
515
  */
482
516
  subtotalAmount: SubscribableSignalLike<Money>;
483
517
 
484
518
  /**
485
- * A `Money` value representing the total shipping a buyer can expect to pay at the current
486
- * step of checkout. This value includes shipping discounts. Returns undefined if shipping
487
- * has not been negotiated yet, such as on the information step.
519
+ * The total shipping cost for the order, after any shipping discounts have been applied.
520
+ * The value is `undefined` if shipping costs haven't been calculated or aren't applicable
521
+ * (for example, for digital-only orders).
488
522
  */
489
523
  totalShippingAmount: SubscribableSignalLike<Money | undefined>;
490
524
 
491
525
  /**
492
- * A `Money` value representing the total tax a buyer can expect to pay at the current
493
- * step of checkout or the total tax included in product and shipping prices. Returns
494
- * undefined if taxes are unavailable.
526
+ * The total tax charged for the order. This may represent taxes added on top of item prices
527
+ * or taxes already included in product and shipping prices, depending on the store's tax
528
+ * configuration. The value is `undefined` if tax information is unavailable.
495
529
  */
496
530
  totalTaxAmount: SubscribableSignalLike<Money | undefined>;
497
531
 
498
532
  /**
499
- * A `Money` value representing the minimum a buyer can expect to pay at the current
500
- * step of checkout. This value excludes amounts yet to be negotiated. For example,
501
- * the information step might not have delivery costs calculated.
533
+ * The final amount the buyer paid for the order, including all line items, shipping, taxes,
534
+ * and discounts. Gift cards and store credits are excluded from this total.
502
535
  */
503
536
  totalAmount: SubscribableSignalLike<Money>;
504
537
  }
505
538
 
506
539
  export interface CartLine {
507
540
  /**
508
- * These line item IDs are not stable at the moment, they might change after
509
- * any operations on the line items. You should always look up for an updated
510
- * ID before any call to `applyCartLinesChange` because you'll need the ID to
511
- * create a `CartLineChange` object.
541
+ * A unique identifier for the cart line in the format `gid://shopify/CartLine/<id>`. These IDs are not stable and may change after any operations on the line items, so avoid persisting them.
542
+ *
512
543
  * @example 'gid://shopify/CartLine/123'
513
544
  */
514
545
  id: string;
515
546
 
516
547
  /**
517
- * The merchandise being purchased.
548
+ * The product variant or other merchandise associated with this line item. Use this to access product details such as the title, image, SKU, and selected options.
518
549
  */
519
550
  merchandise: Merchandise;
520
551
 
521
552
  /**
522
- * The quantity of the merchandise being purchased.
553
+ * The number of units of this merchandise that the buyer purchased.
523
554
  */
524
555
  quantity: number;
525
556
 
526
557
  /**
527
- * The details about the cost components attributed to the cart line.
558
+ * The cost breakdown for this line item, including the total price after any line-level discounts have been applied.
528
559
  */
529
560
  cost: CartLineCost;
530
561
 
531
562
  /**
532
- * The line item additional custom attributes.
563
+ * Custom key-value pairs attached to this line item, such as engraving text, gift messages, or personalization options set by the buyer or an app during checkout.
533
564
  */
534
565
  attributes: Attribute[];
535
566
 
536
567
  /**
537
- * Discounts applied to the cart line.
568
+ * The list of discounts applied to this specific line item. Each allocation includes the discounted amount and the type of discount (`code`, `automatic`, or `custom`).
538
569
  */
539
570
  discountAllocations: CartDiscountAllocation[];
540
571
 
541
572
  /**
542
- * Sub lines of the merchandise line. If no sub lines are present, this will be an empty array.
573
+ * The individual components of a [bundle](/docs/apps/build/product-merchandising/bundles) line item. Each component represents a separate product within the bundle. Returns an empty array if the line item isn't a bundle.
543
574
  */
544
575
  lineComponents: CartLineComponentType[];
545
576
  }
@@ -547,34 +578,35 @@ export interface CartLine {
547
578
  type CartLineComponentType = CartBundleLineComponent;
548
579
 
549
580
  export interface CartBundleLineComponent {
581
+ /**
582
+ * The type of line component. Always `'bundle'` for bundle line components.
583
+ */
550
584
  type: 'bundle';
551
585
 
552
586
  /**
553
- * A unique identifier for the bundle line component.
554
- *
555
- * This ID is not stable. If an operation updates the line items in any way, all IDs could change.
587
+ * A unique identifier for this component within the bundle, in the format `gid://shopify/CartLineComponent/<id>`. This ID isn't stable and may change after any operation that updates the line items.
556
588
  *
557
589
  * @example 'gid://shopify/CartLineComponent/123'
558
590
  */
559
591
  id: string;
560
592
 
561
593
  /**
562
- * The merchandise of this bundle line component.
594
+ * The product variant included in this bundle component. Use this to display product details for individual items within a bundle.
563
595
  */
564
596
  merchandise: Merchandise;
565
597
 
566
598
  /**
567
- * The quantity of merchandise being purchased.
599
+ * The number of units of this component included in the bundle.
568
600
  */
569
601
  quantity: number;
570
602
 
571
603
  /**
572
- * The cost attributed to this bundle line component.
604
+ * The cost breakdown for this bundle component, representing the portion of the bundle price attributed to this item.
573
605
  */
574
606
  cost: CartLineCost;
575
607
 
576
608
  /**
577
- * Additional custom attributes for the bundle line component.
609
+ * Custom key-value pairs attached to this bundle component, such as personalization options specific to this item within the bundle.
578
610
  *
579
611
  * @example [{key: 'engraving', value: 'hello world'}]
580
612
  */
@@ -583,19 +615,20 @@ export interface CartBundleLineComponent {
583
615
 
584
616
  export interface CartLineCost {
585
617
  /**
586
- * The total amount after reductions the buyer can expect to pay that is directly attributable to a single
587
- * cart line.
618
+ * The total price the buyer pays for this line item after all line-level discounts have been applied, but before order-level discounts, taxes, and shipping.
588
619
  */
589
620
  totalAmount: Money;
590
621
  }
591
622
 
592
623
  export interface Money {
593
624
  /**
594
- * The price amount.
625
+ * The decimal amount of the price. For example, `29.99` represents twenty-nine dollars and ninety-nine cents.
595
626
  */
596
627
  amount: number;
628
+
597
629
  /**
598
- * The ISO 4217 format for the currency.
630
+ * The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
631
+ *
599
632
  * @example 'CAD' for Canadian dollar
600
633
  */
601
634
  currencyCode: CurrencyCode;
@@ -605,99 +638,102 @@ export type Merchandise = ProductVariant;
605
638
 
606
639
  export interface BaseMerchandise {
607
640
  /**
608
- * The merchandise ID.
641
+ * A globally-unique identifier for the merchandise.
609
642
  */
610
643
  id: string;
611
644
  }
612
645
 
613
646
  export interface ProductVariant extends BaseMerchandise {
647
+ /**
648
+ * The type of merchandise. Always `'variant'` for product variants.
649
+ */
614
650
  type: 'variant';
615
651
 
616
652
  /**
617
- * A globally-unique identifier.
653
+ * A globally-unique identifier for the product variant in the format `gid://shopify/ProductVariant/<id>`.
654
+ *
618
655
  * @example 'gid://shopify/ProductVariant/123'
619
656
  */
620
657
  id: string;
621
658
 
622
659
  /**
623
- * The product variant’s title.
660
+ * The display title of the product variant, such as "Small" or "Red / Large". This is the variant-specific label, not the parent product title.
624
661
  */
625
662
  title: string;
626
663
 
627
664
  /**
628
- * The product variant's sku.
665
+ * The stock keeping unit (SKU) assigned to this variant by the merchant, used for inventory tracking. The value is `undefined` if no SKU has been set.
629
666
  */
630
667
  sku?: string;
631
668
 
632
669
  /**
633
- * The product variant's subtitle.
670
+ * A secondary description for the variant that provides additional context, such as a color or size combination. The value is `undefined` if no subtitle is available.
634
671
  */
635
672
  subtitle?: string;
636
673
 
637
674
  /**
638
- * Image associated with the product variant. This field falls back to the product
639
- * image if no image is available.
675
+ * The image associated with this product variant. Falls back to the parent product's featured image if the variant doesn't have its own image.
640
676
  */
641
677
  image?: ImageDetails;
642
678
 
643
679
  /**
644
- * List of product options applied to the variant.
680
+ * The list of product options that define this variant, such as size and color. Each entry contains the option name and the selected value.
645
681
  */
646
682
  selectedOptions: SelectedOption[];
647
683
 
648
684
  /**
649
- * The product object that the product variant belongs to.
685
+ * The parent product that this variant belongs to. Use this to access the product title, vendor, and type.
650
686
  */
651
687
  product: Product;
652
688
 
653
689
  /**
654
- * Whether or not the product requires shipping.
690
+ * Whether this product variant requires physical shipping. Returns `false` for digital products, gift cards, and services.
655
691
  */
656
692
  requiresShipping: boolean;
657
693
 
658
694
  /**
659
- * The selling plan associated with the merchandise.
695
+ * The selling plan associated with this merchandise, such as a subscription or pre-order plan. The value is `undefined` if the item was purchased without a selling plan.
660
696
  */
661
697
  sellingPlan?: SellingPlan;
662
698
  }
663
699
 
664
700
  export interface Product {
665
701
  /**
666
- * A globally-unique identifier.
702
+ * A globally-unique identifier for the product in the format `gid://shopify/Product/<id>`.
667
703
  */
668
704
  id: string;
669
705
 
670
706
  /**
671
- * The products vendor name.
707
+ * The name of the product's vendor or manufacturer, as set by the merchant in Shopify admin.
672
708
  */
673
709
  vendor: string;
674
710
 
675
711
  /**
676
- * A categorization that a product can be tagged with, commonly used for filtering and searching.
712
+ * A merchant-defined categorization for the product, such as "Accessories" or "Clothing". Commonly used for filtering and organizing products in a storefront.
677
713
  */
678
714
  productType: string;
679
715
  }
680
716
 
681
717
  export interface ImageDetails {
682
718
  /**
683
- * The image URL.
719
+ * The fully-qualified URL of the image. Use this to render the product or variant image in your extension.
684
720
  */
685
721
  url: string;
686
722
 
687
723
  /**
688
- * The alternative text for the image.
724
+ * The alternative text description of the image, used for accessibility. The value is `undefined` if the merchant hasn't set alt text for the image.
689
725
  */
690
726
  altText?: string;
691
727
  }
692
728
 
693
729
  export interface SelectedOption {
694
730
  /**
695
- * The name of the merchandise option.
731
+ * The name of the product option, such as "Size", "Color", or "Material".
696
732
  */
697
733
  name: string;
698
734
 
699
735
  /**
700
- * The value of the merchandise option.
736
+ * The selected value for this option, such as "Medium", "Blue", or "Cotton".
701
737
  */
702
738
  value: string;
703
739
  }
@@ -722,7 +758,7 @@ export interface PaymentOption {
722
758
  * | `paymentOnDelivery` | A payment that will be collected on delivery. |
723
759
  * | `redeemable` | A redeemable payment option such as a gift card or store credit. |
724
760
  * | `wallet` | An integrated wallet such as PayPal, Google Pay, Apple Pay, etc. |
725
- * | `customOnsite` | A custom payment option that is processed through a checkout extension with a payments app. |
761
+ * | `customOnsite` | A custom payment option that's processed through a checkout extension with a payments app. |
726
762
  */
727
763
  type:
728
764
  | 'creditCard'
@@ -737,9 +773,7 @@ export interface PaymentOption {
737
773
  | 'customOnsite';
738
774
 
739
775
  /**
740
- * The unique handle for the payment option.
741
- *
742
- * This is not a globally unique identifier. It may be an identifier specific to the given checkout session or the current shop.
776
+ * A session-scoped identifier for this payment option. This handle isn't globally unique — it is specific to the current checkout session or the shop.
743
777
  */
744
778
  handle: string;
745
779
  }
@@ -749,65 +783,88 @@ export interface PaymentOption {
749
783
  */
750
784
  export interface SelectedPaymentOption {
751
785
  /**
752
- * The unique handle referencing `PaymentOption.handle`.
786
+ * The handle of the payment option the buyer selected, corresponding to a `PaymentOption.handle` value.
753
787
  *
754
- * See [availablePaymentOptions](https://shopify.dev/docs/api/checkout-ui-extensions/apis/payments#standardapi-propertydetail-selectedpaymentoptions).
788
+ * See [availablePaymentOptions](/docs/api/checkout-ui-extensions/apis/payments#standardapi-propertydetail-selectedpaymentoptions).
755
789
  */
756
790
  handle: string;
757
791
  }
758
792
 
759
793
  export interface CartDiscountCode {
760
794
  /**
761
- * The code for the discount
795
+ * The discount code string that the buyer entered during checkout, such as "SAVE10" or "FREESHIP". Use this to display which discount codes were applied to the order.
762
796
  */
763
797
  code: string;
764
798
  }
799
+ /**
800
+ * A discount allocation represents a single discount applied to a specific line item or the overall order.
801
+ * When a discount applies to an order, Shopify splits the total discount amount across the affected line items
802
+ * as individual allocations. For example, a "10% off your order" discount is distributed proportionally across
803
+ * each line item rather than appearing as one lump sum.
804
+ *
805
+ * There are three types of discount allocations:
806
+ * - `CartCodeDiscountAllocation`: A discount applied using a code the buyer entered at checkout (for example, "SAVE10").
807
+ * - `CartAutomaticDiscountAllocation`: A discount the merchant configured in Shopify admin to apply automatically without a code.
808
+ * - `CartCustomDiscountAllocation`: A discount created programmatically by a [Shopify Function](/docs/apps/build/functions).
809
+ */
765
810
  export type CartDiscountAllocation =
766
811
  | CartCodeDiscountAllocation
767
812
  | CartAutomaticDiscountAllocation
768
813
  | CartCustomDiscountAllocation;
769
814
 
815
+ /**
816
+ * The base properties shared by all discount allocation types.
817
+ */
770
818
  export interface CartDiscountAllocationBase {
771
819
  /**
772
- * The money amount that has been discounted from the order
820
+ * The monetary value that was deducted from the line item or order total by this discount allocation.
773
821
  */
774
822
  discountedAmount: Money;
775
823
  }
776
824
 
825
+ /**
826
+ * A discount allocation for a discount that was applied using a code the buyer entered at checkout.
827
+ */
777
828
  export interface CartCodeDiscountAllocation extends CartDiscountAllocationBase {
778
829
  /**
779
- * The code for the discount
830
+ * The discount code string that the buyer entered during checkout, such as "SAVE10" or "FREESHIP".
780
831
  */
781
832
  code: string;
782
833
 
783
834
  /**
784
- * The type of the code discount
835
+ * The type of this discount allocation. Always `'code'` for discounts applied using a code entered by the buyer.
785
836
  */
786
837
  type: 'code';
787
838
  }
788
839
 
840
+ /**
841
+ * A discount allocation for a discount that the merchant configured to apply automatically in Shopify admin, without the buyer needing to enter a code.
842
+ */
789
843
  export interface CartAutomaticDiscountAllocation
790
844
  extends CartDiscountAllocationBase {
791
845
  /**
792
- * The title of the automatic discount
846
+ * The merchant-defined title of the automatic discount as displayed to the buyer, such as "Summer Sale 10% Off".
793
847
  */
794
848
  title: string;
795
849
 
796
850
  /**
797
- * The type of the automatic discount
851
+ * The type of this discount allocation. Always `'automatic'` for discounts configured to apply automatically without a code.
798
852
  */
799
853
  type: 'automatic';
800
854
  }
801
855
 
856
+ /**
857
+ * A discount allocation for a discount created by a [Shopify Function](/docs/apps/build/functions), such as a custom discount logic app.
858
+ */
802
859
  export interface CartCustomDiscountAllocation
803
860
  extends CartDiscountAllocationBase {
804
861
  /**
805
- * The title of the custom discount
862
+ * The title of the custom discount as defined by the Shopify Function that created it.
806
863
  */
807
864
  title: string;
808
865
 
809
866
  /**
810
- * The type of the custom discount
867
+ * The type of this discount allocation. Always `'custom'` for discounts created by a Shopify Function.
811
868
  */
812
869
  type: 'custom';
813
870
  }
@@ -815,69 +872,52 @@ export interface CartCustomDiscountAllocation
815
872
  /**
816
873
  * Information about a customer who has previously purchased from this shop.
817
874
  *
818
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
875
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data). The `id`, `image`, `acceptsMarketing`, and `storeCreditAccounts` properties require level 1 access. The `email`, `phone`, `fullName`, `firstName`, and `lastName` properties require level 2 access.
819
876
  */
820
877
  export interface OrderStatusCustomer {
821
878
  /**
822
- * Customer ID.
823
- *
824
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
825
- *
826
- * @example 'gid://shopify/Customer/123'
879
+ * A globally-unique identifier for the customer in the format `gid://shopify/Customer/<id>`. 'gid://shopify/Customer/123'
827
880
  */
828
881
  id: string;
829
882
  /**
830
- * The email of the customer.
831
- *
832
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
883
+ * The email address associated with the customer's account. The value is `undefined` if the app doesn't have the required access level.
833
884
  */
834
885
  email?: string;
835
886
  /**
836
- * The phone number of the customer.
837
- *
838
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
887
+ * The phone number associated with the customer's account. The value is `undefined` if no phone number is on file or the app doesn't have the required access level.
839
888
  */
840
889
  phone?: string;
841
890
  /**
842
- * The full name of the customer.
843
- *
844
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
891
+ * The customer's full name, typically a combination of first and last name. The value is `undefined` if the app doesn't have the required access level.
845
892
  */
846
893
  fullName?: string;
847
894
  /**
848
- * The first name of the customer.
849
- *
850
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
895
+ * The customer's first name. The value is `undefined` if the app doesn't have the required access level.
851
896
  */
852
897
  firstName?: string;
853
898
  /**
854
- * The last name of the customer.
855
- *
856
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
899
+ * The customer's last name. The value is `undefined` if the app doesn't have the required access level.
857
900
  */
858
901
  lastName?: string;
859
902
  /**
860
- * The image associated with the customer.
861
- *
862
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
903
+ * The customer's profile image, such as a Gravatar avatar. Use this to personalize the extension UI for the logged-in buyer.
863
904
  */
864
905
  image: ImageDetails;
865
906
  /**
866
- * Defines if the customer accepts marketing activities.
867
- *
868
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
907
+ * Whether the customer has opted in to receiving marketing communications from the merchant, such as email campaigns and promotional offers.
869
908
  */
870
909
  acceptsMarketing: boolean;
871
910
  /**
872
- * The Store Credit Accounts owned by the customer and usable during the checkout process.
873
- *
874
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
911
+ * The store credit accounts owned by this customer that can be used as payment during checkout. Each account has a balance representing available store credit.
875
912
  *
876
913
  * @private
877
914
  */
878
915
  storeCreditAccounts: StoreCreditAccount[];
879
916
  }
880
917
 
918
+ /**
919
+ * A string token that uniquely identifies the checkout session used to create the order.
920
+ */
881
921
  export type CheckoutToken = string;
882
922
 
883
923
  /**
@@ -885,15 +925,18 @@ export type CheckoutToken = string;
885
925
  */
886
926
  export interface CheckoutSettings {
887
927
  /**
888
- * The type of order that will be created once the buyer completes checkout.
928
+ * The type of order created when checkout is completed:
929
+ *
930
+ * - `'DRAFT_ORDER'`: A draft order that must be manually reviewed and finalized by the merchant before it is processed.
931
+ * - `'ORDER'`: A standard order that's immediately processed and visible in Shopify admin.
889
932
  */
890
933
  orderSubmission: 'DRAFT_ORDER' | 'ORDER';
891
934
  /**
892
- * Represents the merchant configured payment terms.
935
+ * The payment terms configured by the merchant for B2B orders, such as net-30 or net-60. The value is `undefined` if no payment terms are configured.
893
936
  */
894
937
  paymentTermsTemplate?: PaymentTermsTemplate;
895
938
  /**
896
- * Settings describing the behavior of the shipping address.
939
+ * Settings that control how the shipping address behaves during checkout, such as whether the buyer can edit the address.
897
940
  */
898
941
  shippingAddress: ShippingAddressSettings;
899
942
  }
@@ -903,257 +946,256 @@ export interface CheckoutSettings {
903
946
  */
904
947
  export interface ShippingAddressSettings {
905
948
  /**
906
- * Describes whether the buyer can ship to any address during checkout.
949
+ * Whether the buyer is allowed to edit the shipping address during checkout. When `false`, the shipping address is locked and can't be changed, which is common for B2B orders with a predefined ship-to address.
907
950
  */
908
951
  isEditable: boolean;
909
952
  }
910
953
 
911
954
  /**
912
- * Represents the payment terms template object.
955
+ * A payment terms template configured by the merchant, defining when payment is due for B2B orders. Common examples include "Net 30" (due in 30 days) or "Due on receipt".
913
956
  */
914
957
  export interface PaymentTermsTemplate {
915
958
  /**
916
- * A globally-unique ID.
959
+ * A globally-unique identifier for the payment terms template in the format `gid://shopify/PaymentTermsTemplate/<id>`.
917
960
  * @example 'gid://shopify/PaymentTermsTemplate/1'
918
961
  */
919
962
  id: string;
920
963
  /**
921
- * The name of the payment terms translated to the buyer's current language. See [localization.language](https://shopify.dev/docs/api/customer-account-ui-extensions/apis/localization#standardapi-propertydetail-localization).
964
+ * The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt". See [localization.language](/docs/api/customer-account-ui-extensions/apis/localization#standardapi-propertydetail-localization).
922
965
  */
923
966
  name: string;
924
967
  /**
925
- * The due date for net payment terms as a ISO 8601 formatted string `YYYY-MM-DDTHH:mm:ss.sssZ`.
968
+ * The due date for payment in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ss.sssZ`). The value is `undefined` if the payment terms don't have a fixed due date.
926
969
  */
927
970
  dueDate?: string;
928
971
  /**
929
- * The number of days between the issued date and due date if using net payment terms.
972
+ * The number of days the buyer has to pay after the order is placed, such as `30` for "Net 30" terms. The value is `undefined` if the payment terms are not net-based.
930
973
  */
931
974
  dueInDays?: number;
932
975
  }
933
976
 
934
977
  /**
935
- * Information about a Store Credit Account.
978
+ * A store credit account owned by the customer. Store credit is a form of payment that merchants can issue to customers for returns, refunds, or promotional purposes.
936
979
  */
937
980
  export interface StoreCreditAccount {
938
981
  /**
939
- * A globally-unique identifier.
982
+ * A globally-unique identifier for the store credit account in the format `gid://shopify/StoreCreditAccount/<id>`.
940
983
  * @example 'gid://shopify/StoreCreditAccount/1'
941
984
  */
942
985
  id: string;
943
986
  /**
944
- * The current balance of the Store Credit Account.
987
+ * The remaining balance available in this store credit account. This reflects the amount that can still be applied toward purchases.
945
988
  */
946
989
  balance: Money;
947
990
  }
948
991
 
949
992
  /**
950
- * Represents the delivery information and options available for one or
951
- * more cart lines.
993
+ * A group of cart lines that share the same set of delivery options. For example, physical items may form one delivery group while digital items form another.
952
994
  */
953
995
  export interface DeliveryGroup {
954
996
  /**
955
- * The cart line references associated to the delivery group.
997
+ * The cart lines included in this delivery group. Each reference contains the ID of the associated cart line.
956
998
  */
957
999
  targetedCartLines: CartLineReference[];
958
1000
 
959
1001
  /**
960
- * The delivery options available for the delivery group.
1002
+ * The list of delivery options the buyer can choose from for this group, such as standard shipping, express shipping, or local pickup.
961
1003
  */
962
1004
  deliveryOptions: DeliveryOption[];
963
1005
 
964
1006
  /**
965
- * The selected delivery option for the delivery group.
1007
+ * The delivery option that the buyer selected for this group. The value is `undefined` if no option has been selected yet.
966
1008
  */
967
1009
  selectedDeliveryOption?: DeliveryOptionReference;
968
1010
 
969
1011
  /**
970
- * The type of the delivery group.
1012
+ * The purchase type for this delivery group. `'oneTimePurchase'` for standard orders, or `'subscription'` for items on a recurring delivery schedule.
971
1013
  */
972
1014
  groupType: DeliveryGroupType;
973
1015
 
974
1016
  /**
975
- * Whether delivery is required for the delivery group.
1017
+ * Whether physical delivery is required for the items in this group. Returns `false` for digital products, services, or other items that don't need shipping.
976
1018
  */
977
1019
  isDeliveryRequired: boolean;
978
1020
  }
979
1021
 
980
1022
  /**
981
- * The possible types of a delivery group.
1023
+ * The purchase type for a delivery group: `'oneTimePurchase'` for standard orders or `'subscription'` for recurring deliveries.
982
1024
  */
983
1025
  export type DeliveryGroupType = 'oneTimePurchase' | 'subscription';
984
1026
 
985
1027
  /**
986
- * Represents a reference to a cart line.
1028
+ * A reference to a cart line within a delivery group, identified by the cart line's ID.
987
1029
  */
988
1030
  export interface CartLineReference {
989
1031
  /**
990
- * The unique identifier of the referenced cart line.
1032
+ * The ID of the cart line that belongs to this delivery group, matching a `CartLine.id` value.
991
1033
  */
992
1034
  id: string;
993
1035
  }
994
1036
 
995
1037
  /**
996
- * Represents a reference to a delivery option.
1038
+ * A reference to the delivery option selected by the buyer for a delivery group.
997
1039
  */
998
1040
  export interface DeliveryOptionReference {
999
1041
  /**
1000
- * The unique identifier of the referenced delivery option.
1042
+ * The handle of the selected delivery option, matching a `DeliveryOption.handle` value.
1001
1043
  */
1002
1044
  handle: string;
1003
1045
  }
1004
1046
 
1005
1047
  /**
1006
- * Represents a base interface for a single delivery option.
1048
+ * The base properties shared by all delivery option types, including shipping, local pickup, and pickup point options.
1007
1049
  */
1008
1050
  export interface DeliveryOption {
1009
1051
  /**
1010
- * The unique identifier of the delivery option.
1052
+ * A unique identifier for this delivery option within the checkout session. Use this handle to match against `DeliveryOptionReference.handle`.
1011
1053
  */
1012
1054
  handle: string;
1013
1055
 
1014
1056
  /**
1015
- * The title of the delivery option.
1057
+ * The display name of the delivery option shown to the buyer, such as "Standard Shipping" or "Express Delivery". The value is `undefined` if no title is set.
1016
1058
  */
1017
1059
  title?: string;
1018
1060
 
1019
1061
  /**
1020
- * The description of the delivery option.
1062
+ * Additional details about the delivery option, such as estimated delivery time or service level. The value is `undefined` if no description is set.
1021
1063
  */
1022
1064
  description?: string;
1023
1065
  }
1024
1066
 
1025
1067
  /**
1026
- * Represents a delivery option that is a shipping option.
1068
+ * A delivery option where items are shipped to the buyer's address, either via a carrier (`'shipping'`) or through a local delivery service (`'local'`).
1027
1069
  */
1028
1070
  export interface ShippingOption extends DeliveryOption {
1029
1071
  /**
1030
- * The type of this delivery option.
1072
+ * The delivery method. `'shipping'` for carrier-based delivery to the buyer's address, or `'local'` for same-day or local courier delivery.
1031
1073
  */
1032
1074
  type: 'shipping' | 'local';
1033
1075
 
1034
1076
  /**
1035
- * Information about the carrier.
1077
+ * The shipping carrier responsible for delivering the items, such as USPS, FedEx, or a custom carrier.
1036
1078
  */
1037
1079
  carrier: ShippingOptionCarrier;
1038
1080
 
1039
1081
  /**
1040
- * The cost of the delivery.
1082
+ * The original shipping cost before any discounts are applied.
1041
1083
  */
1042
1084
  cost: Money;
1043
1085
 
1044
1086
  /**
1045
- * The cost of the delivery including discounts.
1087
+ * The final shipping cost after any shipping discounts have been applied. Compare with `cost` to determine the discount amount.
1046
1088
  */
1047
1089
  costAfterDiscounts: Money;
1048
1090
 
1049
1091
  /**
1050
- * Information about the estimated delivery time.
1092
+ * The estimated delivery timeline, including the expected time in transit.
1051
1093
  */
1052
1094
  deliveryEstimate: DeliveryEstimate;
1053
1095
  }
1054
1096
 
1055
1097
  export interface DeliveryEstimate {
1056
1098
  /**
1057
- * The estimated time in transit for the delivery in seconds.
1099
+ * The estimated transit time for the delivery, expressed as a range in seconds. For example, a range of `259200` to `432000` represents 3 to 5 days.
1058
1100
  */
1059
1101
  timeInTransit?: NumberRange;
1060
1102
  }
1061
1103
 
1062
1104
  export interface ShippingOptionCarrier {
1063
1105
  /**
1064
- * The name of the carrier.
1106
+ * The display name of the shipping carrier, such as "USPS", "FedEx", or "Canada Post". The value is `undefined` if the carrier name is unavailable.
1065
1107
  */
1066
1108
  name?: string;
1067
1109
  }
1068
1110
 
1069
1111
  export interface PickupPointOption extends DeliveryOption {
1070
1112
  /**
1071
- * The type of this delivery option.
1113
+ * The delivery method. Always `'pickupPoint'` for pickup point options.
1072
1114
  */
1073
1115
  type: 'pickupPoint';
1074
1116
 
1075
1117
  /**
1076
- * Information about the carrier that ships to the pickup point.
1118
+ * The carrier responsible for shipping items to the pickup point location.
1077
1119
  */
1078
1120
  carrier: PickupPointCarrier;
1079
1121
 
1080
1122
  /**
1081
- * The cost to ship to this pickup point.
1123
+ * The original cost to ship items to this pickup point before any discounts.
1082
1124
  */
1083
1125
  cost: Money;
1084
1126
 
1085
1127
  /**
1086
- * The cost to ship to this pickup point including discounts.
1128
+ * The final cost to ship to this pickup point after discounts have been applied.
1087
1129
  */
1088
1130
  costAfterDiscounts: Money;
1089
1131
 
1090
1132
  /**
1091
- * The location details of the pickup point.
1133
+ * The physical location of the pickup point, including its name, address, and unique handle.
1092
1134
  */
1093
1135
  location: PickupPointLocation;
1094
1136
  }
1095
1137
 
1096
1138
  export interface PickupLocationOption extends DeliveryOption {
1097
1139
  /**
1098
- * The type of this delivery option.
1140
+ * The delivery method. Always `'pickup'` for merchant pickup location options.
1099
1141
  */
1100
1142
  type: 'pickup';
1101
1143
 
1102
1144
  /**
1103
- * The location details of the pickup location.
1145
+ * The physical location where the buyer can pick up their order, including the store name and address.
1104
1146
  */
1105
1147
  location: PickupLocation;
1106
1148
  }
1107
1149
 
1108
1150
  interface PickupLocation {
1109
1151
  /**
1110
- * The name of the pickup location.
1152
+ * The display name of the pickup location, such as the store or warehouse name. The value is `undefined` if no name is set.
1111
1153
  */
1112
1154
  name?: string;
1113
1155
 
1114
1156
  /**
1115
- * The address of the pickup location.
1157
+ * The physical mailing address of the pickup location where the buyer collects their order.
1116
1158
  */
1117
1159
  address: MailingAddress;
1118
1160
  }
1119
1161
 
1120
1162
  interface PickupPointLocation {
1121
1163
  /**
1122
- * The name of the pickup point.
1164
+ * The display name of the pickup point, such as a locker location or partner store name. The value is `undefined` if no name is set.
1123
1165
  */
1124
1166
  name?: string;
1125
1167
 
1126
1168
  /**
1127
- * The unique identifier of the pickup point.
1169
+ * A unique identifier for this pickup point within the carrier's network.
1128
1170
  */
1129
1171
  handle: string;
1130
1172
 
1131
1173
  /**
1132
- * The address of the pickup point.
1174
+ * The physical mailing address of the pickup point.
1133
1175
  */
1134
1176
  address: MailingAddress;
1135
1177
  }
1136
1178
 
1137
1179
  interface PickupPointCarrier {
1138
1180
  /**
1139
- * The code identifying the carrier.
1181
+ * A code that uniquely identifies the carrier within Shopify's system, such as a SCAC code. The value is `undefined` if no code is available.
1140
1182
  */
1141
1183
  code?: string;
1142
1184
 
1143
1185
  /**
1144
- * The name of the carrier.
1186
+ * The display name of the carrier that operates this pickup point network. The value is `undefined` if the carrier name is unavailable.
1145
1187
  */
1146
1188
  name?: string;
1147
1189
  }
1148
1190
 
1149
1191
  export interface NumberRange {
1150
1192
  /**
1151
- * The lower bound of the number range.
1193
+ * The minimum value of the range. The value is `undefined` if there's no lower bound.
1152
1194
  */
1153
1195
  lower?: number;
1154
1196
 
1155
1197
  /**
1156
- * The upper bound of the number range.
1198
+ * The maximum value of the range. The value is `undefined` if there's no upper bound.
1157
1199
  */
1158
1200
  upper?: number;
1159
1201
  }
@@ -1163,27 +1205,31 @@ export interface NumberRange {
1163
1205
  */
1164
1206
  export interface Order {
1165
1207
  /**
1166
- * A globally-unique identifier.
1208
+ * A globally-unique identifier for the order in the format `gid://shopify/Order/<id>`. Use this to reference the order in the [GraphQL Admin API](/docs/api/admin-graphql).
1209
+ *
1167
1210
  * @example 'gid://shopify/Order/1'
1168
1211
  */
1169
1212
  id: string;
1213
+
1170
1214
  /**
1171
- * Unique identifier for the order that appears on the order.
1215
+ * The merchant-facing order number prefixed with `#`, such as `#1001`. This is the human-readable identifier displayed to both the merchant in Shopify admin and the buyer on the **Order status** page and in email confirmations.
1216
+ *
1172
1217
  * @example '#1000'
1173
1218
  */
1174
1219
  name: string;
1220
+
1175
1221
  /**
1176
- * If cancelled, the time at which the order was cancelled.
1222
+ * The date and time when the order was cancelled, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. The value is `undefined` if the order hasn't been cancelled. Use this to conditionally display cancellation details to the buyer.
1177
1223
  */
1178
1224
  cancelledAt?: string;
1225
+
1179
1226
  /**
1180
- * The date and time when the order was processed.
1181
- * Processing happens after the checkout has completed, and indicates that the order is available in the admin.
1227
+ * A randomly generated alphanumeric identifier for the order that the buyer can use when contacting the merchant about their purchase. This is always present for orders created in 2024 and onwards. For older orders, this value may be `undefined`.
1182
1228
  */
1183
- processedAt?: string;
1229
+ confirmationNumber?: string;
1230
+
1184
1231
  /**
1185
- * A randomly generated alpha-numeric identifier for the order.
1186
- * For orders created in 2024 and onwards, the number will always be present. For orders created before that date, the number might not be present.
1232
+ * The date and time when the order was processed, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. An order is processed after the buyer completes checkout and the payment is captured, at which point the order becomes visible in Shopify admin.
1187
1233
  */
1188
- confirmationNumber?: string;
1234
+ processedAt?: string;
1189
1235
  }