@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.
Files changed (55) hide show
  1. package/dist/{chunk-776ZURDZ.cjs → chunk-23DPR7HU.cjs} +15 -15
  2. package/dist/{chunk-776ZURDZ.cjs.map → chunk-23DPR7HU.cjs.map} +1 -1
  3. package/dist/{chunk-7ECI5ZVO.js → chunk-5ZOWHCFN.js} +3 -3
  4. package/dist/{chunk-HR4CVAVH.cjs → chunk-6QZ656YE.cjs} +12 -10
  5. package/dist/chunk-6QZ656YE.cjs.map +1 -0
  6. package/dist/{chunk-Z53YSXDD.cjs → chunk-ADJKXYCZ.cjs} +303 -303
  7. package/dist/{chunk-Z53YSXDD.cjs.map → chunk-ADJKXYCZ.cjs.map} +1 -1
  8. package/dist/{chunk-7XUBAK5K.cjs → chunk-AUVMURC5.cjs} +12 -12
  9. package/dist/{chunk-7XUBAK5K.cjs.map → chunk-AUVMURC5.cjs.map} +1 -1
  10. package/dist/{chunk-R6SHY6ZQ.js → chunk-AWFHDRRT.js} +2 -2
  11. package/dist/{chunk-XBTQK32O.cjs → chunk-CBVCOXC5.cjs} +27 -27
  12. package/dist/{chunk-XBTQK32O.cjs.map → chunk-CBVCOXC5.cjs.map} +1 -1
  13. package/dist/{chunk-QP4H2JJN.cjs → chunk-IIS4LQEO.cjs} +38 -38
  14. package/dist/{chunk-QP4H2JJN.cjs.map → chunk-IIS4LQEO.cjs.map} +1 -1
  15. package/dist/{chunk-6ZMD3KBP.js → chunk-KLBB2J7W.js} +3 -3
  16. package/dist/{chunk-SZG56DA3.js → chunk-PE5AMPHQ.js} +3 -3
  17. package/dist/{chunk-AVLSICZO.js → chunk-QHTJTSHT.js} +2 -2
  18. package/dist/{chunk-7XVVRE53.cjs → chunk-U72ACGRR.cjs} +10 -10
  19. package/dist/{chunk-7XVVRE53.cjs.map → chunk-U72ACGRR.cjs.map} +1 -1
  20. package/dist/{chunk-RGCVYGA2.js → chunk-UV55CG7P.js} +12 -10
  21. package/dist/chunk-UV55CG7P.js.map +1 -0
  22. package/dist/{chunk-YK6FFIVG.js → chunk-Y2ZFRZ5Q.js} +3 -3
  23. package/dist/components/chat/index.cjs +3 -3
  24. package/dist/components/chat/index.js +2 -2
  25. package/dist/components/contact/index.cjs +4 -4
  26. package/dist/components/contact/index.js +3 -3
  27. package/dist/components/faq/index.cjs +4 -4
  28. package/dist/components/faq/index.js +3 -3
  29. package/dist/components/features/index.cjs +3 -3
  30. package/dist/components/features/index.js +2 -2
  31. package/dist/components/index.cjs +85 -85
  32. package/dist/components/index.js +6 -6
  33. package/dist/components/navigation/index.cjs +3 -3
  34. package/dist/components/navigation/index.js +2 -2
  35. package/dist/components/onboarding-guides/index.cjs +22 -22
  36. package/dist/components/onboarding-guides/index.js +2 -2
  37. package/dist/components/related-content/index.cjs +4 -4
  38. package/dist/components/related-content/index.js +3 -3
  39. package/dist/components/tickets/index.cjs +61 -61
  40. package/dist/components/tickets/index.js +4 -4
  41. package/dist/components/ui/index.cjs +3 -3
  42. package/dist/components/ui/index.js +2 -2
  43. package/dist/components/ui/square-avatar.d.ts.map +1 -1
  44. package/dist/index.cjs +3 -3
  45. package/dist/index.js +2 -2
  46. package/package.json +1 -1
  47. package/src/components/ui/square-avatar.tsx +11 -9
  48. package/dist/chunk-HR4CVAVH.cjs.map +0 -1
  49. package/dist/chunk-RGCVYGA2.js.map +0 -1
  50. /package/dist/{chunk-7ECI5ZVO.js.map → chunk-5ZOWHCFN.js.map} +0 -0
  51. /package/dist/{chunk-R6SHY6ZQ.js.map → chunk-AWFHDRRT.js.map} +0 -0
  52. /package/dist/{chunk-6ZMD3KBP.js.map → chunk-KLBB2J7W.js.map} +0 -0
  53. /package/dist/{chunk-SZG56DA3.js.map → chunk-PE5AMPHQ.js.map} +0 -0
  54. /package/dist/{chunk-AVLSICZO.js.map → chunk-QHTJTSHT.js.map} +0 -0
  55. /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 use `text-ods-text-primary` so they stay readable
54
- // both on the default `bg-ods-bg` AND on accent-fill backgrounds
55
- // (`bg-ods-flamingo-pink` for the current user, `bg-ods-flamingo-cyan`
56
- // for Mingo). With `text-ods-text-secondary` (#888) on a pink fill
57
- // (#F357BB) the initials clocked ~2.0:1 contrast failing WCAG AA
58
- // and visually rendering as a blank colored dot. Primary text
59
- // (#fafafa) on the same pink yields ~3.5:1 (AA Large) and on the
60
- // dark default bg yields ~15:1.
61
- 'flex items-center justify-center text-xs font-medium text-ods-text-primary',
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
  )}>