@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
|
@@ -18,10 +18,6 @@ import {
|
|
|
18
18
|
} from '../../place-card/message-helpers';
|
|
19
19
|
import { countForms as rating_countForms } from '../../rating/message-helpers';
|
|
20
20
|
import { shapeNames as shapes_shapeNames } from '../../shapes/message-helpers';
|
|
21
|
-
import {
|
|
22
|
-
has as vendorCard_has,
|
|
23
|
-
counted as vendorCard_counted,
|
|
24
|
-
} from '../../vendor-card/message-helpers';
|
|
25
21
|
|
|
26
22
|
const CALL_UI_MESSAGES__CORNERS = {
|
|
27
23
|
'top-left': 'in alto a sinistra',
|
|
@@ -770,16 +766,6 @@ const DATE_PICKER_MESSAGES: Translations['DATE_PICKER_MESSAGES'] = {
|
|
|
770
766
|
|
|
771
767
|
const LABEL_MESSAGES: Translations['LABEL_MESSAGES'] = { required: 'obbligatorio' };
|
|
772
768
|
|
|
773
|
-
const CHECKOUT_SUMMARY_MESSAGES: Translations['CHECKOUT_SUMMARY_MESSAGES'] = {
|
|
774
|
-
title: 'Controlla il tuo ordine',
|
|
775
|
-
orderSummary: 'Riepilogo ordine',
|
|
776
|
-
deliverTo: 'Consegna a',
|
|
777
|
-
notChosen: 'Non ancora scelto',
|
|
778
|
-
opensPicker: 'Apre il selettore',
|
|
779
|
-
placeOrder: 'Effettua ordine',
|
|
780
|
-
placingOrder: 'Invio del tuo ordine',
|
|
781
|
-
};
|
|
782
|
-
|
|
783
769
|
const EMPTY_STATE_MESSAGES: Translations['EMPTY_STATE_MESSAGES'] = {
|
|
784
770
|
suggestions: 'Suggerimenti',
|
|
785
771
|
};
|
|
@@ -2087,19 +2073,6 @@ const PHONE_INPUT_MESSAGES: Translations['PHONE_INPUT_MESSAGES'] = {
|
|
|
2087
2073
|
countryCode: 'Prefisso internazionale',
|
|
2088
2074
|
};
|
|
2089
2075
|
|
|
2090
|
-
const VENDOR_CARD_MESSAGES: Translations['VENDOR_CARD_MESSAGES'] = {
|
|
2091
|
-
facts: {
|
|
2092
|
-
deliveryTime: 'Tempo di consegna',
|
|
2093
|
-
deliveryFee: 'Consegna',
|
|
2094
|
-
distance: 'Distanza',
|
|
2095
|
-
minimumOrder: 'Ordine minimo',
|
|
2096
|
-
},
|
|
2097
|
-
availability: { paused: 'In pausa', closed: 'Chiuso' },
|
|
2098
|
-
new: 'Nuovo',
|
|
2099
|
-
rated: (value, reviews) =>
|
|
2100
|
-
`Valutazione ${value} su 5${vendorCard_has(reviews) ? `, ${vendorCard_counted('it', reviews, { one: '{n} recensione', other: '{n} recensioni' })}` : ''}`,
|
|
2101
|
-
};
|
|
2102
|
-
|
|
2103
2076
|
const CHAT_INDICATORS_MESSAGES: Translations['CHAT_INDICATORS_MESSAGES'] = {
|
|
2104
2077
|
presence: { online: 'Online', idle: 'Assente', offline: 'Offline', busy: 'Occupato' },
|
|
2105
2078
|
status: {
|
|
@@ -2811,12 +2784,6 @@ const CONNECTION_STATUS_MESSAGES: Translations['CONNECTION_STATUS_MESSAGES'] = {
|
|
|
2811
2784
|
restored: 'Di nuovo online',
|
|
2812
2785
|
};
|
|
2813
2786
|
|
|
2814
|
-
const ORDER_CONFIRMATION_MESSAGES: Translations['ORDER_CONFIRMATION_MESSAGES'] = {
|
|
2815
|
-
title: 'Il tuo ordine è stato effettuato',
|
|
2816
|
-
referenceLabel: 'Numero d’ordine',
|
|
2817
|
-
itemsLabel: 'Cosa hai ordinato',
|
|
2818
|
-
};
|
|
2819
|
-
|
|
2820
2787
|
const COMPOSITION_BAR_MESSAGES: Translations['COMPOSITION_BAR_MESSAGES'] = {
|
|
2821
2788
|
readout: (points, percent) => `${points} punti · ${percent}`,
|
|
2822
2789
|
};
|
|
@@ -2942,7 +2909,6 @@ const translations: Translations = {
|
|
|
2942
2909
|
PRICE_BREAKDOWN_MESSAGES,
|
|
2943
2910
|
DATE_PICKER_MESSAGES,
|
|
2944
2911
|
LABEL_MESSAGES,
|
|
2945
|
-
CHECKOUT_SUMMARY_MESSAGES,
|
|
2946
2912
|
COMPOSER_PANEL_MESSAGES,
|
|
2947
2913
|
MESSAGE_BUBBLE_MESSAGES,
|
|
2948
2914
|
PAYMENT_STATUS_MESSAGES,
|
|
@@ -3014,7 +2980,6 @@ const translations: Translations = {
|
|
|
3014
2980
|
ZOOMABLE_MEDIA_GALLERY_MESSAGES,
|
|
3015
2981
|
NOTIFICATION_MESSAGES,
|
|
3016
2982
|
PHONE_INPUT_MESSAGES,
|
|
3017
|
-
VENDOR_CARD_MESSAGES,
|
|
3018
2983
|
CHAT_INDICATORS_MESSAGES,
|
|
3019
2984
|
MEDIA_CONTROLS_MESSAGES,
|
|
3020
2985
|
INPUT_OTP_MESSAGES,
|
|
@@ -3053,7 +3018,6 @@ const translations: Translations = {
|
|
|
3053
3018
|
SHARE_SHEET_MESSAGES,
|
|
3054
3019
|
WINDOW_MESSAGES,
|
|
3055
3020
|
CONNECTION_STATUS_MESSAGES,
|
|
3056
|
-
ORDER_CONFIRMATION_MESSAGES,
|
|
3057
3021
|
COMPOSITION_BAR_MESSAGES,
|
|
3058
3022
|
};
|
|
3059
3023
|
|
|
@@ -15,10 +15,6 @@ import {
|
|
|
15
15
|
} from '../../place-card/message-helpers';
|
|
16
16
|
import { countForms as rating_countForms } from '../../rating/message-helpers';
|
|
17
17
|
import { shapeNames as shapes_shapeNames } from '../../shapes/message-helpers';
|
|
18
|
-
import {
|
|
19
|
-
has as vendorCard_has,
|
|
20
|
-
counted as vendorCard_counted,
|
|
21
|
-
} from '../../vendor-card/message-helpers';
|
|
22
18
|
|
|
23
19
|
const CALL_UI_MESSAGES__CORNERS = {
|
|
24
20
|
'top-left': '左上',
|
|
@@ -736,16 +732,6 @@ const DATE_PICKER_MESSAGES: Translations['DATE_PICKER_MESSAGES'] = {
|
|
|
736
732
|
|
|
737
733
|
const LABEL_MESSAGES: Translations['LABEL_MESSAGES'] = { required: '必須' };
|
|
738
734
|
|
|
739
|
-
const CHECKOUT_SUMMARY_MESSAGES: Translations['CHECKOUT_SUMMARY_MESSAGES'] = {
|
|
740
|
-
title: 'ご注文内容の確認',
|
|
741
|
-
orderSummary: '注文の概要',
|
|
742
|
-
deliverTo: 'お届け先',
|
|
743
|
-
notChosen: '未選択',
|
|
744
|
-
opensPicker: '選択画面を開きます',
|
|
745
|
-
placeOrder: '注文を確定する',
|
|
746
|
-
placingOrder: '注文を送信しています',
|
|
747
|
-
};
|
|
748
|
-
|
|
749
735
|
const EMPTY_STATE_MESSAGES: Translations['EMPTY_STATE_MESSAGES'] = {
|
|
750
736
|
suggestions: '候補',
|
|
751
737
|
};
|
|
@@ -2016,19 +2002,6 @@ const PHONE_INPUT_MESSAGES: Translations['PHONE_INPUT_MESSAGES'] = {
|
|
|
2016
2002
|
countryCode: '国番号',
|
|
2017
2003
|
};
|
|
2018
2004
|
|
|
2019
|
-
const VENDOR_CARD_MESSAGES: Translations['VENDOR_CARD_MESSAGES'] = {
|
|
2020
|
-
facts: {
|
|
2021
|
-
deliveryTime: '配達時間',
|
|
2022
|
-
deliveryFee: '配達料',
|
|
2023
|
-
distance: '距離',
|
|
2024
|
-
minimumOrder: '最低注文金額',
|
|
2025
|
-
},
|
|
2026
|
-
availability: { paused: '一時停止中', closed: '営業時間外' },
|
|
2027
|
-
new: '新着',
|
|
2028
|
-
rated: (value, reviews) =>
|
|
2029
|
-
`評価 ${value}(5点満点)${vendorCard_has(reviews) ? `、${vendorCard_counted('ja', reviews, { other: 'レビュー{n}件' })}` : ''}`,
|
|
2030
|
-
};
|
|
2031
|
-
|
|
2032
2005
|
const CHAT_INDICATORS_MESSAGES: Translations['CHAT_INDICATORS_MESSAGES'] = {
|
|
2033
2006
|
presence: { online: 'オンライン', idle: '退席中', offline: 'オフライン', busy: '取り込み中' },
|
|
2034
2007
|
status: {
|
|
@@ -2733,12 +2706,6 @@ const CONNECTION_STATUS_MESSAGES: Translations['CONNECTION_STATUS_MESSAGES'] = {
|
|
|
2733
2706
|
restored: 'オンラインに戻りました',
|
|
2734
2707
|
};
|
|
2735
2708
|
|
|
2736
|
-
const ORDER_CONFIRMATION_MESSAGES: Translations['ORDER_CONFIRMATION_MESSAGES'] = {
|
|
2737
|
-
title: 'ご注文を承りました',
|
|
2738
|
-
referenceLabel: '注文番号',
|
|
2739
|
-
itemsLabel: 'ご注文内容',
|
|
2740
|
-
};
|
|
2741
|
-
|
|
2742
2709
|
const COMPOSITION_BAR_MESSAGES: Translations['COMPOSITION_BAR_MESSAGES'] = {
|
|
2743
2710
|
readout: (points, percent) => `${points}ポイント · ${percent}`,
|
|
2744
2711
|
};
|
|
@@ -2864,7 +2831,6 @@ const translations: Translations = {
|
|
|
2864
2831
|
PRICE_BREAKDOWN_MESSAGES,
|
|
2865
2832
|
DATE_PICKER_MESSAGES,
|
|
2866
2833
|
LABEL_MESSAGES,
|
|
2867
|
-
CHECKOUT_SUMMARY_MESSAGES,
|
|
2868
2834
|
COMPOSER_PANEL_MESSAGES,
|
|
2869
2835
|
MESSAGE_BUBBLE_MESSAGES,
|
|
2870
2836
|
PAYMENT_STATUS_MESSAGES,
|
|
@@ -2936,7 +2902,6 @@ const translations: Translations = {
|
|
|
2936
2902
|
ZOOMABLE_MEDIA_GALLERY_MESSAGES,
|
|
2937
2903
|
NOTIFICATION_MESSAGES,
|
|
2938
2904
|
PHONE_INPUT_MESSAGES,
|
|
2939
|
-
VENDOR_CARD_MESSAGES,
|
|
2940
2905
|
CHAT_INDICATORS_MESSAGES,
|
|
2941
2906
|
MEDIA_CONTROLS_MESSAGES,
|
|
2942
2907
|
INPUT_OTP_MESSAGES,
|
|
@@ -2975,7 +2940,6 @@ const translations: Translations = {
|
|
|
2975
2940
|
SHARE_SHEET_MESSAGES,
|
|
2976
2941
|
WINDOW_MESSAGES,
|
|
2977
2942
|
CONNECTION_STATUS_MESSAGES,
|
|
2978
|
-
ORDER_CONFIRMATION_MESSAGES,
|
|
2979
2943
|
COMPOSITION_BAR_MESSAGES,
|
|
2980
2944
|
};
|
|
2981
2945
|
|
|
@@ -18,10 +18,6 @@ import {
|
|
|
18
18
|
} from '../../place-card/message-helpers';
|
|
19
19
|
import { countForms as rating_countForms } from '../../rating/message-helpers';
|
|
20
20
|
import { shapeNames as shapes_shapeNames } from '../../shapes/message-helpers';
|
|
21
|
-
import {
|
|
22
|
-
has as vendorCard_has,
|
|
23
|
-
counted as vendorCard_counted,
|
|
24
|
-
} from '../../vendor-card/message-helpers';
|
|
25
21
|
|
|
26
22
|
const CALL_UI_MESSAGES__CORNERS = {
|
|
27
23
|
'top-left': 'canto superior esquerdo',
|
|
@@ -772,16 +768,6 @@ const DATE_PICKER_MESSAGES: Translations['DATE_PICKER_MESSAGES'] = {
|
|
|
772
768
|
|
|
773
769
|
const LABEL_MESSAGES: Translations['LABEL_MESSAGES'] = { required: 'obrigatório' };
|
|
774
770
|
|
|
775
|
-
const CHECKOUT_SUMMARY_MESSAGES: Translations['CHECKOUT_SUMMARY_MESSAGES'] = {
|
|
776
|
-
title: 'Revise seu pedido',
|
|
777
|
-
orderSummary: 'Resumo do pedido',
|
|
778
|
-
deliverTo: 'Entregar em',
|
|
779
|
-
notChosen: 'Ainda não escolhido',
|
|
780
|
-
opensPicker: 'Abre o seletor',
|
|
781
|
-
placeOrder: 'Fazer pedido',
|
|
782
|
-
placingOrder: 'Enviando seu pedido',
|
|
783
|
-
};
|
|
784
|
-
|
|
785
771
|
const EMPTY_STATE_MESSAGES: Translations['EMPTY_STATE_MESSAGES'] = {
|
|
786
772
|
suggestions: 'Sugestões',
|
|
787
773
|
};
|
|
@@ -2100,19 +2086,6 @@ const PHONE_INPUT_MESSAGES: Translations['PHONE_INPUT_MESSAGES'] = {
|
|
|
2100
2086
|
countryCode: 'Código do país',
|
|
2101
2087
|
};
|
|
2102
2088
|
|
|
2103
|
-
const VENDOR_CARD_MESSAGES: Translations['VENDOR_CARD_MESSAGES'] = {
|
|
2104
|
-
facts: {
|
|
2105
|
-
deliveryTime: 'Tempo de entrega',
|
|
2106
|
-
deliveryFee: 'Entrega',
|
|
2107
|
-
distance: 'Distância',
|
|
2108
|
-
minimumOrder: 'Pedido mínimo',
|
|
2109
|
-
},
|
|
2110
|
-
availability: { paused: 'Pausado', closed: 'Fechado' },
|
|
2111
|
-
new: 'Novo',
|
|
2112
|
-
rated: (value, reviews) =>
|
|
2113
|
-
`Avaliação ${value} de 5${vendorCard_has(reviews) ? `, ${vendorCard_counted('pt', reviews, { one: '{n} avaliação', other: '{n} avaliações' })}` : ''}`,
|
|
2114
|
-
};
|
|
2115
|
-
|
|
2116
2089
|
const CHAT_INDICATORS_MESSAGES: Translations['CHAT_INDICATORS_MESSAGES'] = {
|
|
2117
2090
|
presence: { online: 'On-line', idle: 'Ausente', offline: 'Off-line', busy: 'Ocupado' },
|
|
2118
2091
|
status: {
|
|
@@ -2825,12 +2798,6 @@ const CONNECTION_STATUS_MESSAGES: Translations['CONNECTION_STATUS_MESSAGES'] = {
|
|
|
2825
2798
|
restored: 'Conexão restabelecida',
|
|
2826
2799
|
};
|
|
2827
2800
|
|
|
2828
|
-
const ORDER_CONFIRMATION_MESSAGES: Translations['ORDER_CONFIRMATION_MESSAGES'] = {
|
|
2829
|
-
title: 'Seu pedido foi feito',
|
|
2830
|
-
referenceLabel: 'Número do pedido',
|
|
2831
|
-
itemsLabel: 'O que você pediu',
|
|
2832
|
-
};
|
|
2833
|
-
|
|
2834
2801
|
const COMPOSITION_BAR_MESSAGES: Translations['COMPOSITION_BAR_MESSAGES'] = {
|
|
2835
2802
|
readout: (points, percent) => `${points} pontos · ${percent}`,
|
|
2836
2803
|
};
|
|
@@ -2955,7 +2922,6 @@ const translations: Translations = {
|
|
|
2955
2922
|
PRICE_BREAKDOWN_MESSAGES,
|
|
2956
2923
|
DATE_PICKER_MESSAGES,
|
|
2957
2924
|
LABEL_MESSAGES,
|
|
2958
|
-
CHECKOUT_SUMMARY_MESSAGES,
|
|
2959
2925
|
COMPOSER_PANEL_MESSAGES,
|
|
2960
2926
|
MESSAGE_BUBBLE_MESSAGES,
|
|
2961
2927
|
PAYMENT_STATUS_MESSAGES,
|
|
@@ -3027,7 +2993,6 @@ const translations: Translations = {
|
|
|
3027
2993
|
ZOOMABLE_MEDIA_GALLERY_MESSAGES,
|
|
3028
2994
|
NOTIFICATION_MESSAGES,
|
|
3029
2995
|
PHONE_INPUT_MESSAGES,
|
|
3030
|
-
VENDOR_CARD_MESSAGES,
|
|
3031
2996
|
CHAT_INDICATORS_MESSAGES,
|
|
3032
2997
|
MEDIA_CONTROLS_MESSAGES,
|
|
3033
2998
|
INPUT_OTP_MESSAGES,
|
|
@@ -3066,7 +3031,6 @@ const translations: Translations = {
|
|
|
3066
3031
|
SHARE_SHEET_MESSAGES,
|
|
3067
3032
|
WINDOW_MESSAGES,
|
|
3068
3033
|
CONNECTION_STATUS_MESSAGES,
|
|
3069
|
-
ORDER_CONFIRMATION_MESSAGES,
|
|
3070
3034
|
COMPOSITION_BAR_MESSAGES,
|
|
3071
3035
|
};
|
|
3072
3036
|
|
|
@@ -18,10 +18,6 @@ import {
|
|
|
18
18
|
} from '../../place-card/message-helpers';
|
|
19
19
|
import { countForms as rating_countForms } from '../../rating/message-helpers';
|
|
20
20
|
import { shapeNames as shapes_shapeNames } from '../../shapes/message-helpers';
|
|
21
|
-
import {
|
|
22
|
-
has as vendorCard_has,
|
|
23
|
-
counted as vendorCard_counted,
|
|
24
|
-
} from '../../vendor-card/message-helpers';
|
|
25
21
|
|
|
26
22
|
const CALL_UI_MESSAGES__CORNERS = {
|
|
27
23
|
'top-left': 'вверху слева',
|
|
@@ -834,16 +830,6 @@ const DATE_PICKER_MESSAGES: Translations['DATE_PICKER_MESSAGES'] = {
|
|
|
834
830
|
|
|
835
831
|
const LABEL_MESSAGES: Translations['LABEL_MESSAGES'] = { required: 'обязательно' };
|
|
836
832
|
|
|
837
|
-
const CHECKOUT_SUMMARY_MESSAGES: Translations['CHECKOUT_SUMMARY_MESSAGES'] = {
|
|
838
|
-
title: 'Проверьте заказ',
|
|
839
|
-
orderSummary: 'Сводка заказа',
|
|
840
|
-
deliverTo: 'Адрес доставки',
|
|
841
|
-
notChosen: 'Не выбрано',
|
|
842
|
-
opensPicker: 'Открывает выбор',
|
|
843
|
-
placeOrder: 'Оформить заказ',
|
|
844
|
-
placingOrder: 'Оформляем заказ',
|
|
845
|
-
};
|
|
846
|
-
|
|
847
833
|
const EMPTY_STATE_MESSAGES: Translations['EMPTY_STATE_MESSAGES'] = {
|
|
848
834
|
suggestions: 'Подсказки',
|
|
849
835
|
};
|
|
@@ -2328,19 +2314,6 @@ const PHONE_INPUT_MESSAGES: Translations['PHONE_INPUT_MESSAGES'] = {
|
|
|
2328
2314
|
countryCode: 'Код страны',
|
|
2329
2315
|
};
|
|
2330
2316
|
|
|
2331
|
-
const VENDOR_CARD_MESSAGES: Translations['VENDOR_CARD_MESSAGES'] = {
|
|
2332
|
-
facts: {
|
|
2333
|
-
deliveryTime: 'Время доставки',
|
|
2334
|
-
deliveryFee: 'Доставка',
|
|
2335
|
-
distance: 'Расстояние',
|
|
2336
|
-
minimumOrder: 'Минимальный заказ',
|
|
2337
|
-
},
|
|
2338
|
-
availability: { paused: 'Приостановлено', closed: 'Закрыто' },
|
|
2339
|
-
new: 'Новое',
|
|
2340
|
-
rated: (value, reviews) =>
|
|
2341
|
-
`Оценка ${value} из 5${vendorCard_has(reviews) ? `, ${vendorCard_counted('ru', reviews, { one: '{n} отзыв', few: '{n} отзыва', many: '{n} отзывов', other: '{n} отзыва' })}` : ''}`,
|
|
2342
|
-
};
|
|
2343
|
-
|
|
2344
2317
|
const CHAT_INDICATORS_MESSAGES: Translations['CHAT_INDICATORS_MESSAGES'] = {
|
|
2345
2318
|
presence: { online: 'В сети', idle: 'Нет на месте', offline: 'Не в сети', busy: 'Занят' },
|
|
2346
2319
|
status: {
|
|
@@ -3088,12 +3061,6 @@ const CONNECTION_STATUS_MESSAGES: Translations['CONNECTION_STATUS_MESSAGES'] = {
|
|
|
3088
3061
|
restored: 'Снова в сети',
|
|
3089
3062
|
};
|
|
3090
3063
|
|
|
3091
|
-
const ORDER_CONFIRMATION_MESSAGES: Translations['ORDER_CONFIRMATION_MESSAGES'] = {
|
|
3092
|
-
title: 'Заказ оформлен',
|
|
3093
|
-
referenceLabel: 'Номер заказа',
|
|
3094
|
-
itemsLabel: 'Что вы заказали',
|
|
3095
|
-
};
|
|
3096
|
-
|
|
3097
3064
|
const COMPOSITION_BAR_MESSAGES: Translations['COMPOSITION_BAR_MESSAGES'] = {
|
|
3098
3065
|
readout: (points, percent) => `Баллы: ${points} · ${percent}`,
|
|
3099
3066
|
};
|
|
@@ -3219,7 +3186,6 @@ const translations: Translations = {
|
|
|
3219
3186
|
PRICE_BREAKDOWN_MESSAGES,
|
|
3220
3187
|
DATE_PICKER_MESSAGES,
|
|
3221
3188
|
LABEL_MESSAGES,
|
|
3222
|
-
CHECKOUT_SUMMARY_MESSAGES,
|
|
3223
3189
|
COMPOSER_PANEL_MESSAGES,
|
|
3224
3190
|
MESSAGE_BUBBLE_MESSAGES,
|
|
3225
3191
|
PAYMENT_STATUS_MESSAGES,
|
|
@@ -3291,7 +3257,6 @@ const translations: Translations = {
|
|
|
3291
3257
|
ZOOMABLE_MEDIA_GALLERY_MESSAGES,
|
|
3292
3258
|
NOTIFICATION_MESSAGES,
|
|
3293
3259
|
PHONE_INPUT_MESSAGES,
|
|
3294
|
-
VENDOR_CARD_MESSAGES,
|
|
3295
3260
|
CHAT_INDICATORS_MESSAGES,
|
|
3296
3261
|
MEDIA_CONTROLS_MESSAGES,
|
|
3297
3262
|
INPUT_OTP_MESSAGES,
|
|
@@ -3330,7 +3295,6 @@ const translations: Translations = {
|
|
|
3330
3295
|
SHARE_SHEET_MESSAGES,
|
|
3331
3296
|
WINDOW_MESSAGES,
|
|
3332
3297
|
CONNECTION_STATUS_MESSAGES,
|
|
3333
|
-
ORDER_CONFIRMATION_MESSAGES,
|
|
3334
3298
|
COMPOSITION_BAR_MESSAGES,
|
|
3335
3299
|
};
|
|
3336
3300
|
|
|
@@ -18,10 +18,6 @@ import {
|
|
|
18
18
|
} from '../../place-card/message-helpers';
|
|
19
19
|
import { countForms as rating_countForms } from '../../rating/message-helpers';
|
|
20
20
|
import { shapeNames as shapes_shapeNames } from '../../shapes/message-helpers';
|
|
21
|
-
import {
|
|
22
|
-
has as vendorCard_has,
|
|
23
|
-
counted as vendorCard_counted,
|
|
24
|
-
} from '../../vendor-card/message-helpers';
|
|
25
21
|
|
|
26
22
|
const CALL_UI_MESSAGES__CORNERS = {
|
|
27
23
|
'top-left': 'sol üst',
|
|
@@ -745,16 +741,6 @@ const DATE_PICKER_MESSAGES: Translations['DATE_PICKER_MESSAGES'] = {
|
|
|
745
741
|
|
|
746
742
|
const LABEL_MESSAGES: Translations['LABEL_MESSAGES'] = { required: 'zorunlu' };
|
|
747
743
|
|
|
748
|
-
const CHECKOUT_SUMMARY_MESSAGES: Translations['CHECKOUT_SUMMARY_MESSAGES'] = {
|
|
749
|
-
title: 'Siparişini gözden geçir',
|
|
750
|
-
orderSummary: 'Sipariş özeti',
|
|
751
|
-
deliverTo: 'Teslimat adresi',
|
|
752
|
-
notChosen: 'Henüz seçilmedi',
|
|
753
|
-
opensPicker: 'Seçiciyi açar',
|
|
754
|
-
placeOrder: 'Siparişi ver',
|
|
755
|
-
placingOrder: 'Siparişin veriliyor',
|
|
756
|
-
};
|
|
757
|
-
|
|
758
744
|
const EMPTY_STATE_MESSAGES: Translations['EMPTY_STATE_MESSAGES'] = {
|
|
759
745
|
suggestions: 'Öneriler',
|
|
760
746
|
};
|
|
@@ -2034,19 +2020,6 @@ const PHONE_INPUT_MESSAGES: Translations['PHONE_INPUT_MESSAGES'] = {
|
|
|
2034
2020
|
countryCode: 'Ülke kodu',
|
|
2035
2021
|
};
|
|
2036
2022
|
|
|
2037
|
-
const VENDOR_CARD_MESSAGES: Translations['VENDOR_CARD_MESSAGES'] = {
|
|
2038
|
-
facts: {
|
|
2039
|
-
deliveryTime: 'Teslimat süresi',
|
|
2040
|
-
deliveryFee: 'Teslimat',
|
|
2041
|
-
distance: 'Mesafe',
|
|
2042
|
-
minimumOrder: 'Minimum sipariş',
|
|
2043
|
-
},
|
|
2044
|
-
availability: { paused: 'Duraklatıldı', closed: 'Kapalı' },
|
|
2045
|
-
new: 'Yeni',
|
|
2046
|
-
rated: (value, reviews) =>
|
|
2047
|
-
`5 üzerinden ${value} puan${vendorCard_has(reviews) ? `, ${vendorCard_counted('tr', reviews, { other: '{n} değerlendirme' })}` : ''}`,
|
|
2048
|
-
};
|
|
2049
|
-
|
|
2050
2023
|
const CHAT_INDICATORS_MESSAGES: Translations['CHAT_INDICATORS_MESSAGES'] = {
|
|
2051
2024
|
presence: { online: 'Çevrimiçi', idle: 'Uzakta', offline: 'Çevrimdışı', busy: 'Meşgul' },
|
|
2052
2025
|
status: {
|
|
@@ -2753,12 +2726,6 @@ const CONNECTION_STATUS_MESSAGES: Translations['CONNECTION_STATUS_MESSAGES'] = {
|
|
|
2753
2726
|
restored: 'Yeniden çevrimiçi',
|
|
2754
2727
|
};
|
|
2755
2728
|
|
|
2756
|
-
const ORDER_CONFIRMATION_MESSAGES: Translations['ORDER_CONFIRMATION_MESSAGES'] = {
|
|
2757
|
-
title: 'Siparişiniz verildi',
|
|
2758
|
-
referenceLabel: 'Sipariş numarası',
|
|
2759
|
-
itemsLabel: 'Sipariş ettikleriniz',
|
|
2760
|
-
};
|
|
2761
|
-
|
|
2762
2729
|
const COMPOSITION_BAR_MESSAGES: Translations['COMPOSITION_BAR_MESSAGES'] = {
|
|
2763
2730
|
readout: (points, percent) => `${points} puan · ${percent}`,
|
|
2764
2731
|
};
|
|
@@ -2884,7 +2851,6 @@ const translations: Translations = {
|
|
|
2884
2851
|
PRICE_BREAKDOWN_MESSAGES,
|
|
2885
2852
|
DATE_PICKER_MESSAGES,
|
|
2886
2853
|
LABEL_MESSAGES,
|
|
2887
|
-
CHECKOUT_SUMMARY_MESSAGES,
|
|
2888
2854
|
COMPOSER_PANEL_MESSAGES,
|
|
2889
2855
|
MESSAGE_BUBBLE_MESSAGES,
|
|
2890
2856
|
PAYMENT_STATUS_MESSAGES,
|
|
@@ -2956,7 +2922,6 @@ const translations: Translations = {
|
|
|
2956
2922
|
ZOOMABLE_MEDIA_GALLERY_MESSAGES,
|
|
2957
2923
|
NOTIFICATION_MESSAGES,
|
|
2958
2924
|
PHONE_INPUT_MESSAGES,
|
|
2959
|
-
VENDOR_CARD_MESSAGES,
|
|
2960
2925
|
CHAT_INDICATORS_MESSAGES,
|
|
2961
2926
|
MEDIA_CONTROLS_MESSAGES,
|
|
2962
2927
|
INPUT_OTP_MESSAGES,
|
|
@@ -2995,7 +2960,6 @@ const translations: Translations = {
|
|
|
2995
2960
|
SHARE_SHEET_MESSAGES,
|
|
2996
2961
|
WINDOW_MESSAGES,
|
|
2997
2962
|
CONNECTION_STATUS_MESSAGES,
|
|
2998
|
-
ORDER_CONFIRMATION_MESSAGES,
|
|
2999
2963
|
COMPOSITION_BAR_MESSAGES,
|
|
3000
2964
|
};
|
|
3001
2965
|
|
|
@@ -37,7 +37,6 @@ import type { LISTING_DETAILS_MESSAGES } from '../../listing-details/messages';
|
|
|
37
37
|
import type { PRICE_BREAKDOWN_MESSAGES } from '../../price-breakdown/messages';
|
|
38
38
|
import type { DATE_PICKER_MESSAGES } from '../../date-picker/messages';
|
|
39
39
|
import type { LABEL_MESSAGES } from '../../label/messages';
|
|
40
|
-
import type { CHECKOUT_SUMMARY_MESSAGES } from '../../checkout-summary/messages';
|
|
41
40
|
import type { COMPOSER_PANEL_MESSAGES } from '../../composer-panel/messages';
|
|
42
41
|
import type { MESSAGE_BUBBLE_MESSAGES } from '../../message-bubble/messages';
|
|
43
42
|
import type { PAYMENT_STATUS_MESSAGES } from '../../payment-status/messages';
|
|
@@ -108,7 +107,6 @@ import type { SELECT_MESSAGES } from '../../select/messages';
|
|
|
108
107
|
import type { ZOOMABLE_MEDIA_GALLERY_MESSAGES } from '../../zoomable-media-gallery/messages';
|
|
109
108
|
import type { NOTIFICATION_MESSAGES } from '../../notification/messages';
|
|
110
109
|
import type { PHONE_INPUT_MESSAGES } from '../../phone-input/messages';
|
|
111
|
-
import type { VENDOR_CARD_MESSAGES } from '../../vendor-card/messages';
|
|
112
110
|
import type { CHAT_INDICATORS_MESSAGES } from '../../chat-indicators/messages';
|
|
113
111
|
import type { MEDIA_CONTROLS_MESSAGES } from '../../media-controls/messages';
|
|
114
112
|
import type { INPUT_OTP_MESSAGES } from '../../input-otp/messages';
|
|
@@ -146,7 +144,6 @@ import type { EMPTY_STATE_MESSAGES } from '../../empty-state/messages';
|
|
|
146
144
|
import type { SHARE_SHEET_MESSAGES } from '../../share-sheet/messages';
|
|
147
145
|
import type { WINDOW_MESSAGES } from '../../window/messages';
|
|
148
146
|
import type { CONNECTION_STATUS_MESSAGES } from '../../connection-status/messages';
|
|
149
|
-
import type { ORDER_CONFIRMATION_MESSAGES } from '../../order-confirmation/messages';
|
|
150
147
|
import type { COMPOSITION_BAR_MESSAGES } from '../../composition-bar/messages';
|
|
151
148
|
|
|
152
149
|
export interface Translations {
|
|
@@ -181,7 +178,6 @@ export interface Translations {
|
|
|
181
178
|
readonly PRICE_BREAKDOWN_MESSAGES: CatalogMessages<typeof PRICE_BREAKDOWN_MESSAGES>;
|
|
182
179
|
readonly DATE_PICKER_MESSAGES: CatalogMessages<typeof DATE_PICKER_MESSAGES>;
|
|
183
180
|
readonly LABEL_MESSAGES: CatalogMessages<typeof LABEL_MESSAGES>;
|
|
184
|
-
readonly CHECKOUT_SUMMARY_MESSAGES: CatalogMessages<typeof CHECKOUT_SUMMARY_MESSAGES>;
|
|
185
181
|
readonly COMPOSER_PANEL_MESSAGES: CatalogMessages<typeof COMPOSER_PANEL_MESSAGES>;
|
|
186
182
|
readonly MESSAGE_BUBBLE_MESSAGES: CatalogMessages<typeof MESSAGE_BUBBLE_MESSAGES>;
|
|
187
183
|
readonly PAYMENT_STATUS_MESSAGES: CatalogMessages<typeof PAYMENT_STATUS_MESSAGES>;
|
|
@@ -253,7 +249,6 @@ export interface Translations {
|
|
|
253
249
|
readonly ZOOMABLE_MEDIA_GALLERY_MESSAGES: CatalogMessages<typeof ZOOMABLE_MEDIA_GALLERY_MESSAGES>;
|
|
254
250
|
readonly NOTIFICATION_MESSAGES: CatalogMessages<typeof NOTIFICATION_MESSAGES>;
|
|
255
251
|
readonly PHONE_INPUT_MESSAGES: CatalogMessages<typeof PHONE_INPUT_MESSAGES>;
|
|
256
|
-
readonly VENDOR_CARD_MESSAGES: CatalogMessages<typeof VENDOR_CARD_MESSAGES>;
|
|
257
252
|
readonly CHAT_INDICATORS_MESSAGES: CatalogMessages<typeof CHAT_INDICATORS_MESSAGES>;
|
|
258
253
|
readonly MEDIA_CONTROLS_MESSAGES: CatalogMessages<typeof MEDIA_CONTROLS_MESSAGES>;
|
|
259
254
|
readonly INPUT_OTP_MESSAGES: CatalogMessages<typeof INPUT_OTP_MESSAGES>;
|
|
@@ -292,6 +287,5 @@ export interface Translations {
|
|
|
292
287
|
readonly SHARE_SHEET_MESSAGES: CatalogMessages<typeof SHARE_SHEET_MESSAGES>;
|
|
293
288
|
readonly WINDOW_MESSAGES: CatalogMessages<typeof WINDOW_MESSAGES>;
|
|
294
289
|
readonly CONNECTION_STATUS_MESSAGES: CatalogMessages<typeof CONNECTION_STATUS_MESSAGES>;
|
|
295
|
-
readonly ORDER_CONFIRMATION_MESSAGES: CatalogMessages<typeof ORDER_CONFIRMATION_MESSAGES>;
|
|
296
290
|
readonly COMPOSITION_BAR_MESSAGES: CatalogMessages<typeof COMPOSITION_BAR_MESSAGES>;
|
|
297
291
|
}
|
|
@@ -15,10 +15,6 @@ import {
|
|
|
15
15
|
} from '../../place-card/message-helpers';
|
|
16
16
|
import { countForms as rating_countForms } from '../../rating/message-helpers';
|
|
17
17
|
import { shapeNames as shapes_shapeNames } from '../../shapes/message-helpers';
|
|
18
|
-
import {
|
|
19
|
-
has as vendorCard_has,
|
|
20
|
-
counted as vendorCard_counted,
|
|
21
|
-
} from '../../vendor-card/message-helpers';
|
|
22
18
|
|
|
23
19
|
const CALL_UI_MESSAGES__CORNERS = {
|
|
24
20
|
'top-left': '左上角',
|
|
@@ -726,16 +722,6 @@ const DATE_PICKER_MESSAGES: Translations['DATE_PICKER_MESSAGES'] = {
|
|
|
726
722
|
|
|
727
723
|
const LABEL_MESSAGES: Translations['LABEL_MESSAGES'] = { required: '必填' };
|
|
728
724
|
|
|
729
|
-
const CHECKOUT_SUMMARY_MESSAGES: Translations['CHECKOUT_SUMMARY_MESSAGES'] = {
|
|
730
|
-
title: '核对订单',
|
|
731
|
-
orderSummary: '订单摘要',
|
|
732
|
-
deliverTo: '送至',
|
|
733
|
-
notChosen: '尚未选择',
|
|
734
|
-
opensPicker: '打开选择器',
|
|
735
|
-
placeOrder: '提交订单',
|
|
736
|
-
placingOrder: '正在提交订单',
|
|
737
|
-
};
|
|
738
|
-
|
|
739
725
|
const EMPTY_STATE_MESSAGES: Translations['EMPTY_STATE_MESSAGES'] = {
|
|
740
726
|
suggestions: '建议',
|
|
741
727
|
};
|
|
@@ -1963,19 +1949,6 @@ const PHONE_INPUT_MESSAGES: Translations['PHONE_INPUT_MESSAGES'] = {
|
|
|
1963
1949
|
countryCode: '国家/地区代码',
|
|
1964
1950
|
};
|
|
1965
1951
|
|
|
1966
|
-
const VENDOR_CARD_MESSAGES: Translations['VENDOR_CARD_MESSAGES'] = {
|
|
1967
|
-
facts: {
|
|
1968
|
-
deliveryTime: '配送时间',
|
|
1969
|
-
deliveryFee: '配送费',
|
|
1970
|
-
distance: '距离',
|
|
1971
|
-
minimumOrder: '起送价',
|
|
1972
|
-
},
|
|
1973
|
-
availability: { paused: '暂停营业', closed: '已打烊' },
|
|
1974
|
-
new: '新店',
|
|
1975
|
-
rated: (value, reviews) =>
|
|
1976
|
-
`评分 ${value}(满分 5 分)${vendorCard_has(reviews) ? `,${vendorCard_counted('zh', reviews, { other: '{n} 条评价' })}` : ''}`,
|
|
1977
|
-
};
|
|
1978
|
-
|
|
1979
1952
|
const CHAT_INDICATORS_MESSAGES: Translations['CHAT_INDICATORS_MESSAGES'] = {
|
|
1980
1953
|
presence: { online: '在线', idle: '离开', offline: '离线', busy: '忙碌' },
|
|
1981
1954
|
status: {
|
|
@@ -2661,12 +2634,6 @@ const CONNECTION_STATUS_MESSAGES: Translations['CONNECTION_STATUS_MESSAGES'] = {
|
|
|
2661
2634
|
restored: '已恢复联网',
|
|
2662
2635
|
};
|
|
2663
2636
|
|
|
2664
|
-
const ORDER_CONFIRMATION_MESSAGES: Translations['ORDER_CONFIRMATION_MESSAGES'] = {
|
|
2665
|
-
title: '订单已提交',
|
|
2666
|
-
referenceLabel: '订单号',
|
|
2667
|
-
itemsLabel: '您订购的商品',
|
|
2668
|
-
};
|
|
2669
|
-
|
|
2670
2637
|
const COMPOSITION_BAR_MESSAGES: Translations['COMPOSITION_BAR_MESSAGES'] = {
|
|
2671
2638
|
readout: (points, percent) => `${points} 分 · ${percent}`,
|
|
2672
2639
|
};
|
|
@@ -2791,7 +2758,6 @@ const translations: Translations = {
|
|
|
2791
2758
|
PRICE_BREAKDOWN_MESSAGES,
|
|
2792
2759
|
DATE_PICKER_MESSAGES,
|
|
2793
2760
|
LABEL_MESSAGES,
|
|
2794
|
-
CHECKOUT_SUMMARY_MESSAGES,
|
|
2795
2761
|
COMPOSER_PANEL_MESSAGES,
|
|
2796
2762
|
MESSAGE_BUBBLE_MESSAGES,
|
|
2797
2763
|
PAYMENT_STATUS_MESSAGES,
|
|
@@ -2863,7 +2829,6 @@ const translations: Translations = {
|
|
|
2863
2829
|
ZOOMABLE_MEDIA_GALLERY_MESSAGES,
|
|
2864
2830
|
NOTIFICATION_MESSAGES,
|
|
2865
2831
|
PHONE_INPUT_MESSAGES,
|
|
2866
|
-
VENDOR_CARD_MESSAGES,
|
|
2867
2832
|
CHAT_INDICATORS_MESSAGES,
|
|
2868
2833
|
MEDIA_CONTROLS_MESSAGES,
|
|
2869
2834
|
INPUT_OTP_MESSAGES,
|
|
@@ -2902,7 +2867,6 @@ const translations: Translations = {
|
|
|
2902
2867
|
SHARE_SHEET_MESSAGES,
|
|
2903
2868
|
WINDOW_MESSAGES,
|
|
2904
2869
|
CONNECTION_STATUS_MESSAGES,
|
|
2905
|
-
ORDER_CONFIRMATION_MESSAGES,
|
|
2906
2870
|
COMPOSITION_BAR_MESSAGES,
|
|
2907
2871
|
};
|
|
2908
2872
|
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: Checkout summary
|
|
3
|
-
description: Review and confirm — the rows a buyer checks before paying, each showing its chosen value and opening the thing that changes it, the totals from price-breakdown, and one confirm control that cannot place two orders.
|
|
4
|
-
order: 137
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Checkout summary
|
|
8
|
-
|
|
9
|
-
Between "I want this" and "it is ordered" there is one screen: where it goes, when, how
|
|
10
|
-
it is paid, what it costs, and the note to the seller. This family is that screen's body.
|
|
11
|
-
|
|
12
|
-
```tsx
|
|
13
|
-
import { CheckoutSummary } from '@oxy.so/bloom/checkout-summary';
|
|
14
|
-
|
|
15
|
-
<CheckoutSummary
|
|
16
|
-
address={{ title: 'Home', subtitle: 'Carrer de l’Om 14, 2nd floor', kind: 'saved', onPress: pickAddress }}
|
|
17
|
-
delivery={{ label: 'Delivery window', value: 'Friday 24, 17:00 – 19:00', onPress: pickWindow }}
|
|
18
|
-
payment={<PaymentMethodRow onPress={pickCard} />}
|
|
19
|
-
note={{ label: 'Note for the shop', placeholder: 'Add a note', onPress: editNote }}
|
|
20
|
-
price={{ lines, total: { label: 'Total', amount: '€49.62' } }}
|
|
21
|
-
confirm={{ amount: '€49.62', terms: 'By placing this order you agree to the shop’s terms.', busy, onConfirm: place }}
|
|
22
|
-
/>;
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
## The row is the summary AND the trigger
|
|
26
|
-
|
|
27
|
-
A label with a "Change" button beside it is two targets for one decision, and two screen
|
|
28
|
-
reader stops that do not mention each other. Here the whole row is the button: its name is
|
|
29
|
-
`"<label>: <value>"`, its hint is what pressing it opens, and the chevron is decoration.
|
|
30
|
-
A row with no `onPress` draws no chevron and is a static receipt line — which is what the
|
|
31
|
-
same component is after the order is placed.
|
|
32
|
-
|
|
33
|
-
**Known gap: the hint is NATIVE ONLY.** react-native-web has no `accessibilityHint` — not
|
|
34
|
-
a wrong mapping, no mapping at all — so on web the affordance is the `button` role and the
|
|
35
|
-
chevron, and the row says nothing about what pressing it opens. It is pinned in the suite
|
|
36
|
-
rather than hidden, and it is not swapped for an `aria-describedby` because native would
|
|
37
|
-
then announce the same sentence twice.
|
|
38
|
-
|
|
39
|
-
The row reads label-first and value-below (`caption-2-bold` uppercase over `body-medium`),
|
|
40
|
-
which is the other way round from `GroupedSectionItem`'s title-with-a-value-on-the-right.
|
|
41
|
-
The difference is length: a settings value is a word, and a checkout value is an address,
|
|
42
|
-
a two-hour window and a masked card number — none of which fits in the right half of a
|
|
43
|
-
390 row without truncating the thing the reader came to check.
|
|
44
|
-
|
|
45
|
-
## What this family does not own
|
|
46
|
-
|
|
47
|
-
- **The totals are `price-breakdown`'s `PriceSummary`**, passed straight through as
|
|
48
|
-
`price`. There is no second breakdown here and no arithmetic anywhere: every amount is
|
|
49
|
-
a string the app formatted, including the one on the confirm button.
|
|
50
|
-
- **The address row is `address`'s `AddressRow`.** It goes inside the summary row's value
|
|
51
|
-
column with `leading={null}` — the row already drew the gutter, which is the case
|
|
52
|
-
`AddressRow` documents — and with `Item`'s padding reset in the LONGHANDS `Item` itself
|
|
53
|
-
writes, so there is one row's chrome rather than two. (Overriding `paddingVertical`
|
|
54
|
-
with `paddingTop`/`paddingBottom` would have worked on native and been silently
|
|
55
|
-
dropped on web, where the atomic sheet ranks the shorthand higher whatever the array's
|
|
56
|
-
order.)
|
|
57
|
-
- **`payment` is a SLOT**, not data. The payment-method row is its own family; a
|
|
58
|
-
placeholder drawn here would be a second spelling of it. An app that has no such family
|
|
59
|
-
yet renders a `CheckoutSummaryRow` in the same register, which is what the stories do.
|
|
60
|
-
- **Tracking, afterwards, is `order-status`**, and the screen that says it worked is
|
|
61
|
-
`order-confirmation`.
|
|
62
|
-
|
|
63
|
-
## The group publishes its surface
|
|
64
|
-
|
|
65
|
-
The rows sit in a group one rung above whatever the summary was dropped on, and that rung
|
|
66
|
-
is PUBLISHED with `SurfaceLevelProvider`. Without it every row's glyph tile resolves one
|
|
67
|
-
step off the PAGE rather than one step off the group, and the tiles disappear into the
|
|
68
|
-
group on exactly the surfaces where a summary is most often put — a sheet, a panel, a
|
|
69
|
-
card.
|
|
70
|
-
|
|
71
|
-
## Two guards against a double order
|
|
72
|
-
|
|
73
|
-
`busy` is the app's: while the order is in flight the button spins, is renamed to
|
|
74
|
-
`busyLabel`, and drops every press. That is not enough on its own. A press calls
|
|
75
|
-
`onConfirm`, the app sets its state, and `busy` only arrives on the NEXT commit — the
|
|
76
|
-
second tap of a double-tap lands inside that window and places a second order. So
|
|
77
|
-
`CheckoutConfirm` also latches on its own press, synchronously, in a ref: React state
|
|
78
|
-
would not do, because two presses in one tick read the same render's value.
|
|
79
|
-
|
|
80
|
-
The latch clears on the first commit where `busy` is false again. An app that never sets
|
|
81
|
-
`busy` — a confirm that navigates away, a story — therefore gets exactly one press per
|
|
82
|
-
tick and is never wedged; an app that does sets the button inert for the whole flight.
|
|
83
|
-
|
|
84
|
-
## The amount is on the button
|
|
85
|
-
|
|
86
|
-
The number a press commits to and the press are one decision. A total elsewhere on the
|
|
87
|
-
screen and a button reading "Place order" are two, and the gap between them is where a
|
|
88
|
-
reader confirms a figure they last saw before a tip picker changed it. The separator is a
|
|
89
|
-
middle dot: "Place order - €49.62" reads as a subtraction at a glance in a row that is
|
|
90
|
-
otherwise full of money.
|
|
91
|
-
|
|
92
|
-
The button carries ONE amount — the one the charge is made in. A second currency is
|
|
93
|
-
`secondaryAmount` (`"≈ 49,62 €"`), pre-formatted like `amount` and drawn de-emphasised,
|
|
94
|
-
centred 8 under the button, above the terms.
|