@flamingo-stack/openframe-frontend-core 0.0.390-snapshot.20260709094846 → 0.0.390

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 (122) hide show
  1. package/dist/{chunk-CAEKZPSH.js → chunk-33IT4ZAY.js} +2 -2
  2. package/dist/{chunk-4HV6RIDE.js → chunk-3BNQCRMN.js} +2 -2
  3. package/dist/{chunk-ZHYT2HYT.cjs → chunk-3DTVUZUS.cjs} +5 -5
  4. package/dist/{chunk-ZHYT2HYT.cjs.map → chunk-3DTVUZUS.cjs.map} +1 -1
  5. package/dist/{chunk-CPWR2BJG.js → chunk-DAMGTJ7E.js} +2 -2
  6. package/dist/{chunk-HPTHEA2A.js → chunk-DI55URRP.js} +4 -4
  7. package/dist/{chunk-YKQE7DDT.cjs → chunk-EFY7ALPU.cjs} +9 -9
  8. package/dist/{chunk-YKQE7DDT.cjs.map → chunk-EFY7ALPU.cjs.map} +1 -1
  9. package/dist/{chunk-VY3N2RPS.cjs → chunk-EIH6WUAP.cjs} +59 -59
  10. package/dist/{chunk-VY3N2RPS.cjs.map → chunk-EIH6WUAP.cjs.map} +1 -1
  11. package/dist/{chunk-GWJSQEQO.cjs → chunk-HWH2ZTP3.cjs} +62 -62
  12. package/dist/{chunk-GWJSQEQO.cjs.map → chunk-HWH2ZTP3.cjs.map} +1 -1
  13. package/dist/{chunk-SJYXTTUB.js → chunk-IBEJAPAU.js} +2 -2
  14. package/dist/{chunk-YU2RPRI4.js → chunk-IDDSEQBZ.js} +4 -4
  15. package/dist/{chunk-USUNV54R.cjs → chunk-L5HOLKHH.cjs} +26 -26
  16. package/dist/{chunk-USUNV54R.cjs.map → chunk-L5HOLKHH.cjs.map} +1 -1
  17. package/dist/{chunk-QHKU6473.js → chunk-LTGZ46D4.js} +4 -4
  18. package/dist/{chunk-QXD4OZCN.js → chunk-MSKUU2C6.js} +2 -2
  19. package/dist/{chunk-TXCE75UB.cjs → chunk-NIBFE2DV.cjs} +37 -37
  20. package/dist/{chunk-TXCE75UB.cjs.map → chunk-NIBFE2DV.cjs.map} +1 -1
  21. package/dist/{chunk-BY337N4T.js → chunk-PQY63H3D.js} +2 -2
  22. package/dist/{chunk-QQQW4DUI.cjs → chunk-PY376F37.cjs} +12 -12
  23. package/dist/{chunk-QQQW4DUI.cjs.map → chunk-PY376F37.cjs.map} +1 -1
  24. package/dist/{chunk-LC4VIFII.cjs → chunk-RABSUY3W.cjs} +26 -26
  25. package/dist/{chunk-LC4VIFII.cjs.map → chunk-RABSUY3W.cjs.map} +1 -1
  26. package/dist/{chunk-VIZUVGIY.js → chunk-RAN67OX4.js} +1851 -1935
  27. package/dist/chunk-RAN67OX4.js.map +1 -0
  28. package/dist/{chunk-DAYWQZIW.cjs → chunk-TOBDMXND.cjs} +31 -31
  29. package/dist/{chunk-DAYWQZIW.cjs.map → chunk-TOBDMXND.cjs.map} +1 -1
  30. package/dist/{chunk-33PP6VR3.cjs → chunk-W4T6Z27I.cjs} +15 -15
  31. package/dist/{chunk-33PP6VR3.cjs.map → chunk-W4T6Z27I.cjs.map} +1 -1
  32. package/dist/{chunk-R62LSFOU.cjs → chunk-XG4FQFMH.cjs} +7 -7
  33. package/dist/{chunk-R62LSFOU.cjs.map → chunk-XG4FQFMH.cjs.map} +1 -1
  34. package/dist/{chunk-Y4S6X7IV.cjs → chunk-XR4SQ32H.cjs} +1489 -1573
  35. package/dist/chunk-XR4SQ32H.cjs.map +1 -0
  36. package/dist/{chunk-KWLSVTDN.js → chunk-ZPMRWBWF.js} +4 -4
  37. package/dist/{chunk-GM5M4L7O.js → chunk-ZT56IO5B.js} +2 -2
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/approval-batch-message.d.ts +4 -13
  41. package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
  42. package/dist/components/chat/approval-request-message.d.ts.map +1 -1
  43. package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
  44. package/dist/components/chat/chat-message-list.d.ts.map +1 -1
  45. package/dist/components/chat/index.cjs +2 -4
  46. package/dist/components/chat/index.cjs.map +1 -1
  47. package/dist/components/chat/index.js +1 -3
  48. package/dist/components/chat/types/chat.types.d.ts +0 -13
  49. package/dist/components/chat/types/chat.types.d.ts.map +1 -1
  50. package/dist/components/chat/types/component.types.d.ts +3 -21
  51. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  52. package/dist/components/chat/types/message.types.d.ts +0 -3
  53. package/dist/components/chat/types/message.types.d.ts.map +1 -1
  54. package/dist/components/contact/index.cjs +3 -3
  55. package/dist/components/contact/index.js +2 -2
  56. package/dist/components/docs/index.cjs +5 -5
  57. package/dist/components/docs/index.js +4 -4
  58. package/dist/components/embeds/index.cjs +3 -3
  59. package/dist/components/embeds/index.js +2 -2
  60. package/dist/components/faq/index.cjs +3 -3
  61. package/dist/components/faq/index.js +2 -2
  62. package/dist/components/features/index.cjs +2 -2
  63. package/dist/components/features/index.js +1 -1
  64. package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
  65. package/dist/components/features/time-tracker/time-tracker-header-button.d.ts +2 -5
  66. package/dist/components/features/time-tracker/time-tracker-header-button.d.ts.map +1 -1
  67. package/dist/components/help-center-pages/index.cjs +20 -20
  68. package/dist/components/help-center-pages/index.js +11 -11
  69. package/dist/components/index.cjs +120 -122
  70. package/dist/components/index.cjs.map +1 -1
  71. package/dist/components/index.js +9 -11
  72. package/dist/components/index.js.map +1 -1
  73. package/dist/components/navigation/app-header.d.ts.map +1 -1
  74. package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
  75. package/dist/components/navigation/app-layout.d.ts +21 -2
  76. package/dist/components/navigation/app-layout.d.ts.map +1 -1
  77. package/dist/components/navigation/index.cjs +2 -2
  78. package/dist/components/navigation/index.js +1 -1
  79. package/dist/components/onboarding-guides/index.cjs +5 -5
  80. package/dist/components/onboarding-guides/index.js +4 -4
  81. package/dist/components/related-content/index.cjs +3 -3
  82. package/dist/components/related-content/index.js +2 -2
  83. package/dist/components/tickets/index.cjs +5 -5
  84. package/dist/components/tickets/index.js +4 -4
  85. package/dist/components/ui/index.cjs +2 -4
  86. package/dist/components/ui/index.cjs.map +1 -1
  87. package/dist/components/ui/index.js +1 -3
  88. package/dist/index.cjs +2 -4
  89. package/dist/index.cjs.map +1 -1
  90. package/dist/index.js +1 -3
  91. package/dist/utils/index.cjs.map +1 -1
  92. package/dist/utils/index.js.map +1 -1
  93. package/package.json +1 -1
  94. package/src/components/chat/approval-batch-message.tsx +88 -104
  95. package/src/components/chat/approval-request-message.tsx +3 -57
  96. package/src/components/chat/chat-message-enhanced.tsx +1 -5
  97. package/src/components/chat/chat-message-list.tsx +0 -3
  98. package/src/components/chat/types/chat.types.ts +0 -17
  99. package/src/components/chat/types/component.types.ts +3 -21
  100. package/src/components/chat/types/message.types.ts +0 -3
  101. package/src/components/features/notifications/notification-drawer.tsx +43 -72
  102. package/src/components/features/time-tracker/time-tracker-header-button.tsx +6 -46
  103. package/src/components/navigation/app-header.tsx +9 -13
  104. package/src/components/navigation/app-layout-drawer.tsx +11 -21
  105. package/src/components/navigation/app-layout.tsx +39 -17
  106. package/src/stories/ApprovalBatchMessageClient.stories.tsx +62 -20
  107. package/dist/chunk-VIZUVGIY.js.map +0 -1
  108. package/dist/chunk-Y4S6X7IV.cjs.map +0 -1
  109. package/dist/components/navigation/app-layout-context.d.ts +0 -34
  110. package/dist/components/navigation/app-layout-context.d.ts.map +0 -1
  111. package/src/components/navigation/app-layout-context.ts +0 -46
  112. /package/dist/{chunk-CAEKZPSH.js.map → chunk-33IT4ZAY.js.map} +0 -0
  113. /package/dist/{chunk-4HV6RIDE.js.map → chunk-3BNQCRMN.js.map} +0 -0
  114. /package/dist/{chunk-CPWR2BJG.js.map → chunk-DAMGTJ7E.js.map} +0 -0
  115. /package/dist/{chunk-HPTHEA2A.js.map → chunk-DI55URRP.js.map} +0 -0
  116. /package/dist/{chunk-SJYXTTUB.js.map → chunk-IBEJAPAU.js.map} +0 -0
  117. /package/dist/{chunk-YU2RPRI4.js.map → chunk-IDDSEQBZ.js.map} +0 -0
  118. /package/dist/{chunk-QHKU6473.js.map → chunk-LTGZ46D4.js.map} +0 -0
  119. /package/dist/{chunk-QXD4OZCN.js.map → chunk-MSKUU2C6.js.map} +0 -0
  120. /package/dist/{chunk-BY337N4T.js.map → chunk-PQY63H3D.js.map} +0 -0
  121. /package/dist/{chunk-KWLSVTDN.js.map → chunk-ZPMRWBWF.js.map} +0 -0
  122. /package/dist/{chunk-GM5M4L7O.js.map → chunk-ZT56IO5B.js.map} +0 -0
@@ -1,34 +0,0 @@
1
- /**
2
- * Container element that wraps `<main>` and serves as the portal target for
3
- * `AppLayoutDrawer`. Drawers rendered into this container sit on top of the
4
- * main content area only — the sidebar and header remain visible and
5
- * interactive. Null when AppLayout hasn't mounted (or when used outside of it).
6
- *
7
- * Lives in its own module (not app-layout.tsx) so in-layout panels
8
- * (AppLayoutDrawer, NotificationDrawer, TimeTrackerHeaderButton) can consume
9
- * these contexts without importing AppLayout itself — AppLayout renders those
10
- * panels, so importing it back would create a module cycle.
11
- */
12
- export declare const AppLayoutDrawerContainerContext: import("react").Context<HTMLElement | null>;
13
- export declare function useAppLayoutDrawerContainer(): HTMLElement | null;
14
- /**
15
- * Coordination between AppLayout's in-layout panels (`AppLayoutDrawer`, the
16
- * time-tracker popup) and the mobile burger menu. At most ONE of them may be
17
- * open at a time — each dims the main area, so stacking them reads as broken:
18
- * - a panel that opens calls `notifyDrawerDidOpen(self)` so the layout
19
- * closes the burger menu AND every other registered panel;
20
- * - each panel registers a close handle so opening the menu via the burger
21
- * button (or another panel) closes it. Null outside of AppLayout.
22
- */
23
- export interface AppLayoutDrawerHandle {
24
- close: () => void;
25
- }
26
- export interface AppLayoutDrawerCoordination {
27
- /** `self` is skipped when closing the other registered panels. */
28
- notifyDrawerDidOpen: (self?: AppLayoutDrawerHandle) => void;
29
- /** Returns an unregister cleanup. */
30
- registerDrawer: (handle: AppLayoutDrawerHandle) => () => void;
31
- }
32
- export declare const AppLayoutDrawerCoordinationContext: import("react").Context<AppLayoutDrawerCoordination | null>;
33
- export declare function useAppLayoutDrawerCoordination(): AppLayoutDrawerCoordination | null;
34
- //# sourceMappingURL=app-layout-context.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app-layout-context.d.ts","sourceRoot":"","sources":["../../../src/components/navigation/app-layout-context.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,+BAA+B,6CAA0C,CAAA;AAEtF,wBAAgB,2BAA2B,IAAI,WAAW,GAAG,IAAI,CAEhE;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,qBAAqB;IACpC,KAAK,EAAE,MAAM,IAAI,CAAA;CAClB;AAED,MAAM,WAAW,2BAA2B;IAC1C,kEAAkE;IAClE,mBAAmB,EAAE,CAAC,IAAI,CAAC,EAAE,qBAAqB,KAAK,IAAI,CAAA;IAC3D,qCAAqC;IACrC,cAAc,EAAE,CAAC,MAAM,EAAE,qBAAqB,KAAK,MAAM,IAAI,CAAA;CAC9D;AAED,eAAO,MAAM,kCAAkC,6DAA0D,CAAA;AAEzG,wBAAgB,8BAA8B,IAAI,2BAA2B,GAAG,IAAI,CAEnF"}
@@ -1,46 +0,0 @@
1
- 'use client'
2
-
3
- import { createContext, useContext } from 'react'
4
-
5
- /**
6
- * Container element that wraps `<main>` and serves as the portal target for
7
- * `AppLayoutDrawer`. Drawers rendered into this container sit on top of the
8
- * main content area only — the sidebar and header remain visible and
9
- * interactive. Null when AppLayout hasn't mounted (or when used outside of it).
10
- *
11
- * Lives in its own module (not app-layout.tsx) so in-layout panels
12
- * (AppLayoutDrawer, NotificationDrawer, TimeTrackerHeaderButton) can consume
13
- * these contexts without importing AppLayout itself — AppLayout renders those
14
- * panels, so importing it back would create a module cycle.
15
- */
16
- export const AppLayoutDrawerContainerContext = createContext<HTMLElement | null>(null)
17
-
18
- export function useAppLayoutDrawerContainer(): HTMLElement | null {
19
- return useContext(AppLayoutDrawerContainerContext)
20
- }
21
-
22
- /**
23
- * Coordination between AppLayout's in-layout panels (`AppLayoutDrawer`, the
24
- * time-tracker popup) and the mobile burger menu. At most ONE of them may be
25
- * open at a time — each dims the main area, so stacking them reads as broken:
26
- * - a panel that opens calls `notifyDrawerDidOpen(self)` so the layout
27
- * closes the burger menu AND every other registered panel;
28
- * - each panel registers a close handle so opening the menu via the burger
29
- * button (or another panel) closes it. Null outside of AppLayout.
30
- */
31
- export interface AppLayoutDrawerHandle {
32
- close: () => void
33
- }
34
-
35
- export interface AppLayoutDrawerCoordination {
36
- /** `self` is skipped when closing the other registered panels. */
37
- notifyDrawerDidOpen: (self?: AppLayoutDrawerHandle) => void
38
- /** Returns an unregister cleanup. */
39
- registerDrawer: (handle: AppLayoutDrawerHandle) => () => void
40
- }
41
-
42
- export const AppLayoutDrawerCoordinationContext = createContext<AppLayoutDrawerCoordination | null>(null)
43
-
44
- export function useAppLayoutDrawerCoordination(): AppLayoutDrawerCoordination | null {
45
- return useContext(AppLayoutDrawerCoordinationContext)
46
- }