@duskmoon-dev/core 1.16.1 → 1.17.1
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/components/alert.css +51 -0
- package/dist/components/appbar.css +69 -0
- package/dist/components/autocomplete.css +21 -0
- package/dist/components/avatar.css +15 -0
- package/dist/components/badge.css +45 -0
- package/dist/components/button.css +123 -0
- package/dist/components/card.css +27 -0
- package/dist/components/cascader.css +21 -0
- package/dist/components/chat.css +436 -0
- package/dist/components/checkbox.css +27 -0
- package/dist/components/chip.css +75 -0
- package/dist/components/circle-menu.css +24 -0
- package/dist/components/collapse.css +31 -1
- package/dist/components/datepicker.css +42 -0
- package/dist/components/divider.css +15 -0
- package/dist/components/file-upload.css +21 -0
- package/dist/components/form.css +83 -0
- package/dist/components/index.css +1677 -75
- package/dist/components/input.css +6 -0
- package/dist/components/multi-select.css +21 -0
- package/dist/components/navigation.css +50 -0
- package/dist/components/otp-input.css +24 -0
- package/dist/components/pin-input.css +24 -0
- package/dist/components/progress.css +12 -0
- package/dist/components/radio.css +12 -0
- package/dist/components/rating.css +18 -0
- package/dist/components/segment-control.css +15 -0
- package/dist/components/select.css +6 -0
- package/dist/components/slider.css +66 -0
- package/dist/components/snackbar.css +15 -0
- package/dist/components/switch.css +18 -0
- package/dist/components/textarea.css +6 -0
- package/dist/components/time-input.css +27 -0
- package/dist/components/toast.css +45 -0
- package/dist/components/toggle.css +27 -0
- package/dist/components/tooltip.css +63 -0
- package/dist/components/tree-select.css +21 -0
- package/dist/esm/components/alert.js +51 -0
- package/dist/esm/components/appbar.js +69 -0
- package/dist/esm/components/autocomplete.js +21 -0
- package/dist/esm/components/avatar.js +15 -0
- package/dist/esm/components/badge.js +45 -0
- package/dist/esm/components/button.js +123 -0
- package/dist/esm/components/card.js +27 -0
- package/dist/esm/components/cascader.js +21 -0
- package/dist/esm/components/chat.js +443 -0
- package/dist/esm/components/checkbox.js +27 -0
- package/dist/esm/components/chip.js +75 -0
- package/dist/esm/components/circle-menu.js +24 -0
- package/dist/esm/components/collapse.js +31 -1
- package/dist/esm/components/datepicker.js +42 -0
- package/dist/esm/components/divider.js +15 -0
- package/dist/esm/components/file-upload.js +21 -0
- package/dist/esm/components/form.js +83 -0
- package/dist/esm/components/input.js +6 -0
- package/dist/esm/components/multi-select.js +21 -0
- package/dist/esm/components/navigation.js +50 -0
- package/dist/esm/components/otp-input.js +24 -0
- package/dist/esm/components/pin-input.js +24 -0
- package/dist/esm/components/progress.js +12 -0
- package/dist/esm/components/radio.js +12 -0
- package/dist/esm/components/rating.js +18 -0
- package/dist/esm/components/segment-control.js +15 -0
- package/dist/esm/components/select.js +6 -0
- package/dist/esm/components/slider.js +66 -0
- package/dist/esm/components/snackbar.js +15 -0
- package/dist/esm/components/switch.js +18 -0
- package/dist/esm/components/textarea.js +6 -0
- package/dist/esm/components/time-input.js +27 -0
- package/dist/esm/components/toast.js +45 -0
- package/dist/esm/components/toggle.js +27 -0
- package/dist/esm/components/tooltip.js +63 -0
- package/dist/esm/components/tree-select.js +21 -0
- package/dist/index.css +1679 -77
- package/dist/index.min.css +1 -1
- package/dist/themes/generated/sunshine.css +1 -1
- package/package.json +6 -1
|
@@ -183,6 +183,21 @@
|
|
|
183
183
|
background-color: var(--color-error);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
+
.divider-accent::before,
|
|
187
|
+
.divider-accent::after {
|
|
188
|
+
background-color: var(--color-accent);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.divider-neutral::before,
|
|
192
|
+
.divider-neutral::after {
|
|
193
|
+
background-color: var(--color-neutral);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.divider-base::before,
|
|
197
|
+
.divider-base::after {
|
|
198
|
+
background-color: var(--color-base-content);
|
|
199
|
+
}
|
|
200
|
+
|
|
186
201
|
/* ── Gradient Lines ─────────────────────────────────────────────── */
|
|
187
202
|
.divider-gradient::before,
|
|
188
203
|
.divider-gradient::after {
|
|
@@ -348,6 +348,27 @@
|
|
|
348
348
|
box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-error) 10%, transparent);
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
+
.file-upload-accent .file-upload-dropzone {
|
|
352
|
+
color: var(--color-accent);
|
|
353
|
+
}
|
|
354
|
+
.file-upload-accent .file-upload-dropzone:focus-within {
|
|
355
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-accent) 10%, transparent);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.file-upload-neutral .file-upload-dropzone {
|
|
359
|
+
color: var(--color-neutral);
|
|
360
|
+
}
|
|
361
|
+
.file-upload-neutral .file-upload-dropzone:focus-within {
|
|
362
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-neutral) 10%, transparent);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.file-upload-base .file-upload-dropzone {
|
|
366
|
+
color: var(--color-base-content);
|
|
367
|
+
}
|
|
368
|
+
.file-upload-base .file-upload-dropzone:focus-within {
|
|
369
|
+
box-shadow: 0 0 0 3px color-mix(in oklch, var(--color-base-content) 10%, transparent);
|
|
370
|
+
}
|
|
371
|
+
|
|
351
372
|
/* Ghost Variant */
|
|
352
373
|
.file-upload-ghost .file-upload-dropzone {
|
|
353
374
|
background-color: transparent;
|
package/dist/components/form.css
CHANGED
|
@@ -114,6 +114,33 @@
|
|
|
114
114
|
border-color: var(--color-error);
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
.checkbox-accent:checked {
|
|
118
|
+
background-color: var(--color-accent);
|
|
119
|
+
border-color: var(--color-accent);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.checkbox-accent:checked::after {
|
|
123
|
+
border-color: var(--color-accent-content);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.checkbox-neutral:checked {
|
|
127
|
+
background-color: var(--color-neutral);
|
|
128
|
+
border-color: var(--color-neutral);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.checkbox-neutral:checked::after {
|
|
132
|
+
border-color: var(--color-neutral-content);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.checkbox-base:checked {
|
|
136
|
+
background-color: var(--color-base-100);
|
|
137
|
+
border-color: var(--color-base-100);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.checkbox-base:checked::after {
|
|
141
|
+
border-color: var(--color-base-content);
|
|
142
|
+
}
|
|
143
|
+
|
|
117
144
|
/* Checkbox Sizes */
|
|
118
145
|
.checkbox-xs {
|
|
119
146
|
width: 0.875rem;
|
|
@@ -230,6 +257,30 @@
|
|
|
230
257
|
background-color: var(--color-error);
|
|
231
258
|
}
|
|
232
259
|
|
|
260
|
+
.radio-accent:checked {
|
|
261
|
+
border-color: var(--color-accent);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.radio-accent:checked::after {
|
|
265
|
+
background-color: var(--color-accent);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.radio-neutral:checked {
|
|
269
|
+
border-color: var(--color-neutral);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
.radio-neutral:checked::after {
|
|
273
|
+
background-color: var(--color-neutral);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
.radio-base:checked {
|
|
277
|
+
border-color: var(--color-base-content);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.radio-base:checked::after {
|
|
281
|
+
background-color: var(--color-base-content);
|
|
282
|
+
}
|
|
283
|
+
|
|
233
284
|
/* Toggle/Switch */
|
|
234
285
|
.toggle {
|
|
235
286
|
appearance: none;
|
|
@@ -357,6 +408,38 @@
|
|
|
357
408
|
border-color: var(--color-secondary);
|
|
358
409
|
}
|
|
359
410
|
|
|
411
|
+
.select-tertiary:focus-visible {
|
|
412
|
+
border-color: var(--color-tertiary);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.select-info:focus-visible {
|
|
416
|
+
border-color: var(--color-info);
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
.select-success:focus-visible {
|
|
420
|
+
border-color: var(--color-success);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.select-warning:focus-visible {
|
|
424
|
+
border-color: var(--color-warning);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.select-error:focus-visible {
|
|
428
|
+
border-color: var(--color-error);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.select-accent:focus-visible {
|
|
432
|
+
border-color: var(--color-accent);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.select-neutral:focus-visible {
|
|
436
|
+
border-color: var(--color-neutral);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.select-base:focus-visible {
|
|
440
|
+
border-color: var(--color-base-content);
|
|
441
|
+
}
|
|
442
|
+
|
|
360
443
|
/* Select Sizes */
|
|
361
444
|
.select-xs {
|
|
362
445
|
padding: 0.375rem 2rem 0.375rem 0.625rem;
|