@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.
Files changed (49) hide show
  1. package/dist/{chunk-U7UDESAU.js → chunk-4LVFQBIY.js} +2 -2
  2. package/dist/{chunk-6GBA6YJN.js → chunk-C6DUAGNW.js} +19 -3
  3. package/dist/chunk-C6DUAGNW.js.map +1 -0
  4. package/dist/{chunk-3DC6MHW6.cjs → chunk-E7UYMQM6.cjs} +19 -3
  5. package/dist/chunk-E7UYMQM6.cjs.map +1 -0
  6. package/dist/{chunk-XKA7UFED.cjs → chunk-EJIT6WMN.cjs} +30 -30
  7. package/dist/{chunk-XKA7UFED.cjs.map → chunk-EJIT6WMN.cjs.map} +1 -1
  8. package/dist/{chunk-ALEKX56R.js → chunk-ENQG6L3J.js} +2 -2
  9. package/dist/{chunk-YC357BPF.js → chunk-GTJOHRRF.js} +3 -3
  10. package/dist/{chunk-2XUWR7AH.cjs → chunk-HWP6BCK5.cjs} +11 -11
  11. package/dist/{chunk-2XUWR7AH.cjs.map → chunk-HWP6BCK5.cjs.map} +1 -1
  12. package/dist/{chunk-36HLBLDK.cjs → chunk-ISVJLNY4.cjs} +28 -28
  13. package/dist/{chunk-36HLBLDK.cjs.map → chunk-ISVJLNY4.cjs.map} +1 -1
  14. package/dist/{chunk-C3FAOQAH.cjs → chunk-NJIYBGJI.cjs} +28 -28
  15. package/dist/{chunk-C3FAOQAH.cjs.map → chunk-NJIYBGJI.cjs.map} +1 -1
  16. package/dist/{chunk-6AIXHYBZ.js → chunk-WHRQUWD6.js} +2 -2
  17. package/dist/components/chat/index.cjs +3 -3
  18. package/dist/components/chat/index.js +2 -2
  19. package/dist/components/contact/index.cjs +4 -4
  20. package/dist/components/contact/index.js +3 -3
  21. package/dist/components/features/index.cjs +3 -3
  22. package/dist/components/features/index.js +2 -2
  23. package/dist/components/index.cjs +55 -55
  24. package/dist/components/index.cjs.map +1 -1
  25. package/dist/components/index.js +9 -9
  26. package/dist/components/index.js.map +1 -1
  27. package/dist/components/navigation/index.cjs +3 -3
  28. package/dist/components/navigation/index.js +2 -2
  29. package/dist/components/related-content/index.cjs +4 -4
  30. package/dist/components/related-content/index.js +3 -3
  31. package/dist/components/tickets/index.cjs +58 -58
  32. package/dist/components/tickets/index.js +4 -4
  33. package/dist/components/ui/index.cjs +3 -3
  34. package/dist/components/ui/index.js +2 -2
  35. package/dist/hooks/index.cjs +2 -2
  36. package/dist/hooks/index.js +1 -1
  37. package/dist/hooks/ui/use-horizontal-scrollbar.d.ts.map +1 -1
  38. package/dist/index.cjs +3 -3
  39. package/dist/index.js +2 -2
  40. package/package.json +1 -1
  41. package/src/components/comment-card.tsx +1 -1
  42. package/src/components/vendor-display-button.tsx +5 -5
  43. package/src/hooks/ui/use-horizontal-scrollbar.ts +19 -2
  44. package/dist/chunk-3DC6MHW6.cjs.map +0 -1
  45. package/dist/chunk-6GBA6YJN.js.map +0 -1
  46. /package/dist/{chunk-U7UDESAU.js.map → chunk-4LVFQBIY.js.map} +0 -0
  47. /package/dist/{chunk-ALEKX56R.js.map → chunk-ENQG6L3J.js.map} +0 -0
  48. /package/dist/{chunk-YC357BPF.js.map → chunk-GTJOHRRF.js.map} +0 -0
  49. /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-6AIXHYBZ.js";
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-U7UDESAU.js.map
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
- roRef.current = new ResizeObserver(measure);
465
- roRef.current.observe(node);
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-6GBA6YJN.js.map
2958
+ //# sourceMappingURL=chunk-C6DUAGNW.js.map