@byyuurin/ui 0.0.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 (101) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +32 -0
  3. package/dist/components/Accordion.vue +104 -0
  4. package/dist/components/App.vue +57 -0
  5. package/dist/components/Button.vue +94 -0
  6. package/dist/components/Card.vue +76 -0
  7. package/dist/components/Checkbox.vue +104 -0
  8. package/dist/components/Drawer.vue +133 -0
  9. package/dist/components/Input.vue +169 -0
  10. package/dist/components/Link.vue +117 -0
  11. package/dist/components/Modal.vue +145 -0
  12. package/dist/components/ModalProvider.vue +10 -0
  13. package/dist/components/Popover.vue +97 -0
  14. package/dist/components/RadioGroup.vue +180 -0
  15. package/dist/components/Select.vue +258 -0
  16. package/dist/components/Switch.vue +99 -0
  17. package/dist/components/Tabs.vue +117 -0
  18. package/dist/components/Toast.vue +126 -0
  19. package/dist/components/Toaster.vue +143 -0
  20. package/dist/components/Tooltip.vue +71 -0
  21. package/dist/components/index.d.ts +18 -0
  22. package/dist/components/index.mjs +18 -0
  23. package/dist/composables/index.d.ts +4 -0
  24. package/dist/composables/index.mjs +4 -0
  25. package/dist/composables/useComponentIcons.d.ts +26 -0
  26. package/dist/composables/useComponentIcons.mjs +24 -0
  27. package/dist/composables/useModal.d.ts +15 -0
  28. package/dist/composables/useModal.mjs +51 -0
  29. package/dist/composables/useTheme.d.ts +8 -0
  30. package/dist/composables/useTheme.mjs +18 -0
  31. package/dist/composables/useToast.d.ts +24 -0
  32. package/dist/composables/useToast.mjs +48 -0
  33. package/dist/index.d.ts +3 -0
  34. package/dist/index.mjs +3 -0
  35. package/dist/internal/constants.d.ts +3 -0
  36. package/dist/internal/constants.mjs +21 -0
  37. package/dist/internal/extend-theme.d.ts +9 -0
  38. package/dist/internal/extend-theme.mjs +16 -0
  39. package/dist/internal/extend-theme.test.d.ts +1 -0
  40. package/dist/internal/extend-theme.test.mjs +45 -0
  41. package/dist/internal/index.d.ts +4 -0
  42. package/dist/internal/index.mjs +4 -0
  43. package/dist/internal/link.d.ts +15 -0
  44. package/dist/internal/link.mjs +4 -0
  45. package/dist/internal/styler.d.ts +5 -0
  46. package/dist/internal/styler.mjs +236 -0
  47. package/dist/internal/styler.test.d.ts +1 -0
  48. package/dist/internal/styler.test.mjs +10 -0
  49. package/dist/nuxt.d.ts +10 -0
  50. package/dist/nuxt.mjs +28 -0
  51. package/dist/resolver.d.ts +10 -0
  52. package/dist/resolver.mjs +18 -0
  53. package/dist/theme/accordion.d.ts +39 -0
  54. package/dist/theme/accordion.mjs +25 -0
  55. package/dist/theme/app.d.ts +10 -0
  56. package/dist/theme/app.mjs +9 -0
  57. package/dist/theme/button.d.ts +184 -0
  58. package/dist/theme/button.mjs +140 -0
  59. package/dist/theme/card.d.ts +43 -0
  60. package/dist/theme/card.mjs +11 -0
  61. package/dist/theme/checkbox.d.ts +97 -0
  62. package/dist/theme/checkbox.mjs +53 -0
  63. package/dist/theme/drawer.d.ts +72 -0
  64. package/dist/theme/drawer.mjs +72 -0
  65. package/dist/theme/index.d.ts +17 -0
  66. package/dist/theme/index.mjs +17 -0
  67. package/dist/theme/input.d.ts +159 -0
  68. package/dist/theme/input.mjs +133 -0
  69. package/dist/theme/link.d.ts +31 -0
  70. package/dist/theme/link.mjs +23 -0
  71. package/dist/theme/modal.d.ts +50 -0
  72. package/dist/theme/modal.mjs +54 -0
  73. package/dist/theme/popover.d.ts +27 -0
  74. package/dist/theme/popover.mjs +10 -0
  75. package/dist/theme/radioGroup.d.ts +131 -0
  76. package/dist/theme/radioGroup.mjs +67 -0
  77. package/dist/theme/select.d.ts +177 -0
  78. package/dist/theme/select.mjs +154 -0
  79. package/dist/theme/switch.d.ts +131 -0
  80. package/dist/theme/switch.mjs +78 -0
  81. package/dist/theme/tabs.d.ts +101 -0
  82. package/dist/theme/tabs.mjs +117 -0
  83. package/dist/theme/toast.d.ts +51 -0
  84. package/dist/theme/toast.mjs +27 -0
  85. package/dist/theme/toaster.d.ts +73 -0
  86. package/dist/theme/toaster.mjs +89 -0
  87. package/dist/theme/tooltip.d.ts +31 -0
  88. package/dist/theme/tooltip.mjs +8 -0
  89. package/dist/types/components.d.ts +18 -0
  90. package/dist/types/components.mjs +0 -0
  91. package/dist/types/index.d.ts +7 -0
  92. package/dist/types/index.mjs +2 -0
  93. package/dist/types/utils.d.ts +29 -0
  94. package/dist/types/utils.mjs +0 -0
  95. package/dist/unocss-preset.d.ts +37 -0
  96. package/dist/unocss-preset.mjs +164 -0
  97. package/dist/utils/index.d.ts +18 -0
  98. package/dist/utils/index.mjs +70 -0
  99. package/dist/utils/unocss.d.ts +3 -0
  100. package/dist/utils/unocss.mjs +50 -0
  101. package/package.json +103 -0
@@ -0,0 +1,184 @@
1
+ declare const _default: {
2
+ base: undefined;
3
+ slots: {
4
+ base: string[];
5
+ label: string;
6
+ prefixIcon: string;
7
+ suffixIcon: string;
8
+ };
9
+ variants: {
10
+ variant: {
11
+ solid: {
12
+ base: string[];
13
+ };
14
+ outline: {
15
+ base: string[];
16
+ };
17
+ soft: {
18
+ base: string[];
19
+ };
20
+ ghost: {
21
+ base: string[];
22
+ };
23
+ link: {
24
+ base: string[];
25
+ };
26
+ };
27
+ size: {
28
+ xs: {
29
+ base: string;
30
+ };
31
+ sm: {
32
+ base: string;
33
+ };
34
+ md: {
35
+ base: string;
36
+ };
37
+ lg: {
38
+ base: string;
39
+ };
40
+ xl: {
41
+ base: string;
42
+ };
43
+ };
44
+ round: {
45
+ true: {
46
+ base: string;
47
+ };
48
+ false: {
49
+ base: string;
50
+ };
51
+ };
52
+ active: {
53
+ true: "";
54
+ };
55
+ prefix: {
56
+ true: "";
57
+ };
58
+ suffix: {
59
+ true: "";
60
+ };
61
+ loading: {
62
+ true: "";
63
+ };
64
+ };
65
+ compoundVariants: ({
66
+ size: ("xs" | "sm" | "md")[];
67
+ class: {
68
+ base: string;
69
+ label: string;
70
+ prefixIcon?: undefined;
71
+ suffixIcon?: undefined;
72
+ };
73
+ active?: undefined;
74
+ variant?: undefined;
75
+ loading?: undefined;
76
+ prefix?: undefined;
77
+ suffix?: undefined;
78
+ } | {
79
+ size: ("lg" | "xl")[];
80
+ class: {
81
+ base: string;
82
+ label: string;
83
+ prefixIcon?: undefined;
84
+ suffixIcon?: undefined;
85
+ };
86
+ active?: undefined;
87
+ variant?: undefined;
88
+ loading?: undefined;
89
+ prefix?: undefined;
90
+ suffix?: undefined;
91
+ } | {
92
+ active: true;
93
+ variant: "solid";
94
+ class: {
95
+ base: string;
96
+ label?: undefined;
97
+ prefixIcon?: undefined;
98
+ suffixIcon?: undefined;
99
+ };
100
+ size?: undefined;
101
+ loading?: undefined;
102
+ prefix?: undefined;
103
+ suffix?: undefined;
104
+ } | {
105
+ active: true;
106
+ variant: "outline";
107
+ class: {
108
+ base: string;
109
+ label?: undefined;
110
+ prefixIcon?: undefined;
111
+ suffixIcon?: undefined;
112
+ };
113
+ size?: undefined;
114
+ loading?: undefined;
115
+ prefix?: undefined;
116
+ suffix?: undefined;
117
+ } | {
118
+ active: true;
119
+ variant: "soft";
120
+ class: {
121
+ base: string;
122
+ label?: undefined;
123
+ prefixIcon?: undefined;
124
+ suffixIcon?: undefined;
125
+ };
126
+ size?: undefined;
127
+ loading?: undefined;
128
+ prefix?: undefined;
129
+ suffix?: undefined;
130
+ } | {
131
+ active: true;
132
+ variant: "ghost";
133
+ class: {
134
+ base: string;
135
+ label?: undefined;
136
+ prefixIcon?: undefined;
137
+ suffixIcon?: undefined;
138
+ };
139
+ size?: undefined;
140
+ loading?: undefined;
141
+ prefix?: undefined;
142
+ suffix?: undefined;
143
+ } | {
144
+ active: true;
145
+ variant: "link";
146
+ class: {
147
+ base: string;
148
+ label?: undefined;
149
+ prefixIcon?: undefined;
150
+ suffixIcon?: undefined;
151
+ };
152
+ size?: undefined;
153
+ loading?: undefined;
154
+ prefix?: undefined;
155
+ suffix?: undefined;
156
+ } | {
157
+ loading: true;
158
+ prefix: true;
159
+ class: {
160
+ prefixIcon: string;
161
+ base?: undefined;
162
+ label?: undefined;
163
+ suffixIcon?: undefined;
164
+ };
165
+ size?: undefined;
166
+ active?: undefined;
167
+ variant?: undefined;
168
+ suffix?: undefined;
169
+ } | {
170
+ loading: true;
171
+ prefix: false;
172
+ suffix: true;
173
+ class: {
174
+ suffixIcon: string;
175
+ base?: undefined;
176
+ label?: undefined;
177
+ prefixIcon?: undefined;
178
+ };
179
+ size?: undefined;
180
+ active?: undefined;
181
+ variant?: undefined;
182
+ })[];
183
+ };
184
+ export default _default;
@@ -0,0 +1,140 @@
1
+ import { ct } from "@byyuurin/ui-kit";
2
+ export default ct({
3
+ slots: {
4
+ base: [
5
+ "inline-flex items-center leading-normal transition-colors",
6
+ "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:opacity-50"
7
+ ],
8
+ label: "color-inherit",
9
+ prefixIcon: "shrink-0 size-1.5em",
10
+ suffixIcon: "shrink-0 size-1.5em"
11
+ },
12
+ variants: {
13
+ variant: {
14
+ solid: {
15
+ base: [
16
+ "color-ui-c1 bg-ui-fill/90",
17
+ "hover:bg-ui-fill/80 active:bg-ui-fill",
18
+ "disabled:bg-ui-fill/90 aria-disabled:bg-ui-fill/90"
19
+ ]
20
+ },
21
+ outline: {
22
+ base: [
23
+ "color-ui-fill bg-ui-c1 ring ring-inset ring-ui-fill",
24
+ "hover:bg-ui-fill/10 active:bg-ui-fill/25",
25
+ "disabled:bg-ui-c1 aria-disabled:bg-ui-c1"
26
+ ]
27
+ },
28
+ soft: {
29
+ base: [
30
+ "color-ui-content/80 bg-ui-fill/10",
31
+ "hover:bg-ui-fill/15 hover:color-ui-content/80 active:bg-ui-fill/20 active:color-ui-content/90",
32
+ "disabled:bg-ui-fill/10 aria-disabled:bg-ui-fill/10 disabled:color-ui-content/80 aria-disabled:color-ui-content/80"
33
+ ]
34
+ },
35
+ ghost: {
36
+ base: [
37
+ "color-ui-fill/80 bg-transparent",
38
+ "hover:bg-ui-fill/10 hover:color-ui-fill/80 active:bg-ui-fill/20 active:color-ui-fill/90",
39
+ "disabled:bg-transparent aria-disabled:bg-transparent disabled:color-ui-fill/80 aria-disabled:color-ui-fill/80"
40
+ ]
41
+ },
42
+ link: {
43
+ base: [
44
+ "color-ui-fill bg-transparent",
45
+ "hover:color-ui-fill/80 active:color-ui-fill/90",
46
+ "disabled:color-ui-fill aria-disabled:color-ui-fill"
47
+ ]
48
+ }
49
+ },
50
+ size: {
51
+ xs: {
52
+ base: "text-xs"
53
+ },
54
+ sm: {
55
+ base: "text-sm"
56
+ },
57
+ md: {
58
+ base: "text-base"
59
+ },
60
+ lg: {
61
+ base: "text-lg"
62
+ },
63
+ xl: {
64
+ base: "text-xl"
65
+ }
66
+ },
67
+ round: {
68
+ true: {
69
+ base: "rounded-full"
70
+ },
71
+ false: {
72
+ base: "rounded-ui-button"
73
+ }
74
+ },
75
+ active: {
76
+ true: ""
77
+ },
78
+ prefix: {
79
+ true: ""
80
+ },
81
+ suffix: {
82
+ true: ""
83
+ },
84
+ loading: {
85
+ true: ""
86
+ }
87
+ },
88
+ compoundVariants: [
89
+ {
90
+ size: ["xs", "sm", "md"],
91
+ class: {
92
+ base: "p-1.5",
93
+ label: "px-1"
94
+ }
95
+ },
96
+ {
97
+ size: ["lg", "xl"],
98
+ class: {
99
+ base: "p-2.5",
100
+ label: "px-2"
101
+ }
102
+ },
103
+ {
104
+ active: true,
105
+ variant: "solid",
106
+ class: { base: "bg-ui-fill hover:bg-ui-fill" }
107
+ },
108
+ {
109
+ active: true,
110
+ variant: "outline",
111
+ class: { base: "bg-ui-fill/25 hover:bg-ui-fill/25" }
112
+ },
113
+ {
114
+ active: true,
115
+ variant: "soft",
116
+ class: { base: "color-ui-content/90 bg-ui-fill/20 hover:color-ui-content/90 hover:bg-ui-fill/20" }
117
+ },
118
+ {
119
+ active: true,
120
+ variant: "ghost",
121
+ class: { base: "color-ui-fill/90 bg-ui-fill/20 hover:color-ui-fill/90 hover:bg-ui-fill/20" }
122
+ },
123
+ {
124
+ active: true,
125
+ variant: "link",
126
+ class: { base: "color-ui-fill/90 hover:color-ui-fill/90" }
127
+ },
128
+ {
129
+ loading: true,
130
+ prefix: true,
131
+ class: { prefixIcon: "animate-spin" }
132
+ },
133
+ {
134
+ loading: true,
135
+ prefix: false,
136
+ suffix: true,
137
+ class: { suffixIcon: "animate-spin" }
138
+ }
139
+ ]
140
+ });
@@ -0,0 +1,43 @@
1
+ declare const _default: {
2
+ base: undefined;
3
+ slots: {
4
+ root: string;
5
+ header: string;
6
+ body: string;
7
+ footer: string;
8
+ title: string;
9
+ description: string;
10
+ };
11
+ variants: {
12
+ [key: string]: {
13
+ [key: string]: "" | {
14
+ root?: import("@byyuurin/ui-kit/index").ClassValue;
15
+ header?: import("@byyuurin/ui-kit/index").ClassValue;
16
+ body?: import("@byyuurin/ui-kit/index").ClassValue;
17
+ footer?: import("@byyuurin/ui-kit/index").ClassValue;
18
+ title?: import("@byyuurin/ui-kit/index").ClassValue;
19
+ description?: import("@byyuurin/ui-kit/index").ClassValue;
20
+ } | null;
21
+ };
22
+ };
23
+ compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
24
+ [key: string]: {
25
+ [key: string]: "" | {
26
+ root?: import("@byyuurin/ui-kit/index").ClassValue;
27
+ header?: import("@byyuurin/ui-kit/index").ClassValue;
28
+ body?: import("@byyuurin/ui-kit/index").ClassValue;
29
+ footer?: import("@byyuurin/ui-kit/index").ClassValue;
30
+ title?: import("@byyuurin/ui-kit/index").ClassValue;
31
+ description?: import("@byyuurin/ui-kit/index").ClassValue;
32
+ } | null;
33
+ };
34
+ }, {
35
+ root: string;
36
+ header: string;
37
+ body: string;
38
+ footer: string;
39
+ title: string;
40
+ description: string;
41
+ }, undefined>;
42
+ };
43
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { ct } from "@byyuurin/ui-kit";
2
+ export default ct({
3
+ slots: {
4
+ root: "color-ui-cb bg-ui-c1 ring ring-ui-cb/10 divide-y divide-ui-cb/10 rounded-ui-box shadow-sm shadow-ui-cb/10",
5
+ header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
6
+ body: "flex-1 overflow-y-auto p-4 sm:p-6 empty:hidden",
7
+ footer: "flex items-center gap-1.5 p-4 sm:px-6",
8
+ title: "flex-grow color-ui-cb text-xl font-semibold",
9
+ description: "w-full color-ui-cb/80"
10
+ }
11
+ });
@@ -0,0 +1,97 @@
1
+ declare const _default: {
2
+ base: undefined;
3
+ slots: {
4
+ root: string;
5
+ base: string[];
6
+ container: string;
7
+ wrapper: string;
8
+ icon: string;
9
+ label: string;
10
+ description: string;
11
+ };
12
+ variants: {
13
+ size: {
14
+ xs: {
15
+ root: string;
16
+ };
17
+ sm: {
18
+ root: string;
19
+ };
20
+ md: {
21
+ root: string;
22
+ };
23
+ lg: {
24
+ root: string;
25
+ };
26
+ xl: {
27
+ root: string;
28
+ };
29
+ };
30
+ required: {
31
+ true: {
32
+ label: string;
33
+ };
34
+ };
35
+ disabled: {
36
+ true: {
37
+ root: string;
38
+ };
39
+ false: {
40
+ label: string;
41
+ };
42
+ };
43
+ checked: {
44
+ true: {
45
+ base: string;
46
+ icon: string;
47
+ };
48
+ };
49
+ };
50
+ compoundVariants: import("@byyuurin/ui-kit/index").CVCompoundVariants<{
51
+ size: {
52
+ xs: {
53
+ root: string;
54
+ };
55
+ sm: {
56
+ root: string;
57
+ };
58
+ md: {
59
+ root: string;
60
+ };
61
+ lg: {
62
+ root: string;
63
+ };
64
+ xl: {
65
+ root: string;
66
+ };
67
+ };
68
+ required: {
69
+ true: {
70
+ label: string;
71
+ };
72
+ };
73
+ disabled: {
74
+ true: {
75
+ root: string;
76
+ };
77
+ false: {
78
+ label: string;
79
+ };
80
+ };
81
+ checked: {
82
+ true: {
83
+ base: string;
84
+ icon: string;
85
+ };
86
+ };
87
+ }, {
88
+ root: string;
89
+ base: string[];
90
+ container: string;
91
+ wrapper: string;
92
+ icon: string;
93
+ label: string;
94
+ description: string;
95
+ }, undefined>;
96
+ };
97
+ export default _default;
@@ -0,0 +1,53 @@
1
+ import { ct } from "@byyuurin/ui-kit";
2
+ export default ct({
3
+ slots: {
4
+ root: "relative flex items-start",
5
+ base: [
6
+ "size-1.25em shrink-0 flex items-center justify-center rounded-ui-base color-ui-c1 ring ring-inset ring-ui-cb",
7
+ "focus-visible:outline-ui-cb focus-visible:outline-2 focus-visible:outline-offset-2"
8
+ ],
9
+ container: "flex items-center h-1.25em",
10
+ wrapper: "text-inherit ms-2",
11
+ icon: "shrink-0 size-1em data-[state=checked]:animate-[scale-in_200ms_ease-out]",
12
+ label: "flex color-ui-cb after:content-empty",
13
+ description: "color-ui-cb/60"
14
+ },
15
+ variants: {
16
+ size: {
17
+ xs: {
18
+ root: "text-xs"
19
+ },
20
+ sm: {
21
+ root: "text-sm"
22
+ },
23
+ md: {
24
+ root: "text-base"
25
+ },
26
+ lg: {
27
+ root: "text-lg"
28
+ },
29
+ xl: {
30
+ root: "text-xl"
31
+ }
32
+ },
33
+ required: {
34
+ true: {
35
+ label: `after:content-['*'] after:ms-0.5`
36
+ }
37
+ },
38
+ disabled: {
39
+ true: {
40
+ root: "opacity-50 after:content-empty after:absolute after:inset-0 after:cursor-not-allowed"
41
+ },
42
+ false: {
43
+ label: "cursor-pointer"
44
+ }
45
+ },
46
+ checked: {
47
+ true: {
48
+ base: "ring-2 ring-ui-content bg-ui-content",
49
+ icon: "color-ui-c1"
50
+ }
51
+ }
52
+ }
53
+ });
@@ -0,0 +1,72 @@
1
+ declare const _default: {
2
+ base: undefined;
3
+ slots: {
4
+ overlay: string;
5
+ content: string;
6
+ handle: string;
7
+ container: string;
8
+ header: string;
9
+ title: string;
10
+ description: string;
11
+ body: string;
12
+ footer: string;
13
+ };
14
+ variants: {
15
+ direction: {
16
+ top: {
17
+ content: string;
18
+ handle: string;
19
+ };
20
+ right: {
21
+ content: string;
22
+ handle: string;
23
+ };
24
+ bottom: {
25
+ content: string;
26
+ handle: string;
27
+ };
28
+ left: {
29
+ content: string;
30
+ handle: string;
31
+ };
32
+ };
33
+ blur: {
34
+ true: {
35
+ overlay: string;
36
+ };
37
+ };
38
+ full: {
39
+ true: "";
40
+ };
41
+ };
42
+ compoundVariants: ({
43
+ direction: ("top" | "bottom")[];
44
+ class: {
45
+ content: string;
46
+ handle: string;
47
+ };
48
+ full?: undefined;
49
+ } | {
50
+ direction: ("top" | "bottom")[];
51
+ full: false;
52
+ class: {
53
+ content: string;
54
+ handle?: undefined;
55
+ };
56
+ } | {
57
+ direction: ("right" | "left")[];
58
+ class: {
59
+ content: string;
60
+ handle: string;
61
+ };
62
+ full?: undefined;
63
+ } | {
64
+ direction: ("right" | "left")[];
65
+ full: false;
66
+ class: {
67
+ content: string;
68
+ handle?: undefined;
69
+ };
70
+ })[];
71
+ };
72
+ export default _default;
@@ -0,0 +1,72 @@
1
+ import { ct } from "@byyuurin/ui-kit";
2
+ export default ct({
3
+ slots: {
4
+ overlay: "fixed inset-0 bg-ui-c3/75",
5
+ content: "fixed bg-ui-c1 ring ring-ui-cb/5 flex focus:outline-none",
6
+ handle: "shrink-0 rounded-full bg-ui-cb/17.5",
7
+ container: "w-full flex flex-col overflow-hidden overflow-y-auto",
8
+ header: "p-4 sm:px-6 sibling:pt-0",
9
+ title: "color-ui-cb text-xl font-semibold",
10
+ description: "mt-1 color-ui-cb/80",
11
+ body: "p-4 sm:px-6 flex-1 sibling:pt-0",
12
+ footer: "p-4 sm:px-6 flex flex-col gap-1.5"
13
+ },
14
+ variants: {
15
+ direction: {
16
+ top: {
17
+ content: "top-0 mb-24 flex-col-reverse rounded-b-ui-box",
18
+ handle: "mb-4"
19
+ },
20
+ right: {
21
+ content: "right-4 flex-row rounded-l-ui-box",
22
+ handle: "ml-4"
23
+ },
24
+ bottom: {
25
+ content: "bottom-0 mt-24 flex-col rounded-t-ui-box",
26
+ handle: "mt-4"
27
+ },
28
+ left: {
29
+ content: "left-4 flex-row-reverse rounded-r-ui-box",
30
+ handle: "mr-4"
31
+ }
32
+ },
33
+ blur: {
34
+ true: {
35
+ overlay: "backdrop-blur-sm"
36
+ }
37
+ },
38
+ full: {
39
+ true: ""
40
+ }
41
+ },
42
+ compoundVariants: [
43
+ {
44
+ direction: ["top", "bottom"],
45
+ class: {
46
+ content: "inset-x-0 h-auto max-h-[96%]",
47
+ handle: "w-12 h-1.5 mx-auto"
48
+ }
49
+ },
50
+ {
51
+ direction: ["top", "bottom"],
52
+ full: false,
53
+ class: {
54
+ content: "inset-x-4 my-4 rounded-ui-box after:hidden"
55
+ }
56
+ },
57
+ {
58
+ direction: ["right", "left"],
59
+ class: {
60
+ content: "inset-y-0 w-auto max-w-[calc(100%-2rem)]",
61
+ handle: "h-12 w-1.5 my-auto"
62
+ }
63
+ },
64
+ {
65
+ direction: ["right", "left"],
66
+ full: false,
67
+ class: {
68
+ content: "inset-y-4 rounded-ui-box after:hidden"
69
+ }
70
+ }
71
+ ]
72
+ });
@@ -0,0 +1,17 @@
1
+ export { default as accordion } from './accordion';
2
+ export { default as app } from './app';
3
+ export { default as button } from './button';
4
+ export { default as card } from './card';
5
+ export { default as checkbox } from './checkbox';
6
+ export { default as drawer } from './drawer';
7
+ export { default as input } from './input';
8
+ export { default as link } from './link';
9
+ export { default as modal } from './modal';
10
+ export { default as popover } from './popover';
11
+ export { default as radioGroup } from './radioGroup';
12
+ export { default as select } from './select';
13
+ export { default as switch } from './switch';
14
+ export { default as tabs } from './tabs';
15
+ export { default as toast } from './toast';
16
+ export { default as toaster } from './toaster';
17
+ export { default as tooltip } from './tooltip';
@@ -0,0 +1,17 @@
1
+ export { default as accordion } from "./accordion.mjs";
2
+ export { default as app } from "./app.mjs";
3
+ export { default as button } from "./button.mjs";
4
+ export { default as card } from "./card.mjs";
5
+ export { default as checkbox } from "./checkbox.mjs";
6
+ export { default as drawer } from "./drawer.mjs";
7
+ export { default as input } from "./input.mjs";
8
+ export { default as link } from "./link.mjs";
9
+ export { default as modal } from "./modal.mjs";
10
+ export { default as popover } from "./popover.mjs";
11
+ export { default as radioGroup } from "./radioGroup.mjs";
12
+ export { default as select } from "./select.mjs";
13
+ export { default as switch } from "./switch.mjs";
14
+ export { default as tabs } from "./tabs.mjs";
15
+ export { default as toast } from "./toast.mjs";
16
+ export { default as toaster } from "./toaster.mjs";
17
+ export { default as tooltip } from "./tooltip.mjs";