daisyui 5.0.0-alpha.2 → 5.0.0-alpha.21
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.
- package/base/properties/index.js +4 -0
- package/base/properties/object.js +1 -0
- package/base/properties.css +1 -0
- package/base/rootcolor/index.js +4 -0
- package/base/rootcolor/object.js +1 -0
- package/base/rootcolor.css +1 -0
- package/base/scrollbar/index.js +4 -0
- package/base/scrollbar/object.js +1 -0
- package/base/scrollbar.css +1 -0
- package/chunks.css +46 -0
- package/colors/properties.css +1 -0
- package/colors/responsive.css +1 -0
- package/colors/states.css +1 -0
- package/components/alert/class.json +12 -0
- package/components/alert/index.js +4 -0
- package/components/alert/object.js +1 -0
- package/components/alert.css +1 -0
- package/components/avatar/class.json +7 -0
- package/components/avatar/index.js +4 -0
- package/components/avatar/object.js +1 -0
- package/components/avatar.css +1 -0
- package/components/badge/class.json +19 -0
- package/components/badge/index.js +4 -74
- package/components/badge/object.js +1 -0
- package/components/badge.css +1 -109
- package/components/button/class.json +27 -0
- package/components/button/index.js +4 -170
- package/components/button/object.js +1 -0
- package/components/button.css +1 -293
- package/components/card/class.json +13 -0
- package/components/card/index.js +4 -0
- package/components/card/object.js +1 -0
- package/components/card.css +1 -0
- package/components/chat/class.json +17 -0
- package/components/chat/index.js +4 -0
- package/components/chat/object.js +1 -0
- package/components/chat.css +1 -0
- package/components/checkbox/class.json +17 -0
- package/components/checkbox/index.js +4 -108
- package/components/checkbox/object.js +1 -0
- package/components/checkbox.css +1 -144
- package/components/collapse/class.json +10 -0
- package/components/collapse/index.js +4 -0
- package/components/collapse/object.js +1 -0
- package/components/collapse.css +1 -0
- package/components/countdown/class.json +3 -0
- package/components/countdown/index.js +4 -0
- package/components/countdown/object.js +1 -0
- package/components/countdown.css +1 -0
- package/components/divider/class.json +15 -0
- package/components/divider/index.js +4 -0
- package/components/divider/object.js +1 -0
- package/components/divider.css +1 -0
- package/components/dropdown/class.json +15 -0
- package/components/dropdown/index.js +4 -0
- package/components/dropdown/object.js +1 -0
- package/components/dropdown.css +1 -0
- package/components/footer/class.json +7 -0
- package/components/footer/index.js +4 -0
- package/components/footer/object.js +1 -0
- package/components/footer.css +1 -0
- package/components/hero/class.json +5 -0
- package/components/hero/index.js +4 -0
- package/components/hero/object.js +1 -0
- package/components/hero.css +1 -0
- package/components/input/class.json +16 -0
- package/components/input/index.js +4 -128
- package/components/input/object.js +1 -0
- package/components/input.css +1 -204
- package/components/kbd/class.json +7 -0
- package/components/kbd/index.js +4 -27
- package/components/kbd/object.js +1 -0
- package/components/kbd.css +1 -49
- package/components/link/class.json +12 -0
- package/components/link/index.js +4 -0
- package/components/link/object.js +1 -0
- package/components/link.css +1 -0
- package/components/loading/class.json +21 -0
- package/components/loading/index.js +4 -0
- package/components/loading/object.js +1 -0
- package/components/loading.css +1 -0
- package/components/mask/class.json +24 -0
- package/components/mask/index.js +4 -74
- package/components/mask/object.js +1 -0
- package/components/mask.css +1 -78
- package/components/menu/class.json +16 -0
- package/components/menu/index.js +4 -0
- package/components/menu/object.js +1 -0
- package/components/menu.css +1 -0
- package/components/navbar/class.json +6 -0
- package/components/navbar/index.js +4 -0
- package/components/navbar/object.js +1 -0
- package/components/navbar.css +1 -0
- package/components/progress/class.json +10 -0
- package/components/progress/index.js +4 -0
- package/components/progress/object.js +1 -0
- package/components/progress.css +1 -0
- package/components/radialprogress/class.json +3 -0
- package/components/radialprogress/index.js +4 -0
- package/components/radialprogress/object.js +1 -0
- package/components/radialprogress.css +1 -0
- package/components/radio/class.json +14 -0
- package/components/radio/index.js +4 -73
- package/components/radio/object.js +1 -0
- package/components/radio.css +1 -102
- package/components/range/class.json +14 -0
- package/components/range/index.js +4 -132
- package/components/range/object.js +1 -0
- package/components/range.css +1 -164
- package/components/rating/class.json +6 -0
- package/components/rating/index.js +4 -82
- package/components/rating/object.js +1 -0
- package/components/rating.css +1 -104
- package/components/select/class.json +16 -0
- package/components/select/index.js +4 -99
- package/components/select/object.js +1 -0
- package/components/select.css +1 -166
- package/components/skeleton/class.json +3 -0
- package/components/skeleton/index.js +4 -0
- package/components/skeleton/object.js +1 -0
- package/components/skeleton.css +1 -0
- package/components/stack/class.json +3 -0
- package/components/stack/index.js +4 -0
- package/components/stack/object.js +1 -0
- package/components/stack.css +1 -0
- package/components/status/class.json +15 -0
- package/components/status/index.js +4 -0
- package/components/status/object.js +1 -0
- package/components/status.css +1 -0
- package/components/steps/class.json +14 -0
- package/components/steps/index.js +4 -0
- package/components/steps/object.js +1 -0
- package/components/steps.css +1 -0
- package/components/swap/class.json +10 -0
- package/components/swap/index.js +4 -0
- package/components/swap/object.js +1 -0
- package/components/swap.css +1 -0
- package/components/tab/class.json +13 -0
- package/components/tab/index.js +4 -0
- package/components/tab/object.js +1 -0
- package/components/tab.css +1 -0
- package/components/table/class.json +9 -0
- package/components/table/index.js +4 -0
- package/components/table/object.js +1 -0
- package/components/table.css +1 -0
- package/components/timeline/class.json +11 -0
- package/components/timeline/index.js +4 -0
- package/components/timeline/object.js +1 -0
- package/components/timeline.css +1 -0
- package/components/toggle/class.json +16 -0
- package/components/toggle/index.js +4 -102
- package/components/toggle/object.js +1 -0
- package/components/toggle.css +1 -143
- package/components/tooltip/class.json +17 -0
- package/components/tooltip/index.js +4 -0
- package/components/tooltip/object.js +1 -0
- package/components/tooltip.css +1 -0
- package/full.css +1 -0
- package/functions/plugin.js +10 -10
- package/functions/pluginOptionsHandler.js +44 -0
- package/functions/variables.js +33 -0
- package/index.js +132 -0
- package/package.json +18 -8
- package/theme/acid/index.css +28 -0
- package/theme/acid/index.js +4 -0
- package/theme/acid/object.js +1 -0
- package/theme/aqua/index.css +28 -0
- package/theme/aqua/index.js +4 -0
- package/theme/aqua/object.js +1 -0
- package/theme/autumn/index.css +28 -0
- package/theme/autumn/index.js +4 -0
- package/theme/autumn/object.js +1 -0
- package/theme/black/index.css +28 -0
- package/theme/black/index.js +4 -0
- package/theme/black/object.js +1 -0
- package/theme/bumblebee/index.css +28 -0
- package/theme/bumblebee/index.js +4 -0
- package/theme/bumblebee/object.js +1 -0
- package/theme/business/index.css +28 -0
- package/theme/business/index.js +4 -0
- package/theme/business/object.js +1 -0
- package/theme/cmyk/index.css +28 -0
- package/theme/cmyk/index.js +4 -0
- package/theme/cmyk/object.js +1 -0
- package/theme/coffee/index.css +28 -0
- package/theme/coffee/index.js +4 -0
- package/theme/coffee/object.js +1 -0
- package/theme/corporate/index.css +28 -0
- package/theme/corporate/index.js +4 -0
- package/theme/corporate/object.js +1 -0
- package/theme/cupcake/index.css +28 -0
- package/theme/cupcake/index.js +4 -0
- package/theme/cupcake/object.js +1 -0
- package/theme/cyberpunk/index.css +28 -0
- package/theme/cyberpunk/index.js +4 -0
- package/theme/cyberpunk/object.js +1 -0
- package/theme/dark/index.css +28 -0
- package/theme/dark/index.js +4 -0
- package/theme/dark/object.js +1 -0
- package/theme/dim/index.css +28 -0
- package/theme/dim/index.js +4 -0
- package/theme/dim/object.js +1 -0
- package/theme/dracula/index.css +28 -0
- package/theme/dracula/index.js +4 -0
- package/theme/dracula/object.js +1 -0
- package/theme/emerald/index.css +28 -0
- package/theme/emerald/index.js +4 -0
- package/theme/emerald/object.js +1 -0
- package/theme/fantasy/index.css +28 -0
- package/theme/fantasy/index.js +4 -0
- package/theme/fantasy/object.js +1 -0
- package/theme/forest/index.css +28 -0
- package/theme/forest/index.js +4 -0
- package/theme/forest/object.js +1 -0
- package/theme/garden/index.css +28 -0
- package/theme/garden/index.js +4 -0
- package/theme/garden/object.js +1 -0
- package/theme/halloween/index.css +28 -0
- package/theme/halloween/index.js +4 -0
- package/theme/halloween/object.js +1 -0
- package/theme/index.js +49 -0
- package/theme/lemonade/index.css +28 -0
- package/theme/lemonade/index.js +4 -0
- package/theme/lemonade/object.js +1 -0
- package/theme/light/index.css +28 -0
- package/theme/light/index.js +4 -0
- package/theme/light/object.js +1 -0
- package/theme/lofi/index.css +28 -0
- package/theme/lofi/index.js +4 -0
- package/theme/lofi/object.js +1 -0
- package/theme/luxury/index.css +28 -0
- package/theme/luxury/index.js +4 -0
- package/theme/luxury/object.js +1 -0
- package/theme/night/index.css +28 -0
- package/theme/night/index.js +4 -0
- package/theme/night/object.js +1 -0
- package/theme/nord/index.css +28 -0
- package/theme/nord/index.js +4 -0
- package/theme/nord/object.js +1 -0
- package/theme/object.js +1 -0
- package/theme/pastel/index.css +28 -0
- package/theme/pastel/index.js +4 -0
- package/theme/pastel/object.js +1 -0
- package/theme/retro/index.css +28 -0
- package/theme/retro/index.js +4 -0
- package/theme/retro/object.js +1 -0
- package/theme/sunset/index.css +28 -0
- package/theme/sunset/index.js +4 -0
- package/theme/sunset/object.js +1 -0
- package/theme/synthwave/index.css +28 -0
- package/theme/synthwave/index.js +4 -0
- package/theme/synthwave/object.js +1 -0
- package/theme/valentine/index.css +28 -0
- package/theme/valentine/index.js +4 -0
- package/theme/valentine/object.js +1 -0
- package/theme/winter/index.css +28 -0
- package/theme/winter/index.js +4 -0
- package/theme/winter/object.js +1 -0
- package/theme/wireframe/index.css +28 -0
- package/theme/wireframe/index.js +4 -0
- package/theme/wireframe/object.js +1 -0
- package/themes.css +1 -0
- package/utilities/join/index.js +4 -0
- package/utilities/join/object.js +1 -0
- package/utilities/join.css +1 -0
- package/components/badge/config.js +0 -12
- package/components/badge/index.css +0 -1
- package/components/button/config.js +0 -12
- package/components/button/index.css +0 -1
- package/components/checkbox/config.js +0 -12
- package/components/checkbox/index.css +0 -1
- package/components/input/config.js +0 -12
- package/components/input/index.css +0 -1
- package/components/kbd/config.js +0 -12
- package/components/kbd/index.css +0 -1
- package/components/mask/config.js +0 -12
- package/components/mask/index.css +0 -1
- package/components/radio/config.js +0 -12
- package/components/radio/index.css +0 -1
- package/components/range/config.js +0 -12
- package/components/range/index.css +0 -1
- package/components/rating/config.js +0 -12
- package/components/rating/index.css +0 -1
- package/components/select/config.js +0 -12
- package/components/select/index.css +0 -1
- package/components/toggle/config.js +0 -12
- package/components/toggle/index.css +0 -1
- package/index.css +0 -14
- package/themes/dark/index.css +0 -26
- package/themes/default/index.css +0 -26
- package/themes/index.css +0 -26
- package/themes/light/index.css +0 -26
package/components/range.css
CHANGED
|
@@ -1,164 +1 @@
|
|
|
1
|
-
.range {
|
|
2
|
-
appearance: none;
|
|
3
|
-
-webkit-appearance: none;
|
|
4
|
-
--range-shdw: currentColor;
|
|
5
|
-
height: var(--spacing-6, 1.5rem);
|
|
6
|
-
width: 100%;
|
|
7
|
-
cursor: pointer;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
border-radius: var(--radius-box, 1rem);
|
|
10
|
-
--tw-border-style: none;
|
|
11
|
-
border-style: none;
|
|
12
|
-
background-color: transparent;
|
|
13
|
-
vertical-align: middle;
|
|
14
|
-
&:focus {
|
|
15
|
-
outline: none;
|
|
16
|
-
}
|
|
17
|
-
&:focus-visible {
|
|
18
|
-
--focus-shadow: 0 0 0 6px var(--color-base-100) inset, 0 0 0 2rem var(--range-shdw) inset;
|
|
19
|
-
}
|
|
20
|
-
&::-webkit-slider-runnable-track {
|
|
21
|
-
height: var(--spacing-2, 0.5rem);
|
|
22
|
-
width: 100%;
|
|
23
|
-
border-radius: var(--radius-box, 1rem);
|
|
24
|
-
background-color: color-mix(in srgb, var(--color-base-content, oklch(27.8078% 0.029596 256.84795)) 10%, transparent);
|
|
25
|
-
}
|
|
26
|
-
&::-webkit-slider-thumb {
|
|
27
|
-
position: relative;
|
|
28
|
-
height: var(--spacing-6, 1.5rem);
|
|
29
|
-
width: var(--spacing-6, 1.5rem);
|
|
30
|
-
border-radius: var(--radius-box, 1rem);
|
|
31
|
-
--tw-border-style: none;
|
|
32
|
-
border-style: none;
|
|
33
|
-
background-color: var(--color-base-100, oklch(100% 0 0));
|
|
34
|
-
appearance: none;
|
|
35
|
-
-webkit-appearance: none;
|
|
36
|
-
top: 50%;
|
|
37
|
-
color: var(--range-shdw);
|
|
38
|
-
transform: translateY(-50%);
|
|
39
|
-
--filler-size: 100rem;
|
|
40
|
-
--filler-offset: 0.6rem;
|
|
41
|
-
--track-shdw: calc(var(--filler-size) * -1 - var(--filler-offset)) 0 0 var(--filler-size);
|
|
42
|
-
box-shadow: 0 0 0 3px var(--range-shdw) inset, var(--focus-shadow, 0 0), var(--track-shdw);
|
|
43
|
-
}
|
|
44
|
-
[dir=rtl] &::-webkit-slider-thumb {
|
|
45
|
-
--track-shdw: calc(var(--filler-size) * 1 + var(--filler-offset)) 0 0 var(--filler-size);
|
|
46
|
-
}
|
|
47
|
-
&::-moz-range-track {
|
|
48
|
-
height: var(--spacing-2, 0.5rem);
|
|
49
|
-
width: 100%;
|
|
50
|
-
border-radius: var(--radius-box, 1rem);
|
|
51
|
-
background-color: color-mix(in srgb, var(--color-base-content, oklch(27.8078% 0.029596 256.84795)) 10%, transparent);
|
|
52
|
-
}
|
|
53
|
-
&::-moz-range-thumb {
|
|
54
|
-
position: relative;
|
|
55
|
-
height: var(--spacing-6, 1.5rem);
|
|
56
|
-
width: var(--spacing-6, 1.5rem);
|
|
57
|
-
border-radius: var(--radius-box, 1rem);
|
|
58
|
-
--tw-border-style: none;
|
|
59
|
-
border-style: none;
|
|
60
|
-
background-color: var(--color-base-100, oklch(100% 0 0));
|
|
61
|
-
top: 50%;
|
|
62
|
-
color: var(--range-shdw);
|
|
63
|
-
--filler-size: 100rem;
|
|
64
|
-
--filler-offset: 0.5rem;
|
|
65
|
-
box-shadow: 0 0 0 3px var(--range-shdw) inset, var(--focus-shadow, 0 0), calc(var(--filler-size) * -1 - var(--filler-offset)) 0 0 var(--filler-size);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
.range-primary {
|
|
69
|
-
color: var(--color-primary, oklch(49.12% 0.3096 275.75));
|
|
70
|
-
}
|
|
71
|
-
.range-secondary {
|
|
72
|
-
color: var(--color-secondary, oklch(69.71% 0.329 342.55));
|
|
73
|
-
}
|
|
74
|
-
.range-accent {
|
|
75
|
-
color: var(--color-accent, oklch(76.76% 0.184 183.61));
|
|
76
|
-
}
|
|
77
|
-
.range-success {
|
|
78
|
-
color: var(--color-success, oklch(64.8% 0.15 160));
|
|
79
|
-
}
|
|
80
|
-
.range-warning {
|
|
81
|
-
color: var(--color-warning, oklch(84.71% 0.199 83.87));
|
|
82
|
-
}
|
|
83
|
-
.range-info {
|
|
84
|
-
color: var(--color-info, oklch(72.06% 0.191 231.6));
|
|
85
|
-
}
|
|
86
|
-
.range-error {
|
|
87
|
-
color: var(--color-error, oklch(71.76% 0.221 22.18));
|
|
88
|
-
}
|
|
89
|
-
.range-xs {
|
|
90
|
-
height: var(--spacing-4, 1rem);
|
|
91
|
-
&::-webkit-slider-runnable-track {
|
|
92
|
-
height: var(--spacing-1, 0.25rem);
|
|
93
|
-
}
|
|
94
|
-
&::-webkit-slider-thumb {
|
|
95
|
-
width: var(--spacing-4, 1rem);
|
|
96
|
-
height: var(--spacing-4, 1rem);
|
|
97
|
-
--filler-offset: 0.4rem;
|
|
98
|
-
}
|
|
99
|
-
&::-moz-range-track {
|
|
100
|
-
height: var(--spacing-1, 0.25rem);
|
|
101
|
-
}
|
|
102
|
-
&::-moz-range-thumb {
|
|
103
|
-
width: var(--spacing-4, 1rem);
|
|
104
|
-
height: var(--spacing-4, 1rem);
|
|
105
|
-
--filler-offset: 0.4rem;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
.range-sm {
|
|
109
|
-
height: var(--spacing-5, 1.25rem);
|
|
110
|
-
&::-webkit-slider-runnable-track {
|
|
111
|
-
height: var(--spacing-1, 0.25rem);
|
|
112
|
-
}
|
|
113
|
-
&::-webkit-slider-thumb {
|
|
114
|
-
width: var(--spacing-5, 1.25rem);
|
|
115
|
-
height: var(--spacing-5, 1.25rem);
|
|
116
|
-
--filler-offset: 0.5rem;
|
|
117
|
-
}
|
|
118
|
-
&::-moz-range-track {
|
|
119
|
-
height: var(--spacing-1, 0.25rem);
|
|
120
|
-
}
|
|
121
|
-
&::-moz-range-thumb {
|
|
122
|
-
width: var(--spacing-5, 1.25rem);
|
|
123
|
-
height: var(--spacing-5, 1.25rem);
|
|
124
|
-
--filler-offset: 0.5rem;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
.range-md {
|
|
128
|
-
height: var(--spacing-6, 1.5rem);
|
|
129
|
-
&::-webkit-slider-runnable-track {
|
|
130
|
-
height: var(--spacing-2, 0.5rem);
|
|
131
|
-
}
|
|
132
|
-
&::-webkit-slider-thumb {
|
|
133
|
-
width: var(--spacing-6, 1.5rem);
|
|
134
|
-
height: var(--spacing-6, 1.5rem);
|
|
135
|
-
--filler-offset: 0.6rem;
|
|
136
|
-
}
|
|
137
|
-
&::-moz-range-track {
|
|
138
|
-
height: var(--spacing-2, 0.5rem);
|
|
139
|
-
}
|
|
140
|
-
&::-moz-range-thumb {
|
|
141
|
-
width: var(--spacing-6, 1.5rem);
|
|
142
|
-
height: var(--spacing-6, 1.5rem);
|
|
143
|
-
--filler-offset: 0.6rem;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
.range-lg {
|
|
147
|
-
height: var(--spacing-8, 2rem);
|
|
148
|
-
&::-webkit-slider-runnable-track {
|
|
149
|
-
height: var(--spacing-4, 1rem);
|
|
150
|
-
}
|
|
151
|
-
&::-webkit-slider-thumb {
|
|
152
|
-
width: var(--spacing-8, 2rem);
|
|
153
|
-
height: var(--spacing-8, 2rem);
|
|
154
|
-
--filler-offset: 1rem;
|
|
155
|
-
}
|
|
156
|
-
&::-moz-range-track {
|
|
157
|
-
height: var(--spacing-4, 1rem);
|
|
158
|
-
}
|
|
159
|
-
&::-moz-range-thumb {
|
|
160
|
-
width: var(--spacing-8, 2rem);
|
|
161
|
-
height: var(--spacing-8, 2rem);
|
|
162
|
-
--filler-offset: 1rem;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
1
|
+
/*! 🌼 daisyUI 5.0.0-alpha.21 – MIT License */ .range{-webkit-appearance:none;appearance:none;--range-shdw:currentColor;height:var(--spacing-6,1.5rem);cursor:pointer;border-radius:var(--radius-box,var(--radius-box));--tw-border-style:none;vertical-align:middle;background-color:#0000;border-style:none;width:100%;overflow:hidden;&:focus{outline:none}&:focus-visible{--focus-shadow:0 0 0 6px var(--color-base-100)inset,0 0 0 2rem var(--range-shdw)inset}&::-webkit-slider-runnable-track{height:var(--spacing-2,.5rem);border-radius:var(--radius-box,var(--radius-box));background-color:color-mix(in srgb,var(--color-base-content,var(--color-base-content))10%,transparent);width:100%}&::-webkit-slider-thumb{height:var(--spacing-6,1.5rem);width:var(--spacing-6,1.5rem);border-radius:var(--radius-box,var(--radius-box));--tw-border-style:none;background-color:var(--color-base-100,var(--color-base-100));-webkit-appearance:none;appearance:none;color:var(--range-shdw);--filler-size:100rem;--filler-offset:.6rem;--track-shdw:calc(var(--filler-size)*-1 - var(--filler-offset))0 0 var(--filler-size);box-shadow:0 0 0 3px var(--range-shdw)inset,var(--focus-shadow,0 0),var(--track-shdw);border-style:none;position:relative;top:50%;transform:translateY(-50%)}[dir=rtl] &::-webkit-slider-thumb{--track-shdw:calc(var(--filler-size)*1 + var(--filler-offset))0 0 var(--filler-size)}&::-moz-range-track{height:var(--spacing-2,.5rem);border-radius:var(--radius-box,var(--radius-box));background-color:color-mix(in srgb,var(--color-base-content,var(--color-base-content))10%,transparent);width:100%}&::-moz-range-thumb{height:var(--spacing-6,1.5rem);width:var(--spacing-6,1.5rem);border-radius:var(--radius-box,var(--radius-box));--tw-border-style:none;background-color:var(--color-base-100,var(--color-base-100));color:var(--range-shdw);--filler-size:100rem;--filler-offset:.5rem;box-shadow:0 0 0 3px var(--range-shdw)inset,var(--focus-shadow,0 0),calc(var(--filler-size)*-1 - var(--filler-offset))0 0 var(--filler-size);border-style:none;position:relative;top:50%}}.range-primary{color:var(--color-primary,var(--color-primary))}.range-secondary{color:var(--color-secondary,var(--color-secondary))}.range-accent{color:var(--color-accent,var(--color-accent))}.range-success{color:var(--color-success,var(--color-success))}.range-warning{color:var(--color-warning,var(--color-warning))}.range-info{color:var(--color-info,var(--color-info))}.range-error{color:var(--color-error,var(--color-error))}.range-xs{height:var(--spacing-4,1rem);&::-webkit-slider-runnable-track{height:var(--spacing-1,.25rem)}&::-webkit-slider-thumb{width:var(--spacing-4,1rem);height:var(--spacing-4,1rem);--filler-offset:.4rem}&::-moz-range-track{height:var(--spacing-1,.25rem)}&::-moz-range-thumb{width:var(--spacing-4,1rem);height:var(--spacing-4,1rem);--filler-offset:.4rem}}.range-sm{height:var(--spacing-5,1.25rem);&::-webkit-slider-runnable-track{height:var(--spacing-1,.25rem)}&::-webkit-slider-thumb{width:var(--spacing-5,1.25rem);height:var(--spacing-5,1.25rem);--filler-offset:.5rem}&::-moz-range-track{height:var(--spacing-1,.25rem)}&::-moz-range-thumb{width:var(--spacing-5,1.25rem);height:var(--spacing-5,1.25rem);--filler-offset:.5rem}}.range-md{height:var(--spacing-6,1.5rem);&::-webkit-slider-runnable-track{height:var(--spacing-2,.5rem)}&::-webkit-slider-thumb{width:var(--spacing-6,1.5rem);height:var(--spacing-6,1.5rem);--filler-offset:.6rem}&::-moz-range-track{height:var(--spacing-2,.5rem)}&::-moz-range-thumb{width:var(--spacing-6,1.5rem);height:var(--spacing-6,1.5rem);--filler-offset:.6rem}}.range-lg{height:var(--spacing-8,2rem);&::-webkit-slider-runnable-track{height:var(--spacing-4,1rem)}&::-webkit-slider-thumb{width:var(--spacing-8,2rem);height:var(--spacing-8,2rem);--filler-offset:1rem}&::-moz-range-track{height:var(--spacing-4,1rem)}&::-moz-range-thumb{width:var(--spacing-8,2rem);height:var(--spacing-8,2rem);--filler-offset:1rem}}
|
|
@@ -1,82 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"@apply appearance-none border-none": {},
|
|
6
|
-
"WebkitAppearance": "none"
|
|
7
|
-
},
|
|
8
|
-
":where(input)": {
|
|
9
|
-
"animation": "rating-pop var(--animation-input, 0.25s) ease-out",
|
|
10
|
-
"@apply bg-base-content h-6 w-6 cursor-pointer rounded-none opacity-100": {}
|
|
11
|
-
},
|
|
12
|
-
"& .rating-hidden": {
|
|
13
|
-
"@apply w-2 bg-transparent": {}
|
|
14
|
-
},
|
|
15
|
-
"input[type=\"radio\"]:checked": {
|
|
16
|
-
"backgroundImage": "none"
|
|
17
|
-
},
|
|
18
|
-
"input": {
|
|
19
|
-
"&:checked,\n &[aria-checked=\"true\"]": {
|
|
20
|
-
"&~input": {
|
|
21
|
-
"@apply opacity-20": {}
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
"&:focus-visible": {
|
|
25
|
-
"@apply transition-transform duration-300 ease-out": {},
|
|
26
|
-
"transform": "translateY(-0.125em)"
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
|
-
"& input:active:focus": {
|
|
30
|
-
"animation": "none",
|
|
31
|
-
"transform": "translateY(-0.125em)"
|
|
32
|
-
},
|
|
33
|
-
"&:is(.rating-xs)": {
|
|
34
|
-
"input": {
|
|
35
|
-
"@apply size-3": {}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
"&:is(.rating-sm)": {
|
|
39
|
-
"input": {
|
|
40
|
-
"@apply size-4": {}
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"&:is(.rating-md)": {
|
|
44
|
-
"input": {
|
|
45
|
-
"@apply size-6": {}
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
"&:is(.rating-lg)": {
|
|
49
|
-
"input": {
|
|
50
|
-
"@apply size-10": {}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
".rating-half": {
|
|
55
|
-
":where(input:not(.rating-hidden))": {
|
|
56
|
-
"@apply w-3": {}
|
|
57
|
-
},
|
|
58
|
-
"&.rating-xs input:not(.rating-hidden)": {
|
|
59
|
-
"@apply w-1.5": {}
|
|
60
|
-
},
|
|
61
|
-
"&.rating-sm input:not(.rating-hidden)": {
|
|
62
|
-
"@apply w-2": {}
|
|
63
|
-
},
|
|
64
|
-
"&.rating-md input:not(.rating-hidden)": {
|
|
65
|
-
"@apply w-3": {}
|
|
66
|
-
},
|
|
67
|
-
"&.rating-lg input:not(.rating-hidden)": {
|
|
68
|
-
"@apply w-5": {}
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"@keyframes rating-pop": {
|
|
72
|
-
"0%": {
|
|
73
|
-
"transform": "translateY(-0.125em)"
|
|
74
|
-
},
|
|
75
|
-
"40%": {
|
|
76
|
-
"transform": "translateY(-0.125em)"
|
|
77
|
-
},
|
|
78
|
-
"100%": {
|
|
79
|
-
"transform": "translateY(0)"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
};
|
|
1
|
+
import rating from './object.js';
|
|
2
|
+
export default ({ addComponents }) => {
|
|
3
|
+
addComponents({...rating})
|
|
4
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {".rating":{"@apply relative inline-flex align-middle":{},"& input":{"@apply appearance-none border-none":{},"WebkitAppearance":"none"},":where(input)":{"animation":"rating-pop var(--animation-input, 0.25s) ease-out","@apply bg-base-content h-6 w-6 cursor-pointer rounded-none opacity-100":{}},"& .rating-hidden":{"@apply w-2 bg-transparent":{}},"input[type=\"radio\"]:checked":{"backgroundImage":"none"},"input":{"&:checked,\n &[aria-checked=\"true\"]":{"&~input":{"@apply opacity-20":{}}},"&:focus-visible":{"transitionProperty":"transform","transitionDuration":".3s","transitionTimingFunction":"cubic-bezier(0, 0, 0.2, 1)","transform":"translateY(-0.125em)"}},"& input:active:focus":{"animation":"none","transform":"translateY(-0.125em)"},"&:is(.rating-xs)":{"input":{"@apply size-3":{}}},"&:is(.rating-sm)":{"input":{"@apply size-4":{}}},"&:is(.rating-md)":{"input":{"@apply size-6":{}}},"&:is(.rating-lg)":{"input":{"@apply size-10":{}}}},".rating-half":{":where(input:not(.rating-hidden))":{"@apply w-3":{}},"&.rating-xs input:not(.rating-hidden)":{"@apply w-1.5":{}},"&.rating-sm input:not(.rating-hidden)":{"@apply w-2":{}},"&.rating-md input:not(.rating-hidden)":{"@apply w-3":{}},"&.rating-lg input:not(.rating-hidden)":{"@apply w-5":{}}},"@keyframes rating-pop":{"0%":{"transform":"translateY(-0.125em)"},"40%":{"transform":"translateY(-0.125em)"},"100%":{"transform":"translateY(0)"}}};
|
package/components/rating.css
CHANGED
|
@@ -1,104 +1 @@
|
|
|
1
|
-
.rating {
|
|
2
|
-
position: relative;
|
|
3
|
-
display: inline-flex;
|
|
4
|
-
vertical-align: middle;
|
|
5
|
-
& input {
|
|
6
|
-
appearance: none;
|
|
7
|
-
--tw-border-style: none;
|
|
8
|
-
border-style: none;
|
|
9
|
-
-webkit-appearance: none;
|
|
10
|
-
}
|
|
11
|
-
:where(input) {
|
|
12
|
-
animation: rating-pop var(--animation-input, 0.25s) ease-out;
|
|
13
|
-
height: var(--spacing-6, 1.5rem);
|
|
14
|
-
width: var(--spacing-6, 1.5rem);
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
border-radius: 0;
|
|
17
|
-
background-color: var(--color-base-content, oklch(27.8078% 0.029596 256.84795));
|
|
18
|
-
opacity: 100%;
|
|
19
|
-
}
|
|
20
|
-
& .rating-hidden {
|
|
21
|
-
width: var(--spacing-2, 0.5rem);
|
|
22
|
-
background-color: transparent;
|
|
23
|
-
}
|
|
24
|
-
input[type="radio"]:checked {
|
|
25
|
-
background-image: none;
|
|
26
|
-
}
|
|
27
|
-
input {
|
|
28
|
-
&:checked, &[aria-checked="true"] {
|
|
29
|
-
&~input {
|
|
30
|
-
opacity: 20%;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
&:focus-visible {
|
|
34
|
-
transition-property: transform, translate, scale, rotate;
|
|
35
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
36
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
37
|
-
--tw-duration: 300ms;
|
|
38
|
-
transition-duration: 300ms;
|
|
39
|
-
--tw-ease: var(--transition-timing-function-out, cubic-bezier(0, 0, 0.2, 1));
|
|
40
|
-
transition-timing-function: var(--transition-timing-function-out, cubic-bezier(0, 0, 0.2, 1));
|
|
41
|
-
transform: translateY(-0.125em);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
& input:active:focus {
|
|
45
|
-
animation: none;
|
|
46
|
-
}
|
|
47
|
-
& input:active:focus {
|
|
48
|
-
transform: translateY(-0.125em);
|
|
49
|
-
}
|
|
50
|
-
&:is(.rating-xs) {
|
|
51
|
-
input {
|
|
52
|
-
width: var(--spacing-3, 0.75rem);
|
|
53
|
-
height: var(--spacing-3, 0.75rem);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
&:is(.rating-sm) {
|
|
57
|
-
input {
|
|
58
|
-
width: var(--spacing-4, 1rem);
|
|
59
|
-
height: var(--spacing-4, 1rem);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
&:is(.rating-md) {
|
|
63
|
-
input {
|
|
64
|
-
width: var(--spacing-6, 1.5rem);
|
|
65
|
-
height: var(--spacing-6, 1.5rem);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
&:is(.rating-lg) {
|
|
69
|
-
input {
|
|
70
|
-
width: var(--spacing-10, 2.5rem);
|
|
71
|
-
height: var(--spacing-10, 2.5rem);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
.rating-half {
|
|
76
|
-
:where(input:not(.rating-hidden)) {
|
|
77
|
-
width: var(--spacing-3, 0.75rem);
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
@keyframes rating-pop {
|
|
81
|
-
0% {
|
|
82
|
-
transform: translateY(-0.125em);
|
|
83
|
-
}
|
|
84
|
-
40% {
|
|
85
|
-
transform: translateY(-0.125em);
|
|
86
|
-
}
|
|
87
|
-
100% {
|
|
88
|
-
transform: translateY(0);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
.rating-half {
|
|
92
|
-
&.rating-xs input:not(.rating-hidden) {
|
|
93
|
-
width: var(--spacing-1_5, 0.375rem);
|
|
94
|
-
}
|
|
95
|
-
&.rating-sm input:not(.rating-hidden) {
|
|
96
|
-
width: var(--spacing-2, 0.5rem);
|
|
97
|
-
}
|
|
98
|
-
&.rating-md input:not(.rating-hidden) {
|
|
99
|
-
width: var(--spacing-3, 0.75rem);
|
|
100
|
-
}
|
|
101
|
-
&.rating-lg input:not(.rating-hidden) {
|
|
102
|
-
width: var(--spacing-5, 1.25rem);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
1
|
+
/*! 🌼 daisyUI 5.0.0-alpha.21 – MIT License */ .rating{vertical-align:middle;display:inline-flex;position:relative;& input{-webkit-appearance:none;appearance:none;--tw-border-style:none;border-style:none}& :where(input){animation:rating-pop var(--animation-input,.25s)ease-out;height:var(--spacing-6,1.5rem);width:var(--spacing-6,1.5rem);cursor:pointer;background-color:var(--color-base-content,var(--color-base-content));opacity:1;border-radius:0}& .rating-hidden{width:var(--spacing-2,.5rem);background-color:#0000}& input[type=radio]:checked{background-image:none}& input{&:checked,&[aria-checked=true]{&~input{opacity:.2}}&:focus-visible{transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1);transform:translateY(-.125em)}}& input:active:focus{animation:none;transform:translateY(-.125em)}&.rating-xs{& input{width:var(--spacing-3,.75rem);height:var(--spacing-3,.75rem)}}&.rating-sm{& input{width:var(--spacing-4,1rem);height:var(--spacing-4,1rem)}}&.rating-md{& input{width:var(--spacing-6,1.5rem);height:var(--spacing-6,1.5rem)}}&.rating-lg{& input{width:var(--spacing-10,2.5rem);height:var(--spacing-10,2.5rem)}}}.rating-half{& :where(input:not(.rating-hidden)){width:var(--spacing-3,.75rem)}}@keyframes rating-pop{0%{transform:translateY(-.125em)}40%{transform:translateY(-.125em)}to{transform:translateY(0)}}.rating-half{&.rating-xs input:not(.rating-hidden){width:var(--spacing-1_5,.375rem)}&.rating-sm input:not(.rating-hidden){width:var(--spacing-2,.5rem)}&.rating-md input:not(.rating-hidden){width:var(--spacing-3,.75rem)}&.rating-lg input:not(.rating-hidden){width:var(--spacing-5,1.25rem)}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[
|
|
2
|
+
"select",
|
|
3
|
+
"select-bordered",
|
|
4
|
+
"select-ghost",
|
|
5
|
+
"select-primary",
|
|
6
|
+
"select-secondary",
|
|
7
|
+
"select-accent",
|
|
8
|
+
"select-info",
|
|
9
|
+
"select-success",
|
|
10
|
+
"select-warning",
|
|
11
|
+
"select-error",
|
|
12
|
+
"select-xs",
|
|
13
|
+
"select-sm",
|
|
14
|
+
"select-md",
|
|
15
|
+
"select-lg"
|
|
16
|
+
]
|
|
@@ -1,99 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"backgroundPosition": "calc(100% - 20px) calc(1px + 50%),\n calc(100% - 16.1px) calc(1px + 50%)",
|
|
6
|
-
"backgroundSize": "4px 4px,\n 4px 4px",
|
|
7
|
-
"backgroundRepeat": "no-repeat",
|
|
8
|
-
"input": {
|
|
9
|
-
"@apply border-none bg-transparent": {},
|
|
10
|
-
"&:focus": {
|
|
11
|
-
"@apply outline-none": {}
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"&:focus,\n &:focus-within": {
|
|
15
|
-
"@apply border-base-content/20 outline-base-content/20 outline outline-2 outline-offset-2": {}
|
|
16
|
-
},
|
|
17
|
-
"&:has(> select[disabled]),\n &:is(:disabled, [disabled])": {
|
|
18
|
-
"@apply border-base-200 bg-base-200 placeholder-base-content text-base-content/40 placeholder-base-content/20 cursor-not-allowed": {}
|
|
19
|
-
},
|
|
20
|
-
"&:has(> select[disabled])>select[disabled]": {
|
|
21
|
-
"@apply cursor-not-allowed": {}
|
|
22
|
-
},
|
|
23
|
-
"&.select-bordered": {
|
|
24
|
-
"@apply border-base-content/20": {},
|
|
25
|
-
"boxShadow": "0 1px oklch(0% 0 0 / 0.1) inset,\n 0 -1px oklch(100% 0 0 / 0.1) inset",
|
|
26
|
-
"&:focus": {
|
|
27
|
-
"boxShadow": "0 1px oklch(0% 0 0 / 0.1)"
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
"&.select-ghost": {
|
|
31
|
-
"@apply bg-base-100/5 shadow-none": {},
|
|
32
|
-
"&:focus,\n &:focus-within": {
|
|
33
|
-
"@apply text-base-content bg-base-100": {},
|
|
34
|
-
"boxShadow": "none"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"&.select-primary": {
|
|
38
|
-
"@apply border-primary": {},
|
|
39
|
-
"backgroundColor": "color-mix(in oklab, var(--color-primary) 2%, transparent)",
|
|
40
|
-
"&:focus,\n &:focus-within": {
|
|
41
|
-
"@apply outline-primary border-primary": {}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"&.select-secondary": {
|
|
45
|
-
"@apply border-secondary": {},
|
|
46
|
-
"backgroundColor": "color-mix(in oklab, var(--color-secondary) 2%, transparent)",
|
|
47
|
-
"&:focus,\n &:focus-within": {
|
|
48
|
-
"@apply outline-secondary border-secondary": {}
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"&.select-accent": {
|
|
52
|
-
"@apply border-accent": {},
|
|
53
|
-
"backgroundColor": "color-mix(in oklab, var(--color-accent) 2%, transparent)",
|
|
54
|
-
"&:focus,\n &:focus-within": {
|
|
55
|
-
"@apply outline-accent border-accent": {}
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
"&.select-info": {
|
|
59
|
-
"@apply border-info": {},
|
|
60
|
-
"backgroundColor": "color-mix(in oklab, var(--color-info) 2%, transparent)",
|
|
61
|
-
"&:focus,\n &:focus-within": {
|
|
62
|
-
"@apply outline-info border-info": {}
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"&.select-success": {
|
|
66
|
-
"@apply border-success": {},
|
|
67
|
-
"backgroundColor": "color-mix(in oklab, var(--color-success) 2%, transparent)",
|
|
68
|
-
"&:focus,\n &:focus-within": {
|
|
69
|
-
"@apply outline-success border-success": {}
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
"&.select-warning": {
|
|
73
|
-
"@apply border-warning": {},
|
|
74
|
-
"backgroundColor": "color-mix(in oklab, var(--color-warning) 2%, transparent)",
|
|
75
|
-
"&:focus,\n &:focus-within": {
|
|
76
|
-
"@apply outline-warning border-warning": {}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"&.select-error": {
|
|
80
|
-
"@apply border-error": {},
|
|
81
|
-
"backgroundColor": "color-mix(in oklab, var(--color-error) 2%, transparent)",
|
|
82
|
-
"&:focus,\n &:focus-within": {
|
|
83
|
-
"@apply outline-error border-error": {}
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
"&.select-xs": {
|
|
87
|
-
"@apply h-6 px-2 text-xs leading-relaxed": {}
|
|
88
|
-
},
|
|
89
|
-
"&.select-sm": {
|
|
90
|
-
"@apply h-8 px-3 text-sm leading-8": {}
|
|
91
|
-
},
|
|
92
|
-
"&.select-md": {
|
|
93
|
-
"@apply h-10 px-4 text-sm leading-loose": {}
|
|
94
|
-
},
|
|
95
|
-
"&.select-lg": {
|
|
96
|
-
"@apply h-14 px-6 text-lg leading-loose": {}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
};
|
|
1
|
+
import select from './object.js';
|
|
2
|
+
export default ({ addComponents }) => {
|
|
3
|
+
addComponents({...select})
|
|
4
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {".select":{"@apply relative bg-base-100 h-10 shrink appearance-none border border-transparent px-4 text-base text-sm leading-loose align-middle":{},"borderStartStartRadius":"var(--radius-join-start-start, var(--radius-btn))","borderStartEndRadius":"var(--radius-join-start-end, var(--radius-btn))","borderEndStartRadius":"var(--radius-join-end-start, var(--radius-btn))","borderEndEndRadius":"var(--radius-join-end-end, var(--radius-btn))","backgroundImage":"linear-gradient(45deg, transparent 50%, currentColor 50%),\n linear-gradient(135deg, currentColor 50%, transparent 50%)","backgroundPosition":"calc(100% - 20px) calc(1px + 50%),\n calc(100% - 16.1px) calc(1px + 50%)","backgroundSize":"4px 4px,\n 4px 4px","backgroundRepeat":"no-repeat","input":{"@apply border-none bg-transparent":{},"&:focus":{"@apply outline-none":{}}},"&:focus,\n &:focus-within":{"@apply border-base-content/20 outline-base-content/20 outline outline-2 outline-offset-2":{}},"&:has(> select[disabled]),\n &:is(:disabled, [disabled])":{"@apply border-base-200 bg-base-200 placeholder-base-content text-base-content/40 placeholder-base-content/20 cursor-not-allowed":{}},"&:has(> select[disabled])>select[disabled]":{"@apply cursor-not-allowed":{}},"&.select-bordered":{"@apply border-base-content/20":{},"boxShadow":"0 1px oklch(0% 0 0 / 0.1) inset,\n 0 -1px oklch(100% 0 0 / 0.1) inset","&:focus":{"boxShadow":"0 1px oklch(0% 0 0 / 0.1)"}},"&.select-ghost":{"@apply bg-base-100/5 shadow-none":{},"&:focus,\n &:focus-within":{"@apply text-base-content bg-base-100":{},"boxShadow":"none"}},"&.select-primary":{"@apply border-primary":{},"backgroundColor":"color-mix(in oklab, var(--color-primary) 2%, transparent)","&:focus,\n &:focus-within":{"@apply outline-primary border-primary":{}}},"&.select-secondary":{"@apply border-secondary":{},"backgroundColor":"color-mix(in oklab, var(--color-secondary) 2%, transparent)","&:focus,\n &:focus-within":{"@apply outline-secondary border-secondary":{}}},"&.select-accent":{"@apply border-accent":{},"backgroundColor":"color-mix(in oklab, var(--color-accent) 2%, transparent)","&:focus,\n &:focus-within":{"@apply outline-accent border-accent":{}}},"&.select-info":{"@apply border-info":{},"backgroundColor":"color-mix(in oklab, var(--color-info) 2%, transparent)","&:focus,\n &:focus-within":{"@apply outline-info border-info":{}}},"&.select-success":{"@apply border-success":{},"backgroundColor":"color-mix(in oklab, var(--color-success) 2%, transparent)","&:focus,\n &:focus-within":{"@apply outline-success border-success":{}}},"&.select-warning":{"@apply border-warning":{},"backgroundColor":"color-mix(in oklab, var(--color-warning) 2%, transparent)","&:focus,\n &:focus-within":{"@apply outline-warning border-warning":{}}},"&.select-error":{"@apply border-error":{},"backgroundColor":"color-mix(in oklab, var(--color-error) 2%, transparent)","&:focus,\n &:focus-within":{"@apply outline-error border-error":{}}},"&.select-xs":{"@apply h-6 px-2 text-xs leading-relaxed":{}},"&.select-sm":{"@apply h-8 px-3 text-sm leading-8":{}},"&.select-md":{"@apply h-10 px-4 text-sm leading-loose":{}},"&.select-lg":{"@apply h-14 px-6 text-lg leading-loose":{}}}};
|