Skip to content

Commit 84208ef

Browse files
Merge pull request #140 from linked-planet/dev
Update package dependencies: bump vite to 6.2.6, caniuse-lite to 1.0.…
2 parents b754518 + b5bf8c7 commit 84208ef

File tree

3 files changed

+23
-15
lines changed

3 files changed

+23
-15
lines changed

library/src/components/sidenavigation/SideNavigation.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,8 @@ type _NestableNavigationContentProps = {
541541
goBackButtonIconStyle?: React.CSSProperties
542542
goBackButtonTitleClassName?: string
543543
goBackButtonTitleStyle?: React.CSSProperties
544+
contentClassName?: string
545+
contentStyle?: React.CSSProperties
544546
children: React.ReactNode
545547
className?: string
546548
style?: React.CSSProperties
@@ -582,6 +584,8 @@ function NestableNavigationContent({
582584
goBackButtonIconStyle,
583585
goBackButtonTitleClassName,
584586
goBackButtonTitleStyle,
587+
contentClassName,
588+
contentStyle,
585589
children,
586590
sideNavStoreIdent = "default",
587591
className,
@@ -697,7 +701,11 @@ function NestableNavigationContent({
697701
ease: "easeInOut",
698702
//delay: animTime * 0.5,
699703
}}
700-
className="border-border-separator box-border flex size-full border-b-2 border-t-2 border-solid border-x-0"
704+
className={twMerge(
705+
"border-border-separator box-border flex size-full border-b-2 border-t-2 border-solid border-x-0",
706+
contentClassName,
707+
)}
708+
style={contentStyle}
701709
onAnimationStart={() => {
702710
onAnimationStart?.()
703711
}}

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)