@duskmoon-dev/core 1.18.1 → 1.18.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/README.md +1 -1
- package/dist/cjs/tailwind-plugin.cjs +10 -8
- package/dist/components/alert.css +8 -0
- package/dist/components/chat.css +16 -26
- package/dist/components/chip.css +1 -1
- package/dist/components/collapse.css +1 -1
- package/dist/components/datepicker.css +2 -2
- package/dist/components/form.css +1 -0
- package/dist/components/index.css +49 -41
- package/dist/components/list.css +1 -1
- package/dist/components/multi-select.css +0 -1
- package/dist/components/navigation.css +5 -1
- package/dist/components/nested-menu.css +6 -1
- package/dist/components/stepper.css +2 -2
- package/dist/components/switch.css +4 -4
- package/dist/components/textarea.css +2 -1
- package/dist/esm/components/alert.js +8 -0
- package/dist/esm/components/chat.js +16 -26
- package/dist/esm/components/chip.js +1 -1
- package/dist/esm/components/collapse.js +1 -1
- package/dist/esm/components/datepicker.js +2 -2
- package/dist/esm/components/form.js +1 -0
- package/dist/esm/components/list.js +1 -1
- package/dist/esm/components/multi-select.js +0 -1
- package/dist/esm/components/navigation.js +5 -1
- package/dist/esm/components/nested-menu.js +6 -1
- package/dist/esm/components/stepper.js +2 -2
- package/dist/esm/components/switch.js +4 -4
- package/dist/esm/components/textarea.js +2 -1
- package/dist/esm/tailwind-plugin.js +2 -2
- package/dist/index.css +75 -67
- package/dist/index.min.css +1 -1
- package/dist/themes/generated/sunshine.css +13 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
19
19
|
}
|
|
20
20
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
21
21
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
if (mod && typeof mod === "object" || typeof mod === "function") {
|
|
23
|
+
for (let key of __getOwnPropNames(mod))
|
|
24
|
+
if (!__hasOwnProp.call(to, key))
|
|
25
|
+
__defProp(to, key, {
|
|
26
|
+
get: __accessProp.bind(mod, key),
|
|
27
|
+
enumerable: true
|
|
28
|
+
});
|
|
29
|
+
}
|
|
28
30
|
if (canCache)
|
|
29
31
|
cache.set(mod, to);
|
|
30
32
|
return to;
|
|
@@ -63,8 +65,8 @@ var __export = (target, all) => {
|
|
|
63
65
|
// src/tailwind-plugin.ts
|
|
64
66
|
var exports_tailwind_plugin = {};
|
|
65
67
|
__export(exports_tailwind_plugin, {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
default: () => tailwind_plugin_default,
|
|
69
|
+
duskmoonPlugin: () => duskmoonPlugin
|
|
68
70
|
});
|
|
69
71
|
module.exports = __toCommonJS(exports_tailwind_plugin);
|
|
70
72
|
var import_plugin = __toESM(require("tailwindcss/plugin"));
|
|
@@ -296,6 +296,14 @@
|
|
|
296
296
|
margin-top: 0.5rem;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
+
.alert-filled .alert-actions .btn-text {
|
|
300
|
+
color: inherit;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.alert-filled .alert-actions .btn-text:hover {
|
|
304
|
+
background-color: color-mix(in oklch, currentColor 12%, transparent);
|
|
305
|
+
}
|
|
306
|
+
|
|
299
307
|
/* Banner Style (full width) */
|
|
300
308
|
.alert-banner {
|
|
301
309
|
border-radius: 0;
|
package/dist/components/chat.css
CHANGED
|
@@ -447,28 +447,22 @@
|
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
.chat-start .chat-bubble::before,
|
|
450
|
-
.chat-end .chat-bubble::before
|
|
451
|
-
.chat-start .chat-bubble::after,
|
|
452
|
-
.chat-end .chat-bubble::after {
|
|
450
|
+
.chat-end .chat-bubble::before {
|
|
453
451
|
content: "";
|
|
454
452
|
position: absolute;
|
|
455
453
|
top: 0;
|
|
454
|
+
width: calc(1rem - 2px);
|
|
455
|
+
height: calc(1rem - 2px);
|
|
456
|
+
background-color: var(--chat-bubble-bg);
|
|
456
457
|
clip-path: polygon(0 0, 100% 0, 100% 100%);
|
|
458
|
+
filter:
|
|
459
|
+
drop-shadow(-1px 0 0 var(--color-outline-variant))
|
|
460
|
+
drop-shadow(0 -1px 0 var(--color-outline-variant));
|
|
461
|
+
pointer-events: none;
|
|
457
462
|
}
|
|
458
463
|
|
|
459
464
|
.chat-start .chat-bubble::before {
|
|
460
|
-
left: -0.625rem;
|
|
461
|
-
width: 1rem;
|
|
462
|
-
height: 1rem;
|
|
463
|
-
background-color: var(--color-outline-variant);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
.chat-start .chat-bubble::after {
|
|
467
465
|
left: -0.5rem;
|
|
468
|
-
width: calc(1rem - 2px);
|
|
469
|
-
height: calc(1rem - 2px);
|
|
470
|
-
top: 1px;
|
|
471
|
-
background-color: var(--chat-bubble-bg);
|
|
472
466
|
}
|
|
473
467
|
|
|
474
468
|
.chat-start .chat-bubble {
|
|
@@ -476,19 +470,7 @@
|
|
|
476
470
|
}
|
|
477
471
|
|
|
478
472
|
.chat-end .chat-bubble::before {
|
|
479
|
-
right: -0.625rem;
|
|
480
|
-
width: 1rem;
|
|
481
|
-
height: 1rem;
|
|
482
|
-
background-color: var(--color-outline-variant);
|
|
483
|
-
transform: scaleX(-1);
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
.chat-end .chat-bubble::after {
|
|
487
473
|
right: -0.5rem;
|
|
488
|
-
width: calc(1rem - 2px);
|
|
489
|
-
height: calc(1rem - 2px);
|
|
490
|
-
top: 1px;
|
|
491
|
-
background-color: var(--chat-bubble-bg);
|
|
492
474
|
transform: scaleX(-1);
|
|
493
475
|
}
|
|
494
476
|
|
|
@@ -767,15 +749,23 @@
|
|
|
767
749
|
.chat-bubble-streaming::after,
|
|
768
750
|
.chat-bubble-content.chat-bubble-streaming::after {
|
|
769
751
|
content: "";
|
|
752
|
+
position: static;
|
|
753
|
+
inset: auto;
|
|
770
754
|
display: inline-block;
|
|
771
755
|
width: 1px;
|
|
772
756
|
height: 1em;
|
|
773
757
|
margin-left: 0.25rem;
|
|
774
758
|
background-color: currentColor;
|
|
759
|
+
clip-path: none;
|
|
760
|
+
transform: none;
|
|
775
761
|
vertical-align: -0.125em;
|
|
776
762
|
animation: chat-stream-caret 1s step-end infinite;
|
|
777
763
|
}
|
|
778
764
|
|
|
765
|
+
.chat-bubble.chat-bubble-streaming:not(:has(.chat-reasoning, .chat-tool, .chat-bubble-content)) {
|
|
766
|
+
display: block;
|
|
767
|
+
}
|
|
768
|
+
|
|
779
769
|
.chat-bubble.chat-bubble-streaming:has(.chat-reasoning, .chat-tool, .chat-bubble-content)::after {
|
|
780
770
|
content: none;
|
|
781
771
|
}
|
package/dist/components/chip.css
CHANGED
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
|
|
247
247
|
.datepicker-day-other-month {
|
|
248
248
|
color: var(--color-on-surface-variant);
|
|
249
|
-
opacity: 0.
|
|
249
|
+
opacity: 0.9;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
.datepicker-day-today {
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
|
|
329
329
|
.datepicker-day-disabled {
|
|
330
330
|
color: var(--color-on-surface-variant);
|
|
331
|
-
opacity: 0.
|
|
331
|
+
opacity: 0.9;
|
|
332
332
|
cursor: not-allowed;
|
|
333
333
|
pointer-events: none;
|
|
334
334
|
}
|
package/dist/components/form.css
CHANGED
|
@@ -1681,6 +1681,7 @@
|
|
|
1681
1681
|
border: 1px solid currentColor;
|
|
1682
1682
|
border-radius: var(--radius-sm);
|
|
1683
1683
|
resize: vertical;
|
|
1684
|
+
field-sizing: content;
|
|
1684
1685
|
transition: border-color 150ms ease-in-out;
|
|
1685
1686
|
}
|
|
1686
1687
|
|
|
@@ -1940,6 +1941,10 @@
|
|
|
1940
1941
|
color: var(--color-error-content);
|
|
1941
1942
|
}
|
|
1942
1943
|
|
|
1944
|
+
.navbar a {
|
|
1945
|
+
color: inherit;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1943
1948
|
.navbar-start {
|
|
1944
1949
|
display: flex;
|
|
1945
1950
|
align-items: center;
|
|
@@ -2292,7 +2297,7 @@
|
|
|
2292
2297
|
|
|
2293
2298
|
/* Disabled Breadcrumb Item */
|
|
2294
2299
|
.breadcrumb-item-disabled {
|
|
2295
|
-
opacity:
|
|
2300
|
+
opacity: 1;
|
|
2296
2301
|
pointer-events: none;
|
|
2297
2302
|
cursor: not-allowed;
|
|
2298
2303
|
}
|
|
@@ -3835,28 +3840,22 @@
|
|
|
3835
3840
|
}
|
|
3836
3841
|
|
|
3837
3842
|
.chat-start .chat-bubble::before,
|
|
3838
|
-
.chat-end .chat-bubble::before
|
|
3839
|
-
.chat-start .chat-bubble::after,
|
|
3840
|
-
.chat-end .chat-bubble::after {
|
|
3843
|
+
.chat-end .chat-bubble::before {
|
|
3841
3844
|
content: "";
|
|
3842
3845
|
position: absolute;
|
|
3843
3846
|
top: 0;
|
|
3847
|
+
width: calc(1rem - 2px);
|
|
3848
|
+
height: calc(1rem - 2px);
|
|
3849
|
+
background-color: var(--chat-bubble-bg);
|
|
3844
3850
|
clip-path: polygon(0 0, 100% 0, 100% 100%);
|
|
3851
|
+
filter:
|
|
3852
|
+
drop-shadow(-1px 0 0 var(--color-outline-variant))
|
|
3853
|
+
drop-shadow(0 -1px 0 var(--color-outline-variant));
|
|
3854
|
+
pointer-events: none;
|
|
3845
3855
|
}
|
|
3846
3856
|
|
|
3847
3857
|
.chat-start .chat-bubble::before {
|
|
3848
|
-
left: -0.625rem;
|
|
3849
|
-
width: 1rem;
|
|
3850
|
-
height: 1rem;
|
|
3851
|
-
background-color: var(--color-outline-variant);
|
|
3852
|
-
}
|
|
3853
|
-
|
|
3854
|
-
.chat-start .chat-bubble::after {
|
|
3855
3858
|
left: -0.5rem;
|
|
3856
|
-
width: calc(1rem - 2px);
|
|
3857
|
-
height: calc(1rem - 2px);
|
|
3858
|
-
top: 1px;
|
|
3859
|
-
background-color: var(--chat-bubble-bg);
|
|
3860
3859
|
}
|
|
3861
3860
|
|
|
3862
3861
|
.chat-start .chat-bubble {
|
|
@@ -3864,19 +3863,7 @@
|
|
|
3864
3863
|
}
|
|
3865
3864
|
|
|
3866
3865
|
.chat-end .chat-bubble::before {
|
|
3867
|
-
right: -0.625rem;
|
|
3868
|
-
width: 1rem;
|
|
3869
|
-
height: 1rem;
|
|
3870
|
-
background-color: var(--color-outline-variant);
|
|
3871
|
-
transform: scaleX(-1);
|
|
3872
|
-
}
|
|
3873
|
-
|
|
3874
|
-
.chat-end .chat-bubble::after {
|
|
3875
3866
|
right: -0.5rem;
|
|
3876
|
-
width: calc(1rem - 2px);
|
|
3877
|
-
height: calc(1rem - 2px);
|
|
3878
|
-
top: 1px;
|
|
3879
|
-
background-color: var(--chat-bubble-bg);
|
|
3880
3867
|
transform: scaleX(-1);
|
|
3881
3868
|
}
|
|
3882
3869
|
|
|
@@ -4155,15 +4142,23 @@
|
|
|
4155
4142
|
.chat-bubble-streaming::after,
|
|
4156
4143
|
.chat-bubble-content.chat-bubble-streaming::after {
|
|
4157
4144
|
content: "";
|
|
4145
|
+
position: static;
|
|
4146
|
+
inset: auto;
|
|
4158
4147
|
display: inline-block;
|
|
4159
4148
|
width: 1px;
|
|
4160
4149
|
height: 1em;
|
|
4161
4150
|
margin-left: 0.25rem;
|
|
4162
4151
|
background-color: currentColor;
|
|
4152
|
+
clip-path: none;
|
|
4153
|
+
transform: none;
|
|
4163
4154
|
vertical-align: -0.125em;
|
|
4164
4155
|
animation: chat-stream-caret 1s step-end infinite;
|
|
4165
4156
|
}
|
|
4166
4157
|
|
|
4158
|
+
.chat-bubble.chat-bubble-streaming:not(:has(.chat-reasoning, .chat-tool, .chat-bubble-content)) {
|
|
4159
|
+
display: block;
|
|
4160
|
+
}
|
|
4161
|
+
|
|
4167
4162
|
.chat-bubble.chat-bubble-streaming:has(.chat-reasoning, .chat-tool, .chat-bubble-content)::after {
|
|
4168
4163
|
content: none;
|
|
4169
4164
|
}
|
|
@@ -4620,7 +4615,7 @@
|
|
|
4620
4615
|
/* Disabled State */
|
|
4621
4616
|
.chip:disabled,
|
|
4622
4617
|
.chip-disabled {
|
|
4623
|
-
opacity: 0.
|
|
4618
|
+
opacity: 0.7;
|
|
4624
4619
|
pointer-events: none;
|
|
4625
4620
|
cursor: not-allowed;
|
|
4626
4621
|
}
|
|
@@ -4791,7 +4786,7 @@
|
|
|
4791
4786
|
/* Disabled State */
|
|
4792
4787
|
.list-item:disabled,
|
|
4793
4788
|
.list-item-disabled {
|
|
4794
|
-
opacity: 0.
|
|
4789
|
+
opacity: 0.7;
|
|
4795
4790
|
pointer-events: none;
|
|
4796
4791
|
cursor: not-allowed;
|
|
4797
4792
|
}
|
|
@@ -6394,7 +6389,7 @@
|
|
|
6394
6389
|
|
|
6395
6390
|
.datepicker-day-other-month {
|
|
6396
6391
|
color: var(--color-on-surface-variant);
|
|
6397
|
-
opacity: 0.
|
|
6392
|
+
opacity: 0.9;
|
|
6398
6393
|
}
|
|
6399
6394
|
|
|
6400
6395
|
.datepicker-day-today {
|
|
@@ -6476,7 +6471,7 @@
|
|
|
6476
6471
|
|
|
6477
6472
|
.datepicker-day-disabled {
|
|
6478
6473
|
color: var(--color-on-surface-variant);
|
|
6479
|
-
opacity: 0.
|
|
6474
|
+
opacity: 0.9;
|
|
6480
6475
|
cursor: not-allowed;
|
|
6481
6476
|
pointer-events: none;
|
|
6482
6477
|
}
|
|
@@ -7953,7 +7948,6 @@
|
|
|
7953
7948
|
.multi-select-placeholder {
|
|
7954
7949
|
flex: 1;
|
|
7955
7950
|
color: var(--color-on-surface-variant);
|
|
7956
|
-
opacity: 0.7;
|
|
7957
7951
|
}
|
|
7958
7952
|
|
|
7959
7953
|
/* Selected Tags Container */
|
|
@@ -10429,8 +10423,8 @@
|
|
|
10429
10423
|
border: 2px solid var(--switch-border-color);
|
|
10430
10424
|
border-radius: var(--switch-height);
|
|
10431
10425
|
/* Use !important to override global * { transition } rules from layers */
|
|
10432
|
-
transition: background-color 200ms ease-in-out
|
|
10433
|
-
border-color 200ms ease-in-out
|
|
10426
|
+
transition: background-color 200ms ease-in-out,
|
|
10427
|
+
border-color 200ms ease-in-out,
|
|
10434
10428
|
grid-template-columns 200ms ease-in-out !important;
|
|
10435
10429
|
}
|
|
10436
10430
|
|
|
@@ -10443,8 +10437,8 @@
|
|
|
10443
10437
|
background-color: var(--switch-thumb-color);
|
|
10444
10438
|
border-radius: var(--radius-full);
|
|
10445
10439
|
/* Use !important to override global * { transition } rules */
|
|
10446
|
-
transition: background-color 200ms ease-in-out
|
|
10447
|
-
width 200ms ease-in-out
|
|
10440
|
+
transition: background-color 200ms ease-in-out,
|
|
10441
|
+
width 200ms ease-in-out,
|
|
10448
10442
|
margin 200ms ease-in-out !important;
|
|
10449
10443
|
}
|
|
10450
10444
|
|
|
@@ -10767,6 +10761,7 @@
|
|
|
10767
10761
|
border-radius: var(--radius-sm);
|
|
10768
10762
|
outline: none;
|
|
10769
10763
|
resize: vertical;
|
|
10764
|
+
field-sizing: content;
|
|
10770
10765
|
transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
|
|
10771
10766
|
}
|
|
10772
10767
|
|
|
@@ -10924,7 +10919,7 @@
|
|
|
10924
10919
|
}
|
|
10925
10920
|
|
|
10926
10921
|
/* ============================================
|
|
10927
|
-
* AUTO-RESIZE
|
|
10922
|
+
* COMPACT AUTO-RESIZE
|
|
10928
10923
|
* ============================================ */
|
|
10929
10924
|
|
|
10930
10925
|
.textarea-auto-resize,
|
|
@@ -12815,6 +12810,14 @@
|
|
|
12815
12810
|
margin-top: 0.5rem;
|
|
12816
12811
|
}
|
|
12817
12812
|
|
|
12813
|
+
.alert-filled .alert-actions .btn-text {
|
|
12814
|
+
color: inherit;
|
|
12815
|
+
}
|
|
12816
|
+
|
|
12817
|
+
.alert-filled .alert-actions .btn-text:hover {
|
|
12818
|
+
background-color: color-mix(in oklch, currentColor 12%, transparent);
|
|
12819
|
+
}
|
|
12820
|
+
|
|
12818
12821
|
/* Banner Style (full width) */
|
|
12819
12822
|
.alert-banner {
|
|
12820
12823
|
border-radius: 0;
|
|
@@ -16523,10 +16526,15 @@
|
|
|
16523
16526
|
|
|
16524
16527
|
/* Disabled state */
|
|
16525
16528
|
.nested-menu li.disabled {
|
|
16526
|
-
opacity:
|
|
16529
|
+
opacity: 1 !important;
|
|
16527
16530
|
pointer-events: none;
|
|
16528
16531
|
}
|
|
16529
16532
|
|
|
16533
|
+
.nested-menu li.disabled > a,
|
|
16534
|
+
.nested-menu li.disabled > button {
|
|
16535
|
+
color: var(--color-on-surface-variant);
|
|
16536
|
+
}
|
|
16537
|
+
|
|
16530
16538
|
/* ============================================
|
|
16531
16539
|
* COLLAPSIBLE SUBMENUS (<details>/<summary>)
|
|
16532
16540
|
* ============================================ */
|
|
@@ -16797,7 +16805,7 @@
|
|
|
16797
16805
|
}
|
|
16798
16806
|
|
|
16799
16807
|
.stepper-step-disabled .stepper-step-icon {
|
|
16800
|
-
opacity: 0.
|
|
16808
|
+
opacity: 0.7;
|
|
16801
16809
|
cursor: not-allowed;
|
|
16802
16810
|
}
|
|
16803
16811
|
|
|
@@ -16997,7 +17005,7 @@
|
|
|
16997
17005
|
/* Disabled State */
|
|
16998
17006
|
.stepper-step-disabled .stepper-step-button {
|
|
16999
17007
|
cursor: not-allowed;
|
|
17000
|
-
opacity: 0.
|
|
17008
|
+
opacity: 0.7;
|
|
17001
17009
|
}
|
|
17002
17010
|
|
|
17003
17011
|
/* Icon Stepper */
|
|
@@ -17920,7 +17928,7 @@
|
|
|
17920
17928
|
|
|
17921
17929
|
/* Disabled State */
|
|
17922
17930
|
.collapse-disabled {
|
|
17923
|
-
opacity: 0.
|
|
17931
|
+
opacity: 0.7;
|
|
17924
17932
|
pointer-events: none;
|
|
17925
17933
|
}
|
|
17926
17934
|
|
package/dist/components/list.css
CHANGED
|
@@ -65,6 +65,10 @@
|
|
|
65
65
|
color: var(--color-error-content);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
+
.navbar a {
|
|
69
|
+
color: inherit;
|
|
70
|
+
}
|
|
71
|
+
|
|
68
72
|
.navbar-start {
|
|
69
73
|
display: flex;
|
|
70
74
|
align-items: center;
|
|
@@ -417,7 +421,7 @@
|
|
|
417
421
|
|
|
418
422
|
/* Disabled Breadcrumb Item */
|
|
419
423
|
.breadcrumb-item-disabled {
|
|
420
|
-
opacity:
|
|
424
|
+
opacity: 1;
|
|
421
425
|
pointer-events: none;
|
|
422
426
|
cursor: not-allowed;
|
|
423
427
|
}
|
|
@@ -83,10 +83,15 @@
|
|
|
83
83
|
|
|
84
84
|
/* Disabled state */
|
|
85
85
|
.nested-menu li.disabled {
|
|
86
|
-
opacity:
|
|
86
|
+
opacity: 1 !important;
|
|
87
87
|
pointer-events: none;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
+
.nested-menu li.disabled > a,
|
|
91
|
+
.nested-menu li.disabled > button {
|
|
92
|
+
color: var(--color-on-surface-variant);
|
|
93
|
+
}
|
|
94
|
+
|
|
90
95
|
/* ============================================
|
|
91
96
|
* COLLAPSIBLE SUBMENUS (<details>/<summary>)
|
|
92
97
|
* ============================================ */
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.stepper-step-disabled .stepper-step-icon {
|
|
98
|
-
opacity: 0.
|
|
98
|
+
opacity: 0.7;
|
|
99
99
|
cursor: not-allowed;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
/* Disabled State */
|
|
296
296
|
.stepper-step-disabled .stepper-step-button {
|
|
297
297
|
cursor: not-allowed;
|
|
298
|
-
opacity: 0.
|
|
298
|
+
opacity: 0.7;
|
|
299
299
|
}
|
|
300
300
|
|
|
301
301
|
/* Icon Stepper */
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
border: 2px solid var(--switch-border-color);
|
|
35
35
|
border-radius: var(--switch-height);
|
|
36
36
|
/* Use !important to override global * { transition } rules from layers */
|
|
37
|
-
transition: background-color 200ms ease-in-out
|
|
38
|
-
border-color 200ms ease-in-out
|
|
37
|
+
transition: background-color 200ms ease-in-out,
|
|
38
|
+
border-color 200ms ease-in-out,
|
|
39
39
|
grid-template-columns 200ms ease-in-out !important;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -48,8 +48,8 @@
|
|
|
48
48
|
background-color: var(--switch-thumb-color);
|
|
49
49
|
border-radius: var(--radius-full);
|
|
50
50
|
/* Use !important to override global * { transition } rules */
|
|
51
|
-
transition: background-color 200ms ease-in-out
|
|
52
|
-
width 200ms ease-in-out
|
|
51
|
+
transition: background-color 200ms ease-in-out,
|
|
52
|
+
width 200ms ease-in-out,
|
|
53
53
|
margin 200ms ease-in-out !important;
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -96,6 +96,7 @@
|
|
|
96
96
|
border-radius: var(--radius-sm);
|
|
97
97
|
outline: none;
|
|
98
98
|
resize: vertical;
|
|
99
|
+
field-sizing: content;
|
|
99
100
|
transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
|
|
100
101
|
}
|
|
101
102
|
|
|
@@ -253,7 +254,7 @@
|
|
|
253
254
|
}
|
|
254
255
|
|
|
255
256
|
/* ============================================
|
|
256
|
-
* AUTO-RESIZE
|
|
257
|
+
* COMPACT AUTO-RESIZE
|
|
257
258
|
* ============================================ */
|
|
258
259
|
|
|
259
260
|
.textarea-auto-resize,
|
|
@@ -297,6 +297,14 @@ export const css = `/**
|
|
|
297
297
|
margin-top: 0.5rem;
|
|
298
298
|
}
|
|
299
299
|
|
|
300
|
+
.alert-filled .alert-actions .btn-text {
|
|
301
|
+
color: inherit;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.alert-filled .alert-actions .btn-text:hover {
|
|
305
|
+
background-color: color-mix(in oklch, currentColor 12%, transparent);
|
|
306
|
+
}
|
|
307
|
+
|
|
300
308
|
/* Banner Style (full width) */
|
|
301
309
|
.alert-banner {
|
|
302
310
|
border-radius: 0;
|
|
@@ -448,28 +448,22 @@ export const css = `@layer components {
|
|
|
448
448
|
}
|
|
449
449
|
|
|
450
450
|
.chat-start .chat-bubble::before,
|
|
451
|
-
.chat-end .chat-bubble::before
|
|
452
|
-
.chat-start .chat-bubble::after,
|
|
453
|
-
.chat-end .chat-bubble::after {
|
|
451
|
+
.chat-end .chat-bubble::before {
|
|
454
452
|
content: "";
|
|
455
453
|
position: absolute;
|
|
456
454
|
top: 0;
|
|
455
|
+
width: calc(1rem - 2px);
|
|
456
|
+
height: calc(1rem - 2px);
|
|
457
|
+
background-color: var(--chat-bubble-bg);
|
|
457
458
|
clip-path: polygon(0 0, 100% 0, 100% 100%);
|
|
459
|
+
filter:
|
|
460
|
+
drop-shadow(-1px 0 0 var(--color-outline-variant))
|
|
461
|
+
drop-shadow(0 -1px 0 var(--color-outline-variant));
|
|
462
|
+
pointer-events: none;
|
|
458
463
|
}
|
|
459
464
|
|
|
460
465
|
.chat-start .chat-bubble::before {
|
|
461
|
-
left: -0.625rem;
|
|
462
|
-
width: 1rem;
|
|
463
|
-
height: 1rem;
|
|
464
|
-
background-color: var(--color-outline-variant);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
.chat-start .chat-bubble::after {
|
|
468
466
|
left: -0.5rem;
|
|
469
|
-
width: calc(1rem - 2px);
|
|
470
|
-
height: calc(1rem - 2px);
|
|
471
|
-
top: 1px;
|
|
472
|
-
background-color: var(--chat-bubble-bg);
|
|
473
467
|
}
|
|
474
468
|
|
|
475
469
|
.chat-start .chat-bubble {
|
|
@@ -477,19 +471,7 @@ export const css = `@layer components {
|
|
|
477
471
|
}
|
|
478
472
|
|
|
479
473
|
.chat-end .chat-bubble::before {
|
|
480
|
-
right: -0.625rem;
|
|
481
|
-
width: 1rem;
|
|
482
|
-
height: 1rem;
|
|
483
|
-
background-color: var(--color-outline-variant);
|
|
484
|
-
transform: scaleX(-1);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
.chat-end .chat-bubble::after {
|
|
488
474
|
right: -0.5rem;
|
|
489
|
-
width: calc(1rem - 2px);
|
|
490
|
-
height: calc(1rem - 2px);
|
|
491
|
-
top: 1px;
|
|
492
|
-
background-color: var(--chat-bubble-bg);
|
|
493
475
|
transform: scaleX(-1);
|
|
494
476
|
}
|
|
495
477
|
|
|
@@ -768,15 +750,23 @@ export const css = `@layer components {
|
|
|
768
750
|
.chat-bubble-streaming::after,
|
|
769
751
|
.chat-bubble-content.chat-bubble-streaming::after {
|
|
770
752
|
content: "";
|
|
753
|
+
position: static;
|
|
754
|
+
inset: auto;
|
|
771
755
|
display: inline-block;
|
|
772
756
|
width: 1px;
|
|
773
757
|
height: 1em;
|
|
774
758
|
margin-left: 0.25rem;
|
|
775
759
|
background-color: currentColor;
|
|
760
|
+
clip-path: none;
|
|
761
|
+
transform: none;
|
|
776
762
|
vertical-align: -0.125em;
|
|
777
763
|
animation: chat-stream-caret 1s step-end infinite;
|
|
778
764
|
}
|
|
779
765
|
|
|
766
|
+
.chat-bubble.chat-bubble-streaming:not(:has(.chat-reasoning, .chat-tool, .chat-bubble-content)) {
|
|
767
|
+
display: block;
|
|
768
|
+
}
|
|
769
|
+
|
|
780
770
|
.chat-bubble.chat-bubble-streaming:has(.chat-reasoning, .chat-tool, .chat-bubble-content)::after {
|
|
781
771
|
content: none;
|
|
782
772
|
}
|
|
@@ -247,7 +247,7 @@ export const css = `/**
|
|
|
247
247
|
|
|
248
248
|
.datepicker-day-other-month {
|
|
249
249
|
color: var(--color-on-surface-variant);
|
|
250
|
-
opacity: 0.
|
|
250
|
+
opacity: 0.9;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
.datepicker-day-today {
|
|
@@ -329,7 +329,7 @@ export const css = `/**
|
|
|
329
329
|
|
|
330
330
|
.datepicker-day-disabled {
|
|
331
331
|
color: var(--color-on-surface-variant);
|
|
332
|
-
opacity: 0.
|
|
332
|
+
opacity: 0.9;
|
|
333
333
|
cursor: not-allowed;
|
|
334
334
|
pointer-events: none;
|
|
335
335
|
}
|