@neoptocom/neopto-ui 0.9.7 → 0.9.8
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.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/Button.tsx +1 -1
package/dist/index.cjs
CHANGED
|
@@ -991,7 +991,7 @@ function getButtonClasses(variant = "primary", size = "md", fullWidth, className
|
|
|
991
991
|
const variants = {
|
|
992
992
|
primary: "bg-cyan-500 text-white hover:bg-cyan-400 active:bg-cyan-600 disabled:bg-neutral-400",
|
|
993
993
|
secondary: "border border-cyan-500 text-cyan-500 bg-transparent hover:bg-cyan-50 active:bg-cyan-100 disabled:border-neutral-400 disabled:text-neutral-400",
|
|
994
|
-
ghost: "bg-transparent text-
|
|
994
|
+
ghost: "bg-transparent text-[var(--fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50"
|
|
995
995
|
};
|
|
996
996
|
const sizes = {
|
|
997
997
|
sm: "h-9 px-3",
|
package/dist/index.js
CHANGED
|
@@ -970,7 +970,7 @@ function getButtonClasses(variant = "primary", size = "md", fullWidth, className
|
|
|
970
970
|
const variants = {
|
|
971
971
|
primary: "bg-cyan-500 text-white hover:bg-cyan-400 active:bg-cyan-600 disabled:bg-neutral-400",
|
|
972
972
|
secondary: "border border-cyan-500 text-cyan-500 bg-transparent hover:bg-cyan-50 active:bg-cyan-100 disabled:border-neutral-400 disabled:text-neutral-400",
|
|
973
|
-
ghost: "bg-transparent text-
|
|
973
|
+
ghost: "bg-transparent text-[var(--fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50"
|
|
974
974
|
};
|
|
975
975
|
const sizes = {
|
|
976
976
|
sm: "h-9 px-3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neoptocom/neopto-ui",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A modern React component library built with Tailwind CSS v4 and TypeScript. Features dark mode, design tokens, and comprehensive Storybook documentation. Requires Tailwind v4+.",
|
|
6
6
|
"keywords": [
|
|
@@ -25,7 +25,7 @@ function getButtonClasses(
|
|
|
25
25
|
const variants = {
|
|
26
26
|
primary: "bg-cyan-500 text-white hover:bg-cyan-400 active:bg-cyan-600 disabled:bg-neutral-400",
|
|
27
27
|
secondary: "border border-cyan-500 text-cyan-500 bg-transparent hover:bg-cyan-50 active:bg-cyan-100 disabled:border-neutral-400 disabled:text-neutral-400",
|
|
28
|
-
ghost: "bg-transparent text-
|
|
28
|
+
ghost: "bg-transparent text-[var(--fg)] hover:bg-[var(--muted)] active:bg-[var(--muted)] disabled:opacity-50"
|
|
29
29
|
};
|
|
30
30
|
|
|
31
31
|
const sizes = {
|