@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.
- package/dist/next/components.cjs +13 -24
- package/dist/next/components.cjs.map +1 -1
- package/dist/next/components.js +13 -24
- package/dist/next/components.js.map +1 -1
- package/dist/next/index.cjs +19 -10
- package/dist/next/index.cjs.map +1 -1
- package/dist/next/index.js +19 -10
- package/dist/next/index.js.map +1 -1
- package/package.json +8 -3
package/dist/next/components.cjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var nextThemes = require('next-themes');
|
|
4
3
|
var React2 = require('react');
|
|
5
4
|
var reactSlot = require('@radix-ui/react-slot');
|
|
6
5
|
var classVarianceAuthority = require('class-variance-authority');
|
|
@@ -45,7 +44,7 @@ var CollapsiblePrimitive__namespace = /*#__PURE__*/_interopNamespace(Collapsible
|
|
|
45
44
|
var AvatarPrimitive__namespace = /*#__PURE__*/_interopNamespace(AvatarPrimitive);
|
|
46
45
|
var DropdownMenuPrimitive__namespace = /*#__PURE__*/_interopNamespace(DropdownMenuPrimitive);
|
|
47
46
|
|
|
48
|
-
// src/next/components/
|
|
47
|
+
// src/next/components/ui/sidebar.tsx
|
|
49
48
|
var MOBILE_BREAKPOINT = 768;
|
|
50
49
|
function useIsMobile() {
|
|
51
50
|
const [isMobile, setIsMobile] = React2__namespace.useState(void 0);
|
|
@@ -742,8 +741,7 @@ var ICON_MAP = {
|
|
|
742
741
|
ChevronsUpDown: LucideIcons__namespace.ChevronsUpDown,
|
|
743
742
|
ChevronRight: LucideIcons__namespace.ChevronRight,
|
|
744
743
|
BadgeCheck: LucideIcons__namespace.BadgeCheck,
|
|
745
|
-
LogOut: LucideIcons__namespace.LogOut
|
|
746
|
-
PieChart: LucideIcons__namespace.PieChart
|
|
744
|
+
LogOut: LucideIcons__namespace.LogOut
|
|
747
745
|
// Add more icons as needed
|
|
748
746
|
};
|
|
749
747
|
function getIconComponent(icon) {
|
|
@@ -1356,26 +1354,17 @@ function AppLayout({
|
|
|
1356
1354
|
apiBaseUrl,
|
|
1357
1355
|
children
|
|
1358
1356
|
}) {
|
|
1359
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
user,
|
|
1371
|
-
organizationId,
|
|
1372
|
-
apiBaseUrl
|
|
1373
|
-
}
|
|
1374
|
-
),
|
|
1375
|
-
/* @__PURE__ */ jsxRuntime.jsx(SidebarInset, { children: /* @__PURE__ */ jsxRuntime.jsx(SidebarContent2, { children }) })
|
|
1376
|
-
] })
|
|
1377
|
-
}
|
|
1378
|
-
);
|
|
1357
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(SidebarProvider, { children: [
|
|
1358
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1359
|
+
AppSidebar,
|
|
1360
|
+
{
|
|
1361
|
+
user,
|
|
1362
|
+
organizationId,
|
|
1363
|
+
apiBaseUrl
|
|
1364
|
+
}
|
|
1365
|
+
),
|
|
1366
|
+
/* @__PURE__ */ jsxRuntime.jsx(SidebarInset, { children: /* @__PURE__ */ jsxRuntime.jsx(SidebarContent2, { children }) })
|
|
1367
|
+
] });
|
|
1379
1368
|
}
|
|
1380
1369
|
|
|
1381
1370
|
exports.AppLayout = AppLayout;
|