@macroui/macroui 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.js +1 -0
- package/dist/full.css +62910 -0
- package/dist/index.d.ts +122 -0
- package/dist/index.js +149 -0
- package/dist/styled.css +5192 -0
- package/dist/styled.js +1 -0
- package/dist/themes.css +2118 -0
- package/dist/unstyled.css +1330 -0
- package/dist/unstyled.js +1 -0
- package/dist/utilities-styled.js +1 -0
- package/dist/utilities-unstyled.js +1 -0
- package/dist/utilities.js +1 -0
- package/package.json +23 -24
- package/src/base/properties.css +5 -0
- package/src/base/reset.css +130 -0
- package/src/base/rootcolor.css +9 -0
- package/src/base/rootscrollgutter.css +21 -0
- package/src/base/rootscrolllock.css +4 -0
- package/src/base/scrollbar.css +3 -0
- package/src/base/svg.css +3 -0
- package/src/components/alert.css +126 -0
- package/src/components/avatar.css +60 -0
- package/src/components/badge.css +151 -0
- package/src/components/breadcrumbs.css +40 -0
- package/src/components/button.css +362 -0
- package/src/components/calendar.css +549 -0
- package/src/components/card.css +203 -0
- package/src/components/carousel.css +59 -0
- package/src/components/chat.css +157 -0
- package/src/components/checkbox.css +174 -0
- package/src/components/collapse.css +302 -0
- package/src/components/countdown.css +56 -0
- package/src/components/diff.css +93 -0
- package/src/components/divider.css +148 -0
- package/src/components/dock.css +123 -0
- package/src/components/drawer.css +166 -0
- package/src/components/dropdown.css +247 -0
- package/src/components/fab.css +139 -0
- package/src/components/fieldset.css +23 -0
- package/src/components/fileinput.css +265 -0
- package/src/components/filter.css +42 -0
- package/src/components/footer.css +45 -0
- package/src/components/hero.css +21 -0
- package/src/components/hover3d.css +128 -0
- package/src/components/hovergallery.css +87 -0
- package/src/components/indicator.css +76 -0
- package/src/components/input.css +263 -0
- package/src/components/kbd.css +49 -0
- package/src/components/label.css +101 -0
- package/src/components/link.css +116 -0
- package/src/components/list.css +58 -0
- package/src/components/loading.css +76 -0
- package/src/components/mask.css +108 -0
- package/src/components/menu.css +298 -0
- package/src/components/mockup.css +150 -0
- package/src/components/modal.css +182 -0
- package/src/components/navbar.css +36 -0
- package/src/components/progress.css +108 -0
- package/src/components/radialprogress.css +39 -0
- package/src/components/radio.css +158 -0
- package/src/components/range.css +186 -0
- package/src/components/rating.css +114 -0
- package/src/components/select.css +284 -0
- package/src/components/skeleton.css +41 -0
- package/src/components/stack.css +80 -0
- package/src/components/stat.css +73 -0
- package/src/components/status.css +92 -0
- package/src/components/steps.css +168 -0
- package/src/components/swap.css +94 -0
- package/src/components/tab.css +557 -0
- package/src/components/table.css +126 -0
- package/src/components/textarea.css +179 -0
- package/src/components/textrotate.css +71 -0
- package/src/components/timeline.css +250 -0
- package/src/components/toast.css +68 -0
- package/src/components/toggle.css +239 -0
- package/src/components/tooltip.css +203 -0
- package/src/components/validator.css +47 -0
- package/src/themes/abyss.css +29 -0
- package/src/themes/acid.css +29 -0
- package/src/themes/aqua.css +29 -0
- package/src/themes/autumn.css +29 -0
- package/src/themes/black.css +29 -0
- package/src/themes/bumblebee.css +29 -0
- package/src/themes/business.css +29 -0
- package/src/themes/caramellatte.css +29 -0
- package/src/themes/cmyk.css +29 -0
- package/src/themes/coffee.css +29 -0
- package/src/themes/corporate.css +29 -0
- package/src/themes/cupcake.css +29 -0
- package/src/themes/cyberpunk.css +29 -0
- package/src/themes/dark.css +29 -0
- package/src/themes/dim.css +29 -0
- package/src/themes/dracula.css +29 -0
- package/src/themes/emerald.css +29 -0
- package/src/themes/fantasy.css +29 -0
- package/src/themes/forest.css +29 -0
- package/src/themes/garden.css +29 -0
- package/src/themes/halloween.css +29 -0
- package/src/themes/lemonade.css +29 -0
- package/src/themes/light.css +29 -0
- package/src/themes/lofi.css +29 -0
- package/src/themes/luxury.css +29 -0
- package/src/themes/night.css +29 -0
- package/src/themes/nord.css +29 -0
- package/src/themes/pastel.css +29 -0
- package/src/themes/retro.css +29 -0
- package/src/themes/silk.css +29 -0
- package/src/themes/sunset.css +29 -0
- package/src/themes/synthwave.css +29 -0
- package/src/themes/valentine.css +29 -0
- package/src/themes/winter.css +29 -0
- package/src/themes/wireframe.css +29 -0
- package/src/utilities/glass.css +20 -0
- package/src/utilities/join.css +207 -0
- package/src/utilities/radius.css +119 -0
- package/src/utilities/typography.css +31 -0
- package/functions/addPrefix.js +0 -185
- package/functions/plugin.js +0 -11
- package/functions/pluginOptionsHandler.js +0 -97
- package/functions/themeOrder.js +0 -37
- package/functions/variables.js +0 -29
- package/index.js +0 -61
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
.input {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
cursor: text;
|
|
4
|
+
border: var(--border) solid #0000;
|
|
5
|
+
@apply bg-base-100 relative inline-flex shrink appearance-none items-center gap-2 px-3 align-middle whitespace-nowrap;
|
|
6
|
+
width: clamp(3rem, 20rem, 100%);
|
|
7
|
+
height: var(--size);
|
|
8
|
+
font-size: max(var(--font-size, 0.875rem), 0.875rem);
|
|
9
|
+
touch-action: manipulation;
|
|
10
|
+
border-start-start-radius: var(--join-ss, var(--radius-field));
|
|
11
|
+
border-start-end-radius: var(--join-se, var(--radius-field));
|
|
12
|
+
border-end-start-radius: var(--join-es, var(--radius-field));
|
|
13
|
+
border-end-end-radius: var(--join-ee, var(--radius-field));
|
|
14
|
+
border-color: var(--input-color);
|
|
15
|
+
box-shadow:
|
|
16
|
+
0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000) inset,
|
|
17
|
+
0 -1px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset;
|
|
18
|
+
--size: calc(var(--size-field, 0.25rem) * 10);
|
|
19
|
+
--input-color: color-mix(in oklab, var(--color-base-content) 20%, #0000);
|
|
20
|
+
&:where(input) {
|
|
21
|
+
@apply inline-flex;
|
|
22
|
+
}
|
|
23
|
+
:where(input) {
|
|
24
|
+
@apply inline-flex h-full w-full appearance-none bg-transparent;
|
|
25
|
+
border: none;
|
|
26
|
+
|
|
27
|
+
&:focus,
|
|
28
|
+
&:focus-within {
|
|
29
|
+
@apply outline-hidden;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
:where(input[type="url"]),
|
|
34
|
+
:where(input[type="email"]) {
|
|
35
|
+
direction: ltr;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:where(input[type="date"]) {
|
|
39
|
+
@apply inline-flex;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:focus,
|
|
43
|
+
&:focus-within {
|
|
44
|
+
--input-color: var(--color-base-content);
|
|
45
|
+
box-shadow: 0 1px color-mix(in oklab, var(--input-color) calc(var(--depth) * 10%), #0000);
|
|
46
|
+
outline: 2px solid var(--input-color);
|
|
47
|
+
outline-offset: 2px;
|
|
48
|
+
isolation: isolate;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/* increase font size in iOS so the page won't zoom */
|
|
52
|
+
@media (pointer: coarse) {
|
|
53
|
+
@supports (-webkit-touch-callout: none) {
|
|
54
|
+
&:focus,
|
|
55
|
+
&:focus-within {
|
|
56
|
+
--font-size: 1rem;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&:has(> input[disabled]),
|
|
62
|
+
&:is(:disabled, [disabled]),
|
|
63
|
+
fieldset:disabled & {
|
|
64
|
+
@apply border-base-200 bg-base-200 placeholder-base-content text-base-content/40 placeholder-base-content/20 cursor-not-allowed;
|
|
65
|
+
box-shadow: none;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:has(> input[disabled]) > input[disabled] {
|
|
69
|
+
@apply cursor-not-allowed;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&::-webkit-date-and-time-value {
|
|
73
|
+
text-align: inherit;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&[type="number"] {
|
|
77
|
+
&::-webkit-inner-spin-button {
|
|
78
|
+
@apply -my-3 -me-3;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&::-webkit-calendar-picker-indicator {
|
|
83
|
+
position: absolute;
|
|
84
|
+
inset-inline-end: 0.75em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&:has(> input[type="date"]) {
|
|
88
|
+
:where(input[type="date"]) {
|
|
89
|
+
@apply inline-flex;
|
|
90
|
+
-webkit-appearance: none;
|
|
91
|
+
appearance: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
input[type="date"]::-webkit-calendar-picker-indicator {
|
|
95
|
+
position: absolute;
|
|
96
|
+
inset-inline-end: 0.75em;
|
|
97
|
+
width: 1em;
|
|
98
|
+
height: 1em;
|
|
99
|
+
cursor: pointer;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.input-ghost {
|
|
106
|
+
@layer daisyui.l1.l2 {
|
|
107
|
+
@apply bg-transparent;
|
|
108
|
+
box-shadow: none;
|
|
109
|
+
border-color: #0000;
|
|
110
|
+
|
|
111
|
+
&:focus,
|
|
112
|
+
&:focus-within {
|
|
113
|
+
@apply text-base-content bg-base-100;
|
|
114
|
+
border-color: #0000;
|
|
115
|
+
box-shadow: none;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.input-neutral {
|
|
121
|
+
@layer daisyui.l1.l2 {
|
|
122
|
+
&,
|
|
123
|
+
&:focus,
|
|
124
|
+
&:focus-within {
|
|
125
|
+
--input-color: var(--color-neutral);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.input-primary {
|
|
131
|
+
@layer daisyui.l1.l2 {
|
|
132
|
+
&,
|
|
133
|
+
&:focus,
|
|
134
|
+
&:focus-within {
|
|
135
|
+
--input-color: var(--color-primary);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.input-secondary {
|
|
141
|
+
@layer daisyui.l1.l2 {
|
|
142
|
+
&,
|
|
143
|
+
&:focus,
|
|
144
|
+
&:focus-within {
|
|
145
|
+
--input-color: var(--color-secondary);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.input-accent {
|
|
151
|
+
@layer daisyui.l1.l2 {
|
|
152
|
+
&,
|
|
153
|
+
&:focus,
|
|
154
|
+
&:focus-within {
|
|
155
|
+
--input-color: var(--color-accent);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.input-info {
|
|
161
|
+
@layer daisyui.l1.l2 {
|
|
162
|
+
&,
|
|
163
|
+
&:focus,
|
|
164
|
+
&:focus-within {
|
|
165
|
+
--input-color: var(--color-info);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.input-success {
|
|
171
|
+
@layer daisyui.l1.l2 {
|
|
172
|
+
&,
|
|
173
|
+
&:focus,
|
|
174
|
+
&:focus-within {
|
|
175
|
+
--input-color: var(--color-success);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.input-warning {
|
|
181
|
+
@layer daisyui.l1.l2 {
|
|
182
|
+
&,
|
|
183
|
+
&:focus,
|
|
184
|
+
&:focus-within {
|
|
185
|
+
--input-color: var(--color-warning);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.input-error {
|
|
191
|
+
@layer daisyui.l1.l2 {
|
|
192
|
+
&,
|
|
193
|
+
&:focus,
|
|
194
|
+
&:focus-within {
|
|
195
|
+
--input-color: var(--color-error);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.input-xs {
|
|
201
|
+
@layer daisyui.l1.l2 {
|
|
202
|
+
--size: calc(var(--size-field, 0.25rem) * 6);
|
|
203
|
+
font-size: max(var(--font-size, 0.6875rem), 0.6875rem);
|
|
204
|
+
|
|
205
|
+
&[type="number"] {
|
|
206
|
+
&::-webkit-inner-spin-button {
|
|
207
|
+
@apply -my-1 -me-3;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.input-sm {
|
|
214
|
+
@layer daisyui.l1.l2 {
|
|
215
|
+
--size: calc(var(--size-field, 0.25rem) * 8);
|
|
216
|
+
font-size: max(var(--font-size, 0.75rem), 0.75rem);
|
|
217
|
+
|
|
218
|
+
&[type="number"] {
|
|
219
|
+
&::-webkit-inner-spin-button {
|
|
220
|
+
@apply -my-2 -me-3;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.input-md {
|
|
227
|
+
@layer daisyui.l1.l2 {
|
|
228
|
+
--size: calc(var(--size-field, 0.25rem) * 10);
|
|
229
|
+
font-size: max(var(--font-size, 0.875rem), 0.875rem);
|
|
230
|
+
|
|
231
|
+
&[type="number"] {
|
|
232
|
+
&::-webkit-inner-spin-button {
|
|
233
|
+
@apply -my-3 -me-3;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.input-lg {
|
|
240
|
+
@layer daisyui.l1.l2 {
|
|
241
|
+
--size: calc(var(--size-field, 0.25rem) * 12);
|
|
242
|
+
font-size: max(var(--font-size, 1.125rem), 1.125rem);
|
|
243
|
+
|
|
244
|
+
&[type="number"] {
|
|
245
|
+
&::-webkit-inner-spin-button {
|
|
246
|
+
@apply -my-3 -me-3;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.input-xl {
|
|
253
|
+
@layer daisyui.l1.l2 {
|
|
254
|
+
--size: calc(var(--size-field, 0.25rem) * 14);
|
|
255
|
+
font-size: max(var(--font-size, 1.375rem), 1.375rem);
|
|
256
|
+
|
|
257
|
+
&[type="number"] {
|
|
258
|
+
&::-webkit-inner-spin-button {
|
|
259
|
+
@apply -my-4 -me-3;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.kbd {
|
|
2
|
+
box-shadow: none;
|
|
3
|
+
@layer daisyui.l1.l2.l3 {
|
|
4
|
+
@apply bg-base-200 rounded-field inline-flex items-center justify-center align-middle;
|
|
5
|
+
padding-inline: 0.5em;
|
|
6
|
+
border: var(--border) solid color-mix(in srgb, var(--color-base-content) 20%, #0000);
|
|
7
|
+
border-bottom: calc(var(--border) + 1px) solid
|
|
8
|
+
color-mix(in srgb, var(--color-base-content) 20%, #0000);
|
|
9
|
+
--size: calc(var(--size-selector, 0.25rem) * 6);
|
|
10
|
+
font-size: 0.875rem;
|
|
11
|
+
height: var(--size);
|
|
12
|
+
min-width: var(--size);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.kbd-xs {
|
|
17
|
+
@layer daisyui.l1.l2 {
|
|
18
|
+
--size: calc(var(--size-selector, 0.25rem) * 4);
|
|
19
|
+
font-size: 0.625rem;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.kbd-sm {
|
|
24
|
+
@layer daisyui.l1.l2 {
|
|
25
|
+
--size: calc(var(--size-selector, 0.25rem) * 5);
|
|
26
|
+
font-size: 0.75rem;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.kbd-md {
|
|
31
|
+
@layer daisyui.l1.l2 {
|
|
32
|
+
--size: calc(var(--size-selector, 0.25rem) * 6);
|
|
33
|
+
font-size: 0.875rem;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.kbd-lg {
|
|
38
|
+
@layer daisyui.l1.l2 {
|
|
39
|
+
--size: calc(var(--size-selector, 0.25rem) * 7);
|
|
40
|
+
font-size: 1rem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.kbd-xl {
|
|
45
|
+
@layer daisyui.l1.l2 {
|
|
46
|
+
--size: calc(var(--size-selector, 0.25rem) * 8);
|
|
47
|
+
font-size: 1.125rem;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
.label {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
@apply inline-flex items-center gap-1.5 whitespace-nowrap text-current/60;
|
|
4
|
+
&:has(input) {
|
|
5
|
+
@apply cursor-pointer;
|
|
6
|
+
}
|
|
7
|
+
&:is(.input > *, .select > *) {
|
|
8
|
+
@apply flex h-[calc(100%-0.5rem)] items-center px-3 whitespace-nowrap;
|
|
9
|
+
font-size: inherit;
|
|
10
|
+
&:first-child {
|
|
11
|
+
@apply -ms-3 me-3;
|
|
12
|
+
border-inline-end: var(--border) solid color-mix(in oklab, currentColor 10%, #0000);
|
|
13
|
+
}
|
|
14
|
+
&:last-child {
|
|
15
|
+
@apply ms-3 -me-3;
|
|
16
|
+
border-inline-start: var(--border) solid color-mix(in oklab, currentColor 10%, #0000);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.floating-label {
|
|
22
|
+
@layer daisyui.l1.l2.l3 {
|
|
23
|
+
@apply relative block;
|
|
24
|
+
input {
|
|
25
|
+
@apply block;
|
|
26
|
+
&::placeholder {
|
|
27
|
+
transition:
|
|
28
|
+
top 0.1s ease-out,
|
|
29
|
+
translate 0.1s ease-out,
|
|
30
|
+
scale 0.1s ease-out,
|
|
31
|
+
opacity 0.1s ease-out;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
textarea {
|
|
35
|
+
&::placeholder {
|
|
36
|
+
transition:
|
|
37
|
+
top 0.1s ease-out,
|
|
38
|
+
translate 0.1s ease-out,
|
|
39
|
+
scale 0.1s ease-out,
|
|
40
|
+
opacity 0.1s ease-out;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
> span {
|
|
44
|
+
@apply bg-base-100 absolute start-3 z-1 px-1 opacity-0;
|
|
45
|
+
font-size: 0.875rem;
|
|
46
|
+
top: calc(var(--size-field, 0.25rem) * 10 / 2);
|
|
47
|
+
line-height: 1;
|
|
48
|
+
border-radius: 2px;
|
|
49
|
+
pointer-events: none;
|
|
50
|
+
translate: 0 -50%;
|
|
51
|
+
transition:
|
|
52
|
+
top 0.1s ease-out,
|
|
53
|
+
translate 0.1s ease-out,
|
|
54
|
+
scale 0.1s ease-out,
|
|
55
|
+
opacity 0.1s ease-out;
|
|
56
|
+
}
|
|
57
|
+
&:focus-within,
|
|
58
|
+
&:not(:has(input:placeholder-shown, textarea:placeholder-shown)) {
|
|
59
|
+
::placeholder {
|
|
60
|
+
@apply opacity-0;
|
|
61
|
+
top: 0;
|
|
62
|
+
translate: -12.5% calc(-50% - 0.125em);
|
|
63
|
+
scale: 0.75;
|
|
64
|
+
pointer-events: auto;
|
|
65
|
+
}
|
|
66
|
+
> span {
|
|
67
|
+
@apply opacity-100;
|
|
68
|
+
top: 0;
|
|
69
|
+
translate: -12.5% calc(-50% - 0.125em);
|
|
70
|
+
scale: 0.75;
|
|
71
|
+
pointer-events: auto;
|
|
72
|
+
z-index: 2;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
&:has(:disabled, [disabled]) {
|
|
76
|
+
> span {
|
|
77
|
+
@apply opacity-0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
&:has(.input-xs, .select-xs, .textarea-xs) span {
|
|
81
|
+
font-size: 0.6875rem;
|
|
82
|
+
top: calc(var(--size-field, 0.25rem) * 6 / 2);
|
|
83
|
+
}
|
|
84
|
+
&:has(.input-sm, .select-sm, .textarea-sm) span {
|
|
85
|
+
font-size: 0.75rem;
|
|
86
|
+
top: calc(var(--size-field, 0.25rem) * 8 / 2);
|
|
87
|
+
}
|
|
88
|
+
&:has(.input-md, .select-md, .textarea-md) span {
|
|
89
|
+
font-size: 0.875rem;
|
|
90
|
+
top: calc(var(--size-field, 0.25rem) * 10 / 2);
|
|
91
|
+
}
|
|
92
|
+
&:has(.input-lg, .select-lg, .textarea-lg) span {
|
|
93
|
+
font-size: 1.125rem;
|
|
94
|
+
top: calc(var(--size-field, 0.25rem) * 12 / 2);
|
|
95
|
+
}
|
|
96
|
+
&:has(.input-xl, .select-xl, .textarea-xl) span {
|
|
97
|
+
font-size: 1.375rem;
|
|
98
|
+
top: calc(var(--size-field, 0.25rem) * 14 / 2);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
.link {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
@apply cursor-pointer underline;
|
|
4
|
+
|
|
5
|
+
&:focus {
|
|
6
|
+
@apply outline-hidden;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&:focus-visible {
|
|
10
|
+
outline: 2px solid currentColor;
|
|
11
|
+
outline-offset: 2px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.link-hover {
|
|
17
|
+
@layer daisyui.l1.l2 {
|
|
18
|
+
@apply no-underline hover:underline;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.link-primary {
|
|
23
|
+
@layer daisyui.l1.l2 {
|
|
24
|
+
@apply text-primary;
|
|
25
|
+
|
|
26
|
+
@media (hover: hover) {
|
|
27
|
+
&:hover {
|
|
28
|
+
color: color-mix(in oklab, var(--color-primary) 80%, #000);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.link-secondary {
|
|
35
|
+
@layer daisyui.l1.l2 {
|
|
36
|
+
@apply text-secondary;
|
|
37
|
+
|
|
38
|
+
@media (hover: hover) {
|
|
39
|
+
&:hover {
|
|
40
|
+
color: color-mix(in oklab, var(--color-secondary) 80%, #000);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.link-accent {
|
|
47
|
+
@layer daisyui.l1.l2 {
|
|
48
|
+
@apply text-accent;
|
|
49
|
+
|
|
50
|
+
@media (hover: hover) {
|
|
51
|
+
&:hover {
|
|
52
|
+
color: color-mix(in oklab, var(--color-accent) 80%, #000);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.link-neutral {
|
|
59
|
+
@layer daisyui.l1.l2 {
|
|
60
|
+
@apply text-neutral;
|
|
61
|
+
|
|
62
|
+
@media (hover: hover) {
|
|
63
|
+
&:hover {
|
|
64
|
+
color: color-mix(in oklab, var(--color-neutral) 80%, #000);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.link-success {
|
|
71
|
+
@layer daisyui.l1.l2 {
|
|
72
|
+
@apply text-success;
|
|
73
|
+
|
|
74
|
+
@media (hover: hover) {
|
|
75
|
+
&:hover {
|
|
76
|
+
color: color-mix(in oklab, var(--color-success) 80%, #000);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.link-info {
|
|
83
|
+
@layer daisyui.l1.l2 {
|
|
84
|
+
@apply text-info;
|
|
85
|
+
|
|
86
|
+
@media (hover: hover) {
|
|
87
|
+
&:hover {
|
|
88
|
+
color: color-mix(in oklab, var(--color-info) 80%, #000);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.link-warning {
|
|
95
|
+
@layer daisyui.l1.l2 {
|
|
96
|
+
@apply text-warning;
|
|
97
|
+
|
|
98
|
+
@media (hover: hover) {
|
|
99
|
+
&:hover {
|
|
100
|
+
color: color-mix(in oklab, var(--color-warning) 80%, #000);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.link-error {
|
|
107
|
+
@layer daisyui.l1.l2 {
|
|
108
|
+
@apply text-error;
|
|
109
|
+
|
|
110
|
+
@media (hover: hover) {
|
|
111
|
+
&:hover {
|
|
112
|
+
color: color-mix(in oklab, var(--color-error) 80%, #000);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
.list {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
@apply flex flex-col;
|
|
4
|
+
font-size: 0.875rem;
|
|
5
|
+
|
|
6
|
+
.list-row {
|
|
7
|
+
--list-grid-cols: minmax(0, auto) 1fr;
|
|
8
|
+
@apply rounded-box relative grid grid-flow-col gap-4 p-4;
|
|
9
|
+
word-break: break-word;
|
|
10
|
+
grid-template-columns: var(--list-grid-cols);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
& > :not(:last-child) {
|
|
14
|
+
&.list-row,
|
|
15
|
+
.list-row {
|
|
16
|
+
&:after {
|
|
17
|
+
content: "";
|
|
18
|
+
border-bottom: var(--border) solid;
|
|
19
|
+
inset-inline: var(--radius-box);
|
|
20
|
+
@apply border-base-content/5 absolute bottom-0;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@layer daisyui.l1.l2 {
|
|
27
|
+
.list-row {
|
|
28
|
+
&:has(.list-col-grow:nth-child(1)) {
|
|
29
|
+
--list-grid-cols: 1fr;
|
|
30
|
+
}
|
|
31
|
+
&:has(.list-col-grow:nth-child(2)) {
|
|
32
|
+
--list-grid-cols: minmax(0, auto) 1fr;
|
|
33
|
+
}
|
|
34
|
+
&:has(.list-col-grow:nth-child(3)) {
|
|
35
|
+
--list-grid-cols: minmax(0, auto) minmax(0, auto) 1fr;
|
|
36
|
+
}
|
|
37
|
+
&:has(.list-col-grow:nth-child(4)) {
|
|
38
|
+
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr;
|
|
39
|
+
}
|
|
40
|
+
&:has(.list-col-grow:nth-child(5)) {
|
|
41
|
+
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto) 1fr;
|
|
42
|
+
}
|
|
43
|
+
&:has(.list-col-grow:nth-child(6)) {
|
|
44
|
+
--list-grid-cols: minmax(0, auto) minmax(0, auto) minmax(0, auto) minmax(0, auto)
|
|
45
|
+
minmax(0, auto) 1fr;
|
|
46
|
+
}
|
|
47
|
+
> * {
|
|
48
|
+
@apply row-start-1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.list-col-wrap {
|
|
55
|
+
@layer daisyui.l1 {
|
|
56
|
+
@apply row-start-2;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
.loading {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
@apply pointer-events-none inline-block aspect-square bg-current align-middle;
|
|
4
|
+
width: calc(var(--size-selector, 0.25rem) * 6);
|
|
5
|
+
mask-size: 100%;
|
|
6
|
+
mask-repeat: no-repeat;
|
|
7
|
+
mask-position: center;
|
|
8
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.loading-spinner {
|
|
13
|
+
@layer daisyui.l1.l2 {
|
|
14
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' stroke='black' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform-origin='center'%3E%3Ccircle cx='12' cy='12' r='9.5' fill='none' stroke-width='3' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 12 12' to='360 12 12' dur='2s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dasharray' values='0,150;42,150;42,150' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-dashoffset' values='0;-16;-59' keyTimes='0;0.475;1' dur='1.5s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.loading-dots {
|
|
19
|
+
@layer daisyui.l1.l2 {
|
|
20
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1'/%3E%3C/circle%3E%3Ccircle cx='12' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1' begin='0.1s'/%3E%3C/circle%3E%3Ccircle cx='20' cy='12' r='3'%3E%3Canimate attributeName='cy' values='12;6;12;12' keyTimes='0;0.286;0.571;1' dur='1.05s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1' begin='0.2s'/%3E%3C/circle%3E%3C/svg%3E");
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.loading-ring {
|
|
25
|
+
@layer daisyui.l1.l2 {
|
|
26
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='44' height='44' viewBox='0 0 44 44' xmlns='http://www.w3.org/2000/svg' stroke='white'%3E%3Cg fill='none' fill-rule='evenodd' stroke-width='2'%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='0s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='0s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3Ccircle cx='22' cy='22' r='1'%3E%3Canimate attributeName='r' begin='-0.9s' dur='1.8s' values='1;20' calcMode='spline' keyTimes='0;1' keySplines='0.165,0.84,0.44,1' repeatCount='indefinite'/%3E%3Canimate attributeName='stroke-opacity' begin='-0.9s' dur='1.8s' values='1;0' calcMode='spline' keyTimes='0;1' keySplines='0.3,0.61,0.355,1' repeatCount='indefinite'/%3E%3C/circle%3E%3C/g%3E%3C/svg%3E");
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.loading-ball {
|
|
31
|
+
@layer daisyui.l1.l2 {
|
|
32
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cellipse cx='12' cy='5' rx='4' ry='4'%3E%3Canimate attributeName='cy' values='5;20;20.5;20;5' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite' keySplines='.33,0,.66,.33;.33,.66,.66,1'/%3E%3Canimate attributeName='rx' values='4;4;4.8;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='ry' values='4;4;3;4;4' keyTimes='0;0.469;0.5;0.531;1' dur='.8s' repeatCount='indefinite'/%3E%3C/ellipse%3E%3C/svg%3E");
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.loading-bars {
|
|
37
|
+
@layer daisyui.l1.l2 {
|
|
38
|
+
mask-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite'/%3E%3C/rect%3E%3Crect x='9' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.65s'/%3E%3C/rect%3E%3Crect x='17' y='1' width='6' height='22'%3E%3Canimate attributeName='y' values='1;5;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='height' values='22;14;22' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3Canimate attributeName='opacity' values='1;0.2;1' keyTimes='0;0.938;1' dur='.8s' repeatCount='indefinite' begin='-0.5s'/%3E%3C/rect%3E%3C/svg%3E");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.loading-infinity {
|
|
43
|
+
@layer daisyui.l1.l2 {
|
|
44
|
+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='shape-rendering:auto;' width='200px' height='200px' viewBox='0 0 100 100' preserveAspectRatio='xMidYMid'%3E%3Cpath fill='none' stroke='black' stroke-width='10' stroke-dasharray='205.271 51.318' d='M24.3 30C11.4 30 5 43.3 5 50s6.4 20 19.3 20c19.3 0 32.1-40 51.4-40C88.6 30 95 43.3 95 50s-6.4 20-19.3 20C56.4 70 43.6 30 24.3 30z' stroke-linecap='round' style='transform:scale(0.8);transform-origin:50px 50px'%3E%3Canimate attributeName='stroke-dashoffset' repeatCount='indefinite' dur='2s' keyTimes='0;1' values='0;256.589'/%3E%3C/path%3E%3C/svg%3E");
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.loading-xs {
|
|
49
|
+
@layer daisyui.l1.l2 {
|
|
50
|
+
width: calc(var(--size-selector, 0.25rem) * 4);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.loading-sm {
|
|
55
|
+
@layer daisyui.l1.l2 {
|
|
56
|
+
width: calc(var(--size-selector, 0.25rem) * 5);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.loading-md {
|
|
61
|
+
@layer daisyui.l1.l2 {
|
|
62
|
+
width: calc(var(--size-selector, 0.25rem) * 6);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.loading-lg {
|
|
67
|
+
@layer daisyui.l1.l2 {
|
|
68
|
+
width: calc(var(--size-selector, 0.25rem) * 7);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.loading-xl {
|
|
73
|
+
@layer daisyui.l1.l2 {
|
|
74
|
+
width: calc(var(--size-selector, 0.25rem) * 8);
|
|
75
|
+
}
|
|
76
|
+
}
|