@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.
- package/dist/{chunk-CAEKZPSH.js → chunk-33IT4ZAY.js} +2 -2
- package/dist/{chunk-4HV6RIDE.js → chunk-3BNQCRMN.js} +2 -2
- package/dist/{chunk-ZHYT2HYT.cjs → chunk-3DTVUZUS.cjs} +5 -5
- package/dist/{chunk-ZHYT2HYT.cjs.map → chunk-3DTVUZUS.cjs.map} +1 -1
- package/dist/{chunk-CPWR2BJG.js → chunk-DAMGTJ7E.js} +2 -2
- package/dist/{chunk-HPTHEA2A.js → chunk-DI55URRP.js} +4 -4
- package/dist/{chunk-YKQE7DDT.cjs → chunk-EFY7ALPU.cjs} +9 -9
- package/dist/{chunk-YKQE7DDT.cjs.map → chunk-EFY7ALPU.cjs.map} +1 -1
- package/dist/{chunk-VY3N2RPS.cjs → chunk-EIH6WUAP.cjs} +59 -59
- package/dist/{chunk-VY3N2RPS.cjs.map → chunk-EIH6WUAP.cjs.map} +1 -1
- package/dist/{chunk-GWJSQEQO.cjs → chunk-HWH2ZTP3.cjs} +62 -62
- package/dist/{chunk-GWJSQEQO.cjs.map → chunk-HWH2ZTP3.cjs.map} +1 -1
- package/dist/{chunk-SJYXTTUB.js → chunk-IBEJAPAU.js} +2 -2
- package/dist/{chunk-YU2RPRI4.js → chunk-IDDSEQBZ.js} +4 -4
- package/dist/{chunk-USUNV54R.cjs → chunk-L5HOLKHH.cjs} +26 -26
- package/dist/{chunk-USUNV54R.cjs.map → chunk-L5HOLKHH.cjs.map} +1 -1
- package/dist/{chunk-QHKU6473.js → chunk-LTGZ46D4.js} +4 -4
- package/dist/{chunk-QXD4OZCN.js → chunk-MSKUU2C6.js} +2 -2
- package/dist/{chunk-TXCE75UB.cjs → chunk-NIBFE2DV.cjs} +37 -37
- package/dist/{chunk-TXCE75UB.cjs.map → chunk-NIBFE2DV.cjs.map} +1 -1
- package/dist/{chunk-BY337N4T.js → chunk-PQY63H3D.js} +2 -2
- package/dist/{chunk-QQQW4DUI.cjs → chunk-PY376F37.cjs} +12 -12
- package/dist/{chunk-QQQW4DUI.cjs.map → chunk-PY376F37.cjs.map} +1 -1
- package/dist/{chunk-LC4VIFII.cjs → chunk-RABSUY3W.cjs} +26 -26
- package/dist/{chunk-LC4VIFII.cjs.map → chunk-RABSUY3W.cjs.map} +1 -1
- package/dist/{chunk-VIZUVGIY.js → chunk-RAN67OX4.js} +1851 -1935
- package/dist/chunk-RAN67OX4.js.map +1 -0
- package/dist/{chunk-DAYWQZIW.cjs → chunk-TOBDMXND.cjs} +31 -31
- package/dist/{chunk-DAYWQZIW.cjs.map → chunk-TOBDMXND.cjs.map} +1 -1
- package/dist/{chunk-33PP6VR3.cjs → chunk-W4T6Z27I.cjs} +15 -15
- package/dist/{chunk-33PP6VR3.cjs.map → chunk-W4T6Z27I.cjs.map} +1 -1
- package/dist/{chunk-R62LSFOU.cjs → chunk-XG4FQFMH.cjs} +7 -7
- package/dist/{chunk-R62LSFOU.cjs.map → chunk-XG4FQFMH.cjs.map} +1 -1
- package/dist/{chunk-Y4S6X7IV.cjs → chunk-XR4SQ32H.cjs} +1489 -1573
- package/dist/chunk-XR4SQ32H.cjs.map +1 -0
- package/dist/{chunk-KWLSVTDN.js → chunk-ZPMRWBWF.js} +4 -4
- package/dist/{chunk-GM5M4L7O.js → chunk-ZT56IO5B.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/approval-batch-message.d.ts +4 -13
- package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
- package/dist/components/chat/approval-request-message.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -4
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +1 -3
- package/dist/components/chat/types/chat.types.d.ts +0 -13
- package/dist/components/chat/types/chat.types.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +3 -21
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/message.types.d.ts +0 -3
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
- package/dist/components/features/time-tracker/time-tracker-header-button.d.ts +2 -5
- package/dist/components/features/time-tracker/time-tracker-header-button.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +120 -122
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +9 -11
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/app-header.d.ts.map +1 -1
- package/dist/components/navigation/app-layout-drawer.d.ts.map +1 -1
- package/dist/components/navigation/app-layout.d.ts +21 -2
- package/dist/components/navigation/app-layout.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -4
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +1 -3
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -3
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/approval-batch-message.tsx +88 -104
- package/src/components/chat/approval-request-message.tsx +3 -57
- package/src/components/chat/chat-message-enhanced.tsx +1 -5
- package/src/components/chat/chat-message-list.tsx +0 -3
- package/src/components/chat/types/chat.types.ts +0 -17
- package/src/components/chat/types/component.types.ts +3 -21
- package/src/components/chat/types/message.types.ts +0 -3
- package/src/components/features/notifications/notification-drawer.tsx +43 -72
- package/src/components/features/time-tracker/time-tracker-header-button.tsx +6 -46
- package/src/components/navigation/app-header.tsx +9 -13
- package/src/components/navigation/app-layout-drawer.tsx +11 -21
- package/src/components/navigation/app-layout.tsx +39 -17
- package/src/stories/ApprovalBatchMessageClient.stories.tsx +62 -20
- package/dist/chunk-VIZUVGIY.js.map +0 -1
- package/dist/chunk-Y4S6X7IV.cjs.map +0 -1
- package/dist/components/navigation/app-layout-context.d.ts +0 -34
- package/dist/components/navigation/app-layout-context.d.ts.map +0 -1
- package/src/components/navigation/app-layout-context.ts +0 -46
- /package/dist/{chunk-CAEKZPSH.js.map → chunk-33IT4ZAY.js.map} +0 -0
- /package/dist/{chunk-4HV6RIDE.js.map → chunk-3BNQCRMN.js.map} +0 -0
- /package/dist/{chunk-CPWR2BJG.js.map → chunk-DAMGTJ7E.js.map} +0 -0
- /package/dist/{chunk-HPTHEA2A.js.map → chunk-DI55URRP.js.map} +0 -0
- /package/dist/{chunk-SJYXTTUB.js.map → chunk-IBEJAPAU.js.map} +0 -0
- /package/dist/{chunk-YU2RPRI4.js.map → chunk-IDDSEQBZ.js.map} +0 -0
- /package/dist/{chunk-QHKU6473.js.map → chunk-LTGZ46D4.js.map} +0 -0
- /package/dist/{chunk-QXD4OZCN.js.map → chunk-MSKUU2C6.js.map} +0 -0
- /package/dist/{chunk-BY337N4T.js.map → chunk-PQY63H3D.js.map} +0 -0
- /package/dist/{chunk-KWLSVTDN.js.map → chunk-ZPMRWBWF.js.map} +0 -0
- /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
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|