@flamingo-stack/openframe-frontend-core 0.0.279 → 0.0.280
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/dist/{chunk-776ZURDZ.cjs → chunk-23DPR7HU.cjs} +15 -15
- package/dist/{chunk-776ZURDZ.cjs.map → chunk-23DPR7HU.cjs.map} +1 -1
- package/dist/{chunk-7ECI5ZVO.js → chunk-5ZOWHCFN.js} +3 -3
- package/dist/{chunk-HR4CVAVH.cjs → chunk-6QZ656YE.cjs} +12 -10
- package/dist/chunk-6QZ656YE.cjs.map +1 -0
- package/dist/{chunk-Z53YSXDD.cjs → chunk-ADJKXYCZ.cjs} +303 -303
- package/dist/{chunk-Z53YSXDD.cjs.map → chunk-ADJKXYCZ.cjs.map} +1 -1
- package/dist/{chunk-7XUBAK5K.cjs → chunk-AUVMURC5.cjs} +12 -12
- package/dist/{chunk-7XUBAK5K.cjs.map → chunk-AUVMURC5.cjs.map} +1 -1
- package/dist/{chunk-R6SHY6ZQ.js → chunk-AWFHDRRT.js} +2 -2
- package/dist/{chunk-XBTQK32O.cjs → chunk-CBVCOXC5.cjs} +27 -27
- package/dist/{chunk-XBTQK32O.cjs.map → chunk-CBVCOXC5.cjs.map} +1 -1
- package/dist/{chunk-QP4H2JJN.cjs → chunk-IIS4LQEO.cjs} +38 -38
- package/dist/{chunk-QP4H2JJN.cjs.map → chunk-IIS4LQEO.cjs.map} +1 -1
- package/dist/{chunk-6ZMD3KBP.js → chunk-KLBB2J7W.js} +3 -3
- package/dist/{chunk-SZG56DA3.js → chunk-PE5AMPHQ.js} +3 -3
- package/dist/{chunk-AVLSICZO.js → chunk-QHTJTSHT.js} +2 -2
- package/dist/{chunk-7XVVRE53.cjs → chunk-U72ACGRR.cjs} +10 -10
- package/dist/{chunk-7XVVRE53.cjs.map → chunk-U72ACGRR.cjs.map} +1 -1
- package/dist/{chunk-RGCVYGA2.js → chunk-UV55CG7P.js} +12 -10
- package/dist/chunk-UV55CG7P.js.map +1 -0
- package/dist/{chunk-YK6FFIVG.js → chunk-Y2ZFRZ5Q.js} +3 -3
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/index.cjs +85 -85
- package/dist/components/index.js +6 -6
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +22 -22
- package/dist/components/onboarding-guides/index.js +2 -2
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +61 -61
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/components/ui/square-avatar.tsx +11 -9
- package/dist/chunk-HR4CVAVH.cjs.map +0 -1
- package/dist/chunk-RGCVYGA2.js.map +0 -1
- /package/dist/{chunk-7ECI5ZVO.js.map → chunk-5ZOWHCFN.js.map} +0 -0
- /package/dist/{chunk-R6SHY6ZQ.js.map → chunk-AWFHDRRT.js.map} +0 -0
- /package/dist/{chunk-6ZMD3KBP.js.map → chunk-KLBB2J7W.js.map} +0 -0
- /package/dist/{chunk-SZG56DA3.js.map → chunk-PE5AMPHQ.js.map} +0 -0
- /package/dist/{chunk-AVLSICZO.js.map → chunk-QHTJTSHT.js.map} +0 -0
- /package/dist/{chunk-YK6FFIVG.js.map → chunk-Y2ZFRZ5Q.js.map} +0 -0
|
@@ -50,15 +50,17 @@ const SquareAvatar = React.memo(React.forwardRef<HTMLDivElement, SquareAvatarPro
|
|
|
50
50
|
{...props}
|
|
51
51
|
>
|
|
52
52
|
<div className={cn(
|
|
53
|
-
// Initials
|
|
54
|
-
//
|
|
55
|
-
//
|
|
56
|
-
// for
|
|
57
|
-
//
|
|
58
|
-
//
|
|
59
|
-
//
|
|
60
|
-
//
|
|
61
|
-
|
|
53
|
+
// Initials default to `--color-text-primary` (the old
|
|
54
|
+
// `text-ods-text-primary` value) so they stay readable on the default
|
|
55
|
+
// `bg-ods-bg` AND on the brand accent fills (`bg-ods-flamingo-pink`
|
|
56
|
+
// for the current user, `bg-ods-flamingo-cyan` for Mingo). The color
|
|
57
|
+
// resolves through `--ods-avatar-initials` with that fallback, so a
|
|
58
|
+
// host themed with a custom avatar fill can override the var with a
|
|
59
|
+
// contrast-correct value (e.g. `getReadableTextColor(accent)`) WITHOUT
|
|
60
|
+
// regressing any avatar that leaves the var unset. A caller passing
|
|
61
|
+
// its own `initialsClassName` text color still wins (tailwind-merge
|
|
62
|
+
// keeps the later class).
|
|
63
|
+
'flex items-center justify-center text-xs font-medium text-[color:var(--ods-avatar-initials,var(--color-text-primary))]',
|
|
62
64
|
initialsClassName,
|
|
63
65
|
src && 'hidden'
|
|
64
66
|
)}>
|