@oxy.so/bloom 23.6.0 → 23.7.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 (356) hide show
  1. package/NOTICE +28 -0
  2. package/android/src/main/java/so/oxy/bloom/BloomPackage.kt +3 -1
  3. package/android/src/main/java/so/oxy/bloom/icons/BloomIcon.kt +251 -0
  4. package/android/src/main/java/so/oxy/bloom/icons/IconPathParser.java +660 -0
  5. package/docs/adoption-matrix.mdx +1 -4
  6. package/docs/bloom-language-codemod.mdx +6 -2
  7. package/docs/bloom-language-modifiers.mdx +21 -5
  8. package/docs/bloom-language-nodes.mdx +3 -58
  9. package/docs/bloom-language.mdx +15 -36
  10. package/docs/empty-state.mdx +2 -3
  11. package/docs/icons.mdx +29 -1
  12. package/docs/public-parts.mdx +2 -7
  13. package/docs/task-catalog.json +1 -1
  14. package/docs/task-catalog.mdx +1 -1
  15. package/lib/commonjs/icons/TEMPLATE.js +25 -160
  16. package/lib/commonjs/icons/TEMPLATE.js.map +1 -1
  17. package/lib/commonjs/icons/glyph-svg.js +47 -0
  18. package/lib/commonjs/icons/glyph-svg.js.map +1 -0
  19. package/lib/commonjs/icons/glyph.js +29 -0
  20. package/lib/commonjs/icons/glyph.js.map +1 -0
  21. package/lib/commonjs/icons/glyph.native.js +112 -0
  22. package/lib/commonjs/icons/glyph.native.js.map +1 -0
  23. package/lib/commonjs/index.js +279 -485
  24. package/lib/commonjs/index.js.map +1 -1
  25. package/lib/commonjs/index.web.js +279 -485
  26. package/lib/commonjs/index.web.js.map +1 -1
  27. package/lib/commonjs/locale/translations/ar.js +0 -39
  28. package/lib/commonjs/locale/translations/ar.js.map +1 -1
  29. package/lib/commonjs/locale/translations/bn.js +0 -34
  30. package/lib/commonjs/locale/translations/bn.js.map +1 -1
  31. package/lib/commonjs/locale/translations/ca.js +0 -35
  32. package/lib/commonjs/locale/translations/ca.js.map +1 -1
  33. package/lib/commonjs/locale/translations/de.js +0 -35
  34. package/lib/commonjs/locale/translations/de.js.map +1 -1
  35. package/lib/commonjs/locale/translations/es.js +0 -35
  36. package/lib/commonjs/locale/translations/es.js.map +1 -1
  37. package/lib/commonjs/locale/translations/fr.js +0 -35
  38. package/lib/commonjs/locale/translations/fr.js.map +1 -1
  39. package/lib/commonjs/locale/translations/hi.js +0 -35
  40. package/lib/commonjs/locale/translations/hi.js.map +1 -1
  41. package/lib/commonjs/locale/translations/id.js +0 -34
  42. package/lib/commonjs/locale/translations/id.js.map +1 -1
  43. package/lib/commonjs/locale/translations/it.js +0 -35
  44. package/lib/commonjs/locale/translations/it.js.map +1 -1
  45. package/lib/commonjs/locale/translations/ja.js +0 -34
  46. package/lib/commonjs/locale/translations/ja.js.map +1 -1
  47. package/lib/commonjs/locale/translations/pt.js +0 -35
  48. package/lib/commonjs/locale/translations/pt.js.map +1 -1
  49. package/lib/commonjs/locale/translations/ru.js +0 -37
  50. package/lib/commonjs/locale/translations/ru.js.map +1 -1
  51. package/lib/commonjs/locale/translations/tr.js +0 -34
  52. package/lib/commonjs/locale/translations/tr.js.map +1 -1
  53. package/lib/commonjs/locale/translations/zh.js +0 -34
  54. package/lib/commonjs/locale/translations/zh.js.map +1 -1
  55. package/lib/module/icons/TEMPLATE.js +25 -158
  56. package/lib/module/icons/TEMPLATE.js.map +1 -1
  57. package/lib/module/icons/glyph-svg.js +41 -0
  58. package/lib/module/icons/glyph-svg.js.map +1 -0
  59. package/lib/module/icons/glyph.js +25 -0
  60. package/lib/module/icons/glyph.js.map +1 -0
  61. package/lib/module/icons/glyph.native.js +108 -0
  62. package/lib/module/icons/glyph.native.js.map +1 -0
  63. package/lib/module/index.js +0 -14
  64. package/lib/module/index.js.map +1 -1
  65. package/lib/module/index.web.js +0 -14
  66. package/lib/module/index.web.js.map +1 -1
  67. package/lib/module/locale/translations/ar.js +0 -39
  68. package/lib/module/locale/translations/ar.js.map +1 -1
  69. package/lib/module/locale/translations/bn.js +0 -34
  70. package/lib/module/locale/translations/bn.js.map +1 -1
  71. package/lib/module/locale/translations/ca.js +0 -35
  72. package/lib/module/locale/translations/ca.js.map +1 -1
  73. package/lib/module/locale/translations/de.js +0 -35
  74. package/lib/module/locale/translations/de.js.map +1 -1
  75. package/lib/module/locale/translations/es.js +0 -35
  76. package/lib/module/locale/translations/es.js.map +1 -1
  77. package/lib/module/locale/translations/fr.js +0 -35
  78. package/lib/module/locale/translations/fr.js.map +1 -1
  79. package/lib/module/locale/translations/hi.js +0 -35
  80. package/lib/module/locale/translations/hi.js.map +1 -1
  81. package/lib/module/locale/translations/id.js +0 -34
  82. package/lib/module/locale/translations/id.js.map +1 -1
  83. package/lib/module/locale/translations/it.js +0 -35
  84. package/lib/module/locale/translations/it.js.map +1 -1
  85. package/lib/module/locale/translations/ja.js +0 -34
  86. package/lib/module/locale/translations/ja.js.map +1 -1
  87. package/lib/module/locale/translations/pt.js +0 -35
  88. package/lib/module/locale/translations/pt.js.map +1 -1
  89. package/lib/module/locale/translations/ru.js +0 -37
  90. package/lib/module/locale/translations/ru.js.map +1 -1
  91. package/lib/module/locale/translations/tr.js +0 -34
  92. package/lib/module/locale/translations/tr.js.map +1 -1
  93. package/lib/module/locale/translations/zh.js +0 -34
  94. package/lib/module/locale/translations/zh.js.map +1 -1
  95. package/lib/typescript/commonjs/icons/TEMPLATE.d.ts +1 -1
  96. package/lib/typescript/commonjs/icons/TEMPLATE.d.ts.map +1 -1
  97. package/lib/typescript/commonjs/icons/glyph-svg.d.ts +17 -0
  98. package/lib/typescript/commonjs/icons/glyph-svg.d.ts.map +1 -0
  99. package/lib/typescript/commonjs/icons/glyph.d.ts +11 -0
  100. package/lib/typescript/commonjs/icons/glyph.d.ts.map +1 -0
  101. package/lib/typescript/commonjs/icons/glyph.native.d.ts +20 -0
  102. package/lib/typescript/commonjs/icons/glyph.native.d.ts.map +1 -0
  103. package/lib/typescript/commonjs/index.d.ts +0 -9
  104. package/lib/typescript/commonjs/index.d.ts.map +1 -1
  105. package/lib/typescript/commonjs/index.web.d.ts +0 -9
  106. package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
  107. package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
  108. package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
  109. package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
  110. package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
  111. package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
  112. package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
  114. package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
  115. package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
  117. package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
  118. package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
  120. package/lib/typescript/commonjs/locale/translations/types.d.ts +0 -6
  121. package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
  123. package/lib/typescript/module/icons/TEMPLATE.d.ts +1 -1
  124. package/lib/typescript/module/icons/TEMPLATE.d.ts.map +1 -1
  125. package/lib/typescript/module/icons/glyph-svg.d.ts +17 -0
  126. package/lib/typescript/module/icons/glyph-svg.d.ts.map +1 -0
  127. package/lib/typescript/module/icons/glyph.d.ts +11 -0
  128. package/lib/typescript/module/icons/glyph.d.ts.map +1 -0
  129. package/lib/typescript/module/icons/glyph.native.d.ts +20 -0
  130. package/lib/typescript/module/icons/glyph.native.d.ts.map +1 -0
  131. package/lib/typescript/module/index.d.ts +0 -9
  132. package/lib/typescript/module/index.d.ts.map +1 -1
  133. package/lib/typescript/module/index.web.d.ts +0 -9
  134. package/lib/typescript/module/index.web.d.ts.map +1 -1
  135. package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
  136. package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
  137. package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
  138. package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
  139. package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
  140. package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
  141. package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
  142. package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
  143. package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
  144. package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
  145. package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
  146. package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
  147. package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
  148. package/lib/typescript/module/locale/translations/types.d.ts +0 -6
  149. package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
  150. package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
  151. package/package.json +1 -52
  152. package/src/__tests__/support/public-part-classifications.json +0 -5
  153. package/src/icons/TEMPLATE.tsx +28 -49
  154. package/src/icons/glyph-svg.tsx +54 -0
  155. package/src/icons/glyph.native.tsx +138 -0
  156. package/src/icons/glyph.tsx +15 -0
  157. package/src/index.ts +0 -62
  158. package/src/index.web.ts +0 -62
  159. package/src/locale/translations/ar.ts +0 -36
  160. package/src/locale/translations/bn.ts +0 -36
  161. package/src/locale/translations/ca.ts +0 -36
  162. package/src/locale/translations/de.ts +0 -36
  163. package/src/locale/translations/es.ts +0 -36
  164. package/src/locale/translations/fr.ts +0 -36
  165. package/src/locale/translations/hi.ts +0 -36
  166. package/src/locale/translations/id.ts +0 -36
  167. package/src/locale/translations/it.ts +0 -36
  168. package/src/locale/translations/ja.ts +0 -36
  169. package/src/locale/translations/pt.ts +0 -36
  170. package/src/locale/translations/ru.ts +0 -36
  171. package/src/locale/translations/tr.ts +0 -36
  172. package/src/locale/translations/types.ts +0 -6
  173. package/src/locale/translations/zh.ts +0 -36
  174. package/docs/checkout-summary.mdx +0 -94
  175. package/docs/order-confirmation.mdx +0 -66
  176. package/docs/vendor-card.mdx +0 -83
  177. package/lib/commonjs/checkout-summary/CheckoutConfirm.js +0 -243
  178. package/lib/commonjs/checkout-summary/CheckoutConfirm.js.map +0 -1
  179. package/lib/commonjs/checkout-summary/CheckoutSummary.js +0 -432
  180. package/lib/commonjs/checkout-summary/CheckoutSummary.js.map +0 -1
  181. package/lib/commonjs/checkout-summary/CheckoutSummaryRow.js +0 -277
  182. package/lib/commonjs/checkout-summary/CheckoutSummaryRow.js.map +0 -1
  183. package/lib/commonjs/checkout-summary/constants.js +0 -66
  184. package/lib/commonjs/checkout-summary/constants.js.map +0 -1
  185. package/lib/commonjs/checkout-summary/index.js +0 -95
  186. package/lib/commonjs/checkout-summary/index.js.map +0 -1
  187. package/lib/commonjs/checkout-summary/messages.js +0 -23
  188. package/lib/commonjs/checkout-summary/messages.js.map +0 -1
  189. package/lib/commonjs/checkout-summary/shared.js +0 -43
  190. package/lib/commonjs/checkout-summary/shared.js.map +0 -1
  191. package/lib/commonjs/checkout-summary/types.js +0 -6
  192. package/lib/commonjs/checkout-summary/types.js.map +0 -1
  193. package/lib/commonjs/order-confirmation/OrderConfirmation.js +0 -305
  194. package/lib/commonjs/order-confirmation/OrderConfirmation.js.map +0 -1
  195. package/lib/commonjs/order-confirmation/constants.js +0 -26
  196. package/lib/commonjs/order-confirmation/constants.js.map +0 -1
  197. package/lib/commonjs/order-confirmation/index.js +0 -38
  198. package/lib/commonjs/order-confirmation/index.js.map +0 -1
  199. package/lib/commonjs/order-confirmation/messages.js +0 -18
  200. package/lib/commonjs/order-confirmation/messages.js.map +0 -1
  201. package/lib/commonjs/order-confirmation/types.js +0 -6
  202. package/lib/commonjs/order-confirmation/types.js.map +0 -1
  203. package/lib/commonjs/vendor-card/VendorCard.js +0 -1051
  204. package/lib/commonjs/vendor-card/VendorCard.js.map +0 -1
  205. package/lib/commonjs/vendor-card/constants.js +0 -54
  206. package/lib/commonjs/vendor-card/constants.js.map +0 -1
  207. package/lib/commonjs/vendor-card/index.js +0 -69
  208. package/lib/commonjs/vendor-card/index.js.map +0 -1
  209. package/lib/commonjs/vendor-card/message-helpers.js +0 -23
  210. package/lib/commonjs/vendor-card/message-helpers.js.map +0 -1
  211. package/lib/commonjs/vendor-card/messages.js +0 -32
  212. package/lib/commonjs/vendor-card/messages.js.map +0 -1
  213. package/lib/commonjs/vendor-card/shared.js +0 -116
  214. package/lib/commonjs/vendor-card/shared.js.map +0 -1
  215. package/lib/commonjs/vendor-card/types.js +0 -6
  216. package/lib/commonjs/vendor-card/types.js.map +0 -1
  217. package/lib/module/checkout-summary/CheckoutConfirm.js +0 -237
  218. package/lib/module/checkout-summary/CheckoutConfirm.js.map +0 -1
  219. package/lib/module/checkout-summary/CheckoutSummary.js +0 -426
  220. package/lib/module/checkout-summary/CheckoutSummary.js.map +0 -1
  221. package/lib/module/checkout-summary/CheckoutSummaryRow.js +0 -273
  222. package/lib/module/checkout-summary/CheckoutSummaryRow.js.map +0 -1
  223. package/lib/module/checkout-summary/constants.js +0 -63
  224. package/lib/module/checkout-summary/constants.js.map +0 -1
  225. package/lib/module/checkout-summary/index.js +0 -8
  226. package/lib/module/checkout-summary/index.js.map +0 -1
  227. package/lib/module/checkout-summary/messages.js +0 -20
  228. package/lib/module/checkout-summary/messages.js.map +0 -1
  229. package/lib/module/checkout-summary/shared.js +0 -36
  230. package/lib/module/checkout-summary/shared.js.map +0 -1
  231. package/lib/module/checkout-summary/types.js +0 -4
  232. package/lib/module/checkout-summary/types.js.map +0 -1
  233. package/lib/module/order-confirmation/OrderConfirmation.js +0 -299
  234. package/lib/module/order-confirmation/OrderConfirmation.js.map +0 -1
  235. package/lib/module/order-confirmation/constants.js +0 -23
  236. package/lib/module/order-confirmation/constants.js.map +0 -1
  237. package/lib/module/order-confirmation/index.js +0 -5
  238. package/lib/module/order-confirmation/index.js.map +0 -1
  239. package/lib/module/order-confirmation/messages.js +0 -15
  240. package/lib/module/order-confirmation/messages.js.map +0 -1
  241. package/lib/module/order-confirmation/types.js +0 -4
  242. package/lib/module/order-confirmation/types.js.map +0 -1
  243. package/lib/module/vendor-card/VendorCard.js +0 -1046
  244. package/lib/module/vendor-card/VendorCard.js.map +0 -1
  245. package/lib/module/vendor-card/constants.js +0 -50
  246. package/lib/module/vendor-card/constants.js.map +0 -1
  247. package/lib/module/vendor-card/index.js +0 -6
  248. package/lib/module/vendor-card/index.js.map +0 -1
  249. package/lib/module/vendor-card/message-helpers.js +0 -18
  250. package/lib/module/vendor-card/message-helpers.js.map +0 -1
  251. package/lib/module/vendor-card/messages.js +0 -29
  252. package/lib/module/vendor-card/messages.js.map +0 -1
  253. package/lib/module/vendor-card/shared.js +0 -107
  254. package/lib/module/vendor-card/shared.js.map +0 -1
  255. package/lib/module/vendor-card/types.js +0 -4
  256. package/lib/module/vendor-card/types.js.map +0 -1
  257. package/lib/typescript/commonjs/checkout-summary/CheckoutConfirm.d.ts +0 -40
  258. package/lib/typescript/commonjs/checkout-summary/CheckoutConfirm.d.ts.map +0 -1
  259. package/lib/typescript/commonjs/checkout-summary/CheckoutSummary.d.ts +0 -36
  260. package/lib/typescript/commonjs/checkout-summary/CheckoutSummary.d.ts.map +0 -1
  261. package/lib/typescript/commonjs/checkout-summary/CheckoutSummaryRow.d.ts +0 -29
  262. package/lib/typescript/commonjs/checkout-summary/CheckoutSummaryRow.d.ts.map +0 -1
  263. package/lib/typescript/commonjs/checkout-summary/constants.d.ts +0 -39
  264. package/lib/typescript/commonjs/checkout-summary/constants.d.ts.map +0 -1
  265. package/lib/typescript/commonjs/checkout-summary/index.d.ts +0 -8
  266. package/lib/typescript/commonjs/checkout-summary/index.d.ts.map +0 -1
  267. package/lib/typescript/commonjs/checkout-summary/messages.d.ts +0 -23
  268. package/lib/typescript/commonjs/checkout-summary/messages.d.ts.map +0 -1
  269. package/lib/typescript/commonjs/checkout-summary/shared.d.ts +0 -27
  270. package/lib/typescript/commonjs/checkout-summary/shared.d.ts.map +0 -1
  271. package/lib/typescript/commonjs/checkout-summary/types.d.ts +0 -147
  272. package/lib/typescript/commonjs/checkout-summary/types.d.ts.map +0 -1
  273. package/lib/typescript/commonjs/order-confirmation/OrderConfirmation.d.ts +0 -40
  274. package/lib/typescript/commonjs/order-confirmation/OrderConfirmation.d.ts.map +0 -1
  275. package/lib/typescript/commonjs/order-confirmation/constants.d.ts +0 -17
  276. package/lib/typescript/commonjs/order-confirmation/constants.d.ts.map +0 -1
  277. package/lib/typescript/commonjs/order-confirmation/index.d.ts +0 -4
  278. package/lib/typescript/commonjs/order-confirmation/index.d.ts.map +0 -1
  279. package/lib/typescript/commonjs/order-confirmation/messages.d.ts +0 -12
  280. package/lib/typescript/commonjs/order-confirmation/messages.d.ts.map +0 -1
  281. package/lib/typescript/commonjs/order-confirmation/types.d.ts +0 -88
  282. package/lib/typescript/commonjs/order-confirmation/types.d.ts.map +0 -1
  283. package/lib/typescript/commonjs/vendor-card/VendorCard.d.ts +0 -6
  284. package/lib/typescript/commonjs/vendor-card/VendorCard.d.ts.map +0 -1
  285. package/lib/typescript/commonjs/vendor-card/constants.d.ts +0 -30
  286. package/lib/typescript/commonjs/vendor-card/constants.d.ts.map +0 -1
  287. package/lib/typescript/commonjs/vendor-card/index.d.ts +0 -5
  288. package/lib/typescript/commonjs/vendor-card/index.d.ts.map +0 -1
  289. package/lib/typescript/commonjs/vendor-card/message-helpers.d.ts +0 -13
  290. package/lib/typescript/commonjs/vendor-card/message-helpers.d.ts.map +0 -1
  291. package/lib/typescript/commonjs/vendor-card/messages.d.ts +0 -22
  292. package/lib/typescript/commonjs/vendor-card/messages.d.ts.map +0 -1
  293. package/lib/typescript/commonjs/vendor-card/shared.d.ts +0 -24
  294. package/lib/typescript/commonjs/vendor-card/shared.d.ts.map +0 -1
  295. package/lib/typescript/commonjs/vendor-card/types.d.ts +0 -111
  296. package/lib/typescript/commonjs/vendor-card/types.d.ts.map +0 -1
  297. package/lib/typescript/module/checkout-summary/CheckoutConfirm.d.ts +0 -40
  298. package/lib/typescript/module/checkout-summary/CheckoutConfirm.d.ts.map +0 -1
  299. package/lib/typescript/module/checkout-summary/CheckoutSummary.d.ts +0 -36
  300. package/lib/typescript/module/checkout-summary/CheckoutSummary.d.ts.map +0 -1
  301. package/lib/typescript/module/checkout-summary/CheckoutSummaryRow.d.ts +0 -29
  302. package/lib/typescript/module/checkout-summary/CheckoutSummaryRow.d.ts.map +0 -1
  303. package/lib/typescript/module/checkout-summary/constants.d.ts +0 -39
  304. package/lib/typescript/module/checkout-summary/constants.d.ts.map +0 -1
  305. package/lib/typescript/module/checkout-summary/index.d.ts +0 -8
  306. package/lib/typescript/module/checkout-summary/index.d.ts.map +0 -1
  307. package/lib/typescript/module/checkout-summary/messages.d.ts +0 -23
  308. package/lib/typescript/module/checkout-summary/messages.d.ts.map +0 -1
  309. package/lib/typescript/module/checkout-summary/shared.d.ts +0 -27
  310. package/lib/typescript/module/checkout-summary/shared.d.ts.map +0 -1
  311. package/lib/typescript/module/checkout-summary/types.d.ts +0 -147
  312. package/lib/typescript/module/checkout-summary/types.d.ts.map +0 -1
  313. package/lib/typescript/module/order-confirmation/OrderConfirmation.d.ts +0 -40
  314. package/lib/typescript/module/order-confirmation/OrderConfirmation.d.ts.map +0 -1
  315. package/lib/typescript/module/order-confirmation/constants.d.ts +0 -17
  316. package/lib/typescript/module/order-confirmation/constants.d.ts.map +0 -1
  317. package/lib/typescript/module/order-confirmation/index.d.ts +0 -4
  318. package/lib/typescript/module/order-confirmation/index.d.ts.map +0 -1
  319. package/lib/typescript/module/order-confirmation/messages.d.ts +0 -12
  320. package/lib/typescript/module/order-confirmation/messages.d.ts.map +0 -1
  321. package/lib/typescript/module/order-confirmation/types.d.ts +0 -88
  322. package/lib/typescript/module/order-confirmation/types.d.ts.map +0 -1
  323. package/lib/typescript/module/vendor-card/VendorCard.d.ts +0 -6
  324. package/lib/typescript/module/vendor-card/VendorCard.d.ts.map +0 -1
  325. package/lib/typescript/module/vendor-card/constants.d.ts +0 -30
  326. package/lib/typescript/module/vendor-card/constants.d.ts.map +0 -1
  327. package/lib/typescript/module/vendor-card/index.d.ts +0 -5
  328. package/lib/typescript/module/vendor-card/index.d.ts.map +0 -1
  329. package/lib/typescript/module/vendor-card/message-helpers.d.ts +0 -13
  330. package/lib/typescript/module/vendor-card/message-helpers.d.ts.map +0 -1
  331. package/lib/typescript/module/vendor-card/messages.d.ts +0 -22
  332. package/lib/typescript/module/vendor-card/messages.d.ts.map +0 -1
  333. package/lib/typescript/module/vendor-card/shared.d.ts +0 -24
  334. package/lib/typescript/module/vendor-card/shared.d.ts.map +0 -1
  335. package/lib/typescript/module/vendor-card/types.d.ts +0 -111
  336. package/lib/typescript/module/vendor-card/types.d.ts.map +0 -1
  337. package/src/checkout-summary/CheckoutConfirm.tsx +0 -119
  338. package/src/checkout-summary/CheckoutSummary.tsx +0 -221
  339. package/src/checkout-summary/CheckoutSummaryRow.tsx +0 -172
  340. package/src/checkout-summary/constants.ts +0 -64
  341. package/src/checkout-summary/index.ts +0 -22
  342. package/src/checkout-summary/messages.ts +0 -33
  343. package/src/checkout-summary/shared.ts +0 -40
  344. package/src/checkout-summary/types.ts +0 -152
  345. package/src/order-confirmation/OrderConfirmation.tsx +0 -197
  346. package/src/order-confirmation/constants.ts +0 -20
  347. package/src/order-confirmation/index.ts +0 -12
  348. package/src/order-confirmation/messages.ts +0 -18
  349. package/src/order-confirmation/types.ts +0 -98
  350. package/src/vendor-card/VendorCard.tsx +0 -509
  351. package/src/vendor-card/constants.ts +0 -58
  352. package/src/vendor-card/index.ts +0 -15
  353. package/src/vendor-card/message-helpers.ts +0 -20
  354. package/src/vendor-card/messages.ts +0 -36
  355. package/src/vendor-card/shared.ts +0 -136
  356. package/src/vendor-card/types.ts +0 -115
@@ -1,305 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.OrderConfirmation = void 0;
7
- var _compilerRuntime = require("react/compiler-runtime");
8
- var _react = _interopRequireWildcard(require("react"));
9
- var _reactNative = require("react-native");
10
- var _index = require("../address/index.js");
11
- var _index2 = require("../chip/index.js");
12
- var _index3 = require("../empty-state/index.js");
13
- var _index4 = require("../icon-circle/index.js");
14
- var _RiCheckLine = require("../icons/remix/RiCheckLine.js");
15
- var _parts = require("../listing-actions/parts.js");
16
- var _index5 = require("../order-status/index.js");
17
- var _surfaceLevels = require("../styles/surface-levels.js");
18
- var _accentColors = require("../theme/accent-colors.js");
19
- var _useTheme = require("../theme/use-theme.js");
20
- var _index6 = require("../typography/index.js");
21
- var _messages = require("../locale/messages.js");
22
- var _constants = require("./constants.js");
23
- var _messages2 = require("./messages.js");
24
- var _jsxRuntime = require("react/jsx-runtime");
25
- var cache;
26
- function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var r, c, a = Object.defineProperty, n = { __proto__: null, default: e }; if (Object(e) !== e) return n; if (cache || "function" != typeof WeakMap || (cache = new WeakMap()), cache) { if (cache.has(e)) return cache.get(e); cache.set(e, n); } for (c in e) "default" !== c && {}.hasOwnProperty.call(e, c) && ((r = a && Object.getOwnPropertyDescriptor(e, c)) && (r.get || r.set) ? a(n, c, r) : n[c] = e[c]); return n; }
27
- /**
28
- * A row nested inside this surface takes its own chrome off: `Item`'s
29
- * `paddingLeft`/`paddingRight`, in the LONGHANDS it writes, so the reset is
30
- * honoured by react-native-web's atomic sheet as well as by Yoga.
31
- */
32
- const FLUSH_ROW = {
33
- paddingLeft: 0,
34
- paddingRight: 0
35
- };
36
-
37
- /**
38
- * It is placed: what happened, which order it was, where it is going, what it
39
- * cost, and the two things you do next.
40
- *
41
- * mark a check on a success-tinted disc, 56. STATIC: `AnimatedCheck`
42
- * draws itself on only when a caller kicks it through its ref, and
43
- * a mark that is invisible until someone calls a method — or under
44
- * reduce-motion — is not a mark. An app that wants the draw-on
45
- * passes `<AnimatedCheck>` (and its `play()`) as `mark`.
46
- * title the "done" register — `EmptyState`'s own heading and line, which
47
- * is the same block `auth-card` and every finished flow draw
48
- * reference the order number as an outlined `Chip`, under its caption; it is
49
- * a chip because it is the one string a reader will read back to
50
- * someone on the phone, and a chip is the library's token
51
- * status `order-status`'s `OrderStatusBar` — the ONE tracking strip in the
52
- * library, drawn here rather than copied
53
- * address `address`'s `AddressRow`, flush with the block's edges
54
- * facts the label/value box Bloom's action cards already draw
55
- * items a slot: an order line is a dish, a parcel or a seat, and each has
56
- * a row family of its own
57
- * actions track it, get help
58
- *
59
- * ## It IS an `EmptyState`
60
- *
61
- * Not "looks like one": a mark, a heading, a line of explanation, a block of
62
- * content and up to two actions is exactly that family's shape, and a "done"
63
- * screen is the same object as a "nothing here" screen with a different reason
64
- * for existing. Building it a second time is how two centred columns with
65
- * different paddings ship in one library.
66
- *
67
- * ## It computes nothing
68
- *
69
- * Every amount, every time and every reading is a string the app formatted.
70
- */
71
- function OrderConfirmationComponent(t0) {
72
- const $ = (0, _compilerRuntime.c)(48);
73
- const {
74
- title: titleProp,
75
- description,
76
- mark,
77
- markSize: t1,
78
- reference,
79
- referenceLabel: referenceLabelProp,
80
- status,
81
- address,
82
- facts,
83
- items,
84
- itemsLabel: itemsLabelProp,
85
- action,
86
- secondaryAction,
87
- footer,
88
- variant: t2,
89
- accessibilityLabel,
90
- style,
91
- testID
92
- } = t0;
93
- const markSize = t1 === undefined ? _constants.ORDER_CONFIRMATION_MARK : t1;
94
- const variant = t2 === undefined ? "comfortable" : t2;
95
- const {
96
- messages
97
- } = (0, _messages.useMessages)(_messages2.ORDER_CONFIRMATION_MESSAGES);
98
- const title = titleProp ?? messages.title;
99
- const referenceLabel = referenceLabelProp ?? messages.referenceLabel;
100
- const itemsLabel = itemsLabelProp ?? messages.itemsLabel;
101
- const theme = (0, _useTheme.useTheme)();
102
- const surface = (0, _surfaceLevels.useSurfaceFill)();
103
- let t3;
104
- if ($[0] !== surface || $[1] !== theme) {
105
- t3 = (0, _surfaceLevels.surfaceTextOn)(theme, surface);
106
- $[0] = surface;
107
- $[1] = theme;
108
- $[2] = t3;
109
- } else {
110
- t3 = $[2];
111
- }
112
- const paint = t3;
113
- let t4;
114
- if ($[3] !== theme.colors) {
115
- t4 = (0, _accentColors.resolveAccentColors)(theme.colors, "success", "subtle");
116
- $[3] = theme.colors;
117
- $[4] = t4;
118
- } else {
119
- t4 = $[4];
120
- }
121
- const success = t4;
122
- let t5;
123
- if ($[5] !== testID) {
124
- t5 = part => testID ? `${testID}-${part}` : undefined;
125
- $[5] = testID;
126
- $[6] = t5;
127
- } else {
128
- t5 = $[6];
129
- }
130
- const id = t5;
131
- let t6;
132
- if ($[7] !== facts) {
133
- t6 = facts ?? [];
134
- $[7] = facts;
135
- $[8] = t6;
136
- } else {
137
- t6 = $[8];
138
- }
139
- let t7;
140
- if ($[9] !== t6) {
141
- let t8;
142
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
143
- t8 = fact => ({
144
- key: fact.id ?? fact.label,
145
- label: fact.label,
146
- value: fact.value
147
- });
148
- $[11] = t8;
149
- } else {
150
- t8 = $[11];
151
- }
152
- t7 = t6.map(t8);
153
- $[9] = t6;
154
- $[10] = t7;
155
- } else {
156
- t7 = $[10];
157
- }
158
- const keyFacts = t7;
159
- let t8;
160
- if ($[12] !== id || $[13] !== paint.textSecondary) {
161
- t8 = (text, part_0) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_index6.Text, {
162
- variant: "caption-2-bold",
163
- testID: id(part_0),
164
- style: {
165
- color: paint.textSecondary,
166
- textTransform: "uppercase"
167
- },
168
- children: text
169
- });
170
- $[12] = id;
171
- $[13] = paint.textSecondary;
172
- $[14] = t8;
173
- } else {
174
- t8 = $[14];
175
- }
176
- const caption = t8;
177
- const hasBody = reference != null || status != null || address != null || keyFacts.length > 0 || items != null;
178
- let t9;
179
- if ($[15] !== mark || $[16] !== markSize || $[17] !== success) {
180
- t9 = mark !== undefined ? mark : /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.IconCircle, {
181
- icon: _RiCheckLine.RiCheckLine,
182
- size: "xl",
183
- style: {
184
- width: markSize,
185
- height: markSize,
186
- backgroundColor: success.background
187
- },
188
- iconStyle: {
189
- color: success.foreground
190
- }
191
- });
192
- $[15] = mark;
193
- $[16] = markSize;
194
- $[17] = success;
195
- $[18] = t9;
196
- } else {
197
- t9 = $[18];
198
- }
199
- let t10;
200
- if ($[19] !== accessibilityLabel || $[20] !== description || $[21] !== reference || $[22] !== referenceLabel || $[23] !== title) {
201
- t10 = accessibilityLabel ?? [title, reference ? `${referenceLabel} ${reference}` : undefined, description].filter(Boolean).join(". ");
202
- $[19] = accessibilityLabel;
203
- $[20] = description;
204
- $[21] = reference;
205
- $[22] = referenceLabel;
206
- $[23] = title;
207
- $[24] = t10;
208
- } else {
209
- t10 = $[24];
210
- }
211
- let t11;
212
- if ($[25] !== address || $[26] !== caption || $[27] !== hasBody || $[28] !== id || $[29] !== items || $[30] !== itemsLabel || $[31] !== keyFacts || $[32] !== reference || $[33] !== referenceLabel || $[34] !== status) {
213
- t11 = hasBody ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
214
- style: {
215
- gap: _constants.ORDER_CONFIRMATION_GAP
216
- },
217
- children: [reference != null ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
218
- style: {
219
- alignItems: "center",
220
- gap: 6
221
- },
222
- children: [caption(referenceLabel, "reference-label"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index2.Chip, {
223
- variant: "outlined",
224
- size: "lg",
225
- style: {
226
- alignSelf: "center"
227
- },
228
- accessibilityLabel: `${referenceLabel} ${reference}`,
229
- testID: id("reference"),
230
- children: reference
231
- })]
232
- }) : null, status ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.OrderStatusBar, {
233
- ...status,
234
- testID: status.testID ?? id("status")
235
- }) : null, address ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.AddressRow, {
236
- title: address.title,
237
- subtitle: address.subtitle,
238
- kind: address.kind,
239
- icon: address.icon,
240
- badge: address.badge,
241
- meta: address.meta,
242
- style: FLUSH_ROW,
243
- testID: address.testID ?? id("address")
244
- }) : null, keyFacts.length > 0 ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_parts.FactList, {
245
- facts: keyFacts,
246
- testID: id("facts")
247
- }) : null, items != null ? /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
248
- style: {
249
- gap: 8
250
- },
251
- children: [caption(itemsLabel, "items-label"), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
252
- testID: id("items"),
253
- children: items
254
- })]
255
- }) : null]
256
- }) : null;
257
- $[25] = address;
258
- $[26] = caption;
259
- $[27] = hasBody;
260
- $[28] = id;
261
- $[29] = items;
262
- $[30] = itemsLabel;
263
- $[31] = keyFacts;
264
- $[32] = reference;
265
- $[33] = referenceLabel;
266
- $[34] = status;
267
- $[35] = t11;
268
- } else {
269
- t11 = $[35];
270
- }
271
- let t12;
272
- if ($[36] !== action || $[37] !== description || $[38] !== footer || $[39] !== secondaryAction || $[40] !== style || $[41] !== t10 || $[42] !== t11 || $[43] !== t9 || $[44] !== testID || $[45] !== title || $[46] !== variant) {
273
- t12 = /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.EmptyState, {
274
- variant: variant,
275
- illustration: t9,
276
- title: title,
277
- description: description,
278
- action: action,
279
- secondaryAction: secondaryAction,
280
- footer: footer,
281
- accessibilityLabel: t10,
282
- style: style,
283
- testID: testID,
284
- children: t11
285
- });
286
- $[36] = action;
287
- $[37] = description;
288
- $[38] = footer;
289
- $[39] = secondaryAction;
290
- $[40] = style;
291
- $[41] = t10;
292
- $[42] = t11;
293
- $[43] = t9;
294
- $[44] = testID;
295
- $[45] = title;
296
- $[46] = variant;
297
- $[47] = t12;
298
- } else {
299
- t12 = $[47];
300
- }
301
- return t12;
302
- }
303
- const OrderConfirmation = exports.OrderConfirmation = /*#__PURE__*/(0, _react.memo)(OrderConfirmationComponent);
304
- OrderConfirmation.displayName = 'OrderConfirmation';
305
- //# sourceMappingURL=OrderConfirmation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_index","_index2","_index3","_index4","_RiCheckLine","_parts","_index5","_surfaceLevels","_accentColors","_useTheme","_index6","_messages","_constants","_messages2","_jsxRuntime","cache","e","t","__esModule","r","c","a","Object","defineProperty","n","__proto__","default","WeakMap","has","get","set","hasOwnProperty","call","getOwnPropertyDescriptor","FLUSH_ROW","paddingLeft","paddingRight","OrderConfirmationComponent","t0","$","_compilerRuntime","title","titleProp","description","mark","markSize","t1","reference","referenceLabel","referenceLabelProp","status","address","facts","items","itemsLabel","itemsLabelProp","action","secondaryAction","footer","variant","t2","accessibilityLabel","style","testID","undefined","ORDER_CONFIRMATION_MARK","messages","useMessages","ORDER_CONFIRMATION_MESSAGES","theme","useTheme","surface","useSurfaceFill","t3","surfaceTextOn","paint","t4","colors","resolveAccentColors","success","t5","part","id","t6","t7","t8","Symbol","for","fact","key","label","value","map","keyFacts","textSecondary","text","part_0","jsx","Text","color","textTransform","children","caption","hasBody","length","t9","IconCircle","RiCheckLine","size","width","height","backgroundColor","background","iconStyle","foreground","t10","filter","Boolean","join","t11","jsxs","View","gap","ORDER_CONFIRMATION_GAP","alignItems","Chip","alignSelf","OrderStatusBar","AddressRow","subtitle","kind","icon","badge","meta","FactList","t12","EmptyState","illustration","OrderConfirmation","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["order-confirmation/OrderConfirmation.tsx"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,G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A;EAAA,OA7EbgG,GA6Ea;AAAA;AAIV,MAAMG,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,gBAAG,IAAAE,WAAI,EAACvG,0BAA0B,CAAC;AACjEqG,iBAAiB,CAACG,WAAW,GAAG,mBAAmB","ignoreList":[]}
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ORDER_CONFIRMATION_TITLE = exports.ORDER_CONFIRMATION_REFERENCE_LABEL = exports.ORDER_CONFIRMATION_MARK = exports.ORDER_CONFIRMATION_ITEMS_LABEL = exports.ORDER_CONFIRMATION_GAP = void 0;
7
- var _messages = require("./messages.js");
8
- /**
9
- * The English words the confirmation says when the app says nothing. The
10
- * component itself says them in the app's language (`ORDER_CONFIRMATION_MESSAGES`).
11
- */
12
- const ORDER_CONFIRMATION_TITLE = exports.ORDER_CONFIRMATION_TITLE = _messages.ORDER_CONFIRMATION_MESSAGES.en.title;
13
- const ORDER_CONFIRMATION_REFERENCE_LABEL = exports.ORDER_CONFIRMATION_REFERENCE_LABEL = _messages.ORDER_CONFIRMATION_MESSAGES.en.referenceLabel;
14
- const ORDER_CONFIRMATION_ITEMS_LABEL = exports.ORDER_CONFIRMATION_ITEMS_LABEL = _messages.ORDER_CONFIRMATION_MESSAGES.en.itemsLabel;
15
-
16
- /**
17
- * The drawn-on check. 56 is the size at which the 4px stroke of
18
- * `AnimatedCheck`'s 52-unit canvas reads as a mark rather than as an icon —
19
- * below ~40 it looks like a status glyph, which is the opposite of what a
20
- * finished flow is saying.
21
- */
22
- const ORDER_CONFIRMATION_MARK = exports.ORDER_CONFIRMATION_MARK = 56;
23
-
24
- /** Between the blocks of the receipt. */
25
- const ORDER_CONFIRMATION_GAP = exports.ORDER_CONFIRMATION_GAP = 16;
26
- //# sourceMappingURL=constants.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_messages","require","ORDER_CONFIRMATION_TITLE","exports","ORDER_CONFIRMATION_MESSAGES","en","title","ORDER_CONFIRMATION_REFERENCE_LABEL","referenceLabel","ORDER_CONFIRMATION_ITEMS_LABEL","itemsLabel","ORDER_CONFIRMATION_MARK","ORDER_CONFIRMATION_GAP"],"sourceRoot":"../../../src","sources":["order-confirmation/constants.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;AACO,MAAMC,wBAAwB,GAAAC,OAAA,CAAAD,wBAAA,GAAGE,qCAA2B,CAACC,EAAE,CAACC,KAAK;AACrE,MAAMC,kCAAkC,GAAAJ,OAAA,CAAAI,kCAAA,GAAGH,qCAA2B,CAACC,EAAE,CAACG,cAAc;AACxF,MAAMC,8BAA8B,GAAAN,OAAA,CAAAM,8BAAA,GAAGL,qCAA2B,CAACC,EAAE,CAACK,UAAU;;AAEvF;AACA;AACA;AACA;AACA;AACA;AACO,MAAMC,uBAAuB,GAAAR,OAAA,CAAAQ,uBAAA,GAAG,EAAE;;AAEzC;AACO,MAAMC,sBAAsB,GAAAT,OAAA,CAAAS,sBAAA,GAAG,EAAE","ignoreList":[]}
@@ -1,38 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "ORDER_CONFIRMATION_ITEMS_LABEL", {
7
- enumerable: true,
8
- get: function () {
9
- return _constants.ORDER_CONFIRMATION_ITEMS_LABEL;
10
- }
11
- });
12
- Object.defineProperty(exports, "ORDER_CONFIRMATION_MARK", {
13
- enumerable: true,
14
- get: function () {
15
- return _constants.ORDER_CONFIRMATION_MARK;
16
- }
17
- });
18
- Object.defineProperty(exports, "ORDER_CONFIRMATION_REFERENCE_LABEL", {
19
- enumerable: true,
20
- get: function () {
21
- return _constants.ORDER_CONFIRMATION_REFERENCE_LABEL;
22
- }
23
- });
24
- Object.defineProperty(exports, "ORDER_CONFIRMATION_TITLE", {
25
- enumerable: true,
26
- get: function () {
27
- return _constants.ORDER_CONFIRMATION_TITLE;
28
- }
29
- });
30
- Object.defineProperty(exports, "OrderConfirmation", {
31
- enumerable: true,
32
- get: function () {
33
- return _OrderConfirmation.OrderConfirmation;
34
- }
35
- });
36
- var _OrderConfirmation = require("./OrderConfirmation.js");
37
- var _constants = require("./constants.js");
38
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_OrderConfirmation","require","_constants"],"sourceRoot":"../../../src","sources":["order-confirmation/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,kBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA","ignoreList":[]}
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ORDER_CONFIRMATION_MESSAGES = void 0;
7
- var _messages = require("../locale/messages.js");
8
- /**
9
- * The words the confirmation says when the app says nothing, in each Bloom
10
- * language. The `title`, `referenceLabel` and `itemsLabel` props still win.
11
- */
12
-
13
- const ORDER_CONFIRMATION_MESSAGES = exports.ORDER_CONFIRMATION_MESSAGES = (0, _messages.defineMessages)('ORDER_CONFIRMATION_MESSAGES', {
14
- title: 'Your order is placed',
15
- referenceLabel: 'Order number',
16
- itemsLabel: 'What you ordered'
17
- });
18
- //# sourceMappingURL=messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_messages","require","ORDER_CONFIRMATION_MESSAGES","exports","defineMessages","title","referenceLabel","itemsLabel"],"sourceRoot":"../../../src","sources":["order-confirmation/messages.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEA;AACA;AACA;AACA;;AAOO,MAAMC,2BAAsE,GAAAC,OAAA,CAAAD,2BAAA,GACjF,IAAAE,wBAAc,EAA4B,6BAA6B,EAAE;EACvEC,KAAK,EAAE,sBAAsB;EAC7BC,cAAc,EAAE,cAAc;EAC9BC,UAAU,EAAE;AACd,CAAC,CAAC","ignoreList":[]}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../src","sources":["order-confirmation/types.ts"],"mappings":"","ignoreList":[]}