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
@@ -60,8 +60,8 @@ declare const __VLS_base: import("vue").DefineComponent<AppShellProps, {
60
60
  unstyled: boolean;
61
61
  as: string;
62
62
  scroll: "main" | "page";
63
- sidebarPosition: "left" | "right";
64
63
  mobileNav: boolean;
64
+ sidebarPosition: "left" | "right";
65
65
  navLabel: string;
66
66
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
67
67
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -85,6 +85,8 @@ var x = ["data-iryx-field"], S = ["id"], C = ["id"], w = ["id"], T = /*@__PURE__
85
85
  O.value ? (p(), l("p", {
86
86
  key: 2,
87
87
  id: `${_(D)}-error`,
88
+ role: "alert",
89
+ "aria-live": "polite",
88
90
  class: f(P("error", T.ui?.error))
89
91
  }, g(O.value), 11, C)) : T.help ? (p(), l("p", {
90
92
  key: 3,
@@ -9,6 +9,7 @@ var T = [
9
9
  "id",
10
10
  "value",
11
11
  "type",
12
+ "spellcheck",
12
13
  "placeholder",
13
14
  "disabled",
14
15
  "required",
@@ -49,74 +50,80 @@ var T = [
49
50
  }),
50
51
  emits: ["update:modelValue"],
51
52
  setup(u, { expose: d }) {
52
- let D = u, O = y(u, "modelValue"), k = b(), A = r(), j = i(() => D.id ?? A?.id.value), M = i(() => D.invalid ?? A?.invalid.value ?? !1), N = e(), P = i(() => D.unstyled ?? N.unstyled), F = g(O.value), I;
53
- function L() {
54
- I !== void 0 && (clearTimeout(I), I = void 0);
53
+ let D = u, O = i(() => [
54
+ "email",
55
+ "url",
56
+ "tel",
57
+ "password"
58
+ ].includes(D.type) ? !1 : void 0), k = y(u, "modelValue"), A = b(), j = r(), M = i(() => D.id ?? j?.id.value), N = i(() => D.invalid ?? j?.invalid.value ?? !1), P = e(), F = i(() => D.unstyled ?? P.unstyled), I = g(k.value), L;
59
+ function R() {
60
+ L !== void 0 && (clearTimeout(L), L = void 0);
55
61
  }
56
- x(O, (e) => {
57
- L(), F.value = e;
62
+ x(k, (e) => {
63
+ R(), I.value = e;
58
64
  });
59
- function R(e) {
65
+ function z(e) {
60
66
  let t = e.target.value;
61
- if (F.value = t, L(), !D.debounce) {
62
- O.value = t;
67
+ if (I.value = t, R(), !D.debounce) {
68
+ k.value = t;
63
69
  return;
64
70
  }
65
- I = setTimeout(() => {
66
- I = void 0, O.value = t;
71
+ L = setTimeout(() => {
72
+ L = void 0, k.value = t;
67
73
  }, D.debounce);
68
74
  }
69
- function z() {
70
- I !== void 0 && (L(), O.value = F.value);
75
+ function B() {
76
+ L !== void 0 && (R(), k.value = I.value);
71
77
  }
72
- m(L);
73
- let B = g();
74
- function V() {
75
- L(), F.value = "", O.value = "", B.value?.focus();
78
+ m(R);
79
+ let V = g();
80
+ function H() {
81
+ R(), I.value = "", k.value = "", V.value?.focus();
76
82
  }
77
- d({ input: B });
78
- let H = i(() => F.value !== "" && F.value != null), U = i(() => D.clearable && H.value && !D.disabled), W = i(() => D.loading || U.value || !!k.trailing), G = i(() => n({
83
+ d({ input: V });
84
+ let U = i(() => I.value !== "" && I.value != null), W = i(() => D.clearable && U.value && !D.disabled), G = i(() => D.loading || W.value || !!A.trailing), K = i(() => n({
79
85
  size: D.size,
80
- invalid: M.value
86
+ invalid: N.value
81
87
  }));
82
- function K(e, t) {
88
+ function q(e, t) {
83
89
  let n = D.ui?.[e];
84
- return P.value ? [n, t] : G.value[e]({ class: [n, t] });
90
+ return F.value ? [n, t] : K.value[e]({ class: [n, t] });
85
91
  }
86
- return (e, n) => (h(), s("div", { class: p(K("root", D.class)) }, [
87
- v(k).leading ? (h(), s("span", {
92
+ return (e, n) => (h(), s("div", { class: p(q("root", D.class)) }, [
93
+ v(A).leading ? (h(), s("span", {
88
94
  key: 0,
89
- class: p(K("leading"))
95
+ class: p(q("leading"))
90
96
  }, [_(e.$slots, "leading")], 2)) : o("", !0),
91
97
  c("input", f({
92
- id: j.value,
98
+ id: M.value,
93
99
  ref_key: "inputEl",
94
- ref: B,
95
- value: F.value,
100
+ ref: V,
101
+ value: I.value,
96
102
  type: D.type,
103
+ spellcheck: O.value,
97
104
  placeholder: D.placeholder,
98
105
  disabled: D.disabled,
99
106
  required: D.required,
100
- "aria-invalid": M.value || void 0,
101
- "aria-describedby": v(A)?.describedBy.value,
102
- class: K("input")
107
+ "aria-invalid": N.value || void 0,
108
+ "aria-describedby": v(j)?.describedBy.value,
109
+ class: q("input")
103
110
  }, e.$attrs, {
104
- onInput: R,
105
- onBlur: z,
106
- onKeydown: S(z, ["enter"])
111
+ onInput: z,
112
+ onBlur: B,
113
+ onKeydown: S(B, ["enter"])
107
114
  }), null, 16, T),
108
- W.value ? (h(), s("span", {
115
+ G.value ? (h(), s("span", {
109
116
  key: 1,
110
- class: p(K("trailing"))
117
+ class: p(q("trailing"))
111
118
  }, [
112
119
  _(e.$slots, "trailing"),
113
- U.value ? (h(), s("button", {
120
+ W.value ? (h(), s("button", {
114
121
  key: 0,
115
122
  type: "button",
116
123
  tabindex: "-1",
117
124
  "aria-label": D.clearLabel,
118
- class: p(K("clear")),
119
- onClick: V
125
+ class: p(q("clear")),
126
+ onClick: H
120
127
  }, [l(t, { icon: v(C) }, null, 8, ["icon"])], 10, E)) : o("", !0),
121
128
  D.loading ? (h(), a(t, {
122
129
  key: 1,
@@ -74,7 +74,8 @@ var w = [
74
74
  invalid: f.invalid,
75
75
  unstyled: f.unstyled,
76
76
  ui: { input: N.value },
77
- autocomplete: "current-password"
77
+ autocomplete: "current-password",
78
+ spellcheck: "false"
78
79
  }, e.$attrs), l({ _: 2 }, [f.toggle ? {
79
80
  name: "trailing",
80
81
  fn: x(() => [c("button", {
@@ -53,6 +53,7 @@ var y = /*@__PURE__*/ l({
53
53
  }, {
54
54
  default: g(() => [(d(!0), o(n, null, f(w.value, (t) => (d(), o(n, { key: t }, [c(h(_), {
55
55
  index: t,
56
+ spellcheck: "false",
56
57
  "aria-invalid": b.invalid || void 0,
57
58
  class: u(A.value)
58
59
  }, null, 8, [
@@ -19,6 +19,8 @@ export interface SelectProps extends SelectRootProps {
19
19
  items?: SelectItems;
20
20
  placeholder?: string;
21
21
  size?: 'sm' | 'md' | 'lg';
22
+ /** Lands on the trigger, so a `<label for>` names the control. */
23
+ id?: string;
22
24
  /** Skip built-in classes; you take over styling entirely. */
23
25
  unstyled?: boolean;
24
26
  class?: ClassValue;
@@ -12,6 +12,7 @@ var I = /*@__PURE__*/ u({
12
12
  items: {},
13
13
  placeholder: {},
14
14
  size: {},
15
+ id: {},
15
16
  unstyled: {
16
17
  type: Boolean,
17
18
  default: void 0
@@ -39,8 +40,8 @@ var I = /*@__PURE__*/ u({
39
40
  emits: ["update:modelValue", "update:open"],
40
41
  setup(u, { emit: I }) {
41
42
  let L = u, R = I, z = F(i(() => {
42
- let { items: e, placeholder: t, size: n, unstyled: r, class: i, ui: a, ...o } = L;
43
- return o;
43
+ let { items: e, placeholder: t, size: n, id: r, unstyled: i, class: a, ui: o, ...s } = L;
44
+ return s;
44
45
  }), R);
45
46
  function B(e) {
46
47
  return typeof e == "string" ? {
@@ -62,13 +63,16 @@ var I = /*@__PURE__*/ u({
62
63
  });
63
64
  }), U = i(() => (L.items ?? []).flatMap((e) => V(e) ? e.items.map(B) : [B(e)])), W = e(), G = i(() => L.unstyled ?? W.unstyled), K = i(() => n({ size: L.size })), q = i(() => G.value ? [L.ui?.trigger, L.class] : K.value.trigger({ class: [L.ui?.trigger, L.class] })), J = i(() => G.value ? L.ui?.content : K.value.content({ class: L.ui?.content })), Y = i(() => G.value ? L.ui?.viewport : K.value.viewport({ class: L.ui?.viewport })), X = i(() => G.value ? L.ui?.item : K.value.item({ class: L.ui?.item })), Z = i(() => G.value ? void 0 : K.value.itemIndicator()), Q = i(() => G.value ? L.ui?.group : K.value.group({ class: L.ui?.group })), $ = i(() => G.value ? L.ui?.groupLabel : K.value.groupLabel({ class: L.ui?.groupLabel }));
64
65
  return (e, n) => (h(), a(y(j), m(d(y(z))), {
65
- default: b(() => [l(y(M), f(e.$attrs, { class: q.value }), {
66
- default: b(() => [l(y(N), { placeholder: L.placeholder }, null, 8, ["placeholder"]), l(y(T), { "as-child": "" }, {
66
+ default: b(() => [l(y(M), f({ id: L.id }, e.$attrs, { class: q.value }), {
67
+ default: b(() => [l(y(N), {
68
+ class: "truncate",
69
+ placeholder: L.placeholder
70
+ }, null, 8, ["placeholder"]), l(y(T), { "as-child": "" }, {
67
71
  default: b(() => [l(t, { icon: y(x) }, null, 8, ["icon"])]),
68
72
  _: 1
69
73
  })]),
70
74
  _: 1
71
- }, 16, ["class"]), l(y(A), null, {
75
+ }, 16, ["id", "class"]), l(y(A), null, {
72
76
  default: b(() => [l(y(C), {
73
77
  class: p(J.value),
74
78
  position: "item-aligned"
@@ -32,7 +32,7 @@ export declare const accordionTheme: import("tailwind-variants").TVReturnType<{
32
32
  icon: string;
33
33
  content: string;
34
34
  contentInner: string;
35
- }, import("tailwind-variants").TVReturnType<{
35
+ }, import("tailwind-variants").TVReturnTypeLike<{
36
36
  variant: {
37
37
  plain: {};
38
38
  outline: {
@@ -49,5 +49,5 @@ export declare const accordionTheme: import("tailwind-variants").TVReturnType<{
49
49
  icon: string;
50
50
  content: string;
51
51
  contentInner: string;
52
- }, undefined, unknown, unknown, undefined>>;
52
+ }>>;
53
53
  export type AccordionSlots = keyof ReturnType<typeof accordionTheme>;
@@ -54,7 +54,7 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
54
54
  description: string;
55
55
  actions: string;
56
56
  close: string;
57
- }, import("tailwind-variants").TVReturnType<{
57
+ }, import("tailwind-variants").TVReturnTypeLike<{
58
58
  variant: {
59
59
  info: {
60
60
  icon: string;
@@ -82,5 +82,5 @@ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
82
82
  description: string;
83
83
  actions: string;
84
84
  close: string;
85
- }, undefined, unknown, unknown, undefined>>;
85
+ }>>;
86
86
  export type AlertSlots = keyof ReturnType<typeof alertTheme>;
@@ -76,7 +76,7 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
76
76
  footer: string;
77
77
  navDrawer: string;
78
78
  navDrawerBody: string;
79
- }, import("tailwind-variants").TVReturnType<{
79
+ }, import("tailwind-variants").TVReturnTypeLike<{
80
80
  scroll: {
81
81
  main: {
82
82
  root: string;
@@ -115,5 +115,5 @@ export declare const appShellTheme: import("tailwind-variants").TVReturnType<{
115
115
  footer: string;
116
116
  navDrawer: string;
117
117
  navDrawerBody: string;
118
- }, undefined, unknown, unknown, undefined>>;
118
+ }>>;
119
119
  export type AppShellSlots = keyof ReturnType<typeof appShellTheme>;
@@ -88,7 +88,7 @@ export declare const authProvidersTheme: import("tailwind-variants").TVReturnTyp
88
88
  provider: string;
89
89
  icon: string;
90
90
  label: string;
91
- }, import("tailwind-variants").TVReturnType<{
91
+ }, import("tailwind-variants").TVReturnTypeLike<{
92
92
  layout: {
93
93
  stack: {
94
94
  root: string;
@@ -133,5 +133,5 @@ export declare const authProvidersTheme: import("tailwind-variants").TVReturnTyp
133
133
  provider: string;
134
134
  icon: string;
135
135
  label: string;
136
- }, undefined, unknown, unknown, undefined>>;
136
+ }>>;
137
137
  export type AuthProvidersSlots = keyof ReturnType<typeof authProvidersTheme>;
@@ -108,7 +108,7 @@ export declare const avatarTheme: import("tailwind-variants").TVReturnType<{
108
108
  image: string;
109
109
  fallback: string;
110
110
  status: string;
111
- }, import("tailwind-variants").TVReturnType<{
111
+ }, import("tailwind-variants").TVReturnTypeLike<{
112
112
  size: {
113
113
  xs: {
114
114
  root: string;
@@ -163,7 +163,7 @@ export declare const avatarTheme: import("tailwind-variants").TVReturnType<{
163
163
  image: string;
164
164
  fallback: string;
165
165
  status: string;
166
- }, undefined, unknown, unknown, undefined>>;
166
+ }>>;
167
167
  export type AvatarSlots = keyof ReturnType<typeof avatarTheme>;
168
168
  export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<{
169
169
  size: {
@@ -219,7 +219,7 @@ export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<
219
219
  root: string;
220
220
  item: string;
221
221
  overflow: string;
222
- }, import("tailwind-variants").TVReturnType<{
222
+ }, import("tailwind-variants").TVReturnTypeLike<{
223
223
  size: {
224
224
  xs: {
225
225
  root: string;
@@ -246,5 +246,5 @@ export declare const avatarGroupTheme: import("tailwind-variants").TVReturnType<
246
246
  root: string;
247
247
  item: string;
248
248
  overflow: string;
249
- }, undefined, unknown, unknown, undefined>>;
249
+ }>>;
250
250
  export type AvatarGroupSlots = keyof ReturnType<typeof avatarGroupTheme>;
@@ -60,7 +60,7 @@ export declare const badgeTheme: import("tailwind-variants").TVReturnType<{
60
60
  }, {
61
61
  root: string;
62
62
  dot: string;
63
- }, import("tailwind-variants").TVReturnType<{
63
+ }, import("tailwind-variants").TVReturnTypeLike<{
64
64
  variant: {
65
65
  neutral: {};
66
66
  success: {};
@@ -91,5 +91,5 @@ export declare const badgeTheme: import("tailwind-variants").TVReturnType<{
91
91
  }, {
92
92
  root: string;
93
93
  dot: string;
94
- }, undefined, unknown, unknown, undefined>>;
94
+ }>>;
95
95
  export type BadgeSlots = keyof ReturnType<typeof badgeTheme>;
@@ -110,7 +110,7 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
110
110
  title: string;
111
111
  actions: string;
112
112
  close: string;
113
- }, import("tailwind-variants").TVReturnType<{
113
+ }, import("tailwind-variants").TVReturnTypeLike<{
114
114
  variant: {
115
115
  neutral: {
116
116
  root: string;
@@ -166,5 +166,5 @@ export declare const bannerTheme: import("tailwind-variants").TVReturnType<{
166
166
  title: string;
167
167
  actions: string;
168
168
  close: string;
169
- }, undefined, unknown, unknown, undefined>>;
169
+ }>>;
170
170
  export type BannerSlots = keyof ReturnType<typeof bannerTheme>;
@@ -80,7 +80,7 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
80
80
  tooltipLabel: string;
81
81
  tooltipValue: string;
82
82
  table: string;
83
- }, import("tailwind-variants").TVReturnType<unknown, {
83
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
84
84
  root: string;
85
85
  plot: string;
86
86
  svg: string;
@@ -94,5 +94,5 @@ export declare const barChartTheme: import("tailwind-variants").TVReturnType<{
94
94
  tooltipLabel: string;
95
95
  tooltipValue: string;
96
96
  table: string;
97
- }, undefined, unknown, unknown, undefined>>;
97
+ }>>;
98
98
  export type BarChartSlots = keyof ReturnType<typeof barChartTheme>;
@@ -45,12 +45,12 @@ export declare const breadcrumbTheme: import("tailwind-variants").TVReturnType<{
45
45
  link: string;
46
46
  current: string;
47
47
  separator: string;
48
- }, import("tailwind-variants").TVReturnType<unknown, {
48
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
49
49
  root: string;
50
50
  list: string;
51
51
  item: string;
52
52
  link: string;
53
53
  current: string;
54
54
  separator: string;
55
- }, undefined, unknown, unknown, undefined>>;
55
+ }>>;
56
56
  export type BreadcrumbSlots = keyof ReturnType<typeof breadcrumbTheme>;
@@ -1,26 +1,26 @@
1
1
  export declare const buttonGroupTheme: import("tailwind-variants").TVReturnType<{
2
2
  orientation: {
3
- horizontal: string;
4
- vertical: string;
3
+ horizontal: "[&>*:not(:first-child)]:-ml-px [&>*:not(:first-child)]:rounded-l-none [&>*:not(:last-child)]:rounded-r-none";
4
+ vertical: "flex-col [&>*:not(:first-child)]:-mt-px [&>*:not(:first-child)]:rounded-t-none [&>*:not(:last-child)]:rounded-b-none";
5
5
  };
6
6
  block: {
7
- true: string;
7
+ true: "flex w-full [&>*]:flex-1";
8
8
  };
9
9
  }, undefined, "isolate inline-flex [&>*]:relative [&>*:focus-visible]:z-10 [&>*:hover]:z-10", {
10
10
  orientation: {
11
- horizontal: string;
12
- vertical: string;
11
+ horizontal: "[&>*:not(:first-child)]:-ml-px [&>*:not(:first-child)]:rounded-l-none [&>*:not(:last-child)]:rounded-r-none";
12
+ vertical: "flex-col [&>*:not(:first-child)]:-mt-px [&>*:not(:first-child)]:rounded-t-none [&>*:not(:last-child)]:rounded-b-none";
13
13
  };
14
14
  block: {
15
- true: string;
15
+ true: "flex w-full [&>*]:flex-1";
16
16
  };
17
- }, undefined, import("tailwind-variants").TVReturnType<{
17
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
18
18
  orientation: {
19
- horizontal: string;
20
- vertical: string;
19
+ horizontal: "[&>*:not(:first-child)]:-ml-px [&>*:not(:first-child)]:rounded-l-none [&>*:not(:last-child)]:rounded-r-none";
20
+ vertical: "flex-col [&>*:not(:first-child)]:-mt-px [&>*:not(:first-child)]:rounded-t-none [&>*:not(:last-child)]:rounded-b-none";
21
21
  };
22
22
  block: {
23
- true: string;
23
+ true: "flex w-full [&>*]:flex-1";
24
24
  };
25
- }, undefined, "isolate inline-flex [&>*]:relative [&>*:focus-visible]:z-10 [&>*:hover]:z-10", unknown, unknown, undefined>>;
25
+ }, undefined>>;
26
26
  export type ButtonGroupVariants = Parameters<typeof buttonGroupTheme>[0];
@@ -1,65 +1,65 @@
1
1
  export declare const buttonTheme: import("tailwind-variants").TVReturnType<{
2
2
  variant: {
3
- solid: string;
4
- outline: string;
5
- ghost: string;
6
- link: string;
3
+ solid: "bg-linear-to-b from-primary-from to-primary-to text-primary-foreground hover:brightness-110 active:brightness-95";
4
+ outline: "border-border bg-input text-foreground hover:bg-accent hover:text-accent-foreground";
5
+ ghost: "text-foreground hover:bg-accent hover:text-accent-foreground";
6
+ link: "text-primary underline-offset-4 hover:underline active:translate-y-0";
7
7
  };
8
8
  size: {
9
- xs: string;
10
- sm: string;
11
- md: string;
12
- lg: string;
13
- xl: string;
9
+ 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";
10
+ sm: "h-8 px-3 text-sm has-[[data-icon=inline-end]]:pr-2 has-[[data-icon=inline-start]]:pl-2 [&_svg]:size-4";
11
+ md: "h-9 px-4 text-sm has-[[data-icon=inline-end]]:pr-3 has-[[data-icon=inline-start]]:pl-3 [&_svg]:size-4";
12
+ lg: "h-10 px-5 text-base has-[[data-icon=inline-end]]:pr-4 has-[[data-icon=inline-start]]:pl-4 [&_svg]:size-5";
13
+ xl: "h-12 px-6 text-base has-[[data-icon=inline-end]]:pr-5 has-[[data-icon=inline-start]]:pl-5 [&_svg]:size-5";
14
14
  };
15
15
  square: {
16
- true: string;
17
- false: string;
16
+ true: "";
17
+ false: "";
18
18
  };
19
19
  block: {
20
- true: string;
20
+ true: "w-full";
21
21
  };
22
- }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
22
+ }, undefined, "inline-flex shrink-0 touch-manipulation items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
23
23
  variant: {
24
- solid: string;
25
- outline: string;
26
- ghost: string;
27
- link: string;
24
+ solid: "bg-linear-to-b from-primary-from to-primary-to text-primary-foreground hover:brightness-110 active:brightness-95";
25
+ outline: "border-border bg-input text-foreground hover:bg-accent hover:text-accent-foreground";
26
+ ghost: "text-foreground hover:bg-accent hover:text-accent-foreground";
27
+ link: "text-primary underline-offset-4 hover:underline active:translate-y-0";
28
28
  };
29
29
  size: {
30
- xs: string;
31
- sm: string;
32
- md: string;
33
- lg: string;
34
- xl: string;
30
+ 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";
31
+ sm: "h-8 px-3 text-sm has-[[data-icon=inline-end]]:pr-2 has-[[data-icon=inline-start]]:pl-2 [&_svg]:size-4";
32
+ md: "h-9 px-4 text-sm has-[[data-icon=inline-end]]:pr-3 has-[[data-icon=inline-start]]:pl-3 [&_svg]:size-4";
33
+ lg: "h-10 px-5 text-base has-[[data-icon=inline-end]]:pr-4 has-[[data-icon=inline-start]]:pl-4 [&_svg]:size-5";
34
+ xl: "h-12 px-6 text-base has-[[data-icon=inline-end]]:pr-5 has-[[data-icon=inline-start]]:pl-5 [&_svg]:size-5";
35
35
  };
36
36
  square: {
37
- true: string;
38
- false: string;
37
+ true: "";
38
+ false: "";
39
39
  };
40
40
  block: {
41
- true: string;
41
+ true: "w-full";
42
42
  };
43
- }, undefined, import("tailwind-variants").TVReturnType<{
43
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
44
44
  variant: {
45
- solid: string;
46
- outline: string;
47
- ghost: string;
48
- link: string;
45
+ solid: "bg-linear-to-b from-primary-from to-primary-to text-primary-foreground hover:brightness-110 active:brightness-95";
46
+ outline: "border-border bg-input text-foreground hover:bg-accent hover:text-accent-foreground";
47
+ ghost: "text-foreground hover:bg-accent hover:text-accent-foreground";
48
+ link: "text-primary underline-offset-4 hover:underline active:translate-y-0";
49
49
  };
50
50
  size: {
51
- xs: string;
52
- sm: string;
53
- md: string;
54
- lg: string;
55
- xl: string;
51
+ 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";
52
+ sm: "h-8 px-3 text-sm has-[[data-icon=inline-end]]:pr-2 has-[[data-icon=inline-start]]:pl-2 [&_svg]:size-4";
53
+ md: "h-9 px-4 text-sm has-[[data-icon=inline-end]]:pr-3 has-[[data-icon=inline-start]]:pl-3 [&_svg]:size-4";
54
+ lg: "h-10 px-5 text-base has-[[data-icon=inline-end]]:pr-4 has-[[data-icon=inline-start]]:pl-4 [&_svg]:size-5";
55
+ xl: "h-12 px-6 text-base has-[[data-icon=inline-end]]:pr-5 has-[[data-icon=inline-start]]:pl-5 [&_svg]:size-5";
56
56
  };
57
57
  square: {
58
- true: string;
59
- false: string;
58
+ true: "";
59
+ false: "";
60
60
  };
61
61
  block: {
62
- true: string;
62
+ true: "w-full";
63
63
  };
64
- }, undefined, "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", unknown, unknown, undefined>>;
64
+ }, undefined>>;
65
65
  export type ButtonVariants = Parameters<typeof buttonTheme>[0];
@@ -1,7 +1,7 @@
1
1
  import { tv as e } from "tailwind-variants";
2
2
  //#region src/theme/button.ts
3
3
  var t = e({
4
- base: "inline-flex shrink-0 items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
4
+ base: "inline-flex shrink-0 touch-manipulation items-center justify-center gap-2 rounded-xl border border-transparent font-medium no-underline transition-[color,background-color,border-color,box-shadow,opacity,filter,translate] outline-none focus-visible:ring-2 focus-visible:ring-primary/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
5
5
  variants: {
6
6
  variant: {
7
7
  solid: "bg-linear-to-b from-primary-from to-primary-to text-primary-foreground hover:brightness-110 active:brightness-95",
@@ -38,7 +38,7 @@ export declare const calendarTheme: import("tailwind-variants").TVReturnType<{
38
38
  headCell: string;
39
39
  cell: string;
40
40
  cellTrigger: string;
41
- }, import("tailwind-variants").TVReturnType<{
41
+ }, import("tailwind-variants").TVReturnTypeLike<{
42
42
  range: {
43
43
  false: {
44
44
  cellTrigger: string;
@@ -58,5 +58,5 @@ export declare const calendarTheme: import("tailwind-variants").TVReturnType<{
58
58
  headCell: string;
59
59
  cell: string;
60
60
  cellTrigger: string;
61
- }, undefined, unknown, unknown, undefined>>;
61
+ }>>;
62
62
  export type CalendarSlots = keyof ReturnType<typeof calendarTheme>;
@@ -66,7 +66,7 @@ export declare const cardTheme: import("tailwind-variants").TVReturnType<{
66
66
  description: string;
67
67
  body: string;
68
68
  footer: string;
69
- }, import("tailwind-variants").TVReturnType<{
69
+ }, import("tailwind-variants").TVReturnTypeLike<{
70
70
  variant: {
71
71
  outline: {
72
72
  root: string;
@@ -100,5 +100,5 @@ export declare const cardTheme: import("tailwind-variants").TVReturnType<{
100
100
  description: string;
101
101
  body: string;
102
102
  footer: string;
103
- }, undefined, unknown, unknown, undefined>>;
103
+ }>>;
104
104
  export type CardSlots = keyof ReturnType<typeof cardTheme>;
@@ -35,10 +35,10 @@ export declare const chartLegendTheme: import("tailwind-variants").TVReturnType<
35
35
  item: string;
36
36
  swatch: string;
37
37
  name: string;
38
- }, import("tailwind-variants").TVReturnType<unknown, {
38
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
39
39
  root: string;
40
40
  item: string;
41
41
  swatch: string;
42
42
  name: string;
43
- }, undefined, unknown, unknown, undefined>>;
43
+ }>>;
44
44
  export type ChartLegendSlots = keyof ReturnType<typeof chartLegendTheme>;
@@ -52,7 +52,7 @@ export declare const checkboxTheme: import("tailwind-variants").TVReturnType<{
52
52
  content: string;
53
53
  label: string;
54
54
  description: string;
55
- }, import("tailwind-variants").TVReturnType<{
55
+ }, import("tailwind-variants").TVReturnTypeLike<{
56
56
  size: {
57
57
  sm: {
58
58
  root: string;
@@ -79,5 +79,5 @@ export declare const checkboxTheme: import("tailwind-variants").TVReturnType<{
79
79
  content: string;
80
80
  label: string;
81
81
  description: string;
82
- }, undefined, unknown, unknown, undefined>>;
82
+ }>>;
83
83
  export type CheckboxSlots = keyof ReturnType<typeof checkboxTheme>;
@@ -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: "peer flex shrink-0 cursor-pointer items-center justify-center rounded border border-border bg-background text-primary-foreground transition-colors outline-none focus:ring-2 focus:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary",
6
+ root: "peer flex shrink-0 cursor-pointer items-center justify-center rounded border border-border bg-background text-primary-foreground transition-colors outline-none focus-visible:ring-2 focus-visible:ring-primary/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary",
7
7
  indicator: "flex items-center justify-center text-current",
8
8
  content: "grid gap-1",
9
9
  label: "text-sm leading-5 font-medium text-foreground select-none",
@@ -26,7 +26,7 @@ export declare const collapsibleTheme: import("tailwind-variants").TVReturnType<
26
26
  trigger: string;
27
27
  content: string;
28
28
  icon: string;
29
- }, import("tailwind-variants").TVReturnType<{
29
+ }, import("tailwind-variants").TVReturnTypeLike<{
30
30
  iconPosition: {
31
31
  start: {
32
32
  icon: string;
@@ -40,5 +40,5 @@ export declare const collapsibleTheme: import("tailwind-variants").TVReturnType<
40
40
  trigger: string;
41
41
  content: string;
42
42
  icon: string;
43
- }, undefined, unknown, unknown, undefined>>;
43
+ }>>;
44
44
  export type CollapsibleSlots = keyof ReturnType<typeof collapsibleTheme>;