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