Skip to content

Commit c3e5454

Browse files
committed
Update package dependencies: bump vite to 6.2.6, caniuse-lite to 1.0.30001713, electron-to-chromium to 1.5.135, and hookified to 1.8.2. Enhance SideNavigation component with additional contentClassName and contentStyle props for improved customization.
1 parent 1b3621a commit c3e5454

File tree

3 files changed

+21
-15
lines changed

3 files changed

+21
-15
lines changed

library/src/components/sidenavigation/SideNavigation.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,6 +582,8 @@ function NestableNavigationContent({
582582
goBackButtonIconStyle,
583583
goBackButtonTitleClassName,
584584
goBackButtonTitleStyle,
585+
contentClassName,
586+
contentStyle,
585587
children,
586588
sideNavStoreIdent = "default",
587589
className,
@@ -697,7 +699,11 @@ function NestableNavigationContent({
697699
ease: "easeInOut",
698700
//delay: animTime * 0.5,
699701
}}
700-
className="border-border-separator box-border flex size-full border-b-2 border-t-2 border-solid border-x-0"
702+
className={twMerge(
703+
"border-border-separator box-border flex size-full border-b-2 border-t-2 border-solid border-x-0",
704+
contentClassName,
705+
)}
706+
style={contentStyle}
701707
onAnimationStart={() => {
702708
onAnimationStart?.()
703709
}}

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"tailwindcss": "^4.0.3",
153153
"typescript": "^5.8.3",
154154
"typescript-plugin-css-modules": "^5.1.0",
155-
"vite": "^6.2.5",
155+
"vite": "^6.2.6",
156156
"vite-plugin-dts": "^4.5.3",
157157
"vitest": "^3.1.1"
158158
},

0 commit comments

Comments
 (0)