iryx-ui 0.18.2 → 0.18.3

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.
@@ -28,7 +28,8 @@ var t = e({
28
28
  orientation: {
29
29
  vertical: { root: "grid gap-2" },
30
30
  horizontal: { root: "flex flex-wrap items-start gap-x-6 gap-y-2" }
31
- }
31
+ },
32
+ invalid: { true: { item: "border-red-500 focus-visible:ring-red-500/40" } }
32
33
  },
33
34
  defaultVariants: {
34
35
  size: "md",
@@ -10,6 +10,11 @@ export declare const selectTheme: import("tailwind-variants").TVReturnType<{
10
10
  trigger: string;
11
11
  };
12
12
  };
13
+ invalid: {
14
+ true: {
15
+ trigger: string;
16
+ };
17
+ };
13
18
  }, {
14
19
  trigger: string;
15
20
  content: string;
@@ -30,6 +35,11 @@ export declare const selectTheme: import("tailwind-variants").TVReturnType<{
30
35
  trigger: string;
31
36
  };
32
37
  };
38
+ invalid: {
39
+ true: {
40
+ trigger: string;
41
+ };
42
+ };
33
43
  }, {
34
44
  trigger: string;
35
45
  content: string;
@@ -50,6 +60,11 @@ export declare const selectTheme: import("tailwind-variants").TVReturnType<{
50
60
  trigger: string;
51
61
  };
52
62
  };
63
+ invalid: {
64
+ true: {
65
+ trigger: string;
66
+ };
67
+ };
53
68
  }, {
54
69
  trigger: string;
55
70
  content: string;
@@ -11,11 +11,14 @@ var n = t({
11
11
  group: "not-first:mt-1",
12
12
  groupLabel: "px-2 py-1.5 text-xs font-medium text-muted-foreground"
13
13
  },
14
- variants: { size: {
15
- sm: { trigger: "h-8 px-2.5 text-sm" },
16
- md: { trigger: "h-9 px-3 text-sm" },
17
- lg: { trigger: "h-10 px-4 text-base" }
18
- } },
14
+ variants: {
15
+ size: {
16
+ sm: { trigger: "h-8 px-2.5 text-sm" },
17
+ md: { trigger: "h-9 px-3 text-sm" },
18
+ lg: { trigger: "h-10 px-4 text-base" }
19
+ },
20
+ invalid: { true: { trigger: "border-red-500 focus-visible:ring-red-500/40" } }
21
+ },
19
22
  defaultVariants: { size: "md" }
20
23
  });
21
24
  //#endregion
@@ -16,6 +16,11 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
16
16
  withText: {
17
17
  true: {};
18
18
  };
19
+ invalid: {
20
+ true: {
21
+ root: string;
22
+ };
23
+ };
19
24
  }, {
20
25
  wrapper: string;
21
26
  root: string;
@@ -41,6 +46,11 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
41
46
  withText: {
42
47
  true: {};
43
48
  };
49
+ invalid: {
50
+ true: {
51
+ root: string;
52
+ };
53
+ };
44
54
  }, {
45
55
  wrapper: string;
46
56
  root: string;
@@ -66,6 +76,11 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
66
76
  withText: {
67
77
  true: {};
68
78
  };
79
+ invalid: {
80
+ true: {
81
+ root: string;
82
+ };
83
+ };
69
84
  }, {
70
85
  wrapper: string;
71
86
  root: string;
@@ -24,7 +24,8 @@ var t = e({
24
24
  thumb: "size-5 data-[state=checked]:translate-x-5.5"
25
25
  }
26
26
  },
27
- withText: { true: {} }
27
+ withText: { true: {} },
28
+ invalid: { true: { root: "ring-2 ring-red-500/40" } }
28
29
  },
29
30
  compoundVariants: [{
30
31
  size: "sm",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.18.2",
4
+ "version": "0.18.3",
5
5
  "description": "A Vue 3 component library built on Reka UI and Tailwind CSS v4.",
6
6
  "author": "therok1",
7
7
  "license": "MIT",