@shopify/ui-extensions 2024.4.2 → 2024.10.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 (596) hide show
  1. package/build/cjs/surfaces/admin/components/AdminPrintAction/AdminPrintAction.js +12 -0
  2. package/build/cjs/surfaces/admin/components/DatePicker/DatePicker.js +12 -0
  3. package/build/cjs/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.js +5 -0
  4. package/build/cjs/surfaces/admin/components/MoneyField/MoneyField.js +6 -0
  5. package/build/cjs/surfaces/admin.js +2 -8
  6. package/build/cjs/surfaces/checkout/components/Chat/Chat.js +12 -0
  7. package/build/cjs/surfaces/checkout/components/DatePicker/DatePicker.js +4 -10
  8. package/build/cjs/surfaces/checkout/components/PaymentIcon/PaymentIcon.js +1 -0
  9. package/build/cjs/surfaces/{point-of-sale/components/Actiontem/ActionItem.js → checkout/components/Progress/Progress.js} +2 -2
  10. package/build/cjs/surfaces/checkout/components/QRCode/QRCode.js +9 -0
  11. package/build/cjs/surfaces/checkout/components/Switch/Switch.js +9 -0
  12. package/build/cjs/surfaces/checkout.js +8 -0
  13. package/build/cjs/surfaces/customer-account/components/Avatar/Avatar.js +9 -0
  14. package/build/cjs/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.js +9 -0
  15. package/build/cjs/surfaces/customer-account/components/DropZone/DropZone.js +9 -0
  16. package/build/cjs/surfaces/customer-account/components/ImageGroup/ImageGroup.js +9 -0
  17. package/build/cjs/surfaces/{admin/components/Card/Card.js → customer-account/components/Menu/Menu.js} +2 -2
  18. package/build/cjs/surfaces/customer-account/components/Page/Page.js +9 -0
  19. package/build/cjs/surfaces/customer-account/components/PolicyModal/PolicyModal.js +12 -0
  20. package/build/cjs/surfaces/customer-account/components/ResourceItem/ResourceItem.js +9 -0
  21. package/build/cjs/surfaces/customer-account.js +24 -0
  22. package/build/cjs/surfaces/point-of-sale/components/ActionItem/ActionItem.js +16 -0
  23. package/build/cjs/surfaces/point-of-sale/components/Badge/Badge.js +6 -0
  24. package/build/cjs/surfaces/point-of-sale/components/Banner/Banner.js +9 -0
  25. package/build/cjs/surfaces/point-of-sale/components/Button/Button.js +8 -0
  26. package/build/cjs/surfaces/point-of-sale/components/CameraScanner/CameraScanner.js +6 -0
  27. package/build/cjs/surfaces/point-of-sale/components/DatePicker/DatePicker.js +8 -0
  28. package/build/cjs/surfaces/point-of-sale/components/Dialog/Dialog.js +12 -0
  29. package/build/cjs/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.js +10 -0
  30. package/build/cjs/surfaces/point-of-sale/components/Navigator/Navigator.js +1 -1
  31. package/build/cjs/surfaces/point-of-sale/components/NumberField/NumberField.js +6 -0
  32. package/build/cjs/surfaces/point-of-sale/components/POSBlock/POSBlock.js +15 -0
  33. package/build/cjs/surfaces/point-of-sale/components/POSBlock/POSBlockRow.js +13 -0
  34. package/build/cjs/surfaces/point-of-sale/components/PinPad/PinPad.js +24 -0
  35. package/build/cjs/surfaces/point-of-sale/components/Screen/Screen.js +18 -0
  36. package/build/cjs/surfaces/point-of-sale/components/Section/Section.js +10 -0
  37. package/build/cjs/surfaces/point-of-sale/components/TextArea/TextArea.js +6 -0
  38. package/build/cjs/surfaces/point-of-sale/components/TextField/TextField.js +6 -0
  39. package/build/cjs/surfaces/point-of-sale/components/Tile/Tile.js +9 -0
  40. package/build/cjs/surfaces/point-of-sale/components/TimePicker/TimePicker.js +9 -0
  41. package/build/cjs/surfaces/point-of-sale.js +5 -1
  42. package/build/esm/surfaces/admin/components/AdminPrintAction/AdminPrintAction.mjs +8 -0
  43. package/build/esm/surfaces/admin/components/DatePicker/DatePicker.mjs +12 -0
  44. package/build/esm/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.mjs +5 -0
  45. package/build/esm/surfaces/admin/components/MoneyField/MoneyField.mjs +6 -0
  46. package/build/esm/surfaces/admin.mjs +1 -4
  47. package/build/esm/surfaces/checkout/components/Chat/Chat.mjs +8 -0
  48. package/build/esm/surfaces/checkout/components/DatePicker/DatePicker.mjs +5 -11
  49. package/build/esm/surfaces/checkout/components/PaymentIcon/PaymentIcon.mjs +1 -0
  50. package/build/esm/surfaces/checkout/components/Progress/Progress.mjs +5 -0
  51. package/build/esm/surfaces/checkout/components/QRCode/QRCode.mjs +5 -0
  52. package/build/esm/surfaces/checkout/components/Switch/Switch.mjs +5 -0
  53. package/build/esm/surfaces/checkout.mjs +4 -0
  54. package/build/esm/surfaces/customer-account/components/Avatar/Avatar.mjs +5 -0
  55. package/build/esm/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.mjs +5 -0
  56. package/build/esm/surfaces/customer-account/components/DropZone/DropZone.mjs +5 -0
  57. package/build/esm/surfaces/customer-account/components/ImageGroup/ImageGroup.mjs +5 -0
  58. package/build/esm/surfaces/customer-account/components/Menu/Menu.mjs +5 -0
  59. package/build/esm/surfaces/customer-account/components/Page/Page.mjs +5 -0
  60. package/build/esm/surfaces/customer-account/components/PolicyModal/PolicyModal.mjs +8 -0
  61. package/build/esm/surfaces/customer-account/components/ResourceItem/ResourceItem.mjs +5 -0
  62. package/build/esm/surfaces/customer-account.mjs +12 -0
  63. package/build/esm/surfaces/point-of-sale/components/ActionItem/ActionItem.mjs +12 -0
  64. package/build/esm/surfaces/point-of-sale/components/Badge/Badge.mjs +6 -0
  65. package/build/esm/surfaces/point-of-sale/components/Banner/Banner.mjs +9 -0
  66. package/build/esm/surfaces/point-of-sale/components/Button/Button.mjs +8 -0
  67. package/build/esm/surfaces/point-of-sale/components/CameraScanner/CameraScanner.mjs +6 -0
  68. package/build/esm/surfaces/point-of-sale/components/DatePicker/DatePicker.mjs +8 -0
  69. package/build/esm/surfaces/point-of-sale/components/Dialog/Dialog.mjs +12 -0
  70. package/build/esm/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.mjs +10 -0
  71. package/build/esm/surfaces/point-of-sale/components/Navigator/Navigator.mjs +1 -1
  72. package/build/esm/surfaces/point-of-sale/components/NumberField/NumberField.mjs +6 -0
  73. package/build/esm/surfaces/point-of-sale/components/POSBlock/POSBlock.mjs +11 -0
  74. package/build/esm/surfaces/point-of-sale/components/POSBlock/POSBlockRow.mjs +9 -0
  75. package/build/esm/surfaces/point-of-sale/components/PinPad/PinPad.mjs +24 -0
  76. package/build/esm/surfaces/point-of-sale/components/Screen/Screen.mjs +18 -0
  77. package/build/esm/surfaces/point-of-sale/components/Section/Section.mjs +10 -0
  78. package/build/esm/surfaces/point-of-sale/components/TextArea/TextArea.mjs +6 -0
  79. package/build/esm/surfaces/point-of-sale/components/TextField/TextField.mjs +6 -0
  80. package/build/esm/surfaces/point-of-sale/components/Tile/Tile.mjs +9 -0
  81. package/build/esm/surfaces/point-of-sale/components/TimePicker/TimePicker.mjs +9 -0
  82. package/build/esm/surfaces/point-of-sale.mjs +3 -1
  83. package/build/esnext/surfaces/admin/components/AdminPrintAction/AdminPrintAction.esnext +8 -0
  84. package/build/esnext/surfaces/admin/components/DatePicker/DatePicker.esnext +12 -0
  85. package/build/esnext/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.esnext +5 -0
  86. package/build/esnext/surfaces/admin/components/MoneyField/MoneyField.esnext +6 -0
  87. package/build/esnext/surfaces/admin.esnext +1 -4
  88. package/build/esnext/surfaces/checkout/components/Chat/Chat.esnext +8 -0
  89. package/build/esnext/surfaces/checkout/components/DatePicker/DatePicker.esnext +5 -11
  90. package/build/esnext/surfaces/checkout/components/PaymentIcon/PaymentIcon.esnext +1 -0
  91. package/build/esnext/surfaces/checkout/components/Progress/Progress.esnext +5 -0
  92. package/build/esnext/surfaces/checkout/components/QRCode/QRCode.esnext +5 -0
  93. package/build/esnext/surfaces/checkout/components/Switch/Switch.esnext +5 -0
  94. package/build/esnext/surfaces/checkout.esnext +4 -0
  95. package/build/esnext/surfaces/customer-account/components/Avatar/Avatar.esnext +5 -0
  96. package/build/esnext/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.esnext +5 -0
  97. package/build/esnext/surfaces/customer-account/components/DropZone/DropZone.esnext +5 -0
  98. package/build/esnext/surfaces/customer-account/components/ImageGroup/ImageGroup.esnext +5 -0
  99. package/build/esnext/surfaces/customer-account/components/Menu/Menu.esnext +5 -0
  100. package/build/esnext/surfaces/customer-account/components/Page/Page.esnext +5 -0
  101. package/build/esnext/surfaces/customer-account/components/PolicyModal/PolicyModal.esnext +8 -0
  102. package/build/esnext/surfaces/customer-account/components/ResourceItem/ResourceItem.esnext +5 -0
  103. package/build/esnext/surfaces/customer-account.esnext +12 -0
  104. package/build/esnext/surfaces/point-of-sale/components/ActionItem/ActionItem.esnext +12 -0
  105. package/build/esnext/surfaces/point-of-sale/components/Badge/Badge.esnext +6 -0
  106. package/build/esnext/surfaces/point-of-sale/components/Banner/Banner.esnext +9 -0
  107. package/build/esnext/surfaces/point-of-sale/components/Button/Button.esnext +8 -0
  108. package/build/esnext/surfaces/point-of-sale/components/CameraScanner/CameraScanner.esnext +6 -0
  109. package/build/esnext/surfaces/point-of-sale/components/DatePicker/DatePicker.esnext +8 -0
  110. package/build/esnext/surfaces/point-of-sale/components/Dialog/Dialog.esnext +12 -0
  111. package/build/esnext/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.esnext +10 -0
  112. package/build/esnext/surfaces/point-of-sale/components/Navigator/Navigator.esnext +1 -1
  113. package/build/esnext/surfaces/point-of-sale/components/NumberField/NumberField.esnext +6 -0
  114. package/build/esnext/surfaces/point-of-sale/components/POSBlock/POSBlock.esnext +11 -0
  115. package/build/esnext/surfaces/point-of-sale/components/POSBlock/POSBlockRow.esnext +9 -0
  116. package/build/esnext/surfaces/point-of-sale/components/PinPad/PinPad.esnext +24 -0
  117. package/build/esnext/surfaces/point-of-sale/components/Screen/Screen.esnext +18 -0
  118. package/build/esnext/surfaces/point-of-sale/components/Section/Section.esnext +10 -0
  119. package/build/esnext/surfaces/point-of-sale/components/TextArea/TextArea.esnext +6 -0
  120. package/build/esnext/surfaces/point-of-sale/components/TextField/TextField.esnext +6 -0
  121. package/build/esnext/surfaces/point-of-sale/components/Tile/Tile.esnext +9 -0
  122. package/build/esnext/surfaces/point-of-sale/components/TimePicker/TimePicker.esnext +9 -0
  123. package/build/esnext/surfaces/point-of-sale.esnext +3 -1
  124. package/build/ts/shared.d.ts +18 -2
  125. package/build/ts/shared.d.ts.map +1 -1
  126. package/build/ts/surfaces/admin/api/block/block.d.ts +5 -0
  127. package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
  128. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +1 -1
  129. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
  130. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +1 -1
  131. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
  132. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +10 -0
  133. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -0
  134. package/build/ts/surfaces/admin/{components/Card/Card.doc-skip.d.ts → api/print-action/print-action.doc.d.ts} +1 -1
  135. package/build/ts/surfaces/admin/api/print-action/print-action.doc.d.ts.map +1 -0
  136. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +221 -0
  137. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -0
  138. package/build/ts/surfaces/admin/api/standard/standard.d.ts +11 -0
  139. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  140. package/build/ts/surfaces/admin/api.d.ts +1 -0
  141. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  142. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.d.ts +17 -0
  143. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.d.ts.map +1 -0
  144. package/build/ts/surfaces/admin/{api/extension-targets/extension-targets.doc.d.ts → components/AdminPrintAction/AdminPrintAction.doc.d.ts} +1 -1
  145. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.doc.d.ts.map +1 -0
  146. package/build/ts/surfaces/admin/components/Box/Box.d.ts +2 -1
  147. package/build/ts/surfaces/admin/components/Box/Box.d.ts.map +1 -1
  148. package/build/ts/surfaces/admin/components/Button/Button.d.ts +7 -0
  149. package/build/ts/surfaces/admin/components/Button/Button.d.ts.map +1 -1
  150. package/build/ts/surfaces/admin/components/Image/Image.d.ts +2 -2
  151. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.d.ts +7 -0
  152. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.d.ts.map +1 -1
  153. package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts +2 -2
  154. package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts.map +1 -1
  155. package/build/ts/surfaces/admin/components/TextField/TextField.d.ts +2 -2
  156. package/build/ts/surfaces/admin/components/TextField/TextField.d.ts.map +1 -1
  157. package/build/ts/surfaces/admin/components/shared/display.d.ts +8 -0
  158. package/build/ts/surfaces/admin/components/shared/display.d.ts.map +1 -0
  159. package/build/ts/surfaces/admin/components/shared/index.d.ts +15 -0
  160. package/build/ts/surfaces/admin/components/shared/index.d.ts.map +1 -1
  161. package/build/ts/surfaces/admin/components.d.ts +2 -8
  162. package/build/ts/surfaces/admin/components.d.ts.map +1 -1
  163. package/build/ts/surfaces/admin/extension-targets.d.ts +103 -7
  164. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  165. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +20 -3
  166. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
  167. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +2 -0
  168. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
  169. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +10 -6
  170. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  171. package/build/ts/surfaces/checkout/api/docs.d.ts +4 -0
  172. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  173. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts +5 -0
  174. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts.map +1 -1
  175. package/build/ts/surfaces/checkout/api/shared.d.ts +6 -0
  176. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  177. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +13 -0
  178. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  179. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +49 -3
  180. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  181. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +126 -45
  182. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  183. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts.map +1 -1
  184. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +14 -6
  185. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
  186. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
  187. package/build/ts/surfaces/checkout/components/Chat/Chat.d.ts +78 -0
  188. package/build/ts/surfaces/checkout/components/Chat/Chat.d.ts.map +1 -0
  189. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +15 -6
  190. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
  191. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -1
  192. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +15 -6
  193. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
  194. package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts.map +1 -1
  195. package/build/ts/surfaces/checkout/components/Heading/Heading.d.ts +1 -1
  196. package/build/ts/surfaces/checkout/components/Heading/Heading.d.ts.map +1 -1
  197. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +2 -2
  198. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
  199. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts.map +1 -1
  200. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +15 -6
  201. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
  202. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
  203. package/build/ts/surfaces/checkout/components/Link/Link.d.ts +1 -1
  204. package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts +19 -0
  205. package/build/ts/surfaces/checkout/components/Modal/Modal.d.ts.map +1 -1
  206. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -1
  207. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.d.ts +1 -1
  208. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.d.ts.map +1 -1
  209. package/build/ts/surfaces/checkout/components/Popover/Popover.doc.d.ts.map +1 -1
  210. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +12 -11
  211. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
  212. package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts.map +1 -1
  213. package/build/ts/surfaces/checkout/components/Progress/Progress.d.ts +40 -0
  214. package/build/ts/surfaces/checkout/components/Progress/Progress.d.ts.map +1 -0
  215. package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts +4 -0
  216. package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -0
  217. package/build/ts/surfaces/checkout/components/QRCode/QRCode.d.ts +50 -0
  218. package/build/ts/surfaces/checkout/components/QRCode/QRCode.d.ts.map +1 -0
  219. package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts +4 -0
  220. package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -0
  221. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +38 -5
  222. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +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 +13 -1
  225. package/build/ts/surfaces/checkout/components/Select/Select.d.ts.map +1 -1
  226. package/build/ts/surfaces/checkout/components/Sheet/Sheet.doc.d.ts.map +1 -1
  227. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
  228. package/build/ts/surfaces/checkout/components/Switch/Switch.d.ts +49 -0
  229. package/build/ts/surfaces/checkout/components/Switch/Switch.d.ts.map +1 -0
  230. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
  231. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
  232. package/build/ts/surfaces/checkout/components/View/View.d.ts +61 -41
  233. package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
  234. package/build/ts/surfaces/checkout/components/View/View.doc.d.ts.map +1 -1
  235. package/build/ts/surfaces/checkout/components/shared.d.ts +1 -1
  236. package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
  237. package/build/ts/surfaces/checkout/components.d.ts +9 -1
  238. package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
  239. package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
  240. package/build/ts/surfaces/checkout/shared.d.ts +2 -0
  241. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  242. package/build/ts/surfaces/checkout/style/style.doc.d.ts.map +1 -1
  243. package/build/ts/surfaces/checkout/style/types.d.ts +10 -3
  244. package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
  245. package/build/ts/surfaces/checkout/targets.d.ts +17 -13
  246. package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
  247. package/build/ts/surfaces/checkout.d.ts +5 -4
  248. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  249. package/build/ts/surfaces/customer-account/api/docs.d.ts +84 -0
  250. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -0
  251. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +36 -260
  252. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  253. package/build/ts/surfaces/customer-account/api/shared.d.ts +260 -2
  254. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  255. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +195 -0
  256. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -0
  257. package/build/ts/surfaces/customer-account/api.d.ts +3 -2
  258. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  259. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.d.ts +43 -0
  260. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.d.ts.map +1 -0
  261. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
  262. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
  263. package/build/ts/surfaces/customer-account/components/Avatar/index.d.ts +2 -0
  264. package/build/ts/surfaces/customer-account/components/Avatar/index.d.ts.map +1 -0
  265. package/build/ts/surfaces/customer-account/components/Card/Card.doc.d.ts +4 -0
  266. package/build/ts/surfaces/customer-account/components/Card/Card.doc.d.ts.map +1 -0
  267. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.d.ts +21 -0
  268. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.d.ts.map +1 -0
  269. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts +4 -0
  270. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.d.ts.map +1 -0
  271. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/index.d.ts +3 -0
  272. package/build/ts/surfaces/customer-account/components/CustomerAccountAction/index.d.ts.map +1 -0
  273. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.d.ts +67 -0
  274. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.d.ts.map +1 -0
  275. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts +4 -0
  276. package/build/ts/surfaces/customer-account/components/DropZone/DropZone.doc.d.ts.map +1 -0
  277. package/build/ts/surfaces/customer-account/components/DropZone/index.d.ts +3 -0
  278. package/build/ts/surfaces/customer-account/components/DropZone/index.d.ts.map +1 -0
  279. package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.d.ts +32 -0
  280. package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.d.ts.map +1 -0
  281. package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts +4 -0
  282. package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -0
  283. package/build/ts/surfaces/customer-account/components/ImageGroup/index.d.ts +3 -0
  284. package/build/ts/surfaces/customer-account/components/ImageGroup/index.d.ts.map +1 -0
  285. package/build/ts/surfaces/customer-account/components/Menu/Menu.d.ts +21 -0
  286. package/build/ts/surfaces/customer-account/components/Menu/Menu.d.ts.map +1 -0
  287. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
  288. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
  289. package/build/ts/surfaces/customer-account/components/Menu/index.d.ts +2 -0
  290. package/build/ts/surfaces/customer-account/components/Menu/index.d.ts.map +1 -0
  291. package/build/ts/surfaces/customer-account/components/Page/Page.d.ts +47 -0
  292. package/build/ts/surfaces/customer-account/components/Page/Page.d.ts.map +1 -0
  293. package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts +4 -0
  294. package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -0
  295. package/build/ts/surfaces/customer-account/components/Page/index.d.ts +3 -0
  296. package/build/ts/surfaces/customer-account/components/Page/index.d.ts.map +1 -0
  297. package/build/ts/surfaces/customer-account/components/PolicyModal/PolicyModal.d.ts +30 -0
  298. package/build/ts/surfaces/customer-account/components/PolicyModal/PolicyModal.d.ts.map +1 -0
  299. package/build/ts/surfaces/customer-account/components/PolicyModal/index.d.ts +3 -0
  300. package/build/ts/surfaces/customer-account/components/PolicyModal/index.d.ts.map +1 -0
  301. package/build/ts/surfaces/customer-account/components/ResourceItem/ResourceItem.d.ts +36 -0
  302. package/build/ts/surfaces/customer-account/components/ResourceItem/ResourceItem.d.ts.map +1 -0
  303. package/build/ts/surfaces/customer-account/components/ResourceItem/ResourceItem.doc.d.ts +4 -0
  304. package/build/ts/surfaces/customer-account/components/ResourceItem/ResourceItem.doc.d.ts.map +1 -0
  305. package/build/ts/surfaces/customer-account/components/ResourceItem/index.d.ts +3 -0
  306. package/build/ts/surfaces/customer-account/components/ResourceItem/index.d.ts.map +1 -0
  307. package/build/ts/surfaces/customer-account/components/index.d.ts +7 -0
  308. package/build/ts/surfaces/customer-account/components/index.d.ts.map +1 -1
  309. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +1 -1
  310. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -1
  311. package/build/ts/surfaces/customer-account/components/shared.d.ts +7 -0
  312. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -0
  313. package/build/ts/surfaces/customer-account/targets.d.ts +69 -8
  314. package/build/ts/surfaces/customer-account/targets.d.ts.map +1 -1
  315. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +9 -0
  316. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
  317. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +1 -1
  318. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
  319. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
  320. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
  321. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
  322. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +1 -1
  323. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
  324. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -2
  325. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +10 -0
  326. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
  327. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +2 -2
  328. package/build/ts/surfaces/point-of-sale/api.d.ts +7 -1
  329. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  330. package/build/ts/surfaces/point-of-sale/components/ActionItem/ActionItem.d.ts +24 -0
  331. package/build/ts/surfaces/point-of-sale/components/ActionItem/ActionItem.d.ts.map +1 -0
  332. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts +14 -0
  333. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts.map +1 -1
  334. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts +17 -8
  335. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts.map +1 -1
  336. package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts +25 -1
  337. package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts.map +1 -1
  338. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +20 -2
  339. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -1
  340. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts +21 -0
  341. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts.map +1 -1
  342. package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts +38 -0
  343. package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts.map +1 -1
  344. package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts +22 -0
  345. package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts.map +1 -1
  346. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts +7 -0
  347. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts.map +1 -1
  348. package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts +3 -0
  349. package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts.map +1 -1
  350. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +14 -2
  351. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -1
  352. package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts +4 -1
  353. package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts.map +1 -1
  354. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +0 -2
  355. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -1
  356. package/build/ts/surfaces/point-of-sale/components/POSBlock/POSBlock.d.ts +31 -0
  357. package/build/ts/surfaces/point-of-sale/components/POSBlock/POSBlock.d.ts.map +1 -0
  358. package/build/ts/surfaces/point-of-sale/components/POSBlock/POSBlockRow.d.ts +15 -0
  359. package/build/ts/surfaces/point-of-sale/components/POSBlock/POSBlockRow.d.ts.map +1 -0
  360. package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts +27 -0
  361. package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts.map +1 -1
  362. package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts +12 -0
  363. package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts.map +1 -1
  364. package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts +43 -2
  365. package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts.map +1 -1
  366. package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts +18 -0
  367. package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts.map +1 -1
  368. package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts +20 -0
  369. package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts.map +1 -1
  370. package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts +18 -0
  371. package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  372. package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts +6 -0
  373. package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts.map +1 -1
  374. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts +27 -1
  375. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts.map +1 -1
  376. package/build/ts/surfaces/point-of-sale/components/Stepper/Stepper.d.ts +3 -3
  377. package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts +6 -0
  378. package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts.map +1 -1
  379. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +3 -0
  380. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -1
  381. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts +26 -0
  382. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts.map +1 -1
  383. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts +4 -0
  384. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts.map +1 -1
  385. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts +27 -0
  386. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts.map +1 -1
  387. package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts +26 -1
  388. package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts.map +1 -1
  389. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +48 -0
  390. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -1
  391. package/build/ts/surfaces/point-of-sale/components.d.ts +7 -3
  392. package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -1
  393. package/build/ts/surfaces/point-of-sale/targets.d.ts +21 -4
  394. package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
  395. package/build/tsconfig.tsbuildinfo +1 -1
  396. package/package.json +7 -5
  397. package/src/shared.ts +28 -0
  398. package/src/surfaces/admin/api/block/block.ts +6 -0
  399. package/src/surfaces/admin/api/checkout-rules/metafields.ts +1 -1
  400. package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +1 -1
  401. package/src/surfaces/admin/api/order-routing-rule/metafields.ts +1 -1
  402. package/src/surfaces/admin/api/print-action/print-action.doc.ts +20 -0
  403. package/src/surfaces/admin/api/print-action/print-action.ts +12 -0
  404. package/src/surfaces/admin/api/resource-picker/resource-picker.ts +240 -0
  405. package/src/surfaces/admin/api/standard/standard.ts +12 -0
  406. package/src/surfaces/admin/api.ts +1 -0
  407. package/src/surfaces/admin/components/AdminPrintAction/AdminPrintAction.doc.ts +52 -0
  408. package/src/surfaces/admin/components/AdminPrintAction/AdminPrintAction.ts +18 -0
  409. package/src/surfaces/admin/components/AdminPrintAction/examples/basic-adminprintaction.example.ts +14 -0
  410. package/src/surfaces/admin/components/Box/Box.ts +3 -1
  411. package/src/surfaces/admin/components/Button/Button.ts +8 -0
  412. package/src/surfaces/admin/components/Image/Image.ts +2 -2
  413. package/src/surfaces/admin/components/MoneyField/MoneyField.ts +171 -1
  414. package/src/surfaces/admin/components/NumberField/NumberField.ts +3 -1
  415. package/src/surfaces/admin/components/TextField/TextField.ts +3 -1
  416. package/src/surfaces/admin/components/shared/display.ts +7 -0
  417. package/src/surfaces/admin/components/shared/index.ts +16 -0
  418. package/src/surfaces/admin/components.ts +2 -8
  419. package/src/surfaces/admin/extension-targets.ts +170 -8
  420. package/src/surfaces/checkout/api/address-autocomplete/shared.ts +29 -4
  421. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +2 -0
  422. package/src/surfaces/checkout/api/checkout/checkout.ts +15 -6
  423. package/src/surfaces/checkout/api/docs.ts +5 -0
  424. package/src/surfaces/checkout/api/order-status/order-status.ts +5 -0
  425. package/src/surfaces/checkout/api/shared.ts +7 -0
  426. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +15 -0
  427. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +58 -3
  428. package/src/surfaces/checkout/api/standard/standard.ts +147 -51
  429. package/src/surfaces/checkout/components/BlockLayout/BlockLayout.doc.ts +8 -1
  430. package/src/surfaces/checkout/components/BlockStack/BlockStack.doc.ts +8 -1
  431. package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +14 -4
  432. package/src/surfaces/checkout/components/Chat/Chat.ts +85 -0
  433. package/src/surfaces/checkout/components/Disclosure/Disclosure.doc.ts +1 -1
  434. package/src/surfaces/checkout/components/Grid/Grid.doc.ts +6 -0
  435. package/src/surfaces/checkout/components/Grid/Grid.ts +15 -4
  436. package/src/surfaces/checkout/components/GridItem/GridItem.doc.ts +6 -0
  437. package/src/surfaces/checkout/components/GridItem/GridItem.ts +15 -4
  438. package/src/surfaces/checkout/components/Heading/Heading.ts +1 -1
  439. package/src/surfaces/checkout/components/Icon/Icon.ts +6 -0
  440. package/src/surfaces/checkout/components/InlineLayout/InlineLayout.doc.ts +8 -1
  441. package/src/surfaces/checkout/components/InlineStack/InlineStack.doc.ts +8 -1
  442. package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +15 -4
  443. package/src/surfaces/checkout/components/Link/Link.ts +1 -1
  444. package/src/surfaces/checkout/components/Modal/Modal.doc.ts +8 -1
  445. package/src/surfaces/checkout/components/Modal/Modal.ts +19 -0
  446. package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.ts +400 -399
  447. package/src/surfaces/checkout/components/Popover/Popover.doc.ts +8 -1
  448. package/src/surfaces/checkout/components/Pressable/Pressable.doc.ts +8 -1
  449. package/src/surfaces/checkout/components/Pressable/Pressable.ts +12 -11
  450. package/src/surfaces/checkout/components/Progress/Progress.doc.ts +89 -0
  451. package/src/surfaces/checkout/components/Progress/Progress.ts +44 -0
  452. package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.ts +9 -0
  453. package/src/surfaces/checkout/components/QRCode/QRCode.doc.ts +60 -0
  454. package/src/surfaces/checkout/components/QRCode/QRCode.ts +54 -0
  455. package/src/surfaces/checkout/components/QRCode/examples/basic-qrcode.example.ts +9 -0
  456. package/src/surfaces/checkout/components/ScrollView/ScrollView.doc.ts +8 -1
  457. package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +37 -3
  458. package/src/surfaces/checkout/components/Select/Select.ts +13 -1
  459. package/src/surfaces/checkout/components/Sheet/Sheet.doc.ts +8 -1
  460. package/src/surfaces/checkout/components/Spinner/Spinner.doc.ts +8 -1
  461. package/src/surfaces/checkout/components/Switch/Switch.doc.ts +80 -0
  462. package/src/surfaces/checkout/components/Switch/Switch.ts +50 -0
  463. package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.ts +9 -0
  464. package/src/surfaces/checkout/components/View/View.doc.ts +8 -1
  465. package/src/surfaces/checkout/components/View/View.ts +85 -45
  466. package/src/surfaces/checkout/components/shared.ts +1 -1
  467. package/src/surfaces/checkout/components.ts +13 -0
  468. package/src/surfaces/checkout/helper.docs.ts +36 -0
  469. package/src/surfaces/checkout/shared.ts +5 -0
  470. package/src/surfaces/checkout/style/examples/hiding.example.tsx +8 -0
  471. package/src/surfaces/checkout/style/style.doc.ts +14 -0
  472. package/src/surfaces/checkout/style/types.ts +10 -3
  473. package/src/surfaces/checkout/targets.ts +27 -12
  474. package/src/surfaces/checkout.ts +19 -2
  475. package/src/surfaces/customer-account/api/docs.ts +151 -0
  476. package/src/surfaces/customer-account/api/order-status/order-status.ts +39 -288
  477. package/src/surfaces/customer-account/api/shared.ts +290 -0
  478. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +230 -0
  479. package/src/surfaces/customer-account/api.ts +35 -15
  480. package/src/surfaces/customer-account/components/Avatar/Avatar.doc.ts +68 -0
  481. package/src/surfaces/customer-account/components/Avatar/Avatar.ts +46 -0
  482. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-js.example.ts +26 -0
  483. package/src/surfaces/customer-account/components/Avatar/index.ts +1 -0
  484. package/src/surfaces/customer-account/components/Card/Card.doc.ts +54 -0
  485. package/src/surfaces/customer-account/components/Card/examples/basic-Card-js.example.ts +47 -0
  486. package/src/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.doc.ts +66 -0
  487. package/src/surfaces/customer-account/components/CustomerAccountAction/CustomerAccountAction.ts +22 -0
  488. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +27 -0
  489. package/src/surfaces/customer-account/components/CustomerAccountAction/index.ts +2 -0
  490. package/src/surfaces/customer-account/components/DropZone/DropZone.doc.ts +67 -0
  491. package/src/surfaces/customer-account/components/DropZone/DropZone.ts +76 -0
  492. package/src/surfaces/customer-account/components/DropZone/examples/basic-DropZone-js.example.ts +13 -0
  493. package/src/surfaces/customer-account/components/DropZone/index.ts +2 -0
  494. package/src/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.ts +53 -0
  495. package/src/surfaces/customer-account/components/ImageGroup/ImageGroup.ts +35 -0
  496. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +38 -0
  497. package/src/surfaces/customer-account/components/ImageGroup/index.ts +2 -0
  498. package/src/surfaces/customer-account/components/Menu/Menu.doc.ts +80 -0
  499. package/src/surfaces/customer-account/components/Menu/Menu.ts +19 -0
  500. package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-js.example.ts +26 -0
  501. package/src/surfaces/customer-account/components/Menu/index.ts +1 -0
  502. package/src/surfaces/customer-account/components/Page/Page.doc.ts +76 -0
  503. package/src/surfaces/customer-account/components/Page/Page.ts +51 -0
  504. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +35 -0
  505. package/src/surfaces/customer-account/components/Page/index.ts +2 -0
  506. package/src/surfaces/customer-account/components/PolicyModal/PolicyModal.ts +33 -0
  507. package/src/surfaces/customer-account/components/PolicyModal/index.ts +2 -0
  508. package/src/surfaces/customer-account/components/ResourceItem/ResourceItem.doc.ts +62 -0
  509. package/src/surfaces/customer-account/components/ResourceItem/ResourceItem.ts +41 -0
  510. package/src/surfaces/customer-account/components/ResourceItem/examples/basic-ResourceItem-js.example.ts +59 -0
  511. package/src/surfaces/customer-account/components/ResourceItem/index.ts +2 -0
  512. package/src/surfaces/customer-account/components/index.ts +9 -0
  513. package/src/surfaces/customer-account/components/shared-checkout-components.ts +8 -0
  514. package/src/surfaces/customer-account/components/shared.ts +6 -0
  515. package/src/surfaces/customer-account/targets.ts +169 -8
  516. package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +9 -0
  517. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +1 -1
  518. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
  519. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
  520. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +1 -1
  521. package/src/surfaces/point-of-sale/api/order-api/order-api.tsx +2 -2
  522. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +10 -0
  523. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +2 -2
  524. package/src/surfaces/point-of-sale/api.ts +21 -1
  525. package/src/surfaces/point-of-sale/components/ActionItem/ActionItem.ts +24 -0
  526. package/src/surfaces/point-of-sale/components/Badge/Badge.ts +16 -0
  527. package/src/surfaces/point-of-sale/components/Banner/Banner.ts +17 -8
  528. package/src/surfaces/point-of-sale/components/Button/Button.ts +25 -1
  529. package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +21 -5
  530. package/src/surfaces/point-of-sale/components/DatePicker/DatePicker.ts +22 -0
  531. package/src/surfaces/point-of-sale/components/Dialog/Dialog.ts +46 -0
  532. package/src/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.ts +22 -1
  533. package/src/surfaces/point-of-sale/components/Icon/Icon.ts +7 -0
  534. package/src/surfaces/point-of-sale/components/Image/Image.ts +3 -0
  535. package/src/surfaces/point-of-sale/components/List/List.ts +16 -2
  536. package/src/surfaces/point-of-sale/components/Navigator/Navigator.ts +4 -1
  537. package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +0 -2
  538. package/src/surfaces/point-of-sale/components/POSBlock/POSBlock.ts +31 -0
  539. package/src/surfaces/point-of-sale/components/POSBlock/POSBlockRow.ts +16 -0
  540. package/src/surfaces/point-of-sale/components/PinPad/PinPad.ts +27 -0
  541. package/src/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.ts +12 -0
  542. package/src/surfaces/point-of-sale/components/Screen/Screen.ts +43 -2
  543. package/src/surfaces/point-of-sale/components/SearchBar/SearchBar.ts +18 -0
  544. package/src/surfaces/point-of-sale/components/Section/Section.ts +20 -0
  545. package/src/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.ts +18 -0
  546. package/src/surfaces/point-of-sale/components/Selectable/Selectable.ts +6 -0
  547. package/src/surfaces/point-of-sale/components/Stack/Stack.ts +27 -1
  548. package/src/surfaces/point-of-sale/components/Stepper/Stepper.ts +3 -3
  549. package/src/surfaces/point-of-sale/components/Text/Text.ts +6 -0
  550. package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +3 -0
  551. package/src/surfaces/point-of-sale/components/Tile/Tile.ts +26 -0
  552. package/src/surfaces/point-of-sale/components/TimeField/TimeField.ts +4 -0
  553. package/src/surfaces/point-of-sale/components/TimePicker/TimePicker.ts +27 -0
  554. package/src/surfaces/point-of-sale/components/shared/BaseTextField.ts +26 -1
  555. package/src/surfaces/point-of-sale/components/shared/InputField.ts +48 -0
  556. package/src/surfaces/point-of-sale/components.ts +11 -3
  557. package/src/surfaces/point-of-sale/targets.ts +107 -7
  558. package/build/cjs/surfaces/admin/components/ResourceItem/ResourceItem.js +0 -14
  559. package/build/cjs/surfaces/admin/components/ResourceList/ResourceList.js +0 -15
  560. package/build/cjs/surfaces/admin/components/Thumbnail/Thumbnail.js +0 -12
  561. package/build/esm/surfaces/admin/components/Card/Card.mjs +0 -5
  562. package/build/esm/surfaces/admin/components/ResourceItem/ResourceItem.mjs +0 -10
  563. package/build/esm/surfaces/admin/components/ResourceList/ResourceList.mjs +0 -11
  564. package/build/esm/surfaces/admin/components/Thumbnail/Thumbnail.mjs +0 -8
  565. package/build/esm/surfaces/point-of-sale/components/Actiontem/ActionItem.mjs +0 -5
  566. package/build/esnext/surfaces/admin/components/Card/Card.esnext +0 -5
  567. package/build/esnext/surfaces/admin/components/ResourceItem/ResourceItem.esnext +0 -10
  568. package/build/esnext/surfaces/admin/components/ResourceList/ResourceList.esnext +0 -11
  569. package/build/esnext/surfaces/admin/components/Thumbnail/Thumbnail.esnext +0 -8
  570. package/build/esnext/surfaces/point-of-sale/components/Actiontem/ActionItem.esnext +0 -5
  571. package/build/ts/surfaces/admin/api/extension-targets/extension-targets.doc.d.ts.map +0 -1
  572. package/build/ts/surfaces/admin/components/Card/Card.d.ts +0 -15
  573. package/build/ts/surfaces/admin/components/Card/Card.d.ts.map +0 -1
  574. package/build/ts/surfaces/admin/components/Card/Card.doc-skip.d.ts.map +0 -1
  575. package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts +0 -22
  576. package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts.map +0 -1
  577. package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts +0 -26
  578. package/build/ts/surfaces/admin/components/ResourceList/ResourceList.d.ts.map +0 -1
  579. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts +0 -19
  580. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.d.ts.map +0 -1
  581. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts +0 -76
  582. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts.map +0 -1
  583. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts +0 -10
  584. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts.map +0 -1
  585. package/src/surfaces/admin/api/extension-targets/extension-targets.doc.ts +0 -20
  586. package/src/surfaces/admin/components/Card/Card.doc-skip.ts +0 -42
  587. package/src/surfaces/admin/components/Card/Card.ts +0 -13
  588. package/src/surfaces/admin/components/Card/examples/basic-card.example.ts +0 -11
  589. package/src/surfaces/admin/components/ResourceItem/ResourceItem.ts +0 -19
  590. package/src/surfaces/admin/components/ResourceItem/examples/basic-resourceitem.example.ts +0 -22
  591. package/src/surfaces/admin/components/ResourceList/ResourceList.ts +0 -30
  592. package/src/surfaces/admin/components/ResourceList/examples/basic-resourcelist.example.ts +0 -29
  593. package/src/surfaces/admin/components/Thumbnail/Thumbnail.ts +0 -31
  594. package/src/surfaces/admin/components/Thumbnail/examples/basic-thumbnail.example.ts +0 -13
  595. package/src/surfaces/checkout/api/address-autocomplete/address-autocomplete.ts +0 -87
  596. package/src/surfaces/point-of-sale/components/Actiontem/ActionItem.ts +0 -10
@@ -10,15 +10,16 @@ import type {
10
10
  SpacingProps,
11
11
  VisibilityProps,
12
12
  Display,
13
- MultiPick,
14
13
  ViewLikeAccessibilityRole,
15
14
  CornerProps,
16
15
  Opacity,
16
+ IdProps,
17
17
  } from '../shared';
18
18
 
19
19
  export type PositionType = 'absolute' | 'relative' | 'sticky';
20
20
  export type Coordinate = number | `${number}%`;
21
- interface BaseCoordinates {
21
+
22
+ interface PositionBlockStart {
22
23
  /**
23
24
  * Adjust the block start offset.
24
25
  *
@@ -26,7 +27,10 @@ interface BaseCoordinates {
26
27
  *
27
28
  * `` `${number}%` ``: size in percentages. It refers to the block size of the parent component.
28
29
  */
29
- blockStart: Coordinate;
30
+ blockStart?: Coordinate;
31
+ }
32
+
33
+ interface PositionInlineStart {
30
34
  /**
31
35
  * Adjust the inline start offset.
32
36
  *
@@ -34,7 +38,10 @@ interface BaseCoordinates {
34
38
  *
35
39
  * `` `${number}%` ``: size in percentages. It refers to the block size of the parent component.
36
40
  */
37
- inlineStart: Coordinate;
41
+ inlineStart?: Coordinate;
42
+ }
43
+
44
+ interface PositionBlockEnd {
38
45
  /**
39
46
  * Adjust the block end offset.
40
47
  *
@@ -42,7 +49,10 @@ interface BaseCoordinates {
42
49
  *
43
50
  * `` `${number}%` ``: size in percentages. It refers to the block size of the parent component.
44
51
  */
45
- blockEnd: Coordinate;
52
+ blockEnd?: Coordinate;
53
+ }
54
+
55
+ interface PositionInlineEnd {
46
56
  /**
47
57
  * Adjust the inline end offset.
48
58
  *
@@ -50,41 +60,55 @@ interface BaseCoordinates {
50
60
  *
51
61
  * `` `${number}%` ``: size in percentages. It refers to the block size of the parent component.
52
62
  */
53
- inlineEnd: Coordinate;
63
+ inlineEnd?: Coordinate;
54
64
  }
55
65
 
56
- type PositionCoordinates = MultiPick<
57
- BaseCoordinates,
58
- [
59
- 'blockStart' | 'inlineStart',
60
- 'blockStart' | 'inlineEnd',
61
- 'blockEnd' | 'inlineStart',
62
- 'blockEnd' | 'inlineEnd',
63
- 'blockStart',
64
- 'blockEnd',
65
- 'inlineStart',
66
- 'inlineEnd',
67
- ]
68
- >;
69
-
70
- export type Position = {
66
+ interface PositionTypeProperty {
71
67
  /**
72
- * Changes how the View is positioned. For setting the position, only properties
73
- * that set the offset on a different axis can be set simultaneously. This means
74
- * that these combinations are not allowed:
75
- *
76
- * ```
77
- * { blockStart, blockEnd }
78
- * ```
79
- *
80
- * ```
81
- * { inlineStart, inlineEnd }
82
- * ```
68
+ * Changes how the `View` is positioned.
83
69
  *
84
70
  * @defaultValue 'relative'
85
71
  */
86
72
  type?: PositionType;
87
- } & PositionCoordinates;
73
+ }
74
+
75
+ interface PositionBlockStartInlineStart
76
+ extends PositionBlockStart,
77
+ PositionInlineStart,
78
+ PositionTypeProperty {
79
+ blockEnd?: undefined;
80
+ inlineEnd?: undefined;
81
+ }
82
+
83
+ interface PositionBlockStartInlineEnd
84
+ extends PositionBlockStart,
85
+ PositionInlineEnd,
86
+ PositionTypeProperty {
87
+ blockEnd?: undefined;
88
+ inlineStart?: undefined;
89
+ }
90
+
91
+ interface PositionBlockEndInlineStart
92
+ extends PositionBlockEnd,
93
+ PositionInlineStart,
94
+ PositionTypeProperty {
95
+ blockStart?: undefined;
96
+ inlineEnd?: undefined;
97
+ }
98
+
99
+ interface PositionBlockEndInlineEnd
100
+ extends PositionBlockEnd,
101
+ PositionInlineEnd,
102
+ PositionTypeProperty {
103
+ blockStart?: undefined;
104
+ inlineStart?: undefined;
105
+ }
106
+
107
+ export type Position =
108
+ | PositionBlockStartInlineStart
109
+ | PositionBlockStartInlineEnd
110
+ | PositionBlockEndInlineStart
111
+ | PositionBlockEndInlineEnd;
88
112
 
89
113
  export interface Translate {
90
114
  /**
@@ -105,27 +129,27 @@ export interface ViewProps
105
129
  extends Pick<BackgroundProps, 'background'>,
106
130
  BorderProps,
107
131
  CornerProps,
132
+ IdProps,
108
133
  SizingProps,
109
134
  SpacingProps,
110
135
  VisibilityProps {
111
136
  /**
112
- * Changes the display of the View.
137
+ * Changes the display of the component.
113
138
  *
114
139
  *
115
- * `inline` follows the direction of words in a sentence based on the document’s writing mode.
140
+ * `inline` the component starts on the same line as preceding inline content and allows subsequent content to continue on the same line.
116
141
  *
117
- * `block` follows the direction of paragraphs based on the document’s writing mode.
142
+ * `block` the component starts on its own new line and fills its parent.
118
143
  *
144
+ * `auto` resets the component to its initial value. The actual value depends on the component and context.
119
145
  *
120
- * @defaultValue 'block'
121
- */
122
- display?: Display;
123
-
124
- /**
125
- * A unique identifier for the View.
146
+ * `none` hides the component and removes it from the accessibility tree, making it invisible to screen readers.
147
+ *
148
+ * @see https://developer.mozilla.org/en-US/docs/Web/CSS/display
149
+ *
150
+ * @defaultValue 'auto'
126
151
  */
127
- id?: string;
128
-
152
+ display?: MaybeResponsiveConditionalStyle<Display>;
129
153
  /**
130
154
  * Sets the opacity of the View. The opacity will be applied to the background as well as all
131
155
  * the children of the View. Use carefully as this could decrease the contrast ratio between
@@ -152,7 +176,23 @@ export interface ViewProps
152
176
  */
153
177
  accessibilityRole?: ViewLikeAccessibilityRole;
154
178
  /**
155
- * Changes how the View is positioned.
179
+ * Changes how the `View` is positioned. When setting `position`, set each axis only once.
180
+ *
181
+ * ```
182
+ * <View position={{blockStart, inlineEnd}} /> // Allowed; sets the `block` and `inline` axes once each
183
+ * ```
184
+ *
185
+ * ```
186
+ * <View position={{inlineStart, blockEnd}} /> // Allowed; sets the `inline` and `block` axes once each
187
+ * ```
188
+ *
189
+ * ```
190
+ * <View position={{blockStart, blockEnd}} /> // Not allowed; sets the `block` axis twice
191
+ * ```
192
+ *
193
+ * ```
194
+ * <View position={{inlineStart, inlineEnd}} /> // Not allowed; sets the `inline` axis twice
195
+ * ```
156
196
  */
157
197
  position?: MaybeResponsiveConditionalStyle<Position>;
158
198
  /**
@@ -133,7 +133,7 @@ export type AutocompleteField =
133
133
 
134
134
  export type Breakpoint = 'base' | 'extraSmall' | 'small' | 'medium' | 'large';
135
135
 
136
- export type Display = 'block' | 'inline';
136
+ export type Display = 'none' | 'auto' | 'inline' | 'block';
137
137
 
138
138
  export type ShorthandProperty<T> = [T, T] | [T, T, T, T];
139
139
 
@@ -16,6 +16,9 @@ export type {BlockStackProps} from './components/BlockStack/BlockStack';
16
16
  export {Button} from './components/Button/Button';
17
17
  export type {ButtonProps} from './components/Button/Button';
18
18
 
19
+ export {Chat} from './components/Chat/Chat';
20
+ export type {ChatProps} from './components/Chat/Chat';
21
+
19
22
  export {ConsentCheckbox} from './components/ConsentCheckbox/ConsentCheckbox';
20
23
  export type {ConsentCheckboxProps} from './components/ConsentCheckbox/ConsentCheckbox';
21
24
 
@@ -128,6 +131,12 @@ export type {PressableProps} from './components/Pressable/Pressable';
128
131
  export {ProductThumbnail} from './components/ProductThumbnail/ProductThumbnail';
129
132
  export type {ProductThumbnailProps} from './components/ProductThumbnail/ProductThumbnail';
130
133
 
134
+ export {Progress} from './components/Progress/Progress';
135
+ export type {ProgressProps} from './components/Progress/Progress';
136
+
137
+ export {QRCode} from './components/QRCode/QRCode';
138
+ export type {QRCodeProps} from './components/QRCode/QRCode';
139
+
131
140
  export {Popover} from './components/Popover/Popover';
132
141
  export type {PopoverProps, PopoverPosition} from './components/Popover/Popover';
133
142
 
@@ -158,6 +167,9 @@ export type {SpinnerProps} from './components/Spinner/Spinner';
158
167
  export {Stepper} from './components/Stepper/Stepper';
159
168
  export type {StepperProps} from './components/Stepper/Stepper';
160
169
 
170
+ export {Switch} from './components/Switch/Switch';
171
+ export type {SwitchProps} from './components/Switch/Switch';
172
+
161
173
  export {Tag} from './components/Tag/Tag';
162
174
  export type {TagProps} from './components/Tag/Tag';
163
175
 
@@ -211,6 +223,7 @@ export type {
211
223
  CornerProps,
212
224
  DisclosureActivatorProps,
213
225
  DisclosureOpen,
226
+ Display,
214
227
  Fit,
215
228
  GridItemSize,
216
229
  InlineAlignment,
@@ -149,6 +149,42 @@ export function getExamples(
149
149
  ),
150
150
  },
151
151
  },
152
+ 'ui-components/switch-custom-label': {
153
+ description:
154
+ 'This example demonstrates pairing the switch with a custom label and layout while keeping it accessible to screen readers.',
155
+ image: 'switch-custom-label.png',
156
+ codeblock: {
157
+ title: 'Custom label',
158
+ tabs: getExtensionCodeTabs('ui-components/switch-custom-label'),
159
+ },
160
+ },
161
+ 'ui-components/progress-determinate-state': {
162
+ description:
163
+ 'In a determinate state, [TextBlock](../titles-and-text/textblock) or [Text](../titles-and-text/text) components can be used to communicate what the progress bar is tracking, and to set clear expectations about the current progress.',
164
+ image: 'progress-determinate.png',
165
+ codeblock: {
166
+ title: 'Determinate state',
167
+ tabs: getExtensionCodeTabs('ui-components/progress-determinate-state'),
168
+ },
169
+ },
170
+ 'ui-components/qrcode-image': {
171
+ description:
172
+ 'The QRCode component can display an image in the center. Adding a logo can increase brand trust and set expectations for the action when scanning.',
173
+ image: 'qrcode-image.png',
174
+ codeblock: {
175
+ title: 'With logo',
176
+ tabs: getExtensionCodeTabs('ui-components/qrcode-image'),
177
+ },
178
+ },
179
+ 'ui-components/qrcode-fill-size': {
180
+ description:
181
+ 'In most cases the default size should work well. If you need a different size, use `fill` to make it grow to the size of its parent container.',
182
+ image: 'qrcode-fill-size.png',
183
+ codeblock: {
184
+ title: 'Fill size',
185
+ tabs: getExtensionCodeTabs('ui-components/qrcode-fill-size'),
186
+ },
187
+ },
152
188
  };
153
189
  }
154
190
 
@@ -4,3 +4,8 @@ import type * as ComponentsModule from './components';
4
4
 
5
5
  export type Components = ComponentsBuilder<typeof ComponentsModule>;
6
6
  export type AnyComponent = AnyComponentBuilder<typeof ComponentsModule>;
7
+
8
+ export type AllowedComponents<Allowed extends keyof typeof ComponentsModule> =
9
+ AnyComponentBuilder<Pick<typeof ComponentsModule, Allowed>>;
10
+ export type AnyComponentExcept<Except extends keyof typeof ComponentsModule> =
11
+ AnyComponentBuilder<Omit<typeof ComponentsModule, Except>>;
@@ -0,0 +1,8 @@
1
+ <View
2
+ display={Style.default('auto').when(
3
+ {viewportInlineSize: {min: 'small'}},
4
+ 'none',
5
+ )}
6
+ >
7
+ Content
8
+ </View>;
@@ -64,6 +64,20 @@ const data: ReferenceEntityTemplateSchema = {
64
64
  ],
65
65
  },
66
66
  },
67
+ {
68
+ description:
69
+ 'Using the `display` property with conditional styles enables you to hide content for certain viewport sizes. In this example, the View will be hidden on small and above screen sizes.',
70
+ codeblock: {
71
+ title: 'Conditionally hiding content',
72
+ tabs: [
73
+ {
74
+ title: 'React',
75
+ code: './examples/hiding.example.tsx',
76
+ language: 'tsx',
77
+ },
78
+ ],
79
+ },
80
+ },
67
81
  ],
68
82
  },
69
83
  subSections: [
@@ -11,8 +11,8 @@ export interface ResolutionCondition {
11
11
 
12
12
  type ViewportInlineSize = 'extraSmall' | 'small' | 'medium' | 'large';
13
13
 
14
- export interface ViewportSizeCondition {
15
- viewportInlineSize: {min: ViewportInlineSize};
14
+ export interface ViewportSizeCondition<T = ViewportInlineSize> {
15
+ viewportInlineSize: {min: T};
16
16
  }
17
17
 
18
18
  export type AtLeastOne<T, U = {[K in keyof T]: Pick<T, K>}> = Partial<T> &
@@ -109,7 +109,8 @@ export interface ConditionalStyle<
109
109
 
110
110
  /**
111
111
  * A type that represents a value that can be a conditional style.
112
- * We highly recommend using the Style helper which simplifies the creation of conditional styles.
112
+ * We highly recommend using the `Style` helper which simplifies the creation of conditional styles.
113
+ *
113
114
  * To learn more check out the [conditional styles](/api/checkout-ui-extensions/components/utilities/stylehelper) documentation.
114
115
  */
115
116
  export type MaybeConditionalStyle<
@@ -117,6 +118,12 @@ export type MaybeConditionalStyle<
117
118
  AcceptedConditions extends BaseConditions = Conditions,
118
119
  > = T | ConditionalStyle<T, AcceptedConditions>;
119
120
 
121
+ /**
122
+ * A type that represents a value that can be a conditional style. The conditions are based on the viewport size.
123
+ * We highly recommend using the `Style` helper which simplifies the creation of conditional styles.
124
+ *
125
+ * To learn more check out the [conditional styles](/api/checkout-ui-extensions/components/utilities/stylehelper) documentation.
126
+ */
120
127
  export type MaybeResponsiveConditionalStyle<T> =
121
128
  | T
122
129
  | ConditionalStyle<T, ViewportSizeCondition>;
@@ -19,7 +19,11 @@ import type {StandardApi} from './api/standard/standard';
19
19
  import type {ShippingOptionItemApi} from './api/shipping/shipping-option-item';
20
20
  import type {ShippingOptionListApi} from './api/shipping/shipping-option-list';
21
21
  import type {RenderExtension, RunnableExtension} from './extension';
22
- import type {AnyComponent} from './shared';
22
+ import type {
23
+ AnyComponent,
24
+ AllowedComponents,
25
+ AnyComponentExcept,
26
+ } from './shared';
23
27
 
24
28
  /**
25
29
  * A UI extension will register for one or more extension targets using `shopify.extend()`.
@@ -380,7 +384,7 @@ export interface RenderExtensionTargets {
380
384
  RedeemableApi &
381
385
  CheckoutApi &
382
386
  StandardApi<'purchase.checkout.gift-card.render'>,
383
- AnyComponent
387
+ AnyComponentExcept<'Image' | 'Banner'>
384
388
  >;
385
389
  /**
386
390
  * A static extension target that renders the gift card entry form fields after
@@ -392,7 +396,7 @@ export interface RenderExtensionTargets {
392
396
  */
393
397
  'Checkout::GiftCard::Render': RenderExtension<
394
398
  RedeemableApi & CheckoutApi & StandardApi<'Checkout::GiftCard::Render'>,
395
- AnyComponent
399
+ AnyComponentExcept<'Image' | 'Banner'>
396
400
  >;
397
401
  /**
398
402
  * A static extension target that renders the form fields for a payment method when selected by the buyer.
@@ -403,7 +407,7 @@ export interface RenderExtensionTargets {
403
407
  PaymentOptionItemApi &
404
408
  CheckoutApi &
405
409
  StandardApi<'purchase.checkout.payment-option-item.details.render'>,
406
- AnyComponent
410
+ AnyComponentExcept<'Image' | 'Banner'>
407
411
  >;
408
412
  /**
409
413
  * A static extension target that renders the form fields for a payment method when selected by the buyer.
@@ -415,7 +419,7 @@ export interface RenderExtensionTargets {
415
419
  PaymentOptionItemApi &
416
420
  CheckoutApi &
417
421
  StandardApi<'Checkout::PaymentMethod::Render'>,
418
- AnyComponent
422
+ AnyComponentExcept<'Image' | 'Banner'>
419
423
  >;
420
424
  /**
421
425
  * A static extension target that renders after the hosted fields of a credit card payment method.
@@ -439,7 +443,7 @@ export interface RenderExtensionTargets {
439
443
  PaymentOptionItemApi &
440
444
  CheckoutApi &
441
445
  StandardApi<'Checkout::PaymentMethod::HostedFields::RenderAfter'>,
442
- AnyComponent
446
+ AnyComponentExcept<'Image' | 'Banner'>
443
447
  >;
444
448
  /**
445
449
  * A static extension target that renders a form modal when a buyer selects the custom onsite payment method.
@@ -705,6 +709,14 @@ export interface RenderExtensionTargets {
705
709
  CheckoutApi & StandardApi<'purchase.checkout.footer.render-after'>,
706
710
  AnyComponent
707
711
  >;
712
+ /**
713
+ * A static extension target that is rendered on top of the Checkout page as an overlay.
714
+ * It is positioned in the bottom right corner of the screen.
715
+ */
716
+ 'purchase.checkout.chat.render': RenderExtension<
717
+ CheckoutApi & StandardApi<'purchase.checkout.chat.render'>,
718
+ AllowedComponents<'Chat'>
719
+ >;
708
720
  /**
709
721
  * A static extension target that is rendered below the header on the **Thank you** page.
710
722
  */
@@ -721,6 +733,14 @@ export interface RenderExtensionTargets {
721
733
  StandardApi<'purchase.thank-you.footer.render-after'>,
722
734
  AnyComponent
723
735
  >;
736
+ /**
737
+ * A static extension target that is rendered on top of the **Thank you** page as an overlay.
738
+ * It is positioned in the bottom right corner of the screen.
739
+ */
740
+ 'purchase.thank-you.chat.render': RenderExtension<
741
+ CheckoutApi & StandardApi<'purchase.checkout.chat.render'>,
742
+ AllowedComponents<'Chat'>
743
+ >;
724
744
  }
725
745
 
726
746
  export interface RunnableExtensionTargets {
@@ -780,12 +800,6 @@ export type ArgumentsForExtension<Target extends keyof ExtensionTargets> =
780
800
  /**
781
801
  * For a given extension target, returns the type of the API that the
782
802
  * extension will receive at runtime.
783
- *
784
- * For RenderExtensionTargets, this API type is the second argument to
785
- * the callback for that extension target.
786
- *
787
- * For RunnableExtensionTargets, this API type is the only argument to
788
- * the callback for that extension target.
789
803
  */
790
804
  export type ApiForExtension<Target extends ExtensionTarget> =
791
805
  ExtractedApiFromExtensionDefinition<ExtensionTargets[Target]>;
@@ -869,6 +883,7 @@ export interface CustomerAccountStandardApi<
869
883
  | 'extension'
870
884
  | 'extensionPoint'
871
885
  | 'i18n'
886
+ | 'instructions'
872
887
  | 'lines'
873
888
  | 'localization'
874
889
  | 'metafields'
@@ -68,6 +68,13 @@ export type {
68
68
  VisitorError,
69
69
  VisitorSuccess,
70
70
  VisitorResult,
71
+ CartInstructions,
72
+ AttributesCartInstructions,
73
+ DeliveryCartInstructions,
74
+ DiscountsCartInstructions,
75
+ CartLinesCartInstructions,
76
+ MetafieldsCartInstructions,
77
+ NotesCartInstructions,
71
78
  } from './checkout/api/standard/standard';
72
79
 
73
80
  export type {
@@ -75,6 +82,7 @@ export type {
75
82
  SellingPlan,
76
83
  ValidationError,
77
84
  MailingAddress,
85
+ ShippingAddress,
78
86
  } from './checkout/api/shared';
79
87
 
80
88
  export type {
@@ -140,8 +148,15 @@ export type {CartLineItemApi} from './checkout/api/cart-line/cart-line-item';
140
148
  export type {PickupLocationListApi} from './checkout/api/pickup/pickup-location-list';
141
149
  export type {PickupPointListApi} from './checkout/api/pickup/pickup-point-list';
142
150
  export type {PickupLocationItemApi} from './checkout/api/pickup/pickup-location-item';
143
- export type {ShippingOptionItemApi} from './checkout/api/shipping/shipping-option-item';
144
- export type {ShippingOptionListApi} from './checkout/api/shipping/shipping-option-list';
151
+ export type {
152
+ ShippingOptionItemApi,
153
+ ShippingOptionItemRenderMode,
154
+ } from './checkout/api/shipping/shipping-option-item';
155
+ export type {
156
+ ShippingOptionListApi,
157
+ DeliveryGroupList,
158
+ DeliverySelectionGroup,
159
+ } from './checkout/api/shipping/shipping-option-list';
145
160
  export type {
146
161
  AddressAutocompleteFormatSuggestionApi,
147
162
  AddressAutocompleteFormatSuggestionOutput,
@@ -191,5 +206,7 @@ export type {
191
206
  ViewportSizeCondition,
192
207
  } from './checkout/style/types';
193
208
 
209
+ export type {IdProps} from './checkout/components/shared';
210
+
194
211
  export * from './checkout/globals';
195
212
  export * from '../shared';
@@ -0,0 +1,151 @@
1
+ import {OrderStatusApi} from './order-status/order-status';
2
+ import {StandardApi} from './standard-api/standard-api';
3
+ import {CartLineItemApi} from './cart-line/cart-line-item';
4
+ import {FullPageApi} from '../targets';
5
+ import {ButtonProps} from '../components';
6
+
7
+ export interface Docs_OrderStatus_MetafieldsApi
8
+ extends Pick<OrderStatusApi<any>, 'appMetafields' | 'metafields'> {}
9
+
10
+ export interface Docs_OrderStatus_AttributesApi
11
+ extends Pick<OrderStatusApi<any>, 'attributes'> {}
12
+
13
+ export interface Docs_OrderStatus_BuyerIdentityApi
14
+ extends Pick<OrderStatusApi<any>, 'buyerIdentity'> {}
15
+
16
+ export interface Docs_OrderStatus_CheckoutSettingsApi
17
+ extends Pick<OrderStatusApi<any>, 'checkoutSettings'> {}
18
+
19
+ export interface Docs_OrderStatus_CostApi
20
+ extends Pick<OrderStatusApi<any>, 'cost'> {}
21
+
22
+ export interface Docs_OrderStatus_LocalizationApi
23
+ extends Pick<OrderStatusApi<any>, 'localization'> {}
24
+
25
+ export interface Docs_OrderStatus_DiscountsApi
26
+ extends Pick<OrderStatusApi<any>, 'discountAllocations' | 'discountCodes'> {}
27
+
28
+ export interface Docs_OrderStatus_GiftCardsApi
29
+ extends Pick<OrderStatusApi<any>, 'appliedGiftCards'> {}
30
+
31
+ export interface Docs_OrderStatus_NoteApi
32
+ extends Pick<OrderStatusApi<any>, 'note'> {}
33
+
34
+ export interface Docs_OrderStatus_AddressApi
35
+ extends Pick<OrderStatusApi<any>, 'shippingAddress' | 'billingAddress'> {}
36
+
37
+ export interface Docs_OrderStatus_ShopApi
38
+ extends Pick<OrderStatusApi<any>, 'shop'> {}
39
+
40
+ export interface Docs_OrderStatus_RequireLoginApi
41
+ extends Pick<OrderStatusApi<any>, 'requireLogin'> {}
42
+
43
+ export interface Docs_OrderStatus_AuthenticationStateApi
44
+ extends Pick<OrderStatusApi<any>, 'authenticationState'> {}
45
+
46
+ export interface Docs_OrderStatus_CartLinesApi
47
+ extends Pick<OrderStatusApi<any>, 'lines'> {}
48
+
49
+ export interface Docs_CartLineItem_CartLinesApi
50
+ extends Pick<CartLineItemApi, 'target'> {}
51
+
52
+ export interface Docs_OrderStatus_OrderApi
53
+ extends Pick<OrderStatusApi<any>, 'order'> {}
54
+
55
+ export interface Docs_Standard_ExtensionApi
56
+ extends Pick<StandardApi<any>, 'extension'> {}
57
+
58
+ export interface Docs_Standard_AuthenticatedAccountApi
59
+ extends Pick<StandardApi<any>, 'authenticatedAccount'> {}
60
+
61
+ export interface Docs_Standard_VersionApi
62
+ extends Pick<StandardApi<any>, 'version'> {}
63
+
64
+ export interface Docs_Standard_LocalizationApi
65
+ extends Pick<StandardApi<any>, 'localization' | 'i18n'> {}
66
+
67
+ export interface Docs_Standard_SessionTokenApi
68
+ extends Pick<StandardApi<any>, 'sessionToken'> {}
69
+
70
+ export interface Docs_Standard_SettingsApi
71
+ extends Pick<StandardApi, 'settings'> {}
72
+
73
+ export interface Docs_Standard_StorageApi
74
+ extends Pick<StandardApi<any>, 'storage'> {}
75
+
76
+ export interface Docs_Standard_UIApi extends Pick<StandardApi<any>, 'ui'> {}
77
+
78
+ export interface Docs_Standard_QueryApi
79
+ extends Pick<StandardApi<any>, 'query'> {}
80
+
81
+ export interface Docs_StandardApi extends Omit<StandardApi<any>, 'router'> {}
82
+
83
+ export interface Docs_FullPageApi extends FullPageApi {}
84
+
85
+ export interface Docs_Page_Button_PrimaryAction
86
+ extends Pick<
87
+ ButtonProps,
88
+ | 'onPress'
89
+ | 'overlay'
90
+ | 'to'
91
+ | 'loading'
92
+ | 'loadingLabel'
93
+ | 'disabled'
94
+ | 'accessibilityLabel'
95
+ > {}
96
+ export interface Docs_Page_Button_SecondaryAction
97
+ extends Pick<ButtonProps, 'onPress' | 'to'> {
98
+ /**
99
+ * A label used for buyers using assistive technologies. Needed because `children` passed to this component will be discarded.
100
+ */
101
+ accessibilityLabel: ButtonProps['accessibilityLabel'];
102
+ }
103
+
104
+ export interface Docs_ResourceItem_Button_Action
105
+ extends Pick<
106
+ ButtonProps,
107
+ | 'onPress'
108
+ | 'overlay'
109
+ | 'to'
110
+ | 'loading'
111
+ | 'loadingLabel'
112
+ | 'disabled'
113
+ | 'accessibilityLabel'
114
+ | 'kind'
115
+ > {}
116
+
117
+ export interface Docs_Menu_Button_Action
118
+ extends Omit<
119
+ ButtonProps,
120
+ 'kind' | 'textDecoration' | 'inlineAlignment' | 'inlineSize' | 'size'
121
+ > {}
122
+
123
+ export interface Docs_OrderActionMenu_Button
124
+ extends Pick<
125
+ ButtonProps,
126
+ 'onPress' | 'loading' | 'loadingLabel' | 'disabled' | 'accessibilityLabel'
127
+ > {
128
+ /**
129
+ * Destination URL to link to.
130
+ *
131
+ * E.g. `extension:/` to navigate to the Full-page extension.
132
+ */
133
+ to: ButtonProps['to'];
134
+ }
135
+
136
+ export interface Docs_CustomerAccountAction_Button_PrimaryAction
137
+ extends Pick<
138
+ ButtonProps,
139
+ | 'onPress'
140
+ | 'loading'
141
+ | 'loadingLabel'
142
+ | 'disabled'
143
+ | 'accessibilityLabel'
144
+ | 'accessibilityRole'
145
+ > {}
146
+
147
+ export interface Docs_CustomerAccountAction_Button_SecondaryAction
148
+ extends Pick<
149
+ ButtonProps,
150
+ 'onPress' | 'loading' | 'loadingLabel' | 'disabled' | 'accessibilityLabel'
151
+ > {}