@shopify/ui-extensions 2025.10.13 → 2025.10.14

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 (1139) hide show
  1. package/build/cjs/surfaces/checkout/shared.js +1 -10
  2. package/build/esm/surfaces/checkout/shared.mjs +1 -10
  3. package/build/esnext/surfaces/checkout/shared.esnext +1 -10
  4. package/build/ts/api.d.ts +23 -26
  5. package/build/ts/api.d.ts.map +1 -1
  6. package/build/ts/docs/shared/component-definitions.d.ts +32 -0
  7. package/build/ts/docs/shared/component-definitions.d.ts.map +1 -0
  8. package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -1
  9. package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
  10. package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
  11. package/build/ts/docs/shared/components/Box.d.ts.map +1 -1
  12. package/build/ts/docs/shared/components/Button.d.ts.map +1 -1
  13. package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -1
  14. package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
  15. package/build/ts/docs/shared/components/Chip.d.ts.map +1 -1
  16. package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
  17. package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
  18. package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
  19. package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -1
  20. package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -1
  21. package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -1
  22. package/build/ts/docs/shared/components/DateField.d.ts.map +1 -1
  23. package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
  24. package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
  25. package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
  26. package/build/ts/docs/shared/components/Form.d.ts.map +1 -1
  27. package/build/ts/docs/shared/components/FunctionSettings.d.ts.map +1 -1
  28. package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
  29. package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
  30. package/build/ts/docs/shared/components/Heading.d.ts.map +1 -1
  31. package/build/ts/docs/shared/components/Icon.d.ts.map +1 -1
  32. package/build/ts/docs/shared/components/Image.d.ts.map +1 -1
  33. package/build/ts/docs/shared/components/Link.d.ts.map +1 -1
  34. package/build/ts/docs/shared/components/ListItem.d.ts.map +1 -1
  35. package/build/ts/docs/shared/components/Menu.d.ts.map +1 -1
  36. package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
  37. package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
  38. package/build/ts/docs/shared/components/OrderedList.d.ts.map +1 -1
  39. package/build/ts/docs/shared/components/Paragraph.d.ts.map +1 -1
  40. package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
  41. package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -1
  42. package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
  43. package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
  44. package/build/ts/docs/shared/components/Sheet.d.ts +4 -0
  45. package/build/ts/docs/shared/components/Sheet.d.ts.map +1 -0
  46. package/build/ts/docs/shared/components/Spinner.d.ts.map +1 -1
  47. package/build/ts/docs/shared/components/Stack.d.ts.map +1 -1
  48. package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
  49. package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
  50. package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
  51. package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
  52. package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
  53. package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
  54. package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
  55. package/build/ts/docs/shared/components/Text.d.ts.map +1 -1
  56. package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
  57. package/build/ts/docs/shared/components/TextField.d.ts.map +1 -1
  58. package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -1
  59. package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -1
  60. package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
  61. package/build/ts/docs/shared/components/UnorderedList.d.ts.map +1 -1
  62. package/build/ts/extension.d.ts +21 -0
  63. package/build/ts/extension.d.ts.map +1 -1
  64. package/build/ts/shared.d.ts +7 -5
  65. package/build/ts/shared.d.ts.map +1 -1
  66. package/build/ts/surfaces/admin/api/action/action.d.ts +7 -4
  67. package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
  68. package/build/ts/surfaces/admin/api/action/action.doc.d.ts.map +1 -1
  69. package/build/ts/surfaces/admin/api/block/block.d.ts +12 -6
  70. package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
  71. package/build/ts/surfaces/admin/api/block/block.doc.d.ts.map +1 -1
  72. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +21 -10
  73. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
  74. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +32 -0
  75. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
  76. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +5 -1
  77. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -1
  78. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts.map +1 -1
  79. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +18 -6
  80. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
  81. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts.map +1 -1
  82. package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +5 -1
  83. package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -1
  84. package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.d.ts.map +1 -1
  85. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +22 -4
  86. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
  87. package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +32 -0
  88. package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
  89. package/build/ts/surfaces/admin/api/intents/intents.d.ts +30 -35
  90. package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
  91. package/build/ts/surfaces/admin/api/intents/intents.doc.d.ts.map +1 -1
  92. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +20 -0
  93. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
  94. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +23 -0
  95. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
  96. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +5 -0
  97. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
  98. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.doc.d.ts.map +1 -1
  99. package/build/ts/surfaces/admin/api/picker/picker.d.ts +44 -16
  100. package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
  101. package/build/ts/surfaces/admin/api/picker/picker.doc.d.ts.map +1 -1
  102. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +6 -3
  103. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
  104. package/build/ts/surfaces/admin/api/print-action/print-action.doc.d.ts.map +1 -1
  105. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +36 -0
  106. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
  107. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.doc.d.ts.map +1 -1
  108. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +36 -0
  109. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
  110. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.doc.d.ts.map +1 -1
  111. package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +7 -0
  112. package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
  113. package/build/ts/surfaces/admin/api/purchase-options-card-action.doc.d.ts.map +1 -1
  114. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +181 -21
  115. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
  116. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.doc.d.ts.map +1 -1
  117. package/build/ts/surfaces/admin/api/shared.d.ts +7 -1
  118. package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
  119. package/build/ts/surfaces/admin/api/should-render/should-render.d.ts +8 -1
  120. package/build/ts/surfaces/admin/api/should-render/should-render.d.ts.map +1 -1
  121. package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
  122. package/build/ts/surfaces/admin/api/standard/standard.d.ts +20 -10
  123. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  124. package/build/ts/surfaces/admin/api/standard/standard.doc.d.ts.map +1 -1
  125. package/build/ts/surfaces/admin/api/standard/storage.d.ts +21 -27
  126. package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
  127. package/build/ts/surfaces/admin/components/ActionExtensionComponents.d.ts +3 -0
  128. package/build/ts/surfaces/admin/components/ActionExtensionComponents.d.ts.map +1 -1
  129. package/build/ts/surfaces/admin/components/AdminAction/AdminAction.ext.doc.d.ts.map +1 -1
  130. package/build/ts/surfaces/admin/components/AdminAction.d.ts +53 -3
  131. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
  132. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +49 -1
  133. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.ext.doc.d.ts.map +1 -1
  134. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +45 -1
  135. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -1
  136. package/build/ts/surfaces/admin/components/Avatar.d.ts +110 -10
  137. package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
  138. package/build/ts/surfaces/admin/components/Badge.d.ts +155 -8
  139. package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +1 -1
  140. package/build/ts/surfaces/admin/components/Banner.d.ts +101 -10
  141. package/build/ts/surfaces/admin/components/BlockExtensionComponents.d.ts +3 -0
  142. package/build/ts/surfaces/admin/components/BlockExtensionComponents.d.ts.map +1 -1
  143. package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
  144. package/build/ts/surfaces/admin/components/Box.d.ts +203 -75
  145. package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
  146. package/build/ts/surfaces/admin/components/Button.d.ts +244 -16
  147. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
  148. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +96 -11
  149. package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
  150. package/build/ts/surfaces/admin/components/Checkbox.d.ts +133 -4
  151. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -1
  152. package/build/ts/surfaces/admin/components/Chip.d.ts +2 -4
  153. package/build/ts/surfaces/admin/components/Choice.d.ts +68 -11
  154. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  155. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +102 -6
  156. package/build/ts/surfaces/admin/components/Clickable/Clickable.doc.d.ts.map +1 -1
  157. package/build/ts/surfaces/admin/components/Clickable.d.ts +142 -41
  158. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -1
  159. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +115 -19
  160. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -1
  161. package/build/ts/surfaces/admin/components/ColorField.d.ts +177 -18
  162. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -1
  163. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +100 -5
  164. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
  165. package/build/ts/surfaces/admin/components/DateField.d.ts +195 -22
  166. package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
  167. package/build/ts/surfaces/admin/components/DatePicker.d.ts +141 -4
  168. package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts.map +1 -1
  169. package/build/ts/surfaces/admin/components/Divider.d.ts +88 -6
  170. package/build/ts/surfaces/admin/components/DropZone/DropZone.doc.d.ts.map +1 -1
  171. package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts.map +1 -1
  172. package/build/ts/surfaces/admin/components/EmailField.d.ts +159 -7
  173. package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
  174. package/build/ts/surfaces/admin/components/Form.d.ts +65 -5
  175. package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts +3 -0
  176. package/build/ts/surfaces/admin/components/FormExtensionComponents.d.ts.map +1 -1
  177. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.ext.doc.d.ts.map +1 -1
  178. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +78 -8
  179. package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts +3 -0
  180. package/build/ts/surfaces/admin/components/FunctionSettingsComponents.d.ts.map +1 -1
  181. package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
  182. package/build/ts/surfaces/admin/components/Grid.d.ts +249 -69
  183. package/build/ts/surfaces/admin/components/GridItem.d.ts +212 -33
  184. package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
  185. package/build/ts/surfaces/admin/components/Heading.d.ts +66 -7
  186. package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -1
  187. package/build/ts/surfaces/admin/components/Icon.d.ts +113 -11
  188. package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -1
  189. package/build/ts/surfaces/admin/components/Image.d.ts +235 -36
  190. package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
  191. package/build/ts/surfaces/admin/components/Link.d.ts +76 -16
  192. package/build/ts/surfaces/admin/components/ListItem.d.ts +59 -7
  193. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -1
  194. package/build/ts/surfaces/admin/components/Menu.d.ts +101 -21
  195. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts.map +1 -1
  196. package/build/ts/surfaces/admin/components/MoneyField.d.ts +158 -7
  197. package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +1 -1
  198. package/build/ts/surfaces/admin/components/NumberField.d.ts +170 -7
  199. package/build/ts/surfaces/admin/components/Option.d.ts +62 -5
  200. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +56 -7
  201. package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  202. package/build/ts/surfaces/admin/components/OrderedList.d.ts +57 -9
  203. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
  204. package/build/ts/surfaces/admin/components/Paragraph.d.ts +100 -11
  205. package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +1 -1
  206. package/build/ts/surfaces/admin/components/PasswordField.d.ts +166 -14
  207. package/build/ts/surfaces/admin/components/PrintActionExtensionComponents.d.ts +3 -0
  208. package/build/ts/surfaces/admin/components/PrintActionExtensionComponents.d.ts.map +1 -1
  209. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -1
  210. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +65 -7
  211. package/build/ts/surfaces/admin/components/SearchField/SearchField.doc.d.ts.map +1 -1
  212. package/build/ts/surfaces/admin/components/SearchField.d.ts +150 -4
  213. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -1
  214. package/build/ts/surfaces/admin/components/Section.d.ts +81 -8
  215. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  216. package/build/ts/surfaces/admin/components/Select.d.ts +145 -6
  217. package/build/ts/surfaces/admin/components/Spinner/Spinner.doc.d.ts.map +1 -1
  218. package/build/ts/surfaces/admin/components/Spinner.d.ts +67 -5
  219. package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
  220. package/build/ts/surfaces/admin/components/Stack.d.ts +239 -61
  221. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +3 -0
  222. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  223. package/build/ts/surfaces/admin/components/Switch/Switch.doc.d.ts.map +1 -1
  224. package/build/ts/surfaces/admin/components/Switch.d.ts +124 -4
  225. package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
  226. package/build/ts/surfaces/admin/components/Table.d.ts +144 -13
  227. package/build/ts/surfaces/admin/components/TableBody.d.ts +62 -7
  228. package/build/ts/surfaces/admin/components/TableCell.d.ts +66 -7
  229. package/build/ts/surfaces/admin/components/TableHeader.d.ts +77 -7
  230. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +62 -7
  231. package/build/ts/surfaces/admin/components/TableRow.d.ts +65 -7
  232. package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
  233. package/build/ts/surfaces/admin/components/Text.d.ts +129 -9
  234. package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +1 -1
  235. package/build/ts/surfaces/admin/components/TextArea.d.ts +157 -7
  236. package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +1 -1
  237. package/build/ts/surfaces/admin/components/TextField.d.ts +170 -19
  238. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -1
  239. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +103 -10
  240. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
  241. package/build/ts/surfaces/admin/components/Tooltip.d.ts +98 -21
  242. package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +1 -1
  243. package/build/ts/surfaces/admin/components/URLField.d.ts +171 -14
  244. package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  245. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +57 -9
  246. package/build/ts/surfaces/admin/components/shared.d.ts +842 -772
  247. package/build/ts/surfaces/admin/extension-targets.d.ts +85 -169
  248. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  249. package/build/ts/surfaces/checkout/api/docs.d.ts +0 -2
  250. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  251. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +0 -18
  252. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  253. package/build/ts/surfaces/checkout/shared.d.ts +8 -11
  254. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  255. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +353 -318
  256. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  257. package/build/ts/surfaces/customer-account/api/shared.d.ts +84 -97
  258. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  259. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +8 -10
  260. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  261. package/build/ts/surfaces/customer-account/components/Abbreviation/Abbreviation.doc.d.ts +4 -0
  262. package/build/ts/surfaces/customer-account/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -0
  263. package/build/ts/surfaces/customer-account/components/Announcement/Announcement.doc.d.ts +4 -0
  264. package/build/ts/surfaces/customer-account/components/Announcement/Announcement.doc.d.ts.map +1 -0
  265. package/build/ts/surfaces/customer-account/components/Badge/Badge.doc.d.ts +4 -0
  266. package/build/ts/surfaces/customer-account/components/Badge/Badge.doc.d.ts.map +1 -0
  267. package/build/ts/surfaces/customer-account/components/Banner/Banner.doc.d.ts +4 -0
  268. package/build/ts/surfaces/customer-account/components/Banner/Banner.doc.d.ts.map +1 -0
  269. package/build/ts/surfaces/customer-account/components/Box/Box.doc.d.ts +4 -0
  270. package/build/ts/surfaces/customer-account/components/Box/Box.doc.d.ts.map +1 -0
  271. package/build/ts/surfaces/customer-account/components/Button/Button.doc.d.ts +4 -0
  272. package/build/ts/surfaces/customer-account/components/Button/Button.doc.d.ts.map +1 -0
  273. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
  274. package/build/ts/surfaces/customer-account/components/Checkbox/Checkbox.doc.d.ts +4 -0
  275. package/build/ts/surfaces/customer-account/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
  276. package/build/ts/surfaces/customer-account/components/Chip/Chip.doc.d.ts +4 -0
  277. package/build/ts/surfaces/customer-account/components/Chip/Chip.doc.d.ts.map +1 -0
  278. package/build/ts/surfaces/customer-account/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  279. package/build/ts/surfaces/customer-account/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  280. package/build/ts/surfaces/customer-account/components/Clickable/Clickable.doc.d.ts +4 -0
  281. package/build/ts/surfaces/customer-account/components/Clickable/Clickable.doc.d.ts.map +1 -0
  282. package/build/ts/surfaces/customer-account/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
  283. package/build/ts/surfaces/customer-account/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
  284. package/build/ts/surfaces/customer-account/components/ClipboardItem/ClipboardItem.doc.d.ts +4 -0
  285. package/build/ts/surfaces/customer-account/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -0
  286. package/build/ts/surfaces/customer-account/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
  287. package/build/ts/surfaces/customer-account/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
  288. package/build/ts/surfaces/customer-account/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
  289. package/build/ts/surfaces/customer-account/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
  290. package/build/ts/surfaces/customer-account/components/DateField/DateField.doc.d.ts +4 -0
  291. package/build/ts/surfaces/customer-account/components/DateField/DateField.doc.d.ts.map +1 -0
  292. package/build/ts/surfaces/customer-account/components/DatePicker/DatePicker.doc.d.ts +4 -0
  293. package/build/ts/surfaces/customer-account/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  294. package/build/ts/surfaces/customer-account/components/Details/Details.doc.d.ts +4 -0
  295. package/build/ts/surfaces/customer-account/components/Details/Details.doc.d.ts.map +1 -0
  296. package/build/ts/surfaces/customer-account/components/Divider/Divider.doc.d.ts +4 -0
  297. package/build/ts/surfaces/customer-account/components/Divider/Divider.doc.d.ts.map +1 -0
  298. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts +4 -0
  299. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts.map +1 -0
  300. package/build/ts/surfaces/customer-account/components/EmailField/EmailField.doc.d.ts +4 -0
  301. package/build/ts/surfaces/customer-account/components/EmailField/EmailField.doc.d.ts.map +1 -0
  302. package/build/ts/surfaces/customer-account/components/Form/Form.doc.d.ts +4 -0
  303. package/build/ts/surfaces/customer-account/components/Form/Form.doc.d.ts.map +1 -0
  304. package/build/ts/surfaces/customer-account/components/Grid/Grid.doc.d.ts +4 -0
  305. package/build/ts/surfaces/customer-account/components/Grid/Grid.doc.d.ts.map +1 -0
  306. package/build/ts/surfaces/customer-account/components/Heading/Heading.doc.d.ts +4 -0
  307. package/build/ts/surfaces/customer-account/components/Heading/Heading.doc.d.ts.map +1 -0
  308. package/build/ts/surfaces/customer-account/components/Icon/Icon.doc.d.ts +4 -0
  309. package/build/ts/surfaces/customer-account/components/Icon/Icon.doc.d.ts.map +1 -0
  310. package/build/ts/surfaces/customer-account/components/Image/Image.doc.d.ts +4 -0
  311. package/build/ts/surfaces/customer-account/components/Image/Image.doc.d.ts.map +1 -0
  312. package/build/ts/surfaces/customer-account/components/Link/Link.doc.d.ts +4 -0
  313. package/build/ts/surfaces/customer-account/components/Link/Link.doc.d.ts.map +1 -0
  314. package/build/ts/surfaces/customer-account/components/Map/Map.doc.d.ts +4 -0
  315. package/build/ts/surfaces/customer-account/components/Map/Map.doc.d.ts.map +1 -0
  316. package/build/ts/surfaces/customer-account/components/Modal/Modal.doc.d.ts +4 -0
  317. package/build/ts/surfaces/customer-account/components/Modal/Modal.doc.d.ts.map +1 -0
  318. package/build/ts/surfaces/customer-account/components/MoneyField/MoneyField.doc.d.ts +4 -0
  319. package/build/ts/surfaces/customer-account/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
  320. package/build/ts/surfaces/customer-account/components/NumberField/NumberField.doc.d.ts +4 -0
  321. package/build/ts/surfaces/customer-account/components/NumberField/NumberField.doc.d.ts.map +1 -0
  322. package/build/ts/surfaces/customer-account/components/OrderedList/OrderedList.doc.d.ts +4 -0
  323. package/build/ts/surfaces/customer-account/components/OrderedList/OrderedList.doc.d.ts.map +1 -0
  324. package/build/ts/surfaces/customer-account/components/Paragraph/Paragraph.doc.d.ts +4 -0
  325. package/build/ts/surfaces/customer-account/components/Paragraph/Paragraph.doc.d.ts.map +1 -0
  326. package/build/ts/surfaces/customer-account/components/PasswordField/PasswordField.doc.d.ts +4 -0
  327. package/build/ts/surfaces/customer-account/components/PasswordField/PasswordField.doc.d.ts.map +1 -0
  328. package/build/ts/surfaces/customer-account/components/PaymentIcon/PaymentIcon.doc.d.ts +4 -0
  329. package/build/ts/surfaces/customer-account/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -0
  330. package/build/ts/surfaces/customer-account/components/PhoneField/PhoneField.doc.d.ts +4 -0
  331. package/build/ts/surfaces/customer-account/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
  332. package/build/ts/surfaces/customer-account/components/Popover/Popover.doc.d.ts +4 -0
  333. package/build/ts/surfaces/customer-account/components/Popover/Popover.doc.d.ts.map +1 -0
  334. package/build/ts/surfaces/customer-account/components/PressButton/PressButton.doc.d.ts +4 -0
  335. package/build/ts/surfaces/customer-account/components/PressButton/PressButton.doc.d.ts.map +1 -0
  336. package/build/ts/surfaces/customer-account/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
  337. package/build/ts/surfaces/customer-account/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
  338. package/build/ts/surfaces/customer-account/components/Progress/Progress.doc.d.ts +4 -0
  339. package/build/ts/surfaces/customer-account/components/Progress/Progress.doc.d.ts.map +1 -0
  340. package/build/ts/surfaces/customer-account/components/QRCode/QRCode.doc.d.ts +4 -0
  341. package/build/ts/surfaces/customer-account/components/QRCode/QRCode.doc.d.ts.map +1 -0
  342. package/build/ts/surfaces/customer-account/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  343. package/build/ts/surfaces/customer-account/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  344. package/build/ts/surfaces/customer-account/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
  345. package/build/ts/surfaces/customer-account/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
  346. package/build/ts/surfaces/customer-account/components/Select/Select.doc.d.ts +4 -0
  347. package/build/ts/surfaces/customer-account/components/Select/Select.doc.d.ts.map +1 -0
  348. package/build/ts/surfaces/customer-account/components/Sheet/Sheet.doc.d.ts +4 -0
  349. package/build/ts/surfaces/customer-account/components/Sheet/Sheet.doc.d.ts.map +1 -0
  350. package/build/ts/surfaces/customer-account/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts +4 -0
  351. package/build/ts/surfaces/customer-account/components/SkeletonParagraph/SkeletonParagraph.doc.d.ts.map +1 -0
  352. package/build/ts/surfaces/customer-account/components/Spinner/Spinner.doc.d.ts +4 -0
  353. package/build/ts/surfaces/customer-account/components/Spinner/Spinner.doc.d.ts.map +1 -0
  354. package/build/ts/surfaces/customer-account/components/Stack/Stack.doc.d.ts +4 -0
  355. package/build/ts/surfaces/customer-account/components/Stack/Stack.doc.d.ts.map +1 -0
  356. package/build/ts/surfaces/customer-account/components/Switch/Switch.doc.d.ts +4 -0
  357. package/build/ts/surfaces/customer-account/components/Switch/Switch.doc.d.ts.map +1 -0
  358. package/build/ts/surfaces/customer-account/components/Text/Text.doc.d.ts +4 -0
  359. package/build/ts/surfaces/customer-account/components/Text/Text.doc.d.ts.map +1 -0
  360. package/build/ts/surfaces/customer-account/components/TextArea/TextArea.doc.d.ts +4 -0
  361. package/build/ts/surfaces/customer-account/components/TextArea/TextArea.doc.d.ts.map +1 -0
  362. package/build/ts/surfaces/customer-account/components/TextField/TextField.doc.d.ts +4 -0
  363. package/build/ts/surfaces/customer-account/components/TextField/TextField.doc.d.ts.map +1 -0
  364. package/build/ts/surfaces/customer-account/components/Time/Time.doc.d.ts +4 -0
  365. package/build/ts/surfaces/customer-account/components/Time/Time.doc.d.ts.map +1 -0
  366. package/build/ts/surfaces/customer-account/components/Tooltip/Tooltip.doc.d.ts +4 -0
  367. package/build/ts/surfaces/customer-account/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
  368. package/build/ts/surfaces/customer-account/components/URLField/URLField.doc.d.ts +4 -0
  369. package/build/ts/surfaces/customer-account/components/URLField/URLField.doc.d.ts.map +1 -0
  370. package/build/ts/surfaces/customer-account/components/UnorderedList/UnorderedList.doc.d.ts +4 -0
  371. package/build/ts/surfaces/customer-account/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -0
  372. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +1 -1
  373. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -1
  374. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +1 -1
  375. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
  376. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +1 -1
  377. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -1
  378. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -1
  379. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -1
  380. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -1
  381. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -1
  382. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +10 -10
  383. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -1
  384. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +1 -1
  385. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +1 -1
  386. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +1 -1
  387. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -1
  388. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +11 -11
  389. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +23 -2
  390. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
  391. package/build/tsconfig.tsbuildinfo +1 -1
  392. package/package.json +1 -1
  393. package/src/api.ts +23 -26
  394. package/src/docs/shared/component-definitions.ts +200 -0
  395. package/src/docs/shared/components/Abbreviation.ts +2 -2
  396. package/src/docs/shared/components/Announcement.ts +2 -2
  397. package/src/docs/shared/components/Avatar.ts +3 -2
  398. package/src/docs/shared/components/Badge.ts +3 -2
  399. package/src/docs/shared/components/Banner.ts +3 -2
  400. package/src/docs/shared/components/Box.ts +3 -2
  401. package/src/docs/shared/components/Button.ts +3 -2
  402. package/src/docs/shared/components/ButtonGroup.ts +5 -3
  403. package/src/docs/shared/components/Checkbox.ts +3 -2
  404. package/src/docs/shared/components/Chip.ts +3 -2
  405. package/src/docs/shared/components/Choice.ts +3 -2
  406. package/src/docs/shared/components/ChoiceList.ts +4 -3
  407. package/src/docs/shared/components/Clickable.ts +3 -2
  408. package/src/docs/shared/components/ClickableChip.ts +4 -3
  409. package/src/docs/shared/components/ClipboardItem.ts +3 -3
  410. package/src/docs/shared/components/ColorField.ts +4 -3
  411. package/src/docs/shared/components/ColorPicker.ts +5 -3
  412. package/src/docs/shared/components/ConsentCheckbox.ts +2 -2
  413. package/src/docs/shared/components/ConsentPhoneField.ts +2 -2
  414. package/src/docs/shared/components/DateField.ts +5 -3
  415. package/src/docs/shared/components/DatePicker.ts +5 -3
  416. package/src/docs/shared/components/Details.ts +2 -2
  417. package/src/docs/shared/components/Divider.ts +3 -2
  418. package/src/docs/shared/components/DropZone.ts +3 -3
  419. package/src/docs/shared/components/EmailField.ts +4 -3
  420. package/src/docs/shared/components/Form.ts +3 -2
  421. package/src/docs/shared/components/FunctionSettings.ts +5 -20
  422. package/src/docs/shared/components/Grid.ts +3 -2
  423. package/src/docs/shared/components/GridItem.ts +6 -4
  424. package/src/docs/shared/components/Heading.ts +3 -2
  425. package/src/docs/shared/components/Icon.ts +3 -2
  426. package/src/docs/shared/components/Image.ts +3 -2
  427. package/src/docs/shared/components/Link.ts +3 -2
  428. package/src/docs/shared/components/ListItem.ts +5 -4
  429. package/src/docs/shared/components/Map.ts +2 -2
  430. package/src/docs/shared/components/MapMarker.ts +3 -3
  431. package/src/docs/shared/components/Menu.ts +3 -2
  432. package/src/docs/shared/components/Modal.ts +1 -1
  433. package/src/docs/shared/components/MoneyField.ts +4 -3
  434. package/src/docs/shared/components/NumberField.ts +4 -3
  435. package/src/docs/shared/components/Option.ts +1 -1
  436. package/src/docs/shared/components/OptionGroup.ts +2 -2
  437. package/src/docs/shared/components/OrderedList.ts +5 -4
  438. package/src/docs/shared/components/Page.ts +2 -2
  439. package/src/docs/shared/components/Paragraph.ts +3 -2
  440. package/src/docs/shared/components/PasswordField.ts +5 -3
  441. package/src/docs/shared/components/PaymentIcon.ts +3 -3
  442. package/src/docs/shared/components/PhoneField.ts +2 -2
  443. package/src/docs/shared/components/Popover.ts +1 -1
  444. package/src/docs/shared/components/PressButton.ts +2 -2
  445. package/src/docs/shared/components/ProductThumbnail.ts +3 -3
  446. package/src/docs/shared/components/Progress.ts +2 -2
  447. package/src/docs/shared/components/QRCode.ts +3 -3
  448. package/src/docs/shared/components/QueryContainer.ts +4 -3
  449. package/src/docs/shared/components/ScrollBox.ts +3 -3
  450. package/src/docs/shared/components/SearchField.ts +3 -3
  451. package/src/docs/shared/components/Section.ts +3 -2
  452. package/src/docs/shared/components/Select.ts +3 -2
  453. package/src/docs/shared/components/Sheet.ts +14 -0
  454. package/src/docs/shared/components/SkeletonParagraph.ts +3 -3
  455. package/src/docs/shared/components/Spinner.ts +3 -2
  456. package/src/docs/shared/components/Stack.ts +3 -2
  457. package/src/docs/shared/components/Summary.ts +2 -2
  458. package/src/docs/shared/components/Switch.ts +4 -2
  459. package/src/docs/shared/components/Table.ts +3 -2
  460. package/src/docs/shared/components/TableBody.ts +4 -3
  461. package/src/docs/shared/components/TableCell.ts +5 -3
  462. package/src/docs/shared/components/TableHeader.ts +5 -3
  463. package/src/docs/shared/components/TableHeaderRow.ts +4 -3
  464. package/src/docs/shared/components/TableRow.ts +5 -3
  465. package/src/docs/shared/components/Text.ts +3 -2
  466. package/src/docs/shared/components/TextArea.ts +4 -3
  467. package/src/docs/shared/components/TextField.ts +4 -3
  468. package/src/docs/shared/components/Thumbnail.ts +3 -2
  469. package/src/docs/shared/components/Time.ts +2 -2
  470. package/src/docs/shared/components/Tooltip.ts +4 -3
  471. package/src/docs/shared/components/URLField.ts +4 -3
  472. package/src/docs/shared/components/UnorderedList.ts +5 -4
  473. package/src/extension.ts +21 -0
  474. package/src/shared.ts +7 -5
  475. package/src/surfaces/admin/api/action/action.ts +7 -4
  476. package/src/surfaces/admin/api/action/examples/handle-errors.jsx +47 -0
  477. package/src/surfaces/admin/api/action/examples/process-selected-products.jsx +33 -0
  478. package/src/surfaces/admin/api/action/examples/select-additional-resources.jsx +46 -0
  479. package/src/surfaces/admin/api/block/block.ts +12 -6
  480. package/src/surfaces/admin/api/block/examples/display-product-info.jsx +46 -0
  481. package/src/surfaces/admin/api/block/examples/navigate-to-action.jsx +50 -0
  482. package/src/surfaces/admin/api/block/examples/select-related-products.jsx +46 -0
  483. package/src/surfaces/admin/api/checkout-rules/examples/configure-shipping-restrictions.jsx +52 -0
  484. package/src/surfaces/admin/api/checkout-rules/examples/load-validation-config.jsx +55 -0
  485. package/src/surfaces/admin/api/checkout-rules/examples/set-minimum-quantity.jsx +40 -0
  486. package/src/surfaces/admin/api/checkout-rules/launch-options.ts +22 -10
  487. package/src/surfaces/admin/api/checkout-rules/metafields.ts +35 -0
  488. package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +5 -1
  489. package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +19 -7
  490. package/src/surfaces/admin/api/customer-segment-template/examples/abandoned-cart-recovery.jsx +30 -0
  491. package/src/surfaces/admin/api/customer-segment-template/examples/birthday-this-month.jsx +32 -0
  492. package/src/surfaces/admin/api/customer-segment-template/examples/high-value-customers.jsx +27 -0
  493. package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +5 -1
  494. package/src/surfaces/admin/api/discount-function-settings/examples/configure-discount-threshold.jsx +39 -0
  495. package/src/surfaces/admin/api/discount-function-settings/examples/configure-eligibility-rules.jsx +45 -0
  496. package/src/surfaces/admin/api/discount-function-settings/examples/load-existing-settings.jsx +45 -0
  497. package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +22 -4
  498. package/src/surfaces/admin/api/discount-function-settings/metafields.ts +35 -0
  499. package/src/surfaces/admin/api/intents/examples/create-article.jsx +35 -0
  500. package/src/surfaces/admin/api/intents/examples/create-catalog.jsx +35 -0
  501. package/src/surfaces/admin/api/intents/examples/create-collection.jsx +35 -0
  502. package/src/surfaces/admin/api/intents/examples/create-customer.jsx +35 -0
  503. package/src/surfaces/admin/api/intents/examples/create-discount.jsx +35 -0
  504. package/src/surfaces/admin/api/intents/examples/create-market.jsx +35 -0
  505. package/src/surfaces/admin/api/intents/examples/create-menu.jsx +35 -0
  506. package/src/surfaces/admin/api/intents/examples/create-metafield-definition.jsx +35 -0
  507. package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.jsx +35 -0
  508. package/src/surfaces/admin/api/intents/examples/create-metaobject.jsx +35 -0
  509. package/src/surfaces/admin/api/intents/examples/create-page.jsx +35 -0
  510. package/src/surfaces/admin/api/intents/examples/create-product.jsx +37 -0
  511. package/src/surfaces/admin/api/intents/examples/create-variant.jsx +35 -0
  512. package/src/surfaces/admin/api/intents/examples/edit-article.jsx +41 -0
  513. package/src/surfaces/admin/api/intents/examples/edit-catalog.jsx +41 -0
  514. package/src/surfaces/admin/api/intents/examples/edit-collection.jsx +41 -0
  515. package/src/surfaces/admin/api/intents/examples/edit-customer.jsx +41 -0
  516. package/src/surfaces/admin/api/intents/examples/edit-discount.jsx +41 -0
  517. package/src/surfaces/admin/api/intents/examples/edit-market.jsx +41 -0
  518. package/src/surfaces/admin/api/intents/examples/edit-menu.jsx +41 -0
  519. package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.jsx +41 -0
  520. package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.jsx +41 -0
  521. package/src/surfaces/admin/api/intents/examples/edit-metaobject.jsx +41 -0
  522. package/src/surfaces/admin/api/intents/examples/edit-page.jsx +41 -0
  523. package/src/surfaces/admin/api/intents/examples/edit-product.jsx +41 -0
  524. package/src/surfaces/admin/api/intents/examples/edit-variant.jsx +41 -0
  525. package/src/surfaces/admin/api/intents/intents.ts +30 -35
  526. package/src/surfaces/admin/api/order-routing-rule/data.ts +20 -0
  527. package/src/surfaces/admin/api/order-routing-rule/examples/configure-location-priority.jsx +46 -0
  528. package/src/surfaces/admin/api/order-routing-rule/examples/remove-deprecated-settings.jsx +35 -0
  529. package/src/surfaces/admin/api/order-routing-rule/examples/set-routing-criteria.jsx +57 -0
  530. package/src/surfaces/admin/api/order-routing-rule/metafields.ts +24 -0
  531. package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +5 -0
  532. package/src/surfaces/admin/api/picker/examples/direct-api.jsx +42 -0
  533. package/src/surfaces/admin/api/picker/examples/disabled.jsx +23 -0
  534. package/src/surfaces/admin/api/picker/examples/minimal.jsx +37 -0
  535. package/src/surfaces/admin/api/picker/examples/multiple-limit.jsx +26 -0
  536. package/src/surfaces/admin/api/picker/examples/multiple-true.jsx +25 -0
  537. package/src/surfaces/admin/api/picker/examples/preselected.jsx +23 -0
  538. package/src/surfaces/admin/api/picker/examples/template-picker.jsx +58 -0
  539. package/src/surfaces/admin/api/picker/picker.ts +46 -16
  540. package/src/surfaces/admin/api/print-action/examples/custom-product-labels.jsx +47 -0
  541. package/src/surfaces/admin/api/print-action/examples/generate-packing-slip.jsx +34 -0
  542. package/src/surfaces/admin/api/print-action/examples/shipping-manifest.jsx +57 -0
  543. package/src/surfaces/admin/api/print-action/print-action.ts +6 -3
  544. package/src/surfaces/admin/api/product-configuration/examples/create-variant-component.jsx +56 -0
  545. package/src/surfaces/admin/api/product-configuration/examples/load-bundle-config.jsx +47 -0
  546. package/src/surfaces/admin/api/product-configuration/examples/load-variant-bundle-config.jsx +54 -0
  547. package/src/surfaces/admin/api/product-configuration/examples/navigate-to-component.jsx +27 -0
  548. package/src/surfaces/admin/api/product-configuration/examples/select-bundle-components.jsx +50 -0
  549. package/src/surfaces/admin/api/product-configuration/examples/select-variant-components.jsx +50 -0
  550. package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +36 -6
  551. package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +36 -6
  552. package/src/surfaces/admin/api/purchase-options-card/examples/manage-subscription.jsx +45 -0
  553. package/src/surfaces/admin/api/purchase-options-card/examples/remove-from-plan.jsx +44 -0
  554. package/src/surfaces/admin/api/purchase-options-card/examples/validate-selling-plan.jsx +47 -0
  555. package/src/surfaces/admin/api/purchase-options-card-action.ts +11 -1
  556. package/src/surfaces/admin/api/resource-picker/examples/action.jsx +25 -0
  557. package/src/surfaces/admin/api/resource-picker/examples/collection-picker.jsx +22 -0
  558. package/src/surfaces/admin/api/resource-picker/examples/filter-query.jsx +22 -0
  559. package/src/surfaces/admin/api/resource-picker/examples/filters.jsx +27 -0
  560. package/src/surfaces/admin/api/resource-picker/examples/multiple-limited.jsx +25 -0
  561. package/src/surfaces/admin/api/resource-picker/examples/multiple-unlimited.jsx +25 -0
  562. package/src/surfaces/admin/api/resource-picker/examples/product-picker.jsx +22 -0
  563. package/src/surfaces/admin/api/resource-picker/examples/product-variant-picker.jsx +22 -0
  564. package/src/surfaces/admin/api/resource-picker/examples/query.jsx +25 -0
  565. package/src/surfaces/admin/api/resource-picker/examples/selection-ids.jsx +28 -0
  566. package/src/surfaces/admin/api/resource-picker/examples/selection.jsx +22 -0
  567. package/src/surfaces/admin/api/resource-picker/resource-picker.ts +181 -21
  568. package/src/surfaces/admin/api/shared.ts +7 -1
  569. package/src/surfaces/admin/api/should-render/examples/bulk-selection-check.jsx +8 -0
  570. package/src/surfaces/admin/api/should-render/examples/check-order-status.jsx +7 -0
  571. package/src/surfaces/admin/api/should-render/examples/check-product-tag.jsx +7 -0
  572. package/src/surfaces/admin/api/should-render/should-render.ts +8 -1
  573. package/src/surfaces/admin/api/standard/examples/authenticate-backend-request.jsx +40 -0
  574. package/src/surfaces/admin/api/standard/examples/persist-settings.jsx +43 -0
  575. package/src/surfaces/admin/api/standard/examples/query-and-mutate.jsx +75 -0
  576. package/src/surfaces/admin/api/standard/standard.ts +20 -10
  577. package/src/surfaces/admin/api/standard/storage.ts +21 -27
  578. package/src/surfaces/admin/components/ActionExtensionComponents.ts +3 -0
  579. package/src/surfaces/admin/components/{ButtonGroup/examples/default.jsx → AdminAction/examples/default.html} +3 -2
  580. package/src/surfaces/admin/components/AdminAction/examples/destructive-action.html +10 -0
  581. package/src/surfaces/admin/components/AdminAction/examples/loading-state.html +5 -0
  582. package/src/surfaces/admin/components/AdminAction/examples/with-form-content.html +8 -0
  583. package/src/surfaces/admin/components/AdminAction/examples/with-resource-details.html +15 -0
  584. package/src/surfaces/admin/components/AdminAction.d.ts +53 -3
  585. package/src/surfaces/admin/components/AdminBlock/examples/default.html +3 -0
  586. package/src/surfaces/admin/components/AdminBlock/examples/with-actions.html +14 -0
  587. package/src/surfaces/admin/components/AdminBlock/examples/with-badges.html +14 -0
  588. package/src/surfaces/admin/components/AdminBlock/examples/with-collapsed-summary.html +7 -0
  589. package/src/surfaces/admin/components/AdminBlock/examples/with-data-table.html +21 -0
  590. package/src/surfaces/admin/components/AdminBlock.d.ts +49 -1
  591. package/src/surfaces/admin/components/AdminPrintAction/examples/default.html +1 -0
  592. package/src/surfaces/admin/components/AdminPrintAction/examples/dynamic-url.html +1 -0
  593. package/src/surfaces/admin/components/AdminPrintAction/examples/pdf-source.html +1 -0
  594. package/src/surfaces/admin/components/AdminPrintAction.d.ts +45 -1
  595. package/src/surfaces/admin/components/Avatar.d.ts +110 -10
  596. package/src/surfaces/admin/components/Badge.d.ts +155 -8
  597. package/src/surfaces/admin/components/Banner.d.ts +101 -10
  598. package/src/surfaces/admin/components/BlockExtensionComponents.ts +3 -0
  599. package/src/surfaces/admin/components/Box/examples/accessible-status-messages.html +8 -14
  600. package/src/surfaces/admin/components/Box/examples/screen-reader-only-content.html +3 -0
  601. package/src/surfaces/admin/components/Box.d.ts +203 -75
  602. package/src/surfaces/admin/components/Button/examples/component-interactions.html +8 -6
  603. package/src/surfaces/admin/components/Button/examples/icon-only-button.html +17 -1
  604. package/src/surfaces/admin/components/Button.d.ts +244 -16
  605. package/src/surfaces/admin/components/ButtonGroup.d.ts +96 -11
  606. package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.html +10 -0
  607. package/src/surfaces/admin/components/Checkbox/examples/validation-example.html +9 -0
  608. package/src/surfaces/admin/components/Checkbox.d.ts +133 -4
  609. package/src/surfaces/admin/components/Chip/examples/default.html +1 -1
  610. package/src/surfaces/admin/components/Chip.d.ts +2 -4
  611. package/src/surfaces/admin/components/Choice.d.ts +68 -11
  612. package/src/surfaces/admin/components/ChoiceList/examples/disabled-state.html +5 -0
  613. package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.html +2 -3
  614. package/src/surfaces/admin/components/ChoiceList.d.ts +102 -6
  615. package/src/surfaces/admin/components/Clickable.d.ts +142 -41
  616. package/src/surfaces/admin/components/ClickableChip.d.ts +115 -19
  617. package/src/surfaces/admin/components/ColorField/examples/default.html +4 -1
  618. package/src/surfaces/admin/components/ColorField/examples/validation-example.html +12 -0
  619. package/src/surfaces/admin/components/ColorField.d.ts +177 -18
  620. package/src/surfaces/admin/components/ColorPicker/examples/default.html +1 -1
  621. package/src/surfaces/admin/components/ColorPicker.d.ts +100 -5
  622. package/src/surfaces/admin/components/DateField.d.ts +195 -22
  623. package/src/surfaces/admin/components/DatePicker.d.ts +141 -4
  624. package/src/surfaces/admin/components/Divider.d.ts +88 -6
  625. package/src/surfaces/admin/components/DropZone/examples/upload-with-validation.html +42 -0
  626. package/src/surfaces/admin/components/EmailField/examples/disabled-state.html +5 -0
  627. package/src/surfaces/admin/components/EmailField.d.ts +159 -7
  628. package/src/surfaces/admin/components/Form/examples/default.html +1 -1
  629. package/src/surfaces/admin/components/Form/examples/with-choice-fields.html +12 -0
  630. package/src/surfaces/admin/components/Form/examples/with-multiple-fields.html +12 -0
  631. package/src/surfaces/admin/components/Form/examples/with-sections.html +21 -0
  632. package/src/surfaces/admin/components/Form/examples/with-validation.html +7 -0
  633. package/src/surfaces/admin/components/Form.d.ts +65 -5
  634. package/src/surfaces/admin/components/FormExtensionComponents.ts +3 -0
  635. package/src/surfaces/admin/components/FunctionSettings/examples/default.html +9 -0
  636. package/src/surfaces/admin/components/FunctionSettings/examples/with-multiple-settings.html +16 -0
  637. package/src/surfaces/admin/components/FunctionSettings/examples/with-select-options.html +10 -0
  638. package/src/surfaces/admin/components/FunctionSettings/examples/with-toggle.html +13 -0
  639. package/src/surfaces/admin/components/FunctionSettings/examples/with-validation.html +23 -0
  640. package/src/surfaces/admin/components/FunctionSettings.d.ts +78 -8
  641. package/src/surfaces/admin/components/FunctionSettingsComponents.ts +3 -0
  642. package/src/surfaces/admin/components/Grid.d.ts +249 -69
  643. package/src/surfaces/admin/components/GridItem.d.ts +212 -33
  644. package/src/surfaces/admin/components/Heading.d.ts +66 -7
  645. package/src/surfaces/admin/components/Icon.d.ts +113 -11
  646. package/src/surfaces/admin/components/Image/examples/basic-usage.html +15 -4
  647. package/src/surfaces/admin/components/Image.d.ts +235 -36
  648. package/src/surfaces/admin/components/Link/examples/default.html +1 -1
  649. package/src/surfaces/admin/components/Link.d.ts +76 -16
  650. package/src/surfaces/admin/components/ListItem.d.ts +59 -7
  651. package/src/surfaces/admin/components/Menu/examples/{menu-with-icons.html → icon-only-trigger.html} +7 -2
  652. package/src/surfaces/admin/components/Menu.d.ts +101 -21
  653. package/src/surfaces/admin/components/MoneyField/examples/basic-field.html +0 -1
  654. package/src/surfaces/admin/components/MoneyField.d.ts +158 -7
  655. package/src/surfaces/admin/components/NumberField/examples/disabled-and-read-only.html +15 -0
  656. package/src/surfaces/admin/components/NumberField/examples/{basic-usage.html → with-error-state.html} +3 -1
  657. package/src/surfaces/admin/components/NumberField.d.ts +170 -7
  658. package/src/surfaces/admin/components/Option.d.ts +62 -5
  659. package/src/surfaces/admin/components/OptionGroup.d.ts +56 -7
  660. package/src/surfaces/admin/components/OrderedList/examples/default.html +3 -3
  661. package/src/surfaces/admin/components/OrderedList.d.ts +57 -9
  662. package/src/surfaces/admin/components/Paragraph/examples/subdued-color.html +3 -0
  663. package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.html +13 -1
  664. package/src/surfaces/admin/components/Paragraph.d.ts +100 -11
  665. package/src/surfaces/admin/components/PasswordField.d.ts +166 -14
  666. package/src/surfaces/admin/components/PrintActionExtensionComponents.ts +3 -0
  667. package/src/surfaces/admin/components/QueryContainer.d.ts +65 -7
  668. package/src/surfaces/admin/components/SearchField.d.ts +150 -4
  669. package/src/surfaces/admin/components/Section.d.ts +81 -8
  670. package/src/surfaces/admin/components/Select/examples/with-error-state.html +2 -2
  671. package/src/surfaces/admin/components/Select/examples/with-option-groups.html +4 -4
  672. package/src/surfaces/admin/components/Select.d.ts +145 -6
  673. package/src/surfaces/admin/components/Spinner/examples/spinner-sizes.html +5 -0
  674. package/src/surfaces/admin/components/Spinner.d.ts +67 -5
  675. package/src/surfaces/admin/components/Stack.d.ts +239 -61
  676. package/src/surfaces/admin/components/StandardComponents.ts +3 -0
  677. package/src/surfaces/admin/components/Switch/examples/disabled-switch.html +2 -2
  678. package/src/surfaces/admin/components/Switch/examples/form-integration.html +15 -12
  679. package/src/surfaces/admin/components/Switch/examples/hidden-label-for-accessibility.html +1 -1
  680. package/src/surfaces/admin/components/Switch/examples/settings-panel-with-stack.html +1 -1
  681. package/src/surfaces/admin/components/Switch/examples/with-details-and-error.html +1 -1
  682. package/src/surfaces/admin/components/Switch.d.ts +124 -4
  683. package/src/surfaces/admin/components/Table/examples/{basic-usage.jsx → with-filters.html} +2 -13
  684. package/src/surfaces/admin/components/Table.d.ts +144 -13
  685. package/src/surfaces/admin/components/TableBody.d.ts +62 -7
  686. package/src/surfaces/admin/components/TableCell.d.ts +66 -7
  687. package/src/surfaces/admin/components/TableHeader.d.ts +77 -7
  688. package/src/surfaces/admin/components/TableHeaderRow.d.ts +62 -7
  689. package/src/surfaces/admin/components/TableRow.d.ts +65 -7
  690. package/src/surfaces/admin/components/Text.d.ts +129 -9
  691. package/src/surfaces/admin/components/TextArea/examples/disabled-and-read-only.html +15 -0
  692. package/src/surfaces/admin/components/TextArea.d.ts +157 -7
  693. package/src/surfaces/admin/components/TextField/examples/disabled-and-read-only.html +13 -0
  694. package/src/surfaces/admin/components/TextField.d.ts +170 -19
  695. package/src/surfaces/admin/components/Thumbnail/examples/default.html +1 -1
  696. package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.html +3 -3
  697. package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.html +22 -9
  698. package/src/surfaces/admin/components/Thumbnail.d.ts +103 -10
  699. package/src/surfaces/admin/components/Tooltip/examples/basic-usage.html +2 -4
  700. package/src/surfaces/admin/components/Tooltip/examples/keyboard-shortcut.html +2 -0
  701. package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.html +3 -5
  702. package/src/surfaces/admin/components/Tooltip.d.ts +98 -21
  703. package/src/surfaces/admin/components/URLField/examples/default.html +2 -2
  704. package/src/surfaces/admin/components/URLField/examples/with-default-value.html +5 -7
  705. package/src/surfaces/admin/components/URLField.d.ts +171 -14
  706. package/src/surfaces/admin/components/UnorderedList.d.ts +57 -9
  707. package/src/surfaces/admin/components/shared.d.ts +842 -772
  708. package/src/surfaces/admin/components.d.ts +2550 -1100
  709. package/src/surfaces/admin/extension-targets.ts +85 -169
  710. package/src/surfaces/checkout/api/docs.ts +0 -2
  711. package/src/surfaces/checkout/api/standard/standard.ts +0 -21
  712. package/src/surfaces/checkout/shared.ts +8 -11
  713. package/src/surfaces/customer-account/api/order-status/order-status.ts +360 -318
  714. package/src/surfaces/customer-account/api/shared.ts +84 -97
  715. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +8 -10
  716. package/src/surfaces/customer-account/components/Abbreviation/examples/basic-abbreviation.example.html +1 -0
  717. package/src/surfaces/customer-account/components/Announcement/examples/basic-announcement.example.html +16 -0
  718. package/src/surfaces/customer-account/components/Badge/examples/basic-badge.example.html +3 -0
  719. package/src/surfaces/customer-account/components/Banner/examples/basic-banner.example.html +1 -0
  720. package/src/surfaces/customer-account/components/Box/examples/basic-box.example.html +11 -0
  721. package/src/surfaces/customer-account/components/Button/examples/basic-button.example.html +2 -0
  722. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +2 -2
  723. package/src/surfaces/customer-account/components/Checkbox/examples/basic-checkbox.example.html +1 -0
  724. package/src/surfaces/customer-account/components/Chip/examples/basic-chip.example.html +1 -0
  725. package/src/surfaces/customer-account/components/ChoiceList/examples/basic-choice-list.example.html +7 -0
  726. package/src/surfaces/customer-account/components/ChoiceList/examples/block-choice-variant.example.html +47 -0
  727. package/src/surfaces/customer-account/components/ChoiceList/examples/grid-choice-variant.example.html +5 -0
  728. package/src/surfaces/customer-account/components/ChoiceList/examples/inline-choice-variant.example.html +6 -0
  729. package/src/surfaces/customer-account/components/ChoiceList/examples/list-choice-variant.example.html +5 -0
  730. package/src/surfaces/customer-account/components/Clickable/examples/basic-clickable.example.html +3 -0
  731. package/src/surfaces/customer-account/components/ClickableChip/examples/basic-clickable-chip.example.html +1 -0
  732. package/src/surfaces/customer-account/components/ClipboardItem/examples/basic-clipboard-item.example.html +2 -0
  733. package/src/surfaces/customer-account/components/ConsentCheckbox/examples/basic-consent-checkbox.example.html +5 -0
  734. package/src/surfaces/customer-account/components/ConsentPhoneField/examples/basic-consent-phone-field.example.html +5 -0
  735. package/src/surfaces/customer-account/components/DateField/examples/basic-date-field.example.html +1 -0
  736. package/src/surfaces/customer-account/components/DatePicker/examples/basic-date-picker.example.html +1 -0
  737. package/src/surfaces/customer-account/components/Details/examples/basic-details.example.html +6 -0
  738. package/src/surfaces/customer-account/components/DropZone/examples/basic-drop-zone.example.html +1 -0
  739. package/src/surfaces/customer-account/components/EmailField/examples/basic-email-field.example.html +1 -0
  740. package/src/surfaces/customer-account/components/Form/examples/basic-form.example.html +4 -0
  741. package/src/surfaces/customer-account/components/Grid/examples/basic-grid.example.html +11 -0
  742. package/src/surfaces/customer-account/components/Heading/examples/basic-heading.example.html +1 -0
  743. package/src/surfaces/customer-account/components/Icon/examples/basic-icon.example.html +4 -0
  744. package/src/surfaces/customer-account/components/Image/examples/basic-image.example.html +1 -0
  745. package/src/surfaces/customer-account/components/Link/examples/basic-link.example.html +1 -0
  746. package/src/surfaces/customer-account/components/Map/examples/basic-map.example.html +3 -0
  747. package/src/surfaces/customer-account/components/Map/examples/map-marker-graphic.example.html +14 -0
  748. package/src/surfaces/customer-account/components/Map/examples/map-marker-popover.example.html +14 -0
  749. package/src/surfaces/customer-account/components/Modal/examples/basic-modal.example.html +20 -0
  750. package/src/surfaces/customer-account/components/MoneyField/examples/basic-money-field.example.html +1 -0
  751. package/src/surfaces/customer-account/components/NumberField/examples/basic-number-field.example.html +8 -0
  752. package/src/surfaces/customer-account/components/OrderedList/examples/basic-ordered-list.example.html +5 -0
  753. package/src/surfaces/customer-account/components/Paragraph/examples/basic-paragraph.example.html +1 -0
  754. package/src/surfaces/customer-account/components/PasswordField/examples/basic-password-field.example.html +1 -0
  755. package/src/surfaces/customer-account/components/PaymentIcon/examples/basic-payment-icon.example.html +7 -0
  756. package/src/surfaces/customer-account/components/PhoneField/examples/basic-phone-field.example.html +2 -0
  757. package/src/surfaces/customer-account/components/Popover/examples/basic-popover.example.html +7 -0
  758. package/src/surfaces/customer-account/components/PressButton/examples/basic-press-button.example.html +1 -0
  759. package/src/surfaces/customer-account/components/ProductThumbnail/examples/basic-product-thumbnail.example.html +4 -0
  760. package/src/surfaces/customer-account/components/Progress/examples/basic-progress.example.html +1 -0
  761. package/src/surfaces/customer-account/components/QRCode/examples/basic-qr-code.example.html +4 -0
  762. package/src/surfaces/{admin/components/QueryContainer/examples/default.jsx → customer-account/components/QueryContainer/examples/basic-query-container.example.html} +3 -3
  763. package/src/surfaces/customer-account/components/ScrollBox/examples/basic-scroll-box.example.html +5 -0
  764. package/src/surfaces/customer-account/components/Section.d.ts +2 -2
  765. package/src/surfaces/customer-account/components/Select/examples/basic-select.example.html +5 -0
  766. package/src/surfaces/customer-account/components/Sheet/examples/basic-sheet.example.html +5 -0
  767. package/src/surfaces/customer-account/components/SkeletonParagraph/examples/basic-skeleton-paragraph.example.html +2 -0
  768. package/src/surfaces/customer-account/components/Spinner/examples/basic-spinner.example.html +1 -0
  769. package/src/surfaces/customer-account/components/Stack/examples/basic-stack.example.html +22 -0
  770. package/src/surfaces/customer-account/components/Switch/examples/basic-switch.example.html +1 -0
  771. package/src/surfaces/customer-account/components/Text/examples/basic-text.example.html +3 -0
  772. package/src/surfaces/customer-account/components/TextArea/examples/basic-text-area.example.html +5 -0
  773. package/src/surfaces/customer-account/components/TextField/examples/basic-text-field.example.html +4 -0
  774. package/src/surfaces/customer-account/components/Time/examples/basic-time.example.html +1 -0
  775. package/src/surfaces/customer-account/components/Tooltip/examples/basic-tooltip.example.html +9 -0
  776. package/src/surfaces/customer-account/components/URLField/examples/basic-url-field.example.html +1 -0
  777. package/src/surfaces/customer-account/components/UnorderedList/examples/basic-unordered-list.example.html +5 -0
  778. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +1 -1
  779. package/src/surfaces/point-of-sale/components/Button.d.ts +1 -1
  780. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +1 -1
  781. package/src/surfaces/point-of-sale/components/EmailField.d.ts +1 -1
  782. package/src/surfaces/point-of-sale/components/Stack.d.ts +10 -10
  783. package/src/surfaces/point-of-sale/components/Text.d.ts +1 -1
  784. package/src/surfaces/point-of-sale/components/TextArea.d.ts +1 -1
  785. package/src/surfaces/point-of-sale/components/TextField.d.ts +1 -1
  786. package/src/surfaces/point-of-sale/components/components-shared.d.ts +11 -11
  787. package/src/surfaces/point-of-sale/components.d.ts +43 -43
  788. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +23 -2
  789. package/src/surfaces/admin/api/intents/examples/create-article.js +0 -9
  790. package/src/surfaces/admin/api/intents/examples/create-catalog.js +0 -9
  791. package/src/surfaces/admin/api/intents/examples/create-collection.js +0 -9
  792. package/src/surfaces/admin/api/intents/examples/create-customer.js +0 -9
  793. package/src/surfaces/admin/api/intents/examples/create-discount.js +0 -11
  794. package/src/surfaces/admin/api/intents/examples/create-market.js +0 -9
  795. package/src/surfaces/admin/api/intents/examples/create-menu.js +0 -9
  796. package/src/surfaces/admin/api/intents/examples/create-metafield-definition.js +0 -11
  797. package/src/surfaces/admin/api/intents/examples/create-metaobject-definition.js +0 -9
  798. package/src/surfaces/admin/api/intents/examples/create-metaobject.js +0 -11
  799. package/src/surfaces/admin/api/intents/examples/create-page.js +0 -9
  800. package/src/surfaces/admin/api/intents/examples/create-product.js +0 -9
  801. package/src/surfaces/admin/api/intents/examples/create-variant.js +0 -11
  802. package/src/surfaces/admin/api/intents/examples/edit-article.js +0 -11
  803. package/src/surfaces/admin/api/intents/examples/edit-catalog.js +0 -11
  804. package/src/surfaces/admin/api/intents/examples/edit-collection.js +0 -11
  805. package/src/surfaces/admin/api/intents/examples/edit-customer.js +0 -11
  806. package/src/surfaces/admin/api/intents/examples/edit-discount.js +0 -11
  807. package/src/surfaces/admin/api/intents/examples/edit-market.js +0 -11
  808. package/src/surfaces/admin/api/intents/examples/edit-menu.js +0 -11
  809. package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +0 -12
  810. package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +0 -11
  811. package/src/surfaces/admin/api/intents/examples/edit-metaobject.js +0 -12
  812. package/src/surfaces/admin/api/intents/examples/edit-page.js +0 -11
  813. package/src/surfaces/admin/api/intents/examples/edit-product.js +0 -11
  814. package/src/surfaces/admin/api/intents/examples/edit-variant.js +0 -12
  815. package/src/surfaces/admin/api/picker/examples/direct-api.js +0 -73
  816. package/src/surfaces/admin/api/picker/examples/disabled.js +0 -16
  817. package/src/surfaces/admin/api/picker/examples/minimal.js +0 -16
  818. package/src/surfaces/admin/api/picker/examples/multiple-limit.js +0 -21
  819. package/src/surfaces/admin/api/picker/examples/multiple-true.js +0 -21
  820. package/src/surfaces/admin/api/picker/examples/preselected.js +0 -16
  821. package/src/surfaces/admin/api/picker/examples/template-picker.js +0 -37
  822. package/src/surfaces/admin/api/resource-picker/examples/action.js +0 -4
  823. package/src/surfaces/admin/api/resource-picker/examples/collection-picker.js +0 -1
  824. package/src/surfaces/admin/api/resource-picker/examples/filter-query.js +0 -6
  825. package/src/surfaces/admin/api/resource-picker/examples/filters.js +0 -9
  826. package/src/surfaces/admin/api/resource-picker/examples/multiple-limited.js +0 -4
  827. package/src/surfaces/admin/api/resource-picker/examples/multiple-unlimited.js +0 -4
  828. package/src/surfaces/admin/api/resource-picker/examples/product-picker.js +0 -3
  829. package/src/surfaces/admin/api/resource-picker/examples/product-variant-picker.js +0 -1
  830. package/src/surfaces/admin/api/resource-picker/examples/query.js +0 -4
  831. package/src/surfaces/admin/api/resource-picker/examples/selection-ids.js +0 -16
  832. package/src/surfaces/admin/api/resource-picker/examples/selection.js +0 -7
  833. package/src/surfaces/admin/components/AdminAction/examples/default.tsx +0 -15
  834. package/src/surfaces/admin/components/AdminBlock/examples/default.tsx +0 -1
  835. package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +0 -9
  836. package/src/surfaces/admin/components/Avatar/examples/basic-usage.jsx +0 -1
  837. package/src/surfaces/admin/components/Avatar/examples/color-consistency-demo.jsx +0 -7
  838. package/src/surfaces/admin/components/Avatar/examples/default-avatar-no-props.jsx +0 -1
  839. package/src/surfaces/admin/components/Avatar/examples/default.jsx +0 -1
  840. package/src/surfaces/admin/components/Avatar/examples/error-handling-example.jsx +0 -5
  841. package/src/surfaces/admin/components/Avatar/examples/fulfillment-partner-avatars.jsx +0 -14
  842. package/src/surfaces/admin/components/Avatar/examples/in-customer-list-context.jsx +0 -24
  843. package/src/surfaces/admin/components/Avatar/examples/long-initials-handling.jsx +0 -5
  844. package/src/surfaces/admin/components/Avatar/examples/size-variations.jsx +0 -7
  845. package/src/surfaces/admin/components/Avatar/examples/staff-member-profiles.jsx +0 -10
  846. package/src/surfaces/admin/components/Avatar/examples/with-image-source-and-fallback.jsx +0 -6
  847. package/src/surfaces/admin/components/Avatar/examples/with-section-component.jsx +0 -17
  848. package/src/surfaces/admin/components/Badge/examples/default.jsx +0 -8
  849. package/src/surfaces/admin/components/Badge/examples/different-sizes-for-emphasis.jsx +0 -4
  850. package/src/surfaces/admin/components/Badge/examples/order-status-badges.html +0 -6
  851. package/src/surfaces/admin/components/Badge/examples/order-status-badges.jsx +0 -6
  852. package/src/surfaces/admin/components/Badge/examples/status-indicators-with-icons.jsx +0 -21
  853. package/src/surfaces/admin/components/Badge/examples/within-table-context.jsx +0 -18
  854. package/src/surfaces/admin/components/Banner/examples/basic-information-banner.html +0 -3
  855. package/src/surfaces/admin/components/Banner/examples/basic-information-banner.jsx +0 -3
  856. package/src/surfaces/admin/components/Banner/examples/critical-banner-with-clear-next-steps.jsx +0 -18
  857. package/src/surfaces/admin/components/Banner/examples/default.jsx +0 -3
  858. package/src/surfaces/admin/components/Banner/examples/dismissible-success-banner.jsx +0 -3
  859. package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.html +0 -14
  860. package/src/surfaces/admin/components/Banner/examples/info-banner-with-clear-value-proposition.jsx +0 -14
  861. package/src/surfaces/admin/components/Banner/examples/warning-banner-with-specific-actions.jsx +0 -18
  862. package/src/surfaces/admin/components/Box/examples/accessible-status-messages.jsx +0 -14
  863. package/src/surfaces/admin/components/Box/examples/basic-container.html +0 -9
  864. package/src/surfaces/admin/components/Box/examples/basic-container.jsx +0 -9
  865. package/src/surfaces/admin/components/Box/examples/complex-merchant-dashboard-layout.jsx +0 -34
  866. package/src/surfaces/admin/components/Box/examples/default.jsx +0 -7
  867. package/src/surfaces/admin/components/Box/examples/responsive-shipping-notice.jsx +0 -10
  868. package/src/surfaces/admin/components/Button/examples/basic-usage.jsx +0 -1
  869. package/src/surfaces/admin/components/Button/examples/bulk-actions.html +0 -4
  870. package/src/surfaces/admin/components/Button/examples/bulk-actions.jsx +0 -6
  871. package/src/surfaces/admin/components/Button/examples/component-interactions.jsx +0 -7
  872. package/src/surfaces/admin/components/Button/examples/default.jsx +0 -4
  873. package/src/surfaces/admin/components/Button/examples/delete-confirmation.jsx +0 -6
  874. package/src/surfaces/admin/components/Button/examples/form-states.jsx +0 -6
  875. package/src/surfaces/admin/components/Button/examples/icon-only-button.jsx +0 -1
  876. package/src/surfaces/admin/components/Button/examples/link-buttons.jsx +0 -9
  877. package/src/surfaces/admin/components/Button/examples/loading-state-for-merchant-actions.jsx +0 -11
  878. package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.html +0 -2
  879. package/src/surfaces/admin/components/Button/examples/navigation-to-admin-sections.jsx +0 -3
  880. package/src/surfaces/admin/components/Button/examples/product-save-form.html +0 -4
  881. package/src/surfaces/admin/components/Button/examples/product-save-form.jsx +0 -6
  882. package/src/surfaces/admin/components/Button/examples/tones.jsx +0 -5
  883. package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.html +0 -17
  884. package/src/surfaces/admin/components/Button/examples/toolbar-icon-buttons.jsx +0 -17
  885. package/src/surfaces/admin/components/Button/examples/variants.jsx +0 -6
  886. package/src/surfaces/admin/components/Button/examples/with-icon.jsx +0 -1
  887. package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.html +0 -4
  888. package/src/surfaces/admin/components/ButtonGroup/examples/basic-usage.jsx +0 -6
  889. package/src/surfaces/admin/components/ButtonGroup/examples/bulk-actions-in-data-tables.jsx +0 -7
  890. package/src/surfaces/admin/components/ButtonGroup/examples/destructive-actions-pattern.jsx +0 -6
  891. package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.html +0 -4
  892. package/src/surfaces/admin/components/ButtonGroup/examples/form-action-buttons.jsx +0 -6
  893. package/src/surfaces/admin/components/ButtonGroup/examples/segmented-appearance.jsx +0 -5
  894. package/src/surfaces/admin/components/ButtonGroup/examples/toolbar-buttons-with-icons.jsx +0 -11
  895. package/src/surfaces/admin/components/Checkbox/examples/default.jsx +0 -4
  896. package/src/surfaces/admin/components/Checkbox/examples/disabled-state.jsx +0 -5
  897. package/src/surfaces/admin/components/Checkbox/examples/error-state.jsx +0 -4
  898. package/src/surfaces/admin/components/Checkbox/examples/help-text.html +0 -4
  899. package/src/surfaces/admin/components/Checkbox/examples/help-text.jsx +0 -4
  900. package/src/surfaces/admin/components/Checkbox/examples/indeterminate-state.jsx +0 -21
  901. package/src/surfaces/admin/components/Checkbox/examples/settings-group.jsx +0 -12
  902. package/src/surfaces/admin/components/Checkbox/examples/validation-example.jsx +0 -20
  903. package/src/surfaces/admin/components/Chip/examples/basic-usage.html +0 -3
  904. package/src/surfaces/admin/components/Chip/examples/basic-usage.jsx +0 -3
  905. package/src/surfaces/admin/components/Chip/examples/color-variants.jsx +0 -12
  906. package/src/surfaces/admin/components/Chip/examples/default.jsx +0 -1
  907. package/src/surfaces/admin/components/Chip/examples/product-status.html +0 -8
  908. package/src/surfaces/admin/components/Chip/examples/product-status.jsx +0 -12
  909. package/src/surfaces/admin/components/Chip/examples/text-truncation.jsx +0 -12
  910. package/src/surfaces/admin/components/Chip/examples/with-icon-graphic.jsx +0 -4
  911. package/src/surfaces/admin/components/ChoiceList/examples/basic-usage.jsx +0 -7
  912. package/src/surfaces/admin/components/ChoiceList/examples/default.jsx +0 -16
  913. package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.html +0 -18
  914. package/src/surfaces/admin/components/ChoiceList/examples/multiple-choices-with-details.jsx +0 -18
  915. package/src/surfaces/admin/components/ChoiceList/examples/multiple-selections.jsx +0 -15
  916. package/src/surfaces/admin/components/ChoiceList/examples/validation-example.jsx +0 -20
  917. package/src/surfaces/admin/components/ChoiceList/examples/with-error-state.jsx +0 -8
  918. package/src/surfaces/admin/components/Clickable/examples/accessibility-with-aria-attributes.jsx +0 -8
  919. package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.html +0 -1
  920. package/src/surfaces/admin/components/Clickable/examples/basic-button-usage.jsx +0 -3
  921. package/src/surfaces/admin/components/Clickable/examples/default.jsx +0 -12
  922. package/src/surfaces/admin/components/Clickable/examples/disabled-link-with-aria.jsx +0 -7
  923. package/src/surfaces/admin/components/Clickable/examples/form-submit-button.jsx +0 -3
  924. package/src/surfaces/admin/components/Clickable/examples/link-mode.jsx +0 -3
  925. package/src/surfaces/admin/components/Clickable/examples/section-with-clickable-action.jsx +0 -9
  926. package/src/surfaces/admin/components/ClickableChip/examples/as-a-link.jsx +0 -8
  927. package/src/surfaces/admin/components/ClickableChip/examples/basic-usage.jsx +0 -17
  928. package/src/surfaces/admin/components/ClickableChip/examples/default.jsx +0 -1
  929. package/src/surfaces/admin/components/ClickableChip/examples/disabled-state.jsx +0 -7
  930. package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.html +0 -17
  931. package/src/surfaces/admin/components/ClickableChip/examples/multiple-chips-with-proper-spacing.jsx +0 -17
  932. package/src/surfaces/admin/components/ClickableChip/examples/with-icon-and-remove-button.jsx +0 -8
  933. package/src/surfaces/admin/components/ColorField/examples/basic-usage-required.jsx +0 -3
  934. package/src/surfaces/admin/components/ColorField/examples/basic-usage-web-component.jsx +0 -3
  935. package/src/surfaces/admin/components/ColorField/examples/default.jsx +0 -1
  936. package/src/surfaces/admin/components/ColorField/examples/form-integration.jsx +0 -28
  937. package/src/surfaces/admin/components/ColorField/examples/read-only-state.jsx +0 -3
  938. package/src/surfaces/admin/components/ColorField/examples/validation-example.jsx +0 -21
  939. package/src/surfaces/admin/components/ColorField/examples/with-alpha-transparency.jsx +0 -7
  940. package/src/surfaces/admin/components/ColorField/examples/with-error-state.jsx +0 -9
  941. package/src/surfaces/admin/components/ColorField/examples/with-help-text.jsx +0 -7
  942. package/src/surfaces/admin/components/ColorField/examples/with-placeholder.html +0 -7
  943. package/src/surfaces/admin/components/ColorField/examples/with-placeholder.jsx +0 -7
  944. package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.html +0 -3
  945. package/src/surfaces/admin/components/ColorPicker/examples/basic-usage.jsx +0 -3
  946. package/src/surfaces/admin/components/ColorPicker/examples/default.jsx +0 -1
  947. package/src/surfaces/admin/components/ColorPicker/examples/with-alpha-transparency.jsx +0 -7
  948. package/src/surfaces/admin/components/DateField/examples/basic-usage.jsx +0 -5
  949. package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.html +0 -29
  950. package/src/surfaces/admin/components/DateField/examples/date-fields-with-validation.jsx +0 -29
  951. package/src/surfaces/admin/components/DateField/examples/date-range-selection.jsx +0 -19
  952. package/src/surfaces/admin/components/DateField/examples/default.jsx +0 -1
  953. package/src/surfaces/admin/components/DateField/examples/disabled-and-read-only-states.jsx +0 -15
  954. package/src/surfaces/admin/components/DateField/examples/form-integration.jsx +0 -27
  955. package/src/surfaces/admin/components/DateField/examples/validation-example.jsx +0 -20
  956. package/src/surfaces/admin/components/DateField/examples/with-date-restrictions.jsx +0 -6
  957. package/src/surfaces/admin/components/DateField/examples/with-default-value.jsx +0 -5
  958. package/src/surfaces/admin/components/DateField/examples/with-error-state.jsx +0 -5
  959. package/src/surfaces/admin/components/DateField/examples/with-specific-allowed-dates.jsx +0 -6
  960. package/src/surfaces/admin/components/DatePicker/examples/analytics-dashboard.jsx +0 -35
  961. package/src/surfaces/admin/components/DatePicker/examples/default.jsx +0 -5
  962. package/src/surfaces/admin/components/DatePicker/examples/form-integration.jsx +0 -28
  963. package/src/surfaces/admin/components/DatePicker/examples/single-date-selection.jsx +0 -6
  964. package/src/surfaces/admin/components/DatePicker/examples/with-date-restrictions.jsx +0 -7
  965. package/src/surfaces/admin/components/Divider/examples/basic-usage.jsx +0 -1
  966. package/src/surfaces/admin/components/Divider/examples/custom-color.jsx +0 -1
  967. package/src/surfaces/admin/components/Divider/examples/custom-direction.jsx +0 -5
  968. package/src/surfaces/admin/components/Divider/examples/default.jsx +0 -1
  969. package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.html +0 -9
  970. package/src/surfaces/admin/components/Divider/examples/organizing-settings-panels.jsx +0 -9
  971. package/src/surfaces/admin/components/Divider/examples/separating-content-sections.html +0 -13
  972. package/src/surfaces/admin/components/Divider/examples/separating-content-sections.jsx +0 -13
  973. package/src/surfaces/admin/components/Divider/examples/separating-form-sections.jsx +0 -7
  974. package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.html +0 -12
  975. package/src/surfaces/admin/components/Divider/examples/visual-breaks-in-section-layouts.jsx +0 -12
  976. package/src/surfaces/admin/components/DropZone/examples/basic-usage.jsx +0 -1
  977. package/src/surfaces/admin/components/DropZone/examples/default.jsx +0 -9
  978. package/src/surfaces/admin/components/DropZone/examples/disabled-state.jsx +0 -1
  979. package/src/surfaces/admin/components/DropZone/examples/file-type-restrictions.jsx +0 -5
  980. package/src/surfaces/admin/components/DropZone/examples/image-upload.jsx +0 -1
  981. package/src/surfaces/admin/components/DropZone/examples/required-field.jsx +0 -1
  982. package/src/surfaces/admin/components/DropZone/examples/with-accessibility-options.jsx +0 -6
  983. package/src/surfaces/admin/components/DropZone/examples/with-error-state.jsx +0 -4
  984. package/src/surfaces/admin/components/EmailField/examples/basic-usage.html +0 -3
  985. package/src/surfaces/admin/components/EmailField/examples/basic-usage.jsx +0 -3
  986. package/src/surfaces/admin/components/EmailField/examples/default.jsx +0 -5
  987. package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.html +0 -7
  988. package/src/surfaces/admin/components/EmailField/examples/optional-field-with-placeholder.jsx +0 -7
  989. package/src/surfaces/admin/components/EmailField/examples/read-only-display.jsx +0 -7
  990. package/src/surfaces/admin/components/EmailField/examples/validation-example.jsx +0 -21
  991. package/src/surfaces/admin/components/EmailField/examples/with-error-and-help-text.jsx +0 -8
  992. package/src/surfaces/admin/components/EmailField/examples/with-length-constraints.jsx +0 -8
  993. package/src/surfaces/admin/components/Form/examples/default.jsx +0 -6
  994. package/src/surfaces/admin/components/FunctionSettings/examples/default.tsx +0 -38
  995. package/src/surfaces/admin/components/Grid/examples/basic-two-column-layout.jsx +0 -12
  996. package/src/surfaces/admin/components/Grid/examples/col-span-layouts.jsx +0 -34
  997. package/src/surfaces/admin/components/Grid/examples/default.jsx +0 -15
  998. package/src/surfaces/admin/components/Grid/examples/mobile-first-responsive-grid.jsx +0 -53
  999. package/src/surfaces/admin/components/Heading/examples/basic-heading.html +0 -1
  1000. package/src/surfaces/admin/components/Heading/examples/basic-heading.jsx +0 -1
  1001. package/src/surfaces/admin/components/Heading/examples/default.jsx +0 -1
  1002. package/src/surfaces/admin/components/Heading/examples/heading-with-custom-accessibility.jsx +0 -3
  1003. package/src/surfaces/admin/components/Heading/examples/heading-with-line-clamping.jsx +0 -5
  1004. package/src/surfaces/admin/components/Heading/examples/heading-within-section-hierarchy.jsx +0 -12
  1005. package/src/surfaces/admin/components/Icon/examples/basic-usage.jsx +0 -7
  1006. package/src/surfaces/admin/components/Icon/examples/default.jsx +0 -6
  1007. package/src/surfaces/admin/components/Icon/examples/in-badge-components.jsx +0 -8
  1008. package/src/surfaces/admin/components/Icon/examples/in-button-components.jsx +0 -8
  1009. package/src/surfaces/admin/components/Icon/examples/small-size.jsx +0 -1
  1010. package/src/surfaces/admin/components/Icon/examples/subdued-color.jsx +0 -1
  1011. package/src/surfaces/admin/components/Icon/examples/with-id-property.jsx +0 -1
  1012. package/src/surfaces/admin/components/Icon/examples/with-interest-relationship.jsx +0 -6
  1013. package/src/surfaces/admin/components/Icon/examples/with-semantic-tone.jsx +0 -6
  1014. package/src/surfaces/admin/components/Image/examples/auto-sized-image.html +0 -5
  1015. package/src/surfaces/admin/components/Image/examples/auto-sized-image.jsx +0 -5
  1016. package/src/surfaces/admin/components/Image/examples/basic-usage.jsx +0 -1
  1017. package/src/surfaces/admin/components/Image/examples/decorative-image.jsx +0 -6
  1018. package/src/surfaces/admin/components/Image/examples/default.jsx +0 -6
  1019. package/src/surfaces/admin/components/Image/examples/responsive-images-with-srcset.jsx +0 -9
  1020. package/src/surfaces/admin/components/Image/examples/responsive-layout-with-aspect-ratio.jsx +0 -7
  1021. package/src/surfaces/admin/components/Image/examples/with-border-styling.jsx +0 -12
  1022. package/src/surfaces/admin/components/Image/examples/within-layout-components.jsx +0 -26
  1023. package/src/surfaces/admin/components/Link/examples/basic-links-in-paragraph.jsx +0 -3
  1024. package/src/surfaces/admin/components/Link/examples/critical-context-links.html +0 -3
  1025. package/src/surfaces/admin/components/Link/examples/critical-context-links.jsx +0 -3
  1026. package/src/surfaces/admin/components/Link/examples/default.jsx +0 -1
  1027. package/src/surfaces/admin/components/Link/examples/download-links.jsx +0 -3
  1028. package/src/surfaces/admin/components/Link/examples/external-links.jsx +0 -5
  1029. package/src/surfaces/admin/components/Link/examples/links-in-banner-context.html +0 -5
  1030. package/src/surfaces/admin/components/Link/examples/links-in-banner-context.jsx +0 -5
  1031. package/src/surfaces/admin/components/Link/examples/links-in-banner.jsx +0 -5
  1032. package/src/surfaces/admin/components/Link/examples/links-in-box-container.jsx +0 -5
  1033. package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.html +0 -3
  1034. package/src/surfaces/admin/components/Link/examples/links-in-subdued-paragraph.jsx +0 -3
  1035. package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.html +0 -3
  1036. package/src/surfaces/admin/components/Link/examples/links-with-auto-tone.jsx +0 -3
  1037. package/src/surfaces/admin/components/Link/examples/links-with-different-tones.jsx +0 -25
  1038. package/src/surfaces/admin/components/Link/examples/links-with-language-attribute.jsx +0 -3
  1039. package/src/surfaces/admin/components/Menu/examples/basic-menu.html +0 -7
  1040. package/src/surfaces/admin/components/Menu/examples/basic-menu.jsx +0 -9
  1041. package/src/surfaces/admin/components/Menu/examples/customer-actions-menu.jsx +0 -18
  1042. package/src/surfaces/admin/components/Menu/examples/default.jsx +0 -11
  1043. package/src/surfaces/admin/components/Menu/examples/menu-with-icons.jsx +0 -14
  1044. package/src/surfaces/admin/components/Menu/examples/menu-with-links-and-disabled-items.jsx +0 -13
  1045. package/src/surfaces/admin/components/Menu/examples/menu-with-sections.jsx +0 -15
  1046. package/src/surfaces/admin/components/Menu/examples/settings-menu.jsx +0 -19
  1047. package/src/surfaces/admin/components/NumberField/examples/basic-usage.jsx +0 -7
  1048. package/src/surfaces/admin/components/NumberField/examples/default.jsx +0 -8
  1049. package/src/surfaces/admin/components/NumberField/examples/multiple-examples.html +0 -29
  1050. package/src/surfaces/admin/components/NumberField/examples/multiple-examples.jsx +0 -29
  1051. package/src/surfaces/admin/components/NumberField/examples/with-prefix-and-suffix.jsx +0 -9
  1052. package/src/surfaces/admin/components/OrderedList/examples/basic-usage.html +0 -5
  1053. package/src/surfaces/admin/components/OrderedList/examples/basic-usage.jsx +0 -5
  1054. package/src/surfaces/admin/components/OrderedList/examples/default.jsx +0 -5
  1055. package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.html +0 -18
  1056. package/src/surfaces/admin/components/OrderedList/examples/fulfillment-process.jsx +0 -18
  1057. package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.html +0 -8
  1058. package/src/surfaces/admin/components/OrderedList/examples/order-processing-steps.jsx +0 -8
  1059. package/src/surfaces/admin/components/OrderedList/examples/product-setup-instructions.jsx +0 -13
  1060. package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.html +0 -21
  1061. package/src/surfaces/admin/components/Paragraph/examples/admin-ui-patterns.jsx +0 -21
  1062. package/src/surfaces/admin/components/Paragraph/examples/basic-usage.html +0 -3
  1063. package/src/surfaces/admin/components/Paragraph/examples/basic-usage.jsx +0 -3
  1064. package/src/surfaces/admin/components/Paragraph/examples/default.jsx +0 -4
  1065. package/src/surfaces/admin/components/Paragraph/examples/line-clamping.jsx +0 -8
  1066. package/src/surfaces/admin/components/Paragraph/examples/rtl-support.jsx +0 -3
  1067. package/src/surfaces/admin/components/Paragraph/examples/screen-reader-text.jsx +0 -3
  1068. package/src/surfaces/admin/components/Paragraph/examples/tabular-numbers.jsx +0 -3
  1069. package/src/surfaces/admin/components/Paragraph/examples/with-tone-and-color.jsx +0 -9
  1070. package/src/surfaces/admin/components/QueryContainer/examples/basic-usage.jsx +0 -17
  1071. package/src/surfaces/admin/components/SearchField/examples/basic-usage.html +0 -5
  1072. package/src/surfaces/admin/components/SearchField/examples/basic-usage.jsx +0 -5
  1073. package/src/surfaces/admin/components/SearchField/examples/default.jsx +0 -5
  1074. package/src/surfaces/admin/components/SearchField/examples/disabled-state.jsx +0 -6
  1075. package/src/surfaces/admin/components/SearchField/examples/with-character-limits.jsx +0 -7
  1076. package/src/surfaces/admin/components/SearchField/examples/with-error-state.jsx +0 -6
  1077. package/src/surfaces/admin/components/Section/examples/default.jsx +0 -3
  1078. package/src/surfaces/admin/components/Section/examples/full-width-content-layout.jsx +0 -18
  1079. package/src/surfaces/admin/components/Section/examples/nested-sections-with-visual-level-differences.jsx +0 -23
  1080. package/src/surfaces/admin/components/Section/examples/section-with-accessibility-label.jsx +0 -13
  1081. package/src/surfaces/admin/components/Section/examples/top-level-section-with-form-elements.jsx +0 -5
  1082. package/src/surfaces/admin/components/Spinner/examples/basic-usage.html +0 -1
  1083. package/src/surfaces/admin/components/Spinner/examples/basic-usage.jsx +0 -1
  1084. package/src/surfaces/admin/components/Spinner/examples/default.jsx +0 -1
  1085. package/src/surfaces/admin/components/Spinner/examples/inline-loading-with-text.jsx +0 -4
  1086. package/src/surfaces/admin/components/Spinner/examples/loading-state-in-section.jsx +0 -4
  1087. package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.html +0 -5
  1088. package/src/surfaces/admin/components/Stack/examples/basic-block-stack-vertical.jsx +0 -5
  1089. package/src/surfaces/admin/components/Stack/examples/custom-alignment.jsx +0 -5
  1090. package/src/surfaces/admin/components/Stack/examples/custom-spacing.jsx +0 -18
  1091. package/src/surfaces/admin/components/Stack/examples/default.jsx +0 -6
  1092. package/src/surfaces/admin/components/Stack/examples/inline-stack-horizontal.jsx +0 -5
  1093. package/src/surfaces/admin/components/Stack/examples/responsive-stack-with-container-queries.jsx +0 -23
  1094. package/src/surfaces/admin/components/Table/examples/default.jsx +0 -30
  1095. package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.html +0 -65
  1096. package/src/surfaces/admin/components/Table/examples/full-width-product-inventory-table.jsx +0 -65
  1097. package/src/surfaces/admin/components/Table/examples/list-variant.jsx +0 -44
  1098. package/src/surfaces/admin/components/Table/examples/with-loading-state.jsx +0 -40
  1099. package/src/surfaces/admin/components/Table/examples/with-pagination.jsx +0 -27
  1100. package/src/surfaces/admin/components/Text/examples/accessibility-hidden-text.jsx +0 -3
  1101. package/src/surfaces/admin/components/Text/examples/basic-usage.html +0 -3
  1102. package/src/surfaces/admin/components/Text/examples/basic-usage.jsx +0 -3
  1103. package/src/surfaces/admin/components/Text/examples/default.jsx +0 -4
  1104. package/src/surfaces/admin/components/Text/examples/interest-for-association.jsx +0 -8
  1105. package/src/surfaces/admin/components/Text/examples/right-to-left-text.jsx +0 -3
  1106. package/src/surfaces/admin/components/Text/examples/semantic-address.jsx +0 -3
  1107. package/src/surfaces/admin/components/Text/examples/status-tones.jsx +0 -5
  1108. package/src/surfaces/admin/components/Text/examples/strong-text.html +0 -3
  1109. package/src/surfaces/admin/components/Text/examples/strong-text.jsx +0 -3
  1110. package/src/surfaces/admin/components/Text/examples/subdued-color.jsx +0 -3
  1111. package/src/surfaces/admin/components/Text/examples/tabular-numbers.jsx +0 -3
  1112. package/src/surfaces/admin/components/TextArea/examples/basic-usage.jsx +0 -5
  1113. package/src/surfaces/admin/components/TextArea/examples/default.jsx +0 -5
  1114. package/src/surfaces/admin/components/TextArea/examples/error-state.jsx +0 -8
  1115. package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.html +0 -7
  1116. package/src/surfaces/admin/components/TextArea/examples/product-care-instructions.jsx +0 -7
  1117. package/src/surfaces/admin/components/TextArea/examples/seo-meta-description-with-character-limit.jsx +0 -8
  1118. package/src/surfaces/admin/components/TextField/examples/basic-usage.html +0 -1
  1119. package/src/surfaces/admin/components/TextField/examples/basic-usage.jsx +0 -1
  1120. package/src/surfaces/admin/components/TextField/examples/default.jsx +0 -5
  1121. package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.html +0 -1
  1122. package/src/surfaces/admin/components/TextField/examples/required-field-with-validation.jsx +0 -1
  1123. package/src/surfaces/admin/components/TextField/examples/specific-error-messages-for-merchant-context.jsx +0 -16
  1124. package/src/surfaces/admin/components/TextField/examples/with-accessory.jsx +0 -6
  1125. package/src/surfaces/admin/components/TextField/examples/with-icon.jsx +0 -5
  1126. package/src/surfaces/admin/components/TextField/examples/with-prefix-and-suffix.jsx +0 -11
  1127. package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.html +0 -5
  1128. package/src/surfaces/admin/components/Thumbnail/examples/basic-usage.jsx +0 -5
  1129. package/src/surfaces/admin/components/Thumbnail/examples/default.jsx +0 -4
  1130. package/src/surfaces/admin/components/Thumbnail/examples/different-sizes.jsx +0 -17
  1131. package/src/surfaces/admin/components/Thumbnail/examples/empty-state.jsx +0 -1
  1132. package/src/surfaces/admin/components/Thumbnail/examples/with-event-handling.jsx +0 -13
  1133. package/src/surfaces/admin/components/Tooltip/examples/basic-usage.jsx +0 -6
  1134. package/src/surfaces/admin/components/Tooltip/examples/default.jsx +0 -6
  1135. package/src/surfaces/admin/components/Tooltip/examples/with-icon-button.jsx +0 -8
  1136. package/src/surfaces/admin/components/UnorderedList/examples/default.jsx +0 -5
  1137. package/src/surfaces/admin/components/UnorderedList/examples/store-setup-checklist.jsx +0 -24
  1138. /package/src/surfaces/admin/components/Button/examples/{basic-usage.html → basic-button.html} +0 -0
  1139. /package/src/surfaces/{admin/components/Divider/examples/basic-usage.html → customer-account/components/Divider/examples/basic-divider.example.html} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/shared.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd;;;;;;;;;;;;;;GAcG;AAEH,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,qCAAqC,GACrC,wCAAwC,GACxC,gBAAgB,CAAC;AAGrB,MAAM,MAAM,YAAY,GACpB,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK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AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;CAC/C"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/shared.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,GACT,SAAS,CAAC;AAEd;;;;;;;;;;;;;;GAcG;AAEH,MAAM,MAAM,UAAU,GAClB,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,qCAAqC,GACrC,wCAAwC,GACxC,gBAAgB,CAAC;AAGrB,MAAM,MAAM,YAAY,GACpB,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAAK,GACL,KAA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BAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,wBAAwB,GACxB,wBAAwB,GACxB,uBAAuB,GACvB,cAAc,CAAC;AAEnB;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,SAAS,GACT,SAAS,CAAC;AAEd,MAAM,WAAW,OAAO;IACtB;;;;OAIG;IACH,OAAO,EAAE,WAAW,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE;QACV,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,GAAG,MAAM,IAAI,CAAC;CAC/C"}
@@ -3,21 +3,24 @@ import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targ
3
3
  import type { Data } from '../shared';
4
4
  import type { ResourcePickerApi } from '../resource-picker/resource-picker';
5
5
  import type { PickerApi } from '../picker/picker';
6
+ /**
7
+ * The `ActionExtensionApi` object provides methods for action extensions that render in modal overlays. Access the following properties on the `ActionExtensionApi` object to interact with the current context, control the modal, and display picker dialogs.
8
+ */
6
9
  export interface ActionExtensionApi<ExtensionTarget extends AnyExtensionTarget> extends StandardApi<ExtensionTarget> {
7
10
  /**
8
- * Closes the extension. Calling this method is equivalent to the merchant clicking the "x" in the corner of the overlay.
11
+ * Closes the extension modal. Use this when your extension completes its task or the merchant wants to exit. Equivalent to clicking the close button in the overlay corner.
9
12
  */
10
13
  close: () => void;
11
14
  /**
12
- * Information about the currently viewed or selected items.
15
+ * An array of currently viewed or selected resource identifiers. Use this to access the IDs of items in the current context, such as selected products in an index page or the product being viewed on a details page. The available IDs depend on the extension target and user interactions.
13
16
  */
14
17
  data: Data;
15
18
  /**
16
- * Renders the [Resource Picker](resource-picker), allowing users to select a resource for the extension to use as part of its flow.
19
+ * Opens the [Resource Picker](/docs/api/admin-extensions/{API_VERSION}/target-apis/utility-apis/resource-picker-api) modal for selecting products, variants, or collections. Use this to let merchants choose resources that your extension needs to work with.
17
20
  */
18
21
  resourcePicker: ResourcePickerApi;
19
22
  /**
20
- * Renders a custom [Picker](picker) dialog allowing users to select values from a list.
23
+ * Opens a custom [Picker](/docs/api/admin-extensions/{API_VERSION}/target-apis/utility-apis/picker-api) dialog for selecting from a list of custom options. Use this when you need merchants to choose from app-specific data that isn't a standard Shopify resource.
21
24
  */
22
25
  picker: PickerApi;
23
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/action/action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAEhD,MAAM,WAAW,kBAAkB,CAAC,eAAe,SAAS,kBAAkB,CAC5E,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,cAAc,EAAE,iBAAiB,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,SAAS,CAAC;CACnB"}
1
+ {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/action/action.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,kBAAkB,CAAC,eAAe,SAAS,kBAAkB,CAC5E,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAC;IAElB;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,cAAc,EAAE,iBAAiB,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,SAAS,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/action/action.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAgBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"action.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/action/action.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAuFX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -3,30 +3,36 @@ import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targ
3
3
  import type { Data } from '../shared';
4
4
  import type { ResourcePickerApi } from '../resource-picker/resource-picker';
5
5
  import type { PickerApi } from '../picker/picker';
6
+ /**
7
+ * The `Navigation` object provides methods for navigating between extensions and admin pages.
8
+ */
6
9
  export interface Navigation {
7
10
  /**
8
- * Navigate to a specific route.
11
+ * Navigates to a specific extension or admin route. Currently supports navigating from a block extension to an action extension on the same resource page.
9
12
  *
13
+ * @param url - The destination URL, typically in the format 'extension://extension-handle' for other extensions
10
14
  * @example navigation.navigate('extension://my-admin-action-extension-handle')
11
15
  */
12
16
  navigate: (url: string | URL) => void;
13
17
  }
18
+ /**
19
+ * The `BlockExtensionApi` object provides methods for block extensions that render inline content on admin pages. Access the following properties on the `BlockExtensionApi` object to interact with the current context, navigate to other extensions, and display picker dialogs.
20
+ */
14
21
  export interface BlockExtensionApi<ExtensionTarget extends AnyExtensionTarget> extends StandardApi<ExtensionTarget> {
15
22
  /**
16
- * Information about the currently viewed or selected items.
23
+ * An array of currently viewed or selected resource identifiers. Use this to access the IDs of items in the current context, such as selected products in an index page or the product being viewed on a details page. The available IDs depend on the extension target and user interactions.
17
24
  */
18
25
  data: Data;
19
26
  /**
20
- * Provides methods to navigate to other features in the Admin. Currently, only navigation from an admin block to an admin action extension *on the same resource page* is supported.
21
- * For example, you can navigate from an admin block on the product details page (`admin.product-details.block.render`) to an admin action on the product details page (`admin.product-details.action.render`).
27
+ * Navigates to other extensions or admin pages. Currently supports navigation from a block to an action extension on the same resource page. For example, navigate from a product details block (`admin.product-details.block.render`) to a product details action (`admin.product-details.action.render`).
22
28
  */
23
29
  navigation: Navigation;
24
30
  /**
25
- * Renders the [Resource Picker](resource-picker), allowing users to select a resource for the extension to use as part of its flow.
31
+ * Opens the [Resource Picker API](/docs/api/admin-extensions/{API_VERSION}/target-apis/utility-apis/resource-picker-api) modal for selecting products, variants, or collections. Use this to let merchants choose resources that your extension needs to work with.
26
32
  */
27
33
  resourcePicker: ResourcePickerApi;
28
34
  /**
29
- * Renders a custom [Picker](picker) dialog allowing users to select values from a list.
35
+ * Opens a custom [Picker API](/docs/api/admin-extensions/{API_VERSION}/target-apis/utility-apis/picker-api) dialog for selecting from a list of custom options. Use this when you need merchants to choose from app-specific data that isn't a standard Shopify resource.
30
36
  */
31
37
  picker: PickerApi;
32
38
  }
@@ -1 +1 @@
1
- {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/block/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAEhD,MAAM,WAAW,UAAU;IACzB;;;;OAIG;IACH,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,KAAK,IAAI,CAAC;CACvC;AAED,MAAM,WAAW,iBAAiB,CAAC,eAAe,SAAS,kBAAkB,CAC3E,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;;OAGG;IACH,UAAU,EAAE,UAAU,CAAC;IAEvB;;OAEG;IACH,cAAc,EAAE,iBAAiB,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,SAAS,CAAC;CACnB"}
1
+ {"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/block/block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AACnF,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,oCAAoC,CAAC;AAC1E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;OAKG;IACH,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,KAAK,IAAI,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB,CAAC,eAAe,SAAS,kBAAkB,CAC3E,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IAEvB;;OAEG;IACH,cAAc,EAAE,iBAAiB,CAAC;IAElC;;OAEG;IACH,MAAM,EAAE,SAAS,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"block.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/block/block.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAgBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"block.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/block/block.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAqFX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,32 +1,43 @@
1
+ /**
2
+ * A [metafield](/docs/apps/build/metafields) that stores validation function configuration data. Use metafields to persist settings that control how your validation function behaves, such as minimum quantities, restricted shipping zones, or custom validation rules.
3
+ */
1
4
  interface Metafield {
5
+ /** A human-readable description explaining the metafield's purpose and how it affects validation behavior. Use this to document your settings for other developers. */
2
6
  description?: string;
7
+ /** The unique global identifier (GID) for this metafield. Use this ID to reference the metafield in GraphQL queries or updates. */
3
8
  id: string;
9
+ /** The namespace that organizes related metafields together. All metafields for a validation should use a consistent namespace to group related settings. */
4
10
  namespace: string;
11
+ /** The unique key identifying this metafield within its namespace. This key determines how you access the metafield value (for example, `'min_quantity'` or `'blocked_countries'`). */
5
12
  key: string;
13
+ /** The metafield value stored as a string. Parse this value according to the metafield type to use it in your settings UI. */
6
14
  value: string;
15
+ /** The metafield [definition type](/docs/apps/build/metafields/list-of-data-types) that specifies the value format and validation rules. Use this to determine how to parse and display the value. */
7
16
  type: string;
8
17
  }
18
+ /**
19
+ * A validation configuration that exists and is active in the shop. Use this object to access the validation's current settings and metafields when merchants edit an existing validation.
20
+ */
9
21
  interface Validation {
10
- /**
11
- * the validation's gid when active in a shop
12
- */
22
+ /** The validation's unique global identifier (GID). Use this ID to reference the validation in GraphQL operations or when saving updated settings. */
13
23
  id: string;
14
- /**
15
- * the metafields owned by the validation
16
- */
24
+ /** An array of [metafields](/docs/apps/build/metafields) that store the validation's configuration values. Use these metafields to populate your settings UI with the current validation configuration. */
17
25
  metafields: Metafield[];
18
26
  }
27
+ /**
28
+ * A [Shopify Function](/docs/apps/build/functions) that implements cart and checkout validation logic. This identifies which function the settings interface is configuring.
29
+ */
19
30
  interface ShopifyFunction {
20
- /**
21
- * the validation function's unique identifier
22
- */
31
+ /** The [Shopify Function's](/docs/apps/build/functions) unique global identifier (GID). Use this ID to associate settings changes with the correct function. */
23
32
  id: string;
24
33
  }
25
34
  /**
26
- * The object that exposes the validation with its settings.
35
+ * The `data` object exposed to validation settings extensions in the `admin.settings.validation.render` target. Use this to access the current validation configuration and populate your settings interface with existing values.
27
36
  */
28
37
  export interface ValidationData {
38
+ /** The validation configuration containing the validation ID and metafields. Present when editing an existing validation, absent when creating a new validation. Use the presence of this value to determine if you're in create or edit mode. */
29
39
  validation?: Validation;
40
+ /** The [Shopify Function](/docs/apps/build/functions) that implements the validation logic. Use this ID to associate configuration changes with the correct function. */
30
41
  shopifyFunction: ShopifyFunction;
31
42
  }
32
43
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"launch-options.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/launch-options.ts"],"names":[],"mappings":"AAAA,UAAU,SAAS;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AACD,UAAU,UAAU;IAClB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB;AAED,UAAU,eAAe;IACvB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,eAAe,EAAE,eAAe,CAAC;CAClC"}
1
+ {"version":3,"file":"launch-options.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/launch-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,UAAU,SAAS;IACjB,uKAAuK;IACvK,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mIAAmI;IACnI,EAAE,EAAE,MAAM,CAAC;IACX,6JAA6J;IAC7J,SAAS,EAAE,MAAM,CAAC;IAClB,uLAAuL;IACvL,GAAG,EAAE,MAAM,CAAC;IACZ,8HAA8H;IAC9H,KAAK,EAAE,MAAM,CAAC;IACd,sMAAsM;IACtM,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,UAAU,UAAU;IAClB,sJAAsJ;IACtJ,EAAE,EAAE,MAAM,CAAC;IACX,2MAA2M;IAC3M,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,UAAU,eAAe;IACvB,gKAAgK;IAChK,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,kPAAkP;IAClP,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,yKAAyK;IACzK,eAAe,EAAE,eAAe,CAAC;CAClC"}
@@ -1,25 +1,57 @@
1
1
  import { SupportedDefinitionType } from '../shared';
2
+ /**
3
+ * A metafield update or creation operation. Use this to set or modify metafield values that store validation function configuration data.
4
+ */
2
5
  interface MetafieldUpdateChange {
6
+ /** Identifies this as an update operation. Always set to `'updateMetafield'` for updates. */
3
7
  type: 'updateMetafield';
8
+ /** The unique key identifying the metafield within its namespace. Use descriptive keys that indicate the setting's purpose (for example, `'min_quantity'` or `'shipping_restriction'`). */
4
9
  key: string;
10
+ /** The namespace that organizes related metafields. When omitted, a default namespace is assigned. Use consistent namespaces to group related settings. */
5
11
  namespace?: string;
12
+ /** The metafield value to store. Can be a string or number depending on your configuration needs. */
6
13
  value: string | number;
14
+ /** The [data type](/docs/apps/build/metafields/list-of-data-types) that defines how the value is formatted and validated. When omitted, preserves the existing type for updates or uses a default for new metafields. Choose a type that matches your value format. */
7
15
  valueType?: SupportedDefinitionType;
8
16
  }
17
+ /**
18
+ * A metafield removal operation. Use this to delete metafields that are no longer needed for your validation configuration.
19
+ */
9
20
  interface MetafieldRemoveChange {
21
+ /** Identifies this as a removal operation. Always set to `'removeMetafield'` for deletions. */
10
22
  type: 'removeMetafield';
23
+ /** The unique key of the metafield to remove. Must match the key used when the metafield was created. */
11
24
  key: string;
25
+ /** The namespace containing the metafield to remove. Required to ensure the correct metafield is targeted, as the same key can exist in different namespaces. */
12
26
  namespace: string;
13
27
  }
28
+ /**
29
+ * A metafield change operation that can either update or remove a metafield. Pass this to `applyMetafieldChange` to modify validation settings stored in metafields.
30
+ */
14
31
  type MetafieldChange = MetafieldUpdateChange | MetafieldRemoveChange;
32
+ /**
33
+ * A failed metafield change operation result. Use the error message to understand what went wrong and fix the issue, such as validation errors, permission problems, or invalid metafield types.
34
+ */
15
35
  interface MetafieldChangeResultError {
36
+ /** Indicates the operation failed. Check this value to determine if you need to handle an error. */
16
37
  type: 'error';
38
+ /** A human-readable error message explaining why the operation failed. Use this to debug issues or display feedback to merchants. */
17
39
  message: string;
18
40
  }
41
+ /**
42
+ * A successful metafield change operation result. The metafield was updated or removed as requested and the changes are now saved.
43
+ */
19
44
  interface MetafieldChangeSuccess {
45
+ /** Indicates the operation succeeded. When this value is `'success'`, the metafield change was applied successfully. */
20
46
  type: 'success';
21
47
  }
48
+ /**
49
+ * The result returned after attempting to change a metafield. Check the `type` property to determine if the operation succeeded (`'success'`) or failed (`'error'`), then handle the result appropriately in your extension.
50
+ */
22
51
  type MetafieldChangeResult = MetafieldChangeSuccess | MetafieldChangeResultError;
52
+ /**
53
+ * A function that applies metafield changes to validation settings. Call this function with an update or removal operation, then await the Promise to receive a result indicating success or failure. Use the result to provide feedback or handle errors in your settings interface.
54
+ */
23
55
  export type ApplyMetafieldChange = (change: MetafieldChange) => Promise<MetafieldChangeResult>;
24
56
  export {};
25
57
  //# sourceMappingURL=metafields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metafields.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/metafields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAElD,UAAU,qBAAqB;IAC7B,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACrC;AAED,UAAU,qBAAqB;IAC7B,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,eAAe,GAAG,qBAAqB,GAAG,qBAAqB,CAAC;AACrE,UAAU,0BAA0B;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,UAAU,sBAAsB;IAC9B,IAAI,EAAE,SAAS,CAAC;CACjB;AACD,KAAK,qBAAqB,GACtB,sBAAsB,GACtB,0BAA0B,CAAC;AAE/B,MAAM,MAAM,oBAAoB,GAAG,CACjC,MAAM,EAAE,eAAe,KACpB,OAAO,CAAC,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"metafields.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/metafields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAElD;;GAEG;AACH,UAAU,qBAAqB;IAC7B,6FAA6F;IAC7F,IAAI,EAAE,iBAAiB,CAAC;IACxB,2LAA2L;IAC3L,GAAG,EAAE,MAAM,CAAC;IACZ,2JAA2J;IAC3J,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qGAAqG;IACrG,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,uQAAuQ;IACvQ,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACrC;AAED;;GAEG;AACH,UAAU,qBAAqB;IAC7B,+FAA+F;IAC/F,IAAI,EAAE,iBAAiB,CAAC;IACxB,yGAAyG;IACzG,GAAG,EAAE,MAAM,CAAC;IACZ,iKAAiK;IACjK,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,KAAK,eAAe,GAAG,qBAAqB,GAAG,qBAAqB,CAAC;AAErE;;GAEG;AACH,UAAU,0BAA0B;IAClC,oGAAoG;IACpG,IAAI,EAAE,OAAO,CAAC;IACd,qIAAqI;IACrI,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,sBAAsB;IAC9B,wHAAwH;IACxH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;GAEG;AACH,KAAK,qBAAqB,GACtB,sBAAsB,GACtB,0BAA0B,CAAC;AAE/B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,CACjC,MAAM,EAAE,eAAe,KACpB,OAAO,CAAC,qBAAqB,CAAC,CAAC"}
@@ -2,11 +2,15 @@ import type { StandardApi } from '../standard/standard';
2
2
  import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets';
3
3
  import { ApplyMetafieldChange } from './metafields';
4
4
  import { ValidationData } from './launch-options';
5
+ /**
6
+ * The `ValidationSettingsApi` object provides methods for configuring cart and checkout validation functions. Access the following properties on the `ValidationSettingsApi` object to manage validation settings and metafields.
7
+ */
5
8
  export interface ValidationSettingsApi<ExtensionTarget extends AnyExtensionTarget> extends StandardApi<ExtensionTarget> {
6
9
  /**
7
- * Applies a change to the validation settings.
10
+ * Updates or removes [metafields](/docs/apps/build/metafields) that store validation function configuration. Use this to save merchant settings for your validation function.
8
11
  */
9
12
  applyMetafieldChange: ApplyMetafieldChange;
13
+ /** The validation being configured and its associated [metafields](/docs/apps/build/metafields) storing function settings. */
10
14
  data: ValidationData;
11
15
  }
12
16
  //# sourceMappingURL=validation-settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validation-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/validation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;AAClD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD,MAAM,WAAW,qBAAqB,CACpC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,IAAI,EAAE,cAAc,CAAC;CACtB"}
1
+ {"version":3,"file":"validation-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/validation-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;AAClD,OAAO,EAAC,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,qBAAqB,CACpC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,8HAA8H;IAC9H,IAAI,EAAE,cAAc,CAAC;CACtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"validation-settings.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAqBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"validation-settings.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA2FX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,38 +1,50 @@
1
1
  import type { StandardApi } from '../standard/standard';
2
2
  import type { I18n } from '../../../../api';
3
3
  import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets';
4
+ /**
5
+ * The `CustomerSegmentTemplateApi` object provides methods for creating customer segment templates. Access the following properties on the `CustomerSegmentTemplateApi` object to build templates with translated content.
6
+ */
4
7
  export interface CustomerSegmentTemplateApi<ExtensionTarget extends AnyExtensionTarget> extends StandardApi<ExtensionTarget> {
8
+ /** Utilities for translating template content into the merchant's language. */
5
9
  i18n: I18n;
6
10
  /** @private */
7
11
  __enabledFeatures: string[];
8
12
  }
13
+ /**
14
+ * Standard customer metafields that can be referenced as template dependencies.
15
+ */
9
16
  export type CustomerStandardMetafieldDependency = 'facts.birth_date';
17
+ /**
18
+ * Defines a customer segment template that merchants can use to create targeted customer groups.
19
+ */
10
20
  export interface CustomerSegmentTemplate {
11
21
  /**
12
- * The localized title of the template.
22
+ * The template title in the merchant's language.
13
23
  */
14
24
  title: string;
15
25
  /**
16
- * The localized description of the template. An array can be used for multiple paragraphs.
26
+ * The template description in the merchant's language. Use an array for multiple paragraphs.
17
27
  */
18
28
  description: string | string[];
19
29
  /**
20
- * The code snippet to render in the template with syntax highlighting. The `query` is not validated in the template.
30
+ * The segment query code to display in the template with syntax highlighting. This code is shown to merchants but not validated. Test your queries in the Shopify admin segment editor before including them in templates.
21
31
  */
22
32
  query: string;
23
33
  /**
24
- * The code snippet to insert in the segment editor. If missing, `query` will be used. The `queryToInsert` is not validated in the template.
34
+ * The segment query code to insert when the merchant selects this template. If omitted, the `query` value is used instead. This code is inserted into the editor but not validated. Test your queries in the Shopify admin segment editor before including them in templates.
25
35
  */
26
36
  queryToInsert: string;
27
37
  /**
28
- * The list of customer standard metafields or custom metafields used in the template's query.
38
+ * Customer metafields required by this template's query. Declare dependencies so the admin can guide merchants to set up required metafields before using the template.
29
39
  */
30
40
  dependencies?: {
41
+ /** Standard Shopify customer metafields used in the query. */
31
42
  standardMetafields?: CustomerStandardMetafieldDependency[];
43
+ /** Custom [metafield](/docs/apps/build/metafields) definitions used in the query. */
32
44
  customMetafields?: string[];
33
45
  };
34
46
  /**
35
- * ISO 8601-encoded date and time string. A "New" badge will be rendered for templates introduced in the last month.
47
+ * The creation date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. Templates created within the last month display a "New" badge.
36
48
  */
37
49
  createdOn: string;
38
50
  }
@@ -1 +1 @@
1
- {"version":3,"file":"customer-segment-template.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,MAAM,WAAW,0BAA0B,CACzC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IAEpC,IAAI,EAAE,IAAI,CAAC;IACX,eAAe;IACf,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED,MAAM,MAAM,mCAAmC,GAAG,kBAAkB,CAAC;AACrE,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,kBAAkB,CAAC,EAAE,mCAAmC,EAAE,CAAC;QAC3D,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;KAC7B,CAAC;IACF;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"customer-segment-template.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF;;GAEG;AACH,MAAM,WAAW,0BAA0B,CACzC,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC,+EAA+E;IAC/E,IAAI,EAAE,IAAI,CAAC;IACX,eAAe;IACf,iBAAiB,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,MAAM,mCAAmC,GAAG,kBAAkB,CAAC;AAErE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE;QACb,8DAA8D;QAC9D,kBAAkB,CAAC,EAAE,mCAAmC,EAAE,CAAC;QAC3D,qFAAqF;QACrF,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;KAC7B,CAAC;IACF;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -1 +1 @@
1
- {"version":3,"file":"customer-segment-template.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAgBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"customer-segment-template.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAqFX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -2,11 +2,15 @@ import type { BlockExtensionApi } from '../block/block';
2
2
  import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets';
3
3
  import { ApplyMetafieldChange } from './metafields';
4
4
  import { DiscountFunctionSettingsData } from './launch-options';
5
+ /**
6
+ * The `DiscountFunctionSettingsApi` object provides methods for configuring discount functions. Access the following properties on the `DiscountFunctionSettingsApi` object to manage function settings and metafields.
7
+ */
5
8
  export interface DiscountFunctionSettingsApi<ExtensionTarget extends AnyExtensionTarget> extends Omit<BlockExtensionApi<ExtensionTarget>, 'data'> {
6
9
  /**
7
- * Applies a change to the discount function settings.
10
+ * Updates or removes [metafields](/docs/apps/build/metafields) that store discount function configuration. Use this to save merchant settings for your discount function.
8
11
  */
9
12
  applyMetafieldChange: ApplyMetafieldChange;
13
+ /** The discount being configured and its associated [metafields](/docs/apps/build/metafields) storing function settings. */
10
14
  data: DiscountFunctionSettingsData;
11
15
  }
12
16
  //# sourceMappingURL=discount-function-settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"discount-function-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;AAClD,OAAO,EAAC,4BAA4B,EAAC,MAAM,kBAAkB,CAAC;AAE9D,MAAM,WAAW,2BAA2B,CAC1C,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACxD;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,IAAI,EAAE,4BAA4B,CAAC;CACpC"}
1
+ {"version":3,"file":"discount-function-settings.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACtD,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,OAAO,EAAC,oBAAoB,EAAC,MAAM,cAAc,CAAC;AAClD,OAAO,EAAC,4BAA4B,EAAC,MAAM,kBAAkB,CAAC;AAE9D;;GAEG;AACH,MAAM,WAAW,2BAA2B,CAC1C,eAAe,SAAS,kBAAkB,CAC1C,SAAQ,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC;IACxD;;OAEG;IACH,oBAAoB,EAAE,oBAAoB,CAAC;IAC3C,4HAA4H;IAC5H,IAAI,EAAE,4BAA4B,CAAC;CACpC"}
@@ -1 +1 @@
1
- {"version":3,"file":"discount-function-settings.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAsBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"discount-function-settings.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/discount-function-settings.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BA0FX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,27 +1,45 @@
1
+ /**
2
+ * A [metafield](/docs/apps/build/metafields) that stores discount function configuration data. Use metafields to persist settings that control how your discount function behaves, such as discount thresholds, eligibility rules, or custom discount logic parameters.
3
+ */
1
4
  interface Metafield {
5
+ /** A human-readable description explaining the metafield's purpose and how it affects discount behavior. Use this to document your settings for other developers. */
2
6
  description?: string;
7
+ /** The unique global identifier (GID) for this metafield. Use this ID to reference the metafield in GraphQL queries or updates. */
3
8
  id: string;
9
+ /** The namespace that organizes related metafields together. All metafields for a discount should use a consistent namespace to group related settings. */
4
10
  namespace: string;
11
+ /** The unique key identifying this metafield within its namespace. This key determines how you access the metafield value (for example, `'min_purchase_amount'` or `'eligible_customer_tags'`). */
5
12
  key: string;
13
+ /** The metafield value stored as a string. Parse this value according to the metafield type to use it in your settings UI. */
6
14
  value: string;
15
+ /** The metafield [definition type](/docs/apps/build/metafields/list-of-data-types) that specifies the value format and validation rules. Use this to determine how to parse and display the value. */
7
16
  type: string;
8
17
  }
18
+ /**
19
+ * The discount class that determines where the discount applies in the purchase flow. Use this to understand what type of discount the merchant is configuring (product-level, order-level, or shipping).
20
+ */
9
21
  export declare enum DiscountClass {
22
+ /** The discount applies to specific products or product variants. Use this for discounts that reduce the price of individual line items (for example, "20% off selected products"). */
10
23
  Product = "PRODUCT",
24
+ /** The discount applies to the entire order total. Use this for cart-wide discounts that reduce the subtotal (for example, "$10 off orders over $50"). */
11
25
  Order = "ORDER",
26
+ /** The discount applies to shipping costs. Use this for free shipping or reduced shipping rate discounts (for example, "Free shipping on orders over $100"). */
12
27
  Shipping = "SHIPPING"
13
28
  }
29
+ /**
30
+ * A discount that is being configured by the merchant. Use this to access the discount's unique identifier when saving configuration changes or making GraphQL queries.
31
+ */
14
32
  interface Discount {
15
- /**
16
- * the discount's gid
17
- */
33
+ /** The discount's unique global identifier (GID) in the [GraphQL Admin API](/docs/api/admin-graphql) format (for example, `gid://shopify/DiscountAutomaticApp/123`). Use this ID to associate settings with the correct discount or query discount data. */
18
34
  id: string;
19
35
  }
20
36
  /**
21
- * The object that exposes the validation with its settings.
37
+ * The `data` object exposed to discount function settings extensions in the `admin.discount-details.function-settings.render` target. Use this to access the current discount configuration and populate your settings interface with existing values.
22
38
  */
23
39
  export interface DiscountFunctionSettingsData {
40
+ /** The discount being configured by the merchant. Use this ID to associate configuration changes with the correct discount. */
24
41
  id: Discount;
42
+ /** An array of [metafields](/docs/apps/build/metafields) that store the discount function's configuration values. Use these metafields to populate your settings UI with the current discount configuration and display existing settings to merchants. */
25
43
  metafields: Metafield[];
26
44
  }
27
45
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"launch-options.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/launch-options.ts"],"names":[],"mappings":"AAAA,UAAU,SAAS;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,aAAa;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,QAAQ,aAAa;CACtB;AAED,UAAU,QAAQ;IAChB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,EAAE,EAAE,QAAQ,CAAC;IACb,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB"}
1
+ {"version":3,"file":"launch-options.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/launch-options.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,UAAU,SAAS;IACjB,qKAAqK;IACrK,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mIAAmI;IACnI,EAAE,EAAE,MAAM,CAAC;IACX,2JAA2J;IAC3J,SAAS,EAAE,MAAM,CAAC;IAClB,mMAAmM;IACnM,GAAG,EAAE,MAAM,CAAC;IACZ,8HAA8H;IAC9H,KAAK,EAAE,MAAM,CAAC;IACd,sMAAsM;IACtM,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,oBAAY,aAAa;IACvB,uLAAuL;IACvL,OAAO,YAAY;IACnB,0JAA0J;IAC1J,KAAK,UAAU;IACf,gKAAgK;IAChK,QAAQ,aAAa;CACtB;AAED;;GAEG;AACH,UAAU,QAAQ;IAChB,4PAA4P;IAC5P,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C,+HAA+H;IAC/H,EAAE,EAAE,QAAQ,CAAC;IACb,2PAA2P;IAC3P,UAAU,EAAE,SAAS,EAAE,CAAC;CACzB"}
@@ -1,25 +1,57 @@
1
1
  import { SupportedDefinitionType } from '../shared';
2
+ /**
3
+ * A metafield update or creation operation. Use this to set or modify metafield values that store discount function configuration data.
4
+ */
2
5
  interface MetafieldUpdateChange {
6
+ /** Identifies this as an update operation. Always set to `'updateMetafield'` for updates. */
3
7
  type: 'updateMetafield';
8
+ /** The unique key identifying the metafield within its namespace. Use descriptive keys that indicate the setting's purpose (for example, `'min_purchase_amount'` or `'eligible_customer_tags'`). */
4
9
  key: string;
10
+ /** The namespace that organizes related metafields. When omitted, a default namespace is assigned. Use consistent namespaces to group related settings. */
5
11
  namespace?: string;
12
+ /** The metafield value to store. Can be a string or number depending on your configuration needs. */
6
13
  value: string | number;
14
+ /** The [data type](/docs/apps/build/metafields/list-of-data-types) that defines how the value is formatted and validated. When omitted, preserves the existing type for updates or uses a default for new metafields. Choose a type that matches your value format. */
7
15
  valueType?: SupportedDefinitionType;
8
16
  }
17
+ /**
18
+ * A metafield removal operation. Use this to delete metafields that are no longer needed for your discount configuration.
19
+ */
9
20
  interface MetafieldRemoveChange {
21
+ /** Identifies this as a removal operation. Always set to `'removeMetafield'` for deletions. */
10
22
  type: 'removeMetafield';
23
+ /** The unique key of the metafield to remove. Must match the key used when the metafield was created. */
11
24
  key: string;
25
+ /** The namespace containing the metafield to remove. Required to ensure the correct metafield is targeted, as the same key can exist in different namespaces. */
12
26
  namespace: string;
13
27
  }
28
+ /**
29
+ * A metafield change operation that can either update or remove a metafield. Pass this to `applyMetafieldChange` to modify discount settings stored in metafields.
30
+ */
14
31
  type MetafieldChange = MetafieldUpdateChange | MetafieldRemoveChange;
32
+ /**
33
+ * A failed metafield change operation result. Use the error message to understand what went wrong and fix the issue, such as validation errors, permission problems, or invalid metafield types.
34
+ */
15
35
  interface MetafieldChangeResultError {
36
+ /** Indicates the operation failed. Check this value to determine if you need to handle an error. */
16
37
  type: 'error';
38
+ /** A human-readable error message explaining why the operation failed. Use this to debug issues or display feedback to merchants. */
17
39
  message: string;
18
40
  }
41
+ /**
42
+ * A successful metafield change operation result. The metafield was updated or removed as requested and the changes are now saved.
43
+ */
19
44
  interface MetafieldChangeSuccess {
45
+ /** Indicates the operation succeeded. When this value is `'success'`, the metafield change was applied successfully. */
20
46
  type: 'success';
21
47
  }
48
+ /**
49
+ * The result returned after attempting to change a metafield. Check the `type` property to determine if the operation succeeded (`'success'`) or failed (`'error'`), then handle the result appropriately in your extension.
50
+ */
22
51
  type MetafieldChangeResult = MetafieldChangeSuccess | MetafieldChangeResultError;
52
+ /**
53
+ * A function that applies metafield changes to discount function settings. Call this function with an update or removal operation, then await the Promise to receive a result indicating success or failure. Use the result to provide feedback or handle errors in your settings interface.
54
+ */
23
55
  export type ApplyMetafieldChange = (change: MetafieldChange) => Promise<MetafieldChangeResult>;
24
56
  export {};
25
57
  //# sourceMappingURL=metafields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"metafields.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/metafields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAElD,UAAU,qBAAqB;IAC7B,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACrC;AAED,UAAU,qBAAqB;IAC7B,IAAI,EAAE,iBAAiB,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,KAAK,eAAe,GAAG,qBAAqB,GAAG,qBAAqB,CAAC;AACrE,UAAU,0BAA0B;IAClC,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AACD,UAAU,sBAAsB;IAC9B,IAAI,EAAE,SAAS,CAAC;CACjB;AACD,KAAK,qBAAqB,GACtB,sBAAsB,GACtB,0BAA0B,CAAC;AAE/B,MAAM,MAAM,oBAAoB,GAAG,CACjC,MAAM,EAAE,eAAe,KACpB,OAAO,CAAC,qBAAqB,CAAC,CAAC"}
1
+ {"version":3,"file":"metafields.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/discount-function-settings/metafields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,uBAAuB,EAAC,MAAM,WAAW,CAAC;AAElD;;GAEG;AACH,UAAU,qBAAqB;IAC7B,6FAA6F;IAC7F,IAAI,EAAE,iBAAiB,CAAC;IACxB,oMAAoM;IACpM,GAAG,EAAE,MAAM,CAAC;IACZ,2JAA2J;IAC3J,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qGAAqG;IACrG,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,uQAAuQ;IACvQ,SAAS,CAAC,EAAE,uBAAuB,CAAC;CACrC;AAED;;GAEG;AACH,UAAU,qBAAqB;IAC7B,+FAA+F;IAC/F,IAAI,EAAE,iBAAiB,CAAC;IACxB,yGAAyG;IACzG,GAAG,EAAE,MAAM,CAAC;IACZ,iKAAiK;IACjK,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,KAAK,eAAe,GAAG,qBAAqB,GAAG,qBAAqB,CAAC;AAErE;;GAEG;AACH,UAAU,0BAA0B;IAClC,oGAAoG;IACpG,IAAI,EAAE,OAAO,CAAC;IACd,qIAAqI;IACrI,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,UAAU,sBAAsB;IAC9B,wHAAwH;IACxH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED;;GAEG;AACH,KAAK,qBAAqB,GACtB,sBAAsB,GACtB,0BAA0B,CAAC;AAE/B;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,CACjC,MAAM,EAAE,eAAe,KACpB,OAAO,CAAC,qBAAqB,CAAC,CAAC"}