@flamingo-stack/openframe-frontend-core 0.0.543 → 0.0.544-1804.4776.1

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 (104) hide show
  1. package/dist/{chunk-WPIFOMFD.cjs → chunk-3DERWWWX.cjs} +37 -37
  2. package/dist/{chunk-WPIFOMFD.cjs.map → chunk-3DERWWWX.cjs.map} +1 -1
  3. package/dist/{chunk-7G734VXA.js → chunk-3MMSQ7SC.js} +2 -2
  4. package/dist/{chunk-RGI45NCV.cjs → chunk-3UCQWXA3.cjs} +26 -26
  5. package/dist/{chunk-RGI45NCV.cjs.map → chunk-3UCQWXA3.cjs.map} +1 -1
  6. package/dist/{chunk-KFRFOOLI.cjs → chunk-5CWG5JAO.cjs} +4 -4
  7. package/dist/{chunk-KFRFOOLI.cjs.map → chunk-5CWG5JAO.cjs.map} +1 -1
  8. package/dist/{chunk-FOOQ3FN3.js → chunk-5NZLZTUD.js} +6 -6
  9. package/dist/{chunk-3ROT5PX2.cjs → chunk-5W2OUL2H.cjs} +9 -9
  10. package/dist/{chunk-3ROT5PX2.cjs.map → chunk-5W2OUL2H.cjs.map} +1 -1
  11. package/dist/{chunk-NMMBXECI.cjs → chunk-6MOD65VQ.cjs} +87 -87
  12. package/dist/{chunk-NMMBXECI.cjs.map → chunk-6MOD65VQ.cjs.map} +1 -1
  13. package/dist/{chunk-IWGK2OSV.cjs → chunk-AFQZIKIC.cjs} +27 -27
  14. package/dist/{chunk-IWGK2OSV.cjs.map → chunk-AFQZIKIC.cjs.map} +1 -1
  15. package/dist/{chunk-YXYYPTLR.cjs → chunk-CHQOAONB.cjs} +5 -5
  16. package/dist/{chunk-YXYYPTLR.cjs.map → chunk-CHQOAONB.cjs.map} +1 -1
  17. package/dist/{chunk-WCXM43JA.js → chunk-CHZ57UPO.js} +4 -4
  18. package/dist/{chunk-R53YBUQ3.js → chunk-CJ4KV7D2.js} +2 -2
  19. package/dist/{chunk-D7GX56ZJ.cjs → chunk-CKU7C2NQ.cjs} +11 -11
  20. package/dist/{chunk-D7GX56ZJ.cjs.map → chunk-CKU7C2NQ.cjs.map} +1 -1
  21. package/dist/{chunk-GBPWUSVD.js → chunk-DCQN7QEU.js} +5 -5
  22. package/dist/{chunk-2BSDGGMZ.js → chunk-EOZBJY22.js} +2 -2
  23. package/dist/{chunk-VRS3EJNW.cjs → chunk-ERRD2KX7.cjs} +61 -61
  24. package/dist/{chunk-VRS3EJNW.cjs.map → chunk-ERRD2KX7.cjs.map} +1 -1
  25. package/dist/{chunk-TUPAJW3I.js → chunk-HDDPE36K.js} +2 -2
  26. package/dist/{chunk-ERUCYF54.js → chunk-J6AT6PCW.js} +2 -2
  27. package/dist/{chunk-6J7TWGNV.js → chunk-K3GU3GXP.js} +2 -2
  28. package/dist/{chunk-SNFFVRXR.js → chunk-M4H6XBEL.js} +40 -20
  29. package/dist/chunk-M4H6XBEL.js.map +1 -0
  30. package/dist/{chunk-ZFRSWZGZ.cjs → chunk-MEJDX5UP.cjs} +3 -3
  31. package/dist/{chunk-ZFRSWZGZ.cjs.map → chunk-MEJDX5UP.cjs.map} +1 -1
  32. package/dist/{chunk-AO7OPQKS.js → chunk-OYNCKOLU.js} +2 -2
  33. package/dist/{chunk-RWZE5FC5.js → chunk-Q6I6XGMX.js} +2 -2
  34. package/dist/{chunk-PQ6FUNPA.cjs → chunk-QZLWVIT4.cjs} +14 -14
  35. package/dist/{chunk-PQ6FUNPA.cjs.map → chunk-QZLWVIT4.cjs.map} +1 -1
  36. package/dist/{chunk-T65SKWRT.js → chunk-RCEVUZEI.js} +2 -2
  37. package/dist/{chunk-L46PXCHD.cjs → chunk-SDXCNTEC.cjs} +7 -7
  38. package/dist/{chunk-L46PXCHD.cjs.map → chunk-SDXCNTEC.cjs.map} +1 -1
  39. package/dist/{chunk-Z34YRIM7.cjs → chunk-TW6NP2IH.cjs} +40 -20
  40. package/dist/chunk-TW6NP2IH.cjs.map +1 -0
  41. package/dist/{chunk-EUM4XBDN.cjs → chunk-YMXJJ4MY.cjs} +31 -31
  42. package/dist/{chunk-EUM4XBDN.cjs.map → chunk-YMXJJ4MY.cjs.map} +1 -1
  43. package/dist/{chunk-SHLL6E5T.js → chunk-YVLIC36O.js} +4 -4
  44. package/dist/components/case-studies/index.cjs +8 -8
  45. package/dist/components/case-studies/index.js +2 -2
  46. package/dist/components/chat/index.cjs +2 -2
  47. package/dist/components/chat/index.js +1 -1
  48. package/dist/components/contact/index.cjs +3 -3
  49. package/dist/components/contact/index.js +2 -2
  50. package/dist/components/docs/index.cjs +5 -5
  51. package/dist/components/docs/index.js +4 -4
  52. package/dist/components/embeds/index.cjs +3 -3
  53. package/dist/components/embeds/index.js +2 -2
  54. package/dist/components/faq/index.cjs +3 -3
  55. package/dist/components/faq/index.js +2 -2
  56. package/dist/components/features/ai-enrich/AIEnrichSection.d.ts.map +1 -1
  57. package/dist/components/features/index.cjs +2 -2
  58. package/dist/components/features/index.js +1 -1
  59. package/dist/components/help-center-pages/index.cjs +22 -22
  60. package/dist/components/help-center-pages/index.js +13 -13
  61. package/dist/components/index.cjs +132 -138
  62. package/dist/components/index.cjs.map +1 -1
  63. package/dist/components/index.js +13 -19
  64. package/dist/components/index.js.map +1 -1
  65. package/dist/components/meeting-scheduler/index.cjs +34 -34
  66. package/dist/components/meeting-scheduler/index.js +3 -3
  67. package/dist/components/navigation/index.cjs +2 -2
  68. package/dist/components/navigation/index.js +1 -1
  69. package/dist/components/onboarding-guides/index.cjs +5 -5
  70. package/dist/components/onboarding-guides/index.js +4 -4
  71. package/dist/components/related-content/index.cjs +3 -3
  72. package/dist/components/related-content/index.js +2 -2
  73. package/dist/components/tickets/index.cjs +6 -6
  74. package/dist/components/tickets/index.js +5 -5
  75. package/dist/components/ui/index.cjs +2 -8
  76. package/dist/components/ui/index.cjs.map +1 -1
  77. package/dist/components/ui/index.js +3 -9
  78. package/dist/components/ui/modal-v2.d.ts +27 -1
  79. package/dist/components/ui/modal-v2.d.ts.map +1 -1
  80. package/dist/components/ui/modal.d.ts +6 -26
  81. package/dist/components/ui/modal.d.ts.map +1 -1
  82. package/dist/index.cjs +2 -8
  83. package/dist/index.cjs.map +1 -1
  84. package/dist/index.js +3 -9
  85. package/package.json +1 -1
  86. package/src/components/features/ai-enrich/AIEnrichSection.tsx +1 -0
  87. package/src/components/ui/.modal-v2.md +21 -3
  88. package/src/components/ui/modal-v2.tsx +76 -6
  89. package/src/components/ui/modal.tsx +8 -31
  90. package/dist/chunk-SNFFVRXR.js.map +0 -1
  91. package/dist/chunk-Z34YRIM7.cjs.map +0 -1
  92. /package/dist/{chunk-7G734VXA.js.map → chunk-3MMSQ7SC.js.map} +0 -0
  93. /package/dist/{chunk-FOOQ3FN3.js.map → chunk-5NZLZTUD.js.map} +0 -0
  94. /package/dist/{chunk-WCXM43JA.js.map → chunk-CHZ57UPO.js.map} +0 -0
  95. /package/dist/{chunk-R53YBUQ3.js.map → chunk-CJ4KV7D2.js.map} +0 -0
  96. /package/dist/{chunk-GBPWUSVD.js.map → chunk-DCQN7QEU.js.map} +0 -0
  97. /package/dist/{chunk-2BSDGGMZ.js.map → chunk-EOZBJY22.js.map} +0 -0
  98. /package/dist/{chunk-TUPAJW3I.js.map → chunk-HDDPE36K.js.map} +0 -0
  99. /package/dist/{chunk-ERUCYF54.js.map → chunk-J6AT6PCW.js.map} +0 -0
  100. /package/dist/{chunk-6J7TWGNV.js.map → chunk-K3GU3GXP.js.map} +0 -0
  101. /package/dist/{chunk-AO7OPQKS.js.map → chunk-OYNCKOLU.js.map} +0 -0
  102. /package/dist/{chunk-RWZE5FC5.js.map → chunk-Q6I6XGMX.js.map} +0 -0
  103. /package/dist/{chunk-T65SKWRT.js.map → chunk-RCEVUZEI.js.map} +0 -0
  104. /package/dist/{chunk-SHLL6E5T.js.map → chunk-YVLIC36O.js.map} +0 -0
@@ -10,7 +10,7 @@ import {
10
10
  TASK_TYPE_LABELS,
11
11
  TASK_TYPE_TEXT_COLORS,
12
12
  getStatusColorScheme
13
- } from "./chunk-SNFFVRXR.js";
13
+ } from "./chunk-M4H6XBEL.js";
14
14
  import {
15
15
  init_next_navigation,
16
16
  usePathname,
@@ -262,4 +262,4 @@ export {
262
262
  DevCardRowSkeletonList,
263
263
  DeliveryRow
264
264
  };
265
- //# sourceMappingURL=chunk-ERUCYF54.js.map
265
+ //# sourceMappingURL=chunk-J6AT6PCW.js.map
@@ -4,7 +4,7 @@ import {
4
4
  formatFileSize,
5
5
  toGoogleSheetsEmbedUrl,
6
6
  toGoogleSheetsOriginalUrl
7
- } from "./chunk-SNFFVRXR.js";
7
+ } from "./chunk-M4H6XBEL.js";
8
8
  import {
9
9
  AdobePdfIcon,
10
10
  GoogleSheetsIcon
@@ -134,4 +134,4 @@ export {
134
134
  GoogleSheetsViewer,
135
135
  FileDownloadCard
136
136
  };
137
- //# sourceMappingURL=chunk-6J7TWGNV.js.map
137
+ //# sourceMappingURL=chunk-K3GU3GXP.js.map
@@ -10822,12 +10822,17 @@ init_cn();
10822
10822
  import { jsx as jsx59, jsxs as jsxs46 } from "react/jsx-runtime";
10823
10823
  var ANIMATION_DURATION = 200;
10824
10824
  var ModalContext = React26.createContext({});
10825
+ var MODAL_V2_SIZE_CLASSES = {
10826
+ default: "max-w-[min(28rem,calc(100vw-2rem))]",
10827
+ medium: "max-w-[min(42rem,calc(100vw-2rem))]",
10828
+ wide: "max-w-[min(1400px,calc(100vw-2rem))]"
10829
+ };
10825
10830
  var modalStack = [];
10826
10831
  var isInPortaledLayer = (node) => node instanceof Element && node.closest(
10827
10832
  '[data-radix-popper-content-wrapper], [role="listbox"], [role="menu"]'
10828
10833
  ) !== null;
10829
10834
  var Modal = React26.forwardRef(
10830
- ({ isOpen, onClose, children, className }, ref) => {
10835
+ ({ isOpen, onClose, children, className, size: size2 = "default" }, ref) => {
10831
10836
  const [isMounted, setIsMounted] = useState21(isOpen);
10832
10837
  const panelRef = React26.useRef(null);
10833
10838
  const restoreFocusRef = React26.useRef(null);
@@ -10963,11 +10968,17 @@ var Modal = React26.forwardRef(
10963
10968
  tabIndex: -1,
10964
10969
  "data-state": state,
10965
10970
  className: cn(
10966
- // min() keeps the desktop cap at 28rem while never letting content
10967
- // stretch the panel past the viewport (minus the mx-4 margins) on
10968
- // narrow screens. A single base utility (not md:max-w-md) so consumer
10971
+ // A single base utility per size (not md:max-w-*) so consumer
10969
10972
  // max-w-* overrides via className still win at every breakpoint.
10970
- "relative z-10 w-full min-w-0 max-w-[min(28rem,calc(100vw-2rem))] flex flex-col",
10973
+ "relative z-10 w-full min-w-0 flex flex-col",
10974
+ // The panel is a focus TARGET (tabIndex -1), not a control: focus
10975
+ // moves here on open so the dialog owns the keyboard, and the UA
10976
+ // then paints its default ring around the whole modal. Opening by
10977
+ // click hides it via :focus-visible heuristics, but a modal opened
10978
+ // from a URL on page load has no preceding pointer event, so the
10979
+ // ring showed on every refresh. Fields inside keep their own rings.
10980
+ "outline-none",
10981
+ MODAL_V2_SIZE_CLASSES[size2],
10971
10982
  "mx-4 mb-4 md:mb-0",
10972
10983
  // dvh, not vh: vh ignores a mobile browser's retracting URL bar, so
10973
10984
  // 90vh already overflowed behind Safari's toolbar. The `100%-2rem`
@@ -10977,6 +10988,11 @@ var Modal = React26.forwardRef(
10977
10988
  // stay pinned, ModalV2Content scrolls. min() picks 90dvh on any
10978
10989
  // viewport over 320px tall, so desktop is untouched.
10979
10990
  "max-h-[min(90dvh,100%-2rem)]",
10991
+ // `wide` also FIXES the desktop height rather than only capping it:
10992
+ // its columns scroll independently, and a height that tracks
10993
+ // content makes the panel jump as an entity hydrates in. Mobile
10994
+ // keeps the bottom-sheet's content-sized height.
10995
+ size2 === "wide" && "md:h-[min(90dvh,100%-2rem)]",
10980
10996
  "bg-ods-bg md:bg-ods-card",
10981
10997
  "border border-ods-border rounded-md shadow-xl",
10982
10998
  "p-[var(--spacing-system-xl)] gap-[var(--spacing-system-l)]",
@@ -11006,6 +11022,20 @@ var ModalContent = React26.forwardRef(
11006
11022
  ({ children, className }, ref) => /* @__PURE__ */ jsx59("div", { ref, className: cn("flex-1 min-h-0 overflow-y-auto", className), children })
11007
11023
  );
11008
11024
  ModalContent.displayName = "ModalV2Content";
11025
+ var ModalTwoColumn = React26.forwardRef(
11026
+ ({ left, right, className }, ref) => /* @__PURE__ */ jsx59(
11027
+ "div",
11028
+ {
11029
+ ref,
11030
+ className: cn("flex-1 min-h-0 overflow-y-auto lg:overflow-hidden", className),
11031
+ children: /* @__PURE__ */ jsxs46("div", { className: "grid grid-cols-1 gap-[var(--spacing-system-xl)] lg:h-full lg:min-h-0 lg:grid-cols-2 lg:grid-rows-[minmax(0,1fr)]", children: [
11032
+ /* @__PURE__ */ jsx59("div", { className: "min-h-0 space-y-[var(--spacing-system-lf)] lg:overflow-y-auto lg:pr-[var(--spacing-system-sf)]", children: left }),
11033
+ /* @__PURE__ */ jsx59("div", { className: "min-h-0 space-y-[var(--spacing-system-lf)] lg:overflow-y-auto lg:pr-[var(--spacing-system-sf)]", children: right })
11034
+ ] })
11035
+ }
11036
+ )
11037
+ );
11038
+ ModalTwoColumn.displayName = "ModalV2TwoColumn";
11009
11039
  var ModalHeader = React26.forwardRef(
11010
11040
  ({ children, className }, ref) => {
11011
11041
  const { onClose } = React26.useContext(ModalContext);
@@ -21607,15 +21637,8 @@ import * as React69 from "react";
21607
21637
  import { useEffect as useEffect35 } from "react";
21608
21638
  import { usePreventScroll } from "@react-aria/overlays";
21609
21639
  import { jsx as jsx144, jsxs as jsxs111 } from "react/jsx-runtime";
21610
- var MODAL_SIZE_CLASSES = {
21611
- default: "max-w-md",
21612
- wide: "max-w-[1400px]"
21613
- };
21614
- var TWO_COLUMN_MODAL_BODY_CLASS = "px-6 py-4 flex-1 min-h-0 flex flex-col max-h-[70vh]";
21615
- var TWO_COLUMN_MODAL_GRID_CLASS = "grid grid-cols-1 lg:grid-cols-2 gap-8 flex-1 min-h-0";
21616
- var TWO_COLUMN_MODAL_COLUMN_CLASS = "space-y-6 overflow-y-auto pr-4";
21617
21640
  var Modal2 = React69.forwardRef(
21618
- ({ isOpen, onClose, children, className, size: size2 = "default" }, ref) => {
21641
+ ({ isOpen, onClose, children, className }, ref) => {
21619
21642
  usePreventScroll({ isDisabled: !isOpen });
21620
21643
  useEffect35(() => {
21621
21644
  const handleKeyDown = (event) => {
@@ -21643,8 +21666,7 @@ var Modal2 = React69.forwardRef(
21643
21666
  {
21644
21667
  ref,
21645
21668
  className: cn(
21646
- "relative z-10 w-full mx-4 max-h-[90vh] flex flex-col overflow-hidden bg-ods-card border border-ods-border rounded-lg shadow-xl",
21647
- MODAL_SIZE_CLASSES[size2],
21669
+ "relative z-10 w-full mx-4 max-w-md max-h-[90vh] flex flex-col overflow-hidden bg-ods-card border border-ods-border rounded-lg shadow-xl",
21648
21670
  className
21649
21671
  ),
21650
21672
  role: "dialog",
@@ -35976,6 +35998,7 @@ var AIEnrichSection = ({
35976
35998
  showClearButton && onClear && /* @__PURE__ */ jsx266(
35977
35999
  Button,
35978
36000
  {
36001
+ type: "button",
35979
36002
  variant: "outline",
35980
36003
  size: "small-legacy",
35981
36004
  onClick: onClear,
@@ -61719,10 +61742,6 @@ export {
61719
61742
  DialogTitle,
61720
61743
  DialogDescription,
61721
61744
  ImageGalleryModal,
61722
- MODAL_SIZE_CLASSES,
61723
- TWO_COLUMN_MODAL_BODY_CLASS,
61724
- TWO_COLUMN_MODAL_GRID_CLASS,
61725
- TWO_COLUMN_MODAL_COLUMN_CLASS,
61726
61745
  Modal2 as Modal,
61727
61746
  ModalContent2 as ModalContent,
61728
61747
  ModalHeader2 as ModalHeader,
@@ -61730,6 +61749,7 @@ export {
61730
61749
  ModalFooter2 as ModalFooter,
61731
61750
  Modal as Modal2,
61732
61751
  ModalContent as ModalContent2,
61752
+ ModalTwoColumn,
61733
61753
  ModalHeader as ModalHeader2,
61734
61754
  ModalTitle as ModalTitle2,
61735
61755
  ModalFooter as ModalFooter2,
@@ -62667,4 +62687,4 @@ export {
62667
62687
  LogsList,
62668
62688
  assets
62669
62689
  };
62670
- //# sourceMappingURL=chunk-SNFFVRXR.js.map
62690
+ //# sourceMappingURL=chunk-M4H6XBEL.js.map