@flamingo-stack/openframe-frontend-core 0.0.455 → 0.0.456-snapshot.20260720115226

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 (157) hide show
  1. package/dist/{chunk-6W4ZEVIC.js → chunk-2ZW2ZPDW.js} +3 -3
  2. package/dist/{chunk-XAQLBUCP.js → chunk-4423DHRX.js} +2 -2
  3. package/dist/{chunk-5YPKZM6Y.js → chunk-5BKBG653.js} +6 -6
  4. package/dist/{chunk-YSKSBLCG.cjs → chunk-5XFJG3TC.cjs} +73 -73
  5. package/dist/{chunk-YSKSBLCG.cjs.map → chunk-5XFJG3TC.cjs.map} +1 -1
  6. package/dist/{chunk-RT7DIGTN.cjs → chunk-6TI3DCOG.cjs} +3 -3
  7. package/dist/{chunk-RT7DIGTN.cjs.map → chunk-6TI3DCOG.cjs.map} +1 -1
  8. package/dist/{chunk-M5RT26WQ.cjs → chunk-AB65PWU2.cjs} +73 -73
  9. package/dist/{chunk-M5RT26WQ.cjs.map → chunk-AB65PWU2.cjs.map} +1 -1
  10. package/dist/{chunk-DGPKGESY.js → chunk-AJGZ3YSR.js} +4 -4
  11. package/dist/{chunk-FCVF4YAB.cjs → chunk-BDTQIIJR.cjs} +40 -40
  12. package/dist/{chunk-FCVF4YAB.cjs.map → chunk-BDTQIIJR.cjs.map} +1 -1
  13. package/dist/{chunk-BE77G7GW.cjs → chunk-C2TDHJBO.cjs} +40 -40
  14. package/dist/{chunk-BE77G7GW.cjs.map → chunk-C2TDHJBO.cjs.map} +1 -1
  15. package/dist/{chunk-XT6S6DYS.cjs → chunk-CCT5VCRP.cjs} +12 -12
  16. package/dist/{chunk-XT6S6DYS.cjs.map → chunk-CCT5VCRP.cjs.map} +1 -1
  17. package/dist/{chunk-NNDNJCJ3.cjs → chunk-EOVQVVDJ.cjs} +18 -18
  18. package/dist/{chunk-NNDNJCJ3.cjs.map → chunk-EOVQVVDJ.cjs.map} +1 -1
  19. package/dist/{chunk-62AXZKYN.cjs → chunk-FM5DTJPA.cjs} +1753 -1376
  20. package/dist/chunk-FM5DTJPA.cjs.map +1 -0
  21. package/dist/{chunk-YXCYQKAX.js → chunk-GJ7BN4MI.js} +5 -5
  22. package/dist/{chunk-VNE5R4LQ.js → chunk-I7M6KCCS.js} +5 -5
  23. package/dist/{chunk-X62ICFPJ.js → chunk-ILUX3DXS.js} +2 -2
  24. package/dist/{chunk-KTGGM5WA.cjs → chunk-IOHQJOLR.cjs} +36 -12
  25. package/dist/chunk-IOHQJOLR.cjs.map +1 -0
  26. package/dist/{chunk-GNYV6HYO.cjs → chunk-KQ36EHE4.cjs} +15 -15
  27. package/dist/{chunk-GNYV6HYO.cjs.map → chunk-KQ36EHE4.cjs.map} +1 -1
  28. package/dist/{chunk-QSIZW6EX.js → chunk-KXIIUE75.js} +2 -2
  29. package/dist/{chunk-BD3JBEUC.js → chunk-MK2YWJAA.js} +64 -40
  30. package/dist/chunk-MK2YWJAA.js.map +1 -0
  31. package/dist/{chunk-N4CHA7T7.js → chunk-NSL5MNS4.js} +5210 -4833
  32. package/dist/chunk-NSL5MNS4.js.map +1 -0
  33. package/dist/{chunk-LB3OZE4B.js → chunk-O7F7RZFN.js} +6 -6
  34. package/dist/{chunk-JUUPMMKI.js → chunk-R5IQJXA3.js} +3 -3
  35. package/dist/{chunk-EGTGRG7N.js → chunk-RSW42GTZ.js} +2 -2
  36. package/dist/{chunk-RZL7I6YN.cjs → chunk-SQ3CP2IV.cjs} +7 -7
  37. package/dist/{chunk-RZL7I6YN.cjs.map → chunk-SQ3CP2IV.cjs.map} +1 -1
  38. package/dist/{chunk-D5PBUVGB.cjs → chunk-U4APSAAR.cjs} +5 -5
  39. package/dist/{chunk-D5PBUVGB.cjs.map → chunk-U4APSAAR.cjs.map} +1 -1
  40. package/dist/{chunk-2KUIA2AR.js → chunk-WXDEMTLD.js} +3 -3
  41. package/dist/{chunk-IDCPYG7N.cjs → chunk-YCIVMKRS.cjs} +29 -29
  42. package/dist/{chunk-IDCPYG7N.cjs.map → chunk-YCIVMKRS.cjs.map} +1 -1
  43. package/dist/{chunk-UJZ6O2ON.cjs → chunk-YHB4MNUX.cjs} +32 -32
  44. package/dist/{chunk-UJZ6O2ON.cjs.map → chunk-YHB4MNUX.cjs.map} +1 -1
  45. package/dist/components/case-studies/index.cjs +9 -9
  46. package/dist/components/case-studies/index.js +3 -3
  47. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  48. package/dist/components/chat/chat-sidebar.d.ts.map +1 -1
  49. package/dist/components/chat/chat-ticket-list.d.ts.map +1 -1
  50. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  51. package/dist/components/chat/index.cjs +3 -3
  52. package/dist/components/chat/index.js +2 -2
  53. package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
  54. package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
  55. package/dist/components/chat/quick-action-wall.d.ts +5 -1
  56. package/dist/components/chat/quick-action-wall.d.ts.map +1 -1
  57. package/dist/components/chat/types/component.types.d.ts +17 -0
  58. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  59. package/dist/components/contact/index.cjs +4 -4
  60. package/dist/components/contact/index.js +3 -3
  61. package/dist/components/docs/index.cjs +6 -6
  62. package/dist/components/docs/index.js +5 -5
  63. package/dist/components/embeds/index.cjs +4 -4
  64. package/dist/components/embeds/index.js +3 -3
  65. package/dist/components/faq/index.cjs +5 -5
  66. package/dist/components/faq/index.js +4 -4
  67. package/dist/components/features/cards-strip.d.ts.map +1 -1
  68. package/dist/components/features/index.cjs +3 -3
  69. package/dist/components/features/index.js +2 -2
  70. package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
  71. package/dist/components/features/time-tracker/time-tracker-panel.d.ts.map +1 -1
  72. package/dist/components/help-center-pages/index.cjs +22 -22
  73. package/dist/components/help-center-pages/index.js +13 -13
  74. package/dist/components/index.cjs +141 -135
  75. package/dist/components/index.cjs.map +1 -1
  76. package/dist/components/index.js +17 -11
  77. package/dist/components/index.js.map +1 -1
  78. package/dist/components/layout/page-container.d.ts.map +1 -1
  79. package/dist/components/navigation/app-layout-drawer.d.ts +1 -1
  80. package/dist/components/navigation/index.cjs +3 -3
  81. package/dist/components/navigation/index.js +2 -2
  82. package/dist/components/onboarding-guides/index.cjs +7 -7
  83. package/dist/components/onboarding-guides/index.js +6 -6
  84. package/dist/components/related-content/index.cjs +5 -5
  85. package/dist/components/related-content/index.js +4 -4
  86. package/dist/components/tickets/index.cjs +6 -6
  87. package/dist/components/tickets/index.js +5 -5
  88. package/dist/components/ui/drawer.d.ts +1 -1
  89. package/dist/components/ui/drawer.d.ts.map +1 -1
  90. package/dist/components/ui/index.cjs +9 -3
  91. package/dist/components/ui/index.cjs.map +1 -1
  92. package/dist/components/ui/index.d.ts +1 -0
  93. package/dist/components/ui/index.d.ts.map +1 -1
  94. package/dist/components/ui/index.js +8 -2
  95. package/dist/components/ui/marquee-wall.d.ts +8 -1
  96. package/dist/components/ui/marquee-wall.d.ts.map +1 -1
  97. package/dist/components/ui/menubar.d.ts +3 -6
  98. package/dist/components/ui/menubar.d.ts.map +1 -1
  99. package/dist/components/ui/modal-v2.d.ts.map +1 -1
  100. package/dist/components/ui/modal.d.ts.map +1 -1
  101. package/dist/components/ui/overlay-scroll-area.d.ts +59 -0
  102. package/dist/components/ui/overlay-scroll-area.d.ts.map +1 -0
  103. package/dist/hooks/index.cjs +4 -2
  104. package/dist/hooks/index.cjs.map +1 -1
  105. package/dist/hooks/index.js +3 -1
  106. package/dist/hooks/ui/index.d.ts +1 -0
  107. package/dist/hooks/ui/index.d.ts.map +1 -1
  108. package/dist/hooks/ui/use-reset-on-page-hidden.d.ts +19 -0
  109. package/dist/hooks/ui/use-reset-on-page-hidden.d.ts.map +1 -0
  110. package/dist/hooks/use-near-viewport.d.ts +3 -1
  111. package/dist/hooks/use-near-viewport.d.ts.map +1 -1
  112. package/dist/index.cjs +11 -3
  113. package/dist/index.cjs.map +1 -1
  114. package/dist/index.js +10 -2
  115. package/package.json +3 -1
  116. package/src/components/chat/chat-message-list.tsx +54 -10
  117. package/src/components/chat/chat-sidebar.tsx +9 -4
  118. package/src/components/chat/chat-ticket-list.tsx +8 -2
  119. package/src/components/chat/embeddable-chat.tsx +31 -3
  120. package/src/components/chat/guide-welcome.tsx +7 -4
  121. package/src/components/chat/mingo-chat-history.tsx +6 -4
  122. package/src/components/chat/mingo-welcome.tsx +7 -4
  123. package/src/components/chat/quick-action-wall.tsx +7 -0
  124. package/src/components/chat/types/component.types.ts +17 -0
  125. package/src/components/features/cards-strip.tsx +16 -0
  126. package/src/components/features/notifications/notification-drawer.tsx +6 -4
  127. package/src/components/features/time-tracker/time-tracker-panel.tsx +5 -3
  128. package/src/components/layout/page-container.tsx +13 -5
  129. package/src/components/ui/drawer.tsx +8 -3
  130. package/src/components/ui/index.ts +1 -0
  131. package/src/components/ui/marquee-wall.tsx +185 -11
  132. package/src/components/ui/modal-v2.tsx +6 -2
  133. package/src/components/ui/modal.tsx +6 -2
  134. package/src/components/ui/overlay-scroll-area.tsx +219 -0
  135. package/src/hooks/ui/index.ts +1 -0
  136. package/src/hooks/ui/use-reset-on-page-hidden.ts +32 -0
  137. package/src/hooks/use-near-viewport.ts +36 -12
  138. package/src/stories/OverlayScrollArea.stories.tsx +52 -0
  139. package/src/styles/index.css +2 -0
  140. package/src/styles/overlay-scrollbars-theme.css +19 -0
  141. package/src/styles/vendor-overlayscrollbars.css +673 -0
  142. package/dist/chunk-62AXZKYN.cjs.map +0 -1
  143. package/dist/chunk-BD3JBEUC.js.map +0 -1
  144. package/dist/chunk-KTGGM5WA.cjs.map +0 -1
  145. package/dist/chunk-N4CHA7T7.js.map +0 -1
  146. /package/dist/{chunk-6W4ZEVIC.js.map → chunk-2ZW2ZPDW.js.map} +0 -0
  147. /package/dist/{chunk-XAQLBUCP.js.map → chunk-4423DHRX.js.map} +0 -0
  148. /package/dist/{chunk-5YPKZM6Y.js.map → chunk-5BKBG653.js.map} +0 -0
  149. /package/dist/{chunk-DGPKGESY.js.map → chunk-AJGZ3YSR.js.map} +0 -0
  150. /package/dist/{chunk-YXCYQKAX.js.map → chunk-GJ7BN4MI.js.map} +0 -0
  151. /package/dist/{chunk-VNE5R4LQ.js.map → chunk-I7M6KCCS.js.map} +0 -0
  152. /package/dist/{chunk-X62ICFPJ.js.map → chunk-ILUX3DXS.js.map} +0 -0
  153. /package/dist/{chunk-QSIZW6EX.js.map → chunk-KXIIUE75.js.map} +0 -0
  154. /package/dist/{chunk-LB3OZE4B.js.map → chunk-O7F7RZFN.js.map} +0 -0
  155. /package/dist/{chunk-JUUPMMKI.js.map → chunk-R5IQJXA3.js.map} +0 -0
  156. /package/dist/{chunk-EGTGRG7N.js.map → chunk-RSW42GTZ.js.map} +0 -0
  157. /package/dist/{chunk-2KUIA2AR.js.map → chunk-WXDEMTLD.js.map} +0 -0
@@ -0,0 +1,52 @@
1
+ import type { Meta, StoryObj } from '@storybook/nextjs-vite'
2
+ import { OverlayScrollArea } from '../components/ui/overlay-scroll-area'
3
+
4
+ // POC: standardized macOS-like overlay scrollbar (OverlayScrollbars) — the
5
+ // bar appears while scrolling / hovering and fades out when idle, on every
6
+ // platform. Native scrolling (wheel, touchpad momentum, thumb drag) is kept.
7
+
8
+ const meta: Meta<typeof OverlayScrollArea> = {
9
+ title: 'UI/OverlayScrollArea',
10
+ component: OverlayScrollArea,
11
+ parameters: { layout: 'centered' },
12
+ }
13
+
14
+ export default meta
15
+ type Story = StoryObj<typeof OverlayScrollArea>
16
+
17
+ const rows = (count: number) =>
18
+ Array.from({ length: count }, (_, i) => (
19
+ <div key={i} className="border-b border-ods-border px-[var(--spacing-system-m)] py-[var(--spacing-system-s)] text-ods-text-primary">
20
+ Row {i + 1} — scrollable content
21
+ </div>
22
+ ))
23
+
24
+ export const Vertical: Story = {
25
+ render: () => (
26
+ <OverlayScrollArea className="h-72 w-96 rounded-lg border border-ods-border bg-ods-card">
27
+ {rows(40)}
28
+ </OverlayScrollArea>
29
+ ),
30
+ }
31
+
32
+ export const Horizontal: Story = {
33
+ render: () => (
34
+ <OverlayScrollArea className="h-24 w-96 rounded-lg border border-ods-border bg-ods-card">
35
+ <div className="flex w-max gap-[var(--spacing-system-s)] p-[var(--spacing-system-m)]">
36
+ {Array.from({ length: 30 }, (_, i) => (
37
+ <div key={i} className="flex h-12 w-28 shrink-0 items-center justify-center rounded-md bg-ods-bg text-ods-text-secondary">
38
+ Chip {i + 1}
39
+ </div>
40
+ ))}
41
+ </div>
42
+ </OverlayScrollArea>
43
+ ),
44
+ }
45
+
46
+ export const Both: Story = {
47
+ render: () => (
48
+ <OverlayScrollArea className="h-72 w-96 rounded-lg border border-ods-border bg-ods-card">
49
+ <div className="w-[800px]">{rows(40)}</div>
50
+ </OverlayScrollArea>
51
+ ),
52
+ }
@@ -10,6 +10,8 @@
10
10
  /* Vendor/library style overrides */
11
11
  @import "./vendor-react-easy-crop.css";
12
12
  @import "./vendor-react-scroll.css";
13
+ @import "./vendor-overlayscrollbars.css";
14
+ @import "./overlay-scrollbars-theme.css";
13
15
 
14
16
  @tailwind base;
15
17
  @tailwind components;
@@ -0,0 +1,19 @@
1
+ /* ODS theme for OverlayScrollbars (see components/ui/overlay-scroll-area.tsx).
2
+ Thin grey draggable thumb on a transparent track — matches the global
3
+ elevator scrollbar styling, but with macOS-like auto-hide on all platforms. */
4
+ .os-theme-ods {
5
+ --os-size: 8px;
6
+ --os-padding-perpendicular: 2px;
7
+ --os-padding-axis: 2px;
8
+ --os-track-bg: transparent;
9
+ --os-track-bg-hover: transparent;
10
+ --os-track-bg-active: transparent;
11
+ --os-handle-bg: var(--ods-system-greys-grey);
12
+ --os-handle-bg-hover: var(--ods-system-greys-grey-hover);
13
+ --os-handle-bg-active: var(--ods-system-greys-grey-action);
14
+ --os-handle-border-radius: 4px;
15
+ --os-handle-perpendicular-size: 100%;
16
+ --os-handle-perpendicular-size-hover: 100%;
17
+ --os-handle-perpendicular-size-active: 100%;
18
+ --os-handle-min-size: 33px;
19
+ }