@alexandregme/zljs 1.5.0 → 1.6.0
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.ts +1 -1
- package/dist/index.js +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ import 'react-hook-form';
|
|
|
9
9
|
/**
|
|
10
10
|
* Semantic colors for action-oriented components (Button, Heading, etc.)
|
|
11
11
|
*/
|
|
12
|
-
type SemanticColor = "primary" | "success" | "danger" | "warning" | "info" | "none";
|
|
12
|
+
type SemanticColor = "primary" | "success" | "danger" | "warning" | "info" | "muted" | "none";
|
|
13
13
|
/**
|
|
14
14
|
* Literal colors for data visualization components (StatsCard, etc.)
|
|
15
15
|
*/
|
package/dist/index.js
CHANGED
|
@@ -62,6 +62,7 @@ var button = tv({
|
|
|
62
62
|
danger: "bg-red-600 hover:bg-red-700 focus-visible:outline-red-600",
|
|
63
63
|
warning: "bg-yellow-500 hover:bg-yellow-600 focus-visible:outline-yellow-700 text-gray-900",
|
|
64
64
|
info: "bg-cyan-700 hover:bg-cyan-800 focus-visible:outline-cyan-700",
|
|
65
|
+
muted: "bg-gray-500 hover:bg-gray-600 focus-visible:outline-gray-500",
|
|
65
66
|
ghost: "bg-transparent text-current hover:text-current hover:bg-neutral-500/20",
|
|
66
67
|
none: ""
|
|
67
68
|
},
|
|
@@ -125,6 +126,11 @@ var button = tv({
|
|
|
125
126
|
color: "info",
|
|
126
127
|
class: "text-cyan-700 hover:text-cyan-900"
|
|
127
128
|
},
|
|
129
|
+
{
|
|
130
|
+
variant: "link",
|
|
131
|
+
color: "muted",
|
|
132
|
+
class: "text-gray-500 hover:text-gray-700"
|
|
133
|
+
},
|
|
128
134
|
{
|
|
129
135
|
variant: "link",
|
|
130
136
|
color: "none",
|
|
@@ -659,6 +665,7 @@ var text = tv8({
|
|
|
659
665
|
danger: "text-red-600",
|
|
660
666
|
warning: "text-yellow-700",
|
|
661
667
|
info: "text-sky-700",
|
|
668
|
+
muted: "text-gray-500",
|
|
662
669
|
none: ""
|
|
663
670
|
}
|
|
664
671
|
},
|
|
@@ -831,6 +838,7 @@ var heading = tv11({
|
|
|
831
838
|
danger: "text-red-600",
|
|
832
839
|
warning: "text-yellow-700",
|
|
833
840
|
info: "text-sky-700",
|
|
841
|
+
muted: "text-gray-500",
|
|
834
842
|
none: ""
|
|
835
843
|
}
|
|
836
844
|
},
|