@shopify/ui-extensions 2.0.0-alpha.2 → 2022.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 (431) hide show
  1. package/checkout.esnext +1 -1
  2. package/checkout.js +1 -1
  3. package/checkout.mjs +1 -1
  4. package/index.esnext +1 -1
  5. package/index.js +1 -1
  6. package/index.mjs +1 -1
  7. package/loom.config.ts +9 -0
  8. package/package.json +10 -11
  9. package/src/api.ts +0 -5
  10. package/src/extension.ts +3 -29
  11. package/src/index.ts +1 -1
  12. package/src/surfaces/checkout/api/cart-line-details/render-after.ts +7 -3
  13. package/src/surfaces/checkout/api/shared.ts +810 -3
  14. package/src/surfaces/checkout/api/standard/standard.ts +1240 -2
  15. package/src/surfaces/checkout/components/Banner/Banner.ts +37 -0
  16. package/src/surfaces/checkout/components/Banner/README.md +14 -0
  17. package/src/surfaces/checkout/components/Banner/content/guidelines.md +9 -0
  18. package/src/surfaces/checkout/components/Banner/examples/basic-banner.example.ts +11 -0
  19. package/src/surfaces/checkout/components/BlockLayout/BlockLayout.ts +43 -0
  20. package/src/surfaces/checkout/components/BlockLayout/README.md +101 -0
  21. package/src/surfaces/checkout/components/BlockLayout/examples/basic-blockLayout.example.ts +16 -0
  22. package/src/surfaces/checkout/components/BlockSpacer/BlockSpacer.ts +25 -0
  23. package/src/surfaces/checkout/components/BlockSpacer/README.md +14 -0
  24. package/src/surfaces/checkout/components/BlockSpacer/examples/basic-blockspacer.example.ts +11 -0
  25. package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +53 -0
  26. package/src/surfaces/checkout/components/BlockStack/README.md +77 -0
  27. package/src/surfaces/checkout/components/BlockStack/examples/basic-blockstack.example.ts +11 -0
  28. package/src/surfaces/checkout/components/Button/Button.ts +87 -0
  29. package/src/surfaces/checkout/components/Button/README.md +22 -0
  30. package/src/surfaces/checkout/components/Button/content/guidelines.md +10 -0
  31. package/src/surfaces/checkout/components/Button/examples/basic-button.example.ts +11 -0
  32. package/src/{components → surfaces/checkout/components}/Checkbox/Checkbox.ts +32 -1
  33. package/src/surfaces/checkout/components/Checkbox/README.md +18 -0
  34. package/src/surfaces/checkout/components/Checkbox/content/guidelines.md +9 -0
  35. package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.ts +11 -0
  36. package/src/surfaces/checkout/components/Choice/Choice.ts +25 -0
  37. package/src/surfaces/checkout/components/Choice/README.md +14 -0
  38. package/src/surfaces/checkout/components/Choice/content/guidelines.md +9 -0
  39. package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +50 -0
  40. package/src/surfaces/checkout/components/ChoiceList/ChoiceList.ts +33 -0
  41. package/src/surfaces/checkout/components/ChoiceList/README.md +14 -0
  42. package/src/surfaces/checkout/components/ChoiceList/content/guidelines.md +10 -0
  43. package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +50 -0
  44. package/src/surfaces/checkout/components/Divider/Divider.ts +33 -0
  45. package/src/surfaces/checkout/components/Divider/README.md +13 -0
  46. package/src/surfaces/checkout/components/Divider/examples/basic-divider.example.ts +7 -0
  47. package/src/surfaces/checkout/components/Form/Form.ts +30 -0
  48. package/src/surfaces/checkout/components/Form/README.md +21 -0
  49. package/src/surfaces/checkout/components/Form/content/guidelines.md +4 -0
  50. package/src/surfaces/checkout/components/Form/examples/basic-form.example.ts +48 -0
  51. package/src/surfaces/checkout/components/Grid/Grid.ts +104 -0
  52. package/src/surfaces/checkout/components/Grid/README.md +105 -0
  53. package/src/surfaces/checkout/components/Grid/content/guidelines.md +3 -0
  54. package/src/surfaces/checkout/components/Grid/examples/basic-grid.example.ts +45 -0
  55. package/src/surfaces/checkout/components/GridItem/GridItem.ts +42 -0
  56. package/src/surfaces/checkout/components/GridItem/README.md +72 -0
  57. package/src/surfaces/checkout/components/GridItem/content/guidelines.md +3 -0
  58. package/src/surfaces/checkout/components/GridItem/examples/basic-griditem.example.ts +42 -0
  59. package/src/surfaces/checkout/components/Heading/Heading.ts +44 -0
  60. package/src/surfaces/checkout/components/Heading/README.md +19 -0
  61. package/src/surfaces/checkout/components/Heading/content/guidelines.md +10 -0
  62. package/src/surfaces/checkout/components/Heading/examples/basic-heading.example.ts +7 -0
  63. package/src/surfaces/checkout/components/HeadingGroup/HeadingGroup.ts +15 -0
  64. package/src/surfaces/checkout/components/HeadingGroup/README.md +7 -0
  65. package/src/surfaces/checkout/components/HeadingGroup/content/guidelines.md +9 -0
  66. package/src/surfaces/checkout/components/HeadingGroup/examples/basic-headinggroup.example.ts +20 -0
  67. package/src/surfaces/checkout/components/Icon/Icon.ts +91 -0
  68. package/src/surfaces/checkout/components/Icon/README.md +15 -0
  69. package/src/surfaces/checkout/components/Icon/examples/basic-icon.example.ts +7 -0
  70. package/src/surfaces/checkout/components/Image/Image.ts +83 -0
  71. package/src/surfaces/checkout/components/Image/README.md +53 -0
  72. package/src/surfaces/checkout/components/Image/examples/basic-image.example.ts +10 -0
  73. package/src/surfaces/checkout/components/InlineLayout/InlineLayout.ts +49 -0
  74. package/src/surfaces/checkout/components/InlineLayout/README.md +103 -0
  75. package/src/surfaces/checkout/components/InlineLayout/examples/basic-inlineLayout.example.ts +16 -0
  76. package/src/surfaces/checkout/components/InlineSpacer/InlineSpacer.ts +24 -0
  77. package/src/surfaces/checkout/components/InlineSpacer/README.md +14 -0
  78. package/src/surfaces/checkout/components/InlineSpacer/examples/basic-inlinespacer.example.ts +16 -0
  79. package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +63 -0
  80. package/src/surfaces/checkout/components/InlineStack/README.md +87 -0
  81. package/src/surfaces/checkout/components/InlineStack/examples/basic-inlinestack.example.ts +18 -0
  82. package/src/surfaces/checkout/components/Link/Link.ts +49 -0
  83. package/src/surfaces/checkout/components/Link/README.md +18 -0
  84. package/src/surfaces/checkout/components/Link/content/guidelines.md +9 -0
  85. package/src/surfaces/checkout/components/Link/examples/basic-link.example.ts +11 -0
  86. package/src/surfaces/checkout/components/List/List.ts +32 -0
  87. package/src/surfaces/checkout/components/List/README.md +19 -0
  88. package/src/surfaces/checkout/components/List/content/guidelines.md +11 -0
  89. package/src/surfaces/checkout/components/List/examples/basic-list.example.ts +11 -0
  90. package/src/surfaces/checkout/components/ListItem/ListItem.ts +12 -0
  91. package/src/surfaces/checkout/components/ListItem/README.md +5 -0
  92. package/src/surfaces/checkout/components/ListItem/content/guidelines.md +3 -0
  93. package/src/surfaces/checkout/components/ListItem/examples/basic-listitem.example.ts +9 -0
  94. package/src/surfaces/checkout/components/PhoneField/PhoneField.ts +77 -0
  95. package/src/surfaces/checkout/components/PhoneField/README.md +49 -0
  96. package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.ts +10 -0
  97. package/src/surfaces/checkout/components/Pressable/Pressable.ts +128 -0
  98. package/src/surfaces/checkout/components/Pressable/README.md +74 -0
  99. package/src/surfaces/checkout/components/Pressable/examples/basic-pressable.example.ts +27 -0
  100. package/src/surfaces/checkout/components/ScrollView/README.md +62 -0
  101. package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +76 -0
  102. package/src/surfaces/checkout/components/ScrollView/examples/basic-scrollview.example.ts +38 -0
  103. package/src/surfaces/checkout/components/Select/README.md +41 -0
  104. package/src/surfaces/checkout/components/Select/Select.ts +97 -0
  105. package/src/surfaces/checkout/components/Select/content/guidelines.md +4 -0
  106. package/src/surfaces/checkout/components/Select/examples/basic-select.example.ts +36 -0
  107. package/src/surfaces/checkout/components/SkeletonImage/README.md +13 -0
  108. package/src/surfaces/checkout/components/SkeletonImage/SkeletonImage.ts +27 -0
  109. package/src/surfaces/checkout/components/SkeletonImage/examples/basic-skeletonimage.example.ts +10 -0
  110. package/src/surfaces/checkout/components/SkeletonText/README.md +13 -0
  111. package/src/surfaces/checkout/components/SkeletonText/SkeletonText.ts +23 -0
  112. package/src/surfaces/checkout/components/SkeletonText/examples/basic-skeletontext.example.ts +7 -0
  113. package/src/surfaces/checkout/components/SkeletonTextBlock/README.md +13 -0
  114. package/src/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.ts +24 -0
  115. package/src/surfaces/checkout/components/SkeletonTextBlock/examples/basic-skeletontextblock.example.ts +7 -0
  116. package/src/surfaces/checkout/components/Spinner/README.md +14 -0
  117. package/src/surfaces/checkout/components/Spinner/Spinner.ts +35 -0
  118. package/src/surfaces/checkout/components/Spinner/examples/basic-spinner.example.ts +7 -0
  119. package/src/surfaces/checkout/components/Stepper/README.md +28 -0
  120. package/src/surfaces/checkout/components/Stepper/Stepper.ts +63 -0
  121. package/src/surfaces/checkout/components/Stepper/content/guidelines.md +4 -0
  122. package/src/surfaces/checkout/components/Stepper/examples/basic-stepper.example.ts +10 -0
  123. package/src/surfaces/checkout/components/Tag/README.md +14 -0
  124. package/src/surfaces/checkout/components/Tag/Tag.ts +26 -0
  125. package/src/surfaces/checkout/components/Tag/examples/basic-tag.example.ts +7 -0
  126. package/src/surfaces/checkout/components/Text/README.md +17 -0
  127. package/src/surfaces/checkout/components/Text/Text.ts +44 -0
  128. package/src/surfaces/checkout/components/Text/content/guidelines.md +10 -0
  129. package/src/surfaces/checkout/components/Text/examples/basic-text.example.ts +14 -0
  130. package/src/surfaces/checkout/components/TextBlock/README.md +15 -0
  131. package/src/surfaces/checkout/components/TextBlock/TextBlock.ts +38 -0
  132. package/src/surfaces/checkout/components/TextBlock/content/guidelines.md +9 -0
  133. package/src/surfaces/checkout/components/TextBlock/examples/basic-textblock.example.ts +18 -0
  134. package/src/surfaces/checkout/components/TextField/README.md +49 -0
  135. package/src/surfaces/checkout/components/TextField/TextField.ts +173 -0
  136. package/src/surfaces/checkout/components/TextField/content/guidelines.md +5 -0
  137. package/src/surfaces/checkout/components/TextField/examples/basic-textfield.example.ts +9 -0
  138. package/src/surfaces/checkout/components/Tooltip/README.md +8 -0
  139. package/src/surfaces/checkout/components/Tooltip/Tooltip.ts +15 -0
  140. package/src/surfaces/checkout/components/Tooltip/examples/basic-tooltip.example.ts +23 -0
  141. package/src/surfaces/checkout/components/View/README.md +97 -0
  142. package/src/surfaces/checkout/components/View/View.ts +196 -0
  143. package/src/surfaces/checkout/components/View/examples/basic-view.example.ts +11 -0
  144. package/src/surfaces/checkout/components/shared.ts +560 -0
  145. package/src/surfaces/checkout/components.ts +155 -1
  146. package/src/surfaces/checkout/extension-points.ts +83 -3
  147. package/src/surfaces/checkout/globals.ts +15 -0
  148. package/src/surfaces/checkout/index.ts +2 -0
  149. package/src/surfaces/checkout/style/isEqual.test.ts +67 -0
  150. package/src/surfaces/checkout/style/isEqual.ts +41 -0
  151. package/src/surfaces/checkout/style/memoize.ts +176 -0
  152. package/src/surfaces/checkout/style/style.test.ts +131 -0
  153. package/src/surfaces/checkout/style/style.ts +161 -0
  154. package/src/surfaces/checkout/style/types.ts +67 -0
  155. package/src/surfaces/checkout/style.ts +16 -0
  156. package/src/utilities/registration.ts +9 -42
  157. package/LICENSE.md +0 -7
  158. package/admin.d.ts +0 -1
  159. package/admin.esnext +0 -1
  160. package/admin.js +0 -1
  161. package/admin.mjs +0 -1
  162. package/build/cjs/api.js +0 -1
  163. package/build/cjs/components/BlockStack/BlockStack.js +0 -11
  164. package/build/cjs/components/BlockStack/README.md +0 -1
  165. package/build/cjs/components/Button/Button.js +0 -11
  166. package/build/cjs/components/Button/README.md +0 -1
  167. package/build/cjs/components/Checkbox/Checkbox.js +0 -14
  168. package/build/cjs/components/Checkbox/README.md +0 -1
  169. package/build/cjs/components/Text/README.md +0 -1
  170. package/build/cjs/components/Text/Text.js +0 -11
  171. package/build/cjs/components/TextField/README.md +0 -1
  172. package/build/cjs/components/TextField/TextField.js +0 -11
  173. package/build/cjs/components/View/README.md +0 -1
  174. package/build/cjs/components/View/View.js +0 -11
  175. package/build/cjs/components.js +0 -53
  176. package/build/cjs/extension.js +0 -1
  177. package/build/cjs/index.js +0 -44
  178. package/build/cjs/surfaces/admin/api/checkout-editor/README.md +0 -1
  179. package/build/cjs/surfaces/admin/api/checkout-editor/render-settings.js +0 -1
  180. package/build/cjs/surfaces/admin/api/standard/README.md +0 -1
  181. package/build/cjs/surfaces/admin/api/standard/standard.js +0 -1
  182. package/build/cjs/surfaces/admin/api.js +0 -1
  183. package/build/cjs/surfaces/admin/components/TextField/TextField.js +0 -11
  184. package/build/cjs/surfaces/admin/components.js +0 -30
  185. package/build/cjs/surfaces/admin/extension-points.js +0 -1
  186. package/build/cjs/surfaces/admin/extension.js +0 -27
  187. package/build/cjs/surfaces/admin/index.js +0 -70
  188. package/build/cjs/surfaces/admin/shared.js +0 -1
  189. package/build/cjs/surfaces/checkout/api/cart-line-details/README.md +0 -1
  190. package/build/cjs/surfaces/checkout/api/cart-line-details/render-after.js +0 -1
  191. package/build/cjs/surfaces/checkout/api/shared.js +0 -1
  192. package/build/cjs/surfaces/checkout/api/standard/README.md +0 -1
  193. package/build/cjs/surfaces/checkout/api/standard/standard.js +0 -1
  194. package/build/cjs/surfaces/checkout/api.js +0 -1
  195. package/build/cjs/surfaces/checkout/components.js +0 -18
  196. package/build/cjs/surfaces/checkout/extension-points.js +0 -1
  197. package/build/cjs/surfaces/checkout/extension.js +0 -27
  198. package/build/cjs/surfaces/checkout/index.js +0 -70
  199. package/build/cjs/surfaces/checkout/shared.js +0 -1
  200. package/build/cjs/utilities/registration.js +0 -110
  201. package/build/esm/api.mjs +0 -0
  202. package/build/esm/components/BlockStack/BlockStack.mjs +0 -2
  203. package/build/esm/components/BlockStack/README.md +0 -1
  204. package/build/esm/components/Button/Button.mjs +0 -2
  205. package/build/esm/components/Button/README.md +0 -1
  206. package/build/esm/components/Checkbox/Checkbox.mjs +0 -6
  207. package/build/esm/components/Checkbox/README.md +0 -1
  208. package/build/esm/components/Text/README.md +0 -1
  209. package/build/esm/components/Text/Text.mjs +0 -2
  210. package/build/esm/components/TextField/README.md +0 -1
  211. package/build/esm/components/TextField/TextField.mjs +0 -2
  212. package/build/esm/components/View/README.md +0 -1
  213. package/build/esm/components/View/View.mjs +0 -2
  214. package/build/esm/components.mjs +0 -6
  215. package/build/esm/extension.mjs +0 -0
  216. package/build/esm/index.mjs +0 -3
  217. package/build/esm/surfaces/admin/api/checkout-editor/README.md +0 -1
  218. package/build/esm/surfaces/admin/api/checkout-editor/render-settings.mjs +0 -0
  219. package/build/esm/surfaces/admin/api/standard/README.md +0 -1
  220. package/build/esm/surfaces/admin/api/standard/standard.mjs +0 -0
  221. package/build/esm/surfaces/admin/api.mjs +0 -0
  222. package/build/esm/surfaces/admin/components/TextField/TextField.mjs +0 -2
  223. package/build/esm/surfaces/admin/components.mjs +0 -2
  224. package/build/esm/surfaces/admin/extension-points.mjs +0 -0
  225. package/build/esm/surfaces/admin/extension.mjs +0 -3
  226. package/build/esm/surfaces/admin/index.mjs +0 -5
  227. package/build/esm/surfaces/admin/shared.mjs +0 -0
  228. package/build/esm/surfaces/checkout/api/cart-line-details/README.md +0 -1
  229. package/build/esm/surfaces/checkout/api/cart-line-details/render-after.mjs +0 -0
  230. package/build/esm/surfaces/checkout/api/shared.mjs +0 -0
  231. package/build/esm/surfaces/checkout/api/standard/README.md +0 -1
  232. package/build/esm/surfaces/checkout/api/standard/standard.mjs +0 -0
  233. package/build/esm/surfaces/checkout/api.mjs +0 -0
  234. package/build/esm/surfaces/checkout/components.mjs +0 -1
  235. package/build/esm/surfaces/checkout/extension-points.mjs +0 -0
  236. package/build/esm/surfaces/checkout/extension.mjs +0 -3
  237. package/build/esm/surfaces/checkout/index.mjs +0 -5
  238. package/build/esm/surfaces/checkout/shared.mjs +0 -0
  239. package/build/esm/utilities/registration.mjs +0 -101
  240. package/build/esnext/api.esnext +0 -0
  241. package/build/esnext/components/BlockStack/BlockStack.esnext +0 -2
  242. package/build/esnext/components/BlockStack/README.md +0 -1
  243. package/build/esnext/components/Button/Button.esnext +0 -2
  244. package/build/esnext/components/Button/README.md +0 -1
  245. package/build/esnext/components/Checkbox/Checkbox.esnext +0 -6
  246. package/build/esnext/components/Checkbox/README.md +0 -1
  247. package/build/esnext/components/Text/README.md +0 -1
  248. package/build/esnext/components/Text/Text.esnext +0 -2
  249. package/build/esnext/components/TextField/README.md +0 -1
  250. package/build/esnext/components/TextField/TextField.esnext +0 -2
  251. package/build/esnext/components/View/README.md +0 -1
  252. package/build/esnext/components/View/View.esnext +0 -2
  253. package/build/esnext/components.esnext +0 -6
  254. package/build/esnext/extension.esnext +0 -0
  255. package/build/esnext/index.esnext +0 -3
  256. package/build/esnext/surfaces/admin/api/checkout-editor/README.md +0 -1
  257. package/build/esnext/surfaces/admin/api/checkout-editor/render-settings.esnext +0 -0
  258. package/build/esnext/surfaces/admin/api/standard/README.md +0 -1
  259. package/build/esnext/surfaces/admin/api/standard/standard.esnext +0 -0
  260. package/build/esnext/surfaces/admin/api.esnext +0 -0
  261. package/build/esnext/surfaces/admin/components/TextField/TextField.esnext +0 -2
  262. package/build/esnext/surfaces/admin/components.esnext +0 -2
  263. package/build/esnext/surfaces/admin/extension-points.esnext +0 -0
  264. package/build/esnext/surfaces/admin/extension.esnext +0 -3
  265. package/build/esnext/surfaces/admin/index.esnext +0 -5
  266. package/build/esnext/surfaces/admin/shared.esnext +0 -0
  267. package/build/esnext/surfaces/checkout/api/cart-line-details/README.md +0 -1
  268. package/build/esnext/surfaces/checkout/api/cart-line-details/render-after.esnext +0 -0
  269. package/build/esnext/surfaces/checkout/api/shared.esnext +0 -0
  270. package/build/esnext/surfaces/checkout/api/standard/README.md +0 -1
  271. package/build/esnext/surfaces/checkout/api/standard/standard.esnext +0 -0
  272. package/build/esnext/surfaces/checkout/api.esnext +0 -0
  273. package/build/esnext/surfaces/checkout/components.esnext +0 -1
  274. package/build/esnext/surfaces/checkout/extension-points.esnext +0 -0
  275. package/build/esnext/surfaces/checkout/extension.esnext +0 -3
  276. package/build/esnext/surfaces/checkout/index.esnext +0 -5
  277. package/build/esnext/surfaces/checkout/shared.esnext +0 -0
  278. package/build/esnext/utilities/registration.esnext +0 -37
  279. package/build/node/api.js +0 -1
  280. package/build/node/components/BlockStack/BlockStack.js +0 -11
  281. package/build/node/components/BlockStack/README.md +0 -1
  282. package/build/node/components/Button/Button.js +0 -11
  283. package/build/node/components/Button/README.md +0 -1
  284. package/build/node/components/Checkbox/Checkbox.js +0 -14
  285. package/build/node/components/Checkbox/README.md +0 -1
  286. package/build/node/components/Text/README.md +0 -1
  287. package/build/node/components/Text/Text.js +0 -11
  288. package/build/node/components/TextField/README.md +0 -1
  289. package/build/node/components/TextField/TextField.js +0 -11
  290. package/build/node/components/View/README.md +0 -1
  291. package/build/node/components/View/View.js +0 -11
  292. package/build/node/components.js +0 -53
  293. package/build/node/extension.js +0 -1
  294. package/build/node/index.js +0 -44
  295. package/build/node/surfaces/admin/api/checkout-editor/README.md +0 -1
  296. package/build/node/surfaces/admin/api/checkout-editor/render-settings.js +0 -1
  297. package/build/node/surfaces/admin/api/standard/README.md +0 -1
  298. package/build/node/surfaces/admin/api/standard/standard.js +0 -1
  299. package/build/node/surfaces/admin/api.js +0 -1
  300. package/build/node/surfaces/admin/components/TextField/TextField.js +0 -11
  301. package/build/node/surfaces/admin/components.js +0 -30
  302. package/build/node/surfaces/admin/extension-points.js +0 -1
  303. package/build/node/surfaces/admin/extension.js +0 -27
  304. package/build/node/surfaces/admin/index.js +0 -70
  305. package/build/node/surfaces/admin/shared.js +0 -1
  306. package/build/node/surfaces/checkout/api/cart-line-details/README.md +0 -1
  307. package/build/node/surfaces/checkout/api/cart-line-details/render-after.js +0 -1
  308. package/build/node/surfaces/checkout/api/shared.js +0 -1
  309. package/build/node/surfaces/checkout/api/standard/README.md +0 -1
  310. package/build/node/surfaces/checkout/api/standard/standard.js +0 -1
  311. package/build/node/surfaces/checkout/api.js +0 -1
  312. package/build/node/surfaces/checkout/components.js +0 -18
  313. package/build/node/surfaces/checkout/extension-points.js +0 -1
  314. package/build/node/surfaces/checkout/extension.js +0 -27
  315. package/build/node/surfaces/checkout/index.js +0 -70
  316. package/build/node/surfaces/checkout/shared.js +0 -1
  317. package/build/node/utilities/registration.js +0 -44
  318. package/build/ts/api.d.ts +0 -8
  319. package/build/ts/api.d.ts.map +0 -1
  320. package/build/ts/api.js +0 -2
  321. package/build/ts/components/BlockStack/BlockStack.d.ts +0 -8
  322. package/build/ts/components/BlockStack/BlockStack.d.ts.map +0 -1
  323. package/build/ts/components/BlockStack/BlockStack.js +0 -5
  324. package/build/ts/components/Button/Button.d.ts +0 -12
  325. package/build/ts/components/Button/Button.d.ts.map +0 -1
  326. package/build/ts/components/Button/Button.js +0 -5
  327. package/build/ts/components/Checkbox/Checkbox.d.ts +0 -30
  328. package/build/ts/components/Checkbox/Checkbox.d.ts.map +0 -1
  329. package/build/ts/components/Checkbox/Checkbox.js +0 -8
  330. package/build/ts/components/Text/Text.d.ts +0 -8
  331. package/build/ts/components/Text/Text.d.ts.map +0 -1
  332. package/build/ts/components/Text/Text.js +0 -5
  333. package/build/ts/components/TextField/TextField.d.ts +0 -53
  334. package/build/ts/components/TextField/TextField.d.ts.map +0 -1
  335. package/build/ts/components/TextField/TextField.js +0 -5
  336. package/build/ts/components/View/View.d.ts +0 -8
  337. package/build/ts/components/View/View.d.ts.map +0 -1
  338. package/build/ts/components/View/View.js +0 -5
  339. package/build/ts/components.d.ts +0 -13
  340. package/build/ts/components.d.ts.map +0 -1
  341. package/build/ts/components.js +0 -15
  342. package/build/ts/extension.d.ts +0 -15
  343. package/build/ts/extension.d.ts.map +0 -1
  344. package/build/ts/extension.js +0 -2
  345. package/build/ts/index.d.ts +0 -4
  346. package/build/ts/index.d.ts.map +0 -1
  347. package/build/ts/index.js +0 -19
  348. package/build/ts/surfaces/admin/api/checkout-editor/render-settings.d.ts +0 -19
  349. package/build/ts/surfaces/admin/api/checkout-editor/render-settings.d.ts.map +0 -1
  350. package/build/ts/surfaces/admin/api/checkout-editor/render-settings.js +0 -2
  351. package/build/ts/surfaces/admin/api/standard/standard.d.ts +0 -7
  352. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +0 -1
  353. package/build/ts/surfaces/admin/api/standard/standard.js +0 -2
  354. package/build/ts/surfaces/admin/api.d.ts +0 -3
  355. package/build/ts/surfaces/admin/api.d.ts.map +0 -1
  356. package/build/ts/surfaces/admin/api.js +0 -2
  357. package/build/ts/surfaces/admin/components/TextField/TextField.d.ts +0 -15
  358. package/build/ts/surfaces/admin/components/TextField/TextField.d.ts.map +0 -1
  359. package/build/ts/surfaces/admin/components/TextField/TextField.js +0 -5
  360. package/build/ts/surfaces/admin/components.d.ts +0 -4
  361. package/build/ts/surfaces/admin/components.d.ts.map +0 -1
  362. package/build/ts/surfaces/admin/components.js +0 -20
  363. package/build/ts/surfaces/admin/extension-points.d.ts +0 -9
  364. package/build/ts/surfaces/admin/extension-points.d.ts.map +0 -1
  365. package/build/ts/surfaces/admin/extension-points.js +0 -2
  366. package/build/ts/surfaces/admin/extension.d.ts +0 -4
  367. package/build/ts/surfaces/admin/extension.d.ts.map +0 -1
  368. package/build/ts/surfaces/admin/extension.js +0 -20
  369. package/build/ts/surfaces/admin/index.d.ts +0 -6
  370. package/build/ts/surfaces/admin/index.d.ts.map +0 -1
  371. package/build/ts/surfaces/admin/index.js +0 -21
  372. package/build/ts/surfaces/admin/shared.d.ts +0 -8
  373. package/build/ts/surfaces/admin/shared.d.ts.map +0 -1
  374. package/build/ts/surfaces/admin/shared.js +0 -2
  375. package/build/ts/surfaces/checkout/api/cart-line-details/render-after.d.ts +0 -6
  376. package/build/ts/surfaces/checkout/api/cart-line-details/render-after.d.ts.map +0 -1
  377. package/build/ts/surfaces/checkout/api/cart-line-details/render-after.js +0 -2
  378. package/build/ts/surfaces/checkout/api/shared.d.ts +0 -4
  379. package/build/ts/surfaces/checkout/api/shared.d.ts.map +0 -1
  380. package/build/ts/surfaces/checkout/api/shared.js +0 -2
  381. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +0 -7
  382. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +0 -1
  383. package/build/ts/surfaces/checkout/api/standard/standard.js +0 -2
  384. package/build/ts/surfaces/checkout/api.d.ts +0 -3
  385. package/build/ts/surfaces/checkout/api.d.ts.map +0 -1
  386. package/build/ts/surfaces/checkout/api.js +0 -2
  387. package/build/ts/surfaces/checkout/components.d.ts +0 -2
  388. package/build/ts/surfaces/checkout/components.d.ts.map +0 -1
  389. package/build/ts/surfaces/checkout/components.js +0 -17
  390. package/build/ts/surfaces/checkout/extension-points.d.ts +0 -10
  391. package/build/ts/surfaces/checkout/extension-points.d.ts.map +0 -1
  392. package/build/ts/surfaces/checkout/extension-points.js +0 -2
  393. package/build/ts/surfaces/checkout/extension.d.ts +0 -4
  394. package/build/ts/surfaces/checkout/extension.d.ts.map +0 -1
  395. package/build/ts/surfaces/checkout/extension.js +0 -20
  396. package/build/ts/surfaces/checkout/index.d.ts +0 -6
  397. package/build/ts/surfaces/checkout/index.d.ts.map +0 -1
  398. package/build/ts/surfaces/checkout/index.js +0 -21
  399. package/build/ts/surfaces/checkout/shared.d.ts +0 -8
  400. package/build/ts/surfaces/checkout/shared.d.ts.map +0 -1
  401. package/build/ts/surfaces/checkout/shared.js +0 -2
  402. package/build/ts/utilities/registration.d.ts +0 -13
  403. package/build/ts/utilities/registration.d.ts.map +0 -1
  404. package/build/ts/utilities/registration.js +0 -111
  405. package/build/tsconfig.tsbuildinfo +0 -1
  406. package/checkout.d.ts +0 -1
  407. package/index.d.ts +0 -1
  408. package/sewing-kit.config.ts +0 -9
  409. package/src/components/BlockStack/BlockStack.ts +0 -7
  410. package/src/components/BlockStack/README.md +0 -1
  411. package/src/components/Button/Button.ts +0 -10
  412. package/src/components/Button/README.md +0 -1
  413. package/src/components/Checkbox/README.md +0 -1
  414. package/src/components/Text/README.md +0 -1
  415. package/src/components/Text/Text.ts +0 -5
  416. package/src/components/TextField/README.md +0 -1
  417. package/src/components/TextField/TextField.ts +0 -56
  418. package/src/components/View/README.md +0 -1
  419. package/src/components/View/View.ts +0 -5
  420. package/src/components.ts +0 -17
  421. package/src/surfaces/admin/api/checkout-editor/README.md +0 -1
  422. package/src/surfaces/admin/api/checkout-editor/render-settings.ts +0 -26
  423. package/src/surfaces/admin/api/standard/README.md +0 -1
  424. package/src/surfaces/admin/api/standard/standard.ts +0 -8
  425. package/src/surfaces/admin/api.ts +0 -2
  426. package/src/surfaces/admin/components/TextField/TextField.ts +0 -16
  427. package/src/surfaces/admin/components.ts +0 -4
  428. package/src/surfaces/admin/extension-points.ts +0 -17
  429. package/src/surfaces/admin/extension.ts +0 -7
  430. package/src/surfaces/admin/index.ts +0 -5
  431. package/src/surfaces/admin/shared.ts +0 -14
@@ -1,3 +1,810 @@
1
- export interface CartLine {
2
- id: string;
3
- }
1
+ export type ValueOrPromise<T> = T extends PromiseLike<any> ? T : T | Promise<T>;
2
+
3
+ // To update these type values, see https://github.com/Shopify/checkout-web/pull/8984
4
+ export type CurrencyCode =
5
+ | 'AED'
6
+ | 'AFN'
7
+ | 'ALL'
8
+ | 'AMD'
9
+ | 'ANG'
10
+ | 'AOA'
11
+ | 'ARS'
12
+ | 'AUD'
13
+ | 'AWG'
14
+ | 'AZN'
15
+ | 'BAM'
16
+ | 'BBD'
17
+ | 'BDT'
18
+ | 'BGN'
19
+ | 'BHD'
20
+ | 'BIF'
21
+ | 'BMD'
22
+ | 'BND'
23
+ | 'BOB'
24
+ | 'BOV'
25
+ | 'BRL'
26
+ | 'BSD'
27
+ | 'BTN'
28
+ | 'BWP'
29
+ | 'BYN'
30
+ | 'BZD'
31
+ | 'CAD'
32
+ | 'CDF'
33
+ | 'CHE'
34
+ | 'CHF'
35
+ | 'CHW'
36
+ | 'CLF'
37
+ | 'CLP'
38
+ | 'CNY'
39
+ | 'COP'
40
+ | 'COU'
41
+ | 'CRC'
42
+ | 'CUC'
43
+ | 'CUP'
44
+ | 'CVE'
45
+ | 'CZK'
46
+ | 'DJF'
47
+ | 'DKK'
48
+ | 'DOP'
49
+ | 'DZD'
50
+ | 'EGP'
51
+ | 'ERN'
52
+ | 'ETB'
53
+ | 'EUR'
54
+ | 'FJD'
55
+ | 'FKP'
56
+ | 'GBP'
57
+ | 'GEL'
58
+ | 'GHS'
59
+ | 'GIP'
60
+ | 'GMD'
61
+ | 'GNF'
62
+ | 'GTQ'
63
+ | 'GYD'
64
+ | 'HKD'
65
+ | 'HNL'
66
+ | 'HRK'
67
+ | 'HTG'
68
+ | 'HUF'
69
+ | 'IDR'
70
+ | 'ILS'
71
+ | 'INR'
72
+ | 'IQD'
73
+ | 'IRR'
74
+ | 'ISK'
75
+ | 'JMD'
76
+ | 'JOD'
77
+ | 'JPY'
78
+ | 'KES'
79
+ | 'KGS'
80
+ | 'KHR'
81
+ | 'KMF'
82
+ | 'KPW'
83
+ | 'KRW'
84
+ | 'KWD'
85
+ | 'KYD'
86
+ | 'KZT'
87
+ | 'LAK'
88
+ | 'LBP'
89
+ | 'LKR'
90
+ | 'LRD'
91
+ | 'LSL'
92
+ | 'LYD'
93
+ | 'MAD'
94
+ | 'MDL'
95
+ | 'MGA'
96
+ | 'MKD'
97
+ | 'MMK'
98
+ | 'MNT'
99
+ | 'MOP'
100
+ | 'MRU'
101
+ | 'MUR'
102
+ | 'MVR'
103
+ | 'MWK'
104
+ | 'MXN'
105
+ | 'MXV'
106
+ | 'MYR'
107
+ | 'MZN'
108
+ | 'NAD'
109
+ | 'NGN'
110
+ | 'NIO'
111
+ | 'NOK'
112
+ | 'NPR'
113
+ | 'NZD'
114
+ | 'OMR'
115
+ | 'PAB'
116
+ | 'PEN'
117
+ | 'PGK'
118
+ | 'PHP'
119
+ | 'PKR'
120
+ | 'PLN'
121
+ | 'PYG'
122
+ | 'QAR'
123
+ | 'RON'
124
+ | 'RSD'
125
+ | 'RUB'
126
+ | 'RWF'
127
+ | 'SAR'
128
+ | 'SBD'
129
+ | 'SCR'
130
+ | 'SDG'
131
+ | 'SEK'
132
+ | 'SGD'
133
+ | 'SHP'
134
+ | 'SLL'
135
+ | 'SOS'
136
+ | 'SRD'
137
+ | 'SSP'
138
+ | 'STN'
139
+ | 'SVC'
140
+ | 'SYP'
141
+ | 'SZL'
142
+ | 'THB'
143
+ | 'TJS'
144
+ | 'TMT'
145
+ | 'TND'
146
+ | 'TOP'
147
+ | 'TRY'
148
+ | 'TTD'
149
+ | 'TWD'
150
+ | 'TZS'
151
+ | 'UAH'
152
+ | 'UGX'
153
+ | 'USD'
154
+ | 'USN'
155
+ | 'UYI'
156
+ | 'UYU'
157
+ | 'UYW'
158
+ | 'UZS'
159
+ | 'VES'
160
+ | 'VND'
161
+ | 'VUV'
162
+ | 'WST'
163
+ | 'XAF'
164
+ | 'XAG'
165
+ | 'XAU'
166
+ | 'XBA'
167
+ | 'XBB'
168
+ | 'XBC'
169
+ | 'XBD'
170
+ | 'XCD'
171
+ | 'XDR'
172
+ | 'XOF'
173
+ | 'XPD'
174
+ | 'XPF'
175
+ | 'XPT'
176
+ | 'XSU'
177
+ | 'XTS'
178
+ | 'XUA'
179
+ | 'XXX'
180
+ | 'YER'
181
+ | 'ZAR'
182
+ | 'ZMW'
183
+ | 'ZWL';
184
+
185
+ // To update these type values, see https://github.com/Shopify/checkout-web/pull/8984
186
+ export type Timezone =
187
+ | 'Africa/Abidjan'
188
+ | 'Africa/Algiers'
189
+ | 'Africa/Bissau'
190
+ | 'Africa/Cairo'
191
+ | 'Africa/Casablanca'
192
+ | 'Africa/Ceuta'
193
+ | 'Africa/El_Aaiun'
194
+ | 'Africa/Johannesburg'
195
+ | 'Africa/Juba'
196
+ | 'Africa/Khartoum'
197
+ | 'Africa/Lagos'
198
+ | 'Africa/Maputo'
199
+ | 'Africa/Monrovia'
200
+ | 'Africa/Nairobi'
201
+ | 'Africa/Ndjamena'
202
+ | 'Africa/Sao_Tome'
203
+ | 'Africa/Tripoli'
204
+ | 'Africa/Tunis'
205
+ | 'Africa/Windhoek'
206
+ | 'America/Adak'
207
+ | 'America/Anchorage'
208
+ | 'America/Araguaina'
209
+ | 'America/Argentina/Buenos_Aires'
210
+ | 'America/Argentina/Catamarca'
211
+ | 'America/Argentina/Cordoba'
212
+ | 'America/Argentina/Jujuy'
213
+ | 'America/Argentina/La_Rioja'
214
+ | 'America/Argentina/Mendoza'
215
+ | 'America/Argentina/Rio_Gallegos'
216
+ | 'America/Argentina/Salta'
217
+ | 'America/Argentina/San_Juan'
218
+ | 'America/Argentina/San_Luis'
219
+ | 'America/Argentina/Tucuman'
220
+ | 'America/Argentina/Ushuaia'
221
+ | 'America/Asuncion'
222
+ | 'America/Bahia'
223
+ | 'America/Bahia_Banderas'
224
+ | 'America/Barbados'
225
+ | 'America/Belem'
226
+ | 'America/Belize'
227
+ | 'America/Boa_Vista'
228
+ | 'America/Bogota'
229
+ | 'America/Boise'
230
+ | 'America/Cambridge_Bay'
231
+ | 'America/Campo_Grande'
232
+ | 'America/Cancun'
233
+ | 'America/Caracas'
234
+ | 'America/Cayenne'
235
+ | 'America/Chicago'
236
+ | 'America/Chihuahua'
237
+ | 'America/Costa_Rica'
238
+ | 'America/Cuiaba'
239
+ | 'America/Danmarkshavn'
240
+ | 'America/Dawson'
241
+ | 'America/Dawson_Creek'
242
+ | 'America/Denver'
243
+ | 'America/Detroit'
244
+ | 'America/Edmonton'
245
+ | 'America/Eirunepe'
246
+ | 'America/El_Salvador'
247
+ | 'America/Fort_Nelson'
248
+ | 'America/Fortaleza'
249
+ | 'America/Glace_Bay'
250
+ | 'America/Goose_Bay'
251
+ | 'America/Grand_Turk'
252
+ | 'America/Guatemala'
253
+ | 'America/Guayaquil'
254
+ | 'America/Guyana'
255
+ | 'America/Halifax'
256
+ | 'America/Havana'
257
+ | 'America/Hermosillo'
258
+ | 'America/Indiana/Indianapolis'
259
+ | 'America/Indiana/Knox'
260
+ | 'America/Indiana/Marengo'
261
+ | 'America/Indiana/Petersburg'
262
+ | 'America/Indiana/Tell_City'
263
+ | 'America/Indiana/Vevay'
264
+ | 'America/Indiana/Vincennes'
265
+ | 'America/Indiana/Winamac'
266
+ | 'America/Inuvik'
267
+ | 'America/Iqaluit'
268
+ | 'America/Jamaica'
269
+ | 'America/Juneau'
270
+ | 'America/Kentucky/Louisville'
271
+ | 'America/Kentucky/Monticello'
272
+ | 'America/La_Paz'
273
+ | 'America/Lima'
274
+ | 'America/Los_Angeles'
275
+ | 'America/Maceio'
276
+ | 'America/Managua'
277
+ | 'America/Manaus'
278
+ | 'America/Martinique'
279
+ | 'America/Matamoros'
280
+ | 'America/Mazatlan'
281
+ | 'America/Menominee'
282
+ | 'America/Merida'
283
+ | 'America/Metlakatla'
284
+ | 'America/Mexico_City'
285
+ | 'America/Miquelon'
286
+ | 'America/Moncton'
287
+ | 'America/Monterrey'
288
+ | 'America/Montevideo'
289
+ | 'America/New_York'
290
+ | 'America/Nipigon'
291
+ | 'America/Nome'
292
+ | 'America/Noronha'
293
+ | 'America/North_Dakota/Beulah'
294
+ | 'America/North_Dakota/Center'
295
+ | 'America/North_Dakota/New_Salem'
296
+ | 'America/Nuuk'
297
+ | 'America/Ojinaga'
298
+ | 'America/Panama'
299
+ | 'America/Pangnirtung'
300
+ | 'America/Paramaribo'
301
+ | 'America/Phoenix'
302
+ | 'America/Port-au-Prince'
303
+ | 'America/Porto_Velho'
304
+ | 'America/Puerto_Rico'
305
+ | 'America/Punta_Arenas'
306
+ | 'America/Rainy_River'
307
+ | 'America/Rankin_Inlet'
308
+ | 'America/Recife'
309
+ | 'America/Regina'
310
+ | 'America/Resolute'
311
+ | 'America/Rio_Branco'
312
+ | 'America/Santarem'
313
+ | 'America/Santiago'
314
+ | 'America/Santo_Domingo'
315
+ | 'America/Sao_Paulo'
316
+ | 'America/Scoresbysund'
317
+ | 'America/Sitka'
318
+ | 'America/St_Johns'
319
+ | 'America/Swift_Current'
320
+ | 'America/Tegucigalpa'
321
+ | 'America/Thule'
322
+ | 'America/Thunder_Bay'
323
+ | 'America/Tijuana'
324
+ | 'America/Toronto'
325
+ | 'America/Vancouver'
326
+ | 'America/Whitehorse'
327
+ | 'America/Winnipeg'
328
+ | 'America/Yakutat'
329
+ | 'America/Yellowknife'
330
+ | 'Antarctica/Casey'
331
+ | 'Antarctica/Davis'
332
+ | 'Antarctica/Macquarie'
333
+ | 'Antarctica/Mawson'
334
+ | 'Antarctica/Palmer'
335
+ | 'Antarctica/Rothera'
336
+ | 'Antarctica/Troll'
337
+ | 'Antarctica/Vostok'
338
+ | 'Asia/Almaty'
339
+ | 'Asia/Amman'
340
+ | 'Asia/Anadyr'
341
+ | 'Asia/Aqtau'
342
+ | 'Asia/Aqtobe'
343
+ | 'Asia/Ashgabat'
344
+ | 'Asia/Atyrau'
345
+ | 'Asia/Baghdad'
346
+ | 'Asia/Baku'
347
+ | 'Asia/Bangkok'
348
+ | 'Asia/Barnaul'
349
+ | 'Asia/Beirut'
350
+ | 'Asia/Bishkek'
351
+ | 'Asia/Brunei'
352
+ | 'Asia/Chita'
353
+ | 'Asia/Choibalsan'
354
+ | 'Asia/Colombo'
355
+ | 'Asia/Damascus'
356
+ | 'Asia/Dhaka'
357
+ | 'Asia/Dili'
358
+ | 'Asia/Dubai'
359
+ | 'Asia/Dushanbe'
360
+ | 'Asia/Famagusta'
361
+ | 'Asia/Gaza'
362
+ | 'Asia/Hebron'
363
+ | 'Asia/Ho_Chi_Minh'
364
+ | 'Asia/Hong_Kong'
365
+ | 'Asia/Hovd'
366
+ | 'Asia/Irkutsk'
367
+ | 'Asia/Jakarta'
368
+ | 'Asia/Jayapura'
369
+ | 'Asia/Jerusalem'
370
+ | 'Asia/Kabul'
371
+ | 'Asia/Kamchatka'
372
+ | 'Asia/Karachi'
373
+ | 'Asia/Kathmandu'
374
+ | 'Asia/Khandyga'
375
+ | 'Asia/Kolkata'
376
+ | 'Asia/Krasnoyarsk'
377
+ | 'Asia/Kuala_Lumpur'
378
+ | 'Asia/Kuching'
379
+ | 'Asia/Macau'
380
+ | 'Asia/Magadan'
381
+ | 'Asia/Makassar'
382
+ | 'Asia/Manila'
383
+ | 'Asia/Nicosia'
384
+ | 'Asia/Novokuznetsk'
385
+ | 'Asia/Novosibirsk'
386
+ | 'Asia/Omsk'
387
+ | 'Asia/Oral'
388
+ | 'Asia/Pontianak'
389
+ | 'Asia/Pyongyang'
390
+ | 'Asia/Qatar'
391
+ | 'Asia/Qostanay'
392
+ | 'Asia/Qyzylorda'
393
+ | 'Asia/Riyadh'
394
+ | 'Asia/Sakhalin'
395
+ | 'Asia/Samarkand'
396
+ | 'Asia/Seoul'
397
+ | 'Asia/Shanghai'
398
+ | 'Asia/Singapore'
399
+ | 'Asia/Srednekolymsk'
400
+ | 'Asia/Taipei'
401
+ | 'Asia/Tashkent'
402
+ | 'Asia/Tbilisi'
403
+ | 'Asia/Tehran'
404
+ | 'Asia/Thimphu'
405
+ | 'Asia/Tokyo'
406
+ | 'Asia/Tomsk'
407
+ | 'Asia/Ulaanbaatar'
408
+ | 'Asia/Urumqi'
409
+ | 'Asia/Ust-Nera'
410
+ | 'Asia/Vladivostok'
411
+ | 'Asia/Yakutsk'
412
+ | 'Asia/Yangon'
413
+ | 'Asia/Yekaterinburg'
414
+ | 'Asia/Yerevan'
415
+ | 'Atlantic/Azores'
416
+ | 'Atlantic/Bermuda'
417
+ | 'Atlantic/Canary'
418
+ | 'Atlantic/Cape_Verde'
419
+ | 'Atlantic/Faroe'
420
+ | 'Atlantic/Madeira'
421
+ | 'Atlantic/Reykjavik'
422
+ | 'Atlantic/South_Georgia'
423
+ | 'Atlantic/Stanley'
424
+ | 'Australia/Adelaide'
425
+ | 'Australia/Brisbane'
426
+ | 'Australia/Broken_Hill'
427
+ | 'Australia/Darwin'
428
+ | 'Australia/Eucla'
429
+ | 'Australia/Hobart'
430
+ | 'Australia/Lindeman'
431
+ | 'Australia/Lord_Howe'
432
+ | 'Australia/Melbourne'
433
+ | 'Australia/Perth'
434
+ | 'Australia/Sydney'
435
+ | 'CET'
436
+ | 'CST6CDT'
437
+ | 'EET'
438
+ | 'EST'
439
+ | 'EST5EDT'
440
+ | 'Etc/GMT'
441
+ | 'Etc/GMT-1'
442
+ | 'Etc/GMT-10'
443
+ | 'Etc/GMT-11'
444
+ | 'Etc/GMT-12'
445
+ | 'Etc/GMT-13'
446
+ | 'Etc/GMT-14'
447
+ | 'Etc/GMT-2'
448
+ | 'Etc/GMT-3'
449
+ | 'Etc/GMT-4'
450
+ | 'Etc/GMT-5'
451
+ | 'Etc/GMT-6'
452
+ | 'Etc/GMT-7'
453
+ | 'Etc/GMT-8'
454
+ | 'Etc/GMT-9'
455
+ | 'Etc/GMT+1'
456
+ | 'Etc/GMT+10'
457
+ | 'Etc/GMT+11'
458
+ | 'Etc/GMT+12'
459
+ | 'Etc/GMT+2'
460
+ | 'Etc/GMT+3'
461
+ | 'Etc/GMT+4'
462
+ | 'Etc/GMT+5'
463
+ | 'Etc/GMT+6'
464
+ | 'Etc/GMT+7'
465
+ | 'Etc/GMT+8'
466
+ | 'Etc/GMT+9'
467
+ | 'Etc/UTC'
468
+ | 'Europe/Amsterdam'
469
+ | 'Europe/Andorra'
470
+ | 'Europe/Astrakhan'
471
+ | 'Europe/Athens'
472
+ | 'Europe/Belgrade'
473
+ | 'Europe/Berlin'
474
+ | 'Europe/Brussels'
475
+ | 'Europe/Bucharest'
476
+ | 'Europe/Budapest'
477
+ | 'Europe/Chisinau'
478
+ | 'Europe/Copenhagen'
479
+ | 'Europe/Dublin'
480
+ | 'Europe/Gibraltar'
481
+ | 'Europe/Helsinki'
482
+ | 'Europe/Istanbul'
483
+ | 'Europe/Kaliningrad'
484
+ | 'Europe/Kiev'
485
+ | 'Europe/Kirov'
486
+ | 'Europe/Lisbon'
487
+ | 'Europe/London'
488
+ | 'Europe/Luxembourg'
489
+ | 'Europe/Madrid'
490
+ | 'Europe/Malta'
491
+ | 'Europe/Minsk'
492
+ | 'Europe/Monaco'
493
+ | 'Europe/Moscow'
494
+ | 'Europe/Oslo'
495
+ | 'Europe/Paris'
496
+ | 'Europe/Prague'
497
+ | 'Europe/Riga'
498
+ | 'Europe/Rome'
499
+ | 'Europe/Samara'
500
+ | 'Europe/Saratov'
501
+ | 'Europe/Simferopol'
502
+ | 'Europe/Sofia'
503
+ | 'Europe/Stockholm'
504
+ | 'Europe/Tallinn'
505
+ | 'Europe/Tirane'
506
+ | 'Europe/Ulyanovsk'
507
+ | 'Europe/Uzhgorod'
508
+ | 'Europe/Vienna'
509
+ | 'Europe/Vilnius'
510
+ | 'Europe/Volgograd'
511
+ | 'Europe/Warsaw'
512
+ | 'Europe/Zaporozhye'
513
+ | 'Europe/Zurich'
514
+ | 'HST'
515
+ | 'Indian/Chagos'
516
+ | 'Indian/Christmas'
517
+ | 'Indian/Cocos'
518
+ | 'Indian/Kerguelen'
519
+ | 'Indian/Mahe'
520
+ | 'Indian/Maldives'
521
+ | 'Indian/Mauritius'
522
+ | 'Indian/Reunion'
523
+ | 'MET'
524
+ | 'MST'
525
+ | 'MST7MDT'
526
+ | 'Pacific/Apia'
527
+ | 'Pacific/Auckland'
528
+ | 'Pacific/Bougainville'
529
+ | 'Pacific/Chatham'
530
+ | 'Pacific/Chuuk'
531
+ | 'Pacific/Easter'
532
+ | 'Pacific/Efate'
533
+ | 'Pacific/Fakaofo'
534
+ | 'Pacific/Fiji'
535
+ | 'Pacific/Funafuti'
536
+ | 'Pacific/Galapagos'
537
+ | 'Pacific/Gambier'
538
+ | 'Pacific/Guadalcanal'
539
+ | 'Pacific/Guam'
540
+ | 'Pacific/Honolulu'
541
+ | 'Pacific/Kanton'
542
+ | 'Pacific/Kiritimati'
543
+ | 'Pacific/Kosrae'
544
+ | 'Pacific/Kwajalein'
545
+ | 'Pacific/Majuro'
546
+ | 'Pacific/Marquesas'
547
+ | 'Pacific/Nauru'
548
+ | 'Pacific/Niue'
549
+ | 'Pacific/Norfolk'
550
+ | 'Pacific/Noumea'
551
+ | 'Pacific/Pago_Pago'
552
+ | 'Pacific/Palau'
553
+ | 'Pacific/Pitcairn'
554
+ | 'Pacific/Pohnpei'
555
+ | 'Pacific/Port_Moresby'
556
+ | 'Pacific/Rarotonga'
557
+ | 'Pacific/Tahiti'
558
+ | 'Pacific/Tarawa'
559
+ | 'Pacific/Tongatapu'
560
+ | 'Pacific/Wake'
561
+ | 'Pacific/Wallis'
562
+ | 'PST8PDT'
563
+ | 'WET';
564
+
565
+ export type CountryCode =
566
+ | 'AC'
567
+ | 'AD'
568
+ | 'AE'
569
+ | 'AF'
570
+ | 'AG'
571
+ | 'AI'
572
+ | 'AL'
573
+ | 'AM'
574
+ | 'AN'
575
+ | 'AO'
576
+ | 'AR'
577
+ | 'AT'
578
+ | 'AU'
579
+ | 'AW'
580
+ | 'AX'
581
+ | 'AZ'
582
+ | 'BA'
583
+ | 'BB'
584
+ | 'BD'
585
+ | 'BE'
586
+ | 'BF'
587
+ | 'BG'
588
+ | 'BH'
589
+ | 'BI'
590
+ | 'BJ'
591
+ | 'BL'
592
+ | 'BM'
593
+ | 'BN'
594
+ | 'BO'
595
+ | 'BQ'
596
+ | 'BR'
597
+ | 'BS'
598
+ | 'BT'
599
+ | 'BV'
600
+ | 'BW'
601
+ | 'BY'
602
+ | 'BZ'
603
+ | 'CA'
604
+ | 'CC'
605
+ | 'CD'
606
+ | 'CF'
607
+ | 'CG'
608
+ | 'CH'
609
+ | 'CI'
610
+ | 'CK'
611
+ | 'CL'
612
+ | 'CM'
613
+ | 'CN'
614
+ | 'CO'
615
+ | 'CR'
616
+ | 'CU'
617
+ | 'CV'
618
+ | 'CW'
619
+ | 'CX'
620
+ | 'CY'
621
+ | 'CZ'
622
+ | 'DE'
623
+ | 'DJ'
624
+ | 'DK'
625
+ | 'DM'
626
+ | 'DO'
627
+ | 'DZ'
628
+ | 'EC'
629
+ | 'EE'
630
+ | 'EG'
631
+ | 'EH'
632
+ | 'ER'
633
+ | 'ES'
634
+ | 'ET'
635
+ | 'FI'
636
+ | 'FJ'
637
+ | 'FK'
638
+ | 'FO'
639
+ | 'FR'
640
+ | 'GA'
641
+ | 'GB'
642
+ | 'GD'
643
+ | 'GE'
644
+ | 'GF'
645
+ | 'GG'
646
+ | 'GH'
647
+ | 'GI'
648
+ | 'GL'
649
+ | 'GM'
650
+ | 'GN'
651
+ | 'GP'
652
+ | 'GQ'
653
+ | 'GR'
654
+ | 'GS'
655
+ | 'GT'
656
+ | 'GW'
657
+ | 'GY'
658
+ | 'HK'
659
+ | 'HM'
660
+ | 'HN'
661
+ | 'HR'
662
+ | 'HT'
663
+ | 'HU'
664
+ | 'ID'
665
+ | 'IE'
666
+ | 'IL'
667
+ | 'IM'
668
+ | 'IN'
669
+ | 'IO'
670
+ | 'IQ'
671
+ | 'IR'
672
+ | 'IS'
673
+ | 'IT'
674
+ | 'JE'
675
+ | 'JM'
676
+ | 'JO'
677
+ | 'JP'
678
+ | 'KE'
679
+ | 'KG'
680
+ | 'KH'
681
+ | 'KI'
682
+ | 'KM'
683
+ | 'KN'
684
+ | 'KP'
685
+ | 'KR'
686
+ | 'KW'
687
+ | 'KY'
688
+ | 'KZ'
689
+ | 'LA'
690
+ | 'LB'
691
+ | 'LC'
692
+ | 'LI'
693
+ | 'LK'
694
+ | 'LR'
695
+ | 'LS'
696
+ | 'LT'
697
+ | 'LU'
698
+ | 'LV'
699
+ | 'LY'
700
+ | 'MA'
701
+ | 'MC'
702
+ | 'MD'
703
+ | 'ME'
704
+ | 'MF'
705
+ | 'MG'
706
+ | 'MK'
707
+ | 'ML'
708
+ | 'MM'
709
+ | 'MN'
710
+ | 'MO'
711
+ | 'MQ'
712
+ | 'MR'
713
+ | 'MS'
714
+ | 'MT'
715
+ | 'MU'
716
+ | 'MV'
717
+ | 'MW'
718
+ | 'MX'
719
+ | 'MY'
720
+ | 'MZ'
721
+ | 'NA'
722
+ | 'NC'
723
+ | 'NE'
724
+ | 'NF'
725
+ | 'NG'
726
+ | 'NI'
727
+ | 'NL'
728
+ | 'NO'
729
+ | 'NP'
730
+ | 'NR'
731
+ | 'NU'
732
+ | 'NZ'
733
+ | 'OM'
734
+ | 'PA'
735
+ | 'PE'
736
+ | 'PF'
737
+ | 'PG'
738
+ | 'PH'
739
+ | 'PK'
740
+ | 'PL'
741
+ | 'PM'
742
+ | 'PN'
743
+ | 'PS'
744
+ | 'PT'
745
+ | 'PY'
746
+ | 'QA'
747
+ | 'RE'
748
+ | 'RO'
749
+ | 'RS'
750
+ | 'RU'
751
+ | 'RW'
752
+ | 'SA'
753
+ | 'SB'
754
+ | 'SC'
755
+ | 'SD'
756
+ | 'SE'
757
+ | 'SG'
758
+ | 'SH'
759
+ | 'SI'
760
+ | 'SJ'
761
+ | 'SK'
762
+ | 'SL'
763
+ | 'SM'
764
+ | 'SN'
765
+ | 'SO'
766
+ | 'SR'
767
+ | 'SS'
768
+ | 'ST'
769
+ | 'SV'
770
+ | 'SX'
771
+ | 'SY'
772
+ | 'SZ'
773
+ | 'TA'
774
+ | 'TC'
775
+ | 'TD'
776
+ | 'TF'
777
+ | 'TG'
778
+ | 'TH'
779
+ | 'TJ'
780
+ | 'TK'
781
+ | 'TL'
782
+ | 'TM'
783
+ | 'TN'
784
+ | 'TO'
785
+ | 'TR'
786
+ | 'TT'
787
+ | 'TV'
788
+ | 'TW'
789
+ | 'TZ'
790
+ | 'UA'
791
+ | 'UG'
792
+ | 'UM'
793
+ | 'US'
794
+ | 'UY'
795
+ | 'UZ'
796
+ | 'VA'
797
+ | 'VC'
798
+ | 'VE'
799
+ | 'VG'
800
+ | 'VN'
801
+ | 'VU'
802
+ | 'WF'
803
+ | 'WS'
804
+ | 'XK'
805
+ | 'YE'
806
+ | 'YT'
807
+ | 'ZA'
808
+ | 'ZM'
809
+ | 'ZW'
810
+ | 'ZZ';