@flamingo-stack/openframe-frontend-core 0.0.384 → 0.0.385

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 (102) hide show
  1. package/dist/{chunk-MMYAOMD4.cjs → chunk-2KDXNL7M.cjs} +7 -7
  2. package/dist/{chunk-MMYAOMD4.cjs.map → chunk-2KDXNL7M.cjs.map} +1 -1
  3. package/dist/{chunk-KJ3O7A65.js → chunk-53R2NLYW.js} +4 -4
  4. package/dist/{chunk-AZOME5YC.cjs → chunk-5I4ERVP4.cjs} +57 -57
  5. package/dist/{chunk-AZOME5YC.cjs.map → chunk-5I4ERVP4.cjs.map} +1 -1
  6. package/dist/{chunk-Q2OBKYTK.cjs → chunk-5O2QED4E.cjs} +37 -37
  7. package/dist/{chunk-Q2OBKYTK.cjs.map → chunk-5O2QED4E.cjs.map} +1 -1
  8. package/dist/{chunk-MVLWQ6OZ.js → chunk-7DVZECFW.js} +2 -2
  9. package/dist/{chunk-EEUUTWFQ.js → chunk-ACKCFE7D.js} +2 -2
  10. package/dist/{chunk-LMIN2CWQ.js → chunk-ACYF5YVM.js} +2 -2
  11. package/dist/{chunk-FV2FQQYF.cjs → chunk-CIBBHSCP.cjs} +12 -12
  12. package/dist/{chunk-FV2FQQYF.cjs.map → chunk-CIBBHSCP.cjs.map} +1 -1
  13. package/dist/{chunk-WRAECAST.cjs → chunk-DN5AIYP4.cjs} +9 -9
  14. package/dist/{chunk-WRAECAST.cjs.map → chunk-DN5AIYP4.cjs.map} +1 -1
  15. package/dist/{chunk-UOLDL3U3.js → chunk-IDF4BZHL.js} +2 -2
  16. package/dist/{chunk-FBUTS5UQ.js → chunk-K557GA5G.js} +4 -4
  17. package/dist/{chunk-JEADRVBL.js → chunk-L5FDBXYI.js} +4 -4
  18. package/dist/{chunk-Q6EGRFVE.cjs → chunk-LDOEIJIA.cjs} +62 -62
  19. package/dist/{chunk-Q6EGRFVE.cjs.map → chunk-LDOEIJIA.cjs.map} +1 -1
  20. package/dist/{chunk-H7PRWFAQ.cjs → chunk-LFAEFMYA.cjs} +26 -26
  21. package/dist/{chunk-H7PRWFAQ.cjs.map → chunk-LFAEFMYA.cjs.map} +1 -1
  22. package/dist/{chunk-KI5QS5C2.cjs → chunk-LRLY7VFQ.cjs} +15 -15
  23. package/dist/{chunk-KI5QS5C2.cjs.map → chunk-LRLY7VFQ.cjs.map} +1 -1
  24. package/dist/{chunk-XGE53EOX.js → chunk-NTHZI6VG.js} +2 -2
  25. package/dist/{chunk-K7YBWMJ6.js → chunk-PNJXI4NZ.js} +4 -4
  26. package/dist/{chunk-FSN3GIUJ.cjs → chunk-QXKQ2WZF.cjs} +25 -25
  27. package/dist/{chunk-FSN3GIUJ.cjs.map → chunk-QXKQ2WZF.cjs.map} +1 -1
  28. package/dist/{chunk-FQR2CNKB.js → chunk-UPHZGPXZ.js} +2 -2
  29. package/dist/{chunk-NGWYDTZZ.cjs → chunk-VZHEFPPH.cjs} +46 -44
  30. package/dist/chunk-VZHEFPPH.cjs.map +1 -0
  31. package/dist/{chunk-FG4J67VX.cjs → chunk-X5DBARHE.cjs} +31 -31
  32. package/dist/{chunk-FG4J67VX.cjs.map → chunk-X5DBARHE.cjs.map} +1 -1
  33. package/dist/{chunk-VZ4NJBQT.js → chunk-XQ77CK5C.js} +46 -44
  34. package/dist/{chunk-VZ4NJBQT.js.map → chunk-XQ77CK5C.js.map} +1 -1
  35. package/dist/{chunk-U22GJXOD.js → chunk-YDYO7DRL.js} +2 -2
  36. package/dist/{chunk-KJTGCH3I.cjs → chunk-ZRVWRNVJ.cjs} +5 -5
  37. package/dist/{chunk-KJTGCH3I.cjs.map → chunk-ZRVWRNVJ.cjs.map} +1 -1
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/index.cjs +2 -2
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/contact/index.cjs +3 -3
  43. package/dist/components/contact/index.js +2 -2
  44. package/dist/components/docs/index.cjs +5 -5
  45. package/dist/components/docs/index.js +4 -4
  46. package/dist/components/embeds/index.cjs +3 -3
  47. package/dist/components/embeds/index.js +2 -2
  48. package/dist/components/faq/index.cjs +3 -3
  49. package/dist/components/faq/index.js +2 -2
  50. package/dist/components/features/index.cjs +2 -2
  51. package/dist/components/features/index.js +1 -1
  52. package/dist/components/help-center-pages/index.cjs +20 -20
  53. package/dist/components/help-center-pages/index.js +11 -11
  54. package/dist/components/index.cjs +120 -120
  55. package/dist/components/index.js +9 -9
  56. package/dist/components/navigation/app-layout.d.ts +9 -1
  57. package/dist/components/navigation/app-layout.d.ts.map +1 -1
  58. package/dist/components/navigation/index.cjs +2 -2
  59. package/dist/components/navigation/index.js +1 -1
  60. package/dist/components/navigation/navigation-sidebar-item.d.ts.map +1 -1
  61. package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
  62. package/dist/components/onboarding-guides/index.cjs +5 -5
  63. package/dist/components/onboarding-guides/index.js +4 -4
  64. package/dist/components/related-content/index.cjs +3 -3
  65. package/dist/components/related-content/index.js +2 -2
  66. package/dist/components/tickets/index.cjs +5 -5
  67. package/dist/components/tickets/index.js +4 -4
  68. package/dist/components/ui/data-table/data-table-body.d.ts +6 -1
  69. package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
  70. package/dist/components/ui/data-table/data-table-row.d.ts +7 -1
  71. package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
  72. package/dist/components/ui/data-table/index.d.ts +1 -1
  73. package/dist/components/ui/index.cjs +2 -2
  74. package/dist/components/ui/index.js +1 -1
  75. package/dist/index.cjs +2 -2
  76. package/dist/index.js +1 -1
  77. package/dist/tailwind.config.cjs +4 -1
  78. package/dist/tailwind.config.cjs.map +1 -1
  79. package/dist/tailwind.config.js +4 -1
  80. package/dist/tailwind.config.js.map +1 -1
  81. package/dist/types/navigation.d.ts +0 -1
  82. package/dist/types/navigation.d.ts.map +1 -1
  83. package/package.json +1 -1
  84. package/src/components/navigation/app-layout.tsx +17 -1
  85. package/src/components/navigation/navigation-sidebar-item.tsx +1 -12
  86. package/src/components/navigation/navigation-sidebar.tsx +6 -1
  87. package/src/components/ui/data-table/data-table-body.tsx +7 -0
  88. package/src/components/ui/data-table/data-table-row.tsx +12 -1
  89. package/src/types/navigation.ts +0 -1
  90. package/tailwind.config.ts +4 -1
  91. package/dist/chunk-NGWYDTZZ.cjs.map +0 -1
  92. /package/dist/{chunk-KJ3O7A65.js.map → chunk-53R2NLYW.js.map} +0 -0
  93. /package/dist/{chunk-MVLWQ6OZ.js.map → chunk-7DVZECFW.js.map} +0 -0
  94. /package/dist/{chunk-EEUUTWFQ.js.map → chunk-ACKCFE7D.js.map} +0 -0
  95. /package/dist/{chunk-LMIN2CWQ.js.map → chunk-ACYF5YVM.js.map} +0 -0
  96. /package/dist/{chunk-UOLDL3U3.js.map → chunk-IDF4BZHL.js.map} +0 -0
  97. /package/dist/{chunk-FBUTS5UQ.js.map → chunk-K557GA5G.js.map} +0 -0
  98. /package/dist/{chunk-JEADRVBL.js.map → chunk-L5FDBXYI.js.map} +0 -0
  99. /package/dist/{chunk-XGE53EOX.js.map → chunk-NTHZI6VG.js.map} +0 -0
  100. /package/dist/{chunk-K7YBWMJ6.js.map → chunk-PNJXI4NZ.js.map} +0 -0
  101. /package/dist/{chunk-FQR2CNKB.js.map → chunk-UPHZGPXZ.js.map} +0 -0
  102. /package/dist/{chunk-U22GJXOD.js.map → chunk-YDYO7DRL.js.map} +0 -0
@@ -34025,17 +34025,7 @@ function NavigationSidebarItemButton({
34025
34025
  children: item.label
34026
34026
  }
34027
34027
  ),
34028
- hasUnread && showLabel && /* @__PURE__ */ jsx269("span", { className: "bg-ods-accent flex items-center justify-center flex-shrink-0 p-2 rounded-md size-6", children: /* @__PURE__ */ jsx269("span", { className: "text-xs font-medium text-ods-text-on-accent", children: unreadCount > 99 ? "99+" : unreadCount }) }),
34029
- item.badge && showLabel && /* @__PURE__ */ jsx269(
34030
- "span",
34031
- {
34032
- className: cn(
34033
- "text-sm flex-shrink-0 transition-colors duration-300",
34034
- isActive && !disabled ? "text-ods-accent" : "text-ods-text-secondary"
34035
- ),
34036
- children: item.badge
34037
- }
34038
- )
34028
+ hasUnread && showLabel && /* @__PURE__ */ jsx269("span", { className: "bg-ods-accent flex items-center justify-center flex-shrink-0 p-2 rounded-md size-6", children: /* @__PURE__ */ jsx269("span", { className: "text-h5 text-ods-text-on-accent", children: unreadCount > 99 ? "99+" : unreadCount }) })
34039
34029
  ]
34040
34030
  }
34041
34031
  );
@@ -34181,7 +34171,12 @@ function NavigationSidebar({ config, disabled = false }) {
34181
34171
  className: cn(
34182
34172
  "flex-col hidden md:flex flex-shrink-0",
34183
34173
  "bg-ods-card border-r border-ods-border",
34184
- isTablet ? "fixed top-0 left-0 h-screen z-[45]" : "relative h-full",
34174
+ // Tablet: float the sidebar over content. Anchored to the layout row
34175
+ // (`absolute` within AppLayout's `relative` row) — NOT the viewport —
34176
+ // so an optional `topBar` above the row is not overlapped. With no
34177
+ // topBar the row spans the full viewport, so this is visually
34178
+ // identical to a viewport-fixed sidebar.
34179
+ isTablet ? "absolute inset-y-0 left-0 z-[45]" : "relative h-full",
34185
34180
  transitionsEnabled && "transition-[width] duration-300",
34186
34181
  config.className
34187
34182
  ),
@@ -34814,7 +34809,8 @@ function AppLayout({
34814
34809
  className,
34815
34810
  mobileBurgerMenuProps,
34816
34811
  disabled = false,
34817
- drawer
34812
+ drawer,
34813
+ topBar
34818
34814
  }) {
34819
34815
  const [mobileMenuOpen, setMobileMenuOpen] = useState85(false);
34820
34816
  const [drawerContainer, setDrawerContainer] = useState85(null);
@@ -34838,40 +34834,43 @@ function AppLayout({
34838
34834
  return () => drawerHandlesRef.current.delete(handle);
34839
34835
  }
34840
34836
  }), []);
34841
- return /* @__PURE__ */ jsx277(AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ jsx277(AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ jsxs219("div", { className: cn("flex h-screen bg-ods-bg", className), children: [
34842
- /* @__PURE__ */ jsx277(NavigationSidebar, { config: sidebarConfig, disabled }),
34843
- /* @__PURE__ */ jsx277(
34844
- MobileBurgerMenu,
34845
- {
34846
- ...mobileBurgerMenuProps,
34847
- isOpen: mobileMenuOpen,
34848
- onClose: handleCloseMobileMenu,
34849
- config: sidebarConfig,
34850
- disabled
34851
- }
34852
- ),
34853
- /* @__PURE__ */ jsxs219("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
34837
+ return /* @__PURE__ */ jsx277(AppLayoutDrawerContainerContext.Provider, { value: drawerContainer, children: /* @__PURE__ */ jsx277(AppLayoutDrawerCoordinationContext.Provider, { value: drawerCoordination, children: /* @__PURE__ */ jsxs219("div", { className: cn("flex flex-col h-screen bg-ods-bg", className), children: [
34838
+ topBar,
34839
+ /* @__PURE__ */ jsxs219("div", { className: "flex flex-1 min-h-0 relative", children: [
34840
+ /* @__PURE__ */ jsx277(NavigationSidebar, { config: sidebarConfig, disabled }),
34854
34841
  /* @__PURE__ */ jsx277(
34855
- AppHeader,
34842
+ MobileBurgerMenu,
34856
34843
  {
34857
- ...headerProps,
34858
- isMobileMenuOpen: mobileMenuOpen,
34859
- onToggleMobileMenu: handleToggleMobileMenu,
34844
+ ...mobileBurgerMenuProps,
34845
+ isOpen: mobileMenuOpen,
34846
+ onClose: handleCloseMobileMenu,
34847
+ config: sidebarConfig,
34860
34848
  disabled
34861
34849
  }
34862
34850
  ),
34863
- /* @__PURE__ */ jsx277(NotificationDrawer, {}),
34864
- /* @__PURE__ */ jsxs219(
34865
- "div",
34866
- {
34867
- ref: setDrawerContainer,
34868
- className: "flex-1 flex flex-col relative overflow-hidden",
34869
- children: [
34870
- /* @__PURE__ */ jsx277("main", { className: cn("flex-1 overflow-y-auto", mainClassName), children: /* @__PURE__ */ jsx277(Suspense2, { fallback: loadingFallback ?? null, children }) }),
34871
- drawer
34872
- ]
34873
- }
34874
- )
34851
+ /* @__PURE__ */ jsxs219("div", { className: "flex-1 flex flex-col overflow-hidden", children: [
34852
+ /* @__PURE__ */ jsx277(
34853
+ AppHeader,
34854
+ {
34855
+ ...headerProps,
34856
+ isMobileMenuOpen: mobileMenuOpen,
34857
+ onToggleMobileMenu: handleToggleMobileMenu,
34858
+ disabled
34859
+ }
34860
+ ),
34861
+ /* @__PURE__ */ jsx277(NotificationDrawer, {}),
34862
+ /* @__PURE__ */ jsxs219(
34863
+ "div",
34864
+ {
34865
+ ref: setDrawerContainer,
34866
+ className: "flex-1 flex flex-col relative overflow-hidden",
34867
+ children: [
34868
+ /* @__PURE__ */ jsx277("main", { className: cn("flex-1 overflow-y-auto", mainClassName), children: /* @__PURE__ */ jsx277(Suspense2, { fallback: loadingFallback ?? null, children }) }),
34869
+ drawer
34870
+ ]
34871
+ }
34872
+ )
34873
+ ] })
34875
34874
  ] })
34876
34875
  ] }) }) });
34877
34876
  }
@@ -38390,6 +38389,7 @@ function DataTableRowImpl({
38390
38389
  onClick,
38391
38390
  href,
38392
38391
  compact,
38392
+ autoHeight,
38393
38393
  className,
38394
38394
  subRow
38395
38395
  }) {
@@ -38423,7 +38423,7 @@ function DataTableRowImpl({
38423
38423
  {
38424
38424
  className: cn(
38425
38425
  "flex items-center gap-[var(--spacing-system-mf)] px-[var(--spacing-system-mf)]",
38426
- compact ? "py-[var(--spacing-system-xsf)]" : `py-0 ${ROW_HEIGHT_DESKTOP2}`,
38426
+ compact ? "py-[var(--spacing-system-xsf)]" : autoHeight ? "py-[var(--spacing-system-sf)] min-h-[68px] md:min-h-[80px]" : `py-0 ${ROW_HEIGHT_DESKTOP2}`,
38427
38427
  hasSubRow && "border-b border-ods-border"
38428
38428
  ),
38429
38429
  children: row.getVisibleCells().map((cell) => {
@@ -38498,6 +38498,7 @@ function DataTableBody({
38498
38498
  className,
38499
38499
  rowClassName,
38500
38500
  compact,
38501
+ autoHeight,
38501
38502
  onRowClick,
38502
38503
  rowHref,
38503
38504
  minRows,
@@ -38524,6 +38525,7 @@ function DataTableBody({
38524
38525
  onClick: onRowClick,
38525
38526
  href,
38526
38527
  compact,
38528
+ autoHeight,
38527
38529
  className: cls,
38528
38530
  subRow: renderSubRow?.(item)
38529
38531
  },
@@ -51826,4 +51828,4 @@ export {
51826
51828
  LogsList,
51827
51829
  assets
51828
51830
  };
51829
- //# sourceMappingURL=chunk-VZ4NJBQT.js.map
51831
+ //# sourceMappingURL=chunk-XQ77CK5C.js.map