@oneplatformdev/ui 0.0.1-beta.107 → 0.0.1-beta.109
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/Button/buttonVariants.mjs +10 -4
- package/Card/Card.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { cva as e } from "class-variance-authority";
|
|
2
|
-
const
|
|
3
|
-
|
|
2
|
+
const r = e(
|
|
3
|
+
[
|
|
4
|
+
"inline-flex items-center justify-center gap-2",
|
|
5
|
+
"whitespace-nowrap rounded-lg text-sm font-medium",
|
|
6
|
+
"transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
|
|
7
|
+
"disabled:pointer-events-none disabled:opacity-50",
|
|
8
|
+
"[&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0"
|
|
9
|
+
],
|
|
4
10
|
{
|
|
5
11
|
variants: {
|
|
6
12
|
variant: {
|
|
@@ -14,7 +20,7 @@ const t = e(
|
|
|
14
20
|
size: {
|
|
15
21
|
default: "h-9 px-4 py-2",
|
|
16
22
|
sm: "h-8 rounded-md px-3 text-xs [&_svg]:size-4",
|
|
17
|
-
lg: "h-10
|
|
23
|
+
lg: "h-10 px-8 [&_svg]:size-5 px-3 py-2",
|
|
18
24
|
icon: "h-9 w-9 [&_svg]:!size-5"
|
|
19
25
|
}
|
|
20
26
|
},
|
|
@@ -25,5 +31,5 @@ const t = e(
|
|
|
25
31
|
}
|
|
26
32
|
);
|
|
27
33
|
export {
|
|
28
|
-
|
|
34
|
+
r as buttonVariants
|
|
29
35
|
};
|
package/Card/Card.mjs
CHANGED