@flamingo-stack/openframe-frontend-core 0.0.262 → 0.0.263-snapshot.20260612072624
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-U7UDESAU.js → chunk-4LVFQBIY.js} +2 -2
- package/dist/{chunk-6GBA6YJN.js → chunk-C6DUAGNW.js} +19 -3
- package/dist/chunk-C6DUAGNW.js.map +1 -0
- package/dist/{chunk-3DC6MHW6.cjs → chunk-E7UYMQM6.cjs} +19 -3
- package/dist/chunk-E7UYMQM6.cjs.map +1 -0
- package/dist/{chunk-XKA7UFED.cjs → chunk-EJIT6WMN.cjs} +30 -30
- package/dist/{chunk-XKA7UFED.cjs.map → chunk-EJIT6WMN.cjs.map} +1 -1
- package/dist/{chunk-ALEKX56R.js → chunk-ENQG6L3J.js} +2 -2
- package/dist/{chunk-YC357BPF.js → chunk-GTJOHRRF.js} +3 -3
- package/dist/{chunk-2XUWR7AH.cjs → chunk-HWP6BCK5.cjs} +11 -11
- package/dist/{chunk-2XUWR7AH.cjs.map → chunk-HWP6BCK5.cjs.map} +1 -1
- package/dist/{chunk-36HLBLDK.cjs → chunk-ISVJLNY4.cjs} +28 -28
- package/dist/{chunk-36HLBLDK.cjs.map → chunk-ISVJLNY4.cjs.map} +1 -1
- package/dist/{chunk-C3FAOQAH.cjs → chunk-NJIYBGJI.cjs} +28 -28
- package/dist/{chunk-C3FAOQAH.cjs.map → chunk-NJIYBGJI.cjs.map} +1 -1
- package/dist/{chunk-6AIXHYBZ.js → chunk-WHRQUWD6.js} +2 -2
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/index.cjs +55 -55
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +9 -9
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +58 -58
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/ui/use-horizontal-scrollbar.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/src/components/comment-card.tsx +1 -1
- package/src/components/vendor-display-button.tsx +5 -5
- package/src/hooks/ui/use-horizontal-scrollbar.ts +19 -2
- package/dist/chunk-3DC6MHW6.cjs.map +0 -1
- package/dist/chunk-6GBA6YJN.js.map +0 -1
- /package/dist/{chunk-U7UDESAU.js.map → chunk-4LVFQBIY.js.map} +0 -0
- /package/dist/{chunk-ALEKX56R.js.map → chunk-ENQG6L3J.js.map} +0 -0
- /package/dist/{chunk-YC357BPF.js.map → chunk-GTJOHRRF.js.map} +0 -0
- /package/dist/{chunk-6AIXHYBZ.js.map → chunk-WHRQUWD6.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
TASK_TYPE_TEXT_COLORS,
|
|
9
9
|
getStatusColorScheme,
|
|
10
10
|
init_pagination
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WHRQUWD6.js";
|
|
12
12
|
import {
|
|
13
13
|
PageShell,
|
|
14
14
|
SearchInput
|
|
@@ -452,4 +452,4 @@ export {
|
|
|
452
452
|
DevCardRowSkeletonList,
|
|
453
453
|
DeliveryRow
|
|
454
454
|
};
|
|
455
|
-
//# sourceMappingURL=chunk-
|
|
455
|
+
//# sourceMappingURL=chunk-4LVFQBIY.js.map
|
|
@@ -391,6 +391,7 @@ function useHorizontalScrollbar() {
|
|
|
391
391
|
const trackRef = useRef4(null);
|
|
392
392
|
const thumbRef = useRef4(null);
|
|
393
393
|
const roRef = useRef4(null);
|
|
394
|
+
const moRef = useRef4(null);
|
|
394
395
|
const [thumbRatio, setThumbRatio] = useState6(0);
|
|
395
396
|
const [canScrollLeft, setCanScrollLeft] = useState6(false);
|
|
396
397
|
const [canScrollRight, setCanScrollRight] = useState6(false);
|
|
@@ -453,6 +454,10 @@ function useHorizontalScrollbar() {
|
|
|
453
454
|
roRef.current.disconnect();
|
|
454
455
|
roRef.current = null;
|
|
455
456
|
}
|
|
457
|
+
if (moRef.current) {
|
|
458
|
+
moRef.current.disconnect();
|
|
459
|
+
moRef.current = null;
|
|
460
|
+
}
|
|
456
461
|
if (rafIdRef.current) {
|
|
457
462
|
cancelAnimationFrame(rafIdRef.current);
|
|
458
463
|
rafIdRef.current = 0;
|
|
@@ -461,8 +466,19 @@ function useHorizontalScrollbar() {
|
|
|
461
466
|
if (node) {
|
|
462
467
|
const ratio = node.clientWidth / node.scrollWidth;
|
|
463
468
|
setThumbRatio(ratio >= 1 ? 0 : ratio);
|
|
464
|
-
|
|
465
|
-
roRef.current
|
|
469
|
+
const ro = new ResizeObserver(measure);
|
|
470
|
+
roRef.current = ro;
|
|
471
|
+
const observeAll = () => {
|
|
472
|
+
ro.disconnect();
|
|
473
|
+
ro.observe(node);
|
|
474
|
+
for (const child of Array.from(node.children)) ro.observe(child);
|
|
475
|
+
};
|
|
476
|
+
observeAll();
|
|
477
|
+
moRef.current = new MutationObserver(() => {
|
|
478
|
+
observeAll();
|
|
479
|
+
measure();
|
|
480
|
+
});
|
|
481
|
+
moRef.current.observe(node, { childList: true });
|
|
466
482
|
requestAnimationFrame(() => {
|
|
467
483
|
syncThumbToDOM();
|
|
468
484
|
syncEdgeFades();
|
|
@@ -2939,4 +2955,4 @@ export {
|
|
|
2939
2955
|
splitCsvEnv,
|
|
2940
2956
|
useHumanitySignals
|
|
2941
2957
|
};
|
|
2942
|
-
//# sourceMappingURL=chunk-
|
|
2958
|
+
//# sourceMappingURL=chunk-C6DUAGNW.js.map
|