@shopify/ui-extensions 2024.1.1 → 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 (533) 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.js +6 -4
  10. package/build/cjs/surfaces/customer-account.js +10 -4
  11. package/build/cjs/surfaces/point-of-sale/components/Actiontem/ActionItem.js +9 -0
  12. package/build/cjs/surfaces/point-of-sale/components/SectionHeader/SectionHeader.js +9 -0
  13. package/build/cjs/surfaces/point-of-sale.js +4 -0
  14. package/build/esm/surfaces/admin/components/FunctionSettings/FunctionSettings.mjs +5 -0
  15. package/build/esm/surfaces/admin/components/Section/Section.mjs +5 -0
  16. package/build/esm/surfaces/admin.mjs +3 -1
  17. package/build/esm/surfaces/checkout/components/Badge/Badge.mjs +8 -0
  18. package/build/esm/surfaces/checkout/components/Disclosure/Disclosure.mjs +1 -2
  19. package/build/esm/surfaces/checkout/components/Modal/Modal.mjs +1 -2
  20. package/build/esm/surfaces/checkout/components/Popover/Popover.mjs +1 -2
  21. package/build/esm/surfaces/checkout/components/Tooltip/Tooltip.mjs +2 -2
  22. package/build/esm/surfaces/checkout.mjs +2 -1
  23. package/build/esm/surfaces/customer-account.mjs +4 -1
  24. package/build/esm/surfaces/point-of-sale/components/Actiontem/ActionItem.mjs +5 -0
  25. package/build/esm/surfaces/point-of-sale/components/SectionHeader/SectionHeader.mjs +5 -0
  26. package/build/esm/surfaces/point-of-sale.mjs +2 -0
  27. package/build/esnext/surfaces/admin/components/FunctionSettings/FunctionSettings.esnext +5 -0
  28. package/build/esnext/surfaces/admin/components/Section/Section.esnext +5 -0
  29. package/build/esnext/surfaces/admin.esnext +3 -1
  30. package/build/esnext/surfaces/checkout/components/Badge/Badge.esnext +8 -0
  31. package/build/esnext/surfaces/checkout/components/Disclosure/Disclosure.esnext +1 -2
  32. package/build/esnext/surfaces/checkout/components/Modal/Modal.esnext +1 -2
  33. package/build/esnext/surfaces/checkout/components/Popover/Popover.esnext +1 -2
  34. package/build/esnext/surfaces/checkout/components/Tooltip/Tooltip.esnext +2 -2
  35. package/build/esnext/surfaces/checkout.esnext +2 -1
  36. package/build/esnext/surfaces/customer-account.esnext +4 -1
  37. package/build/esnext/surfaces/point-of-sale/components/Actiontem/ActionItem.esnext +5 -0
  38. package/build/esnext/surfaces/point-of-sale/components/SectionHeader/SectionHeader.esnext +5 -0
  39. package/build/esnext/surfaces/point-of-sale.esnext +2 -0
  40. package/build/ts/api.d.ts +1 -3
  41. package/build/ts/api.d.ts.map +1 -1
  42. package/build/ts/extension.d.ts +3 -0
  43. package/build/ts/extension.d.ts.map +1 -1
  44. package/build/ts/shared.d.ts +18 -1
  45. package/build/ts/shared.d.ts.map +1 -1
  46. package/build/ts/surfaces/admin/api/block/block.d.ts +13 -0
  47. package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
  48. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +33 -0
  49. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -0
  50. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +26 -0
  51. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -0
  52. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +12 -0
  53. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -0
  54. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts +4 -0
  55. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.doc.d.ts.map +1 -0
  56. package/build/ts/surfaces/admin/api/standard/standard.d.ts +0 -10
  57. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  58. package/build/ts/surfaces/admin/api.d.ts +3 -1
  59. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  60. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts +47 -0
  61. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.d.ts.map +1 -0
  62. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts +4 -0
  63. package/build/ts/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.d.ts.map +1 -0
  64. package/build/ts/surfaces/admin/components/Heading/Heading.d.ts +6 -1
  65. package/build/ts/surfaces/admin/components/Heading/Heading.d.ts.map +1 -1
  66. package/build/ts/surfaces/admin/components/Section/Section.d.ts +33 -0
  67. package/build/ts/surfaces/admin/components/Section/Section.d.ts.map +1 -0
  68. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts +4 -0
  69. package/build/ts/surfaces/admin/components/Section/Section.doc.d.ts.map +1 -0
  70. package/build/ts/surfaces/admin/components.d.ts +5 -1
  71. package/build/ts/surfaces/admin/components.d.ts.map +1 -1
  72. package/build/ts/surfaces/admin/extension-targets.d.ts +81 -14
  73. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  74. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts +76 -0
  75. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts.map +1 -0
  76. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
  77. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  78. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +3 -3
  79. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  80. package/build/ts/surfaces/checkout/api/docs.d.ts +6 -1
  81. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  82. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +21 -0
  83. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -0
  84. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts +6 -1
  85. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts.map +1 -1
  86. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
  87. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  88. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +13 -0
  89. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -0
  90. package/build/ts/surfaces/checkout/api/shared.d.ts +1 -18
  91. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  92. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
  93. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  94. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +2 -2
  95. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  96. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +166 -17
  97. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  98. package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts +43 -0
  99. package/build/ts/surfaces/checkout/components/Badge/Badge.d.ts.map +1 -0
  100. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts +4 -0
  101. package/build/ts/surfaces/checkout/components/Badge/Badge.doc.d.ts.map +1 -0
  102. package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts +1 -1
  103. package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
  104. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts +1 -1
  105. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.d.ts.map +1 -1
  106. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts +1 -1
  107. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts.map +1 -1
  108. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +2 -7
  109. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -1
  110. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts +1 -1
  111. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.d.ts.map +1 -1
  112. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +1 -1
  113. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
  114. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts +1 -1
  115. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
  116. package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts +1 -1
  117. package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
  118. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts +1 -1
  119. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.d.ts.map +1 -1
  120. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +1 -1
  121. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
  122. package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +1 -4
  123. package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -1
  124. package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts +1 -1
  125. package/build/ts/surfaces/checkout/components/Choice/Choice.doc.d.ts.map +1 -1
  126. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts +1 -1
  127. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  128. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts +1 -1
  129. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts.map +1 -1
  130. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +1 -1
  131. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -1
  132. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts +1 -1
  133. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts.map +1 -1
  134. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +1 -1
  135. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -1
  136. package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts +2 -2
  137. package/build/ts/surfaces/checkout/components/DateField/DateField.d.ts.map +1 -1
  138. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts +1 -1
  139. package/build/ts/surfaces/checkout/components/DateField/DateField.doc.d.ts.map +1 -1
  140. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts +1 -1
  141. package/build/ts/surfaces/checkout/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
  142. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts +2 -3
  143. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.d.ts.map +1 -1
  144. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts +1 -1
  145. package/build/ts/surfaces/checkout/components/Disclosure/Disclosure.doc.d.ts.map +1 -1
  146. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts +1 -1
  147. package/build/ts/surfaces/checkout/components/Divider/Divider.doc.d.ts.map +1 -1
  148. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts +1 -1
  149. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
  150. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +1 -1
  151. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
  152. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts +1 -1
  153. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -1
  154. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +1 -1
  155. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
  156. package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts +1 -1
  157. package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts.map +1 -1
  158. package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts +1 -1
  159. package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
  160. package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts +1 -1
  161. package/build/ts/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
  162. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +1 -1
  163. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
  164. package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts +1 -1
  165. package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
  166. package/build/ts/surfaces/checkout/components/Image/Image.d.ts +2 -2
  167. package/build/ts/surfaces/checkout/components/Image/Image.d.ts.map +1 -1
  168. package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts +1 -1
  169. package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
  170. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts +1 -1
  171. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.d.ts.map +1 -1
  172. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts +1 -1
  173. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts.map +1 -1
  174. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts +1 -1
  175. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.d.ts.map +1 -1
  176. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts +1 -1
  177. package/build/ts/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.d.ts.map +1 -1
  178. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +1 -1
  179. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
  180. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts +1 -1
  181. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
  182. package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts +1 -1
  183. package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
  184. package/build/ts/surfaces/checkout/components/List/List.d.ts +1 -1
  185. package/build/ts/surfaces/checkout/components/List/List.d.ts.map +1 -1
  186. package/build/ts/surfaces/checkout/components/List/List.doc.d.ts +1 -1
  187. package/build/ts/surfaces/checkout/components/List/List.doc.d.ts.map +1 -1
  188. package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts +1 -1
  189. package/build/ts/surfaces/checkout/components/ListItem/ListItem.doc.d.ts.map +1 -1
  190. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +1 -1
  191. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -1
  192. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts +1 -1
  193. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts.map +1 -1
  194. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts +1 -4
  195. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts.map +1 -1
  196. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts +1 -1
  197. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts.map +1 -1
  198. package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts +1 -2
  199. package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts.map +1 -1
  200. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +1 -1
  201. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
  202. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts +1 -1
  203. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
  204. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts +3 -3
  205. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.d.ts.map +1 -1
  206. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +1 -1
  207. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -1
  208. package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts +1 -2
  209. package/build/ts/surfaces/checkout/components/Popover/Popover.d.ts.map +1 -1
  210. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts +1 -1
  211. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -1
  212. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +1 -1
  213. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
  214. package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts +1 -1
  215. package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts.map +1 -1
  216. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts +2 -2
  217. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts.map +1 -1
  218. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +1 -1
  219. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -1
  220. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +1 -1
  221. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
  222. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts +1 -1
  223. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts.map +1 -1
  224. package/build/ts/surfaces/checkout/components/Select/Select.d.ts +1 -1
  225. package/build/ts/surfaces/checkout/components/Select/Select.d.ts.map +1 -1
  226. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts +1 -1
  227. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -1
  228. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts +4 -2
  229. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.d.ts.map +1 -1
  230. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts +1 -1
  231. package/build/ts/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.d.ts.map +1 -1
  232. package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts +1 -1
  233. package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.doc.d.ts.map +1 -1
  234. package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts +1 -1
  235. package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.d.ts.map +1 -1
  236. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts +1 -1
  237. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
  238. package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts +1 -1
  239. package/build/ts/surfaces/checkout/components/Stepper/Stepper.d.ts.map +1 -1
  240. package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts +1 -1
  241. package/build/ts/surfaces/checkout/components/Stepper/Stepper.doc.d.ts.map +1 -1
  242. package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +1 -1
  243. package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -1
  244. package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts +1 -1
  245. package/build/ts/surfaces/checkout/components/Tag/Tag.doc.d.ts.map +1 -1
  246. package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts +1 -1
  247. package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
  248. package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts +1 -1
  249. package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.doc.d.ts.map +1 -1
  250. package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts +3 -3
  251. package/build/ts/surfaces/checkout/components/TextField/TextField.d.ts.map +1 -1
  252. package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts +1 -1
  253. package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
  254. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts +1 -1
  255. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts.map +1 -1
  256. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts +1 -1
  257. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts.map +1 -1
  258. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.d.ts +2 -2
  259. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts +1 -1
  260. package/build/ts/surfaces/checkout/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
  261. package/build/ts/surfaces/checkout/components/View/View.d.ts +1 -1
  262. package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
  263. package/build/ts/surfaces/checkout/components/View/View.doc.d.ts +1 -1
  264. package/build/ts/surfaces/checkout/components/View/View.doc.d.ts.map +1 -1
  265. package/build/ts/surfaces/checkout/components/shared.d.ts +7 -7
  266. package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
  267. package/build/ts/surfaces/checkout/components.d.ts +2 -0
  268. package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
  269. package/build/ts/surfaces/checkout/helper.docs.d.ts +3 -4
  270. package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
  271. package/build/ts/surfaces/checkout/shared.d.ts +3 -4
  272. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  273. package/build/ts/surfaces/checkout/style/isEqual.d.ts +1 -3
  274. package/build/ts/surfaces/checkout/style/isEqual.d.ts.map +1 -1
  275. package/build/ts/surfaces/checkout/style/style.d.ts +1 -1
  276. package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
  277. package/build/ts/surfaces/checkout/style/style.doc.d.ts +1 -1
  278. package/build/ts/surfaces/checkout/style/style.doc.d.ts.map +1 -1
  279. package/build/ts/surfaces/checkout/style/types.d.ts +3 -3
  280. package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
  281. package/build/ts/surfaces/checkout/targets.d.ts +68 -20
  282. package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
  283. package/build/ts/surfaces/checkout.d.ts +17 -2
  284. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  285. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +22 -0
  286. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  287. package/build/ts/surfaces/customer-account/api/shared.d.ts +2 -17
  288. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  289. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +1 -1
  290. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -1
  291. package/build/ts/surfaces/customer-account/targets.d.ts +1 -1
  292. package/build/ts/surfaces/customer-account.d.ts +2 -1
  293. package/build/ts/surfaces/customer-account.d.ts.map +1 -1
  294. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
  295. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
  296. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +8 -0
  297. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  298. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
  299. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
  300. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +19 -10
  301. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
  302. package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts +6 -1
  303. package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts.map +1 -1
  304. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +1 -2
  305. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
  306. package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts +1 -0
  307. package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts.map +1 -1
  308. package/build/ts/surfaces/point-of-sale/api.d.ts +3 -1
  309. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  310. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts +10 -0
  311. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts.map +1 -0
  312. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +3 -0
  313. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -1
  314. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts +2 -2
  315. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts.map +1 -1
  316. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +5 -0
  317. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -1
  318. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +2 -2
  319. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -1
  320. package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts +33 -0
  321. package/build/ts/surfaces/point-of-sale/components/SectionHeader/SectionHeader.d.ts.map +1 -0
  322. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +2 -2
  323. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -1
  324. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +1 -15
  325. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -1
  326. package/build/ts/surfaces/point-of-sale/components.d.ts +5 -1
  327. package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -1
  328. package/build/ts/surfaces/point-of-sale/targets.d.ts +8 -4
  329. package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
  330. package/build/tsconfig.tsbuildinfo +1 -1
  331. package/package.json +2 -2
  332. package/src/api.ts +1 -1
  333. package/src/extension.ts +4 -0
  334. package/src/shared.ts +835 -0
  335. package/src/surfaces/admin/api/action/action.doc.ts +1 -1
  336. package/src/surfaces/admin/api/block/block.ts +15 -0
  337. package/src/surfaces/admin/api/checkout-rules/launch-options.ts +34 -0
  338. package/src/surfaces/admin/api/checkout-rules/metafields.ts +76 -0
  339. package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +25 -0
  340. package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +15 -0
  341. package/src/surfaces/admin/api/standard/standard.ts +0 -12
  342. package/src/surfaces/admin/api.ts +3 -1
  343. package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +1 -1
  344. package/src/surfaces/admin/components/Badge/Badge.doc.ts +2 -2
  345. package/src/surfaces/admin/components/Banner/Banner.doc.ts +2 -2
  346. package/src/surfaces/admin/components/BlockStack/BlockStack.doc.ts +2 -2
  347. package/src/surfaces/admin/components/Box/Box.doc.ts +2 -2
  348. package/src/surfaces/admin/components/Button/Button.doc.ts +2 -2
  349. package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +2 -2
  350. package/src/surfaces/admin/components/ChoiceList/ChoiceList.doc.ts +2 -2
  351. package/src/surfaces/admin/components/ColorPicker/ColorPicker.doc.ts +2 -2
  352. package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts +2 -2
  353. package/src/surfaces/admin/components/DateField/DateField.doc.ts +3 -3
  354. package/src/surfaces/admin/components/Divider/Divider.doc.ts +2 -2
  355. package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +2 -2
  356. package/src/surfaces/admin/components/Form/Form.doc.ts +2 -2
  357. package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.doc.ts +57 -0
  358. package/src/surfaces/admin/components/FunctionSettings/FunctionSettings.ts +52 -0
  359. package/src/surfaces/admin/components/FunctionSettings/examples/basic-functionsettings.example.ts +47 -0
  360. package/src/surfaces/admin/components/Heading/Heading.doc.ts +2 -2
  361. package/src/surfaces/admin/components/Heading/Heading.ts +6 -1
  362. package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +2 -2
  363. package/src/surfaces/admin/components/Icon/Icon.doc.ts +2 -2
  364. package/src/surfaces/admin/components/Image/Image.doc.ts +2 -2
  365. package/src/surfaces/admin/components/MoneyField/MoneyField.doc.ts +2 -2
  366. package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +2 -2
  367. package/src/surfaces/admin/components/Paragraph/Paragraph.doc.ts +1 -1
  368. package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +2 -2
  369. package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.ts +2 -2
  370. package/src/surfaces/admin/components/Section/README.md +95 -0
  371. package/src/surfaces/admin/components/Section/Section.doc.ts +41 -0
  372. package/src/surfaces/admin/components/Section/Section.ts +35 -0
  373. package/src/surfaces/admin/components/Section/examples/basic-Section.example.ts +19 -0
  374. package/src/surfaces/admin/components/Select/Select.doc.ts +2 -2
  375. package/src/surfaces/admin/components/Text/Text.doc.ts +2 -2
  376. package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +2 -2
  377. package/src/surfaces/admin/components/TextField/TextField.doc.ts +2 -2
  378. package/src/surfaces/admin/components/URLField/URLField.doc.ts +2 -2
  379. package/src/surfaces/admin/components.ts +8 -1
  380. package/src/surfaces/admin/extension-targets.ts +125 -13
  381. package/src/surfaces/checkout/api/address-autocomplete/address-autocomplete.ts +87 -0
  382. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -1
  383. package/src/surfaces/checkout/api/checkout/checkout.ts +3 -3
  384. package/src/surfaces/checkout/api/docs.ts +7 -6
  385. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +22 -0
  386. package/src/surfaces/checkout/api/order-status/order-status.ts +6 -1
  387. package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
  388. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +15 -0
  389. package/src/surfaces/checkout/api/shared.ts +1 -833
  390. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -1
  391. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +2 -2
  392. package/src/surfaces/checkout/api/standard/standard.ts +203 -15
  393. package/src/surfaces/checkout/components/Badge/Badge.doc.ts +76 -0
  394. package/src/surfaces/checkout/components/Badge/Badge.ts +42 -0
  395. package/src/surfaces/checkout/components/Badge/content/guidelines.md +8 -0
  396. package/src/surfaces/checkout/components/Badge/examples/basic-badge.example.ts +7 -0
  397. package/src/surfaces/checkout/components/Badge/examples/status-badge.example.ts +39 -0
  398. package/src/surfaces/checkout/components/Banner/Banner.doc.ts +1 -1
  399. package/src/surfaces/checkout/components/BlockLayout/BlockLayout.doc.ts +1 -1
  400. package/src/surfaces/checkout/components/BlockLayout/BlockLayout.ts +1 -1
  401. package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.doc.ts +1 -1
  402. package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts +2 -2
  403. package/src/surfaces/checkout/components/BlockStack/BlockStack.doc.ts +1 -1
  404. package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +1 -1
  405. package/src/surfaces/checkout/components/Button/Button.doc.ts +1 -1
  406. package/src/surfaces/checkout/components/Checkbox/Checkbox.doc.ts +1 -1
  407. package/src/surfaces/checkout/components/Checkbox/Checkbox.ts +1 -1
  408. package/src/surfaces/checkout/components/Choice/Choice.doc.ts +1 -1
  409. package/src/surfaces/checkout/components/Choice/Choice.ts +2 -1
  410. package/src/surfaces/checkout/components/ChoiceList/ChoiceList.doc.ts +1 -1
  411. package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.ts +1 -1
  412. package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.ts +1 -1
  413. package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.ts +1 -1
  414. package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.ts +1 -1
  415. package/src/surfaces/checkout/components/DateField/DateField.doc.ts +1 -1
  416. package/src/surfaces/checkout/components/DateField/DateField.ts +2 -2
  417. package/src/surfaces/checkout/components/DatePicker/DatePicker.doc.ts +1 -1
  418. package/src/surfaces/checkout/components/Disclosure/Disclosure.doc.ts +2 -2
  419. package/src/surfaces/checkout/components/Disclosure/Disclosure.ts +2 -3
  420. package/src/surfaces/checkout/components/Divider/Divider.doc.ts +1 -1
  421. package/src/surfaces/checkout/components/Form/Form.doc.ts +1 -1
  422. package/src/surfaces/checkout/components/Grid/Grid.doc.ts +1 -1
  423. package/src/surfaces/checkout/components/Grid/Grid.ts +1 -1
  424. package/src/surfaces/checkout/components/GridItem/GridItem.doc.ts +1 -1
  425. package/src/surfaces/checkout/components/GridItem/GridItem.ts +1 -1
  426. package/src/surfaces/checkout/components/Heading/Heading.doc.ts +1 -1
  427. package/src/surfaces/checkout/components/HeadingGroup/HeadingGroup.doc.ts +1 -1
  428. package/src/surfaces/checkout/components/Icon/Icon.doc.ts +1 -1
  429. package/src/surfaces/checkout/components/Icon/Icon.ts +3 -0
  430. package/src/surfaces/checkout/components/Image/Image.doc.ts +1 -1
  431. package/src/surfaces/checkout/components/Image/Image.ts +2 -2
  432. package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +1 -2
  433. package/src/surfaces/checkout/components/InlineLayout/InlineLayout.doc.ts +1 -1
  434. package/src/surfaces/checkout/components/InlineLayout/InlineLayout.ts +1 -1
  435. package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.doc.ts +1 -1
  436. package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.ts +1 -1
  437. package/src/surfaces/checkout/components/InlineStack/InlineStack.doc.ts +1 -1
  438. package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +1 -1
  439. package/src/surfaces/checkout/components/Link/Link.doc.ts +1 -1
  440. package/src/surfaces/checkout/components/List/List.doc.ts +1 -1
  441. package/src/surfaces/checkout/components/List/List.ts +1 -1
  442. package/src/surfaces/checkout/components/ListItem/ListItem.doc.ts +1 -1
  443. package/src/surfaces/checkout/components/Map/Map.doc.ts +1 -1
  444. package/src/surfaces/checkout/components/MapMarker/MapMarker.doc.ts +1 -1
  445. package/src/surfaces/checkout/components/MapPopover/MapPopover.doc.ts +1 -1
  446. package/src/surfaces/checkout/components/MapPopover/MapPopover.ts +1 -1
  447. package/src/surfaces/checkout/components/Modal/Modal.doc.ts +2 -2
  448. package/src/surfaces/checkout/components/Modal/Modal.ts +1 -2
  449. package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.ts +1 -1
  450. package/src/surfaces/checkout/components/PhoneField/PhoneField.doc.ts +1 -1
  451. package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +4 -3
  452. package/src/surfaces/checkout/components/Popover/Popover.doc.ts +2 -2
  453. package/src/surfaces/checkout/components/Popover/Popover.ts +1 -2
  454. package/src/surfaces/checkout/components/Pressable/Pressable.doc.ts +1 -1
  455. package/src/surfaces/checkout/components/Pressable/Pressable.ts +1 -1
  456. package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.ts +1 -1
  457. package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.ts +5 -2
  458. package/src/surfaces/checkout/components/ScrollView/ScrollView.doc.ts +1 -1
  459. package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +1 -1
  460. package/src/surfaces/checkout/components/Select/Select.doc.ts +1 -1
  461. package/src/surfaces/checkout/components/Select/Select.ts +1 -1
  462. package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.doc.ts +1 -1
  463. package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.ts +1 -1
  464. package/src/surfaces/checkout/components/SkeletonText/SkeletonText.doc.ts +1 -1
  465. package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.doc.ts +1 -1
  466. package/src/surfaces/checkout/components/Spinner/Spinner.doc.ts +1 -1
  467. package/src/surfaces/checkout/components/Stepper/Stepper.doc.ts +1 -1
  468. package/src/surfaces/checkout/components/Stepper/Stepper.ts +1 -1
  469. package/src/surfaces/checkout/components/Tag/Tag.doc.ts +1 -1
  470. package/src/surfaces/checkout/components/Tag/Tag.ts +1 -1
  471. package/src/surfaces/checkout/components/Text/Text.doc.ts +1 -1
  472. package/src/surfaces/checkout/components/TextBlock/TextBlock.doc.ts +1 -1
  473. package/src/surfaces/checkout/components/TextField/TextField.doc.ts +1 -1
  474. package/src/surfaces/checkout/components/TextField/TextField.ts +4 -3
  475. package/src/surfaces/checkout/components/ToggleButton/ToggleButton.doc.ts +1 -1
  476. package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.ts +1 -1
  477. package/src/surfaces/checkout/components/Tooltip/Tooltip.doc.ts +2 -2
  478. package/src/surfaces/checkout/components/Tooltip/Tooltip.ts +2 -2
  479. package/src/surfaces/checkout/components/View/View.doc.ts +1 -1
  480. package/src/surfaces/checkout/components/View/View.ts +1 -1
  481. package/src/surfaces/checkout/components/shared.ts +10 -7
  482. package/src/surfaces/checkout/components.ts +3 -0
  483. package/src/surfaces/checkout/helper.docs.ts +5 -4
  484. package/src/surfaces/checkout/shared.ts +3 -3
  485. package/src/surfaces/checkout/style/isEqual.ts +3 -3
  486. package/src/surfaces/checkout/style/style.doc.ts +1 -1
  487. package/src/surfaces/checkout/style/style.ts +1 -1
  488. package/src/surfaces/checkout/style/types.ts +3 -3
  489. package/src/surfaces/checkout/targets.ts +102 -36
  490. package/src/surfaces/checkout.ts +174 -2
  491. package/src/surfaces/customer-account/api/order-status/order-status.ts +25 -0
  492. package/src/surfaces/customer-account/api/shared.ts +18 -831
  493. package/src/surfaces/customer-account/components/shared-checkout-components.ts +6 -0
  494. package/src/surfaces/customer-account/targets.ts +1 -1
  495. package/src/surfaces/customer-account.ts +2 -1
  496. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
  497. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +10 -0
  498. package/src/surfaces/point-of-sale/api/order-api/order-api.tsx +26 -0
  499. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +24 -10
  500. package/src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts +6 -1
  501. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +0 -2
  502. package/src/surfaces/point-of-sale/api/types/cart.ts +1 -0
  503. package/src/surfaces/point-of-sale/api.ts +5 -0
  504. package/src/surfaces/point-of-sale/components/Actiontem/ActionItem.ts +10 -0
  505. package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +9 -1
  506. package/src/surfaces/point-of-sale/components/EmailField/EmailField.ts +2 -2
  507. package/src/surfaces/point-of-sale/components/List/List.ts +5 -1
  508. package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +2 -2
  509. package/src/surfaces/point-of-sale/components/SectionHeader/SectionHeader.ts +34 -0
  510. package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +2 -2
  511. package/src/surfaces/point-of-sale/components/shared/InputField.ts +1 -17
  512. package/src/surfaces/point-of-sale/components.ts +5 -5
  513. package/src/surfaces/point-of-sale/targets.ts +24 -4
  514. package/build/ts/surfaces/checkout/api.d.ts +0 -12
  515. package/build/ts/surfaces/checkout/api.d.ts.map +0 -1
  516. package/build/ts/surfaces/checkout/style/index.d.ts +0 -3
  517. package/build/ts/surfaces/checkout/style/index.d.ts.map +0 -1
  518. package/build/ts/surfaces/checkout/style.d.ts +0 -3
  519. package/build/ts/surfaces/checkout/style.d.ts.map +0 -1
  520. package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.tsx +0 -15
  521. package/src/surfaces/checkout/api.ts +0 -141
  522. package/src/surfaces/checkout/style/index.ts +0 -16
  523. package/src/surfaces/checkout/style.ts +0 -16
  524. /package/src/surfaces/admin/components/Badge/examples/{basic-Badge.example.ts → basic-badge.example.ts} +0 -0
  525. /package/src/surfaces/admin/components/Banner/examples/{basic-Banner.example.ts → basic-banner.example.ts} +0 -0
  526. /package/src/surfaces/admin/components/ChoiceList/examples/{basic-ChoiceList.example.ts → basic-choicelist.example.ts} +0 -0
  527. /package/src/surfaces/admin/components/ColorPicker/examples/{basic-ColorPicker.example.ts → basic-colorpicker.example.ts} +0 -0
  528. /package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/{CustomerSegmentTemplate.example.ts → customersegmenttemplate.example.ts} +0 -0
  529. /package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/examples/{InternalCustomerSegmentTemplate.example.ts → internalcustomersegmenttemplate.example.ts} +0 -0
  530. /package/src/surfaces/admin/components/ProgressIndicator/examples/{basic-ProgressIndicator.example.ts → basic-progressindicator.example.ts} +0 -0
  531. /package/src/surfaces/admin/components/ResourceItem/examples/{basic-ResourceItem.example.ts → basic-resourceitem.example.ts} +0 -0
  532. /package/src/surfaces/admin/components/ResourceList/examples/{basic-ResourceList.example.ts → basic-resourcelist.example.ts} +0 -0
  533. /package/src/surfaces/admin/components/Thumbnail/examples/{basic-Thumbnail.example.ts → basic-thumbnail.example.ts} +0 -0
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@remote-ui/core');
6
+
7
+ const FunctionSettings = core.createRemoteComponent('FunctionSettings');
8
+
9
+ exports.FunctionSettings = FunctionSettings;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@remote-ui/core');
6
+
7
+ const Section = core.createRemoteComponent('Section');
8
+
9
+ exports.Section = Section;
@@ -13,13 +13,14 @@ var Button = require('./admin/components/Button/Button.js');
13
13
  var Card = require('./admin/components/Card/Card.js');
14
14
  var Checkbox = require('./admin/components/Checkbox/Checkbox.js');
15
15
  var ChoiceList = require('./admin/components/ChoiceList/ChoiceList.js');
16
- var CustomerSegmentTemplate = require('./admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.js');
17
16
  var ColorPicker = require('./admin/components/ColorPicker/ColorPicker.js');
17
+ var CustomerSegmentTemplate = require('./admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.js');
18
18
  var DateField = require('./admin/components/DateField/DateField.js');
19
19
  var DatePicker = require('./admin/components/DatePicker/DatePicker.js');
20
20
  var Divider = require('./admin/components/Divider/Divider.js');
21
21
  var EmailField = require('./admin/components/EmailField/EmailField.js');
22
22
  var Form = require('./admin/components/Form/Form.js');
23
+ var FunctionSettings = require('./admin/components/FunctionSettings/FunctionSettings.js');
23
24
  var Heading = require('./admin/components/Heading/Heading.js');
24
25
  var HeadingGroup = require('./admin/components/HeadingGroup/HeadingGroup.js');
25
26
  var Icon = require('./admin/components/Icon/Icon.js');
@@ -35,6 +36,7 @@ var Pressable = require('./admin/components/Pressable/Pressable.js');
35
36
  var ProgressIndicator = require('./admin/components/ProgressIndicator/ProgressIndicator.js');
36
37
  var ResourceItem = require('./admin/components/ResourceItem/ResourceItem.js');
37
38
  var ResourceList = require('./admin/components/ResourceList/ResourceList.js');
39
+ var Section = require('./admin/components/Section/Section.js');
38
40
  var Select = require('./admin/components/Select/Select.js');
39
41
  var Text = require('./admin/components/Text/Text.js');
40
42
  var TextArea = require('./admin/components/TextArea/TextArea.js');
@@ -57,13 +59,14 @@ exports.Button = Button.Button;
57
59
  exports.Card = Card.Card;
58
60
  exports.Checkbox = Checkbox.Checkbox;
59
61
  exports.ChoiceList = ChoiceList.ChoiceList;
60
- exports.CustomerSegmentTemplate = CustomerSegmentTemplate.CustomerSegmentTemplate;
61
62
  exports.ColorPicker = ColorPicker.ColorPicker;
63
+ exports.CustomerSegmentTemplate = CustomerSegmentTemplate.CustomerSegmentTemplate;
62
64
  exports.DateField = DateField.DateField;
63
65
  exports.DatePicker = DatePicker.DatePicker;
64
66
  exports.Divider = Divider.Divider;
65
67
  exports.EmailField = EmailField.EmailField;
66
68
  exports.Form = Form.Form;
69
+ exports.FunctionSettings = FunctionSettings.FunctionSettings;
67
70
  exports.Heading = Heading.Heading;
68
71
  exports.HeadingGroup = HeadingGroup.HeadingGroup;
69
72
  exports.Icon = Icon.Icon;
@@ -79,6 +82,7 @@ exports.Pressable = Pressable.Pressable;
79
82
  exports.ProgressIndicator = ProgressIndicator.ProgressIndicator;
80
83
  exports.ResourceItem = ResourceItem.ResourceItem;
81
84
  exports.ResourceList = ResourceList.ResourceList;
85
+ exports.Section = Section.Section;
82
86
  exports.Select = Select.Select;
83
87
  exports.Text = Text.Text;
84
88
  exports.TextArea = TextArea.TextArea;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@remote-ui/core');
6
+
7
+ /**
8
+ * Use badges to highlight contextual information, like a label or a status, about an object. An object can be anything that has a status or label attributed to it.
9
+ */
10
+ const Badge = core.createRemoteComponent('Badge');
11
+
12
+ exports.Badge = Badge;
@@ -12,8 +12,7 @@ var core = require('@remote-ui/core');
12
12
  * The content blocks can be specified as children inside a structure component (`View`, `InlineLayout`,
13
13
  * `BlockStack`, `Grid`, etc.).
14
14
  *
15
- * The library takes care of applying the WAI-ARIA Accordion pattern automatically for the activator
16
- * and the toggled content.
15
+ * The library automatically applies the [WAI-ARIA Accordion pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) to both the activator and the toggled content.
17
16
  */
18
17
  const Disclosure = core.createRemoteComponent('Disclosure');
19
18
 
@@ -9,8 +9,7 @@ var core = require('@remote-ui/core');
9
9
  * before the main flow can proceed.
10
10
  * They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
11
11
  *
12
- * The library takes care of applying the WAI-ARIA Dialog pattern automatically for the activator
13
- * and the modal content.
12
+ * The library automatically applies the [WAI-ARIA Dialog pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) to both the activator and the modal content.
14
13
  */
15
14
  const Modal = core.createRemoteComponent('Modal');
16
15
 
@@ -9,8 +9,7 @@ var core = require('@remote-ui/core');
9
9
  * The difference is that the popover can contain more content, without cluttering the page.
10
10
  * They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
11
11
  *
12
- * The library takes care of applying the WAI-ARIA Popover Widget pattern automatically for the activator
13
- * and the popover content.
12
+ * The library automatically applies the WAI-ARIA Popover Widget pattern to both the activator and the popover content.
14
13
  */
15
14
  const Popover = core.createRemoteComponent('Popover');
16
15
 
@@ -9,8 +9,8 @@ var core = require('@remote-ui/core');
9
9
  * They must be specified inside the `overlay` prop of an activator component.
10
10
  * Currently, activator components are `Button`, `Link`, and `Pressable`.
11
11
  *
12
- * The library takes care of applying the WAI-ARIA Tooltip Widget pattern automatically for the activator
13
- * and the tooltip content. Expect screen readers to read the tooltip content when the user focuses the activator.
12
+ * The library automatically applies the [WAI-ARIA Tooltip Widget pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/) to both the activator and the tooltip content.
13
+ * Expect screen readers to read the tooltip content when the user focuses the activator.
14
14
  */
15
15
  const Tooltip = core.createRemoteComponent('Tooltip');
16
16
 
@@ -3,6 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var extension = require('./checkout/extension.js');
6
+ var style = require('./checkout/style/style.js');
7
+ var Badge = require('./checkout/components/Badge/Badge.js');
6
8
  var Banner = require('./checkout/components/Banner/Banner.js');
7
9
  var BlockLayout = require('./checkout/components/BlockLayout/BlockLayout.js');
8
10
  var BlockSpacer = require('./checkout/components/BlockSpacer/BlockSpacer.js');
@@ -55,12 +57,15 @@ var Tooltip = require('./checkout/components/Tooltip/Tooltip.js');
55
57
  var ToggleButton = require('./checkout/components/ToggleButton/ToggleButton.js');
56
58
  var ToggleButtonGroup = require('./checkout/components/ToggleButtonGroup/ToggleButtonGroup.js');
57
59
  var View = require('./checkout/components/View/View.js');
58
- var style = require('./checkout/style/style.js');
59
60
 
60
61
 
61
62
 
62
63
  exports.extend = extension.extend;
63
64
  exports.extension = extension.extension;
65
+ exports.Style = style.Style;
66
+ exports.isConditionalStyle = style.isConditionalStyle;
67
+ exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
68
+ exports.Badge = Badge.Badge;
64
69
  exports.Banner = Banner.Banner;
65
70
  exports.BlockLayout = BlockLayout.BlockLayout;
66
71
  exports.BlockSpacer = BlockSpacer.BlockSpacer;
@@ -113,6 +118,3 @@ exports.Tooltip = Tooltip.Tooltip;
113
118
  exports.ToggleButton = ToggleButton.ToggleButton;
114
119
  exports.ToggleButtonGroup = ToggleButtonGroup.ToggleButtonGroup;
115
120
  exports.View = View.View;
116
- exports.Style = style.Style;
117
- exports.isConditionalStyle = style.isConditionalStyle;
118
- exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
@@ -3,7 +3,9 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var extension = require('./customer-account/extension.js');
6
+ var style = require('./checkout/style/style.js');
6
7
  var Card = require('./customer-account/components/Card/Card.js');
8
+ var Badge = require('./checkout/components/Badge/Badge.js');
7
9
  var Banner = require('./checkout/components/Banner/Banner.js');
8
10
  var BlockLayout = require('./checkout/components/BlockLayout/BlockLayout.js');
9
11
  var BlockSpacer = require('./checkout/components/BlockSpacer/BlockSpacer.js');
@@ -51,13 +53,18 @@ var TextBlock = require('./checkout/components/TextBlock/TextBlock.js');
51
53
  var TextField = require('./checkout/components/TextField/TextField.js');
52
54
  var Tooltip = require('./checkout/components/Tooltip/Tooltip.js');
53
55
  var View = require('./checkout/components/View/View.js');
54
- var style = require('./checkout/style/style.js');
56
+ var ToggleButton = require('./checkout/components/ToggleButton/ToggleButton.js');
57
+ var ToggleButtonGroup = require('./checkout/components/ToggleButtonGroup/ToggleButtonGroup.js');
55
58
 
56
59
 
57
60
 
58
61
  exports.extend = extension.extend;
59
62
  exports.extension = extension.extension;
63
+ exports.Style = style.Style;
64
+ exports.isConditionalStyle = style.isConditionalStyle;
65
+ exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
60
66
  exports.Card = Card.Card;
67
+ exports.Badge = Badge.Badge;
61
68
  exports.Banner = Banner.Banner;
62
69
  exports.BlockLayout = BlockLayout.BlockLayout;
63
70
  exports.BlockSpacer = BlockSpacer.BlockSpacer;
@@ -105,6 +112,5 @@ exports.TextBlock = TextBlock.TextBlock;
105
112
  exports.TextField = TextField.TextField;
106
113
  exports.Tooltip = Tooltip.Tooltip;
107
114
  exports.View = View.View;
108
- exports.Style = style.Style;
109
- exports.isConditionalStyle = style.isConditionalStyle;
110
- exports.isConditionalStyleWithDefault = style.isConditionalStyleWithDefault;
115
+ exports.ToggleButton = ToggleButton.ToggleButton;
116
+ exports.ToggleButtonGroup = ToggleButtonGroup.ToggleButtonGroup;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@remote-ui/core');
6
+
7
+ const ActionItem = core.createRemoteComponent('ActionItem');
8
+
9
+ exports.ActionItem = ActionItem;
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var core = require('@remote-ui/core');
6
+
7
+ const SectionHeader = core.createRemoteComponent('SectionHeader');
8
+
9
+ exports.SectionHeader = SectionHeader;
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var extension = require('./point-of-sale/extension.js');
6
+ var ActionItem = require('./point-of-sale/components/Actiontem/ActionItem.js');
6
7
  var Badge = require('./point-of-sale/components/Badge/Badge.js');
7
8
  var Banner = require('./point-of-sale/components/Banner/Banner.js');
8
9
  var Button = require('./point-of-sale/components/Button/Button.js');
@@ -33,11 +34,13 @@ var TextField = require('./point-of-sale/components/TextField/TextField.js');
33
34
  var Tile = require('./point-of-sale/components/Tile/Tile.js');
34
35
  var TimeField = require('./point-of-sale/components/TimeField/TimeField.js');
35
36
  var TimePicker = require('./point-of-sale/components/TimePicker/TimePicker.js');
37
+ var SectionHeader = require('./point-of-sale/components/SectionHeader/SectionHeader.js');
36
38
 
37
39
 
38
40
 
39
41
  exports.extend = extension.extend;
40
42
  exports.extension = extension.extension;
43
+ exports.ActionItem = ActionItem.ActionItem;
41
44
  exports.Badge = Badge.Badge;
42
45
  exports.Banner = Banner.Banner;
43
46
  exports.Button = Button.Button;
@@ -68,3 +71,4 @@ exports.TextField = TextField.TextField;
68
71
  exports.Tile = Tile.Tile;
69
72
  exports.TimeField = TimeField.TimeField;
70
73
  exports.TimePicker = TimePicker.TimePicker;
74
+ exports.SectionHeader = SectionHeader.SectionHeader;
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const FunctionSettings = createRemoteComponent('FunctionSettings');
4
+
5
+ export { FunctionSettings };
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const Section = createRemoteComponent('Section');
4
+
5
+ export { Section };
@@ -9,13 +9,14 @@ export { Button } from './admin/components/Button/Button.mjs';
9
9
  export { Card } from './admin/components/Card/Card.mjs';
10
10
  export { Checkbox } from './admin/components/Checkbox/Checkbox.mjs';
11
11
  export { ChoiceList } from './admin/components/ChoiceList/ChoiceList.mjs';
12
- export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.mjs';
13
12
  export { ColorPicker } from './admin/components/ColorPicker/ColorPicker.mjs';
13
+ export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.mjs';
14
14
  export { DateField } from './admin/components/DateField/DateField.mjs';
15
15
  export { DatePicker } from './admin/components/DatePicker/DatePicker.mjs';
16
16
  export { Divider } from './admin/components/Divider/Divider.mjs';
17
17
  export { EmailField } from './admin/components/EmailField/EmailField.mjs';
18
18
  export { Form } from './admin/components/Form/Form.mjs';
19
+ export { FunctionSettings } from './admin/components/FunctionSettings/FunctionSettings.mjs';
19
20
  export { Heading } from './admin/components/Heading/Heading.mjs';
20
21
  export { HeadingGroup } from './admin/components/HeadingGroup/HeadingGroup.mjs';
21
22
  export { Icon } from './admin/components/Icon/Icon.mjs';
@@ -31,6 +32,7 @@ export { Pressable } from './admin/components/Pressable/Pressable.mjs';
31
32
  export { ProgressIndicator } from './admin/components/ProgressIndicator/ProgressIndicator.mjs';
32
33
  export { ResourceItem } from './admin/components/ResourceItem/ResourceItem.mjs';
33
34
  export { ResourceList } from './admin/components/ResourceList/ResourceList.mjs';
35
+ export { Section } from './admin/components/Section/Section.mjs';
34
36
  export { Select } from './admin/components/Select/Select.mjs';
35
37
  export { Text } from './admin/components/Text/Text.mjs';
36
38
  export { TextArea } from './admin/components/TextArea/TextArea.mjs';
@@ -0,0 +1,8 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ /**
4
+ * Use badges to highlight contextual information, like a label or a status, about an object. An object can be anything that has a status or label attributed to it.
5
+ */
6
+ const Badge = createRemoteComponent('Badge');
7
+
8
+ export { Badge };
@@ -8,8 +8,7 @@ import { createRemoteComponent } from '@remote-ui/core';
8
8
  * The content blocks can be specified as children inside a structure component (`View`, `InlineLayout`,
9
9
  * `BlockStack`, `Grid`, etc.).
10
10
  *
11
- * The library takes care of applying the WAI-ARIA Accordion pattern automatically for the activator
12
- * and the toggled content.
11
+ * The library automatically applies the [WAI-ARIA Accordion pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) to both the activator and the toggled content.
13
12
  */
14
13
  const Disclosure = createRemoteComponent('Disclosure');
15
14
 
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
5
5
  * before the main flow can proceed.
6
6
  * They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
7
7
  *
8
- * The library takes care of applying the WAI-ARIA Dialog pattern automatically for the activator
9
- * and the modal content.
8
+ * The library automatically applies the [WAI-ARIA Dialog pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) to both the activator and the modal content.
10
9
  */
11
10
  const Modal = createRemoteComponent('Modal');
12
11
 
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
5
5
  * The difference is that the popover can contain more content, without cluttering the page.
6
6
  * They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
7
7
  *
8
- * The library takes care of applying the WAI-ARIA Popover Widget pattern automatically for the activator
9
- * and the popover content.
8
+ * The library automatically applies the WAI-ARIA Popover Widget pattern to both the activator and the popover content.
10
9
  */
11
10
  const Popover = createRemoteComponent('Popover');
12
11
 
@@ -5,8 +5,8 @@ import { createRemoteComponent } from '@remote-ui/core';
5
5
  * They must be specified inside the `overlay` prop of an activator component.
6
6
  * Currently, activator components are `Button`, `Link`, and `Pressable`.
7
7
  *
8
- * The library takes care of applying the WAI-ARIA Tooltip Widget pattern automatically for the activator
9
- * and the tooltip content. Expect screen readers to read the tooltip content when the user focuses the activator.
8
+ * The library automatically applies the [WAI-ARIA Tooltip Widget pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/) to both the activator and the tooltip content.
9
+ * Expect screen readers to read the tooltip content when the user focuses the activator.
10
10
  */
11
11
  const Tooltip = createRemoteComponent('Tooltip');
12
12
 
@@ -1,4 +1,6 @@
1
1
  export { extend, extension } from './checkout/extension.mjs';
2
+ export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.mjs';
3
+ export { Badge } from './checkout/components/Badge/Badge.mjs';
2
4
  export { Banner } from './checkout/components/Banner/Banner.mjs';
3
5
  export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.mjs';
4
6
  export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.mjs';
@@ -51,4 +53,3 @@ export { Tooltip } from './checkout/components/Tooltip/Tooltip.mjs';
51
53
  export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.mjs';
52
54
  export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.mjs';
53
55
  export { View } from './checkout/components/View/View.mjs';
54
- export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.mjs';
@@ -1,5 +1,7 @@
1
1
  export { extend, extension } from './customer-account/extension.mjs';
2
+ export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.mjs';
2
3
  export { Card } from './customer-account/components/Card/Card.mjs';
4
+ export { Badge } from './checkout/components/Badge/Badge.mjs';
3
5
  export { Banner } from './checkout/components/Banner/Banner.mjs';
4
6
  export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.mjs';
5
7
  export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.mjs';
@@ -47,4 +49,5 @@ export { TextBlock } from './checkout/components/TextBlock/TextBlock.mjs';
47
49
  export { TextField } from './checkout/components/TextField/TextField.mjs';
48
50
  export { Tooltip } from './checkout/components/Tooltip/Tooltip.mjs';
49
51
  export { View } from './checkout/components/View/View.mjs';
50
- export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.mjs';
52
+ export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.mjs';
53
+ export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.mjs';
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const ActionItem = createRemoteComponent('ActionItem');
4
+
5
+ export { ActionItem };
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const SectionHeader = createRemoteComponent('SectionHeader');
4
+
5
+ export { SectionHeader };
@@ -1,4 +1,5 @@
1
1
  export { extend, extension } from './point-of-sale/extension.mjs';
2
+ export { ActionItem } from './point-of-sale/components/Actiontem/ActionItem.mjs';
2
3
  export { Badge } from './point-of-sale/components/Badge/Badge.mjs';
3
4
  export { Banner } from './point-of-sale/components/Banner/Banner.mjs';
4
5
  export { Button } from './point-of-sale/components/Button/Button.mjs';
@@ -29,3 +30,4 @@ export { TextField } from './point-of-sale/components/TextField/TextField.mjs';
29
30
  export { Tile } from './point-of-sale/components/Tile/Tile.mjs';
30
31
  export { TimeField } from './point-of-sale/components/TimeField/TimeField.mjs';
31
32
  export { TimePicker } from './point-of-sale/components/TimePicker/TimePicker.mjs';
33
+ export { SectionHeader } from './point-of-sale/components/SectionHeader/SectionHeader.mjs';
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const FunctionSettings = createRemoteComponent('FunctionSettings');
4
+
5
+ export { FunctionSettings };
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const Section = createRemoteComponent('Section');
4
+
5
+ export { Section };
@@ -9,13 +9,14 @@ export { Button } from './admin/components/Button/Button.esnext';
9
9
  export { Card } from './admin/components/Card/Card.esnext';
10
10
  export { Checkbox } from './admin/components/Checkbox/Checkbox.esnext';
11
11
  export { ChoiceList } from './admin/components/ChoiceList/ChoiceList.esnext';
12
- export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.esnext';
13
12
  export { ColorPicker } from './admin/components/ColorPicker/ColorPicker.esnext';
13
+ export { CustomerSegmentTemplate } from './admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.esnext';
14
14
  export { DateField } from './admin/components/DateField/DateField.esnext';
15
15
  export { DatePicker } from './admin/components/DatePicker/DatePicker.esnext';
16
16
  export { Divider } from './admin/components/Divider/Divider.esnext';
17
17
  export { EmailField } from './admin/components/EmailField/EmailField.esnext';
18
18
  export { Form } from './admin/components/Form/Form.esnext';
19
+ export { FunctionSettings } from './admin/components/FunctionSettings/FunctionSettings.esnext';
19
20
  export { Heading } from './admin/components/Heading/Heading.esnext';
20
21
  export { HeadingGroup } from './admin/components/HeadingGroup/HeadingGroup.esnext';
21
22
  export { Icon } from './admin/components/Icon/Icon.esnext';
@@ -31,6 +32,7 @@ export { Pressable } from './admin/components/Pressable/Pressable.esnext';
31
32
  export { ProgressIndicator } from './admin/components/ProgressIndicator/ProgressIndicator.esnext';
32
33
  export { ResourceItem } from './admin/components/ResourceItem/ResourceItem.esnext';
33
34
  export { ResourceList } from './admin/components/ResourceList/ResourceList.esnext';
35
+ export { Section } from './admin/components/Section/Section.esnext';
34
36
  export { Select } from './admin/components/Select/Select.esnext';
35
37
  export { Text } from './admin/components/Text/Text.esnext';
36
38
  export { TextArea } from './admin/components/TextArea/TextArea.esnext';
@@ -0,0 +1,8 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ /**
4
+ * Use badges to highlight contextual information, like a label or a status, about an object. An object can be anything that has a status or label attributed to it.
5
+ */
6
+ const Badge = createRemoteComponent('Badge');
7
+
8
+ export { Badge };
@@ -8,8 +8,7 @@ import { createRemoteComponent } from '@remote-ui/core';
8
8
  * The content blocks can be specified as children inside a structure component (`View`, `InlineLayout`,
9
9
  * `BlockStack`, `Grid`, etc.).
10
10
  *
11
- * The library takes care of applying the WAI-ARIA Accordion pattern automatically for the activator
12
- * and the toggled content.
11
+ * The library automatically applies the [WAI-ARIA Accordion pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/) to both the activator and the toggled content.
13
12
  */
14
13
  const Disclosure = createRemoteComponent('Disclosure');
15
14
 
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
5
5
  * before the main flow can proceed.
6
6
  * They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
7
7
  *
8
- * The library takes care of applying the WAI-ARIA Dialog pattern automatically for the activator
9
- * and the modal content.
8
+ * The library automatically applies the [WAI-ARIA Dialog pattern](https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/) to both the activator and the modal content.
10
9
  */
11
10
  const Modal = createRemoteComponent('Modal');
12
11
 
@@ -5,8 +5,7 @@ import { createRemoteComponent } from '@remote-ui/core';
5
5
  * The difference is that the popover can contain more content, without cluttering the page.
6
6
  * They must be specified inside the `overlay` prop of an activator component (`Button`, `Link` or `Pressable`).
7
7
  *
8
- * The library takes care of applying the WAI-ARIA Popover Widget pattern automatically for the activator
9
- * and the popover content.
8
+ * The library automatically applies the WAI-ARIA Popover Widget pattern to both the activator and the popover content.
10
9
  */
11
10
  const Popover = createRemoteComponent('Popover');
12
11
 
@@ -5,8 +5,8 @@ import { createRemoteComponent } from '@remote-ui/core';
5
5
  * They must be specified inside the `overlay` prop of an activator component.
6
6
  * Currently, activator components are `Button`, `Link`, and `Pressable`.
7
7
  *
8
- * The library takes care of applying the WAI-ARIA Tooltip Widget pattern automatically for the activator
9
- * and the tooltip content. Expect screen readers to read the tooltip content when the user focuses the activator.
8
+ * The library automatically applies the [WAI-ARIA Tooltip Widget pattern](https://www.w3.org/WAI/ARIA/apg/patterns/tooltip/) to both the activator and the tooltip content.
9
+ * Expect screen readers to read the tooltip content when the user focuses the activator.
10
10
  */
11
11
  const Tooltip = createRemoteComponent('Tooltip');
12
12
 
@@ -1,4 +1,6 @@
1
1
  export { extend, extension } from './checkout/extension.esnext';
2
+ export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.esnext';
3
+ export { Badge } from './checkout/components/Badge/Badge.esnext';
2
4
  export { Banner } from './checkout/components/Banner/Banner.esnext';
3
5
  export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.esnext';
4
6
  export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.esnext';
@@ -51,4 +53,3 @@ export { Tooltip } from './checkout/components/Tooltip/Tooltip.esnext';
51
53
  export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.esnext';
52
54
  export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.esnext';
53
55
  export { View } from './checkout/components/View/View.esnext';
54
- export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.esnext';
@@ -1,5 +1,7 @@
1
1
  export { extend, extension } from './customer-account/extension.esnext';
2
+ export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.esnext';
2
3
  export { Card } from './customer-account/components/Card/Card.esnext';
4
+ export { Badge } from './checkout/components/Badge/Badge.esnext';
3
5
  export { Banner } from './checkout/components/Banner/Banner.esnext';
4
6
  export { BlockLayout } from './checkout/components/BlockLayout/BlockLayout.esnext';
5
7
  export { BlockSpacer } from './checkout/components/BlockSpacer/BlockSpacer.esnext';
@@ -47,4 +49,5 @@ export { TextBlock } from './checkout/components/TextBlock/TextBlock.esnext';
47
49
  export { TextField } from './checkout/components/TextField/TextField.esnext';
48
50
  export { Tooltip } from './checkout/components/Tooltip/Tooltip.esnext';
49
51
  export { View } from './checkout/components/View/View.esnext';
50
- export { Style, isConditionalStyle, isConditionalStyleWithDefault } from './checkout/style/style.esnext';
52
+ export { ToggleButton } from './checkout/components/ToggleButton/ToggleButton.esnext';
53
+ export { ToggleButtonGroup } from './checkout/components/ToggleButtonGroup/ToggleButtonGroup.esnext';
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const ActionItem = createRemoteComponent('ActionItem');
4
+
5
+ export { ActionItem };
@@ -0,0 +1,5 @@
1
+ import { createRemoteComponent } from '@remote-ui/core';
2
+
3
+ const SectionHeader = createRemoteComponent('SectionHeader');
4
+
5
+ export { SectionHeader };
@@ -1,4 +1,5 @@
1
1
  export { extend, extension } from './point-of-sale/extension.esnext';
2
+ export { ActionItem } from './point-of-sale/components/Actiontem/ActionItem.esnext';
2
3
  export { Badge } from './point-of-sale/components/Badge/Badge.esnext';
3
4
  export { Banner } from './point-of-sale/components/Banner/Banner.esnext';
4
5
  export { Button } from './point-of-sale/components/Button/Button.esnext';
@@ -29,3 +30,4 @@ export { TextField } from './point-of-sale/components/TextField/TextField.esnext
29
30
  export { Tile } from './point-of-sale/components/Tile/Tile.esnext';
30
31
  export { TimeField } from './point-of-sale/components/TimeField/TimeField.esnext';
31
32
  export { TimePicker } from './point-of-sale/components/TimePicker/TimePicker.esnext';
33
+ export { SectionHeader } from './point-of-sale/components/SectionHeader/SectionHeader.esnext';
package/build/ts/api.d.ts CHANGED
@@ -7,9 +7,7 @@ export interface I18nTranslate {
7
7
  *
8
8
  * @example translate("banner.title")
9
9
  */
10
- <ReplacementType = string>(key: string, options?: {
11
- [placeholderKey: string]: ReplacementType | string | number;
12
- }): ReplacementType extends string | number ? string : (string | ReplacementType)[];
10
+ <ReplacementType = string>(key: string, options?: Record<string, ReplacementType | string | number>): ReplacementType extends string | number ? string : (string | ReplacementType)[];
13
11
  }
14
12
  export interface I18n {
15
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,CAAC,eAAe,GAAG,MAAM,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE;QAAC,CAAC,cAAc,EAAE,MAAM,GAAG,eAAe,GAAG,MAAM,GAAG,MAAM,CAAA;KAAC,GACtE,eAAe,SAAS,MAAM,GAAG,MAAM,GACtC,MAAM,GACN,CAAC,MAAM,GAAG,eAAe,CAAC,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,IAAI;IACnB;;;;;;;OAOG;IACH,YAAY,EAAE,CACZ,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,mBAAmB,KAC/D,MAAM,CAAC;IAEZ;;;;;;;OAOG;IACH,cAAc,EAAE,CACd,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,mBAAmB,KAC/D,MAAM,CAAC;IAEZ;;;;;;;;;;;OAWG;IACH,UAAU,EAAE,CACV,IAAI,EAAE,IAAI,EACV,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,qBAAqB,KACjE,MAAM,CAAC;IAEZ;;;;;;;;OAQG;IACH,SAAS,EAAE,aAAa,CAAC;CAC1B"}
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,CAAC,eAAe,GAAG,MAAM,EACvB,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM,GAAG,MAAM,CAAC,GAC1D,eAAe,SAAS,MAAM,GAAG,MAAM,GACtC,MAAM,GACN,CAAC,MAAM,GAAG,eAAe,CAAC,EAAE,CAAC;CAClC;AAED,MAAM,WAAW,IAAI;IACnB;;;;;;;OAOG;IACH,YAAY,EAAE,CACZ,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,mBAAmB,KAC/D,MAAM,CAAC;IAEZ;;;;;;;OAOG;IACH,cAAc,EAAE,CACd,MAAM,EAAE,MAAM,GAAG,MAAM,EACvB,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,mBAAmB,KAC/D,MAAM,CAAC;IAEZ;;;;;;;;;;;OAWG;IACH,UAAU,EAAE,CACV,IAAI,EAAE,IAAI,EACV,OAAO,CAAC,EAAE;QAAC,iBAAiB,CAAC,EAAE,OAAO,CAAA;KAAC,GAAG,IAAI,CAAC,qBAAqB,KACjE,MAAM,CAAC;IAEZ;;;;;;;;OAQG;IACH,SAAS,EAAE,aAAa,CAAC;CAC1B"}
@@ -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,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,6BAA6B,CAC5C,GAAG,EACH,iBAAiB,SAAS,mBAAmB,CAC3C,MAAM,EACN,GAAG,EACH,GAAG,CACJ,GAAG,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAEtC,CACE,IAAI,EAAE,UAAU,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,EACtD,GAAG,EAAE,GAAG,GACP,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB"}
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,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,6BAA6B,CAC5C,GAAG,EACH,iBAAiB,SAAS,mBAAmB,CAC3C,MAAM,EACN,GAAG,EACH,GAAG,CACJ,GAAG,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC;IAEtC,CACE,IAAI,EAAE,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"}