@byyuurin/ui 0.0.4 → 0.0.5

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 (94) hide show
  1. package/README.md +11 -22
  2. package/dist/index.d.ts +25 -2
  3. package/dist/index.mjs +25 -2
  4. package/dist/nuxt.d.mts +1 -1
  5. package/dist/nuxt.d.ts +1 -1
  6. package/dist/nuxt.mjs +14 -10
  7. package/dist/nuxt.mjs.map +1 -0
  8. package/dist/runtime/components/Accordion.vue +1 -1
  9. package/dist/runtime/components/Alert.vue +120 -0
  10. package/dist/runtime/components/Badge.vue +71 -0
  11. package/dist/runtime/components/Button.vue +3 -2
  12. package/dist/runtime/components/Card.vue +4 -4
  13. package/dist/runtime/components/Checkbox.vue +1 -1
  14. package/dist/runtime/components/Chip.vue +59 -0
  15. package/dist/runtime/components/Drawer.vue +2 -2
  16. package/dist/runtime/components/Input.vue +2 -1
  17. package/dist/runtime/components/Link.vue +1 -1
  18. package/dist/runtime/components/Modal.vue +2 -2
  19. package/dist/runtime/components/PinInput.vue +86 -0
  20. package/dist/runtime/components/Popover.vue +1 -1
  21. package/dist/runtime/components/RadioGroup.vue +1 -1
  22. package/dist/runtime/components/ScrollArea.vue +1 -1
  23. package/dist/runtime/components/Select.vue +2 -1
  24. package/dist/runtime/components/Slider.vue +97 -0
  25. package/dist/runtime/components/Switch.vue +1 -1
  26. package/dist/runtime/components/Tabs.vue +1 -1
  27. package/dist/runtime/components/Textarea.vue +2 -3
  28. package/dist/runtime/components/Toast.vue +1 -1
  29. package/dist/runtime/components/Toaster.vue +2 -1
  30. package/dist/runtime/components/Tooltip.vue +1 -1
  31. package/dist/runtime/theme/accordion.mjs +24 -21
  32. package/dist/runtime/theme/alert.d.ts +85 -0
  33. package/dist/runtime/theme/alert.mjs +47 -0
  34. package/dist/runtime/theme/app.mjs +1 -0
  35. package/dist/runtime/theme/badge.d.ts +79 -0
  36. package/dist/runtime/theme/badge.mjs +89 -0
  37. package/dist/runtime/theme/button.d.ts +4 -1
  38. package/dist/runtime/theme/button.mjs +131 -120
  39. package/dist/runtime/theme/card.d.ts +2 -2
  40. package/dist/runtime/theme/card.mjs +12 -9
  41. package/dist/runtime/theme/checkbox.mjs +45 -42
  42. package/dist/runtime/theme/chip.d.ts +56 -0
  43. package/dist/runtime/theme/chip.mjs +63 -0
  44. package/dist/runtime/theme/drawer.mjs +69 -66
  45. package/dist/runtime/theme/index.d.ts +5 -0
  46. package/dist/runtime/theme/index.mjs +5 -0
  47. package/dist/runtime/theme/input.d.ts +13 -5
  48. package/dist/runtime/theme/input.mjs +135 -122
  49. package/dist/runtime/theme/link.d.ts +1 -1
  50. package/dist/runtime/theme/link.mjs +23 -20
  51. package/dist/runtime/theme/modal.mjs +51 -48
  52. package/dist/runtime/theme/pinInput.d.ts +97 -0
  53. package/dist/runtime/theme/pinInput.mjs +108 -0
  54. package/dist/runtime/theme/popover.mjs +11 -8
  55. package/dist/runtime/theme/radioGroup.mjs +50 -47
  56. package/dist/runtime/theme/scrollArea.mjs +24 -21
  57. package/dist/runtime/theme/select.d.ts +5 -2
  58. package/dist/runtime/theme/select.mjs +156 -143
  59. package/dist/runtime/theme/slider.d.ts +73 -0
  60. package/dist/runtime/theme/slider.mjs +49 -0
  61. package/dist/runtime/theme/switch.mjs +66 -63
  62. package/dist/runtime/theme/tabs.d.ts +12 -2
  63. package/dist/runtime/theme/tabs.mjs +132 -113
  64. package/dist/runtime/theme/textarea.d.ts +5 -2
  65. package/dist/runtime/theme/textarea.mjs +103 -90
  66. package/dist/runtime/theme/toast.mjs +26 -23
  67. package/dist/runtime/theme/toaster.d.ts +2 -2
  68. package/dist/runtime/theme/toaster.mjs +84 -81
  69. package/dist/runtime/theme/tooltip.mjs +9 -6
  70. package/dist/runtime/types/components.d.ts +5 -0
  71. package/dist/runtime/types/index.d.ts +1 -3
  72. package/dist/runtime/utils/extend-theme.mjs +1 -1
  73. package/dist/runtime/utils/link.d.ts +1 -1
  74. package/dist/shared/ui.CzDyI29e.mjs +8 -0
  75. package/dist/shared/ui.CzDyI29e.mjs.map +1 -0
  76. package/dist/unocss-preset.mjs +44 -35
  77. package/dist/unocss-preset.mjs.map +1 -0
  78. package/dist/unplugin.d.mts +25 -0
  79. package/dist/unplugin.d.ts +25 -0
  80. package/dist/unplugin.mjs +64 -0
  81. package/dist/unplugin.mjs.map +1 -0
  82. package/dist/vite.d.mts +9 -0
  83. package/dist/vite.d.ts +9 -0
  84. package/dist/vite.mjs +14 -0
  85. package/dist/vite.mjs.map +1 -0
  86. package/package.json +17 -10
  87. package/dist/resolver.d.mts +0 -13
  88. package/dist/resolver.d.ts +0 -13
  89. package/dist/resolver.mjs +0 -21
  90. package/dist/runtime/components/index.d.ts +0 -20
  91. package/dist/runtime/components/index.mjs +0 -20
  92. package/dist/runtime/composables/index.d.ts +0 -5
  93. package/dist/runtime/composables/index.mjs +0 -5
  94. package/dist/shared/ui.Cmq14xN9.mjs +0 -25
@@ -1,16 +1,21 @@
1
1
  export { default as accordion } from './accordion';
2
+ export { default as alert } from './alert';
2
3
  export { default as app } from './app';
4
+ export { default as badge } from './badge';
3
5
  export { default as button } from './button';
4
6
  export { default as card } from './card';
5
7
  export { default as checkbox } from './checkbox';
8
+ export { default as chip } from './chip';
6
9
  export { default as drawer } from './drawer';
7
10
  export { default as input } from './input';
8
11
  export { default as link } from './link';
9
12
  export { default as modal } from './modal';
13
+ export { default as pinInput } from './pinInput';
10
14
  export { default as popover } from './popover';
11
15
  export { default as radioGroup } from './radioGroup';
12
16
  export { default as scrollArea } from './scrollArea';
13
17
  export { default as select } from './select';
18
+ export { default as slider } from './slider';
14
19
  export { default as switch } from './switch';
15
20
  export { default as tabs } from './tabs';
16
21
  export { default as textarea } from './textarea';
@@ -1,16 +1,21 @@
1
1
  export { default as accordion } from "./accordion.mjs";
2
+ export { default as alert } from "./alert.mjs";
2
3
  export { default as app } from "./app.mjs";
4
+ export { default as badge } from "./badge.mjs";
3
5
  export { default as button } from "./button.mjs";
4
6
  export { default as card } from "./card.mjs";
5
7
  export { default as checkbox } from "./checkbox.mjs";
8
+ export { default as chip } from "./chip.mjs";
6
9
  export { default as drawer } from "./drawer.mjs";
7
10
  export { default as input } from "./input.mjs";
8
11
  export { default as link } from "./link.mjs";
9
12
  export { default as modal } from "./modal.mjs";
13
+ export { default as pinInput } from "./pinInput.mjs";
10
14
  export { default as popover } from "./popover.mjs";
11
15
  export { default as radioGroup } from "./radioGroup.mjs";
12
16
  export { default as scrollArea } from "./scrollArea.mjs";
13
17
  export { default as select } from "./select.mjs";
18
+ export { default as slider } from "./slider.mjs";
14
19
  export { default as switch } from "./switch.mjs";
15
20
  export { default as tabs } from "./tabs.mjs";
16
21
  export { default as textarea } from "./textarea.mjs";
@@ -33,6 +33,9 @@ declare const _default: {
33
33
  soft: {
34
34
  root: string[];
35
35
  };
36
+ 'soft-outline': {
37
+ root: string[];
38
+ };
36
39
  ghost: {
37
40
  root: string[];
38
41
  };
@@ -53,9 +56,7 @@ declare const _default: {
53
56
  true: "";
54
57
  };
55
58
  highlight: {
56
- true: {
57
- base: string;
58
- };
59
+ true: "";
59
60
  };
60
61
  type: {
61
62
  file: {
@@ -68,7 +69,8 @@ declare const _default: {
68
69
  highlight: false;
69
70
  underline: true;
70
71
  class: {
71
- root: string;
72
+ root: string[];
73
+ base?: undefined;
72
74
  prefixIcon?: undefined;
73
75
  suffixIcon?: undefined;
74
76
  };
@@ -80,6 +82,7 @@ declare const _default: {
80
82
  size: ("xs" | "sm" | "md")[];
81
83
  class: {
82
84
  root: string;
85
+ base: string;
83
86
  prefixIcon?: undefined;
84
87
  suffixIcon?: undefined;
85
88
  };
@@ -93,6 +96,7 @@ declare const _default: {
93
96
  size: ("lg" | "xl")[];
94
97
  class: {
95
98
  root: string;
99
+ base: string;
96
100
  prefixIcon?: undefined;
97
101
  suffixIcon?: undefined;
98
102
  };
@@ -103,10 +107,11 @@ declare const _default: {
103
107
  prefix?: undefined;
104
108
  suffix?: undefined;
105
109
  } | {
106
- variant: ("soft" | "ghost" | "none")[];
110
+ variant: ("soft" | "soft-outline" | "ghost" | "none")[];
107
111
  highlight: true;
108
112
  class: {
109
113
  root: string;
114
+ base?: undefined;
110
115
  prefixIcon?: undefined;
111
116
  suffixIcon?: undefined;
112
117
  };
@@ -120,6 +125,7 @@ declare const _default: {
120
125
  highlight: true;
121
126
  class: {
122
127
  root: string;
128
+ base?: undefined;
123
129
  prefixIcon?: undefined;
124
130
  suffixIcon?: undefined;
125
131
  };
@@ -134,6 +140,7 @@ declare const _default: {
134
140
  class: {
135
141
  prefixIcon: string;
136
142
  root?: undefined;
143
+ base?: undefined;
137
144
  suffixIcon?: undefined;
138
145
  };
139
146
  variant?: undefined;
@@ -148,6 +155,7 @@ declare const _default: {
148
155
  class: {
149
156
  suffixIcon: string;
150
157
  root?: undefined;
158
+ base?: undefined;
151
159
  prefixIcon?: undefined;
152
160
  };
153
161
  variant?: undefined;
@@ -1,133 +1,146 @@
1
1
  import { ct } from "@byyuurin/ui-kit";
2
- export default ct({
3
- slots: {
4
- root: "inline-flex items-center gap-x-2 rounded-ui-base transition-colors aria-disabled:opacity-50",
5
- base: [
6
- "w-full color-inherit bg-transparent border-0 placeholder:color-ui-cb/50",
7
- "focus:outline-none",
8
- "disabled:cursor-not-allowed"
9
- ],
10
- prefix: "flex items-center",
11
- prefixIcon: "shrink-0 size-1.25em",
12
- suffix: "flex items-center",
13
- suffixIcon: "shrink-0 size-1.25em"
14
- },
15
- variants: {
16
- size: {
17
- xs: {
18
- root: "text-xs"
2
+ export default ct(
3
+ /* @unocss-include */
4
+ {
5
+ slots: {
6
+ root: "inline-flex items-center rounded-ui-base transition-colors aria-disabled:opacity-50",
7
+ base: [
8
+ "w-full color-inherit bg-transparent border-0 placeholder:color-ui-cb/50",
9
+ "focus:outline-none",
10
+ "disabled:cursor-not-allowed"
11
+ ],
12
+ prefix: "flex items-center",
13
+ prefixIcon: "shrink-0 size-1.25em",
14
+ suffix: "flex items-center",
15
+ suffixIcon: "shrink-0 size-1.25em"
16
+ },
17
+ variants: {
18
+ size: {
19
+ xs: {
20
+ root: "text-xs"
21
+ },
22
+ sm: {
23
+ root: "text-sm"
24
+ },
25
+ md: {
26
+ root: "text-base"
27
+ },
28
+ lg: {
29
+ root: "text-lg"
30
+ },
31
+ xl: {
32
+ root: "text-xl"
33
+ }
19
34
  },
20
- sm: {
21
- root: "text-sm"
35
+ variant: {
36
+ "outline": {
37
+ root: [
38
+ "color-ui-cb/80 bg-ui-c1 ring ring-inset ring-ui-cb/50",
39
+ "focus-within:ring-2 focus-within:ring-ui-cb/50",
40
+ "aria-disabled:ring-ui-cb/80 hover:aria-disabled:ring-ui-cb/80"
41
+ ]
42
+ },
43
+ "soft": {
44
+ root: [
45
+ "color-ui-cb/80 bg-ui-cb/4",
46
+ "hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
47
+ "aria-disabled:color-ui-cb/80 aria-disabled:bg-ui-cb/5 hover:aria-disabled:color-ui-cb/80 hover:aria-disabled:bg-ui-cb/5"
48
+ ]
49
+ },
50
+ "soft-outline": {
51
+ root: [
52
+ "color-ui-cb/80 bg-ui-cb/4 ring ring-inset ring-ui-cb/10",
53
+ "hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
54
+ "aria-disabled:color-ui-cb/80 aria-disabled:bg-ui-cb/5 hover:aria-disabled:color-ui-cb/80 hover:aria-disabled:bg-ui-cb/5"
55
+ ]
56
+ },
57
+ "ghost": {
58
+ root: [
59
+ "color-ui-cb/80 bg-transparent",
60
+ "hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
61
+ "aria-disabled:color-ui-fill/80 aria-disabled:bg-transparent hover:aria-disabled:color-ui-fill/80 hover:aria-disabled:bg-transparent"
62
+ ]
63
+ },
64
+ "none": {
65
+ root: "color-ui-cb bg-transparent"
66
+ }
22
67
  },
23
- md: {
24
- root: "text-base"
68
+ prefix: {
69
+ true: ""
25
70
  },
26
- lg: {
27
- root: "text-lg"
71
+ suffix: {
72
+ true: ""
28
73
  },
29
- xl: {
30
- root: "text-xl"
31
- }
32
- },
33
- variant: {
34
- outline: {
35
- root: [
36
- "color-ui-cb/80 bg-ui-c1 ring ring-inset ring-ui-cb/50",
37
- "focus-within:ring-2 focus-within:ring-ui-cb/50",
38
- "aria-disabled:ring-ui-cb/80 hover:aria-disabled:ring-ui-cb/80"
39
- ]
74
+ loading: {
75
+ true: ""
40
76
  },
41
- soft: {
42
- root: [
43
- "color-ui-cb/80 bg-ui-cb/4",
44
- "hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
45
- "aria-disabled:color-ui-content/80 aria-disabled:bg-ui-fill/5 hover:aria-disabled:color-ui-content/80 hover:aria-disabled:bg-ui-fill/5"
46
- ]
77
+ underline: {
78
+ true: ""
47
79
  },
48
- ghost: {
49
- root: [
50
- "color-ui-cb/80 bg-transparent",
51
- "hover:bg-ui-cb/6 hover:color-ui-cb/80 focus-within:bg-ui-cb/8 focus-within:color-ui-cb/85",
52
- "aria-disabled:color-ui-fill/80 aria-disabled:bg-transparent hover:aria-disabled:color-ui-fill/80 hover:aria-disabled:bg-transparent"
53
- ]
80
+ highlight: {
81
+ true: ""
54
82
  },
55
- none: {
56
- root: "color-ui-cb bg-transparent"
57
- }
58
- },
59
- prefix: {
60
- true: ""
61
- },
62
- suffix: {
63
- true: ""
64
- },
65
- loading: {
66
- true: ""
67
- },
68
- underline: {
69
- true: ""
70
- },
71
- highlight: {
72
- true: {
73
- base: ""
74
- }
75
- },
76
- type: {
77
- file: {
78
- base: "prefix-normal not-disabled:cursor-pointer file:pointer-events-none file:py-0 file:font-size-0.875em file:rounded-ui-button file:border-none file:color-ui-c1 file:bg-ui-cb/80"
79
- }
80
- }
81
- },
82
- compoundVariants: [
83
- {
84
- variant: ["soft", "ghost", "none"],
85
- highlight: false,
86
- underline: true,
87
- class: {
88
- root: "relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-ui-cb/40"
89
- }
90
- },
91
- {
92
- size: ["xs", "sm", "md"],
93
- class: {
94
- root: "p-1.5 px-2.5"
83
+ type: {
84
+ file: {
85
+ base: "prefix-normal not-disabled:cursor-pointer file:pointer-events-none file:py-0 file:font-size-0.875em file:rounded-ui-button file:border-none file:color-ui-c1 file:bg-ui-cb/80"
86
+ }
95
87
  }
96
88
  },
97
- {
98
- size: ["lg", "xl"],
99
- class: {
100
- root: "p-2.5 px-3.5"
101
- }
102
- },
103
- {
104
- variant: ["soft", "ghost", "none"],
105
- highlight: true,
106
- class: {
107
- root: "ring ring-inset ring-ui-fill/80"
108
- }
109
- },
110
- {
111
- variant: ["outline"],
112
- highlight: true,
113
- class: {
114
- root: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80"
115
- }
116
- },
117
- {
118
- loading: true,
119
- prefix: true,
120
- class: {
121
- prefixIcon: "animate-spin"
122
- }
123
- },
124
- {
125
- loading: true,
126
- prefix: false,
127
- suffix: true,
128
- class: {
129
- suffixIcon: "animate-spin"
89
+ compoundVariants: [
90
+ {
91
+ variant: ["soft", "ghost", "none"],
92
+ highlight: false,
93
+ underline: true,
94
+ class: {
95
+ root: [
96
+ "relative after:content-empty after:absolute after:inset-x-0 after:bottom-0 after:h-1px after:bg-ui-cb/40",
97
+ "focus-within:after:h-2px focus-within:after:bg-ui-fill/60"
98
+ ]
99
+ }
100
+ },
101
+ {
102
+ size: ["xs", "sm", "md"],
103
+ class: {
104
+ root: "p-1.5",
105
+ base: "px-1"
106
+ }
107
+ },
108
+ {
109
+ size: ["lg", "xl"],
110
+ class: {
111
+ root: "p-2.5",
112
+ base: "px-1.5"
113
+ }
114
+ },
115
+ {
116
+ variant: ["soft", "soft-outline", "ghost", "none"],
117
+ highlight: true,
118
+ class: {
119
+ root: "ring ring-inset ring-ui-fill/80"
120
+ }
121
+ },
122
+ {
123
+ variant: ["outline"],
124
+ highlight: true,
125
+ class: {
126
+ root: "ring-2 ring-ui-fill/80 focus-within:ring-ui-fill/80"
127
+ }
128
+ },
129
+ {
130
+ loading: true,
131
+ prefix: true,
132
+ class: {
133
+ prefixIcon: "animate-spin"
134
+ }
135
+ },
136
+ {
137
+ loading: true,
138
+ prefix: false,
139
+ suffix: true,
140
+ class: {
141
+ suffixIcon: "animate-spin"
142
+ }
130
143
  }
131
- }
132
- ]
133
- });
144
+ ]
145
+ }
146
+ );
@@ -26,6 +26,6 @@ declare const _default: {
26
26
  disabled: {
27
27
  true: "cursor-not-allowed opacity-50";
28
28
  };
29
- }, undefined, "border-y border-t-transparent focus-visible:outline-ui-cb">;
29
+ }, undefined, "border-y border-t-transparent outline-none focus-visible:outline-ui-cb/80">;
30
30
  };
31
31
  export default _default;
@@ -1,23 +1,26 @@
1
1
  import { ct } from "@byyuurin/ui-kit";
2
- export default ct({
3
- base: "border-y border-t-transparent focus-visible:outline-ui-cb",
4
- variants: {
5
- underline: {
6
- true: "border-current",
7
- false: "border-transparent"
8
- },
9
- active: {
10
- true: [
11
- "color-ui-fill",
12
- "disabled:color-ui-fill aria-disabled:color-ui-fill"
13
- ],
14
- false: [
15
- "color-ui-cb hover:color-ui-cb/80 transition-colors",
16
- "disabled:hover:color-ui-cb aria-disabled:hover:color-ui-cb"
17
- ]
18
- },
19
- disabled: {
20
- true: "cursor-not-allowed opacity-50"
2
+ export default ct(
3
+ /* @unocss-include */
4
+ {
5
+ base: "border-y border-t-transparent outline-none focus-visible:outline-ui-cb/80",
6
+ variants: {
7
+ underline: {
8
+ true: "border-current",
9
+ false: "border-transparent"
10
+ },
11
+ active: {
12
+ true: [
13
+ "color-ui-fill",
14
+ "disabled:color-ui-fill aria-disabled:color-ui-fill"
15
+ ],
16
+ false: [
17
+ "color-ui-cb hover:color-ui-cb/80 transition-colors",
18
+ "disabled:hover:color-ui-cb aria-disabled:hover:color-ui-cb"
19
+ ]
20
+ },
21
+ disabled: {
22
+ true: "cursor-not-allowed opacity-50"
23
+ }
21
24
  }
22
25
  }
23
- });
26
+ );
@@ -1,54 +1,57 @@
1
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 divide-y divide-ui-cb/10 flex flex-col focus:outline-none",
6
- header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
7
- body: "flex-1 overflow-y-auto p-4 sm:p-6 empty:hidden",
8
- footer: "flex items-center gap-1.5 p-4 sm:px-6",
9
- title: "flex-grow color-ui-cb text-xl font-semibold",
10
- description: "w-full color-ui-cb/80",
11
- close: "ms-auto"
12
- },
13
- variants: {
14
- transition: {
15
- true: {
16
- overlay: "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
17
- content: "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
18
- }
19
- },
20
- blur: {
21
- true: {
22
- overlay: "backdrop-blur-sm"
23
- }
2
+ export default ct(
3
+ /* @unocss-include */
4
+ {
5
+ slots: {
6
+ overlay: "fixed inset-0 bg-ui-c3/75",
7
+ content: "fixed bg-ui-c1 divide-y divide-ui-cb/10 flex flex-col focus:outline-none",
8
+ header: "flex flex-wrap items-center gap-1 px-4 py-5 sm:px-6",
9
+ body: "flex-1 overflow-y-auto p-4 sm:p-6 empty:hidden",
10
+ footer: "flex items-center gap-1.5 p-4 sm:px-6",
11
+ title: "flex-grow color-ui-cb text-xl font-semibold",
12
+ description: "w-full color-ui-cb/80",
13
+ close: "ms-auto"
24
14
  },
25
- size: {
26
- fullscreen: {
27
- content: "inset-0"
15
+ variants: {
16
+ transition: {
17
+ true: {
18
+ overlay: "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
19
+ content: "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
20
+ }
28
21
  },
29
- sm: {
30
- content: "w-screen-sm"
22
+ blur: {
23
+ true: {
24
+ overlay: "backdrop-blur-sm"
25
+ }
31
26
  },
32
- md: {
33
- content: "w-screen-md"
34
- },
35
- lg: {
36
- content: "w-screen-lg"
37
- },
38
- xl: {
39
- content: "w-screen-xl"
27
+ size: {
28
+ fullscreen: {
29
+ content: "inset-0"
30
+ },
31
+ sm: {
32
+ content: "w-screen-sm"
33
+ },
34
+ md: {
35
+ content: "w-screen-md"
36
+ },
37
+ lg: {
38
+ content: "w-screen-lg"
39
+ },
40
+ xl: {
41
+ content: "w-screen-xl"
42
+ }
40
43
  }
41
- }
42
- },
43
- compoundVariants: [
44
- {
45
- size: ["sm", "md", "lg", "xl"],
46
- class: {
47
- content: [
48
- "bottom-4 left-[50%] translate-x-[-50%] h-auto max-w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] ring ring-ui-c2",
49
- "sm:bottom-auto sm:top-[50%] sm:translate-y-[-50%] sm:rounded-ui-box sm:shadow-lg"
50
- ]
44
+ },
45
+ compoundVariants: [
46
+ {
47
+ size: ["sm", "md", "lg", "xl"],
48
+ class: {
49
+ content: [
50
+ "bottom-4 left-[50%] translate-x-[-50%] h-auto max-w-[calc(100%-2rem)] max-h-[calc(100%-2rem)] ring ring-ui-c2",
51
+ "sm:bottom-auto sm:top-[50%] sm:translate-y-[-50%] sm:rounded-ui-box sm:shadow-lg"
52
+ ]
53
+ }
51
54
  }
52
- }
53
- ]
54
- });
55
+ ]
56
+ }
57
+ );
@@ -0,0 +1,97 @@
1
+ declare const _default: {
2
+ base: undefined;
3
+ slots: {
4
+ root: string;
5
+ container: string;
6
+ base: string;
7
+ };
8
+ variants: {
9
+ size: {
10
+ xs: {
11
+ container: string;
12
+ };
13
+ sm: {
14
+ container: string;
15
+ };
16
+ md: {
17
+ container: string;
18
+ };
19
+ lg: {
20
+ container: string;
21
+ };
22
+ xl: {
23
+ container: string;
24
+ };
25
+ };
26
+ variant: {
27
+ outline: {
28
+ container: string[];
29
+ };
30
+ soft: {
31
+ container: string[];
32
+ };
33
+ 'soft-outline': {
34
+ container: string[];
35
+ };
36
+ ghost: {
37
+ container: string[];
38
+ };
39
+ none: {
40
+ container: string;
41
+ };
42
+ };
43
+ underline: {
44
+ true: "";
45
+ };
46
+ highlight: {
47
+ true: "";
48
+ };
49
+ };
50
+ compoundVariants: ({
51
+ variant: ("soft" | "ghost" | "none")[];
52
+ highlight: false;
53
+ underline: true;
54
+ class: {
55
+ container: string[];
56
+ base?: undefined;
57
+ };
58
+ size?: undefined;
59
+ } | {
60
+ size: ("xs" | "sm" | "md")[];
61
+ class: {
62
+ base: string;
63
+ container?: undefined;
64
+ };
65
+ variant?: undefined;
66
+ highlight?: undefined;
67
+ underline?: undefined;
68
+ } | {
69
+ size: ("lg" | "xl")[];
70
+ class: {
71
+ base: string;
72
+ container?: undefined;
73
+ };
74
+ variant?: undefined;
75
+ highlight?: undefined;
76
+ underline?: undefined;
77
+ } | {
78
+ variant: ("soft" | "soft-outline" | "ghost" | "none")[];
79
+ highlight: true;
80
+ class: {
81
+ container: string;
82
+ base?: undefined;
83
+ };
84
+ underline?: undefined;
85
+ size?: undefined;
86
+ } | {
87
+ variant: "outline"[];
88
+ highlight: true;
89
+ class: {
90
+ container: string;
91
+ base?: undefined;
92
+ };
93
+ underline?: undefined;
94
+ size?: undefined;
95
+ })[];
96
+ };
97
+ export default _default;