iryx-ui 0.18.0 → 0.18.2

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.
Files changed (86) hide show
  1. package/dist/components/AppShell.vue.d.ts +1 -1
  2. package/dist/components/FormField.vue_vue_type_script_setup_true_lang.js +2 -0
  3. package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +45 -38
  4. package/dist/components/PasswordInput.vue_vue_type_script_setup_true_lang.js +2 -1
  5. package/dist/components/PinInput.vue_vue_type_script_setup_true_lang.js +1 -0
  6. package/dist/components/Select.vue.d.ts +2 -0
  7. package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +9 -5
  8. package/dist/theme/accordion.d.ts +2 -2
  9. package/dist/theme/alert.d.ts +2 -2
  10. package/dist/theme/app-shell.d.ts +2 -2
  11. package/dist/theme/auth-providers.d.ts +2 -2
  12. package/dist/theme/avatar.d.ts +4 -4
  13. package/dist/theme/badge.d.ts +2 -2
  14. package/dist/theme/banner.d.ts +2 -2
  15. package/dist/theme/bar-chart.d.ts +2 -2
  16. package/dist/theme/breadcrumb.d.ts +2 -2
  17. package/dist/theme/button-group.d.ts +11 -11
  18. package/dist/theme/button.d.ts +39 -39
  19. package/dist/theme/button.js +1 -1
  20. package/dist/theme/calendar.d.ts +2 -2
  21. package/dist/theme/card.d.ts +2 -2
  22. package/dist/theme/chart-legend.d.ts +2 -2
  23. package/dist/theme/checkbox.d.ts +2 -2
  24. package/dist/theme/checkbox.js +1 -1
  25. package/dist/theme/collapsible.d.ts +2 -2
  26. package/dist/theme/color-picker.d.ts +2 -2
  27. package/dist/theme/combobox.d.ts +2 -2
  28. package/dist/theme/command-palette.d.ts +2 -2
  29. package/dist/theme/container.d.ts +2 -2
  30. package/dist/theme/date-field.d.ts +2 -2
  31. package/dist/theme/date-field.js +1 -1
  32. package/dist/theme/date-picker.d.ts +2 -2
  33. package/dist/theme/dialog.d.ts +2 -2
  34. package/dist/theme/dialog.js +1 -1
  35. package/dist/theme/donut-chart.d.ts +2 -2
  36. package/dist/theme/drawer.d.ts +2 -2
  37. package/dist/theme/drawer.js +1 -1
  38. package/dist/theme/dropdown-menu.d.ts +2 -2
  39. package/dist/theme/editable.d.ts +2 -2
  40. package/dist/theme/empty-state.d.ts +2 -2
  41. package/dist/theme/file-upload.d.ts +2 -2
  42. package/dist/theme/form.d.ts +2 -2
  43. package/dist/theme/hover-card.d.ts +2 -2
  44. package/dist/theme/input.d.ts +19 -19
  45. package/dist/theme/kbd.d.ts +2 -2
  46. package/dist/theme/label.d.ts +5 -5
  47. package/dist/theme/line-chart.d.ts +2 -2
  48. package/dist/theme/menubar.d.ts +2 -2
  49. package/dist/theme/navigation-menu.d.ts +2 -2
  50. package/dist/theme/number-input.d.ts +2 -2
  51. package/dist/theme/page-header.d.ts +2 -2
  52. package/dist/theme/pagination.d.ts +2 -2
  53. package/dist/theme/password-input.d.ts +2 -2
  54. package/dist/theme/pin-input.d.ts +2 -2
  55. package/dist/theme/popover.d.ts +2 -2
  56. package/dist/theme/progress.d.ts +2 -2
  57. package/dist/theme/radio-group.d.ts +2 -2
  58. package/dist/theme/radio-group.js +1 -1
  59. package/dist/theme/scroll-area.d.ts +2 -2
  60. package/dist/theme/scroll-fade.d.ts +2 -2
  61. package/dist/theme/select.d.ts +2 -2
  62. package/dist/theme/select.js +1 -1
  63. package/dist/theme/separator.d.ts +2 -2
  64. package/dist/theme/sidebar.d.ts +2 -2
  65. package/dist/theme/signature-pad.d.ts +2 -2
  66. package/dist/theme/skeleton.d.ts +11 -11
  67. package/dist/theme/slider.d.ts +2 -2
  68. package/dist/theme/sparkline.d.ts +2 -2
  69. package/dist/theme/splitter.d.ts +2 -2
  70. package/dist/theme/stat.d.ts +2 -2
  71. package/dist/theme/stepper.d.ts +2 -2
  72. package/dist/theme/switch.d.ts +2 -2
  73. package/dist/theme/switch.js +1 -1
  74. package/dist/theme/table.d.ts +2 -2
  75. package/dist/theme/tabs.d.ts +2 -2
  76. package/dist/theme/tags-input.d.ts +2 -2
  77. package/dist/theme/time-field.d.ts +2 -2
  78. package/dist/theme/time-field.js +1 -1
  79. package/dist/theme/timeline.d.ts +2 -2
  80. package/dist/theme/toast.d.ts +2 -2
  81. package/dist/theme/toggle.d.ts +28 -28
  82. package/dist/theme/toolbar.d.ts +2 -2
  83. package/dist/theme/tooltip.d.ts +2 -2
  84. package/dist/theme/tree.d.ts +2 -2
  85. package/package.json +3 -3
  86. package/theme.css +4 -0
@@ -3,7 +3,7 @@ import { tv as t } from "tailwind-variants";
3
3
  //#region src/theme/select.ts
4
4
  var n = t({
5
5
  slots: {
6
- trigger: `flex items-center justify-between gap-2 ${e} cursor-pointer data-[placeholder]:text-muted-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:opacity-60`,
6
+ trigger: `flex items-center justify-between gap-2 overflow-hidden ${e} cursor-pointer data-[placeholder]:text-muted-foreground [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:opacity-60`,
7
7
  content: "z-50 min-w-32 overflow-hidden rounded-xl border border-border bg-background text-foreground shadow-md",
8
8
  viewport: "p-1",
9
9
  item: "relative flex cursor-pointer items-center rounded-lg py-1.5 pr-2 pl-8 text-sm outline-none select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -28,7 +28,7 @@ export declare const separatorTheme: import("tailwind-variants").TVReturnType<{
28
28
  root: string;
29
29
  line: string;
30
30
  label: string;
31
- }, import("tailwind-variants").TVReturnType<{
31
+ }, import("tailwind-variants").TVReturnTypeLike<{
32
32
  orientation: {
33
33
  horizontal: {
34
34
  root: string;
@@ -43,5 +43,5 @@ export declare const separatorTheme: import("tailwind-variants").TVReturnType<{
43
43
  root: string;
44
44
  line: string;
45
45
  label: string;
46
- }, undefined, unknown, unknown, undefined>>;
46
+ }>>;
47
47
  export type SeparatorSlots = keyof ReturnType<typeof separatorTheme>;
@@ -72,7 +72,7 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
72
72
  groupIcon: string;
73
73
  groupContent: string;
74
74
  groupInner: string;
75
- }, import("tailwind-variants").TVReturnType<{
75
+ }, import("tailwind-variants").TVReturnTypeLike<{
76
76
  side: {
77
77
  left: {
78
78
  root: string;
@@ -109,5 +109,5 @@ export declare const sidebarTheme: import("tailwind-variants").TVReturnType<{
109
109
  groupIcon: string;
110
110
  groupContent: string;
111
111
  groupInner: string;
112
- }, undefined, unknown, unknown, undefined>>;
112
+ }>>;
113
113
  export type SidebarSlots = keyof ReturnType<typeof sidebarTheme>;
@@ -30,7 +30,7 @@ export declare const signaturePadTheme: import("tailwind-variants").TVReturnType
30
30
  canvas: string;
31
31
  actions: string;
32
32
  action: string;
33
- }, import("tailwind-variants").TVReturnType<{
33
+ }, import("tailwind-variants").TVReturnTypeLike<{
34
34
  invalid: {
35
35
  true: {
36
36
  root: string;
@@ -46,5 +46,5 @@ export declare const signaturePadTheme: import("tailwind-variants").TVReturnType
46
46
  canvas: string;
47
47
  actions: string;
48
48
  action: string;
49
- }, undefined, unknown, unknown, undefined>>;
49
+ }>>;
50
50
  export type SignaturePadSlots = keyof ReturnType<typeof signaturePadTheme>;
@@ -1,20 +1,20 @@
1
1
  export declare const skeletonTheme: import("tailwind-variants").TVReturnType<{
2
2
  variant: {
3
- text: string;
4
- rect: string;
5
- circle: string;
3
+ text: "h-lh w-full rounded";
4
+ rect: "rounded-xl";
5
+ circle: "aspect-square rounded-full";
6
6
  };
7
7
  }, undefined, "animate-pulse bg-muted", {
8
8
  variant: {
9
- text: string;
10
- rect: string;
11
- circle: string;
9
+ text: "h-lh w-full rounded";
10
+ rect: "rounded-xl";
11
+ circle: "aspect-square rounded-full";
12
12
  };
13
- }, undefined, import("tailwind-variants").TVReturnType<{
13
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
14
14
  variant: {
15
- text: string;
16
- rect: string;
17
- circle: string;
15
+ text: "h-lh w-full rounded";
16
+ rect: "rounded-xl";
17
+ circle: "aspect-square rounded-full";
18
18
  };
19
- }, undefined, "animate-pulse bg-muted", unknown, unknown, undefined>>;
19
+ }, undefined>>;
20
20
  export type SkeletonVariants = Parameters<typeof skeletonTheme>[0];
@@ -78,7 +78,7 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
78
78
  range: string;
79
79
  thumb: string;
80
80
  scale: string;
81
- }, import("tailwind-variants").TVReturnType<{
81
+ }, import("tailwind-variants").TVReturnTypeLike<{
82
82
  orientation: {
83
83
  horizontal: {
84
84
  root: string;
@@ -118,5 +118,5 @@ export declare const sliderTheme: import("tailwind-variants").TVReturnType<{
118
118
  range: string;
119
119
  thumb: string;
120
120
  scale: string;
121
- }, undefined, unknown, unknown, undefined>>;
121
+ }>>;
122
122
  export type SliderSlots = keyof ReturnType<typeof sliderTheme>;
@@ -24,7 +24,7 @@ export declare const sparklineTheme: import("tailwind-variants").TVReturnType<{
24
24
  area: string;
25
25
  dot: string;
26
26
  ring: string;
27
- }, import("tailwind-variants").TVReturnType<{
27
+ }, import("tailwind-variants").TVReturnTypeLike<{
28
28
  muted: {
29
29
  true: {
30
30
  root: string;
@@ -37,5 +37,5 @@ export declare const sparklineTheme: import("tailwind-variants").TVReturnType<{
37
37
  area: string;
38
38
  dot: string;
39
39
  ring: string;
40
- }, undefined, unknown, unknown, undefined>>;
40
+ }>>;
41
41
  export type SparklineSlots = keyof ReturnType<typeof sparklineTheme>;
@@ -34,7 +34,7 @@ export declare const splitterTheme: import("tailwind-variants").TVReturnType<{
34
34
  panel: string;
35
35
  handle: string;
36
36
  rule: string;
37
- }, import("tailwind-variants").TVReturnType<{
37
+ }, import("tailwind-variants").TVReturnTypeLike<{
38
38
  direction: {
39
39
  horizontal: {
40
40
  root: string;
@@ -52,5 +52,5 @@ export declare const splitterTheme: import("tailwind-variants").TVReturnType<{
52
52
  panel: string;
53
53
  handle: string;
54
54
  rule: string;
55
- }, undefined, unknown, unknown, undefined>>;
55
+ }>>;
56
56
  export type SplitterSlots = keyof ReturnType<typeof splitterTheme>;
@@ -58,7 +58,7 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
58
58
  delta: string;
59
59
  hint: string;
60
60
  row: string;
61
- }, import("tailwind-variants").TVReturnType<{
61
+ }, import("tailwind-variants").TVReturnTypeLike<{
62
62
  size: {
63
63
  sm: {
64
64
  value: string;
@@ -88,5 +88,5 @@ export declare const statTheme: import("tailwind-variants").TVReturnType<{
88
88
  delta: string;
89
89
  hint: string;
90
90
  row: string;
91
- }, undefined, unknown, unknown, undefined>>;
91
+ }>>;
92
92
  export type StatSlots = keyof ReturnType<typeof statTheme>;
@@ -34,7 +34,7 @@ export declare const stepperTheme: import("tailwind-variants").TVReturnType<{
34
34
  title: string;
35
35
  description: string;
36
36
  separator: string;
37
- }, import("tailwind-variants").TVReturnType<{
37
+ }, import("tailwind-variants").TVReturnTypeLike<{
38
38
  orientation: {
39
39
  horizontal: {};
40
40
  vertical: {
@@ -52,5 +52,5 @@ export declare const stepperTheme: import("tailwind-variants").TVReturnType<{
52
52
  title: string;
53
53
  description: string;
54
54
  separator: string;
55
- }, undefined, unknown, unknown, undefined>>;
55
+ }>>;
56
56
  export type StepperSlots = keyof ReturnType<typeof stepperTheme>;
@@ -48,7 +48,7 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
48
48
  content: string;
49
49
  label: string;
50
50
  description: string;
51
- }, import("tailwind-variants").TVReturnType<{
51
+ }, import("tailwind-variants").TVReturnTypeLike<{
52
52
  size: {
53
53
  sm: {
54
54
  root: string;
@@ -73,5 +73,5 @@ export declare const switchTheme: import("tailwind-variants").TVReturnType<{
73
73
  content: string;
74
74
  label: string;
75
75
  description: string;
76
- }, undefined, unknown, unknown, undefined>>;
76
+ }>>;
77
77
  export type SwitchSlots = keyof ReturnType<typeof switchTheme>;
@@ -3,7 +3,7 @@ import { tv as e } from "tailwind-variants";
3
3
  var t = e({
4
4
  slots: {
5
5
  wrapper: "flex items-start gap-2.5",
6
- root: "inline-flex shrink-0 cursor-pointer items-center rounded-full transition-colors outline-none focus:ring-2 focus:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-muted",
6
+ root: "inline-flex shrink-0 cursor-pointer items-center rounded-full transition-colors outline-none focus-visible:ring-2 focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-muted",
7
7
  thumb: "pointer-events-none block rounded-full bg-background shadow-sm transition-transform data-[state=unchecked]:translate-x-0.5",
8
8
  content: "grid gap-1",
9
9
  label: "text-sm leading-5 font-medium text-foreground select-none",
@@ -156,7 +156,7 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
156
156
  expandedCell: string;
157
157
  empty: string;
158
158
  caption: string;
159
- }, import("tailwind-variants").TVReturnType<{
159
+ }, import("tailwind-variants").TVReturnTypeLike<{
160
160
  striped: {
161
161
  true: {
162
162
  tr: string;
@@ -235,5 +235,5 @@ export declare const tableTheme: import("tailwind-variants").TVReturnType<{
235
235
  expandedCell: string;
236
236
  empty: string;
237
237
  caption: string;
238
- }, undefined, unknown, unknown, undefined>>;
238
+ }>>;
239
239
  export type TableSlots = keyof ReturnType<typeof tableTheme>;
@@ -56,7 +56,7 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
56
56
  indicator: string;
57
57
  trigger: string;
58
58
  content: string;
59
- }, import("tailwind-variants").TVReturnType<{
59
+ }, import("tailwind-variants").TVReturnTypeLike<{
60
60
  variant: {
61
61
  solid: {
62
62
  list: string;
@@ -85,5 +85,5 @@ export declare const tabsTheme: import("tailwind-variants").TVReturnType<{
85
85
  indicator: string;
86
86
  trigger: string;
87
87
  content: string;
88
- }, undefined, unknown, unknown, undefined>>;
88
+ }>>;
89
89
  export type TabsSlots = keyof ReturnType<typeof tabsTheme>;
@@ -70,7 +70,7 @@ export declare const tagsInputTheme: import("tailwind-variants").TVReturnType<{
70
70
  tagDelete: string;
71
71
  input: string;
72
72
  clear: string;
73
- }, import("tailwind-variants").TVReturnType<{
73
+ }, import("tailwind-variants").TVReturnTypeLike<{
74
74
  size: {
75
75
  sm: {
76
76
  root: string;
@@ -106,5 +106,5 @@ export declare const tagsInputTheme: import("tailwind-variants").TVReturnType<{
106
106
  tagDelete: string;
107
107
  input: string;
108
108
  clear: string;
109
- }, undefined, unknown, unknown, undefined>>;
109
+ }>>;
110
110
  export type TagsInputSlots = keyof ReturnType<typeof tagsInputTheme>;
@@ -40,7 +40,7 @@ export declare const timeFieldTheme: import("tailwind-variants").TVReturnType<{
40
40
  root: string;
41
41
  segment: string;
42
42
  literal: string;
43
- }, import("tailwind-variants").TVReturnType<{
43
+ }, import("tailwind-variants").TVReturnTypeLike<{
44
44
  size: {
45
45
  sm: {
46
46
  root: string;
@@ -61,5 +61,5 @@ export declare const timeFieldTheme: import("tailwind-variants").TVReturnType<{
61
61
  root: string;
62
62
  segment: string;
63
63
  literal: string;
64
- }, undefined, unknown, unknown, undefined>>;
64
+ }>>;
65
65
  export type TimeFieldSlots = keyof ReturnType<typeof timeFieldTheme>;
@@ -4,7 +4,7 @@ import { tv as t } from "tailwind-variants";
4
4
  var n = t({
5
5
  slots: {
6
6
  root: `inline-flex items-center gap-0.5 ${e} w-auto focus-within:ring-2 focus-within:ring-primary/50`,
7
- segment: "rounded px-0.5 text-foreground tabular-nums outline-none focus:bg-primary focus:text-primary-foreground data-[disabled]:cursor-not-allowed",
7
+ segment: "rounded px-0.5 text-foreground tabular-nums outline-none focus-visible:bg-primary focus-visible:text-primary-foreground data-[disabled]:cursor-not-allowed",
8
8
  literal: "text-muted-foreground"
9
9
  },
10
10
  variants: {
@@ -106,7 +106,7 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
106
106
  title: string;
107
107
  time: string;
108
108
  description: string;
109
- }, import("tailwind-variants").TVReturnType<{
109
+ }, import("tailwind-variants").TVReturnTypeLike<{
110
110
  size: {
111
111
  sm: {
112
112
  marker: string;
@@ -160,5 +160,5 @@ export declare const timelineTheme: import("tailwind-variants").TVReturnType<{
160
160
  title: string;
161
161
  time: string;
162
162
  description: string;
163
- }, undefined, unknown, unknown, undefined>>;
163
+ }>>;
164
164
  export type TimelineSlots = keyof ReturnType<typeof timelineTheme>;
@@ -102,7 +102,7 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
102
102
  description: string;
103
103
  action: string;
104
104
  close: string;
105
- }, import("tailwind-variants").TVReturnType<{
105
+ }, import("tailwind-variants").TVReturnTypeLike<{
106
106
  variant: {
107
107
  neutral: {
108
108
  icon: string;
@@ -154,5 +154,5 @@ export declare const toastTheme: import("tailwind-variants").TVReturnType<{
154
154
  description: string;
155
155
  action: string;
156
156
  close: string;
157
- }, undefined, unknown, unknown, undefined>>;
157
+ }>>;
158
158
  export type ToastSlots = keyof ReturnType<typeof toastTheme>;
@@ -1,49 +1,49 @@
1
1
  export declare const toggleTheme: import("tailwind-variants").TVReturnType<{
2
2
  size: {
3
- xs: string;
4
- sm: string;
5
- md: string;
6
- lg: string;
7
- xl: string;
3
+ xs: "h-7 gap-1.5 px-2 text-xs has-[[data-icon=inline-end]]:pr-1.5 has-[[data-icon=inline-start]]:pl-1.5 [&_svg]:size-3.5";
4
+ sm: "h-8 px-3 text-sm has-[[data-icon=inline-end]]:pr-2 has-[[data-icon=inline-start]]:pl-2 [&_svg]:size-4";
5
+ md: "h-9 px-4 text-sm has-[[data-icon=inline-end]]:pr-3 has-[[data-icon=inline-start]]:pl-3 [&_svg]:size-4";
6
+ lg: "h-10 px-5 text-base has-[[data-icon=inline-end]]:pr-4 has-[[data-icon=inline-start]]:pl-4 [&_svg]:size-5";
7
+ xl: "h-12 px-6 text-base has-[[data-icon=inline-end]]:pr-5 has-[[data-icon=inline-start]]:pl-5 [&_svg]:size-5";
8
8
  };
9
9
  square: {
10
- true: string;
11
- false: string;
10
+ true: "";
11
+ false: "";
12
12
  };
13
13
  block: {
14
- true: string;
14
+ true: "w-full";
15
15
  };
16
16
  }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-input font-medium whitespace-nowrap text-foreground transition-[color,background-color,border-color,box-shadow,opacity] outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0", {
17
17
  size: {
18
- xs: string;
19
- sm: string;
20
- md: string;
21
- lg: string;
22
- xl: string;
18
+ xs: "h-7 gap-1.5 px-2 text-xs has-[[data-icon=inline-end]]:pr-1.5 has-[[data-icon=inline-start]]:pl-1.5 [&_svg]:size-3.5";
19
+ sm: "h-8 px-3 text-sm has-[[data-icon=inline-end]]:pr-2 has-[[data-icon=inline-start]]:pl-2 [&_svg]:size-4";
20
+ md: "h-9 px-4 text-sm has-[[data-icon=inline-end]]:pr-3 has-[[data-icon=inline-start]]:pl-3 [&_svg]:size-4";
21
+ lg: "h-10 px-5 text-base has-[[data-icon=inline-end]]:pr-4 has-[[data-icon=inline-start]]:pl-4 [&_svg]:size-5";
22
+ xl: "h-12 px-6 text-base has-[[data-icon=inline-end]]:pr-5 has-[[data-icon=inline-start]]:pl-5 [&_svg]:size-5";
23
23
  };
24
24
  square: {
25
- true: string;
26
- false: string;
25
+ true: "";
26
+ false: "";
27
27
  };
28
28
  block: {
29
- true: string;
29
+ true: "w-full";
30
30
  };
31
- }, undefined, import("tailwind-variants").TVReturnType<{
31
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
32
32
  size: {
33
- xs: string;
34
- sm: string;
35
- md: string;
36
- lg: string;
37
- xl: string;
33
+ xs: "h-7 gap-1.5 px-2 text-xs has-[[data-icon=inline-end]]:pr-1.5 has-[[data-icon=inline-start]]:pl-1.5 [&_svg]:size-3.5";
34
+ sm: "h-8 px-3 text-sm has-[[data-icon=inline-end]]:pr-2 has-[[data-icon=inline-start]]:pl-2 [&_svg]:size-4";
35
+ md: "h-9 px-4 text-sm has-[[data-icon=inline-end]]:pr-3 has-[[data-icon=inline-start]]:pl-3 [&_svg]:size-4";
36
+ lg: "h-10 px-5 text-base has-[[data-icon=inline-end]]:pr-4 has-[[data-icon=inline-start]]:pl-4 [&_svg]:size-5";
37
+ xl: "h-12 px-6 text-base has-[[data-icon=inline-end]]:pr-5 has-[[data-icon=inline-start]]:pl-5 [&_svg]:size-5";
38
38
  };
39
39
  square: {
40
- true: string;
41
- false: string;
40
+ true: "";
41
+ false: "";
42
42
  };
43
43
  block: {
44
- true: string;
44
+ true: "w-full";
45
45
  };
46
- }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-border bg-input font-medium whitespace-nowrap text-foreground transition-[color,background-color,border-color,box-shadow,opacity] outline-none hover:bg-accent hover:text-accent-foreground focus-visible:ring-2 focus-visible:ring-primary/50 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0", unknown, unknown, undefined>>;
46
+ }, undefined>>;
47
47
  export type ToggleVariants = Parameters<typeof toggleTheme>[0];
48
48
  export declare const toggleGroupTheme: import("tailwind-variants").TVReturnType<{
49
49
  variant: {
@@ -93,7 +93,7 @@ export declare const toggleGroupTheme: import("tailwind-variants").TVReturnType<
93
93
  }, {
94
94
  root: string;
95
95
  item: string;
96
- }, import("tailwind-variants").TVReturnType<{
96
+ }, import("tailwind-variants").TVReturnTypeLike<{
97
97
  variant: {
98
98
  joined: {
99
99
  item: string;
@@ -117,6 +117,6 @@ export declare const toggleGroupTheme: import("tailwind-variants").TVReturnType<
117
117
  }, {
118
118
  root: string;
119
119
  item: string;
120
- }, undefined, unknown, unknown, undefined>>;
120
+ }>>;
121
121
  export type ToggleGroupSlots = keyof ReturnType<typeof toggleGroupTheme>;
122
122
  export type ToggleGroupVariant = 'joined' | 'plain';
@@ -34,7 +34,7 @@ export declare const toolbarTheme: import("tailwind-variants").TVReturnType<{
34
34
  }, {
35
35
  root: string;
36
36
  separator: string;
37
- }, import("tailwind-variants").TVReturnType<{
37
+ }, import("tailwind-variants").TVReturnTypeLike<{
38
38
  orientation: {
39
39
  horizontal: {
40
40
  separator: string;
@@ -52,5 +52,5 @@ export declare const toolbarTheme: import("tailwind-variants").TVReturnType<{
52
52
  }, {
53
53
  root: string;
54
54
  separator: string;
55
- }, undefined, unknown, unknown, undefined>>;
55
+ }>>;
56
56
  export type ToolbarSlots = keyof ReturnType<typeof toolbarTheme>;
@@ -25,8 +25,8 @@ export declare const tooltipTheme: import("tailwind-variants").TVReturnType<{
25
25
  } | {}, {
26
26
  content: string;
27
27
  arrow: string;
28
- }, import("tailwind-variants").TVReturnType<unknown, {
28
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
29
29
  content: string;
30
30
  arrow: string;
31
- }, undefined, unknown, unknown, undefined>>;
31
+ }>>;
32
32
  export type TooltipSlots = keyof ReturnType<typeof tooltipTheme>;
@@ -40,7 +40,7 @@ export declare const treeTheme: import("tailwind-variants").TVReturnType<{
40
40
  icon: string;
41
41
  label: string;
42
42
  count: string;
43
- }, import("tailwind-variants").TVReturnType<{
43
+ }, import("tailwind-variants").TVReturnTypeLike<{
44
44
  size: {
45
45
  sm: {
46
46
  item: string;
@@ -61,5 +61,5 @@ export declare const treeTheme: import("tailwind-variants").TVReturnType<{
61
61
  icon: string;
62
62
  label: string;
63
63
  count: string;
64
- }, undefined, unknown, unknown, undefined>>;
64
+ }>>;
65
65
  export type TreeSlots = keyof ReturnType<typeof treeTheme>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "iryx-ui",
3
3
  "type": "module",
4
- "version": "0.18.0",
4
+ "version": "0.18.2",
5
5
  "description": "A Vue 3 component library built on Reka UI and Tailwind CSS v4.",
6
6
  "author": "therok1",
7
7
  "license": "MIT",
@@ -57,7 +57,7 @@
57
57
  "@nuxt/kit": "^4.4.8",
58
58
  "reka-ui": "~2.10.3",
59
59
  "tailwind-merge": "^3.6.0",
60
- "tailwind-variants": "^3.2.2"
60
+ "tailwind-variants": "^3.3.1"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@vitejs/plugin-vue": "^6.0.7",
@@ -67,7 +67,7 @@
67
67
  "typescript": "^6.0.3",
68
68
  "vite": "^8.0.16",
69
69
  "vitest": "^4.1.8",
70
- "vue": "^3.5.41",
70
+ "vue": "^3.5.42",
71
71
  "vue-tsc": "^3.3.4"
72
72
  }
73
73
  }
package/theme.css CHANGED
@@ -19,6 +19,8 @@
19
19
  @custom-variant dark (&:where(.dark, .dark *));
20
20
 
21
21
  :root {
22
+ color-scheme: light;
23
+
22
24
  /*
23
25
  * Typeface. The library ships no webfont — that would put font files, a
24
26
  * licence and a network request in every consumer's bundle whether they
@@ -104,6 +106,8 @@
104
106
  }
105
107
 
106
108
  .dark {
109
+ color-scheme: dark;
110
+
107
111
  /* Neutral surfaces — shadcn/ui "zinc" palette. */
108
112
  --iryx-background: oklch(0.145 0 0);
109
113
  --iryx-foreground: oklch(0.985 0 0);