@flamingo-stack/openframe-frontend-core 0.0.455-snapshot.20260719161719 → 0.0.455
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-UXKSOJR7.js → chunk-2KUIA2AR.js} +3 -3
- package/dist/{chunk-LMBPJAQ2.js → chunk-5YPKZM6Y.js} +6 -6
- package/dist/{chunk-YMGOTPY7.cjs → chunk-62AXZKYN.cjs} +866 -981
- package/dist/chunk-62AXZKYN.cjs.map +1 -0
- package/dist/{chunk-JHIT44TA.js → chunk-6W4ZEVIC.js} +3 -3
- package/dist/{chunk-MK2YWJAA.js → chunk-BD3JBEUC.js} +40 -64
- package/dist/chunk-BD3JBEUC.js.map +1 -0
- package/dist/{chunk-KH5VTGCS.cjs → chunk-BE77G7GW.cjs} +40 -40
- package/dist/{chunk-KH5VTGCS.cjs.map → chunk-BE77G7GW.cjs.map} +1 -1
- package/dist/{chunk-DYBATZJP.cjs → chunk-D5PBUVGB.cjs} +5 -5
- package/dist/{chunk-DYBATZJP.cjs.map → chunk-D5PBUVGB.cjs.map} +1 -1
- package/dist/{chunk-2I3GN7WW.js → chunk-DGPKGESY.js} +4 -4
- package/dist/{chunk-F3IBBAKV.js → chunk-EGTGRG7N.js} +2 -2
- package/dist/{chunk-UHVVNVUE.cjs → chunk-FCVF4YAB.cjs} +40 -40
- package/dist/{chunk-UHVVNVUE.cjs.map → chunk-FCVF4YAB.cjs.map} +1 -1
- package/dist/{chunk-VZNJ3RYI.cjs → chunk-GNYV6HYO.cjs} +15 -15
- package/dist/{chunk-VZNJ3RYI.cjs.map → chunk-GNYV6HYO.cjs.map} +1 -1
- package/dist/{chunk-F2CCUPKC.cjs → chunk-IDCPYG7N.cjs} +29 -29
- package/dist/{chunk-F2CCUPKC.cjs.map → chunk-IDCPYG7N.cjs.map} +1 -1
- package/dist/{chunk-YLTY4Z4B.js → chunk-JUUPMMKI.js} +3 -3
- package/dist/{chunk-IOHQJOLR.cjs → chunk-KTGGM5WA.cjs} +12 -36
- package/dist/chunk-KTGGM5WA.cjs.map +1 -0
- package/dist/{chunk-U27TXTAK.js → chunk-LB3OZE4B.js} +6 -6
- package/dist/{chunk-GC63K4VD.cjs → chunk-M5RT26WQ.cjs} +73 -73
- package/dist/{chunk-GC63K4VD.cjs.map → chunk-M5RT26WQ.cjs.map} +1 -1
- package/dist/{chunk-UEKCD6WV.js → chunk-N4CHA7T7.js} +16 -131
- package/dist/chunk-N4CHA7T7.js.map +1 -0
- package/dist/{chunk-6K6LAD6H.cjs → chunk-NNDNJCJ3.cjs} +18 -18
- package/dist/{chunk-6K6LAD6H.cjs.map → chunk-NNDNJCJ3.cjs.map} +1 -1
- package/dist/{chunk-DU6R7XNU.js → chunk-QSIZW6EX.js} +2 -2
- package/dist/{chunk-6TI3DCOG.cjs → chunk-RT7DIGTN.cjs} +3 -3
- package/dist/{chunk-6TI3DCOG.cjs.map → chunk-RT7DIGTN.cjs.map} +1 -1
- package/dist/{chunk-GQZGCMRF.cjs → chunk-RZL7I6YN.cjs} +7 -7
- package/dist/{chunk-GQZGCMRF.cjs.map → chunk-RZL7I6YN.cjs.map} +1 -1
- package/dist/{chunk-TXS2AMFV.cjs → chunk-UJZ6O2ON.cjs} +32 -32
- package/dist/{chunk-TXS2AMFV.cjs.map → chunk-UJZ6O2ON.cjs.map} +1 -1
- package/dist/{chunk-ZQHGSR3H.js → chunk-VNE5R4LQ.js} +5 -5
- package/dist/{chunk-ILUX3DXS.js → chunk-X62ICFPJ.js} +2 -2
- package/dist/{chunk-DAEKUR3J.js → chunk-XAQLBUCP.js} +2 -2
- package/dist/{chunk-INH6SIP5.cjs → chunk-XT6S6DYS.cjs} +12 -12
- package/dist/{chunk-INH6SIP5.cjs.map → chunk-XT6S6DYS.cjs.map} +1 -1
- package/dist/{chunk-A7FTNFBX.cjs → chunk-YSKSBLCG.cjs} +73 -73
- package/dist/{chunk-A7FTNFBX.cjs.map → chunk-YSKSBLCG.cjs.map} +1 -1
- package/dist/{chunk-LAFCXJVT.js → chunk-YXCYQKAX.js} +5 -5
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/guide-welcome.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
- package/dist/components/chat/quick-action-wall.d.ts +1 -5
- package/dist/components/chat/quick-action-wall.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +0 -17
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +135 -135
- package/dist/components/index.js +11 -11
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/index.js +4 -4
- package/dist/components/tickets/index.cjs +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/marquee-wall.d.ts +1 -8
- package/dist/components/ui/marquee-wall.d.ts.map +1 -1
- package/dist/hooks/index.cjs +2 -4
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +1 -3
- package/dist/hooks/ui/index.d.ts +0 -1
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/use-near-viewport.d.ts +1 -3
- package/dist/hooks/use-near-viewport.d.ts.map +1 -1
- package/dist/index.cjs +3 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -4
- package/package.json +1 -1
- package/src/components/chat/chat-message-list.tsx +5 -48
- package/src/components/chat/embeddable-chat.tsx +3 -31
- package/src/components/chat/guide-welcome.tsx +0 -1
- package/src/components/chat/mingo-welcome.tsx +0 -1
- package/src/components/chat/quick-action-wall.tsx +0 -7
- package/src/components/chat/types/component.types.ts +0 -17
- package/src/components/features/cards-strip.tsx +0 -16
- package/src/components/ui/marquee-wall.tsx +10 -160
- package/src/hooks/ui/index.ts +0 -1
- package/src/hooks/use-near-viewport.ts +12 -36
- package/dist/chunk-IOHQJOLR.cjs.map +0 -1
- package/dist/chunk-MK2YWJAA.js.map +0 -1
- package/dist/chunk-UEKCD6WV.js.map +0 -1
- package/dist/chunk-YMGOTPY7.cjs.map +0 -1
- package/dist/hooks/ui/use-reset-on-page-hidden.d.ts +0 -19
- package/dist/hooks/ui/use-reset-on-page-hidden.d.ts.map +0 -1
- package/src/hooks/ui/use-reset-on-page-hidden.ts +0 -32
- /package/dist/{chunk-UXKSOJR7.js.map → chunk-2KUIA2AR.js.map} +0 -0
- /package/dist/{chunk-LMBPJAQ2.js.map → chunk-5YPKZM6Y.js.map} +0 -0
- /package/dist/{chunk-JHIT44TA.js.map → chunk-6W4ZEVIC.js.map} +0 -0
- /package/dist/{chunk-2I3GN7WW.js.map → chunk-DGPKGESY.js.map} +0 -0
- /package/dist/{chunk-F3IBBAKV.js.map → chunk-EGTGRG7N.js.map} +0 -0
- /package/dist/{chunk-YLTY4Z4B.js.map → chunk-JUUPMMKI.js.map} +0 -0
- /package/dist/{chunk-U27TXTAK.js.map → chunk-LB3OZE4B.js.map} +0 -0
- /package/dist/{chunk-DU6R7XNU.js.map → chunk-QSIZW6EX.js.map} +0 -0
- /package/dist/{chunk-ZQHGSR3H.js.map → chunk-VNE5R4LQ.js.map} +0 -0
- /package/dist/{chunk-ILUX3DXS.js.map → chunk-X62ICFPJ.js.map} +0 -0
- /package/dist/{chunk-DAEKUR3J.js.map → chunk-XAQLBUCP.js.map} +0 -0
- /package/dist/{chunk-LAFCXJVT.js.map → chunk-YXCYQKAX.js.map} +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Runs `reset` whenever the tab is hidden or the window loses focus — exactly the
|
|
3
|
-
* moments a `pointerleave` / `pointercancel` can be SWALLOWED (tab blur, an
|
|
4
|
-
* overlay mounting under the cursor, an interrupted pointer), which otherwise
|
|
5
|
-
* leaves a hover/"inside" flag stuck `true` and freezes a marquee FOREVER. The
|
|
6
|
-
* next real pointer/hover re-arms the flag.
|
|
7
|
-
*
|
|
8
|
-
* SSOT self-heal for every marquee surface (MarqueeWall, CardsStrip) so the
|
|
9
|
-
* blur + `visibilitychange` wiring lives in one place. `reset` almost always
|
|
10
|
-
* only UN-sticks state. The one edge: on `blur` WITHOUT the tab hiding (a second
|
|
11
|
-
* window focused beside this one), clearing the hover-pause can let the marquee
|
|
12
|
-
* resume under a still-stationary cursor in the now-unfocused window — it
|
|
13
|
-
* re-pauses on the next `pointermove`/`pointerenter`. We keep the `blur` reset
|
|
14
|
-
* anyway because it's the only signal that catches a tab-blur that swallows the
|
|
15
|
-
* `pointerleave` without a `visibilitychange`. Pass a STABLE `reset` (memoize
|
|
16
|
-
* with `useCallback`) — the listeners re-attach whenever its identity changes.
|
|
17
|
-
*/
|
|
18
|
-
export declare function useResetOnPageHidden(reset: () => void): void;
|
|
19
|
-
//# sourceMappingURL=use-reset-on-page-hidden.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-reset-on-page-hidden.d.ts","sourceRoot":"","sources":["../../../src/hooks/ui/use-reset-on-page-hidden.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,IAAI,GAAG,IAAI,CAY5D"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { useEffect } from 'react'
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Runs `reset` whenever the tab is hidden or the window loses focus — exactly the
|
|
5
|
-
* moments a `pointerleave` / `pointercancel` can be SWALLOWED (tab blur, an
|
|
6
|
-
* overlay mounting under the cursor, an interrupted pointer), which otherwise
|
|
7
|
-
* leaves a hover/"inside" flag stuck `true` and freezes a marquee FOREVER. The
|
|
8
|
-
* next real pointer/hover re-arms the flag.
|
|
9
|
-
*
|
|
10
|
-
* SSOT self-heal for every marquee surface (MarqueeWall, CardsStrip) so the
|
|
11
|
-
* blur + `visibilitychange` wiring lives in one place. `reset` almost always
|
|
12
|
-
* only UN-sticks state. The one edge: on `blur` WITHOUT the tab hiding (a second
|
|
13
|
-
* window focused beside this one), clearing the hover-pause can let the marquee
|
|
14
|
-
* resume under a still-stationary cursor in the now-unfocused window — it
|
|
15
|
-
* re-pauses on the next `pointermove`/`pointerenter`. We keep the `blur` reset
|
|
16
|
-
* anyway because it's the only signal that catches a tab-blur that swallows the
|
|
17
|
-
* `pointerleave` without a `visibilitychange`. Pass a STABLE `reset` (memoize
|
|
18
|
-
* with `useCallback`) — the listeners re-attach whenever its identity changes.
|
|
19
|
-
*/
|
|
20
|
-
export function useResetOnPageHidden(reset: () => void): void {
|
|
21
|
-
useEffect(() => {
|
|
22
|
-
const onVisibility = () => {
|
|
23
|
-
if (document.visibilityState === 'hidden') reset()
|
|
24
|
-
}
|
|
25
|
-
window.addEventListener('blur', reset)
|
|
26
|
-
document.addEventListener('visibilitychange', onVisibility)
|
|
27
|
-
return () => {
|
|
28
|
-
window.removeEventListener('blur', reset)
|
|
29
|
-
document.removeEventListener('visibilitychange', onVisibility)
|
|
30
|
-
}
|
|
31
|
-
}, [reset])
|
|
32
|
-
}
|
|
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
|
|
File without changes
|