@c-rex/ui 0.3.0-build.35 → 0.3.0-build.38
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/navigation-menu.tsx +1 -1
- package/src/sidebar.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c-rex/ui",
|
|
3
|
-
"version": "0.3.0-build.
|
|
3
|
+
"version": "0.3.0-build.38",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"src"
|
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
"class-variance-authority": "^0.7.1",
|
|
192
192
|
"clsx": "^2.1.1",
|
|
193
193
|
"cmdk": "^1.1.1",
|
|
194
|
-
"lucide-react": "^0.
|
|
194
|
+
"lucide-react": "^0.511.0",
|
|
195
195
|
"radix-ui": "^1.4.3",
|
|
196
196
|
"react": "^18.3.1",
|
|
197
197
|
"react-dom": "^18.3.1",
|
package/src/navigation-menu.tsx
CHANGED
|
@@ -37,7 +37,7 @@ function NavigationMenuList({
|
|
|
37
37
|
<NavigationMenuPrimitive.List
|
|
38
38
|
data-slot="navigation-menu-list"
|
|
39
39
|
className={cn(
|
|
40
|
-
"group flex flex-1 list-none items-center justify-center
|
|
40
|
+
"group flex flex-1 list-none items-center justify-center",
|
|
41
41
|
className
|
|
42
42
|
)}
|
|
43
43
|
{...props}
|
package/src/sidebar.tsx
CHANGED
|
@@ -9,7 +9,7 @@ import { useBreakpoint } from "./hooks";
|
|
|
9
9
|
import { Button } from "./button";
|
|
10
10
|
import { Input } from "./input";
|
|
11
11
|
import { Separator } from "./separator";
|
|
12
|
-
import { Sheet, SheetContent } from "./sheet";
|
|
12
|
+
import { Sheet, SheetContent, SheetTitle } from "./sheet";
|
|
13
13
|
import { Skeleton } from "./skeleton";
|
|
14
14
|
import {
|
|
15
15
|
Tooltip,
|
|
@@ -251,6 +251,7 @@ const Sidebar = React.forwardRef<
|
|
|
251
251
|
}
|
|
252
252
|
side={side}
|
|
253
253
|
>
|
|
254
|
+
<SheetTitle className="sr-only">Sidebar</SheetTitle>
|
|
254
255
|
<div className={cn(
|
|
255
256
|
side === "right" && "pl-4",
|
|
256
257
|
"flex h-full w-full flex-col"
|
|
@@ -300,7 +301,6 @@ const Sidebar = React.forwardRef<
|
|
|
300
301
|
data-sidebar="sidebar"
|
|
301
302
|
className={cn(
|
|
302
303
|
"flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-sidebar-border group-data-[variant=floating]:shadow",
|
|
303
|
-
side === "left" && "bg-sidebar"
|
|
304
304
|
)}>
|
|
305
305
|
{children}
|
|
306
306
|
</div>
|