@shopify/ui-extensions 2024.1.0 → 2024.4.0

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 (536) hide show
  1. package/build/cjs/surfaces/admin/components/FunctionSettings/FunctionSettings.js +9 -0
  2. package/build/cjs/surfaces/admin/components/Section/Section.js +9 -0
  3. package/build/cjs/surfaces/admin.js +6 -2
  4. package/build/cjs/surfaces/checkout/components/Badge/Badge.js +12 -0
  5. package/build/cjs/surfaces/checkout/components/Disclosure/Disclosure.js +1 -2
  6. package/build/cjs/surfaces/checkout/components/Modal/Modal.js +1 -2
  7. package/build/cjs/surfaces/checkout/components/Popover/Popover.js +1 -2
  8. package/build/cjs/surfaces/checkout/components/Tooltip/Tooltip.js +2 -2
  9. package/build/cjs/surfaces/checkout/style/style.js +4 -0
  10. package/build/cjs/surfaces/checkout.js +6 -4
  11. package/build/cjs/surfaces/customer-account.js +10 -4
  12. package/build/cjs/surfaces/point-of-sale/components/Actiontem/ActionItem.js +9 -0
  13. package/build/cjs/surfaces/point-of-sale/components/SectionHeader/SectionHeader.js +9 -0
  14. package/build/cjs/surfaces/point-of-sale.js +4 -0
  15. package/build/esm/surfaces/admin/components/FunctionSettings/FunctionSettings.mjs +5 -0
  16. package/build/esm/surfaces/admin/components/Section/Section.mjs +5 -0
  17. package/build/esm/surfaces/admin.mjs +3 -1
  18. package/build/esm/surfaces/checkout/components/Badge/Badge.mjs +8 -0
  19. package/build/esm/surfaces/checkout/components/Disclosure/Disclosure.mjs +1 -2
  20. package/build/esm/surfaces/checkout/components/Modal/Modal.mjs +1 -2
  21. package/build/esm/surfaces/checkout/components/Popover/Popover.mjs +1 -2
  22. package/build/esm/surfaces/checkout/components/Tooltip/Tooltip.mjs +2 -2
  23. package/build/esm/surfaces/checkout/style/style.mjs +4 -0
  24. package/build/esm/surfaces/checkout.mjs +2 -1
  25. package/build/esm/surfaces/customer-account.mjs +4 -1
  26. package/build/esm/surfaces/point-of-sale/components/Actiontem/ActionItem.mjs +5 -0
  27. package/build/esm/surfaces/point-of-sale/components/SectionHeader/SectionHeader.mjs +5 -0
  28. package/build/esm/surfaces/point-of-sale.mjs +2 -0
  29. package/build/esnext/surfaces/admin/components/FunctionSettings/FunctionSettings.esnext +5 -0
  30. package/build/esnext/surfaces/admin/components/Section/Section.esnext +5 -0
  31. package/build/esnext/surfaces/admin.esnext +3 -1
  32. package/build/esnext/surfaces/checkout/components/Badge/Badge.esnext +8 -0
  33. package/build/esnext/surfaces/checkout/components/Disclosure/Disclosure.esnext +1 -2
  34. package/build/esnext/surfaces/checkout/components/Modal/Modal.esnext +1 -2
  35. package/build/esnext/surfaces/checkout/components/Popover/Popover.esnext +1 -2
  36. package/build/esnext/surfaces/checkout/components/Tooltip/Tooltip.esnext +2 -2
  37. package/build/esnext/surfaces/checkout/style/style.esnext +4 -0
  38. package/build/esnext/surfaces/checkout.esnext +2 -1
  39. package/build/esnext/surfaces/customer-account.esnext +4 -1
  40. package/build/esnext/surfaces/point-of-sale/components/Actiontem/ActionItem.esnext +5 -0
  41. package/build/esnext/surfaces/point-of-sale/components/SectionHeader/SectionHeader.esnext +5 -0
  42. package/build/esnext/surfaces/point-of-sale.esnext +2 -0
  43. package/build/ts/api.d.ts +1 -3
  44. package/build/ts/api.d.ts.map +1 -1
  45. package/build/ts/extension.d.ts +3 -0
  46. package/build/ts/extension.d.ts.map +1 -1
  47. package/build/ts/shared.d.ts +18 -1
  48. package/build/ts/shared.d.ts.map +1 -1
  49. package/build/ts/surfaces/admin/api/block/block.d.ts +13 -0
  50. package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
  51. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +33 -0
  52. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -0
  53. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +26 -0
  54. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -0
  55. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +12 -0
  56. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -0
  57. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts +4 -0
  58. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts.map +1 -0
  59. package/build/ts/surfaces/admin/api/standard/standard.d.ts +0 -10
  60. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  61. package/build/ts/surfaces/admin/api.d.ts +3 -1
  62. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  63. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts +47 -0
  64. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts.map +1 -0
  65. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts +4 -0
  66. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts.map +1 -0
  67. package/build/ts/surfaces/admin/components/Heading/Heading.d.ts +6 -1
  68. package/build/ts/surfaces/admin/components/Heading/Heading.d.ts.map +1 -1
  69. package/build/ts/surfaces/admin/components/Section/Section.d.ts +33 -0
  70. package/build/ts/surfaces/admin/components/Section/Section.d.ts.map +1 -0
  71. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts +4 -0
  72. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -0
  73. package/build/ts/surfaces/admin/components.d.ts +5 -1
  74. package/build/ts/surfaces/admin/components.d.ts.map +1 -1
  75. package/build/ts/surfaces/admin/extension-targets.d.ts +81 -14
  76. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  77. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts +76 -0
  78. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts.map +1 -0
  79. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
  80. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  81. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +3 -3
  82. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  83. package/build/ts/surfaces/checkout/api/docs.d.ts +6 -1
  84. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  85. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +21 -0
  86. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -0
  87. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts +6 -1
  88. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts.map +1 -1
  89. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
  90. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  91. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +13 -0
  92. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -0
  93. package/build/ts/surfaces/checkout/api/shared.d.ts +1 -18
  94. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  95. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
  96. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  97. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +2 -2
  98. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  99. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +166 -17
  100. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  101. package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts +43 -0
  102. package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts.map +1 -0
  103. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
  104. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
  105. package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts +1 -1
  106. package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
  107. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts +1 -1
  108. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts.map +1 -1
  109. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts +1 -1
  110. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts.map +1 -1
  111. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +2 -7
  112. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -1
  113. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts +1 -1
  114. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts.map +1 -1
  115. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +1 -1
  116. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
  117. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts +1 -1
  118. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
  119. package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts +1 -1
  120. package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
  121. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts +1 -1
  122. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts.map +1 -1
  123. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +1 -1
  124. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
  125. package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +1 -4
  126. package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -1
  127. package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts +1 -1
  128. package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts.map +1 -1
  129. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +1 -1
  130. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  131. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts +1 -1
  132. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts.map +1 -1
  133. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +1 -1
  134. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -1
  135. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts +1 -1
  136. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts.map +1 -1
  137. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +1 -1
  138. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -1
  139. package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts +2 -2
  140. package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts.map +1 -1
  141. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +1 -1
  142. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -1
  143. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +1 -1
  144. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
  145. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts +2 -3
  146. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts.map +1 -1
  147. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts +1 -1
  148. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts.map +1 -1
  149. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +1 -1
  150. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -1
  151. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts +1 -1
  152. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
  153. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +1 -1
  154. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
  155. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +1 -1
  156. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -1
  157. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +1 -1
  158. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
  159. package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts +1 -1
  160. package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts.map +1 -1
  161. package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts +1 -1
  162. package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
  163. package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts +1 -1
  164. package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
  165. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +1 -1
  166. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
  167. package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts +1 -1
  168. package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
  169. package/build/ts/surfaces/checkout/components/Image/Image.d.ts +2 -2
  170. package/build/ts/surfaces/checkout/components/Image/Image.d.ts.map +1 -1
  171. package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts +1 -1
  172. package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
  173. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts +1 -1
  174. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts.map +1 -1
  175. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts +1 -1
  176. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts.map +1 -1
  177. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts +1 -1
  178. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts.map +1 -1
  179. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts +1 -1
  180. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts.map +1 -1
  181. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +1 -1
  182. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
  183. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts +1 -1
  184. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
  185. package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts +1 -1
  186. package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
  187. package/build/ts/surfaces/checkout/components/List/List.d.ts +1 -1
  188. package/build/ts/surfaces/checkout/components/List/List.d.ts.map +1 -1
  189. package/build/ts/surfaces/checkout/components/List/List.doc.d.ts +1 -1
  190. package/build/ts/surfaces/checkout/components/List/List.doc.d.ts.map +1 -1
  191. package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts +1 -1
  192. package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts.map +1 -1
  193. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +1 -1
  194. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -1
  195. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts +1 -1
  196. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts.map +1 -1
  197. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts +1 -4
  198. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts.map +1 -1
  199. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts +1 -1
  200. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts.map +1 -1
  201. package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts +1 -2
  202. package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts.map +1 -1
  203. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +1 -1
  204. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
  205. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts +1 -1
  206. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
  207. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +3 -3
  208. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts.map +1 -1
  209. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +1 -1
  210. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -1
  211. package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts +1 -2
  212. package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts.map +1 -1
  213. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +1 -1
  214. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -1
  215. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +1 -1
  216. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
  217. package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts +1 -1
  218. package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts.map +1 -1
  219. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts +2 -2
  220. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts.map +1 -1
  221. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +1 -1
  222. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -1
  223. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +1 -1
  224. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
  225. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts +1 -1
  226. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts.map +1 -1
  227. package/build/ts/surfaces/checkout/components/Select/Select.d.ts +1 -1
  228. package/build/ts/surfaces/checkout/components/Select/Select.d.ts.map +1 -1
  229. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +1 -1
  230. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -1
  231. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts +4 -2
  232. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts.map +1 -1
  233. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts +1 -1
  234. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts.map +1 -1
  235. package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts +1 -1
  236. package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts.map +1 -1
  237. package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts +1 -1
  238. package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts.map +1 -1
  239. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts +1 -1
  240. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
  241. package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts +1 -1
  242. package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts.map +1 -1
  243. package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts +1 -1
  244. package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts.map +1 -1
  245. package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +1 -1
  246. package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -1
  247. package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts +1 -1
  248. package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts.map +1 -1
  249. package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts +1 -1
  250. package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
  251. package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts +1 -1
  252. package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts.map +1 -1
  253. package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +3 -3
  254. package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts.map +1 -1
  255. package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts +1 -1
  256. package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
  257. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts +1 -1
  258. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts.map +1 -1
  259. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts +1 -1
  260. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts.map +1 -1
  261. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts +2 -2
  262. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +1 -1
  263. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
  264. package/build/ts/surfaces/checkout/components/View/View.d.ts +1 -1
  265. package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
  266. package/build/ts/surfaces/checkout/components/View/View.doc.d.ts +1 -1
  267. package/build/ts/surfaces/checkout/components/View/View.doc.d.ts.map +1 -1
  268. package/build/ts/surfaces/checkout/components/shared.d.ts +32 -8
  269. package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
  270. package/build/ts/surfaces/checkout/components.d.ts +2 -0
  271. package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
  272. package/build/ts/surfaces/checkout/helper.docs.d.ts +3 -4
  273. package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
  274. package/build/ts/surfaces/checkout/shared.d.ts +3 -4
  275. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  276. package/build/ts/surfaces/checkout/style/isEqual.d.ts +1 -3
  277. package/build/ts/surfaces/checkout/style/isEqual.d.ts.map +1 -1
  278. package/build/ts/surfaces/checkout/style/style.d.ts +19 -3
  279. package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
  280. package/build/ts/surfaces/checkout/style/style.doc.d.ts +1 -1
  281. package/build/ts/surfaces/checkout/style/style.doc.d.ts.map +1 -1
  282. package/build/ts/surfaces/checkout/style/types.d.ts +39 -2
  283. package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
  284. package/build/ts/surfaces/checkout/targets.d.ts +68 -20
  285. package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
  286. package/build/ts/surfaces/checkout.d.ts +17 -2
  287. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  288. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +22 -0
  289. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  290. package/build/ts/surfaces/customer-account/api/shared.d.ts +2 -17
  291. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  292. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +1 -1
  293. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -1
  294. package/build/ts/surfaces/customer-account/targets.d.ts +1 -1
  295. package/build/ts/surfaces/customer-account.d.ts +2 -1
  296. package/build/ts/surfaces/customer-account.d.ts.map +1 -1
  297. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
  298. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
  299. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +8 -0
  300. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  301. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
  302. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
  303. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +19 -10
  304. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
  305. package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts +6 -1
  306. package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts.map +1 -1
  307. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +1 -2
  308. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
  309. package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts +1 -0
  310. package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts.map +1 -1
  311. package/build/ts/surfaces/point-of-sale/api.d.ts +3 -1
  312. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  313. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts +10 -0
  314. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts.map +1 -0
  315. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +3 -0
  316. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -1
  317. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts +2 -2
  318. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts.map +1 -1
  319. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +5 -0
  320. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -1
  321. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +2 -2
  322. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -1
  323. package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts +33 -0
  324. package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts.map +1 -0
  325. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +2 -2
  326. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -1
  327. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +1 -15
  328. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -1
  329. package/build/ts/surfaces/point-of-sale/components.d.ts +5 -1
  330. package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -1
  331. package/build/ts/surfaces/point-of-sale/targets.d.ts +8 -4
  332. package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
  333. package/build/tsconfig.tsbuildinfo +1 -1
  334. package/package.json +2 -2
  335. package/src/api.ts +1 -1
  336. package/src/extension.ts +4 -0
  337. package/src/shared.ts +841 -1
  338. package/src/surfaces/admin/api/action/action.doc.ts +1 -1
  339. package/src/surfaces/admin/api/block/block.ts +15 -0
  340. package/src/surfaces/admin/api/checkout-rules/launch-options.ts +34 -0
  341. package/src/surfaces/admin/api/checkout-rules/metafields.ts +76 -0
  342. package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +25 -0
  343. package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +15 -0
  344. package/src/surfaces/admin/api/standard/standard.ts +0 -12
  345. package/src/surfaces/admin/api.ts +3 -1
  346. package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +1 -1
  347. package/src/surfaces/admin/components/Badge/Badge.doc.ts +2 -2
  348. package/src/surfaces/admin/components/Banner/Banner.doc.ts +2 -2
  349. package/src/surfaces/admin/components/BlockStack/BlockStack.doc.ts +2 -2
  350. package/src/surfaces/admin/components/Box/Box.doc.ts +2 -2
  351. package/src/surfaces/admin/components/Button/Button.doc.ts +2 -2
  352. package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +2 -2
  353. package/src/surfaces/admin/components/ChoiceList/ChoiceList.doc.ts +2 -2
  354. package/src/surfaces/admin/components/ColorPicker/ColorPicker.doc.ts +2 -2
  355. package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts +2 -2
  356. package/src/surfaces/admin/components/DateField/DateField.doc.ts +3 -3
  357. package/src/surfaces/admin/components/Divider/Divider.doc.ts +2 -2
  358. package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +2 -2
  359. package/src/surfaces/admin/components/Form/Form.doc.ts +2 -2
  360. package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.ts +57 -0
  361. package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.ts +52 -0
  362. package/src/surfaces/admin/components/FunctionSettings/examples/basic-functionsettings.example.ts +47 -0
  363. package/src/surfaces/admin/components/Heading/Heading.doc.ts +2 -2
  364. package/src/surfaces/admin/components/Heading/Heading.ts +6 -1
  365. package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +2 -2
  366. package/src/surfaces/admin/components/Icon/Icon.doc.ts +2 -2
  367. package/src/surfaces/admin/components/Image/Image.doc.ts +2 -2
  368. package/src/surfaces/admin/components/MoneyField/MoneyField.doc.ts +2 -2
  369. package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +2 -2
  370. package/src/surfaces/admin/components/Paragraph/Paragraph.doc.ts +1 -1
  371. package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +2 -2
  372. package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.ts +2 -2
  373. package/src/surfaces/admin/components/Section/README.md +95 -0
  374. package/src/surfaces/admin/components/Section/Section.doc.ts +41 -0
  375. package/src/surfaces/admin/components/Section/Section.ts +35 -0
  376. package/src/surfaces/admin/components/Section/examples/basic-Section.example.ts +19 -0
  377. package/src/surfaces/admin/components/Select/Select.doc.ts +2 -2
  378. package/src/surfaces/admin/components/Text/Text.doc.ts +2 -2
  379. package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +2 -2
  380. package/src/surfaces/admin/components/TextField/TextField.doc.ts +2 -2
  381. package/src/surfaces/admin/components/URLField/URLField.doc.ts +2 -2
  382. package/src/surfaces/admin/components.ts +8 -1
  383. package/src/surfaces/admin/extension-targets.ts +125 -13
  384. package/src/surfaces/checkout/api/address-autocomplete/address-autocomplete.ts +87 -0
  385. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -1
  386. package/src/surfaces/checkout/api/checkout/checkout.ts +3 -3
  387. package/src/surfaces/checkout/api/docs.ts +7 -6
  388. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +22 -0
  389. package/src/surfaces/checkout/api/order-status/order-status.ts +6 -1
  390. package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
  391. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +15 -0
  392. package/src/surfaces/checkout/api/shared.ts +1 -833
  393. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -1
  394. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +2 -2
  395. package/src/surfaces/checkout/api/standard/standard.ts +203 -15
  396. package/src/surfaces/checkout/components/Badge/Badge.doc.ts +76 -0
  397. package/src/surfaces/checkout/components/Badge/Badge.ts +42 -0
  398. package/src/surfaces/checkout/components/Badge/content/guidelines.md +8 -0
  399. package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.ts +7 -0
  400. package/src/surfaces/checkout/components/Badge/examples/status-badge.example.ts +39 -0
  401. package/src/surfaces/checkout/components/Banner/Banner.doc.ts +1 -1
  402. package/src/surfaces/checkout/components/BlockLayout/BlockLayout.doc.ts +1 -1
  403. package/src/surfaces/checkout/components/BlockLayout/BlockLayout.ts +1 -1
  404. package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.ts +1 -1
  405. package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts +2 -2
  406. package/src/surfaces/checkout/components/BlockStack/BlockStack.doc.ts +1 -1
  407. package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +1 -1
  408. package/src/surfaces/checkout/components/Button/Button.doc.ts +1 -1
  409. package/src/surfaces/checkout/components/Checkbox/Checkbox.doc.ts +1 -1
  410. package/src/surfaces/checkout/components/Checkbox/Checkbox.ts +1 -1
  411. package/src/surfaces/checkout/components/Choice/Choice.doc.ts +1 -1
  412. package/src/surfaces/checkout/components/Choice/Choice.ts +2 -1
  413. package/src/surfaces/checkout/components/ChoiceList/ChoiceList.doc.ts +1 -1
  414. package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.ts +1 -1
  415. package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.ts +1 -1
  416. package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.ts +1 -1
  417. package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.ts +1 -1
  418. package/src/surfaces/checkout/components/DateField/DateField.doc.ts +1 -1
  419. package/src/surfaces/checkout/components/DateField/DateField.ts +2 -2
  420. package/src/surfaces/checkout/components/DatePicker/DatePicker.doc.ts +1 -1
  421. package/src/surfaces/checkout/components/Disclosure/Disclosure.doc.ts +2 -2
  422. package/src/surfaces/checkout/components/Disclosure/Disclosure.ts +2 -3
  423. package/src/surfaces/checkout/components/Divider/Divider.doc.ts +1 -1
  424. package/src/surfaces/checkout/components/Form/Form.doc.ts +1 -1
  425. package/src/surfaces/checkout/components/Grid/Grid.doc.ts +1 -1
  426. package/src/surfaces/checkout/components/Grid/Grid.ts +1 -1
  427. package/src/surfaces/checkout/components/GridItem/GridItem.doc.ts +1 -1
  428. package/src/surfaces/checkout/components/GridItem/GridItem.ts +1 -1
  429. package/src/surfaces/checkout/components/Heading/Heading.doc.ts +1 -1
  430. package/src/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.ts +1 -1
  431. package/src/surfaces/checkout/components/Icon/Icon.doc.ts +1 -1
  432. package/src/surfaces/checkout/components/Icon/Icon.ts +3 -0
  433. package/src/surfaces/checkout/components/Image/Image.doc.ts +1 -1
  434. package/src/surfaces/checkout/components/Image/Image.ts +2 -2
  435. package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +1 -2
  436. package/src/surfaces/checkout/components/InlineLayout/InlineLayout.doc.ts +1 -1
  437. package/src/surfaces/checkout/components/InlineLayout/InlineLayout.ts +1 -1
  438. package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.ts +1 -1
  439. package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.ts +1 -1
  440. package/src/surfaces/checkout/components/InlineStack/InlineStack.doc.ts +1 -1
  441. package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +1 -1
  442. package/src/surfaces/checkout/components/Link/Link.doc.ts +1 -1
  443. package/src/surfaces/checkout/components/List/List.doc.ts +1 -1
  444. package/src/surfaces/checkout/components/List/List.ts +1 -1
  445. package/src/surfaces/checkout/components/ListItem/ListItem.doc.ts +1 -1
  446. package/src/surfaces/checkout/components/Map/Map.doc.ts +1 -1
  447. package/src/surfaces/checkout/components/MapMarker/MapMarker.doc.ts +1 -1
  448. package/src/surfaces/checkout/components/MapPopover/MapPopover.doc.ts +1 -1
  449. package/src/surfaces/checkout/components/MapPopover/MapPopover.ts +1 -1
  450. package/src/surfaces/checkout/components/Modal/Modal.doc.ts +2 -2
  451. package/src/surfaces/checkout/components/Modal/Modal.ts +1 -2
  452. package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.ts +1 -1
  453. package/src/surfaces/checkout/components/PhoneField/PhoneField.doc.ts +1 -1
  454. package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +4 -3
  455. package/src/surfaces/checkout/components/Popover/Popover.doc.ts +2 -2
  456. package/src/surfaces/checkout/components/Popover/Popover.ts +1 -2
  457. package/src/surfaces/checkout/components/Pressable/Pressable.doc.ts +1 -1
  458. package/src/surfaces/checkout/components/Pressable/Pressable.ts +1 -1
  459. package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.ts +1 -1
  460. package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.ts +5 -2
  461. package/src/surfaces/checkout/components/ScrollView/ScrollView.doc.ts +1 -1
  462. package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +1 -1
  463. package/src/surfaces/checkout/components/Select/Select.doc.ts +1 -1
  464. package/src/surfaces/checkout/components/Select/Select.ts +1 -1
  465. package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.ts +1 -1
  466. package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.ts +1 -1
  467. package/src/surfaces/checkout/components/SkeletonText/SkeletonText.doc.ts +1 -1
  468. package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.ts +1 -1
  469. package/src/surfaces/checkout/components/Spinner/Spinner.doc.ts +1 -1
  470. package/src/surfaces/checkout/components/Stepper/Stepper.doc.ts +1 -1
  471. package/src/surfaces/checkout/components/Stepper/Stepper.ts +1 -1
  472. package/src/surfaces/checkout/components/Tag/Tag.doc.ts +1 -1
  473. package/src/surfaces/checkout/components/Tag/Tag.ts +1 -1
  474. package/src/surfaces/checkout/components/Text/Text.doc.ts +1 -1
  475. package/src/surfaces/checkout/components/TextBlock/TextBlock.doc.ts +1 -1
  476. package/src/surfaces/checkout/components/TextField/TextField.doc.ts +1 -1
  477. package/src/surfaces/checkout/components/TextField/TextField.ts +4 -3
  478. package/src/surfaces/checkout/components/ToggleButton/ToggleButton.doc.ts +1 -1
  479. package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.ts +1 -1
  480. package/src/surfaces/checkout/components/Tooltip/Tooltip.doc.ts +2 -2
  481. package/src/surfaces/checkout/components/Tooltip/Tooltip.ts +2 -2
  482. package/src/surfaces/checkout/components/View/View.doc.ts +1 -1
  483. package/src/surfaces/checkout/components/View/View.ts +1 -1
  484. package/src/surfaces/checkout/components/shared.ts +36 -11
  485. package/src/surfaces/checkout/components.ts +3 -0
  486. package/src/surfaces/checkout/helper.docs.ts +5 -4
  487. package/src/surfaces/checkout/shared.ts +3 -3
  488. package/src/surfaces/checkout/style/isEqual.ts +3 -3
  489. package/src/surfaces/checkout/style/style.doc.ts +1 -1
  490. package/src/surfaces/checkout/style/style.ts +30 -3
  491. package/src/surfaces/checkout/style/types.ts +55 -5
  492. package/src/surfaces/checkout/targets.ts +102 -36
  493. package/src/surfaces/checkout.ts +174 -2
  494. package/src/surfaces/customer-account/api/order-status/order-status.ts +25 -0
  495. package/src/surfaces/customer-account/api/shared.ts +18 -831
  496. package/src/surfaces/customer-account/components/shared-checkout-components.ts +6 -0
  497. package/src/surfaces/customer-account/targets.ts +1 -1
  498. package/src/surfaces/customer-account.ts +2 -1
  499. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
  500. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +10 -0
  501. package/src/surfaces/point-of-sale/api/order-api/order-api.tsx +26 -0
  502. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +24 -10
  503. package/src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts +6 -1
  504. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +0 -2
  505. package/src/surfaces/point-of-sale/api/types/cart.ts +1 -0
  506. package/src/surfaces/point-of-sale/api.ts +5 -0
  507. package/src/surfaces/point-of-sale/components/Actiontem/ActionItem.ts +10 -0
  508. package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +9 -1
  509. package/src/surfaces/point-of-sale/components/EmailField/EmailField.ts +2 -2
  510. package/src/surfaces/point-of-sale/components/List/List.ts +5 -1
  511. package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +2 -2
  512. package/src/surfaces/point-of-sale/components/SectionHeader/SectionHeader.ts +34 -0
  513. package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +2 -2
  514. package/src/surfaces/point-of-sale/components/shared/InputField.ts +1 -17
  515. package/src/surfaces/point-of-sale/components.ts +5 -5
  516. package/src/surfaces/point-of-sale/targets.ts +24 -4
  517. package/build/ts/surfaces/checkout/api.d.ts +0 -12
  518. package/build/ts/surfaces/checkout/api.d.ts.map +0 -1
  519. package/build/ts/surfaces/checkout/style/index.d.ts +0 -3
  520. package/build/ts/surfaces/checkout/style/index.d.ts.map +0 -1
  521. package/build/ts/surfaces/checkout/style.d.ts +0 -3
  522. package/build/ts/surfaces/checkout/style.d.ts.map +0 -1
  523. package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.tsx +0 -15
  524. package/src/surfaces/checkout/api.ts +0 -141
  525. package/src/surfaces/checkout/style/index.ts +0 -16
  526. package/src/surfaces/checkout/style.ts +0 -16
  527. /package/src/surfaces/admin/components/Badge/examples/{basic-Badge.example.ts → basic-badge.example.ts} +0 -0
  528. /package/src/surfaces/admin/components/Banner/examples/{basic-Banner.example.ts → basic-banner.example.ts} +0 -0
  529. /package/src/surfaces/admin/components/ChoiceList/examples/{basic-ChoiceList.example.ts → basic-choicelist.example.ts} +0 -0
  530. /package/src/surfaces/admin/components/ColorPicker/examples/{basic-ColorPicker.example.ts → basic-colorpicker.example.ts} +0 -0
  531. /package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/{CustomerSegmentTemplate.example.ts → customersegmenttemplate.example.ts} +0 -0
  532. /package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/examples/{InternalCustomerSegmentTemplate.example.ts → internalcustomersegmenttemplate.example.ts} +0 -0
  533. /package/src/surfaces/admin/components/ProgressIndicator/examples/{basic-ProgressIndicator.example.ts → basic-progressindicator.example.ts} +0 -0
  534. /package/src/surfaces/admin/components/ResourceItem/examples/{basic-ResourceItem.example.ts → basic-resourceitem.example.ts} +0 -0
  535. /package/src/surfaces/admin/components/ResourceList/examples/{basic-ResourceList.example.ts → basic-resourcelist.example.ts} +0 -0
  536. /package/src/surfaces/admin/components/Thumbnail/examples/{basic-Thumbnail.example.ts → basic-thumbnail.example.ts} +0 -0
@@ -9,4 +9,7 @@ export interface RenderExtension<Api, AllowedComponents extends RemoteComponentT
9
9
  export interface RenderExtensionWithRemoteRoot<Api, AllowedComponents extends RemoteComponentType<string, any, any> = RemoteComponentType<any, any, any>> {
10
10
  (root: RemoteRoot<AllowedComponents, AllowedComponents>, api: Api): void | Promise<void>;
11
11
  }
12
+ export interface RunnableExtension<Api, Output> {
13
+ (api: Api): Output | Promise<Output>;
14
+ }
12
15
  //# sourceMappingURL=extension.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../src/extension.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,aAAa,EACb,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAEzB,MAAM,WAAW,yBAAyB,CACxC,iBAAiB,SAAS,mBAAmB,CAC3C,MAAM,EACN,GAAG,EACH,GAAG,CACJ,GAAG,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAEtC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,iBAAiB,CAAC;CACxC;AAED,MAAM,WAAW,eAAe,CAC9B,GAAG,EACH,iBAAiB,SAAS,mBAAmB,CAC3C,MAAM,EACN,GAAG,EACH,GAAG,CACJ,GAAG,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAEtC,CACE,UAAU,EAAE,yBAAyB,CAAC,iBAAiB,CAAC,EACxD,GAAG,EAAE,GAAG,GACP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E,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,EACtD,GAAG,EAAE,GAAG,GACP,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB,CAAC,GAAG,EAAE,MAAM;IAC5C,CAAC,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACtC"}
@@ -6,5 +6,22 @@ export type AnyComponentBuilder<ComponentTypes> = ComponentsBuilder<ComponentTyp
6
6
  /**
7
7
  * Union of supported API versions
8
8
  */
9
- export type ApiVersion = '2023-04' | '2023-07' | '2023-10' | 'unstable';
9
+ export type ApiVersion = '2023-04' | '2023-07' | '2023-10' | '2024-01' | '2024-04' | 'unstable';
10
+ export type CurrencyCode = 'AED' | 'AFN' | 'ALL' | 'AMD' | 'ANG' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BGN' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BOV' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BYN' | 'BZD' | 'CAD' | 'CDF' | 'CHE' | 'CHF' | 'CHW' | 'CLF' | 'CLP' | 'CNY' | 'COP' | 'COU' | 'CRC' | 'CUC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HRK' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MXV' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLL' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SVC' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'USN' | 'UYI' | 'UYU' | 'UYW' | 'UZS' | 'VES' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XAG' | 'XAU' | 'XBA' | 'XBB' | 'XBC' | 'XBD' | 'XCD' | 'XDR' | 'XOF' | 'XPD' | 'XPF' | 'XPT' | 'XSU' | 'XTS' | 'XUA' | 'XXX' | 'YER' | 'ZAR' | 'ZMW' | 'ZWL';
11
+ export type Timezone = 'Africa/Abidjan' | 'Africa/Algiers' | 'Africa/Bissau' | 'Africa/Cairo' | 'Africa/Casablanca' | 'Africa/Ceuta' | 'Africa/El_Aaiun' | 'Africa/Johannesburg' | 'Africa/Juba' | 'Africa/Khartoum' | 'Africa/Lagos' | 'Africa/Maputo' | 'Africa/Monrovia' | 'Africa/Nairobi' | 'Africa/Ndjamena' | 'Africa/Sao_Tome' | 'Africa/Tripoli' | 'Africa/Tunis' | 'Africa/Windhoek' | 'America/Adak' | 'America/Anchorage' | 'America/Araguaina' | 'America/Argentina/Buenos_Aires' | 'America/Argentina/Catamarca' | 'America/Argentina/Cordoba' | 'America/Argentina/Jujuy' | 'America/Argentina/La_Rioja' | 'America/Argentina/Mendoza' | 'America/Argentina/Rio_Gallegos' | 'America/Argentina/Salta' | 'America/Argentina/San_Juan' | 'America/Argentina/San_Luis' | 'America/Argentina/Tucuman' | 'America/Argentina/Ushuaia' | 'America/Asuncion' | 'America/Bahia' | 'America/Bahia_Banderas' | 'America/Barbados' | 'America/Belem' | 'America/Belize' | 'America/Boa_Vista' | 'America/Bogota' | 'America/Boise' | 'America/Cambridge_Bay' | 'America/Campo_Grande' | 'America/Cancun' | 'America/Caracas' | 'America/Cayenne' | 'America/Chicago' | 'America/Chihuahua' | 'America/Costa_Rica' | 'America/Cuiaba' | 'America/Danmarkshavn' | 'America/Dawson' | 'America/Dawson_Creek' | 'America/Denver' | 'America/Detroit' | 'America/Edmonton' | 'America/Eirunepe' | 'America/El_Salvador' | 'America/Fort_Nelson' | 'America/Fortaleza' | 'America/Glace_Bay' | 'America/Goose_Bay' | 'America/Grand_Turk' | 'America/Guatemala' | 'America/Guayaquil' | 'America/Guyana' | 'America/Halifax' | 'America/Havana' | 'America/Hermosillo' | 'America/Indiana/Indianapolis' | 'America/Indiana/Knox' | 'America/Indiana/Marengo' | 'America/Indiana/Petersburg' | 'America/Indiana/Tell_City' | 'America/Indiana/Vevay' | 'America/Indiana/Vincennes' | 'America/Indiana/Winamac' | 'America/Inuvik' | 'America/Iqaluit' | 'America/Jamaica' | 'America/Juneau' | 'America/Kentucky/Louisville' | 'America/Kentucky/Monticello' | 'America/La_Paz' | 'America/Lima' | 'America/Los_Angeles' | 'America/Maceio' | 'America/Managua' | 'America/Manaus' | 'America/Martinique' | 'America/Matamoros' | 'America/Mazatlan' | 'America/Menominee' | 'America/Merida' | 'America/Metlakatla' | 'America/Mexico_City' | 'America/Miquelon' | 'America/Moncton' | 'America/Monterrey' | 'America/Montevideo' | 'America/New_York' | 'America/Nipigon' | 'America/Nome' | 'America/Noronha' | 'America/North_Dakota/Beulah' | 'America/North_Dakota/Center' | 'America/North_Dakota/New_Salem' | 'America/Nuuk' | 'America/Ojinaga' | 'America/Panama' | 'America/Pangnirtung' | 'America/Paramaribo' | 'America/Phoenix' | 'America/Port-au-Prince' | 'America/Porto_Velho' | 'America/Puerto_Rico' | 'America/Punta_Arenas' | 'America/Rainy_River' | 'America/Rankin_Inlet' | 'America/Recife' | 'America/Regina' | 'America/Resolute' | 'America/Rio_Branco' | 'America/Santarem' | 'America/Santiago' | 'America/Santo_Domingo' | 'America/Sao_Paulo' | 'America/Scoresbysund' | 'America/Sitka' | 'America/St_Johns' | 'America/Swift_Current' | 'America/Tegucigalpa' | 'America/Thule' | 'America/Thunder_Bay' | 'America/Tijuana' | 'America/Toronto' | 'America/Vancouver' | 'America/Whitehorse' | 'America/Winnipeg' | 'America/Yakutat' | 'America/Yellowknife' | 'Antarctica/Casey' | 'Antarctica/Davis' | 'Antarctica/Macquarie' | 'Antarctica/Mawson' | 'Antarctica/Palmer' | 'Antarctica/Rothera' | 'Antarctica/Troll' | 'Antarctica/Vostok' | 'Asia/Almaty' | 'Asia/Amman' | 'Asia/Anadyr' | 'Asia/Aqtau' | 'Asia/Aqtobe' | 'Asia/Ashgabat' | 'Asia/Atyrau' | 'Asia/Baghdad' | 'Asia/Baku' | 'Asia/Bangkok' | 'Asia/Barnaul' | 'Asia/Beirut' | 'Asia/Bishkek' | 'Asia/Brunei' | 'Asia/Chita' | 'Asia/Choibalsan' | 'Asia/Colombo' | 'Asia/Damascus' | 'Asia/Dhaka' | 'Asia/Dili' | 'Asia/Dubai' | 'Asia/Dushanbe' | 'Asia/Famagusta' | 'Asia/Gaza' | 'Asia/Hebron' | 'Asia/Ho_Chi_Minh' | 'Asia/Hong_Kong' | 'Asia/Hovd' | 'Asia/Irkutsk' | 'Asia/Jakarta' | 'Asia/Jayapura' | 'Asia/Jerusalem' | 'Asia/Kabul' | 'Asia/Kamchatka' | 'Asia/Karachi' | 'Asia/Kathmandu' | 'Asia/Khandyga' | 'Asia/Kolkata' | 'Asia/Krasnoyarsk' | 'Asia/Kuala_Lumpur' | 'Asia/Kuching' | 'Asia/Macau' | 'Asia/Magadan' | 'Asia/Makassar' | 'Asia/Manila' | 'Asia/Nicosia' | 'Asia/Novokuznetsk' | 'Asia/Novosibirsk' | 'Asia/Omsk' | 'Asia/Oral' | 'Asia/Pontianak' | 'Asia/Pyongyang' | 'Asia/Qatar' | 'Asia/Qostanay' | 'Asia/Qyzylorda' | 'Asia/Riyadh' | 'Asia/Sakhalin' | 'Asia/Samarkand' | 'Asia/Seoul' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Srednekolymsk' | 'Asia/Taipei' | 'Asia/Tashkent' | 'Asia/Tbilisi' | 'Asia/Tehran' | 'Asia/Thimphu' | 'Asia/Tokyo' | 'Asia/Tomsk' | 'Asia/Ulaanbaatar' | 'Asia/Urumqi' | 'Asia/Ust-Nera' | 'Asia/Vladivostok' | 'Asia/Yakutsk' | 'Asia/Yangon' | 'Asia/Yekaterinburg' | 'Asia/Yerevan' | 'Atlantic/Azores' | 'Atlantic/Bermuda' | 'Atlantic/Canary' | 'Atlantic/Cape_Verde' | 'Atlantic/Faroe' | 'Atlantic/Madeira' | 'Atlantic/Reykjavik' | 'Atlantic/South_Georgia' | 'Atlantic/Stanley' | 'Australia/Adelaide' | 'Australia/Brisbane' | 'Australia/Broken_Hill' | 'Australia/Darwin' | 'Australia/Eucla' | 'Australia/Hobart' | 'Australia/Lindeman' | 'Australia/Lord_Howe' | 'Australia/Melbourne' | 'Australia/Perth' | 'Australia/Sydney' | 'CET' | 'CST6CDT' | 'EET' | 'EST' | 'EST5EDT' | 'Etc/GMT' | 'Etc/GMT-1' | 'Etc/GMT-10' | 'Etc/GMT-11' | 'Etc/GMT-12' | 'Etc/GMT-13' | 'Etc/GMT-14' | 'Etc/GMT-2' | 'Etc/GMT-3' | 'Etc/GMT-4' | 'Etc/GMT-5' | 'Etc/GMT-6' | 'Etc/GMT-7' | 'Etc/GMT-8' | 'Etc/GMT-9' | 'Etc/GMT+1' | 'Etc/GMT+10' | 'Etc/GMT+11' | 'Etc/GMT+12' | 'Etc/GMT+2' | 'Etc/GMT+3' | 'Etc/GMT+4' | 'Etc/GMT+5' | 'Etc/GMT+6' | 'Etc/GMT+7' | 'Etc/GMT+8' | 'Etc/GMT+9' | 'Etc/UTC' | 'Europe/Amsterdam' | 'Europe/Andorra' | 'Europe/Astrakhan' | 'Europe/Athens' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/Brussels' | 'Europe/Bucharest' | 'Europe/Budapest' | 'Europe/Chisinau' | 'Europe/Copenhagen' | 'Europe/Dublin' | 'Europe/Gibraltar' | 'Europe/Helsinki' | 'Europe/Istanbul' | 'Europe/Kaliningrad' | 'Europe/Kiev' | 'Europe/Kirov' | 'Europe/Lisbon' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Malta' | 'Europe/Minsk' | 'Europe/Monaco' | 'Europe/Moscow' | 'Europe/Oslo' | 'Europe/Paris' | 'Europe/Prague' | 'Europe/Riga' | 'Europe/Rome' | 'Europe/Samara' | 'Europe/Saratov' | 'Europe/Simferopol' | 'Europe/Sofia' | 'Europe/Stockholm' | 'Europe/Tallinn' | 'Europe/Tirane' | 'Europe/Ulyanovsk' | 'Europe/Uzhgorod' | 'Europe/Vienna' | 'Europe/Vilnius' | 'Europe/Volgograd' | 'Europe/Warsaw' | 'Europe/Zaporozhye' | 'Europe/Zurich' | 'HST' | 'Indian/Chagos' | 'Indian/Christmas' | 'Indian/Cocos' | 'Indian/Kerguelen' | 'Indian/Mahe' | 'Indian/Maldives' | 'Indian/Mauritius' | 'Indian/Reunion' | 'MET' | 'MST' | 'MST7MDT' | 'Pacific/Apia' | 'Pacific/Auckland' | 'Pacific/Bougainville' | 'Pacific/Chatham' | 'Pacific/Chuuk' | 'Pacific/Easter' | 'Pacific/Efate' | 'Pacific/Fakaofo' | 'Pacific/Fiji' | 'Pacific/Funafuti' | 'Pacific/Galapagos' | 'Pacific/Gambier' | 'Pacific/Guadalcanal' | 'Pacific/Guam' | 'Pacific/Honolulu' | 'Pacific/Kanton' | 'Pacific/Kiritimati' | 'Pacific/Kosrae' | 'Pacific/Kwajalein' | 'Pacific/Majuro' | 'Pacific/Marquesas' | 'Pacific/Nauru' | 'Pacific/Niue' | 'Pacific/Norfolk' | 'Pacific/Noumea' | 'Pacific/Pago_Pago' | 'Pacific/Palau' | 'Pacific/Pitcairn' | 'Pacific/Pohnpei' | 'Pacific/Port_Moresby' | 'Pacific/Rarotonga' | 'Pacific/Tahiti' | 'Pacific/Tarawa' | 'Pacific/Tongatapu' | 'Pacific/Wake' | 'Pacific/Wallis' | 'PST8PDT' | 'WET';
12
+ export type CountryCode = 'AC' | 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AN' | 'AO' | 'AR' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PS' | 'PT' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TA' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VN' | 'VU' | 'WF' | 'WS' | 'XK' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'ZZ';
13
+ /**
14
+ * Union of supported storefront API versions
15
+ */
16
+ export type StorefrontApiVersion = '2022-04' | '2022-07' | '2022-10' | '2023-01' | '2023-04' | '2023-07' | '2024-01' | '2024-04' | 'unstable';
17
+ /**
18
+ * GraphQL error returned by the Shopify Storefront APIs.
19
+ */
20
+ export interface GraphQLError {
21
+ message: string;
22
+ extensions: {
23
+ requestId: string;
24
+ code: string;
25
+ };
26
+ }
10
27
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAEzD,MAAM,MAAM,iBAAiB,CAAC,cAAc,IAAI;KAC7C,CAAC,IAAI,MAAM,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,SAAS,mBAAmB,CACxE,GAAG,EACH,GAAG,CACJ,GACG,cAAc,CAAC,CAAC,CAAC,GACjB,KAAK;CACV,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAAC,cAAc,IAC5C,iBAAiB,CAAC,cAAc,CAAC,CAAC,MAAM,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../src/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,iBAAiB,CAAC;AAEzD,MAAM,MAAM,iBAAiB,CAAC,cAAc,IAAI;KAC7C,CAAC,IAAI,MAAM,cAAc,GAAG,cAAc,CAAC,CAAC,CAAC,SAAS,mBAAmB,CACxE,GAAG,EACH,GAAG,CACJ,GACG,cAAc,CAAC,CAAC,CAAC,GACjB,KAAK;CACV,CAAC;AAEF,MAAM,MAAM,mBAAmB,CAAC,cAAc,IAC5C,iBAAiB,CAAC,cAAc,CAAC,CAAC,MAAM,iBAAiB,CAAC,cAAc,CAAC,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AAGf,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,G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GAC5B,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,CAAC;AAEf;;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"}
@@ -1,10 +1,23 @@
1
1
  import type { StandardApi } from '../standard/standard';
2
2
  import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets';
3
3
  import type { Data } from '../shared';
4
+ export interface Navigation {
5
+ /**
6
+ * Navigate to a specific route.
7
+ *
8
+ * @example navigation.navigate('extension://my-admin-action-extension-handle')
9
+ */
10
+ navigate: (url: string | URL) => void;
11
+ }
4
12
  export interface BlockExtensionApi<ExtensionTarget extends AnyExtensionTarget> extends StandardApi<ExtensionTarget> {
5
13
  /**
6
14
  * Information about the currently viewed or selected items.
7
15
  */
8
16
  data: Data;
17
+ /**
18
+ * 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.
19
+ * 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`).
20
+ */
21
+ navigation: Navigation;
9
22
  }
10
23
  //# sourceMappingURL=block.d.ts.map
@@ -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;AAEpC,MAAM,WAAW,iBAAiB,CAAC,eAAe,SAAS,kBAAkB,CAC3E,SAAQ,WAAW,CAAC,eAAe,CAAC;IACpC;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;CACZ"}
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;AAEpC,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;CACxB"}
@@ -0,0 +1,33 @@
1
+ interface Metafield {
2
+ description?: string;
3
+ id: string;
4
+ namespace: string;
5
+ key: string;
6
+ value: string;
7
+ type: string;
8
+ }
9
+ interface Validation {
10
+ /**
11
+ * the validation's gid when active in a shop
12
+ */
13
+ id: string;
14
+ /**
15
+ * the metafields owned by the validation
16
+ */
17
+ metafields: Metafield[];
18
+ }
19
+ interface ShopifyFunction {
20
+ /**
21
+ * the validation function's unique identifier
22
+ */
23
+ id: string;
24
+ }
25
+ /**
26
+ * The object that exposes the validation with its settings.
27
+ */
28
+ export interface ValidationData {
29
+ validation?: Validation;
30
+ shopifyFunction: ShopifyFunction;
31
+ }
32
+ export {};
33
+ //# sourceMappingURL=launch-options.d.ts.map
@@ -0,0 +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;AAED,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"}
@@ -0,0 +1,26 @@
1
+ declare const supportedDefinitionTypes: readonly ["boolean", "collection_reference", "color", "date", "date_time", "dimension", "file_reference", "json", "metaobject_reference", "mixed_reference", "money", "multi_line_text_field", "number_decimal", "number_integer", "page_reference", "product_reference", "rating", "rich_text_field", "single_line_text_field", "product_taxonomy_value_reference", "url", "variant_reference", "volume", "weight", "list.collection_reference", "list.color", "list.date", "list.date_time", "list.dimension", "list.file_reference", "list.metaobject_reference", "list.mixed_reference", "list.number_decimal", "list.number_integer", "list.page_reference", "list.product_reference", "list.rating", "list.single_line_text_field", "list.url", "list.variant_reference", "list.volume", "list.weight"];
2
+ export type SupportedDefinitionType = typeof supportedDefinitionTypes[number];
3
+ interface MetafieldUpdateChange {
4
+ type: 'updateMetafield';
5
+ key: string;
6
+ namespace?: string;
7
+ value: string | number;
8
+ valueType?: SupportedDefinitionType;
9
+ }
10
+ interface MetafieldRemoveChange {
11
+ type: 'removeMetafield';
12
+ key: string;
13
+ namespace: string;
14
+ }
15
+ type MetafieldChange = MetafieldUpdateChange | MetafieldRemoveChange;
16
+ interface MetafieldChangeResultError {
17
+ type: 'error';
18
+ message: string;
19
+ }
20
+ interface MetafieldChangeSuccess {
21
+ type: 'success';
22
+ }
23
+ type MetafieldChangeResult = MetafieldChangeSuccess | MetafieldChangeResultError;
24
+ export type ApplyMetafieldChange = (change: MetafieldChange) => Promise<MetafieldChangeResult>;
25
+ export {};
26
+ //# sourceMappingURL=metafields.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metafields.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/checkout-rules/metafields.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,wBAAwB,+wBA2CpB,CAAC;AAEX,MAAM,MAAM,uBAAuB,GAAG,OAAO,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAE9E,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"}
@@ -0,0 +1,12 @@
1
+ import type { StandardApi } from '../standard/standard';
2
+ import type { ExtensionTarget as AnyExtensionTarget } from '../../extension-targets';
3
+ import { ApplyMetafieldChange } from './metafields';
4
+ import { ValidationData } from './launch-options';
5
+ export interface ValidationSettingsApi<ExtensionTarget extends AnyExtensionTarget> extends StandardApi<ExtensionTarget> {
6
+ /**
7
+ * Applies a change to the validation settings.
8
+ */
9
+ applyMetafieldChange: ApplyMetafieldChange;
10
+ data: ValidationData;
11
+ }
12
+ //# sourceMappingURL=validation-settings.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,4 @@
1
+ import { ReferenceEntityTemplateSchema } from '@shopify/generate-docs';
2
+ declare const data: ReferenceEntityTemplateSchema;
3
+ export default data;
4
+ //# sourceMappingURL=validation-settings.doc.d.ts.map
@@ -0,0 +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,6BAoBX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -7,12 +7,6 @@ export interface Intents {
7
7
  */
8
8
  launchUrl?: string | URL;
9
9
  }
10
- export interface Navigation {
11
- /**
12
- * A method to navigate to a specific route.
13
- */
14
- navigate: (url: string | URL) => void;
15
- }
16
10
  /**
17
11
  * GraphQL error returned by the Shopify Admin API.
18
12
  */
@@ -42,10 +36,6 @@ export interface StandardApi<ExtensionTarget extends AnyExtensionTarget> {
42
36
  * Provides information to the receiver the of an intent.
43
37
  */
44
38
  intents: Intents;
45
- /**
46
- * Provides methods to navigate to other features in the Admin.
47
- */
48
- navigation: Navigation;
49
39
  /**
50
40
  * Used to query the Admin GraphQL API
51
41
  */
@@ -1 +1 @@
1
- {"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/standard/standard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAC1B;AAED,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,KAAK,IAAI,CAAC;CACvC;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,eAAe,SAAS,kBAAkB;IACrE;;OAEG;IACH,SAAS,EAAE;QACT,MAAM,EAAE,eAAe,CAAC;KACzB,CAAC;IAEF;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IAEvB;;OAEG;IACH,KAAK,EAAE,CAAC,IAAI,GAAG,OAAO,EAAE,SAAS,GAAG;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,EAC1D,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;QAAC,SAAS,CAAC,EAAE,SAAS,CAAC;QAAC,OAAO,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAA;KAAC,KACrE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,IAAI,CAAC;QAAC,MAAM,CAAC,EAAE,YAAY,EAAE,CAAA;KAAC,CAAC,CAAC;CACtD"}
1
+ {"version":3,"file":"standard.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/api/standard/standard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAC9C,OAAO,KAAK,EAAC,eAAe,IAAI,kBAAkB,EAAC,MAAM,yBAAyB,CAAC;AAEnF,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE;QACT,IAAI,EAAE,MAAM,CAAC;QACb,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,WAAW,CAAC,eAAe,SAAS,kBAAkB;IACrE;;OAEG;IACH,SAAS,EAAE;QACT,MAAM,EAAE,eAAe,CAAC;KACzB,CAAC;IAEF;;;OAGG;IACH,IAAI,EAAE,IAAI,CAAC;IAEX;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,KAAK,EAAE,CAAC,IAAI,GAAG,OAAO,EAAE,SAAS,GAAG;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAC,EAC1D,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE;QAAC,SAAS,CAAC,EAAE,SAAS,CAAC;QAAC,OAAO,CAAC,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,CAAA;KAAC,KACrE,OAAO,CAAC;QAAC,IAAI,CAAC,EAAE,IAAI,CAAC;QAAC,MAAM,CAAC,EAAE,YAAY,EAAE,CAAA;KAAC,CAAC,CAAC;CACtD"}
@@ -1,9 +1,11 @@
1
1
  export type { I18n, I18nTranslate } from '../../api';
2
- export type { StandardApi, Navigation, Intents } from './api/standard/standard';
2
+ export type { StandardApi, Intents } from './api/standard/standard';
3
+ export type { Navigation } from './api/block/block';
3
4
  export type { CustomerSegmentTemplateApi } from './api/customer-segment-template/customer-segment-template';
4
5
  export type { ActionExtensionApi } from './api/action/action';
5
6
  export type { BlockExtensionApi } from './api/block/block';
6
7
  export type { ProductDetailsConfigurationApi } from './api/product-configuration/product-details-configuration';
7
8
  export type { ProductVariantDetailsConfigurationApi } from './api/product-configuration/product-variant-details-configuration';
8
9
  export type { OrderRoutingRuleApi } from './api/order-routing-rule/order-routing-rule';
10
+ export type { ValidationSettingsApi } from './api/checkout-rules/validation-settings';
9
11
  //# sourceMappingURL=api.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,WAAW,CAAC;AACnD,YAAY,EAAC,WAAW,EAAE,UAAU,EAAE,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAC9E,YAAY,EAAC,0BAA0B,EAAC,MAAM,2DAA2D,CAAC;AAC1G,YAAY,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAC,8BAA8B,EAAC,MAAM,2DAA2D,CAAC;AAC9G,YAAY,EAAC,qCAAqC,EAAC,MAAM,mEAAmE,CAAC;AAC7H,YAAY,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/api.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,IAAI,EAAE,aAAa,EAAC,MAAM,WAAW,CAAC;AACnD,YAAY,EAAC,WAAW,EAAE,OAAO,EAAC,MAAM,yBAAyB,CAAC;AAClE,YAAY,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAClD,YAAY,EAAC,0BAA0B,EAAC,MAAM,2DAA2D,CAAC;AAC1G,YAAY,EAAC,kBAAkB,EAAC,MAAM,qBAAqB,CAAC;AAC5D,YAAY,EAAC,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAC,8BAA8B,EAAC,MAAM,2DAA2D,CAAC;AAC9G,YAAY,EAAC,qCAAqC,EAAC,MAAM,mEAAmE,CAAC;AAC7H,YAAY,EAAC,mBAAmB,EAAC,MAAM,6CAA6C,CAAC;AACrF,YAAY,EAAC,qBAAqB,EAAC,MAAM,0CAA0C,CAAC"}
@@ -0,0 +1,47 @@
1
+ export interface FunctionSettingsProps {
2
+ /**
3
+ * A unique identifier for the form.
4
+ */
5
+ id?: string;
6
+ /**
7
+ * An optional callback function that will be run by the admin when the user
8
+ * commits their changes in the admin-rendered part of the function settings
9
+ * experience. If this function returns a promise, the admin will wait for the
10
+ * promise to resolve before committing any changes to Shopify’s servers. If
11
+ * the promise rejects, the admin will abort the changes and display an error,
12
+ * using the `message` property of the error you reject with.
13
+ */
14
+ onSave?(): void | Promise<void>;
15
+ /**
16
+ * An optional callback function that will be run by the admin when the
17
+ * committing the changes to Shopify’s servers fails. The errors you receive
18
+ * in the `errors` argument will only be those that were caused by data your
19
+ * extension provided; network errors and user errors that are out of your
20
+ * control will not be reported here.
21
+ *
22
+ * In the `onError` callback, you should update your extension’s UI to
23
+ * highlight the fields that caused the errors, and display the error messages
24
+ * to the user.
25
+ */
26
+ onError?(errors: FunctionSettingsError[]): void;
27
+ }
28
+ export interface FunctionSettingsError {
29
+ /**
30
+ * A unique identifier describing the “class” of error. These will match
31
+ * the GraphQL error codes as closely as possible. For example the enums
32
+ * returned by the `metafieldsSet` mutation
33
+ *
34
+ * @see https://shopify.dev/docs/api/admin-graphql/latest/enums/MetafieldsSetUserErrorCode
35
+ */
36
+ code: string;
37
+ /**
38
+ * A translated message describing the error.
39
+ */
40
+ message: string;
41
+ }
42
+ export declare const FunctionSettings: "FunctionSettings" & {
43
+ readonly type?: "FunctionSettings" | undefined;
44
+ readonly props?: FunctionSettingsProps | undefined;
45
+ readonly children?: true | undefined;
46
+ };
47
+ //# sourceMappingURL=FunctionSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionSettings.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/FunctionSettings/FunctionSettings.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;;;OAOG;IACH,MAAM,CAAC,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhC;;;;;;;;;;OAUG;IACH,OAAO,CAAC,CAAC,MAAM,EAAE,qBAAqB,EAAE,GAAG,IAAI,CAAC;CACjD;AAED,MAAM,WAAW,qBAAqB;IACpC;;;;;;OAMG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,gBAAgB;;;;CAGR,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ReferenceEntityTemplateSchema } from '@shopify/generate-docs';
2
+ declare const data: ReferenceEntityTemplateSchema;
3
+ export default data;
4
+ //# sourceMappingURL=FunctionSettings.doc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FunctionSettings.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAoDX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -2,7 +2,12 @@ type Level = 1 | 2 | 3 | 4 | 5 | 6;
2
2
  export interface HeadingProps {
3
3
  /** A unique identifier for the field. */
4
4
  id?: string;
5
- /** The visual level of the heading. */
5
+ /**
6
+ * The visual size of the heading.
7
+ *
8
+ * There are no guarantee that the level set will render the same level in the HTML `<h*>` element.
9
+ * The heading level that gets rendered is determined by the parent `HeadingGroup` or `Section` component.
10
+ */
6
11
  size?: Level;
7
12
  }
8
13
  export declare const Heading: "Heading" & {
@@ -1 +1 @@
1
- {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Heading/Heading.ts"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEnC,MAAM,WAAW,YAAY;IAC3B,yCAAyC;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,uCAAuC;IACvC,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,OAAO;;;;CAEnB,CAAC"}
1
+ {"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Heading/Heading.ts"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAEnC,MAAM,WAAW,YAAY;IAC3B,yCAAyC;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;;;OAKG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CACd;AAED,eAAO,MAAM,OAAO;;;;CAEnB,CAAC"}
@@ -0,0 +1,33 @@
1
+ export interface SectionProps {
2
+ /**
3
+ * A label used to describe the section that will be announced by assistive technologies.
4
+ *
5
+ * When no `heading` property is provided or included as a children of the Section, you **must** provide an
6
+ * `accessibilityLabel` to describe the Section. This is important as it allows assistive technologies to provide
7
+ * the right context to users.
8
+ */
9
+ accessibilityLabel?: string;
10
+ /**
11
+ * A title that describes the content of the section.
12
+ */
13
+ heading?: string;
14
+ /**
15
+ * Adjust the padding of all edges.
16
+ *
17
+ * `base`: applies padding that is appropriate for the element. Note that it may result in no padding if Shopify
18
+ * believes this is the right design decision in a particular context.
19
+ *
20
+ * `none`: removes all padding from the element. This can be useful when elements inside the Section need to span
21
+ * to the edge of the Section. For example, a full-width image. In this case, rely on `Box` or any other layout
22
+ * element to bring back the desired padding for the rest of the content.
23
+ *
24
+ * @default: "base"
25
+ */
26
+ padding?: 'base' | 'none';
27
+ }
28
+ export declare const Section: "Section" & {
29
+ readonly type?: "Section" | undefined;
30
+ readonly props?: SectionProps | undefined;
31
+ readonly children?: true | undefined;
32
+ };
33
+ //# sourceMappingURL=Section.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Section/Section.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,YAAY;IAC3B;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,OAAO;;;;CAEnB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { ReferenceEntityTemplateSchema } from '@shopify/generate-docs';
2
+ declare const data: ReferenceEntityTemplateSchema;
3
+ export default data;
4
+ //# sourceMappingURL=Section.doc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Section.doc.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/admin/components/Section/Section.doc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,6BAA6B,EAAC,MAAM,wBAAwB,CAAC;AAErE,QAAA,MAAM,IAAI,EAAE,6BAoCX,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -18,9 +18,9 @@ export { Checkbox } from './components/Checkbox/Checkbox';
18
18
  export type { CheckboxProps } from './components/Checkbox/Checkbox';
19
19
  export { ChoiceList } from './components/ChoiceList/ChoiceList';
20
20
  export type { ChoiceListProps } from './components/ChoiceList/ChoiceList';
21
- export { CustomerSegmentTemplate } from './components/CustomerSegmentTemplate/CustomerSegmentTemplate';
22
21
  export { ColorPicker } from './components/ColorPicker/ColorPicker';
23
22
  export type { ColorPickerProps } from './components/ColorPicker/ColorPicker';
23
+ export { CustomerSegmentTemplate } from './components/CustomerSegmentTemplate/CustomerSegmentTemplate';
24
24
  export type { CustomerSegmentTemplateProps } from './components/CustomerSegmentTemplate/CustomerSegmentTemplate';
25
25
  export { DateField } from './components/DateField/DateField';
26
26
  export type { DateFieldProps } from './components/DateField/DateField';
@@ -32,6 +32,8 @@ export { EmailField } from './components/EmailField/EmailField';
32
32
  export type { EmailFieldProps } from './components/EmailField/EmailField';
33
33
  export { Form } from './components/Form/Form';
34
34
  export type { FormProps } from './components/Form/Form';
35
+ export { FunctionSettings } from './components/FunctionSettings/FunctionSettings';
36
+ export type { FunctionSettingsProps, FunctionSettingsError, } from './components/FunctionSettings/FunctionSettings';
35
37
  export { Heading } from './components/Heading/Heading';
36
38
  export type { HeadingProps } from './components/Heading/Heading';
37
39
  export { HeadingGroup } from './components/HeadingGroup/HeadingGroup';
@@ -62,6 +64,8 @@ export { ResourceItem } from './components/ResourceItem/ResourceItem';
62
64
  export type { ResourceItemProps } from './components/ResourceItem/ResourceItem';
63
65
  export { ResourceList } from './components/ResourceList/ResourceList';
64
66
  export type { ResourceListProps } from './components/ResourceList/ResourceList';
67
+ export { Section } from './components/Section/Section';
68
+ export type { SectionProps } from './components/Section/Section';
65
69
  export { Select } from './components/Select/Select';
66
70
  export type { OptionDescription, OptionGroupDescription, OptionGroupProps, OptionProps, SelectProps, } from './components/Select/Select';
67
71
  export { Text } from './components/Text/Text';
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/components.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,sCAAsC,CAAC;AACjE,YAAY,EAAC,gBAAgB,EAAC,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,YAAY,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,KAAK,EAAC,MAAM,0BAA0B,CAAC;AAC/C,YAAY,EAAC,UAAU,EAAC,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,YAAY,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,YAAY,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACxE,OAAO,EAAC,GAAG,EAAC,MAAM,sBAAsB,CAAC;AACzC,YAAY,EAAC,QAAQ,EAAC,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAC,MAAM,EAAC,MAAM,4BAA4B,CAAC;AAClD,YAAY,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,IAAI,EAAC,MAAM,wBAAwB,CAAC;AAC5C,YAAY,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAC,QAAQ,EAAC,MAAM,gCAAgC,CAAC;AACxD,YAAY,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAC,UAAU,EAAC,MAAM,oCAAoC,CAAC;AAC9D,YAAY,EAAC,eAAe,EAAC,MAAM,oCAAoC,CAAC;AACxE,OA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