iryx-ui 0.0.1 → 0.2.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.
Files changed (75) hide show
  1. package/README.md +161 -2
  2. package/dist/component-names.d.ts +1 -1
  3. package/dist/component-names.js +16 -1
  4. package/dist/components/Alert.js +5 -0
  5. package/dist/components/Alert.vue.d.ts +59 -0
  6. package/dist/components/Alert.vue_vue_type_script_setup_true_lang.js +74 -0
  7. package/dist/components/App.js +5 -0
  8. package/dist/components/App.vue.d.ts +36 -0
  9. package/dist/components/App.vue_vue_type_script_setup_true_lang.js +51 -0
  10. package/dist/components/Badge.js +5 -0
  11. package/dist/components/Badge.vue.d.ts +38 -0
  12. package/dist/components/Badge.vue_vue_type_script_setup_true_lang.js +48 -0
  13. package/dist/components/Button.vue.d.ts +1 -0
  14. package/dist/components/Button.vue_vue_type_script_setup_true_lang.js +4 -1
  15. package/dist/components/Card.js +5 -0
  16. package/dist/components/Card.vue.d.ts +49 -0
  17. package/dist/components/Card.vue_vue_type_script_setup_true_lang.js +58 -0
  18. package/dist/components/Checkbox.js +5 -0
  19. package/dist/components/Checkbox.vue.d.ts +46 -0
  20. package/dist/components/Checkbox.vue_vue_type_script_setup_true_lang.js +79 -0
  21. package/dist/components/Form.js +5 -0
  22. package/dist/components/Form.vue.d.ts +54 -0
  23. package/dist/components/Form.vue_vue_type_script_setup_true_lang.js +79 -0
  24. package/dist/components/FormField.js +5 -0
  25. package/dist/components/FormField.vue.d.ts +46 -0
  26. package/dist/components/FormField.vue_vue_type_script_setup_true_lang.js +93 -0
  27. package/dist/components/Input.js +5 -0
  28. package/dist/components/Input.vue.d.ts +29 -0
  29. package/dist/components/Input.vue_vue_type_script_setup_true_lang.js +57 -0
  30. package/dist/components/Label.js +5 -0
  31. package/dist/components/Label.vue.d.ts +23 -0
  32. package/dist/components/Label.vue_vue_type_script_setup_true_lang.js +41 -0
  33. package/dist/components/RadioGroup.js +5 -0
  34. package/dist/components/RadioGroup.vue.d.ts +41 -0
  35. package/dist/components/RadioGroup.vue_vue_type_script_setup_true_lang.js +72 -0
  36. package/dist/components/Select.js +5 -0
  37. package/dist/components/Select.vue.d.ts +42 -0
  38. package/dist/components/Select.vue_vue_type_script_setup_true_lang.js +84 -0
  39. package/dist/components/Switch.vue.d.ts +25 -2
  40. package/dist/components/Switch.vue_vue_type_script_setup_true_lang.js +45 -14
  41. package/dist/components/Textarea.js +5 -0
  42. package/dist/components/Textarea.vue.d.ts +28 -0
  43. package/dist/components/Textarea.vue_vue_type_script_setup_true_lang.js +57 -0
  44. package/dist/components/index.d.ts +12 -0
  45. package/dist/components/index.js +30 -6
  46. package/dist/composables/form.d.ts +67 -0
  47. package/dist/composables/form.js +20 -0
  48. package/dist/index.d.ts +13 -0
  49. package/dist/index.js +29 -8
  50. package/dist/plugin.js +5 -5
  51. package/dist/theme/alert.d.ts +98 -0
  52. package/dist/theme/alert.js +36 -0
  53. package/dist/theme/badge.d.ts +92 -0
  54. package/dist/theme/badge.js +94 -0
  55. package/dist/theme/card.d.ts +110 -0
  56. package/dist/theme/card.js +42 -0
  57. package/dist/theme/checkbox.d.ts +89 -0
  58. package/dist/theme/checkbox.js +37 -0
  59. package/dist/theme/form.d.ts +68 -0
  60. package/dist/theme/form.js +14 -0
  61. package/dist/theme/index.d.ts +8 -0
  62. package/dist/theme/input.d.ts +60 -0
  63. package/dist/theme/input.js +27 -0
  64. package/dist/theme/label.d.ts +14 -0
  65. package/dist/theme/label.js +8 -0
  66. package/dist/theme/presets.d.ts +20 -0
  67. package/dist/theme/presets.js +21 -1
  68. package/dist/theme/radio-group.d.ts +71 -0
  69. package/dist/theme/radio-group.js +30 -0
  70. package/dist/theme/select.d.ts +56 -0
  71. package/dist/theme/select.js +20 -0
  72. package/dist/theme/switch.d.ts +27 -0
  73. package/dist/theme/switch.js +5 -1
  74. package/package.json +8 -8
  75. package/theme.css +66 -0
@@ -0,0 +1,98 @@
1
+ export declare const alertTheme: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ info: {
4
+ root: string;
5
+ icon: string;
6
+ };
7
+ success: {
8
+ root: string;
9
+ icon: string;
10
+ };
11
+ warning: {
12
+ root: string;
13
+ icon: string;
14
+ };
15
+ danger: {
16
+ root: string;
17
+ icon: string;
18
+ };
19
+ };
20
+ /** Tightens the title/description gap when both are present. */
21
+ withTitle: {
22
+ true: {
23
+ description: string;
24
+ };
25
+ };
26
+ }, {
27
+ root: string;
28
+ icon: string;
29
+ content: string;
30
+ title: string;
31
+ description: string;
32
+ close: string;
33
+ }, undefined, {
34
+ variant: {
35
+ info: {
36
+ root: string;
37
+ icon: string;
38
+ };
39
+ success: {
40
+ root: string;
41
+ icon: string;
42
+ };
43
+ warning: {
44
+ root: string;
45
+ icon: string;
46
+ };
47
+ danger: {
48
+ root: string;
49
+ icon: string;
50
+ };
51
+ };
52
+ /** Tightens the title/description gap when both are present. */
53
+ withTitle: {
54
+ true: {
55
+ description: string;
56
+ };
57
+ };
58
+ }, {
59
+ root: string;
60
+ icon: string;
61
+ content: string;
62
+ title: string;
63
+ description: string;
64
+ close: string;
65
+ }, import("tailwind-variants").TVReturnType<{
66
+ variant: {
67
+ info: {
68
+ root: string;
69
+ icon: string;
70
+ };
71
+ success: {
72
+ root: string;
73
+ icon: string;
74
+ };
75
+ warning: {
76
+ root: string;
77
+ icon: string;
78
+ };
79
+ danger: {
80
+ root: string;
81
+ icon: string;
82
+ };
83
+ };
84
+ /** Tightens the title/description gap when both are present. */
85
+ withTitle: {
86
+ true: {
87
+ description: string;
88
+ };
89
+ };
90
+ }, {
91
+ root: string;
92
+ icon: string;
93
+ content: string;
94
+ title: string;
95
+ description: string;
96
+ close: string;
97
+ }, undefined, unknown, unknown, undefined>>;
98
+ export type AlertSlots = keyof ReturnType<typeof alertTheme>;
@@ -0,0 +1,36 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/alert.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "flex w-full gap-3 rounded-lg border p-4",
6
+ icon: "mt-0.5 shrink-0 [&_svg]:size-5",
7
+ content: "min-w-0 flex-1",
8
+ title: "text-sm font-medium",
9
+ description: "text-sm opacity-90",
10
+ close: "-m-1 shrink-0 self-start rounded-md p-1 opacity-70 transition-opacity outline-none hover:opacity-100 focus-visible:ring-2 focus-visible:ring-current/50 [&_svg]:size-4"
11
+ },
12
+ variants: {
13
+ variant: {
14
+ info: {
15
+ root: "border-info-border bg-info-muted text-info-muted-foreground",
16
+ icon: "text-info"
17
+ },
18
+ success: {
19
+ root: "border-success-border bg-success-muted text-success-muted-foreground",
20
+ icon: "text-success"
21
+ },
22
+ warning: {
23
+ root: "border-warning-border bg-warning-muted text-warning-muted-foreground",
24
+ icon: "text-warning"
25
+ },
26
+ danger: {
27
+ root: "border-danger-border bg-danger-muted text-danger-muted-foreground",
28
+ icon: "text-danger"
29
+ }
30
+ },
31
+ withTitle: { true: { description: "mt-1" } }
32
+ },
33
+ defaultVariants: { variant: "info" }
34
+ });
35
+ //#endregion
36
+ export { t as alertTheme };
@@ -0,0 +1,92 @@
1
+ export declare const badgeTheme: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ neutral: {};
4
+ success: {};
5
+ warning: {};
6
+ danger: {};
7
+ info: {};
8
+ };
9
+ /** `soft` is a tinted background; `solid` is a filled block of colour. */
10
+ tone: {
11
+ soft: {};
12
+ solid: {};
13
+ };
14
+ size: {
15
+ sm: {
16
+ root: string;
17
+ dot: string;
18
+ };
19
+ md: {
20
+ root: string;
21
+ dot: string;
22
+ };
23
+ lg: {
24
+ root: string;
25
+ dot: string;
26
+ };
27
+ };
28
+ }, {
29
+ root: string;
30
+ dot: string;
31
+ }, undefined, {
32
+ variant: {
33
+ neutral: {};
34
+ success: {};
35
+ warning: {};
36
+ danger: {};
37
+ info: {};
38
+ };
39
+ /** `soft` is a tinted background; `solid` is a filled block of colour. */
40
+ tone: {
41
+ soft: {};
42
+ solid: {};
43
+ };
44
+ size: {
45
+ sm: {
46
+ root: string;
47
+ dot: string;
48
+ };
49
+ md: {
50
+ root: string;
51
+ dot: string;
52
+ };
53
+ lg: {
54
+ root: string;
55
+ dot: string;
56
+ };
57
+ };
58
+ }, {
59
+ root: string;
60
+ dot: string;
61
+ }, import("tailwind-variants").TVReturnType<{
62
+ variant: {
63
+ neutral: {};
64
+ success: {};
65
+ warning: {};
66
+ danger: {};
67
+ info: {};
68
+ };
69
+ /** `soft` is a tinted background; `solid` is a filled block of colour. */
70
+ tone: {
71
+ soft: {};
72
+ solid: {};
73
+ };
74
+ size: {
75
+ sm: {
76
+ root: string;
77
+ dot: string;
78
+ };
79
+ md: {
80
+ root: string;
81
+ dot: string;
82
+ };
83
+ lg: {
84
+ root: string;
85
+ dot: string;
86
+ };
87
+ };
88
+ }, {
89
+ root: string;
90
+ dot: string;
91
+ }, undefined, unknown, unknown, undefined>>;
92
+ export type BadgeSlots = keyof ReturnType<typeof badgeTheme>;
@@ -0,0 +1,94 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/badge.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "inline-flex shrink-0 items-center rounded-full font-medium whitespace-nowrap [&_svg]:pointer-events-none [&_svg]:shrink-0",
6
+ dot: "rounded-full bg-current"
7
+ },
8
+ variants: {
9
+ variant: {
10
+ neutral: {},
11
+ success: {},
12
+ warning: {},
13
+ danger: {},
14
+ info: {}
15
+ },
16
+ tone: {
17
+ soft: {},
18
+ solid: {}
19
+ },
20
+ size: {
21
+ sm: {
22
+ root: "h-5 gap-1 px-2 text-xs [&_svg]:size-3",
23
+ dot: "size-1.5"
24
+ },
25
+ md: {
26
+ root: "h-6 gap-1.5 px-2.5 text-xs [&_svg]:size-3.5",
27
+ dot: "size-2"
28
+ },
29
+ lg: {
30
+ root: "h-7 gap-1.5 px-3 text-sm [&_svg]:size-4",
31
+ dot: "size-2"
32
+ }
33
+ }
34
+ },
35
+ compoundVariants: [
36
+ {
37
+ variant: "neutral",
38
+ tone: "soft",
39
+ class: { root: "bg-muted text-muted-foreground" }
40
+ },
41
+ {
42
+ variant: "neutral",
43
+ tone: "solid",
44
+ class: { root: "bg-foreground text-background" }
45
+ },
46
+ {
47
+ variant: "success",
48
+ tone: "soft",
49
+ class: { root: "bg-success-muted text-success-muted-foreground" }
50
+ },
51
+ {
52
+ variant: "success",
53
+ tone: "solid",
54
+ class: { root: "bg-success text-success-foreground" }
55
+ },
56
+ {
57
+ variant: "warning",
58
+ tone: "soft",
59
+ class: { root: "bg-warning-muted text-warning-muted-foreground" }
60
+ },
61
+ {
62
+ variant: "warning",
63
+ tone: "solid",
64
+ class: { root: "bg-warning text-warning-foreground" }
65
+ },
66
+ {
67
+ variant: "danger",
68
+ tone: "soft",
69
+ class: { root: "bg-danger-muted text-danger-muted-foreground" }
70
+ },
71
+ {
72
+ variant: "danger",
73
+ tone: "solid",
74
+ class: { root: "bg-danger text-danger-foreground" }
75
+ },
76
+ {
77
+ variant: "info",
78
+ tone: "soft",
79
+ class: { root: "bg-info-muted text-info-muted-foreground" }
80
+ },
81
+ {
82
+ variant: "info",
83
+ tone: "solid",
84
+ class: { root: "bg-info text-info-foreground" }
85
+ }
86
+ ],
87
+ defaultVariants: {
88
+ variant: "neutral",
89
+ tone: "soft",
90
+ size: "md"
91
+ }
92
+ });
93
+ //#endregion
94
+ export { t as badgeTheme };
@@ -0,0 +1,110 @@
1
+ export declare const cardTheme: import("tailwind-variants").TVReturnType<{
2
+ variant: {
3
+ outline: {
4
+ root: string;
5
+ };
6
+ soft: {
7
+ root: string;
8
+ };
9
+ };
10
+ padding: {
11
+ none: {};
12
+ sm: {
13
+ root: string;
14
+ header: string;
15
+ footer: string;
16
+ };
17
+ md: {
18
+ root: string;
19
+ header: string;
20
+ footer: string;
21
+ };
22
+ lg: {
23
+ root: string;
24
+ header: string;
25
+ footer: string;
26
+ };
27
+ };
28
+ }, {
29
+ root: string;
30
+ /** Only rendered when a title, description or header slot is provided. */
31
+ header: string;
32
+ title: string;
33
+ description: string;
34
+ body: string;
35
+ /** Only rendered when a footer slot is provided. */
36
+ footer: string;
37
+ }, undefined, {
38
+ variant: {
39
+ outline: {
40
+ root: string;
41
+ };
42
+ soft: {
43
+ root: string;
44
+ };
45
+ };
46
+ padding: {
47
+ none: {};
48
+ sm: {
49
+ root: string;
50
+ header: string;
51
+ footer: string;
52
+ };
53
+ md: {
54
+ root: string;
55
+ header: string;
56
+ footer: string;
57
+ };
58
+ lg: {
59
+ root: string;
60
+ header: string;
61
+ footer: string;
62
+ };
63
+ };
64
+ }, {
65
+ root: string;
66
+ /** Only rendered when a title, description or header slot is provided. */
67
+ header: string;
68
+ title: string;
69
+ description: string;
70
+ body: string;
71
+ /** Only rendered when a footer slot is provided. */
72
+ footer: string;
73
+ }, import("tailwind-variants").TVReturnType<{
74
+ variant: {
75
+ outline: {
76
+ root: string;
77
+ };
78
+ soft: {
79
+ root: string;
80
+ };
81
+ };
82
+ padding: {
83
+ none: {};
84
+ sm: {
85
+ root: string;
86
+ header: string;
87
+ footer: string;
88
+ };
89
+ md: {
90
+ root: string;
91
+ header: string;
92
+ footer: string;
93
+ };
94
+ lg: {
95
+ root: string;
96
+ header: string;
97
+ footer: string;
98
+ };
99
+ };
100
+ }, {
101
+ root: string;
102
+ /** Only rendered when a title, description or header slot is provided. */
103
+ header: string;
104
+ title: string;
105
+ description: string;
106
+ body: string;
107
+ /** Only rendered when a footer slot is provided. */
108
+ footer: string;
109
+ }, undefined, unknown, unknown, undefined>>;
110
+ export type CardSlots = keyof ReturnType<typeof cardTheme>;
@@ -0,0 +1,42 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/card.ts
3
+ var t = e({
4
+ slots: {
5
+ root: "rounded-xl text-foreground",
6
+ header: "flex flex-col gap-1",
7
+ title: "text-base leading-none font-semibold",
8
+ description: "text-sm text-muted-foreground",
9
+ body: "",
10
+ footer: "flex items-center gap-2"
11
+ },
12
+ variants: {
13
+ variant: {
14
+ outline: { root: "border border-border bg-background" },
15
+ soft: { root: "bg-muted" }
16
+ },
17
+ padding: {
18
+ none: {},
19
+ sm: {
20
+ root: "p-4",
21
+ header: "mb-3",
22
+ footer: "mt-3"
23
+ },
24
+ md: {
25
+ root: "p-6",
26
+ header: "mb-4",
27
+ footer: "mt-4"
28
+ },
29
+ lg: {
30
+ root: "p-8",
31
+ header: "mb-6",
32
+ footer: "mt-6"
33
+ }
34
+ }
35
+ },
36
+ defaultVariants: {
37
+ variant: "outline",
38
+ padding: "md"
39
+ }
40
+ });
41
+ //#endregion
42
+ export { t as cardTheme };
@@ -0,0 +1,89 @@
1
+ export declare const checkboxTheme: import("tailwind-variants").TVReturnType<{
2
+ size: {
3
+ sm: {
4
+ root: string;
5
+ indicator: string;
6
+ };
7
+ md: {
8
+ root: string;
9
+ indicator: string;
10
+ };
11
+ lg: {
12
+ root: string;
13
+ indicator: string;
14
+ };
15
+ };
16
+ /** Nudges the box down so it centres against the label's first line. */
17
+ withText: {
18
+ true: {
19
+ root: string;
20
+ };
21
+ };
22
+ }, {
23
+ /** Only rendered when a `label` or `description` is provided. */
24
+ wrapper: string;
25
+ root: string;
26
+ indicator: string;
27
+ content: string;
28
+ label: string;
29
+ description: string;
30
+ }, undefined, {
31
+ size: {
32
+ sm: {
33
+ root: string;
34
+ indicator: string;
35
+ };
36
+ md: {
37
+ root: string;
38
+ indicator: string;
39
+ };
40
+ lg: {
41
+ root: string;
42
+ indicator: string;
43
+ };
44
+ };
45
+ /** Nudges the box down so it centres against the label's first line. */
46
+ withText: {
47
+ true: {
48
+ root: string;
49
+ };
50
+ };
51
+ }, {
52
+ /** Only rendered when a `label` or `description` is provided. */
53
+ wrapper: string;
54
+ root: string;
55
+ indicator: string;
56
+ content: string;
57
+ label: string;
58
+ description: string;
59
+ }, import("tailwind-variants").TVReturnType<{
60
+ size: {
61
+ sm: {
62
+ root: string;
63
+ indicator: string;
64
+ };
65
+ md: {
66
+ root: string;
67
+ indicator: string;
68
+ };
69
+ lg: {
70
+ root: string;
71
+ indicator: string;
72
+ };
73
+ };
74
+ /** Nudges the box down so it centres against the label's first line. */
75
+ withText: {
76
+ true: {
77
+ root: string;
78
+ };
79
+ };
80
+ }, {
81
+ /** Only rendered when a `label` or `description` is provided. */
82
+ wrapper: string;
83
+ root: string;
84
+ indicator: string;
85
+ content: string;
86
+ label: string;
87
+ description: string;
88
+ }, undefined, unknown, unknown, undefined>>;
89
+ export type CheckboxSlots = keyof ReturnType<typeof checkboxTheme>;
@@ -0,0 +1,37 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/checkbox.ts
3
+ var t = e({
4
+ slots: {
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-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
+ indicator: "flex items-center justify-center text-current",
8
+ content: "grid gap-1",
9
+ label: "text-sm leading-5 font-medium text-foreground select-none",
10
+ description: "text-sm leading-snug text-muted-foreground"
11
+ },
12
+ variants: {
13
+ size: {
14
+ sm: {
15
+ root: "size-3.5",
16
+ indicator: "[&_svg]:size-2.5"
17
+ },
18
+ md: {
19
+ root: "size-4",
20
+ indicator: "[&_svg]:size-3"
21
+ },
22
+ lg: {
23
+ root: "size-5",
24
+ indicator: "[&_svg]:size-3.5"
25
+ }
26
+ },
27
+ withText: { true: { root: "mt-0.5" } }
28
+ },
29
+ compoundVariants: [{
30
+ size: "lg",
31
+ withText: !0,
32
+ class: { root: "mt-0" }
33
+ }],
34
+ defaultVariants: { size: "md" }
35
+ });
36
+ //#endregion
37
+ export { t as checkboxTheme };
@@ -0,0 +1,68 @@
1
+ export declare const formFieldTheme: import("tailwind-variants").TVReturnType<{
2
+ [key: string]: {
3
+ [key: string]: import("tailwind-variants").ClassValue | {
4
+ root?: import("tailwind-variants").ClassValue;
5
+ description?: import("tailwind-variants").ClassValue;
6
+ label?: import("tailwind-variants").ClassValue;
7
+ header?: import("tailwind-variants").ClassValue;
8
+ error?: import("tailwind-variants").ClassValue;
9
+ hint?: import("tailwind-variants").ClassValue;
10
+ control?: import("tailwind-variants").ClassValue;
11
+ help?: import("tailwind-variants").ClassValue;
12
+ };
13
+ };
14
+ } | {
15
+ [x: string]: {
16
+ [x: string]: import("tailwind-variants").ClassValue | {
17
+ root?: import("tailwind-variants").ClassValue;
18
+ description?: import("tailwind-variants").ClassValue;
19
+ label?: import("tailwind-variants").ClassValue;
20
+ header?: import("tailwind-variants").ClassValue;
21
+ error?: import("tailwind-variants").ClassValue;
22
+ hint?: import("tailwind-variants").ClassValue;
23
+ control?: import("tailwind-variants").ClassValue;
24
+ help?: import("tailwind-variants").ClassValue;
25
+ };
26
+ };
27
+ } | {}, {
28
+ root: string;
29
+ header: string;
30
+ label: string;
31
+ hint: string;
32
+ description: string;
33
+ control: string;
34
+ error: string;
35
+ help: string;
36
+ }, undefined, {
37
+ [key: string]: {
38
+ [key: string]: import("tailwind-variants").ClassValue | {
39
+ root?: import("tailwind-variants").ClassValue;
40
+ description?: import("tailwind-variants").ClassValue;
41
+ label?: import("tailwind-variants").ClassValue;
42
+ header?: import("tailwind-variants").ClassValue;
43
+ error?: import("tailwind-variants").ClassValue;
44
+ hint?: import("tailwind-variants").ClassValue;
45
+ control?: import("tailwind-variants").ClassValue;
46
+ help?: import("tailwind-variants").ClassValue;
47
+ };
48
+ };
49
+ } | {}, {
50
+ root: string;
51
+ header: string;
52
+ label: string;
53
+ hint: string;
54
+ description: string;
55
+ control: string;
56
+ error: string;
57
+ help: string;
58
+ }, import("tailwind-variants").TVReturnType<unknown, {
59
+ root: string;
60
+ header: string;
61
+ label: string;
62
+ hint: string;
63
+ description: string;
64
+ control: string;
65
+ error: string;
66
+ help: string;
67
+ }, undefined, unknown, unknown, undefined>>;
68
+ export type FormFieldSlots = keyof ReturnType<typeof formFieldTheme>;
@@ -0,0 +1,14 @@
1
+ import { tv as e } from "tailwind-variants";
2
+ //#region src/theme/form.ts
3
+ var t = e({ slots: {
4
+ root: "space-y-1.5",
5
+ header: "flex items-center justify-between gap-2",
6
+ label: "",
7
+ hint: "text-sm leading-none text-muted-foreground",
8
+ description: "text-sm leading-snug text-muted-foreground",
9
+ control: "",
10
+ error: "text-sm leading-snug text-red-500",
11
+ help: "text-sm leading-snug text-muted-foreground"
12
+ } });
13
+ //#endregion
14
+ export { t as formFieldTheme };
@@ -1,3 +1,11 @@
1
+ export * from './alert';
2
+ export * from './badge';
1
3
  export * from './button';
4
+ export * from './card';
5
+ export * from './checkbox';
6
+ export * from './input';
7
+ export * from './label';
2
8
  export * from './presets';
9
+ export * from './radio-group';
10
+ export * from './select';
3
11
  export * from './switch';