@yomologic/react-ui 0.6.4 → 0.6.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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +75 -0
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -4351,12 +4351,14 @@ var Nav = React14.forwardRef(
|
|
|
4351
4351
|
const variantItemStyles = {
|
|
4352
4352
|
primary: "rounded-md hover:bg-(--color-primary)/10 hover:text-(--color-primary) transition-colors duration-150",
|
|
4353
4353
|
secondary: "rounded-md hover:bg-(--color-muted) transition-colors duration-150",
|
|
4354
|
-
ghost: "rounded-md hover:bg-(--color-primary)/5 transition-colors duration-150"
|
|
4354
|
+
ghost: "rounded-md hover:bg-(--color-primary)/5 transition-colors duration-150",
|
|
4355
|
+
underline: "relative hover:text-(--color-primary) transition-colors duration-150 after:content-[''] after:absolute after:bottom-0 after:left-0 after:h-0.5 after:bg-(--color-primary) after:w-0 hover:after:w-full after:transition-all after:duration-300"
|
|
4355
4356
|
};
|
|
4356
4357
|
const activeItemStyles = {
|
|
4357
4358
|
primary: "bg-(--color-primary) text-white hover:bg-(--color-primary) hover:text-white",
|
|
4358
4359
|
secondary: "bg-(--color-muted) text-(--color-foreground) font-semibold",
|
|
4359
|
-
ghost: "text-(--color-primary) font-medium"
|
|
4360
|
+
ghost: "text-(--color-primary) font-medium",
|
|
4361
|
+
underline: "text-(--color-primary) after:content-[''] after:absolute after:bottom-0 after:left-0 after:h-0.5 after:w-full after:bg-(--color-primary)"
|
|
4360
4362
|
};
|
|
4361
4363
|
const breakpointClasses = {
|
|
4362
4364
|
sm: "sm:hidden",
|