@logickernel/bridge 0.17.0 → 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);
@@ -1326,26 +1325,17 @@ function AppLayout({
1326
1325
  apiBaseUrl,
1327
1326
  children
1328
1327
  }) {
1329
- return /* @__PURE__ */ jsx(
1330
- ThemeProvider,
1331
- {
1332
- attribute: "class",
1333
- defaultTheme: "system",
1334
- enableSystem: true,
1335
- disableTransitionOnChange: true,
1336
- children: /* @__PURE__ */ jsxs(SidebarProvider, { children: [
1337
- /* @__PURE__ */ jsx(
1338
- AppSidebar,
1339
- {
1340
- user,
1341
- organizationId,
1342
- apiBaseUrl
1343
- }
1344
- ),
1345
- /* @__PURE__ */ jsx(SidebarInset, { children: /* @__PURE__ */ jsx(SidebarContent2, { children }) })
1346
- ] })
1347
- }
1348
- );
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
+ ] });
1349
1339
  }
1350
1340
 
1351
1341
  export { AppLayout, AppSidebar, NavMain, NavUser, TeamSwitcher, getIconComponent, useNavigation };