mavi-dashboard 0.0.1 → 0.0.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/package.json +2 -2
- package/src/dashboard/app-sidebar.tsx +2 -2
- package/src/dashboard/button-theme.tsx +1 -1
- package/src/dashboard/dashboard-layout.tsx +2 -2
- package/src/dashboard/nav-brand.tsx +1 -1
- package/src/dashboard/nav-default.tsx +1 -1
- package/src/dashboard/nav-header.tsx +3 -3
- package/src/dashboard/nav-menu-group.tsx +2 -2
- package/src/dashboard/nav-user.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mavi-dashboard",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"description": "React dashboard layout with sidebar, header, and theme shell",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"typecheck": "tsc --noEmit"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@
|
|
33
|
+
"@heinricov/mavi-ui": ">=0.0.1",
|
|
34
34
|
"lucide-react": "^1.8.0",
|
|
35
35
|
"react": "^18.0.0 || ^19.0.0",
|
|
36
36
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
|
|
3
3
|
import * as React from "react"
|
|
4
|
-
import "@
|
|
4
|
+
import "@heinricov/mavi-ui/globals.css"
|
|
5
5
|
|
|
6
6
|
import {
|
|
7
7
|
Sidebar,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
SidebarFooter,
|
|
10
10
|
SidebarHeader,
|
|
11
11
|
SidebarRail,
|
|
12
|
-
} from "@
|
|
12
|
+
} from "@heinricov/mavi-ui/components/sidebar"
|
|
13
13
|
import { NavBrand } from "./nav-brand"
|
|
14
14
|
import { NavDefault } from "./nav-default"
|
|
15
15
|
import { NavMenuGroup } from "./nav-menu-group"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as React from "react"
|
|
4
4
|
import { MoonIcon, SunIcon } from "lucide-react"
|
|
5
5
|
import { useEffect, useState } from "react"
|
|
6
|
-
import { Button } from "@
|
|
6
|
+
import { Button } from "@heinricov/mavi-ui/components/button"
|
|
7
7
|
import { useTheme } from "./theme-provider"
|
|
8
8
|
|
|
9
9
|
const ThemeToggleButton = () => {
|
|
@@ -2,8 +2,8 @@ import * as React from "react"
|
|
|
2
2
|
import {
|
|
3
3
|
SidebarInset,
|
|
4
4
|
SidebarProvider,
|
|
5
|
-
} from "@
|
|
6
|
-
import { TooltipProvider } from "@
|
|
5
|
+
} from "@heinricov/mavi-ui/components/sidebar"
|
|
6
|
+
import { TooltipProvider } from "@heinricov/mavi-ui/components/tooltip"
|
|
7
7
|
import { AppSidebar } from "./app-sidebar"
|
|
8
8
|
import type { DashboardSideConfig } from "./menu-types"
|
|
9
9
|
import { NavHeader } from "./nav-header"
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
BreadcrumbList,
|
|
7
7
|
BreadcrumbPage,
|
|
8
8
|
BreadcrumbSeparator,
|
|
9
|
-
} from "@
|
|
10
|
-
import { Separator } from "@
|
|
11
|
-
import { SidebarTrigger } from "@
|
|
9
|
+
} from "@heinricov/mavi-ui/components/breadcrumb"
|
|
10
|
+
import { Separator } from "@heinricov/mavi-ui/components/separator"
|
|
11
|
+
import { SidebarTrigger } from "@heinricov/mavi-ui/components/sidebar"
|
|
12
12
|
import { getBreadcrumbTrail } from "./breadcrumb-trail"
|
|
13
13
|
import { NavUser } from "./nav-user"
|
|
14
14
|
import ThemeToggleButton from "./button-theme"
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Collapsible,
|
|
6
6
|
CollapsibleContent,
|
|
7
7
|
CollapsibleTrigger,
|
|
8
|
-
} from "@
|
|
8
|
+
} from "@heinricov/mavi-ui/components/collapsible"
|
|
9
9
|
import {
|
|
10
10
|
SidebarGroup,
|
|
11
11
|
SidebarGroupLabel,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
SidebarMenuSub,
|
|
16
16
|
SidebarMenuSubButton,
|
|
17
17
|
SidebarMenuSubItem,
|
|
18
|
-
} from "@
|
|
18
|
+
} from "@heinricov/mavi-ui/components/sidebar"
|
|
19
19
|
import type { NavGroup } from "./menu-types"
|
|
20
20
|
import { isSidebarNavActive } from "./nav-active"
|
|
21
21
|
import { ChevronRightIcon } from "lucide-react"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react"
|
|
2
2
|
import { LogOut, Settings, User } from "lucide-react"
|
|
3
|
-
import { Avatar, AvatarImage } from "@
|
|
3
|
+
import { Avatar, AvatarImage } from "@heinricov/mavi-ui/components/avatar"
|
|
4
4
|
import {
|
|
5
5
|
DropdownMenu,
|
|
6
6
|
DropdownMenuContent,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
DropdownMenuLabel,
|
|
9
9
|
DropdownMenuSeparator,
|
|
10
10
|
DropdownMenuTrigger,
|
|
11
|
-
} from "@
|
|
11
|
+
} from "@heinricov/mavi-ui/components/dropdown-menu"
|
|
12
12
|
|
|
13
13
|
export function NavUser({
|
|
14
14
|
user,
|