@logickernel/bridge 0.17.1 → 0.17.2

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.
@@ -1,4 +1,3 @@
1
- import { ThemeProvider } from 'next-themes';
2
1
  import * as React2 from 'react';
3
2
  import { useState, useEffect } from 'react';
4
3
  import { Slot } from '@radix-ui/react-slot';
@@ -16,7 +15,7 @@ import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
16
15
  import * as AvatarPrimitive from '@radix-ui/react-avatar';
17
16
  import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
18
17
 
19
- // src/next/components/app-layout.tsx
18
+ // src/next/components/ui/sidebar.tsx
20
19
  var MOBILE_BREAKPOINT = 768;
21
20
  function useIsMobile() {
22
21
  const [isMobile, setIsMobile] = React2.useState(void 0);
@@ -713,8 +712,7 @@ var ICON_MAP = {
713
712
  ChevronsUpDown: LucideIcons.ChevronsUpDown,
714
713
  ChevronRight: LucideIcons.ChevronRight,
715
714
  BadgeCheck: LucideIcons.BadgeCheck,
716
- LogOut: LucideIcons.LogOut,
717
- PieChart: LucideIcons.PieChart
715
+ LogOut: LucideIcons.LogOut
718
716
  // Add more icons as needed
719
717
  };
720
718
  function getIconComponent(icon) {
@@ -1327,26 +1325,17 @@ function AppLayout({
1327
1325
  apiBaseUrl,
1328
1326
  children
1329
1327
  }) {
1330
- return /* @__PURE__ */ jsx(
1331
- ThemeProvider,
1332
- {
1333
- attribute: "class",
1334
- defaultTheme: "system",
1335
- enableSystem: true,
1336
- disableTransitionOnChange: true,
1337
- children: /* @__PURE__ */ jsxs(SidebarProvider, { children: [
1338
- /* @__PURE__ */ jsx(
1339
- AppSidebar,
1340
- {
1341
- user,
1342
- organizationId,
1343
- apiBaseUrl
1344
- }
1345
- ),
1346
- /* @__PURE__ */ jsx(SidebarInset, { children: /* @__PURE__ */ jsx(SidebarContent2, { children }) })
1347
- ] })
1348
- }
1349
- );
1328
+ return /* @__PURE__ */ jsxs(SidebarProvider, { children: [
1329
+ /* @__PURE__ */ jsx(
1330
+ AppSidebar,
1331
+ {
1332
+ user,
1333
+ organizationId,
1334
+ apiBaseUrl
1335
+ }
1336
+ ),
1337
+ /* @__PURE__ */ jsx(SidebarInset, { children: /* @__PURE__ */ jsx(SidebarContent2, { children }) })
1338
+ ] });
1350
1339
  }
1351
1340
 
1352
1341
  export { AppLayout, AppSidebar, NavMain, NavUser, TeamSwitcher, getIconComponent, useNavigation };