@oxy.so/bloom 23.5.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 +22 -6
- 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/commonjs/subtle-hover/SubtleHover.js +94 -31
- package/lib/commonjs/subtle-hover/SubtleHover.js.map +1 -1
- package/lib/commonjs/subtle-hover/index.js +7 -0
- package/lib/commonjs/subtle-hover/index.js.map +1 -1
- package/lib/commonjs/subtle-hover/use-press-highlight.js +95 -0
- package/lib/commonjs/subtle-hover/use-press-highlight.js.map +1 -0
- 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/module/subtle-hover/SubtleHover.js +95 -32
- package/lib/module/subtle-hover/SubtleHover.js.map +1 -1
- package/lib/module/subtle-hover/index.js +1 -0
- package/lib/module/subtle-hover/index.js.map +1 -1
- package/lib/module/subtle-hover/use-press-highlight.js +92 -0
- package/lib/module/subtle-hover/use-press-highlight.js.map +1 -0
- 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/commonjs/subtle-hover/SubtleHover.d.ts +4 -1
- package/lib/typescript/commonjs/subtle-hover/SubtleHover.d.ts.map +1 -1
- package/lib/typescript/commonjs/subtle-hover/index.d.ts +1 -0
- package/lib/typescript/commonjs/subtle-hover/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/subtle-hover/types.d.ts +6 -0
- package/lib/typescript/commonjs/subtle-hover/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/subtle-hover/use-press-highlight.d.ts +42 -0
- package/lib/typescript/commonjs/subtle-hover/use-press-highlight.d.ts.map +1 -0
- 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/lib/typescript/module/subtle-hover/SubtleHover.d.ts +4 -1
- package/lib/typescript/module/subtle-hover/SubtleHover.d.ts.map +1 -1
- package/lib/typescript/module/subtle-hover/index.d.ts +1 -0
- package/lib/typescript/module/subtle-hover/index.d.ts.map +1 -1
- package/lib/typescript/module/subtle-hover/types.d.ts +6 -0
- package/lib/typescript/module/subtle-hover/types.d.ts.map +1 -1
- package/lib/typescript/module/subtle-hover/use-press-highlight.d.ts +42 -0
- package/lib/typescript/module/subtle-hover/use-press-highlight.d.ts.map +1 -0
- 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/src/subtle-hover/SubtleHover.tsx +33 -2
- package/src/subtle-hover/index.ts +5 -0
- package/src/subtle-hover/types.ts +6 -0
- package/src/subtle-hover/use-press-highlight.ts +93 -0
- 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
|
@@ -7,7 +7,7 @@ description: Every modifier of the Bloom language: its parameters and their toke
|
|
|
7
7
|
|
|
8
8
|
# Bloom language modifiers
|
|
9
9
|
|
|
10
|
-
Every modifier the language has (
|
|
10
|
+
Every modifier the language has (670). Each lists its parameters as the spec types them (a token set, an object of tokens, or a free value such as a string, a callback or a binding), its TypeScript signature where the package declares it, and which nodes take it. A token set links to its values in [the tokens reference](bloom-language-tokens.mdx). How modifiers combine (order is nesting, the environment, variants) is in [the tour](bloom-language-tour.mdx#modifiers-and-order).
|
|
11
11
|
|
|
12
12
|
## Universal modifiers
|
|
13
13
|
|
|
@@ -659,7 +659,7 @@ The side of the view it opens on, and its alignment along that side.
|
|
|
659
659
|
|
|
660
660
|
### `hoverGroup`
|
|
661
661
|
|
|
662
|
-
Web: the pointer over this view is what `group-hover:` styles inside it answer (Bloom `SubtleHover`).
|
|
662
|
+
Web: the pointer over this view is what `group-hover:` styles inside it answer (Bloom `SubtleHover`). Android and iOS: a press on the view lights it with Bloom's press highlight (`usePressHighlight`), Android's ripple or iOS's wash; a child that takes its own press, or a scroll, does not.
|
|
663
663
|
|
|
664
664
|
- Parameters: none
|
|
665
665
|
- Signature: `.hoverGroup()`
|
|
@@ -821,7 +821,7 @@ Disables the view and every control inside it (SwiftUI's `disabled`): a control
|
|
|
821
821
|
|
|
822
822
|
- Parameters: a value (optional)
|
|
823
823
|
- Signature: `.disabled(value?: boolean)`
|
|
824
|
-
- Taken by: every node (universal), and [stack](bloom-language-nodes.mdx#stack), [zstack](bloom-language-nodes.mdx#zstack), [button](bloom-language-nodes.mdx#button), [fab](bloom-language-nodes.mdx#fab), [menuItem](bloom-language-nodes.mdx#menuitem), [menuSubmenu](bloom-language-nodes.mdx#menusubmenu), [card](bloom-language-nodes.mdx#card), [row](bloom-language-nodes.mdx#row), [groupedSectionItem](bloom-language-nodes.mdx#groupedsectionitem), [chip](bloom-language-nodes.mdx#chip), [tabItem](bloom-language-nodes.mdx#tabitem), [textField](bloom-language-nodes.mdx#textfield), [textEditor](bloom-language-nodes.mdx#texteditor), [field](bloom-language-nodes.mdx#field), [label](bloom-language-nodes.mdx#label), [toggle](bloom-language-nodes.mdx#toggle), [checkbox](bloom-language-nodes.mdx#checkbox), [radioGroup](bloom-language-nodes.mdx#radiogroup), [segmented](bloom-language-nodes.mdx#segmented), [picker](bloom-language-nodes.mdx#picker), [option](bloom-language-nodes.mdx#option), [search](bloom-language-nodes.mdx#search), [chipRow](bloom-language-nodes.mdx#chiprow), [selectionCard](bloom-language-nodes.mdx#selectioncard), [treeItem](bloom-language-nodes.mdx#treeitem), [commandItem](bloom-language-nodes.mdx#commanditem), [settingsItem](bloom-language-nodes.mdx#settingsitem), [settingsSelect](bloom-language-nodes.mdx#settingsselect), [settingsTextField](bloom-language-nodes.mdx#settingstextfield), [datePicker](bloom-language-nodes.mdx#datepicker), [dateRangePicker](bloom-language-nodes.mdx#daterangepicker), [timeField](bloom-language-nodes.mdx#timefield), [ratingInput](bloom-language-nodes.mdx#ratinginput), [listItem](bloom-language-nodes.mdx#listitem), [mailRow](bloom-language-nodes.mdx#mailrow), [slider](bloom-language-nodes.mdx#slider), [rangeSlider](bloom-language-nodes.mdx#rangeslider), [accordionItem](bloom-language-nodes.mdx#accordionitem), [stepper](bloom-language-nodes.mdx#stepper), [stepperRow](bloom-language-nodes.mdx#stepperrow), [breadcrumbItem](bloom-language-nodes.mdx#breadcrumbitem), [tagField](bloom-language-nodes.mdx#tagfield), [fileUpload](bloom-language-nodes.mdx#fileupload), [inputOtp](bloom-language-nodes.mdx#inputotp), [colorSwatchPicker](bloom-language-nodes.mdx#colorswatchpicker), [contextMenu](bloom-language-nodes.mdx#contextmenu), [dropZone](bloom-language-nodes.mdx#dropzone), [sortablePhotoGrid](bloom-language-nodes.mdx#sortablephotogrid), [choiceList](bloom-language-nodes.mdx#choicelist), [hoverCard](bloom-language-nodes.mdx#hovercard), [menubarMenu](bloom-language-nodes.mdx#menubarmenu), [phoneInput](bloom-language-nodes.mdx#phoneinput), [inputGroup](bloom-language-nodes.mdx#inputgroup), [socialButton](bloom-language-nodes.mdx#socialbutton), [meetingScheduler](bloom-language-nodes.mdx#meetingscheduler), [dataTableFilter](bloom-language-nodes.mdx#datatablefilter), [dataTableSelect](bloom-language-nodes.mdx#datatableselect), [sortableChipRow](bloom-language-nodes.mdx#sortablechiprow), [chatComposer](bloom-language-nodes.mdx#chatcomposer), [compactComposer](bloom-language-nodes.mdx#compactcomposer), [composerIconButton](bloom-language-nodes.mdx#composericonbutton), [composerPanel](bloom-language-nodes.mdx#composerpanel), [composerPill](bloom-language-nodes.mdx#composerpill), [playButton](bloom-language-nodes.mdx#playbutton), [playbackProgress](bloom-language-nodes.mdx#playbackprogress), [mapSearchAreaButton](bloom-language-nodes.mdx#mapsearchareabutton), [cardForm](bloom-language-nodes.mdx#cardform), [cardFormCountry](bloom-language-nodes.mdx#cardformcountry), [cardFormPostcode](bloom-language-nodes.mdx#cardformpostcode), [cardFormHostedField](bloom-language-nodes.mdx#cardformhostedfield), [priceRangeFilter](bloom-language-nodes.mdx#pricerangefilter), [countFilter](bloom-language-nodes.mdx#countfilter), [toggleChipGroup](bloom-language-nodes.mdx#togglechipgroup), [amenityFilter](bloom-language-nodes.mdx#amenityfilter), [switchFilterRow](bloom-language-nodes.mdx#switchfilterrow), [filterTriggerButton](bloom-language-nodes.mdx#filtertriggerbutton), [areaRangeFilter](bloom-language-nodes.mdx#arearangefilter), [availabilityFilter](bloom-language-nodes.mdx#availabilityfilter), [featureFilter](bloom-language-nodes.mdx#featurefilter), [floorFilter](bloom-language-nodes.mdx#floorfilter), [placeList](bloom-language-nodes.mdx#placelist), [placePicker](bloom-language-nodes.mdx#placepicker), [mailRecipientField](bloom-language-nodes.mdx#mailrecipientfield), [noteEditorToolbar](bloom-language-nodes.mdx#noteeditortoolbar), [bookingCard](bloom-language-nodes.mdx#bookingcard), [bookingBar](bloom-language-nodes.mdx#bookingbar), [propertyTypePicker](bloom-language-nodes.mdx#propertytypepicker), [listingActionBar](bloom-language-nodes.mdx#listingactionbar), [propertyTypeSelector](bloom-language-nodes.mdx#propertytypeselector), [voiceControls](bloom-language-nodes.mdx#voicecontrols), [addressRow](bloom-language-nodes.mdx#addressrow), [paymentMethodRow](bloom-language-nodes.mdx#paymentmethodrow), [paymentMethodList](bloom-language-nodes.mdx#paymentmethodlist), [cartPromoField](bloom-language-nodes.mdx#cartpromofield), [cartTipPicker](bloom-language-nodes.mdx#carttippicker), [menuItemOptions](bloom-language-nodes.mdx#menuitemoptions), [trackMetadataForm](bloom-language-nodes.mdx#trackmetadataform), [artistChipsInput](bloom-language-nodes.mdx#artistchipsinput), [isrcField](bloom-language-nodes.mdx#isrcfield), [creditsEditor](bloom-language-nodes.mdx#creditseditor), [artworkUploader](bloom-language-nodes.mdx#artworkuploader), [
|
|
824
|
+
- Taken by: every node (universal), and [stack](bloom-language-nodes.mdx#stack), [zstack](bloom-language-nodes.mdx#zstack), [button](bloom-language-nodes.mdx#button), [fab](bloom-language-nodes.mdx#fab), [menuItem](bloom-language-nodes.mdx#menuitem), [menuSubmenu](bloom-language-nodes.mdx#menusubmenu), [card](bloom-language-nodes.mdx#card), [row](bloom-language-nodes.mdx#row), [groupedSectionItem](bloom-language-nodes.mdx#groupedsectionitem), [chip](bloom-language-nodes.mdx#chip), [tabItem](bloom-language-nodes.mdx#tabitem), [textField](bloom-language-nodes.mdx#textfield), [textEditor](bloom-language-nodes.mdx#texteditor), [field](bloom-language-nodes.mdx#field), [label](bloom-language-nodes.mdx#label), [toggle](bloom-language-nodes.mdx#toggle), [checkbox](bloom-language-nodes.mdx#checkbox), [radioGroup](bloom-language-nodes.mdx#radiogroup), [segmented](bloom-language-nodes.mdx#segmented), [picker](bloom-language-nodes.mdx#picker), [option](bloom-language-nodes.mdx#option), [search](bloom-language-nodes.mdx#search), [chipRow](bloom-language-nodes.mdx#chiprow), [selectionCard](bloom-language-nodes.mdx#selectioncard), [treeItem](bloom-language-nodes.mdx#treeitem), [commandItem](bloom-language-nodes.mdx#commanditem), [settingsItem](bloom-language-nodes.mdx#settingsitem), [settingsSelect](bloom-language-nodes.mdx#settingsselect), [settingsTextField](bloom-language-nodes.mdx#settingstextfield), [datePicker](bloom-language-nodes.mdx#datepicker), [dateRangePicker](bloom-language-nodes.mdx#daterangepicker), [timeField](bloom-language-nodes.mdx#timefield), [ratingInput](bloom-language-nodes.mdx#ratinginput), [listItem](bloom-language-nodes.mdx#listitem), [mailRow](bloom-language-nodes.mdx#mailrow), [slider](bloom-language-nodes.mdx#slider), [rangeSlider](bloom-language-nodes.mdx#rangeslider), [accordionItem](bloom-language-nodes.mdx#accordionitem), [stepper](bloom-language-nodes.mdx#stepper), [stepperRow](bloom-language-nodes.mdx#stepperrow), [breadcrumbItem](bloom-language-nodes.mdx#breadcrumbitem), [tagField](bloom-language-nodes.mdx#tagfield), [fileUpload](bloom-language-nodes.mdx#fileupload), [inputOtp](bloom-language-nodes.mdx#inputotp), [colorSwatchPicker](bloom-language-nodes.mdx#colorswatchpicker), [contextMenu](bloom-language-nodes.mdx#contextmenu), [dropZone](bloom-language-nodes.mdx#dropzone), [sortablePhotoGrid](bloom-language-nodes.mdx#sortablephotogrid), [choiceList](bloom-language-nodes.mdx#choicelist), [hoverCard](bloom-language-nodes.mdx#hovercard), [menubarMenu](bloom-language-nodes.mdx#menubarmenu), [phoneInput](bloom-language-nodes.mdx#phoneinput), [inputGroup](bloom-language-nodes.mdx#inputgroup), [socialButton](bloom-language-nodes.mdx#socialbutton), [meetingScheduler](bloom-language-nodes.mdx#meetingscheduler), [dataTableFilter](bloom-language-nodes.mdx#datatablefilter), [dataTableSelect](bloom-language-nodes.mdx#datatableselect), [sortableChipRow](bloom-language-nodes.mdx#sortablechiprow), [chatComposer](bloom-language-nodes.mdx#chatcomposer), [compactComposer](bloom-language-nodes.mdx#compactcomposer), [composerIconButton](bloom-language-nodes.mdx#composericonbutton), [composerPanel](bloom-language-nodes.mdx#composerpanel), [composerPill](bloom-language-nodes.mdx#composerpill), [playButton](bloom-language-nodes.mdx#playbutton), [playbackProgress](bloom-language-nodes.mdx#playbackprogress), [mapSearchAreaButton](bloom-language-nodes.mdx#mapsearchareabutton), [cardForm](bloom-language-nodes.mdx#cardform), [cardFormCountry](bloom-language-nodes.mdx#cardformcountry), [cardFormPostcode](bloom-language-nodes.mdx#cardformpostcode), [cardFormHostedField](bloom-language-nodes.mdx#cardformhostedfield), [priceRangeFilter](bloom-language-nodes.mdx#pricerangefilter), [countFilter](bloom-language-nodes.mdx#countfilter), [toggleChipGroup](bloom-language-nodes.mdx#togglechipgroup), [amenityFilter](bloom-language-nodes.mdx#amenityfilter), [switchFilterRow](bloom-language-nodes.mdx#switchfilterrow), [filterTriggerButton](bloom-language-nodes.mdx#filtertriggerbutton), [areaRangeFilter](bloom-language-nodes.mdx#arearangefilter), [availabilityFilter](bloom-language-nodes.mdx#availabilityfilter), [featureFilter](bloom-language-nodes.mdx#featurefilter), [floorFilter](bloom-language-nodes.mdx#floorfilter), [placeList](bloom-language-nodes.mdx#placelist), [placePicker](bloom-language-nodes.mdx#placepicker), [mailRecipientField](bloom-language-nodes.mdx#mailrecipientfield), [noteEditorToolbar](bloom-language-nodes.mdx#noteeditortoolbar), [bookingCard](bloom-language-nodes.mdx#bookingcard), [bookingBar](bloom-language-nodes.mdx#bookingbar), [propertyTypePicker](bloom-language-nodes.mdx#propertytypepicker), [listingActionBar](bloom-language-nodes.mdx#listingactionbar), [propertyTypeSelector](bloom-language-nodes.mdx#propertytypeselector), [voiceControls](bloom-language-nodes.mdx#voicecontrols), [addressRow](bloom-language-nodes.mdx#addressrow), [paymentMethodRow](bloom-language-nodes.mdx#paymentmethodrow), [paymentMethodList](bloom-language-nodes.mdx#paymentmethodlist), [cartPromoField](bloom-language-nodes.mdx#cartpromofield), [cartTipPicker](bloom-language-nodes.mdx#carttippicker), [menuItemOptions](bloom-language-nodes.mdx#menuitemoptions), [trackMetadataForm](bloom-language-nodes.mdx#trackmetadataform), [artistChipsInput](bloom-language-nodes.mdx#artistchipsinput), [isrcField](bloom-language-nodes.mdx#isrcfield), [creditsEditor](bloom-language-nodes.mdx#creditseditor), [artworkUploader](bloom-language-nodes.mdx#artworkuploader), [transportControls](bloom-language-nodes.mdx#transportcontrols), [playbackSpeedMenu](bloom-language-nodes.mdx#playbackspeedmenu), [sleepTimerMenu](bloom-language-nodes.mdx#sleeptimermenu), [rowActionButton](bloom-language-nodes.mdx#rowactionbutton)
|
|
825
825
|
|
|
826
826
|
### `loading`
|
|
827
827
|
|
|
@@ -829,7 +829,7 @@ Busy: the label gives way to Bloom's spinner and presses are ignored.
|
|
|
829
829
|
|
|
830
830
|
- Parameters: a value (optional)
|
|
831
831
|
- Signature: `.loading(value?: boolean)`
|
|
832
|
-
- Taken by: [button](bloom-language-nodes.mdx#button), [treeSection](bloom-language-nodes.mdx#treesection), [list](bloom-language-nodes.mdx#list), [suggestionList](bloom-language-nodes.mdx#suggestionlist), [playButton](bloom-language-nodes.mdx#playbutton), [followButton](bloom-language-nodes.mdx#followbutton), [filterFooter](bloom-language-nodes.mdx#filterfooter), [placeCard](bloom-language-nodes.mdx#placecard), [mailComposeSurface](bloom-language-nodes.mdx#mailcomposesurface), [bookingCard](bloom-language-nodes.mdx#bookingcard), [bookingBar](bloom-language-nodes.mdx#bookingbar), [listingActionBar](bloom-language-nodes.mdx#listingactionbar), [rentalActionCard](bloom-language-nodes.mdx#rentalactioncard), [saleActionCard](bloom-language-nodes.mdx#saleactioncard), [listingCard](bloom-language-nodes.mdx#listingcard), [noteCard](bloom-language-nodes.mdx#notecard), [addressList](bloom-language-nodes.mdx#addresslist), [paymentMethodList](bloom-language-nodes.mdx#paymentmethodlist), [
|
|
832
|
+
- Taken by: [button](bloom-language-nodes.mdx#button), [treeSection](bloom-language-nodes.mdx#treesection), [list](bloom-language-nodes.mdx#list), [suggestionList](bloom-language-nodes.mdx#suggestionlist), [playButton](bloom-language-nodes.mdx#playbutton), [followButton](bloom-language-nodes.mdx#followbutton), [filterFooter](bloom-language-nodes.mdx#filterfooter), [placeCard](bloom-language-nodes.mdx#placecard), [mailComposeSurface](bloom-language-nodes.mdx#mailcomposesurface), [bookingCard](bloom-language-nodes.mdx#bookingcard), [bookingBar](bloom-language-nodes.mdx#bookingbar), [listingActionBar](bloom-language-nodes.mdx#listingactionbar), [rentalActionCard](bloom-language-nodes.mdx#rentalactioncard), [saleActionCard](bloom-language-nodes.mdx#saleactioncard), [listingCard](bloom-language-nodes.mdx#listingcard), [noteCard](bloom-language-nodes.mdx#notecard), [addressList](bloom-language-nodes.mdx#addresslist), [paymentMethodList](bloom-language-nodes.mdx#paymentmethodlist), [mediaCard](bloom-language-nodes.mdx#mediacard), [songCard](bloom-language-nodes.mdx#songcard), [albumCard](bloom-language-nodes.mdx#albumcard), [artistCard](bloom-language-nodes.mdx#artistcard), [playlistCard](bloom-language-nodes.mdx#playlistcard), [mixCard](bloom-language-nodes.mdx#mixcard), [podcastCard](bloom-language-nodes.mdx#podcastcard), [episodeCard](bloom-language-nodes.mdx#episodecard), [audiobookCard](bloom-language-nodes.mdx#audiobookcard), [eventCard](bloom-language-nodes.mdx#eventcard), [profileCard](bloom-language-nodes.mdx#profilecard), [quickAccessTile](bloom-language-nodes.mdx#quickaccesstile), [transportControls](bloom-language-nodes.mdx#transportcontrols)
|
|
833
833
|
|
|
834
834
|
### `collapsed`
|
|
835
835
|
|
|
@@ -1645,7 +1645,7 @@ The control's geometry over the nearest Bloom scope's: `default` or `compact`.
|
|
|
1645
1645
|
|
|
1646
1646
|
- Parameters: `density`
|
|
1647
1647
|
- Signature: `.density(value: Density<'button'>)`
|
|
1648
|
-
- Taken by: [button](bloom-language-nodes.mdx#button), [row](bloom-language-nodes.mdx#row), [groupedSection](bloom-language-nodes.mdx#groupedsection), [selectionCard](bloom-language-nodes.mdx#selectioncard), [listItem](bloom-language-nodes.mdx#listitem), [mailRow](bloom-language-nodes.mdx#mailrow), [chatHeader](bloom-language-nodes.mdx#chatheader), [tenancyTimeline](bloom-language-nodes.mdx#tenancytimeline), [listingCard](bloom-language-nodes.mdx#listingcard), [listingCardGrid](bloom-language-nodes.mdx#listingcardgrid), [activityFeed](bloom-language-nodes.mdx#activityfeed), [orderStatusTimeline](bloom-language-nodes.mdx#orderstatustimeline), [calendarView](bloom-language-nodes.mdx#calendarview), [calendarViewMonthGrid](bloom-language-nodes.mdx#calendarviewmonthgrid), [routeStops](bloom-language-nodes.mdx#routestops), [addressRow](bloom-language-nodes.mdx#addressrow), [addressList](bloom-language-nodes.mdx#addresslist), [paymentMethodMark](bloom-language-nodes.mdx#paymentmethodmark), [paymentMethodRow](bloom-language-nodes.mdx#paymentmethodrow), [paymentMethodList](bloom-language-nodes.mdx#paymentmethodlist), [contactProfileCard](bloom-language-nodes.mdx#contactprofilecard), [cartLine](bloom-language-nodes.mdx#cartline), [cartPanel](bloom-language-nodes.mdx#cartpanel), [menuItemRow](bloom-language-nodes.mdx#menuitemrow), [
|
|
1648
|
+
- Taken by: [button](bloom-language-nodes.mdx#button), [row](bloom-language-nodes.mdx#row), [groupedSection](bloom-language-nodes.mdx#groupedsection), [selectionCard](bloom-language-nodes.mdx#selectioncard), [listItem](bloom-language-nodes.mdx#listitem), [mailRow](bloom-language-nodes.mdx#mailrow), [chatHeader](bloom-language-nodes.mdx#chatheader), [tenancyTimeline](bloom-language-nodes.mdx#tenancytimeline), [listingCard](bloom-language-nodes.mdx#listingcard), [listingCardGrid](bloom-language-nodes.mdx#listingcardgrid), [activityFeed](bloom-language-nodes.mdx#activityfeed), [orderStatusTimeline](bloom-language-nodes.mdx#orderstatustimeline), [calendarView](bloom-language-nodes.mdx#calendarview), [calendarViewMonthGrid](bloom-language-nodes.mdx#calendarviewmonthgrid), [routeStops](bloom-language-nodes.mdx#routestops), [addressRow](bloom-language-nodes.mdx#addressrow), [addressList](bloom-language-nodes.mdx#addresslist), [paymentMethodMark](bloom-language-nodes.mdx#paymentmethodmark), [paymentMethodRow](bloom-language-nodes.mdx#paymentmethodrow), [paymentMethodList](bloom-language-nodes.mdx#paymentmethodlist), [contactProfileCard](bloom-language-nodes.mdx#contactprofilecard), [cartLine](bloom-language-nodes.mdx#cartline), [cartPanel](bloom-language-nodes.mdx#cartpanel), [menuItemRow](bloom-language-nodes.mdx#menuitemrow), [trackList](bloom-language-nodes.mdx#tracklist), [trackListHeader](bloom-language-nodes.mdx#tracklistheader), [trackRow](bloom-language-nodes.mdx#trackrow), [trackRowSkeleton](bloom-language-nodes.mdx#trackrowskeleton)
|
|
1649
1649
|
|
|
1650
1650
|
### `dividers`
|
|
1651
1651
|
|
|
@@ -3708,6 +3708,22 @@ The engine's first estimate of a row's height, in px.
|
|
|
3708
3708
|
- Signature: `.estimatedItemSize(value: number)`
|
|
3709
3709
|
- Taken by: [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
3710
3710
|
|
|
3711
|
+
### `itemLayout`
|
|
3712
|
+
|
|
3713
|
+
How many of the columns an item takes: the function sets `layout.span` (Bloom's `overrideItemLayout`; 1 by default), so a full-width row sits in the grid. FlashList and the web; the `FlatList` fallback gives every item one column.
|
|
3714
|
+
|
|
3715
|
+
- Parameters: a value
|
|
3716
|
+
- Signature: `.itemLayout(value: VirtualListItemLayout<T>)`
|
|
3717
|
+
- Taken by: [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
3718
|
+
|
|
3719
|
+
### `headerFitsContent`
|
|
3720
|
+
|
|
3721
|
+
The header is its content's height and the list's width: its container neither grows nor shrinks and stretches across (`ListHeaderComponentStyle`'s `flexGrow: 0, flexShrink: 0, alignSelf: 'stretch'`), so the engine never stretches it to the viewport and the row after it (a sticky one) starts under it.
|
|
3722
|
+
|
|
3723
|
+
- Parameters: none
|
|
3724
|
+
- Signature: `.headerFitsContent()`
|
|
3725
|
+
- Taken by: [virtualList](bloom-language-nodes.mdx#virtuallist)
|
|
3726
|
+
|
|
3711
3727
|
### `stickyIndices`
|
|
3712
3728
|
|
|
3713
3729
|
The indices whose rows stick to the top.
|
|
@@ -5138,7 +5154,7 @@ Text over several lines, the field growing with it (React Native's `multiline`).
|
|
|
5138
5154
|
|
|
5139
5155
|
- Parameters: a value
|
|
5140
5156
|
- Signature: `.favorite(value: Bound<PlaceCardProps, 'favorite'>)`
|
|
5141
|
-
- Taken by: [placeCard](bloom-language-nodes.mdx#placecard), [listingCard](bloom-language-nodes.mdx#listingcard)
|
|
5157
|
+
- Taken by: [placeCard](bloom-language-nodes.mdx#placecard), [listingCard](bloom-language-nodes.mdx#listingcard)
|
|
5142
5158
|
|
|
5143
5159
|
### `starred`
|
|
5144
5160
|
|
|
@@ -7,7 +7,7 @@ description: Every node of the Bloom language: its constructors, the token sets
|
|
|
7
7
|
|
|
8
8
|
# Bloom language nodes
|
|
9
9
|
|
|
10
|
-
Every node kind the language has (
|
|
10
|
+
Every node kind the language has (500), in the spec's order: the constructors that make it, the token sets its `.size()`, `.tint()`, `.style()`, `.shape()` and `.density()` read, and the modifiers it takes beyond the universal ones. Unless a node says otherwise it also takes every universal modifier ([`.padding()`](bloom-language-modifiers.mdx#padding), [`.background()`](bloom-language-modifiers.mdx#background), [`.onPress()`](bloom-language-modifiers.mdx#onpress)…; the list is in [the modifiers reference](bloom-language-modifiers.mdx#universal-modifiers)).
|
|
11
11
|
|
|
12
12
|
This page is generated from `packages/bloom-language/spec/language.json` and the package's types, the same spec the compiler checks a chain against, so what it lists is exactly what builds. For how to use them, read [the tour](bloom-language-tour.mdx).
|
|
13
13
|
|
|
@@ -452,7 +452,6 @@ This page is generated from `packages/bloom-language/spec/language.json` and the
|
|
|
452
452
|
| [cartTipPicker](#carttippicker) | `CartTipPicker` |
|
|
453
453
|
| [menuItemRow](#menuitemrow) | `MenuItemRow` |
|
|
454
454
|
| [menuItemOptions](#menuitemoptions) | `MenuItemOptions` |
|
|
455
|
-
| [vendorCard](#vendorcard) | `VendorCard` |
|
|
456
455
|
| [mediaCard](#mediacard) | `MediaCard` |
|
|
457
456
|
| [songCard](#songcard) | `SongCard` |
|
|
458
457
|
| [albumCard](#albumcard) | `AlbumCard` |
|
|
@@ -486,10 +485,6 @@ This page is generated from `packages/bloom-language/spec/language.json` and the
|
|
|
486
485
|
| [artworkUploader](#artworkuploader) | `ArtworkUploader` |
|
|
487
486
|
| [payoutSummaryCard](#payoutsummarycard) | `PayoutSummaryCard` |
|
|
488
487
|
| [pitchCard](#pitchcard) | `PitchCard` |
|
|
489
|
-
| [checkoutSummaryRow](#checkoutsummaryrow) | `CheckoutSummaryRow` |
|
|
490
|
-
| [checkoutSummary](#checkoutsummary) | `CheckoutSummary` |
|
|
491
|
-
| [checkoutConfirm](#checkoutconfirm) | `CheckoutConfirm` |
|
|
492
|
-
| [orderConfirmation](#orderconfirmation) | `OrderConfirmation` |
|
|
493
488
|
| [transportControls](#transportcontrols) | `TransportControls` |
|
|
494
489
|
| [nowPlayingBar](#nowplayingbar) | `NowPlayingBar` |
|
|
495
490
|
| [miniPlayer](#miniplayer) | `MiniPlayer` |
|
|
@@ -2694,11 +2689,13 @@ Modifiers:
|
|
|
2694
2689
|
- [`.itemType()`](bloom-language-modifiers.mdx#itemtype) `(value: (item: T, index: number) => string | number | undefined)`: Each item's recycling type (FlashList's `getItemType`).
|
|
2695
2690
|
- [`.estimatedItemSize()`](bloom-language-modifiers.mdx#estimateditemsize) `(value: number)`: The engine's first estimate of a row's height, in px.
|
|
2696
2691
|
- [`.columns()`](bloom-language-modifiers.mdx#columns) `(value: number)`: Items per row.
|
|
2692
|
+
- [`.itemLayout()`](bloom-language-modifiers.mdx#itemlayout) `(value: VirtualListItemLayout<T>)`: How many of the columns an item takes: the function sets `layout.span` (Bloom's `overrideItemLayout`; 1 by default), so a full-width row sits in the grid. FlashList and the web; the `FlatList` fallback gives every item one column.
|
|
2697
2693
|
- [`.onEndReached()`](bloom-language-modifiers.mdx#onendreached) `(action: () => void, threshold?: number)`: Called near the end, `threshold` viewports from it.
|
|
2698
2694
|
- [`.refreshable()`](bloom-language-modifiers.mdx#refreshable) `(value: Refresh)` (here: a value): Pull to refresh: a binding a pull writes `true` (the app writes `false` when done), or `{ refreshing, onRefresh }`, a refreshing value and the action a pull runs (a query's `isRefetching` and `refetch`).
|
|
2699
2695
|
- [`.stickyIndices()`](bloom-language-modifiers.mdx#stickyindices) `(value: readonly number[])`: The indices whose rows stick to the top.
|
|
2700
2696
|
- [`.restorationKey()`](bloom-language-modifiers.mdx#restorationkey) `(value: string)`: Where its scroll position is kept across visits.
|
|
2701
2697
|
- [`.headerContent()`](bloom-language-modifiers.mdx#headercontent) `(value: Child)`
|
|
2698
|
+
- [`.headerFitsContent()`](bloom-language-modifiers.mdx#headerfitscontent) `()`: The header is its content's height and the list's width: its container neither grows nor shrinks and stretches across (`ListHeaderComponentStyle`'s `flexGrow: 0, flexShrink: 0, alignSelf: 'stretch'`), so the engine never stretches it to the viewport and the row after it (a sticky one) starts under it.
|
|
2702
2699
|
- [`.footerContent()`](bloom-language-modifiers.mdx#footercontent) `(value: Child)`
|
|
2703
2700
|
- [`.emptyState()`](bloom-language-modifiers.mdx#emptystate) `(value: Child)`
|
|
2704
2701
|
- [`.tuning()`](bloom-language-modifiers.mdx#tuning) `(value: VirtualListTuning)`: The engine's tuning knobs, honoured by the engine that knows them.
|
|
@@ -6385,22 +6382,6 @@ Modifiers:
|
|
|
6385
6382
|
|
|
6386
6383
|
And every universal modifier.
|
|
6387
6384
|
|
|
6388
|
-
### `vendorCard`
|
|
6389
|
-
|
|
6390
|
-
- `VendorCard(name: string, options: VendorCardOptions = {})`
|
|
6391
|
-
|
|
6392
|
-
Token sets:
|
|
6393
|
-
|
|
6394
|
-
- `.density()`: `'comfortable'`, `'compact'`
|
|
6395
|
-
|
|
6396
|
-
Modifiers:
|
|
6397
|
-
|
|
6398
|
-
- [`.density()`](bloom-language-modifiers.mdx#density) `(value: Density<'vendorCard'>)`: `comfortable` or `compact`.
|
|
6399
|
-
- [`.loading()`](bloom-language-modifiers.mdx#loading) `(value?: boolean)`: Its placeholder, while the vendor loads.
|
|
6400
|
-
- [`.favorite()`](bloom-language-modifiers.mdx#favorite) `(value: Bound<VendorCardProps, 'favorite'>)`
|
|
6401
|
-
|
|
6402
|
-
And every universal modifier.
|
|
6403
|
-
|
|
6404
6385
|
### `mediaCard`
|
|
6405
6386
|
|
|
6406
6387
|
- `MediaCard(title: string, options: MediaCardOptions = {})`
|
|
@@ -6776,42 +6757,6 @@ Modifiers:
|
|
|
6776
6757
|
|
|
6777
6758
|
And every universal modifier.
|
|
6778
6759
|
|
|
6779
|
-
### `checkoutSummaryRow`
|
|
6780
|
-
|
|
6781
|
-
- `CheckoutSummaryRow(label: string, options: CheckoutSummaryRowOptions = {})`
|
|
6782
|
-
|
|
6783
|
-
Takes the universal modifiers.
|
|
6784
|
-
|
|
6785
|
-
### `checkoutSummary`
|
|
6786
|
-
|
|
6787
|
-
- `CheckoutSummary(content?: Child, options: CheckoutSummaryOptions = {})`: Bloom `CheckoutSummary`; `content` is what it holds beyond its rows (Bloom's children).
|
|
6788
|
-
|
|
6789
|
-
Takes the universal modifiers.
|
|
6790
|
-
|
|
6791
|
-
### `checkoutConfirm`
|
|
6792
|
-
|
|
6793
|
-
- `CheckoutConfirm(options: CheckoutConfirmOptions = {})`
|
|
6794
|
-
|
|
6795
|
-
Modifiers:
|
|
6796
|
-
|
|
6797
|
-
- [`.loading()`](bloom-language-modifiers.mdx#loading) `(value?: boolean)`: The order is being placed (Bloom's `busy`).
|
|
6798
|
-
|
|
6799
|
-
And every universal modifier.
|
|
6800
|
-
|
|
6801
|
-
### `orderConfirmation`
|
|
6802
|
-
|
|
6803
|
-
- `OrderConfirmation(options: OrderConfirmationOptions = {})`
|
|
6804
|
-
|
|
6805
|
-
Token sets:
|
|
6806
|
-
|
|
6807
|
-
- `.density()`: `'comfortable'`, `'compact'`
|
|
6808
|
-
|
|
6809
|
-
Modifiers:
|
|
6810
|
-
|
|
6811
|
-
- [`.density()`](bloom-language-modifiers.mdx#density) `(value: Density<'orderConfirmation'>)`: `comfortable` or `compact` (Bloom's `variant`).
|
|
6812
|
-
|
|
6813
|
-
And every universal modifier.
|
|
6814
|
-
|
|
6815
6760
|
### `transportControls`
|
|
6816
6761
|
|
|
6817
6762
|
- `TransportControls(playing: boolean, options: TransportControlsOptions)`
|
package/docs/bloom-language.mdx
CHANGED
|
@@ -2716,9 +2716,14 @@ render would redraw every memoised row. It takes `.contentMargins(edge?, space)`
|
|
|
2716
2716
|
scroll of the language's takes them (`paddingHorizontal: 16, gap: 8` is
|
|
2717
2717
|
`.contentMargins('horizontal', 'lg').spacing('sm')`; the room for views pinned
|
|
2718
2718
|
at its edges adds to that padding), `.itemKey()`, `.itemType()` (FlashList's recycling type),
|
|
2719
|
-
`.estimatedItemSize(px)`, `.columns()`, `.
|
|
2719
|
+
`.estimatedItemSize(px)`, `.columns()`, `.itemLayout(fn)` (Bloom's `overrideItemLayout`:
|
|
2720
|
+
`fn(layout, item, index, columns)` sets `layout.span`, so a full-width row sits in a grid of
|
|
2721
|
+
columns), `.onEndReached(action, threshold?)`,
|
|
2720
2722
|
`.refreshable([refreshing, setRefreshing])` or `.refreshable({ refreshing, onRefresh })`, `.stickyIndices()`,
|
|
2721
|
-
`.restorationKey()`, `.headerContent()`, `.
|
|
2723
|
+
`.restorationKey()`, `.headerContent()`, `.headerFitsContent()` (the header is its content's
|
|
2724
|
+
height and the list's width, `ListHeaderComponentStyle`'s `flexGrow: 0, flexShrink: 0,
|
|
2725
|
+
alignSelf: 'stretch'`, so the engine never stretches it to the viewport and a sticky row after it
|
|
2726
|
+
starts under it), `.footerContent()`, `.emptyState()`,
|
|
2722
2727
|
`.screen(options?)` (Bloom's `screen`, `{}` by default: the list is its screen's
|
|
2723
2728
|
scroller, binding the header's fade, the bottom bar's fold, the reselect and the
|
|
2724
2729
|
insets, without a `ScrollView` around it; it must be inside a screen),
|
|
@@ -4276,14 +4281,13 @@ line's tone. Bloom's `payment-status`: `PaymentStatusBar(state, options?)`
|
|
|
4276
4281
|
`actions` and `illustration` children; `illustration: null` draws no glyph
|
|
4277
4282
|
tile), each `.style('surface' | 'plain')`.
|
|
4278
4283
|
|
|
4279
|
-
### Cart
|
|
4284
|
+
### Cart and menu items
|
|
4280
4285
|
|
|
4281
4286
|
```ts
|
|
4282
4287
|
CartPanel(vendor.name, basket.lines, { summary, onCheckout }).tip([tip, setTip], TIPS, { label: 'Tip' }).promo([code, setCode], { onApply: apply }).density('compact')
|
|
4283
4288
|
CartPromoField([code, setCode], { onApply: apply, applied: basket.promo })
|
|
4284
4289
|
CartTipPicker([tip, setTip], TIPS, { label: 'Tip' })
|
|
4285
4290
|
MenuItemRow(dish.name, { price: dish.price, diets: dish.diets, onAdd: add }).onPress(open)
|
|
4286
|
-
VendorCard(shop.name, { cuisines, rating, deliveryTime }).density('compact').onPress(open)
|
|
4287
4291
|
```
|
|
4288
4292
|
|
|
4289
4293
|
Bloom's `cart-panel`: `CartLine(name, options)` (its price, quantity and
|
|
@@ -4301,34 +4305,10 @@ options)` (its price, photo, diets, heat, quantity and handlers) and
|
|
|
4301
4305
|
`MenuItemOptions(groups, options)` (the choices made are `.value([chosen,
|
|
4302
4306
|
setChosen])`, every group's in one record, which Bloom requires: a group's new
|
|
4303
4307
|
choice writes the record with it; its `header` a child).
|
|
4304
|
-
Bloom's `vendor-card`: `VendorCard(name, options?)`.
|
|
4305
4308
|
|
|
4306
|
-
- `.density('comfortable' | 'compact')` on a cart line, the cart
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
- A menu row and a vendor card take `.onPress()` themselves. A vendor card's
|
|
4310
|
-
promo tone keeps Bloom's name (`promoTone`) in its options.
|
|
4311
|
-
|
|
4312
|
-
### Checkout summary and order confirmation
|
|
4313
|
-
|
|
4314
|
-
```ts
|
|
4315
|
-
CheckoutSummary(undefined, { address, delivery, payment: PaymentMethodRow(card), price, confirm })
|
|
4316
|
-
CheckoutConfirm({ label: 'Place order', amount, onConfirm: place }).loading(placing)
|
|
4317
|
-
OrderConfirmation({ reference, status, address, items: Text(summary) }).density('compact')
|
|
4318
|
-
```
|
|
4319
|
-
|
|
4320
|
-
Bloom's `checkout-summary`: `CheckoutSummaryRow(label, options?)` (its
|
|
4321
|
-
`content`, `leading` and `badge` children; it takes `.onPress()` itself),
|
|
4322
|
-
`CheckoutSummary(content?, options?)` (its address, delivery, note, extras,
|
|
4323
|
-
price and confirm are Bloom's data, its `payment` a child, its content what
|
|
4324
|
-
it holds beyond the rows) and `CheckoutConfirm(options?)` (its `terms` and
|
|
4325
|
-
`footer` children; `.loading()` is Bloom's `busy`). Bloom's `order-confirmation`:
|
|
4326
|
-
`OrderConfirmation(options?)` (its `mark`, `items` and `footer` children, its
|
|
4327
|
-
`markSize` a space token; its status, address, facts and actions Bloom's
|
|
4328
|
-
data).
|
|
4329
|
-
|
|
4330
|
-
- `.disabled()` on the rows and the confirm; `.loading()` on the confirm; a
|
|
4331
|
-
confirmation's `.density()` is Bloom's comfortable or compact `variant`.
|
|
4309
|
+
- `.density('comfortable' | 'compact')` on a cart line, the cart and a menu
|
|
4310
|
+
row; `.disabled()` on the promo field, the tip picker and the options.
|
|
4311
|
+
- A menu row takes `.onPress()` itself.
|
|
4332
4312
|
|
|
4333
4313
|
### Media cards
|
|
4334
4314
|
|
|
@@ -5464,8 +5444,7 @@ with its reason. Nothing else is missing.
|
|
|
5464
5444
|
and the month calendar; and the action bar's orientation, tone and zero
|
|
5465
5445
|
counts Mention sets. Wave 7, the families no app imports yet: commerce
|
|
5466
5446
|
(addresses, payment methods, the price summary, payment status, the cart,
|
|
5467
|
-
menu items
|
|
5468
|
-
confirmation); music (the
|
|
5447
|
+
menu items); music (the
|
|
5469
5448
|
media cards, lyrics, the media player, the creator studio, the music
|
|
5470
5449
|
library, the queue panel, the track list); CRM (`ContactProfileCard`,
|
|
5471
5450
|
`LeadScoreCard`, the pipeline); the dashboard cards
|
|
@@ -5473,10 +5452,10 @@ with its reason. Nothing else is missing.
|
|
|
5473
5452
|
`RouteStops`, `NoteCard`, `ShareSheet`. **Decided:** colours that come
|
|
5474
5453
|
with an item of the data (a reply preview's inside a message bubble's
|
|
5475
5454
|
data, a lyrics view's or a player's `artworkColor`, a swipe row's `paint`,
|
|
5476
|
-
an alert's tone, a CRM card's accents
|
|
5455
|
+
an alert's tone, a CRM card's accents) stay
|
|
5477
5456
|
in that item, as Bloom takes them, since they belong to the item, not to
|
|
5478
|
-
the view; content Bloom takes inside its data (a price line's `info
|
|
5479
|
-
|
|
5457
|
+
the view; content Bloom takes inside its data (a price line's `info`) stays
|
|
5458
|
+
data, not language
|
|
5480
5459
|
children, for the same reason.
|
|
5481
5460
|
- **Parity.** Every family above is compared against hand-written Bloom in
|
|
5482
5461
|
the Jest suites, native and web, and in Chrome, light and dark, an
|
package/docs/empty-state.mdx
CHANGED
|
@@ -82,9 +82,8 @@ button — a link, a note — goes in `footer`, under them.
|
|
|
82
82
|
|
|
83
83
|
`children` is the third slot, between the explanation and the actions. It is stretched to
|
|
84
84
|
the block's full width and left to lay itself out, because what goes there is a strip, a
|
|
85
|
-
fact box or a list rather than centred text
|
|
86
|
-
|
|
87
|
-
reason for existing.
|
|
85
|
+
fact box or a list rather than centred text: a "done" screen is the same object as a
|
|
86
|
+
"nothing here" screen with a different reason for existing.
|
|
88
87
|
|
|
89
88
|
## Control scope
|
|
90
89
|
|
package/docs/icons.mdx
CHANGED
|
@@ -63,7 +63,7 @@ imports on their individual `icons/Ri…` or `icons/Si…` subpaths.
|
|
|
63
63
|
|
|
64
64
|
### Social and attachment glyphs
|
|
65
65
|
|
|
66
|
-
The social glyphs use the same
|
|
66
|
+
The social glyphs use the same renderer, sizing and state colour contract
|
|
67
67
|
as the general icon catalogue. Each has its own import path:
|
|
68
68
|
|
|
69
69
|
```tsx
|
|
@@ -133,6 +133,34 @@ Colour travels on `fill` and size on `size` (the `xs`…`xl` rung, or `width` /
|
|
|
133
133
|
label has to be told both — an icon that "looks black in dark mode" is almost
|
|
134
134
|
always one that was never given a `fill`.
|
|
135
135
|
|
|
136
|
+
## How an icon draws
|
|
137
|
+
|
|
138
|
+
The component API is the same on every platform; what draws it is not.
|
|
139
|
+
|
|
140
|
+
- **Web:** inline SVG, as before. A browser draws it for nothing extra.
|
|
141
|
+
- **Android:** ONE native view per icon (`BloomIconV1`, `android/…/icons/BloomIcon.kt`).
|
|
142
|
+
It rasterises a glyph once per size and paint for the whole process and draws that
|
|
143
|
+
shared bitmap on its hardware canvas. react-native-svg mounted three views per icon
|
|
144
|
+
(the `SvgView`, a group and the path) and rasterised every icon again, in software on
|
|
145
|
+
the UI thread, each time it drew; on a Pixel 8a an opened Mention post created 130 of
|
|
146
|
+
its 285 native views for 43 icons, and `SvgView.onDraw` was about 30% of the draw phase.
|
|
147
|
+
The raster is react-native-svg's own rather than a hardware `drawPath` because the
|
|
148
|
+
GPU's anti-aliasing is not the CPU rasteriser's: hardware paths differed at the edge
|
|
149
|
+
of every glyph, by up to 131 of 255 levels.
|
|
150
|
+
- **iOS, and a binary without the view** (a JavaScript-only update on an older build,
|
|
151
|
+
Expo Go): react-native-svg, as before. The icon looks for the native view once
|
|
152
|
+
(`UIManager.hasViewManagerConfig`) and falls back without it.
|
|
153
|
+
|
|
154
|
+
The native view draws what react-native-svg drew, step for step, and the pixels match
|
|
155
|
+
(every glyph at 16, 20 and 24dp, compared on a Pixel 8a): the same path parser
|
|
156
|
+
(copied from react-native-svg), the same `xMidYMid meet` viewBox transform, the even-odd
|
|
157
|
+
fill rule, the paint flags, the stroke, and the `gradient` tokens. The paint resolves as
|
|
158
|
+
it always did (`fill`, else `style.color`, else the theme's primary; `currentColor` is
|
|
159
|
+
the `color` prop or `style.color`, black without either). Every View prop applies
|
|
160
|
+
(layout style, `opacity`, accessibility, `testID`, `onLayout`). SVG paint props no Bloom
|
|
161
|
+
icon is drawn with — `fillOpacity`, `strokeDasharray`, an SVG `transform` — are not drawn
|
|
162
|
+
by the native view.
|
|
163
|
+
|
|
136
164
|
## `BloomIconComponent` — the type of an icon you hand to a component
|
|
137
165
|
|
|
138
166
|
Most Bloom components that take an icon take the COMPONENT, not an element, so
|
package/docs/public-parts.mdx
CHANGED
|
@@ -8,7 +8,7 @@ order: 4
|
|
|
8
8
|
|
|
9
9
|
# Public React part census
|
|
10
10
|
|
|
11
|
-
The TypeScript checker resolves **
|
|
11
|
+
The TypeScript checker resolves **1447 React part-contract identities** through **925 native** and **925 web** package entrypoints. Aliases/namespaces and wildcard subpaths are retained below; platform implementations with the same normalized source path and symbol share one contract identity, even when their implementations differ. A family count or a hook import cannot establish part adoption.
|
|
12
12
|
|
|
13
13
|
The generator follows exported value symbols, star exports, namespace exports, default exports, callable static members, object-valued parts, memo/forwardRef/factory and class signatures. Cycles terminate by symbol and type; real aliases share identity while inline members retain their lexical owner. External part declarations retain their package provenance and do not establish a Bloom-owned implementation. React-callable exports with component names (including default/underscore names), exotic markers or element-return signatures are component candidates; lower-case aliases retain their resolved identity; ambiguous any/unknown values fail the unresolved-symbol gate. Type-only exports and lower-case scalar-return hooks/utilities are not components. Size vocabularies come from resolved prop types, including aliases, unions and subsets—not spelling patterns.
|
|
14
14
|
|
|
@@ -34,7 +34,7 @@ Classification is an explicit equality-checked ledger keyed by part-contract ide
|
|
|
34
34
|
| connection-dots-art | independent-scale | 1 | ConnectionDots is a relationship illustration, not a control. dotSize and dotCount are explicit artwork dimensions, so the row and dots do not consume BloomScope control size. The left/right endpoints are rendered as supplied and preserve caller and nested child-control scopes. Evidence: `src/connection-dots/ConnectionDots.tsx`, `src/connection-dots/ConnectionDots.web.tsx`, `src/connection-dots/ConnectionDotsBase.tsx`, `src/connection-dots/types.ts`, `docs/connection-dots.mdx`, `src/__tests__/ConnectionDotsPublicPartScope.test.tsx`, `src/__tests__/ConnectionDotsPublicPartScope.web.test.tsx`. Native-renderer and DOM web checks verify default md endpoints, inherited xs, nested lg, explicit child size, and independent dot diameter/count. This family does not own portals or submenus; physical-device geometry remains unverified.. |
|
|
35
35
|
| radio-control-size | applicable | 4 | Radio, RadioGroup and its default/chip/swatch variants, RadioChip, and RadioSwatch resolve the nearest BloomScope size. An explicit size overrides that scope; the variants retain distinct indicator, pill, and disc geometry. Evidence: `src/radio/Radio.tsx`, `src/radio/RadioChip.tsx`, `src/radio/RadioSwatch.tsx`, `src/__tests__/RadioPublicPartScope.test.tsx`, `src/__tests__/RadioPublicPartScope.web.test.tsx`. Native-renderer and DOM web suites verify unscoped md, nearest xs, nested lg over xs, explicit lg over xs, ordinary wrappers and a real portal for Radio, RadioGroup default/chip/swatch variants, RadioChip and RadioSwatch. These are renderer checks; physical geometry and device accessibility remain pending. These parts own no submenu. |
|
|
36
36
|
| checkbox-switch-controls | applicable | 2 | Checkbox and Switch own interactive controls whose box, label recipe, track and thumb geometry resolve BloomScope size. Explicit size overrides the nearest scope; this is the standard control size contract, not content or artwork density. Evidence: `src/checkbox/Checkbox.tsx`, `src/switch/Switch.tsx`, `src/__tests__/CheckboxSwitchPublicPartScope.test.tsx`, `src/__tests__/CheckboxSwitchPublicPartScope.web.test.tsx`. Native-renderer and DOM web suites verify default md, nearest xs, nested lg over xs, explicit lg over xs, ordinary wrappers and an actual portal for both controls; physical geometry, assistive-technology behavior and device accessibility remain pending. These parts own no submenu. |
|
|
37
|
-
| pending | pending |
|
|
37
|
+
| pending | pending | 767 | Public React identity and prop vocabulary are enumerated, but per-part applicability/delegation and complete runtime matrix have not yet been audited. Family hook imports and transitive reachability grant no conformance. Evidence: none yet. pending; not a passing adoption verdict. |
|
|
38
38
|
| navigation-layout | independent-scale | 3 | PageHeader, TabBar and BottomBar own screen chrome, measured edge claims, safe areas and expanded/minimized navigation geometry, not a canonical control-size prop. Preserve those role-specific layout recipes; their separately exported controls/parts still need their own applicability audit. Native and web runtime tests verify the fixed header/tab/navigation dimensions remain stable under xs and lg BloomScope; fixed chrome dimensions do not establish that targets inside or surrounding controls meet touch contracts. Evidence: `src/page-header/PageHeader.tsx`, `src/tab-bar/TabBarBase.tsx`, `src/bottom-bar/BottomBarBase.tsx`, `src/__tests__/NavigationPublicPartScope.test.tsx`, `src/__tests__/NavigationPublicPartScope.web.test.tsx`. mock-rendered native styles and DOM-computed web styles compare PageHeader navigation min-height 44, TabBar pill height 62 and BottomBar height 78 under xs and lg BloomScope; physical layout, control proportions and target matrix pending. |
|
|
39
39
|
| historical-scope-regression | applicable | 8 | These are the size-consuming parts repaired in #417, not new gaps inferred from the historical family table. The existing web regression checks defaults, inherited rungs, nested scopes and explicit overrides; Tooltip content parts also cross their real web portal. Keep each existing recipe and partial mapping. Evidence: `src/__tests__/InheritedControlSize.web.test.tsx`, `src/__tests__/Voice.test.tsx`, `src/__tests__/ChatPeople.test.tsx`, `src/__tests__/CreatorStudio.test.tsx`, `src/__tests__/OfferingBadge.test.tsx`. existing web scope regressions rerun; native family regressions rerun but complete per-part native scope/portal and device matrix remains pending. |
|
|
40
40
|
| external-router-parts | pending | 8 | Expo Router Link static parts are forwarded by Object.assign in the router adapter. Their declarations and implementations belong to the external package; inclusion records the public contract, not BloomScope adoption or a Bloom-owned implementation. Each part still needs semantic and platform review. Evidence: `src/panel-routing/expo-router/PanelRouterAdapter.tsx`, `src/__tests__/public-parts.test.ts`. Type-resolved native/web routes and declaration provenance only; external runtime behavior and size semantics remain unaudited. |
|
|
@@ -291,9 +291,6 @@ Routes use `native:` / `web:` followed by the package subpath and export name. `
|
|
|
291
291
|
| `src/checkbox/Checkbox.tsx#Checkbox` (`src/checkbox/Checkbox.tsx`) | `native:.#Checkbox` · `native:./checkbox#Checkbox` · `web:.#Checkbox` · `web:./checkbox#Checkbox` | native:size: lg/md/sm/xs; web:size: lg/md/sm/xs | checkbox-switch-controls |
|
|
292
292
|
| `src/checkbox/CheckboxCard.tsx#CheckboxCard` (`src/checkbox/CheckboxCard.tsx`) | `native:.#CheckboxCard` · `native:./checkbox#CheckboxCard` · `web:.#CheckboxCard` · `web:./checkbox#CheckboxCard` | no public size prop | pending |
|
|
293
293
|
| `src/checkout-sheet/CheckoutSheet.tsx#CheckoutSheet` (`src/checkout-sheet/CheckoutSheet.tsx`) | `native:.#CheckoutSheet` · `native:./checkout-sheet#CheckoutSheet` · `web:.#CheckoutSheet` · `web:./checkout-sheet#CheckoutSheet` | no public size prop | pending |
|
|
294
|
-
| `src/checkout-summary/CheckoutConfirm.tsx#CheckoutConfirm` (`src/checkout-summary/CheckoutConfirm.tsx`) | `native:.#CheckoutConfirm` · `native:./checkout-summary#CheckoutConfirm` · `web:.#CheckoutConfirm` · `web:./checkout-summary#CheckoutConfirm` | no public size prop | pending |
|
|
295
|
-
| `src/checkout-summary/CheckoutSummary.tsx#CheckoutSummary` (`src/checkout-summary/CheckoutSummary.tsx`) | `native:.#CheckoutSummary` · `native:./checkout-summary#CheckoutSummary` · `web:.#CheckoutSummary` · `web:./checkout-summary#CheckoutSummary` | no public size prop | pending |
|
|
296
|
-
| `src/checkout-summary/CheckoutSummaryRow.tsx#CheckoutSummaryRow` (`src/checkout-summary/CheckoutSummaryRow.tsx`) | `native:.#CheckoutSummaryRow` · `native:./checkout-summary#CheckoutSummaryRow` · `web:.#CheckoutSummaryRow` · `web:./checkout-summary#CheckoutSummaryRow` | no public size prop | pending |
|
|
297
294
|
| `src/chip/CappedChipRow.tsx#CappedChipRow` (`src/chip/CappedChipRow.tsx`) | `native:.#CappedChipRow` · `native:./chip#CappedChipRow` · `web:.#CappedChipRow` · `web:./chip#CappedChipRow` | no public size prop | pending |
|
|
298
295
|
| `src/chip/Chip.tsx#Chip` (`src/chip/Chip.tsx`) | `native:.#Chip` · `native:./chip#Chip` · `web:.#Chip` · `web:./chip#Chip` | native:size: 2xl/lg/md/sm/xl/xs; web:size: 2xl/lg/md/sm/xl/xs | chip-control-size |
|
|
299
296
|
| `src/chip/ChipRow.tsx#ChipRow` (`src/chip/ChipRow.tsx`) | `native:.#ChipRow` · `native:./chip#ChipRow` · `web:.#ChipRow` · `web:./chip#ChipRow` | no public size prop | pending |
|
|
@@ -1226,7 +1223,6 @@ Routes use `native:` / `web:` followed by the package subpath and export name. `
|
|
|
1226
1223
|
| `src/notifications/NotificationPermissionSheet.tsx#NotificationPermissionSheet` (`src/notifications/NotificationPermissionSheet.tsx`) | `native:.#NotificationPermissionSheet` · `native:./notifications#NotificationPermissionSheet` · `web:.#NotificationPermissionSheet` · `web:./notifications#NotificationPermissionSheet` | no public size prop | historical-scope-regression |
|
|
1227
1224
|
| `src/notifications/NotificationsScreen.tsx#NotificationsScreen` (`src/notifications/NotificationsScreen.tsx`) | `native:.#NotificationsScreen` · `native:./notifications#NotificationsScreen` · `web:.#NotificationsScreen` · `web:./notifications#NotificationsScreen` | no public size prop | historical-scope-regression |
|
|
1228
1225
|
| `src/offering-badge/OfferingBadge.tsx#OfferingBadge` (`src/offering-badge/OfferingBadge.tsx`) | `native:.#OfferingBadge` · `native:./offering-badge#OfferingBadge` · `web:.#OfferingBadge` · `web:./offering-badge#OfferingBadge` | native:size: md/sm; web:size: md/sm | historical-scope-regression |
|
|
1229
|
-
| `src/order-confirmation/OrderConfirmation.tsx#OrderConfirmation` (`src/order-confirmation/OrderConfirmation.tsx`) | `native:.#OrderConfirmation` · `native:./order-confirmation#OrderConfirmation` · `web:.#OrderConfirmation` · `web:./order-confirmation#OrderConfirmation` | no public size prop | pending |
|
|
1230
1226
|
| `src/order-status/OrderStatusBar.tsx#OrderStatusBar` (`src/order-status/OrderStatusBar.tsx`) | `native:.#OrderStatusBar` · `native:./order-status#OrderStatusBar` · `web:.#OrderStatusBar` · `web:./order-status#OrderStatusBar` | no public size prop | pending |
|
|
1231
1227
|
| `src/order-status/OrderStatusTimeline.tsx#OrderStatusTimeline` (`src/order-status/OrderStatusTimeline.tsx`) | `native:.#OrderStatusTimeline` · `native:./order-status#OrderStatusTimeline` · `web:.#OrderStatusTimeline` · `web:./order-status#OrderStatusTimeline` | no public size prop | pending |
|
|
1232
1228
|
| `src/outline-nav/OutlineNav.tsx#OutlineNav` (`src/outline-nav/OutlineNav.tsx`) | `native:.#OutlineNav` · `native:./outline-nav#OutlineNav` · `web:.#OutlineNav` · `web:./outline-nav#OutlineNav` | no public size prop | pending |
|
|
@@ -1503,7 +1499,6 @@ Routes use `native:` / `web:` followed by the package subpath and export name. `
|
|
|
1503
1499
|
| `src/typography/TypographyScope.tsx#TypographyScope` (`src/typography/TypographyScope.tsx`) | `native:.#Typography.TypographyScope` · `native:./typography#TypographyScope` · `web:.#Typography.TypographyScope` · `web:./typography#TypographyScope` | no public size prop | semantic-typography |
|
|
1504
1500
|
| `src/usage-card/UsageCard.tsx#UsageCard` (`src/usage-card/UsageCard.tsx`) | `native:.#UsageCard` · `native:./usage-card#UsageCard` · `web:.#UsageCard` · `web:./usage-card#UsageCard` | no public size prop | pending |
|
|
1505
1501
|
| `src/user-hover-card/UserHoverCard.tsx#UserHoverCard` (`src/user-hover-card/UserHoverCard.tsx`) | `native:.#UserHoverCard` · `native:./user-hover-card#UserHoverCard` · `web:.#UserHoverCard` · `web:./user-hover-card#UserHoverCard` | no public size prop | pending |
|
|
1506
|
-
| `src/vendor-card/VendorCard.tsx#VendorCard` (`src/vendor-card/VendorCard.tsx`) | `native:.#VendorCard` · `native:./vendor-card#VendorCard` · `web:.#VendorCard` · `web:./vendor-card#VendorCard` | no public size prop | pending |
|
|
1507
1502
|
| `src/video-playback/VideoPlaybackProvider.tsx#VideoPlaybackProvider` (`src/video-playback/VideoPlaybackProvider.tsx`) | `native:.#VideoPlaybackProvider` · `native:./video-playback#VideoPlaybackProvider` · `web:.#VideoPlaybackProvider` · `web:./video-playback#VideoPlaybackProvider` | no public size prop | pending |
|
|
1508
1503
|
| `src/video-playback/VideoViewability.tsx#VideoViewabilityProvider` (`src/video-playback/VideoViewability.tsx`) | `native:.#VideoViewabilityProvider` · `native:./video-playback#VideoViewabilityProvider` · `web:.#VideoViewabilityProvider` · `web:./video-playback#VideoViewabilityProvider` | no public size prop | pending |
|
|
1509
1504
|
| `src/video-playback/VideoViewability.tsx#VideoViewabilityScope` (`src/video-playback/VideoViewability.tsx`) | `native:.#VideoViewabilityScope` · `native:./video-playback#VideoViewabilityScope` · `web:.#VideoViewabilityScope` · `web:./video-playback#VideoViewabilityScope` | no public size prop | pending |
|
package/docs/task-catalog.json
CHANGED
package/docs/task-catalog.mdx
CHANGED
|
@@ -8,7 +8,7 @@ order: 1
|
|
|
8
8
|
|
|
9
9
|
# Choose an API by task
|
|
10
10
|
|
|
11
|
-
This guide belongs to **@oxy.so/bloom 23.
|
|
11
|
+
This guide belongs to **@oxy.so/bloom 23.7.0**. Read it from the installed package alongside [the structured index](./task-catalog.json). A source build version is not a registry-publication receipt. Use the containing package’s manifest for exact peer ranges.
|
|
12
12
|
|
|
13
13
|
Start under the application’s BloomProvider and follow [getting started](./getting-started.mdx) for CSS, fonts and platform setup. These examples accept domain content/actions and require a bounded host. They do not add a provider per route. For document scrolling, follow [the host contract](./compose-layouts.mdx); Expo’s bounded reset must not silently prevent document overflow.
|
|
14
14
|
|