@flamingo-stack/openframe-frontend-core 0.0.340-snapshot.20260630012353 → 0.0.340
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-D2ETTYT2.cjs → chunk-4K2M2WC4.cjs} +26 -26
- package/dist/{chunk-D2ETTYT2.cjs.map → chunk-4K2M2WC4.cjs.map} +1 -1
- package/dist/{chunk-2GROEWOK.js → chunk-53MGSWCC.js} +4 -4
- package/dist/{chunk-KE2QKKCN.js → chunk-573LTCRV.js} +2 -2
- package/dist/{chunk-QYF6LEDF.js → chunk-7TENQYAJ.js} +2 -2
- package/dist/{chunk-LANAE7MY.cjs → chunk-BMSJTLGO.cjs} +12 -12
- package/dist/{chunk-LANAE7MY.cjs.map → chunk-BMSJTLGO.cjs.map} +1 -1
- package/dist/{chunk-A37AW6CD.cjs → chunk-DFFOCQFO.cjs} +5 -5
- package/dist/{chunk-A37AW6CD.cjs.map → chunk-DFFOCQFO.cjs.map} +1 -1
- package/dist/{chunk-QCREN5A5.cjs → chunk-DRO773DG.cjs} +56 -56
- package/dist/{chunk-QCREN5A5.cjs.map → chunk-DRO773DG.cjs.map} +1 -1
- package/dist/{chunk-I3CNFZOY.cjs → chunk-ERMMMQET.cjs} +319 -351
- package/dist/chunk-ERMMMQET.cjs.map +1 -0
- package/dist/{chunk-OGTHMZIL.cjs → chunk-EXFHHZ2C.cjs} +9 -9
- package/dist/{chunk-OGTHMZIL.cjs.map → chunk-EXFHHZ2C.cjs.map} +1 -1
- package/dist/{chunk-4I46HAN5.js → chunk-GGFJ5OQ3.js} +4 -4
- package/dist/{chunk-BYAXSMET.cjs → chunk-HVYR323G.cjs} +15 -15
- package/dist/{chunk-BYAXSMET.cjs.map → chunk-HVYR323G.cjs.map} +1 -1
- package/dist/{chunk-OLR534KB.js → chunk-KE2PMD6A.js} +2 -2
- package/dist/{chunk-I4BWBQXX.cjs → chunk-L6YX6D26.cjs} +31 -31
- package/dist/{chunk-I4BWBQXX.cjs.map → chunk-L6YX6D26.cjs.map} +1 -1
- package/dist/{chunk-GCYEJLOQ.js → chunk-MNLQMAY3.js} +2 -2
- package/dist/{chunk-EPVDWAVJ.js → chunk-NC3DJLP5.js} +4 -4
- package/dist/{chunk-AZ3DTQU5.js → chunk-NDHQG4I4.js} +154 -186
- package/dist/chunk-NDHQG4I4.js.map +1 -0
- package/dist/{chunk-N3GFEIWF.js → chunk-OVN265XQ.js} +2 -2
- package/dist/{chunk-EYPZ2XLX.cjs → chunk-SIK5LBUN.cjs} +25 -25
- package/dist/{chunk-EYPZ2XLX.cjs.map → chunk-SIK5LBUN.cjs.map} +1 -1
- package/dist/{chunk-KT4KY6OF.js → chunk-T4SW6GOR.js} +4 -4
- package/dist/{chunk-Y2WHQSF6.js → chunk-TOMTBXM7.js} +2 -2
- package/dist/{chunk-CJB4NUD6.cjs → chunk-TVCBMR3N.cjs} +7 -7
- package/dist/{chunk-CJB4NUD6.cjs.map → chunk-TVCBMR3N.cjs.map} +1 -1
- package/dist/{chunk-NIIN3UH4.cjs → chunk-VA3GDVOV.cjs} +37 -37
- package/dist/{chunk-NIIN3UH4.cjs.map → chunk-VA3GDVOV.cjs.map} +1 -1
- package/dist/{chunk-CUQGK4AD.js → chunk-W7J46YKF.js} +2 -2
- package/dist/{chunk-R3MVYKEL.cjs → chunk-YEB5Z76W.cjs} +62 -62
- package/dist/{chunk-R3MVYKEL.cjs.map → chunk-YEB5Z76W.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +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/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +121 -121
- package/dist/components/index.js +9 -9
- 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 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/table/table-row.d.ts +1 -1
- package/dist/components/ui/table/table-row.d.ts.map +1 -1
- package/dist/components/ui/table/table.d.ts +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/types.d.ts +0 -16
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/ui/table/table-row.tsx +3 -16
- package/src/components/ui/table/table.tsx +15 -34
- package/src/components/ui/table/types.ts +0 -17
- package/dist/chunk-AZ3DTQU5.js.map +0 -1
- package/dist/chunk-I3CNFZOY.cjs.map +0 -1
- package/dist/components/ui/table/use-table-motion.d.ts +0 -20
- package/dist/components/ui/table/use-table-motion.d.ts.map +0 -1
- package/src/components/ui/table/use-table-motion.ts +0 -48
- /package/dist/{chunk-2GROEWOK.js.map → chunk-53MGSWCC.js.map} +0 -0
- /package/dist/{chunk-KE2QKKCN.js.map → chunk-573LTCRV.js.map} +0 -0
- /package/dist/{chunk-QYF6LEDF.js.map → chunk-7TENQYAJ.js.map} +0 -0
- /package/dist/{chunk-4I46HAN5.js.map → chunk-GGFJ5OQ3.js.map} +0 -0
- /package/dist/{chunk-OLR534KB.js.map → chunk-KE2PMD6A.js.map} +0 -0
- /package/dist/{chunk-GCYEJLOQ.js.map → chunk-MNLQMAY3.js.map} +0 -0
- /package/dist/{chunk-EPVDWAVJ.js.map → chunk-NC3DJLP5.js.map} +0 -0
- /package/dist/{chunk-N3GFEIWF.js.map → chunk-OVN265XQ.js.map} +0 -0
- /package/dist/{chunk-KT4KY6OF.js.map → chunk-T4SW6GOR.js.map} +0 -0
- /package/dist/{chunk-Y2WHQSF6.js.map → chunk-TOMTBXM7.js.map} +0 -0
- /package/dist/{chunk-CUQGK4AD.js.map → chunk-W7J46YKF.js.map} +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Framer Motion runtime resolved lazily for the opt-in row-reorder animation.
|
|
3
|
-
* `motionDiv` is `motion.div`; `LayoutGroup` coordinates the FLIP.
|
|
4
|
-
*/
|
|
5
|
-
export interface TableMotionRuntime {
|
|
6
|
-
motionDiv: any;
|
|
7
|
-
LayoutGroup: any;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Lazily loads `framer-motion` — via a dynamic `import()` so it lands in its own
|
|
11
|
-
* chunk — ONLY when row-reorder animation is enabled. Consumers that never set
|
|
12
|
-
* `animateRowReorder` never pull framer-motion into their bundle (the default
|
|
13
|
-
* `Table`/`TableRow` path stays motion-free).
|
|
14
|
-
*
|
|
15
|
-
* Returns `null` until the module resolves (and always when `enabled` is false);
|
|
16
|
-
* callers render plain DOM in the meantime, so the first paint is non-animated
|
|
17
|
-
* and the FLIP kicks in once the chunk has loaded.
|
|
18
|
-
*/
|
|
19
|
-
export declare function useTableMotion(enabled: boolean): TableMotionRuntime | null;
|
|
20
|
-
//# sourceMappingURL=use-table-motion.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"use-table-motion.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/table/use-table-motion.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAIjC,SAAS,EAAE,GAAG,CAAA;IACd,WAAW,EAAE,GAAG,CAAA;CACjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,GAAG,kBAAkB,GAAG,IAAI,CAqB1E"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import { useEffect, useState } from 'react'
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Framer Motion runtime resolved lazily for the opt-in row-reorder animation.
|
|
7
|
-
* `motionDiv` is `motion.div`; `LayoutGroup` coordinates the FLIP.
|
|
8
|
-
*/
|
|
9
|
-
export interface TableMotionRuntime {
|
|
10
|
-
// framer-motion component types are intentionally `any` here so the base table
|
|
11
|
-
// never has to statically reference framer-motion (keeping it out of the
|
|
12
|
-
// default bundle).
|
|
13
|
-
motionDiv: any
|
|
14
|
-
LayoutGroup: any
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Lazily loads `framer-motion` — via a dynamic `import()` so it lands in its own
|
|
19
|
-
* chunk — ONLY when row-reorder animation is enabled. Consumers that never set
|
|
20
|
-
* `animateRowReorder` never pull framer-motion into their bundle (the default
|
|
21
|
-
* `Table`/`TableRow` path stays motion-free).
|
|
22
|
-
*
|
|
23
|
-
* Returns `null` until the module resolves (and always when `enabled` is false);
|
|
24
|
-
* callers render plain DOM in the meantime, so the first paint is non-animated
|
|
25
|
-
* and the FLIP kicks in once the chunk has loaded.
|
|
26
|
-
*/
|
|
27
|
-
export function useTableMotion(enabled: boolean): TableMotionRuntime | null {
|
|
28
|
-
const [runtime, setRuntime] = useState<TableMotionRuntime | null>(null)
|
|
29
|
-
|
|
30
|
-
useEffect(() => {
|
|
31
|
-
if (!enabled || runtime) return
|
|
32
|
-
let active = true
|
|
33
|
-
import('framer-motion')
|
|
34
|
-
.then((m) => {
|
|
35
|
-
if (active) setRuntime({ motionDiv: m.motion.div, LayoutGroup: m.LayoutGroup })
|
|
36
|
-
})
|
|
37
|
-
.catch(() => {
|
|
38
|
-
// Chunk-load failure → keep `runtime` null so the table degrades to
|
|
39
|
-
// plain (non-animated) rows, instead of surfacing an unhandled
|
|
40
|
-
// promise rejection / global chunk-load error.
|
|
41
|
-
})
|
|
42
|
-
return () => {
|
|
43
|
-
active = false
|
|
44
|
-
}
|
|
45
|
-
}, [enabled, runtime])
|
|
46
|
-
|
|
47
|
-
return enabled ? runtime : null
|
|
48
|
-
}
|
|
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
|