@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.
- package/NOTICE +28 -0
- package/android/src/main/java/so/oxy/bloom/BloomPackage.kt +3 -1
- package/android/src/main/java/so/oxy/bloom/icons/BloomIcon.kt +251 -0
- package/android/src/main/java/so/oxy/bloom/icons/IconPathParser.java +660 -0
- package/docs/adoption-matrix.mdx +1 -4
- package/docs/bloom-language-codemod.mdx +6 -2
- package/docs/bloom-language-modifiers.mdx +21 -5
- package/docs/bloom-language-nodes.mdx +3 -58
- package/docs/bloom-language.mdx +15 -36
- package/docs/empty-state.mdx +2 -3
- package/docs/icons.mdx +29 -1
- package/docs/public-parts.mdx +2 -7
- package/docs/task-catalog.json +1 -1
- package/docs/task-catalog.mdx +1 -1
- package/lib/commonjs/icons/TEMPLATE.js +25 -160
- package/lib/commonjs/icons/TEMPLATE.js.map +1 -1
- package/lib/commonjs/icons/glyph-svg.js +47 -0
- package/lib/commonjs/icons/glyph-svg.js.map +1 -0
- package/lib/commonjs/icons/glyph.js +29 -0
- package/lib/commonjs/icons/glyph.js.map +1 -0
- package/lib/commonjs/icons/glyph.native.js +112 -0
- package/lib/commonjs/icons/glyph.native.js.map +1 -0
- package/lib/commonjs/index.js +279 -485
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +279 -485
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +0 -39
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +0 -34
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +0 -35
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +0 -35
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +0 -35
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +0 -35
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +0 -35
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +0 -34
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +0 -35
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +0 -34
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +0 -35
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +0 -37
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +0 -34
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +0 -34
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/module/icons/TEMPLATE.js +25 -158
- package/lib/module/icons/TEMPLATE.js.map +1 -1
- package/lib/module/icons/glyph-svg.js +41 -0
- package/lib/module/icons/glyph-svg.js.map +1 -0
- package/lib/module/icons/glyph.js +25 -0
- package/lib/module/icons/glyph.js.map +1 -0
- package/lib/module/icons/glyph.native.js +108 -0
- package/lib/module/icons/glyph.native.js.map +1 -0
- package/lib/module/index.js +0 -14
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +0 -14
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/locale/translations/ar.js +0 -39
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +0 -34
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +0 -35
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +0 -35
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +0 -35
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +0 -35
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +0 -35
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +0 -34
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +0 -35
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +0 -34
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +0 -35
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +0 -37
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +0 -34
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +0 -34
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/typescript/commonjs/icons/TEMPLATE.d.ts +1 -1
- package/lib/typescript/commonjs/icons/TEMPLATE.d.ts.map +1 -1
- package/lib/typescript/commonjs/icons/glyph-svg.d.ts +17 -0
- package/lib/typescript/commonjs/icons/glyph-svg.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/glyph.d.ts +11 -0
- package/lib/typescript/commonjs/icons/glyph.d.ts.map +1 -0
- package/lib/typescript/commonjs/icons/glyph.native.d.ts +20 -0
- package/lib/typescript/commonjs/icons/glyph.native.d.ts.map +1 -0
- package/lib/typescript/commonjs/index.d.ts +0 -9
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +0 -9
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts +0 -6
- package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/icons/TEMPLATE.d.ts +1 -1
- package/lib/typescript/module/icons/TEMPLATE.d.ts.map +1 -1
- package/lib/typescript/module/icons/glyph-svg.d.ts +17 -0
- package/lib/typescript/module/icons/glyph-svg.d.ts.map +1 -0
- package/lib/typescript/module/icons/glyph.d.ts +11 -0
- package/lib/typescript/module/icons/glyph.d.ts.map +1 -0
- package/lib/typescript/module/icons/glyph.native.d.ts +20 -0
- package/lib/typescript/module/icons/glyph.native.d.ts.map +1 -0
- package/lib/typescript/module/index.d.ts +0 -9
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +0 -9
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/types.d.ts +0 -6
- package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/package.json +1 -52
- package/src/__tests__/support/public-part-classifications.json +0 -5
- package/src/icons/TEMPLATE.tsx +28 -49
- package/src/icons/glyph-svg.tsx +54 -0
- package/src/icons/glyph.native.tsx +138 -0
- package/src/icons/glyph.tsx +15 -0
- package/src/index.ts +0 -62
- package/src/index.web.ts +0 -62
- package/src/locale/translations/ar.ts +0 -36
- package/src/locale/translations/bn.ts +0 -36
- package/src/locale/translations/ca.ts +0 -36
- package/src/locale/translations/de.ts +0 -36
- package/src/locale/translations/es.ts +0 -36
- package/src/locale/translations/fr.ts +0 -36
- package/src/locale/translations/hi.ts +0 -36
- package/src/locale/translations/id.ts +0 -36
- package/src/locale/translations/it.ts +0 -36
- package/src/locale/translations/ja.ts +0 -36
- package/src/locale/translations/pt.ts +0 -36
- package/src/locale/translations/ru.ts +0 -36
- package/src/locale/translations/tr.ts +0 -36
- package/src/locale/translations/types.ts +0 -6
- package/src/locale/translations/zh.ts +0 -36
- package/docs/checkout-summary.mdx +0 -94
- package/docs/order-confirmation.mdx +0 -66
- package/docs/vendor-card.mdx +0 -83
- package/lib/commonjs/checkout-summary/CheckoutConfirm.js +0 -243
- package/lib/commonjs/checkout-summary/CheckoutConfirm.js.map +0 -1
- package/lib/commonjs/checkout-summary/CheckoutSummary.js +0 -432
- package/lib/commonjs/checkout-summary/CheckoutSummary.js.map +0 -1
- package/lib/commonjs/checkout-summary/CheckoutSummaryRow.js +0 -277
- package/lib/commonjs/checkout-summary/CheckoutSummaryRow.js.map +0 -1
- package/lib/commonjs/checkout-summary/constants.js +0 -66
- package/lib/commonjs/checkout-summary/constants.js.map +0 -1
- package/lib/commonjs/checkout-summary/index.js +0 -95
- package/lib/commonjs/checkout-summary/index.js.map +0 -1
- package/lib/commonjs/checkout-summary/messages.js +0 -23
- package/lib/commonjs/checkout-summary/messages.js.map +0 -1
- package/lib/commonjs/checkout-summary/shared.js +0 -43
- package/lib/commonjs/checkout-summary/shared.js.map +0 -1
- package/lib/commonjs/checkout-summary/types.js +0 -6
- package/lib/commonjs/checkout-summary/types.js.map +0 -1
- package/lib/commonjs/order-confirmation/OrderConfirmation.js +0 -305
- package/lib/commonjs/order-confirmation/OrderConfirmation.js.map +0 -1
- package/lib/commonjs/order-confirmation/constants.js +0 -26
- package/lib/commonjs/order-confirmation/constants.js.map +0 -1
- package/lib/commonjs/order-confirmation/index.js +0 -38
- package/lib/commonjs/order-confirmation/index.js.map +0 -1
- package/lib/commonjs/order-confirmation/messages.js +0 -18
- package/lib/commonjs/order-confirmation/messages.js.map +0 -1
- package/lib/commonjs/order-confirmation/types.js +0 -6
- package/lib/commonjs/order-confirmation/types.js.map +0 -1
- package/lib/commonjs/vendor-card/VendorCard.js +0 -1051
- package/lib/commonjs/vendor-card/VendorCard.js.map +0 -1
- package/lib/commonjs/vendor-card/constants.js +0 -54
- package/lib/commonjs/vendor-card/constants.js.map +0 -1
- package/lib/commonjs/vendor-card/index.js +0 -69
- package/lib/commonjs/vendor-card/index.js.map +0 -1
- package/lib/commonjs/vendor-card/message-helpers.js +0 -23
- package/lib/commonjs/vendor-card/message-helpers.js.map +0 -1
- package/lib/commonjs/vendor-card/messages.js +0 -32
- package/lib/commonjs/vendor-card/messages.js.map +0 -1
- package/lib/commonjs/vendor-card/shared.js +0 -116
- package/lib/commonjs/vendor-card/shared.js.map +0 -1
- package/lib/commonjs/vendor-card/types.js +0 -6
- package/lib/commonjs/vendor-card/types.js.map +0 -1
- package/lib/module/checkout-summary/CheckoutConfirm.js +0 -237
- package/lib/module/checkout-summary/CheckoutConfirm.js.map +0 -1
- package/lib/module/checkout-summary/CheckoutSummary.js +0 -426
- package/lib/module/checkout-summary/CheckoutSummary.js.map +0 -1
- package/lib/module/checkout-summary/CheckoutSummaryRow.js +0 -273
- package/lib/module/checkout-summary/CheckoutSummaryRow.js.map +0 -1
- package/lib/module/checkout-summary/constants.js +0 -63
- package/lib/module/checkout-summary/constants.js.map +0 -1
- package/lib/module/checkout-summary/index.js +0 -8
- package/lib/module/checkout-summary/index.js.map +0 -1
- package/lib/module/checkout-summary/messages.js +0 -20
- package/lib/module/checkout-summary/messages.js.map +0 -1
- package/lib/module/checkout-summary/shared.js +0 -36
- package/lib/module/checkout-summary/shared.js.map +0 -1
- package/lib/module/checkout-summary/types.js +0 -4
- package/lib/module/checkout-summary/types.js.map +0 -1
- package/lib/module/order-confirmation/OrderConfirmation.js +0 -299
- package/lib/module/order-confirmation/OrderConfirmation.js.map +0 -1
- package/lib/module/order-confirmation/constants.js +0 -23
- package/lib/module/order-confirmation/constants.js.map +0 -1
- package/lib/module/order-confirmation/index.js +0 -5
- package/lib/module/order-confirmation/index.js.map +0 -1
- package/lib/module/order-confirmation/messages.js +0 -15
- package/lib/module/order-confirmation/messages.js.map +0 -1
- package/lib/module/order-confirmation/types.js +0 -4
- package/lib/module/order-confirmation/types.js.map +0 -1
- package/lib/module/vendor-card/VendorCard.js +0 -1046
- package/lib/module/vendor-card/VendorCard.js.map +0 -1
- package/lib/module/vendor-card/constants.js +0 -50
- package/lib/module/vendor-card/constants.js.map +0 -1
- package/lib/module/vendor-card/index.js +0 -6
- package/lib/module/vendor-card/index.js.map +0 -1
- package/lib/module/vendor-card/message-helpers.js +0 -18
- package/lib/module/vendor-card/message-helpers.js.map +0 -1
- package/lib/module/vendor-card/messages.js +0 -29
- package/lib/module/vendor-card/messages.js.map +0 -1
- package/lib/module/vendor-card/shared.js +0 -107
- package/lib/module/vendor-card/shared.js.map +0 -1
- package/lib/module/vendor-card/types.js +0 -4
- package/lib/module/vendor-card/types.js.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/CheckoutConfirm.d.ts +0 -40
- package/lib/typescript/commonjs/checkout-summary/CheckoutConfirm.d.ts.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummary.d.ts +0 -36
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummary.d.ts.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummaryRow.d.ts +0 -29
- package/lib/typescript/commonjs/checkout-summary/CheckoutSummaryRow.d.ts.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/constants.d.ts +0 -39
- package/lib/typescript/commonjs/checkout-summary/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/index.d.ts +0 -8
- package/lib/typescript/commonjs/checkout-summary/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/messages.d.ts +0 -23
- package/lib/typescript/commonjs/checkout-summary/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/shared.d.ts +0 -27
- package/lib/typescript/commonjs/checkout-summary/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/checkout-summary/types.d.ts +0 -147
- package/lib/typescript/commonjs/checkout-summary/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/order-confirmation/OrderConfirmation.d.ts +0 -40
- package/lib/typescript/commonjs/order-confirmation/OrderConfirmation.d.ts.map +0 -1
- package/lib/typescript/commonjs/order-confirmation/constants.d.ts +0 -17
- package/lib/typescript/commonjs/order-confirmation/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/order-confirmation/index.d.ts +0 -4
- package/lib/typescript/commonjs/order-confirmation/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/order-confirmation/messages.d.ts +0 -12
- package/lib/typescript/commonjs/order-confirmation/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/order-confirmation/types.d.ts +0 -88
- package/lib/typescript/commonjs/order-confirmation/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/vendor-card/VendorCard.d.ts +0 -6
- package/lib/typescript/commonjs/vendor-card/VendorCard.d.ts.map +0 -1
- package/lib/typescript/commonjs/vendor-card/constants.d.ts +0 -30
- package/lib/typescript/commonjs/vendor-card/constants.d.ts.map +0 -1
- package/lib/typescript/commonjs/vendor-card/index.d.ts +0 -5
- package/lib/typescript/commonjs/vendor-card/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/vendor-card/message-helpers.d.ts +0 -13
- package/lib/typescript/commonjs/vendor-card/message-helpers.d.ts.map +0 -1
- package/lib/typescript/commonjs/vendor-card/messages.d.ts +0 -22
- package/lib/typescript/commonjs/vendor-card/messages.d.ts.map +0 -1
- package/lib/typescript/commonjs/vendor-card/shared.d.ts +0 -24
- package/lib/typescript/commonjs/vendor-card/shared.d.ts.map +0 -1
- package/lib/typescript/commonjs/vendor-card/types.d.ts +0 -111
- package/lib/typescript/commonjs/vendor-card/types.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/CheckoutConfirm.d.ts +0 -40
- package/lib/typescript/module/checkout-summary/CheckoutConfirm.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/CheckoutSummary.d.ts +0 -36
- package/lib/typescript/module/checkout-summary/CheckoutSummary.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/CheckoutSummaryRow.d.ts +0 -29
- package/lib/typescript/module/checkout-summary/CheckoutSummaryRow.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/constants.d.ts +0 -39
- package/lib/typescript/module/checkout-summary/constants.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/index.d.ts +0 -8
- package/lib/typescript/module/checkout-summary/index.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/messages.d.ts +0 -23
- package/lib/typescript/module/checkout-summary/messages.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/shared.d.ts +0 -27
- package/lib/typescript/module/checkout-summary/shared.d.ts.map +0 -1
- package/lib/typescript/module/checkout-summary/types.d.ts +0 -147
- package/lib/typescript/module/checkout-summary/types.d.ts.map +0 -1
- package/lib/typescript/module/order-confirmation/OrderConfirmation.d.ts +0 -40
- package/lib/typescript/module/order-confirmation/OrderConfirmation.d.ts.map +0 -1
- package/lib/typescript/module/order-confirmation/constants.d.ts +0 -17
- package/lib/typescript/module/order-confirmation/constants.d.ts.map +0 -1
- package/lib/typescript/module/order-confirmation/index.d.ts +0 -4
- package/lib/typescript/module/order-confirmation/index.d.ts.map +0 -1
- package/lib/typescript/module/order-confirmation/messages.d.ts +0 -12
- package/lib/typescript/module/order-confirmation/messages.d.ts.map +0 -1
- package/lib/typescript/module/order-confirmation/types.d.ts +0 -88
- package/lib/typescript/module/order-confirmation/types.d.ts.map +0 -1
- package/lib/typescript/module/vendor-card/VendorCard.d.ts +0 -6
- package/lib/typescript/module/vendor-card/VendorCard.d.ts.map +0 -1
- package/lib/typescript/module/vendor-card/constants.d.ts +0 -30
- package/lib/typescript/module/vendor-card/constants.d.ts.map +0 -1
- package/lib/typescript/module/vendor-card/index.d.ts +0 -5
- package/lib/typescript/module/vendor-card/index.d.ts.map +0 -1
- package/lib/typescript/module/vendor-card/message-helpers.d.ts +0 -13
- package/lib/typescript/module/vendor-card/message-helpers.d.ts.map +0 -1
- package/lib/typescript/module/vendor-card/messages.d.ts +0 -22
- package/lib/typescript/module/vendor-card/messages.d.ts.map +0 -1
- package/lib/typescript/module/vendor-card/shared.d.ts +0 -24
- package/lib/typescript/module/vendor-card/shared.d.ts.map +0 -1
- package/lib/typescript/module/vendor-card/types.d.ts +0 -111
- package/lib/typescript/module/vendor-card/types.d.ts.map +0 -1
- package/src/checkout-summary/CheckoutConfirm.tsx +0 -119
- package/src/checkout-summary/CheckoutSummary.tsx +0 -221
- package/src/checkout-summary/CheckoutSummaryRow.tsx +0 -172
- package/src/checkout-summary/constants.ts +0 -64
- package/src/checkout-summary/index.ts +0 -22
- package/src/checkout-summary/messages.ts +0 -33
- package/src/checkout-summary/shared.ts +0 -40
- package/src/checkout-summary/types.ts +0 -152
- package/src/order-confirmation/OrderConfirmation.tsx +0 -197
- package/src/order-confirmation/constants.ts +0 -20
- package/src/order-confirmation/index.ts +0 -12
- package/src/order-confirmation/messages.ts +0 -18
- package/src/order-confirmation/types.ts +0 -98
- package/src/vendor-card/VendorCard.tsx +0 -509
- package/src/vendor-card/constants.ts +0 -58
- package/src/vendor-card/index.ts +0 -15
- package/src/vendor-card/message-helpers.ts +0 -20
- package/src/vendor-card/messages.ts +0 -36
- package/src/vendor-card/shared.ts +0 -136
- package/src/vendor-card/types.ts +0 -115
|
@@ -1,299 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { c as _c } from "react/compiler-runtime";
|
|
4
|
-
import React, { memo, useMemo } from 'react';
|
|
5
|
-
import { View } from 'react-native';
|
|
6
|
-
import { AddressRow } from "../address/index.js";
|
|
7
|
-
import { Chip } from "../chip/index.js";
|
|
8
|
-
import { EmptyState } from "../empty-state/index.js";
|
|
9
|
-
import { IconCircle } from "../icon-circle/index.js";
|
|
10
|
-
import { RiCheckLine } from "../icons/remix/RiCheckLine.js";
|
|
11
|
-
import { FactList } from "../listing-actions/parts.js";
|
|
12
|
-
import { OrderStatusBar } from "../order-status/index.js";
|
|
13
|
-
import { surfaceTextOn, useSurfaceFill } from "../styles/surface-levels.js";
|
|
14
|
-
import { resolveAccentColors } from "../theme/accent-colors.js";
|
|
15
|
-
import { useTheme } from "../theme/use-theme.js";
|
|
16
|
-
import { Text } from "../typography/index.js";
|
|
17
|
-
import { useMessages } from "../locale/messages.js";
|
|
18
|
-
import { ORDER_CONFIRMATION_GAP, ORDER_CONFIRMATION_MARK } from "./constants.js";
|
|
19
|
-
import { ORDER_CONFIRMATION_MESSAGES } from "./messages.js";
|
|
20
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
21
|
-
/**
|
|
22
|
-
* A row nested inside this surface takes its own chrome off: `Item`'s
|
|
23
|
-
* `paddingLeft`/`paddingRight`, in the LONGHANDS it writes, so the reset is
|
|
24
|
-
* honoured by react-native-web's atomic sheet as well as by Yoga.
|
|
25
|
-
*/
|
|
26
|
-
const FLUSH_ROW = {
|
|
27
|
-
paddingLeft: 0,
|
|
28
|
-
paddingRight: 0
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* It is placed: what happened, which order it was, where it is going, what it
|
|
33
|
-
* cost, and the two things you do next.
|
|
34
|
-
*
|
|
35
|
-
* mark a check on a success-tinted disc, 56. STATIC: `AnimatedCheck`
|
|
36
|
-
* draws itself on only when a caller kicks it through its ref, and
|
|
37
|
-
* a mark that is invisible until someone calls a method — or under
|
|
38
|
-
* reduce-motion — is not a mark. An app that wants the draw-on
|
|
39
|
-
* passes `<AnimatedCheck>` (and its `play()`) as `mark`.
|
|
40
|
-
* title the "done" register — `EmptyState`'s own heading and line, which
|
|
41
|
-
* is the same block `auth-card` and every finished flow draw
|
|
42
|
-
* reference the order number as an outlined `Chip`, under its caption; it is
|
|
43
|
-
* a chip because it is the one string a reader will read back to
|
|
44
|
-
* someone on the phone, and a chip is the library's token
|
|
45
|
-
* status `order-status`'s `OrderStatusBar` — the ONE tracking strip in the
|
|
46
|
-
* library, drawn here rather than copied
|
|
47
|
-
* address `address`'s `AddressRow`, flush with the block's edges
|
|
48
|
-
* facts the label/value box Bloom's action cards already draw
|
|
49
|
-
* items a slot: an order line is a dish, a parcel or a seat, and each has
|
|
50
|
-
* a row family of its own
|
|
51
|
-
* actions track it, get help
|
|
52
|
-
*
|
|
53
|
-
* ## It IS an `EmptyState`
|
|
54
|
-
*
|
|
55
|
-
* Not "looks like one": a mark, a heading, a line of explanation, a block of
|
|
56
|
-
* content and up to two actions is exactly that family's shape, and a "done"
|
|
57
|
-
* screen is the same object as a "nothing here" screen with a different reason
|
|
58
|
-
* for existing. Building it a second time is how two centred columns with
|
|
59
|
-
* different paddings ship in one library.
|
|
60
|
-
*
|
|
61
|
-
* ## It computes nothing
|
|
62
|
-
*
|
|
63
|
-
* Every amount, every time and every reading is a string the app formatted.
|
|
64
|
-
*/
|
|
65
|
-
function OrderConfirmationComponent(t0) {
|
|
66
|
-
const $ = _c(48);
|
|
67
|
-
const {
|
|
68
|
-
title: titleProp,
|
|
69
|
-
description,
|
|
70
|
-
mark,
|
|
71
|
-
markSize: t1,
|
|
72
|
-
reference,
|
|
73
|
-
referenceLabel: referenceLabelProp,
|
|
74
|
-
status,
|
|
75
|
-
address,
|
|
76
|
-
facts,
|
|
77
|
-
items,
|
|
78
|
-
itemsLabel: itemsLabelProp,
|
|
79
|
-
action,
|
|
80
|
-
secondaryAction,
|
|
81
|
-
footer,
|
|
82
|
-
variant: t2,
|
|
83
|
-
accessibilityLabel,
|
|
84
|
-
style,
|
|
85
|
-
testID
|
|
86
|
-
} = t0;
|
|
87
|
-
const markSize = t1 === undefined ? ORDER_CONFIRMATION_MARK : t1;
|
|
88
|
-
const variant = t2 === undefined ? "comfortable" : t2;
|
|
89
|
-
const {
|
|
90
|
-
messages
|
|
91
|
-
} = useMessages(ORDER_CONFIRMATION_MESSAGES);
|
|
92
|
-
const title = titleProp ?? messages.title;
|
|
93
|
-
const referenceLabel = referenceLabelProp ?? messages.referenceLabel;
|
|
94
|
-
const itemsLabel = itemsLabelProp ?? messages.itemsLabel;
|
|
95
|
-
const theme = useTheme();
|
|
96
|
-
const surface = useSurfaceFill();
|
|
97
|
-
let t3;
|
|
98
|
-
if ($[0] !== surface || $[1] !== theme) {
|
|
99
|
-
t3 = surfaceTextOn(theme, surface);
|
|
100
|
-
$[0] = surface;
|
|
101
|
-
$[1] = theme;
|
|
102
|
-
$[2] = t3;
|
|
103
|
-
} else {
|
|
104
|
-
t3 = $[2];
|
|
105
|
-
}
|
|
106
|
-
const paint = t3;
|
|
107
|
-
let t4;
|
|
108
|
-
if ($[3] !== theme.colors) {
|
|
109
|
-
t4 = resolveAccentColors(theme.colors, "success", "subtle");
|
|
110
|
-
$[3] = theme.colors;
|
|
111
|
-
$[4] = t4;
|
|
112
|
-
} else {
|
|
113
|
-
t4 = $[4];
|
|
114
|
-
}
|
|
115
|
-
const success = t4;
|
|
116
|
-
let t5;
|
|
117
|
-
if ($[5] !== testID) {
|
|
118
|
-
t5 = part => testID ? `${testID}-${part}` : undefined;
|
|
119
|
-
$[5] = testID;
|
|
120
|
-
$[6] = t5;
|
|
121
|
-
} else {
|
|
122
|
-
t5 = $[6];
|
|
123
|
-
}
|
|
124
|
-
const id = t5;
|
|
125
|
-
let t6;
|
|
126
|
-
if ($[7] !== facts) {
|
|
127
|
-
t6 = facts ?? [];
|
|
128
|
-
$[7] = facts;
|
|
129
|
-
$[8] = t6;
|
|
130
|
-
} else {
|
|
131
|
-
t6 = $[8];
|
|
132
|
-
}
|
|
133
|
-
let t7;
|
|
134
|
-
if ($[9] !== t6) {
|
|
135
|
-
let t8;
|
|
136
|
-
if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
137
|
-
t8 = fact => ({
|
|
138
|
-
key: fact.id ?? fact.label,
|
|
139
|
-
label: fact.label,
|
|
140
|
-
value: fact.value
|
|
141
|
-
});
|
|
142
|
-
$[11] = t8;
|
|
143
|
-
} else {
|
|
144
|
-
t8 = $[11];
|
|
145
|
-
}
|
|
146
|
-
t7 = t6.map(t8);
|
|
147
|
-
$[9] = t6;
|
|
148
|
-
$[10] = t7;
|
|
149
|
-
} else {
|
|
150
|
-
t7 = $[10];
|
|
151
|
-
}
|
|
152
|
-
const keyFacts = t7;
|
|
153
|
-
let t8;
|
|
154
|
-
if ($[12] !== id || $[13] !== paint.textSecondary) {
|
|
155
|
-
t8 = (text, part_0) => /*#__PURE__*/_jsx(Text, {
|
|
156
|
-
variant: "caption-2-bold",
|
|
157
|
-
testID: id(part_0),
|
|
158
|
-
style: {
|
|
159
|
-
color: paint.textSecondary,
|
|
160
|
-
textTransform: "uppercase"
|
|
161
|
-
},
|
|
162
|
-
children: text
|
|
163
|
-
});
|
|
164
|
-
$[12] = id;
|
|
165
|
-
$[13] = paint.textSecondary;
|
|
166
|
-
$[14] = t8;
|
|
167
|
-
} else {
|
|
168
|
-
t8 = $[14];
|
|
169
|
-
}
|
|
170
|
-
const caption = t8;
|
|
171
|
-
const hasBody = reference != null || status != null || address != null || keyFacts.length > 0 || items != null;
|
|
172
|
-
let t9;
|
|
173
|
-
if ($[15] !== mark || $[16] !== markSize || $[17] !== success) {
|
|
174
|
-
t9 = mark !== undefined ? mark : /*#__PURE__*/_jsx(IconCircle, {
|
|
175
|
-
icon: RiCheckLine,
|
|
176
|
-
size: "xl",
|
|
177
|
-
style: {
|
|
178
|
-
width: markSize,
|
|
179
|
-
height: markSize,
|
|
180
|
-
backgroundColor: success.background
|
|
181
|
-
},
|
|
182
|
-
iconStyle: {
|
|
183
|
-
color: success.foreground
|
|
184
|
-
}
|
|
185
|
-
});
|
|
186
|
-
$[15] = mark;
|
|
187
|
-
$[16] = markSize;
|
|
188
|
-
$[17] = success;
|
|
189
|
-
$[18] = t9;
|
|
190
|
-
} else {
|
|
191
|
-
t9 = $[18];
|
|
192
|
-
}
|
|
193
|
-
let t10;
|
|
194
|
-
if ($[19] !== accessibilityLabel || $[20] !== description || $[21] !== reference || $[22] !== referenceLabel || $[23] !== title) {
|
|
195
|
-
t10 = accessibilityLabel ?? [title, reference ? `${referenceLabel} ${reference}` : undefined, description].filter(Boolean).join(". ");
|
|
196
|
-
$[19] = accessibilityLabel;
|
|
197
|
-
$[20] = description;
|
|
198
|
-
$[21] = reference;
|
|
199
|
-
$[22] = referenceLabel;
|
|
200
|
-
$[23] = title;
|
|
201
|
-
$[24] = t10;
|
|
202
|
-
} else {
|
|
203
|
-
t10 = $[24];
|
|
204
|
-
}
|
|
205
|
-
let t11;
|
|
206
|
-
if ($[25] !== address || $[26] !== caption || $[27] !== hasBody || $[28] !== id || $[29] !== items || $[30] !== itemsLabel || $[31] !== keyFacts || $[32] !== reference || $[33] !== referenceLabel || $[34] !== status) {
|
|
207
|
-
t11 = hasBody ? /*#__PURE__*/_jsxs(View, {
|
|
208
|
-
style: {
|
|
209
|
-
gap: ORDER_CONFIRMATION_GAP
|
|
210
|
-
},
|
|
211
|
-
children: [reference != null ? /*#__PURE__*/_jsxs(View, {
|
|
212
|
-
style: {
|
|
213
|
-
alignItems: "center",
|
|
214
|
-
gap: 6
|
|
215
|
-
},
|
|
216
|
-
children: [caption(referenceLabel, "reference-label"), /*#__PURE__*/_jsx(Chip, {
|
|
217
|
-
variant: "outlined",
|
|
218
|
-
size: "lg",
|
|
219
|
-
style: {
|
|
220
|
-
alignSelf: "center"
|
|
221
|
-
},
|
|
222
|
-
accessibilityLabel: `${referenceLabel} ${reference}`,
|
|
223
|
-
testID: id("reference"),
|
|
224
|
-
children: reference
|
|
225
|
-
})]
|
|
226
|
-
}) : null, status ? /*#__PURE__*/_jsx(OrderStatusBar, {
|
|
227
|
-
...status,
|
|
228
|
-
testID: status.testID ?? id("status")
|
|
229
|
-
}) : null, address ? /*#__PURE__*/_jsx(AddressRow, {
|
|
230
|
-
title: address.title,
|
|
231
|
-
subtitle: address.subtitle,
|
|
232
|
-
kind: address.kind,
|
|
233
|
-
icon: address.icon,
|
|
234
|
-
badge: address.badge,
|
|
235
|
-
meta: address.meta,
|
|
236
|
-
style: FLUSH_ROW,
|
|
237
|
-
testID: address.testID ?? id("address")
|
|
238
|
-
}) : null, keyFacts.length > 0 ? /*#__PURE__*/_jsx(FactList, {
|
|
239
|
-
facts: keyFacts,
|
|
240
|
-
testID: id("facts")
|
|
241
|
-
}) : null, items != null ? /*#__PURE__*/_jsxs(View, {
|
|
242
|
-
style: {
|
|
243
|
-
gap: 8
|
|
244
|
-
},
|
|
245
|
-
children: [caption(itemsLabel, "items-label"), /*#__PURE__*/_jsx(View, {
|
|
246
|
-
testID: id("items"),
|
|
247
|
-
children: items
|
|
248
|
-
})]
|
|
249
|
-
}) : null]
|
|
250
|
-
}) : null;
|
|
251
|
-
$[25] = address;
|
|
252
|
-
$[26] = caption;
|
|
253
|
-
$[27] = hasBody;
|
|
254
|
-
$[28] = id;
|
|
255
|
-
$[29] = items;
|
|
256
|
-
$[30] = itemsLabel;
|
|
257
|
-
$[31] = keyFacts;
|
|
258
|
-
$[32] = reference;
|
|
259
|
-
$[33] = referenceLabel;
|
|
260
|
-
$[34] = status;
|
|
261
|
-
$[35] = t11;
|
|
262
|
-
} else {
|
|
263
|
-
t11 = $[35];
|
|
264
|
-
}
|
|
265
|
-
let t12;
|
|
266
|
-
if ($[36] !== action || $[37] !== description || $[38] !== footer || $[39] !== secondaryAction || $[40] !== style || $[41] !== t10 || $[42] !== t11 || $[43] !== t9 || $[44] !== testID || $[45] !== title || $[46] !== variant) {
|
|
267
|
-
t12 = /*#__PURE__*/_jsx(EmptyState, {
|
|
268
|
-
variant: variant,
|
|
269
|
-
illustration: t9,
|
|
270
|
-
title: title,
|
|
271
|
-
description: description,
|
|
272
|
-
action: action,
|
|
273
|
-
secondaryAction: secondaryAction,
|
|
274
|
-
footer: footer,
|
|
275
|
-
accessibilityLabel: t10,
|
|
276
|
-
style: style,
|
|
277
|
-
testID: testID,
|
|
278
|
-
children: t11
|
|
279
|
-
});
|
|
280
|
-
$[36] = action;
|
|
281
|
-
$[37] = description;
|
|
282
|
-
$[38] = footer;
|
|
283
|
-
$[39] = secondaryAction;
|
|
284
|
-
$[40] = style;
|
|
285
|
-
$[41] = t10;
|
|
286
|
-
$[42] = t11;
|
|
287
|
-
$[43] = t9;
|
|
288
|
-
$[44] = testID;
|
|
289
|
-
$[45] = title;
|
|
290
|
-
$[46] = variant;
|
|
291
|
-
$[47] = t12;
|
|
292
|
-
} else {
|
|
293
|
-
t12 = $[47];
|
|
294
|
-
}
|
|
295
|
-
return t12;
|
|
296
|
-
}
|
|
297
|
-
export const OrderConfirmation = /*#__PURE__*/memo(OrderConfirmationComponent);
|
|
298
|
-
OrderConfirmation.displayName = 'OrderConfirmation';
|
|
299
|
-
//# sourceMappingURL=OrderConfirmation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useMemo","View","AddressRow","Chip","EmptyState","IconCircle","RiCheckLine","FactList","OrderStatusBar","surfaceTextOn","useSurfaceFill","resolveAccentColors","useTheme","Text","useMessages","ORDER_CONFIRMATION_GAP","ORDER_CONFIRMATION_MARK","ORDER_CONFIRMATION_MESSAGES","jsx","_jsx","jsxs","_jsxs","FLUSH_ROW","paddingLeft","paddingRight","OrderConfirmationComponent","t0","$","_c","title","titleProp","description","mark","markSize","t1","reference","referenceLabel","referenceLabelProp","status","address","facts","items","itemsLabel","itemsLabelProp","action","secondaryAction","footer","variant","t2","accessibilityLabel","style","testID","undefined","messages","theme","surface","t3","paint","t4","colors","success","t5","part","id","t6","t7","t8","Symbol","for","fact","key","label","value","map","keyFacts","textSecondary","text","part_0","color","textTransform","children","caption","hasBody","length","t9","size","width","height","backgroundColor","background","iconStyle","foreground","t10","filter","Boolean","join","t11","gap","alignItems","alignSelf","subtitle","kind","icon","badge","meta","t12","illustration","OrderConfirmation","displayName"],"sourceRoot":"../../../src","sources":["order-confirmation/OrderConfirmation.tsx"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,QAAQ,OAAO;AAC5C,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,UAAU,QAAQ,qBAAY;AACvC,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,UAAU,QAAQ,yBAAgB;AAC3C,SAASC,UAAU,QAAQ,yBAAgB;AAC3C,SAASC,WAAW,QAAQ,+BAA4B;AACxD,SAASC,QAAQ,QAAQ,6BAA0B;AACnD,SAASC,cAAc,QAAQ,0BAAiB;AAChD,SAASC,aAAa,EAAEC,cAAc,QAAQ,6BAA0B;AACxE,SAASC,mBAAmB,QAAQ,2BAAwB;AAC5D,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,IAAI,QAAQ,wBAAe;AACpC,SAASC,WAAW,QAAQ,uBAAoB;AAChD,SAASC,sBAAsB,EAAEC,uBAAuB,QAAQ,gBAAa;AAC7E,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iE,GAAA,IAAAjE,CAAA,SAAAqE,GAAA,IAAArE,CAAA,SAAAyD,EAAA,IAAAzD,CAAA,SAAAwB,MAAA,IAAAxB,CAAA,SAAAE,KAAA,IAAAF,CAAA,SAAAoB,OAAA;IA5EV0D,GAAA,gBAAAtF,IAAA,CAACf,UAAU;MACA2C,OAAO,EAAPA,OAAO;MAId2D,YAYC,EAZDtB,EAYC;MAEIvD,KAAK,EAALA,KAAK;MACCE,WAAW,EAAXA,WAAW;MAChBa,MAAM,EAANA,MAAM;MACGC,eAAe,EAAfA,eAAe;MACxBC,MAAM,EAANA,MAAM;MAEZG,kBAGa,EAHb2C,GAGa;MAER1C,KAAK,EAALA,KAAK;MACJC,MAAM,EAANA,MAAM;MAAA6B,QAAA,EAEbgB;IA2CO,CACE,CAAC;IAAArE,CAAA,OAAAiB,MAAA;IAAAjB,CAAA,OAAAI,WAAA;IAAAJ,CAAA,OAAAmB,MAAA;IAAAnB,CAAA,OAAAkB,eAAA;IAAAlB,CAAA,OAAAuB,KAAA;IAAAvB,CAAA,OAAAiE,GAAA;IAAAjE,CAAA,OAAAqE,GAAA;IAAArE,CAAA,OAAAyD,EAAA;IAAAzD,CAAA,OAAAwB,MAAA;IAAAxB,CAAA,OAAAE,KAAA;IAAAF,CAAA,OAAAoB,OAAA;IAAApB,CAAA,OAAA8E,GAAA;EAAA;IAAAA,GAAA,GAAA9E,CAAA;EAAA;EAAA,OA7Eb8E,GA6Ea;AAAA;AAIjB,OAAO,MAAME,iBAAiB,gBAAG5G,IAAI,CAAC0B,0BAA0B,CAAC;AACjEkF,iBAAiB,CAACC,WAAW,GAAG,mBAAmB","ignoreList":[]}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { ORDER_CONFIRMATION_MESSAGES } from "./messages.js";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The English words the confirmation says when the app says nothing. The
|
|
7
|
-
* component itself says them in the app's language (`ORDER_CONFIRMATION_MESSAGES`).
|
|
8
|
-
*/
|
|
9
|
-
export const ORDER_CONFIRMATION_TITLE = ORDER_CONFIRMATION_MESSAGES.en.title;
|
|
10
|
-
export const ORDER_CONFIRMATION_REFERENCE_LABEL = ORDER_CONFIRMATION_MESSAGES.en.referenceLabel;
|
|
11
|
-
export const ORDER_CONFIRMATION_ITEMS_LABEL = ORDER_CONFIRMATION_MESSAGES.en.itemsLabel;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* The drawn-on check. 56 is the size at which the 4px stroke of
|
|
15
|
-
* `AnimatedCheck`'s 52-unit canvas reads as a mark rather than as an icon —
|
|
16
|
-
* below ~40 it looks like a status glyph, which is the opposite of what a
|
|
17
|
-
* finished flow is saying.
|
|
18
|
-
*/
|
|
19
|
-
export const ORDER_CONFIRMATION_MARK = 56;
|
|
20
|
-
|
|
21
|
-
/** Between the blocks of the receipt. */
|
|
22
|
-
export const ORDER_CONFIRMATION_GAP = 16;
|
|
23
|
-
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ORDER_CONFIRMATION_MESSAGES","ORDER_CONFIRMATION_TITLE","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,SAASA,2BAA2B,QAAQ,eAAY;;AAExD;AACA;AACA;AACA;AACA,OAAO,MAAMC,wBAAwB,GAAGD,2BAA2B,CAACE,EAAE,CAACC,KAAK;AAC5E,OAAO,MAAMC,kCAAkC,GAAGJ,2BAA2B,CAACE,EAAE,CAACG,cAAc;AAC/F,OAAO,MAAMC,8BAA8B,GAAGN,2BAA2B,CAACE,EAAE,CAACK,UAAU;;AAEvF;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,uBAAuB,GAAG,EAAE;;AAEzC;AACA,OAAO,MAAMC,sBAAsB,GAAG,EAAE","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["OrderConfirmation","ORDER_CONFIRMATION_ITEMS_LABEL","ORDER_CONFIRMATION_MARK","ORDER_CONFIRMATION_REFERENCE_LABEL","ORDER_CONFIRMATION_TITLE"],"sourceRoot":"../../../src","sources":["order-confirmation/index.ts"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,wBAAqB;AACvD,SACEC,8BAA8B,EAC9BC,uBAAuB,EACvBC,kCAAkC,EAClCC,wBAAwB,QACnB,gBAAa","ignoreList":[]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { defineMessages } from "../locale/messages.js";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* The words the confirmation says when the app says nothing, in each Bloom
|
|
7
|
-
* language. The `title`, `referenceLabel` and `itemsLabel` props still win.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
export const ORDER_CONFIRMATION_MESSAGES = defineMessages('ORDER_CONFIRMATION_MESSAGES', {
|
|
11
|
-
title: 'Your order is placed',
|
|
12
|
-
referenceLabel: 'Order number',
|
|
13
|
-
itemsLabel: 'What you ordered'
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=messages.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["defineMessages","ORDER_CONFIRMATION_MESSAGES","title","referenceLabel","itemsLabel"],"sourceRoot":"../../../src","sources":["order-confirmation/messages.ts"],"mappings":";;AAAA,SAASA,cAAc,QAA6B,uBAAoB;;AAExE;AACA;AACA;AACA;;AAOA,OAAO,MAAMC,2BAAsE,GACjFD,cAAc,CAA4B,6BAA6B,EAAE;EACvEE,KAAK,EAAE,sBAAsB;EAC7BC,cAAc,EAAE,cAAc;EAC9BC,UAAU,EAAE;AACd,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../../src","sources":["order-confirmation/types.ts"],"mappings":"","ignoreList":[]}
|