@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,6 +9,7 @@ import type {
9
9
  ProductDetailsConfigurationApi,
10
10
  ProductVariantDetailsConfigurationApi,
11
11
  OrderRoutingRuleApi,
12
+ ValidationSettingsApi,
12
13
  } from './api';
13
14
  import {AnyComponentBuilder} from '../../shared';
14
15
 
@@ -101,7 +102,7 @@ export interface ExtensionTargets {
101
102
 
102
103
  // Actions
103
104
  /**
104
- * Renders an Admin Action in the product details page. Open this extension from the "More Actions" menu.
105
+ * Renders an admin action extension in the product details page. Open this extension from the "More Actions" menu.
105
106
  *
106
107
  * See the [list of available components](/docs/api/admin-extensions/components).
107
108
  */
@@ -111,7 +112,7 @@ export interface ExtensionTargets {
111
112
  >;
112
113
 
113
114
  /**
114
- * Renders an Admin Action in the order details page. Open this extension from the "More Actions" menu.
115
+ * Renders an admin action extension in the order details page. Open this extension from the "More Actions" menu.
115
116
  *
116
117
  * See the [list of available components](/docs/api/admin-extensions/components).
117
118
  */
@@ -121,7 +122,7 @@ export interface ExtensionTargets {
121
122
  >;
122
123
 
123
124
  /**
124
- * Renders an Admin Action in the customer details page. Open this extension from the "More Actions" menu.
125
+ * Renders an admin action extension in the customer details page. Open this extension from the "More Actions" menu.
125
126
  *
126
127
  * See the [list of available components](/docs/api/admin-extensions/components).
127
128
  */
@@ -131,7 +132,7 @@ export interface ExtensionTargets {
131
132
  >;
132
133
 
133
134
  /**
134
- * Renders an Admin Action in the customer segment details page. Open this extension from the "Use segment" button.
135
+ * Renders an admin action extension in the customer segment details page. Open this extension from the "Use segment" button.
135
136
  *
136
137
  * See the [list of available components](/docs/api/admin-extensions/components).
137
138
  */
@@ -141,7 +142,7 @@ export interface ExtensionTargets {
141
142
  >;
142
143
 
143
144
  /**
144
- * Renders an Admin Action in the product index page. Open this extension from the "More Actions" menu.
145
+ * Renders an admin action extension in the product index page. Open this extension from the "More Actions" menu.
145
146
  *
146
147
  * See the [list of available components](/docs/api/admin-extensions/components).
147
148
  */
@@ -151,7 +152,7 @@ export interface ExtensionTargets {
151
152
  >;
152
153
 
153
154
  /**
154
- * Renders an Admin Action in the order index page. Open this extension from the "More Actions" menu.
155
+ * Renders an admin action extension in the order index page. Open this extension from the "More Actions" menu.
155
156
  *
156
157
  * See the [list of available components](/docs/api/admin-extensions/components).
157
158
  */
@@ -161,7 +162,7 @@ export interface ExtensionTargets {
161
162
  >;
162
163
 
163
164
  /**
164
- * Renders an Admin Action in the customer index page. Open this extension from the "More Actions" menu.
165
+ * Renders an admin action extension in the customer index page. Open this extension from the "More Actions" menu.
165
166
  *
166
167
  * See the [list of available components](/docs/api/admin-extensions/components).
167
168
  */
@@ -170,10 +171,101 @@ export interface ExtensionTargets {
170
171
  AllComponents
171
172
  >;
172
173
 
174
+ /**
175
+ * Renders an admin action extension in the discount index page. Open this extension from the "More Actions" menu.
176
+ *
177
+ * See the [list of available components](/docs/api/admin-extensions/components).
178
+ */
179
+ 'admin.discount-index.action.render': RenderExtension<
180
+ ActionExtensionApi<'admin.discount-index.action.render'>,
181
+ AllComponents
182
+ >;
183
+
184
+ /**
185
+ * Renders an admin action extension in the collection details page. Open this extension from the "More Actions" menu.
186
+ *
187
+ * See the [list of available components](/docs/api/admin-extensions/components).
188
+ */
189
+ 'admin.collection-details.action.render': RenderExtension<
190
+ ActionExtensionApi<'admin.collection-details.action.render'>,
191
+ AllComponents
192
+ >;
193
+
194
+ /**
195
+ * Renders an admin action extension in the collection index page. Open this extension from the "More Actions" menu.
196
+ *
197
+ * See the [list of available components](/docs/api/admin-extensions/components).
198
+ */
199
+ 'admin.collection-index.action.render': RenderExtension<
200
+ ActionExtensionApi<'admin.collection-index.action.render'>,
201
+ AllComponents
202
+ >;
203
+
204
+ /**
205
+ * Renders an admin action extension in the abandonded checkout page. Open this extension from the "More Actions" menu.
206
+ *
207
+ * See the [list of available components](/docs/api/admin-extensions/components).
208
+ */
209
+ 'admin.abandoned-checkout-details.action.render': RenderExtension<
210
+ ActionExtensionApi<'admin.abandoned-checkout-details.action.render'>,
211
+ AllComponents
212
+ >;
213
+
214
+ /**
215
+ * Renders an admin action extension in the product variant details page. Open this extension from the "More Actions" menu.
216
+ *
217
+ * See the [list of available components](/docs/api/admin-extensions/components).
218
+ */
219
+ 'admin.product-variant-details.action.render': RenderExtension<
220
+ ActionExtensionApi<'admin.product-variant-details.action.render'>,
221
+ AllComponents
222
+ >;
223
+
224
+ /**
225
+ * Renders an admin action extension in the draft order details page. Open this extension from the "More Actions" menu.
226
+ *
227
+ * See the [list of available components](/docs/api/admin-extensions/components).
228
+ */
229
+ 'admin.draft-order-details.action.render': RenderExtension<
230
+ ActionExtensionApi<'admin.draft-order-details.action.render'>,
231
+ AllComponents
232
+ >;
233
+
234
+ /**
235
+ * Renders an admin action extension in the draft orders page. Open this extension from the "More Actions" menu.
236
+ *
237
+ * See the [list of available components](/docs/api/admin-extensions/components).
238
+ */
239
+ 'admin.draft-order-index.action.render': RenderExtension<
240
+ ActionExtensionApi<'admin.draft-order-index.action.render'>,
241
+ AllComponents
242
+ >;
243
+
244
+ /**
245
+ * Renders an admin action extension in the discount details page. Open this extension from the "More Actions" menu.
246
+ *
247
+ * See the [list of available components](/docs/api/admin-extensions/components).
248
+ */
249
+ 'admin.discount-details.action.render': RenderExtension<
250
+ ActionExtensionApi<'admin.discount-details.action.render'>,
251
+ AllComponents
252
+ >;
253
+
254
+ /**
255
+ * Renders an admin action extension in the order fulfilled card. Open this extension from the "3-dot" menu inside the order fulfilled card.
256
+ * Note: This extension will only be visible on orders which were fulfilled by your app.
257
+ *
258
+ * See the [list of available components](/docs/api/admin-extensions/components).
259
+ */
260
+ 'admin.order-fulfilled-card.action.render': RenderExtension<
261
+ ActionExtensionApi<'admin.order-fulfilled-card.action.render'>,
262
+ AllComponents
263
+ >;
264
+
173
265
  // Bulk Actions
174
266
 
175
267
  /**
176
- * Renders an Admin Action in the product index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
268
+ * Renders an admin action extension in the product index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
177
269
  *
178
270
  * See the [list of available components](/docs/api/admin-extensions/components).
179
271
  */
@@ -183,7 +275,7 @@ export interface ExtensionTargets {
183
275
  >;
184
276
 
185
277
  /**
186
- * Renders an Admin Action in the order index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
278
+ * Renders an admin action extension in the order index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
187
279
  *
188
280
  * See the [list of available components](/docs/api/admin-extensions/components).
189
281
  */
@@ -193,7 +285,7 @@ export interface ExtensionTargets {
193
285
  >;
194
286
 
195
287
  /**
196
- * Renders an Admin Action in the customer index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
288
+ * Renders an admin action extension in the customer index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
197
289
  *
198
290
  * See the [list of available components](/docs/api/admin-extensions/components).
199
291
  */
@@ -202,10 +294,20 @@ export interface ExtensionTargets {
202
294
  AllComponents
203
295
  >;
204
296
 
297
+ /**
298
+ * Renders an admin action extension in the draft order page when multiple resources are selected. Open this extension from the "3-dot" menu.
299
+ *
300
+ * See the [list of available components](/docs/api/admin-extensions/components).
301
+ */
302
+ 'admin.draft-order-index.selection-action.render': RenderExtension<
303
+ ActionExtensionApi<'admin.draft-order-index.selection-action.render'>,
304
+ AllComponents
305
+ >;
306
+
205
307
  /**
206
308
  * Renders Product Configuration on product details and product variant details
207
309
  *
208
- * See the [tutorial](docs/apps/selling-strategies/bundles/product-config) for more information
310
+ * See the [tutorial](/docs/apps/selling-strategies/bundles/product-config) for more information
209
311
  */
210
312
  'admin.product-details.configuration.render': RenderExtension<
211
313
  ProductDetailsConfigurationApi<'admin.product-details.configuration.render'>,
@@ -215,7 +317,7 @@ export interface ExtensionTargets {
215
317
  /**
216
318
  * Renders Product Configuration on product details and product variant details
217
319
  *
218
- * See the [tutorial](docs/apps/selling-strategies/bundles/product-config) for more information
320
+ * See the [tutorial](/docs/apps/selling-strategies/bundles/product-config) for more information
219
321
  */
220
322
  'admin.product-variant-details.configuration.render': RenderExtension<
221
323
  ProductVariantDetailsConfigurationApi<'admin.product-variant-details.configuration.render'>,
@@ -235,6 +337,16 @@ export interface ExtensionTargets {
235
337
  OrderRoutingRuleApi<'admin.settings.order-routing-rule.render'>,
236
338
  AllComponents
237
339
  >;
340
+
341
+ /**
342
+ * Renders Validation Settings within a given validation's add and edit views.
343
+ *
344
+ * See the [list of available components](/docs/api/admin-extensions/components).
345
+ */
346
+ 'admin.settings.validation.render': RenderExtension<
347
+ ValidationSettingsApi<'admin.settings.validation.render'>,
348
+ AllComponents
349
+ >;
238
350
  }
239
351
 
240
352
  export type ExtensionTarget = keyof ExtensionTargets;
@@ -258,7 +370,7 @@ export type ArgumentsForExtension<ID extends keyof ExtensionTargets> =
258
370
 
259
371
  /**
260
372
  * A union type containing all of the extension targets that follow the pattern of
261
- * accepting a [`@remote-ui/core` `RemoteRoot`](https://github.com/Shopify/remote-ui/tree/main/packages/core)
373
+ * accepting a [`@remote-ui/core` `RemoteRoot`](https://github.com/Shopify/remote-dom/tree/remote-ui/packages/core)
262
374
  * and an additional `api` argument, and using those arguments to render
263
375
  * UI.
264
376
  */
@@ -0,0 +1,87 @@
1
+ import type {MailingAddress} from '../shared';
2
+
3
+ export interface AddressAutocompleteSuggestApi {
4
+ target: {
5
+ /**
6
+ * The input that the user has typed so far into the address field.
7
+ *
8
+ * @example "123 M"
9
+ */
10
+ value: string;
11
+
12
+ /**
13
+ * The address field that the buyer is interacting with.
14
+ *
15
+ * @example "address1"
16
+ */
17
+ field: AutocompleteAddress;
18
+
19
+ /**
20
+ * An AbortSignal that may be used to cancel in-flight network requests.
21
+ * This signal is sent when the buyer has stopped interacting with the address field.
22
+ */
23
+ signal: AbortSignal;
24
+ };
25
+ }
26
+ export interface AddressAutocompleteSuggestion {
27
+ /**
28
+ * The human-readable autocomplete suggestion text. This text is
29
+ * shown to the buyer as-is. No attempts will be made to parse it.
30
+ *
31
+ * @example "123 Main St, Toronto, ON, CA"
32
+ */
33
+ description: string;
34
+
35
+ /**
36
+ * Optional.
37
+ *
38
+ * A textual identifier that uniquely identifies an autocomplete suggestion
39
+ * or address. This identifier may be used to search for a formatted address.
40
+ *
41
+ * @example "35ef8d55-dceb-4ed8-847b-2f2fc7472f14"
42
+ */
43
+ id?: string;
44
+
45
+ /**
46
+ * Optional.
47
+ *
48
+ * If provided, this will be used to highlight the substrings
49
+ * of the suggestions that matched the original search query.
50
+ *
51
+ * @example [{offset: 0, length: 4}]
52
+ */
53
+ matchedSubstrings?: MatchedSubstring[];
54
+
55
+ /**
56
+ * Optional.
57
+ *
58
+ * If an extension returns this along with a suggestion, the autocomplete
59
+ * field will use this value to auto-fill the remaining address fields.
60
+ *
61
+ * If this value is returned for every suggestion, there is no need to implement
62
+ * the `purchase.address-autocomplete.format-suggestion` extension target.
63
+ */
64
+ formattedAddress?: AutocompleteAddress;
65
+ }
66
+
67
+ interface MatchedSubstring {
68
+ /**
69
+ * The start location of the matched substring in the suggestion description text.
70
+ */
71
+ offset: number;
72
+ /**
73
+ * The length of the matched substring in the suggestion description text.
74
+ */
75
+ length: number;
76
+ }
77
+
78
+ /**
79
+ * A partial mailing address with only fields relevant to address autocomplete.
80
+ * All fields are optional
81
+ */
82
+ type AutocompleteAddress = Partial<
83
+ Pick<
84
+ MailingAddress,
85
+ 'address1' | 'address2' | 'city' | 'provinceCode' | 'zip' | 'countryCode'
86
+ >
87
+ >;
@@ -1,6 +1,6 @@
1
1
  import type {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
2
2
 
3
- import {CartLine} from '../standard/standard';
3
+ import type {CartLine} from '../standard/standard';
4
4
 
5
5
  export interface CartLineItemApi {
6
6
  /**
@@ -1,4 +1,4 @@
1
- import {Attribute, SellingPlan, MailingAddress} from '../shared';
1
+ import type {Attribute, SellingPlan, MailingAddress} from '../shared';
2
2
 
3
3
  /**
4
4
  * Removes a note
@@ -232,7 +232,7 @@ export interface DiscountCodeAddChange {
232
232
  type: 'addDiscountCode';
233
233
 
234
234
  /**
235
- * The code for the discount
235
+ * The code for the discount (case-sensitive)
236
236
  */
237
237
  code: string;
238
238
  }
@@ -244,7 +244,7 @@ export interface DiscountCodeRemoveChange {
244
244
  type: 'removeDiscountCode';
245
245
 
246
246
  /**
247
- * The code for the discount
247
+ * The code for the discount (case-sensitive)
248
248
  */
249
249
  code: string;
250
250
  }
@@ -1,9 +1,7 @@
1
- import {
2
- StandardApi,
3
- CheckoutApi,
4
- CartLineItemApi,
5
- OrderStatusApi,
6
- } from '../api';
1
+ import type {StandardApi} from './standard/standard';
2
+ import type {CheckoutApi} from './checkout/checkout';
3
+ import type {CartLineItemApi} from './cart-line/cart-line-item';
4
+ import type {OrderStatusApi} from './order-status/order-status';
7
5
 
8
6
  /**
9
7
  * These types are used to generate the documentation for the API and decipher which properties are available for which APIs.
@@ -97,3 +95,6 @@ export interface Docs_Standard_QueryApi extends Pick<StandardApi, 'query'> {}
97
95
 
98
96
  export interface Docs_Standard_AnalyticsApi
99
97
  extends Pick<StandardApi, 'analytics'> {}
98
+
99
+ export interface Docs_Standard_CustomerPrivacyApi
100
+ extends Pick<StandardApi, 'customerPrivacy' | 'applyTrackingConsentChange'> {}
@@ -0,0 +1,22 @@
1
+ import type {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
2
+
3
+ export interface OrderConfirmation {
4
+ order: {
5
+ /**
6
+ * The globally-uniqueID of the OrderConfirmation. This will be the ID of the Order once successfully created.
7
+ */
8
+ id: string;
9
+ };
10
+ /**
11
+ * A randomly generated alpha-numeric identifier for the order.
12
+ * For orders created in 2024 and onwards, the number will always be present. For orders created before that date, the number might not be present.
13
+ */
14
+ number?: string;
15
+ }
16
+
17
+ export interface OrderConfirmationApi {
18
+ /**
19
+ * Order information that's available post-checkout.
20
+ */
21
+ orderConfirmation: StatefulRemoteSubscribable<OrderConfirmation>;
22
+ }
@@ -1,4 +1,4 @@
1
- import {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
1
+ import type {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
2
2
 
3
3
  /**
4
4
  * Information about an order that was placed.
@@ -18,6 +18,11 @@ export interface Order {
18
18
  * If cancelled, the time at which the order was cancelled.
19
19
  */
20
20
  cancelledAt?: string;
21
+ /**
22
+ * A randomly generated alpha-numeric identifier for the order.
23
+ * For orders created in 2024 and onwards, the number will always be present. For orders created before that date, the number might not be present.
24
+ */
25
+ confirmationNumber?: string;
21
26
  }
22
27
 
23
28
  export interface OrderStatusApi {
@@ -1,4 +1,4 @@
1
- import {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
1
+ import type {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
2
2
 
3
3
  export type PaymentMethodAttributesResult =
4
4
  | PaymentMethodAttributesResultSuccess
@@ -0,0 +1,15 @@
1
+ import type {StatefulRemoteSubscribable} from '@remote-ui/async-subscription';
2
+
3
+ import type {PickupLocationOption} from '../standard/standard';
4
+
5
+ export interface PickupLocationItemApi {
6
+ /**
7
+ * The pickup location the extension is attached to.
8
+ */
9
+ target: StatefulRemoteSubscribable<PickupLocationOption>;
10
+
11
+ /**
12
+ * Whether the pickup location is currently selected.
13
+ */
14
+ isTargetSelected: StatefulRemoteSubscribable<boolean>;
15
+ }