@webskill/chatbot 0.4.0 → 0.6.0
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/chatbot.css +232 -25
- package/dist/index.d.ts +97 -67
- package/dist/index.js +2304 -2793
- package/package.json +2 -2
package/dist/chatbot.css
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
--font-weight-semibold: 600;
|
|
28
28
|
--tracking-normal: 0em;
|
|
29
29
|
--tracking-wide: 0.025em;
|
|
30
|
+
--radius-xl: 0.75rem;
|
|
30
31
|
--animate-spin: spin 1s linear infinite;
|
|
31
32
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
32
33
|
--aspect-video: 16 / 9;
|
|
@@ -43,6 +44,7 @@
|
|
|
43
44
|
--color-secondary: var(--secondary);
|
|
44
45
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
45
46
|
--color-muted: var(--muted-foreground);
|
|
47
|
+
--color-accent: var(--accent);
|
|
46
48
|
--color-border: var(--border);
|
|
47
49
|
--color-input: var(--input);
|
|
48
50
|
--color-ring: var(--ring);
|
|
@@ -289,8 +291,8 @@
|
|
|
289
291
|
.right-full {
|
|
290
292
|
right: 100%;
|
|
291
293
|
}
|
|
292
|
-
.-bottom-
|
|
293
|
-
bottom: calc(var(--spacing) * -
|
|
294
|
+
.-bottom-9 {
|
|
295
|
+
bottom: calc(var(--spacing) * -9);
|
|
294
296
|
}
|
|
295
297
|
.bottom-4 {
|
|
296
298
|
bottom: calc(var(--spacing) * 4);
|
|
@@ -310,11 +312,29 @@
|
|
|
310
312
|
.left-full {
|
|
311
313
|
left: 100%;
|
|
312
314
|
}
|
|
313
|
-
.z-
|
|
314
|
-
z-index:
|
|
315
|
+
.z-\[var\(--webskill-z-dialog\)\] {
|
|
316
|
+
z-index: var(--webskill-z-dialog);
|
|
315
317
|
}
|
|
316
|
-
.z-
|
|
317
|
-
z-index:
|
|
318
|
+
.z-\[var\(--webskill-z-overlay\)\] {
|
|
319
|
+
z-index: var(--webskill-z-overlay);
|
|
320
|
+
}
|
|
321
|
+
.z-\[var\(--webskill-z-popper\)\] {
|
|
322
|
+
z-index: var(--webskill-z-popper);
|
|
323
|
+
}
|
|
324
|
+
.z-\[var\(--webskill-z-raised\)\] {
|
|
325
|
+
z-index: var(--webskill-z-raised);
|
|
326
|
+
}
|
|
327
|
+
.z-\[var\(--webskill-z-scrim\)\] {
|
|
328
|
+
z-index: var(--webskill-z-scrim);
|
|
329
|
+
}
|
|
330
|
+
.z-\[var\(--webskill-z-sheet\)\] {
|
|
331
|
+
z-index: var(--webskill-z-sheet);
|
|
332
|
+
}
|
|
333
|
+
.z-\[var\(--webskill-z-toast\)\] {
|
|
334
|
+
z-index: var(--webskill-z-toast);
|
|
335
|
+
}
|
|
336
|
+
.z-\[var\(--webskill-z-tooltip\)\] {
|
|
337
|
+
z-index: var(--webskill-z-tooltip);
|
|
318
338
|
}
|
|
319
339
|
.container {
|
|
320
340
|
width: 100%;
|
|
@@ -364,9 +384,6 @@
|
|
|
364
384
|
.ms-auto {
|
|
365
385
|
margin-inline-start: auto;
|
|
366
386
|
}
|
|
367
|
-
.-mt-2 {
|
|
368
|
-
margin-top: calc(var(--spacing) * -2);
|
|
369
|
-
}
|
|
370
387
|
.mt-0\.5 {
|
|
371
388
|
margin-top: calc(var(--spacing) * 0.5);
|
|
372
389
|
}
|
|
@@ -385,8 +402,8 @@
|
|
|
385
402
|
.mb-2 {
|
|
386
403
|
margin-bottom: calc(var(--spacing) * 2);
|
|
387
404
|
}
|
|
388
|
-
.mb-
|
|
389
|
-
margin-bottom: calc(var(--spacing) *
|
|
405
|
+
.mb-9 {
|
|
406
|
+
margin-bottom: calc(var(--spacing) * 9);
|
|
390
407
|
}
|
|
391
408
|
.block {
|
|
392
409
|
display: block;
|
|
@@ -513,12 +530,18 @@
|
|
|
513
530
|
.min-h-0 {
|
|
514
531
|
min-height: 0px;
|
|
515
532
|
}
|
|
533
|
+
.min-h-8 {
|
|
534
|
+
min-height: calc(var(--spacing) * 8);
|
|
535
|
+
}
|
|
516
536
|
.min-h-16 {
|
|
517
537
|
min-height: calc(var(--spacing) * 16);
|
|
518
538
|
}
|
|
519
539
|
.min-h-20 {
|
|
520
540
|
min-height: calc(var(--spacing) * 20);
|
|
521
541
|
}
|
|
542
|
+
.min-h-40 {
|
|
543
|
+
min-height: calc(var(--spacing) * 40);
|
|
544
|
+
}
|
|
522
545
|
.min-h-48 {
|
|
523
546
|
min-height: calc(var(--spacing) * 48);
|
|
524
547
|
}
|
|
@@ -552,6 +575,9 @@
|
|
|
552
575
|
.w-72 {
|
|
553
576
|
width: calc(var(--spacing) * 72);
|
|
554
577
|
}
|
|
578
|
+
.w-\[80\%\] {
|
|
579
|
+
width: 80%;
|
|
580
|
+
}
|
|
555
581
|
.w-\[min\(36rem\,calc\(100vw-2rem\)\)\] {
|
|
556
582
|
width: min(36rem, calc(100vw - 2rem));
|
|
557
583
|
}
|
|
@@ -615,6 +641,9 @@
|
|
|
615
641
|
.flex-1 {
|
|
616
642
|
flex: 1;
|
|
617
643
|
}
|
|
644
|
+
.shrink {
|
|
645
|
+
flex-shrink: 1;
|
|
646
|
+
}
|
|
618
647
|
.shrink-0 {
|
|
619
648
|
flex-shrink: 0;
|
|
620
649
|
}
|
|
@@ -692,8 +721,8 @@
|
|
|
692
721
|
.grid-cols-1 {
|
|
693
722
|
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
694
723
|
}
|
|
695
|
-
.grid-cols
|
|
696
|
-
grid-template-columns:
|
|
724
|
+
.grid-cols-\[auto_auto_auto\] {
|
|
725
|
+
grid-template-columns: auto auto auto;
|
|
697
726
|
}
|
|
698
727
|
.flex-col {
|
|
699
728
|
flex-direction: column;
|
|
@@ -710,6 +739,9 @@
|
|
|
710
739
|
.items-center {
|
|
711
740
|
align-items: center;
|
|
712
741
|
}
|
|
742
|
+
.items-end {
|
|
743
|
+
align-items: flex-end;
|
|
744
|
+
}
|
|
713
745
|
.items-start {
|
|
714
746
|
align-items: flex-start;
|
|
715
747
|
}
|
|
@@ -737,6 +769,9 @@
|
|
|
737
769
|
.gap-2 {
|
|
738
770
|
gap: calc(var(--spacing) * 2);
|
|
739
771
|
}
|
|
772
|
+
.gap-2\.5 {
|
|
773
|
+
gap: calc(var(--spacing) * 2.5);
|
|
774
|
+
}
|
|
740
775
|
.gap-3 {
|
|
741
776
|
gap: calc(var(--spacing) * 3);
|
|
742
777
|
}
|
|
@@ -811,6 +846,9 @@
|
|
|
811
846
|
.rounded-sm {
|
|
812
847
|
border-radius: calc(var(--radius) - 4px);
|
|
813
848
|
}
|
|
849
|
+
.rounded-xl {
|
|
850
|
+
border-radius: var(--radius-xl);
|
|
851
|
+
}
|
|
814
852
|
.rounded-t-lg {
|
|
815
853
|
border-top-left-radius: 1rem;
|
|
816
854
|
border-top-right-radius: 1rem;
|
|
@@ -866,6 +904,12 @@
|
|
|
866
904
|
.border-border {
|
|
867
905
|
border-color: var(--border);
|
|
868
906
|
}
|
|
907
|
+
.border-border\/80 {
|
|
908
|
+
border-color: var(--border);
|
|
909
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
910
|
+
border-color: color-mix(in oklab, var(--border) 80%, transparent);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
869
913
|
.border-danger\/30 {
|
|
870
914
|
border-color: var(--destructive);
|
|
871
915
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -917,6 +961,12 @@
|
|
|
917
961
|
.bg-canvas {
|
|
918
962
|
background-color: var(--background);
|
|
919
963
|
}
|
|
964
|
+
.bg-canvas\/50 {
|
|
965
|
+
background-color: var(--background);
|
|
966
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
967
|
+
background-color: color-mix(in oklab, var(--background) 50%, transparent);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
920
970
|
.bg-card {
|
|
921
971
|
background-color: var(--card);
|
|
922
972
|
}
|
|
@@ -1161,9 +1211,6 @@
|
|
|
1161
1211
|
font-size: var(--text-xs);
|
|
1162
1212
|
line-height: var(--tw-leading, var(--text-xs--line-height));
|
|
1163
1213
|
}
|
|
1164
|
-
.text-\[0\.85em\] {
|
|
1165
|
-
font-size: 0.85em;
|
|
1166
|
-
}
|
|
1167
1214
|
.leading-6 {
|
|
1168
1215
|
--tw-leading: calc(var(--spacing) * 6);
|
|
1169
1216
|
line-height: calc(var(--spacing) * 6);
|
|
@@ -1194,6 +1241,9 @@
|
|
|
1194
1241
|
.whitespace-nowrap {
|
|
1195
1242
|
white-space: nowrap;
|
|
1196
1243
|
}
|
|
1244
|
+
.whitespace-pre {
|
|
1245
|
+
white-space: pre;
|
|
1246
|
+
}
|
|
1197
1247
|
.whitespace-pre-wrap {
|
|
1198
1248
|
white-space: pre-wrap;
|
|
1199
1249
|
}
|
|
@@ -1221,9 +1271,6 @@
|
|
|
1221
1271
|
.text-ink {
|
|
1222
1272
|
color: var(--foreground);
|
|
1223
1273
|
}
|
|
1224
|
-
.text-input {
|
|
1225
|
-
color: var(--input);
|
|
1226
|
-
}
|
|
1227
1274
|
.text-muted {
|
|
1228
1275
|
color: var(--muted-foreground);
|
|
1229
1276
|
}
|
|
@@ -1254,6 +1301,9 @@
|
|
|
1254
1301
|
.uppercase {
|
|
1255
1302
|
text-transform: uppercase;
|
|
1256
1303
|
}
|
|
1304
|
+
.italic {
|
|
1305
|
+
font-style: italic;
|
|
1306
|
+
}
|
|
1257
1307
|
.tabular-nums {
|
|
1258
1308
|
--tw-numeric-spacing: tabular-nums;
|
|
1259
1309
|
font-variant-numeric: var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,);
|
|
@@ -1609,15 +1659,35 @@
|
|
|
1609
1659
|
.disabled\:opacity-60:disabled {
|
|
1610
1660
|
opacity: 60%;
|
|
1611
1661
|
}
|
|
1662
|
+
@media (hover: hover) {
|
|
1663
|
+
.disabled\:hover\:bg-transparent:disabled:hover {
|
|
1664
|
+
background-color: transparent;
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
.has-disabled\:cursor-not-allowed:has(:disabled) {
|
|
1668
|
+
cursor: not-allowed;
|
|
1669
|
+
}
|
|
1670
|
+
.has-disabled\:opacity-50:has(:disabled) {
|
|
1671
|
+
opacity: 50%;
|
|
1672
|
+
}
|
|
1612
1673
|
.has-\[\[aria-expanded\=true\]\]\:opacity-100:has(:is([aria-expanded=true])) {
|
|
1613
1674
|
opacity: 100%;
|
|
1614
1675
|
}
|
|
1615
1676
|
.aria-disabled\:pointer-events-none[aria-disabled="true"] {
|
|
1616
1677
|
pointer-events: none;
|
|
1617
1678
|
}
|
|
1679
|
+
.aria-disabled\:cursor-not-allowed[aria-disabled="true"] {
|
|
1680
|
+
cursor: not-allowed;
|
|
1681
|
+
}
|
|
1618
1682
|
.aria-disabled\:opacity-50[aria-disabled="true"] {
|
|
1619
1683
|
opacity: 50%;
|
|
1620
1684
|
}
|
|
1685
|
+
.data-dragging\:border-ring[data-dragging] {
|
|
1686
|
+
border-color: var(--ring);
|
|
1687
|
+
}
|
|
1688
|
+
.data-dragging\:bg-subtle[data-dragging] {
|
|
1689
|
+
background-color: var(--accent);
|
|
1690
|
+
}
|
|
1621
1691
|
.data-\[active\=true\]\:bg-sidebar-accent[data-active="true"] {
|
|
1622
1692
|
background-color: var(--sidebar-accent);
|
|
1623
1693
|
}
|
|
@@ -1646,6 +1716,15 @@
|
|
|
1646
1716
|
.data-\[highlighted\]\:bg-subtle[data-highlighted] {
|
|
1647
1717
|
background-color: var(--accent);
|
|
1648
1718
|
}
|
|
1719
|
+
.data-\[orientation\=horizontal\]\:flex-row[data-orientation="horizontal"] {
|
|
1720
|
+
flex-direction: row;
|
|
1721
|
+
}
|
|
1722
|
+
.data-\[orientation\=horizontal\]\:items-center[data-orientation="horizontal"] {
|
|
1723
|
+
align-items: center;
|
|
1724
|
+
}
|
|
1725
|
+
.data-\[orientation\=vertical\]\:flex-col[data-orientation="vertical"] {
|
|
1726
|
+
flex-direction: column;
|
|
1727
|
+
}
|
|
1649
1728
|
.data-\[selected\=true\]\:bg-subtle[data-selected="true"] {
|
|
1650
1729
|
background-color: var(--accent);
|
|
1651
1730
|
}
|
|
@@ -1687,6 +1766,31 @@
|
|
|
1687
1766
|
color: var(--sidebar-accent-foreground);
|
|
1688
1767
|
}
|
|
1689
1768
|
}
|
|
1769
|
+
@media (width < 40rem) {
|
|
1770
|
+
.max-sm\:top-0 {
|
|
1771
|
+
top: 0px;
|
|
1772
|
+
}
|
|
1773
|
+
.max-sm\:left-0 {
|
|
1774
|
+
left: 0px;
|
|
1775
|
+
}
|
|
1776
|
+
.max-sm\:h-dvh {
|
|
1777
|
+
height: 100dvh;
|
|
1778
|
+
}
|
|
1779
|
+
.max-sm\:max-h-dvh {
|
|
1780
|
+
max-height: 100dvh;
|
|
1781
|
+
}
|
|
1782
|
+
.max-sm\:translate-x-0 {
|
|
1783
|
+
--tw-translate-x: 0px;
|
|
1784
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1785
|
+
}
|
|
1786
|
+
.max-sm\:translate-y-0 {
|
|
1787
|
+
--tw-translate-y: 0px;
|
|
1788
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1789
|
+
}
|
|
1790
|
+
.max-sm\:rounded-none {
|
|
1791
|
+
border-radius: 0;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1690
1794
|
@media (width >= 40rem) {
|
|
1691
1795
|
.sm\:block {
|
|
1692
1796
|
display: block;
|
|
@@ -1952,6 +2056,37 @@
|
|
|
1952
2056
|
--brand: oklch(0.55 0.16 275);
|
|
1953
2057
|
--brand-foreground: oklch(0.985 0 0);
|
|
1954
2058
|
--text-min: 0.75rem;
|
|
2059
|
+
--text-code: 0.8125rem;
|
|
2060
|
+
--code-base: hsl(230, 8%, 24%);
|
|
2061
|
+
--code-comment: hsl(230, 4%, 64%);
|
|
2062
|
+
--code-prolog: hsl(230, 4%, 64%);
|
|
2063
|
+
--code-cdata: hsl(230, 4%, 64%);
|
|
2064
|
+
--code-doctype: hsl(230, 8%, 24%);
|
|
2065
|
+
--code-punctuation: hsl(230, 8%, 24%);
|
|
2066
|
+
--code-entity: hsl(230, 8%, 24%);
|
|
2067
|
+
--code-attr-name: hsl(35, 99%, 36%);
|
|
2068
|
+
--code-class-name: hsl(35, 99%, 36%);
|
|
2069
|
+
--code-boolean: hsl(35, 99%, 36%);
|
|
2070
|
+
--code-constant: hsl(35, 99%, 36%);
|
|
2071
|
+
--code-number: hsl(35, 99%, 36%);
|
|
2072
|
+
--code-atrule: hsl(35, 99%, 36%);
|
|
2073
|
+
--code-keyword: hsl(301, 63%, 40%);
|
|
2074
|
+
--code-property: hsl(5, 74%, 59%);
|
|
2075
|
+
--code-tag: hsl(5, 74%, 59%);
|
|
2076
|
+
--code-symbol: hsl(5, 74%, 59%);
|
|
2077
|
+
--code-deleted: hsl(5, 74%, 59%);
|
|
2078
|
+
--code-important: hsl(5, 74%, 59%);
|
|
2079
|
+
--code-selector: hsl(119, 34%, 47%);
|
|
2080
|
+
--code-string: hsl(119, 34%, 47%);
|
|
2081
|
+
--code-char: hsl(119, 34%, 47%);
|
|
2082
|
+
--code-builtin: hsl(119, 34%, 47%);
|
|
2083
|
+
--code-inserted: hsl(119, 34%, 47%);
|
|
2084
|
+
--code-regex: hsl(119, 34%, 47%);
|
|
2085
|
+
--code-attr-value: hsl(119, 34%, 47%);
|
|
2086
|
+
--code-variable: hsl(221, 87%, 60%);
|
|
2087
|
+
--code-operator: hsl(221, 87%, 60%);
|
|
2088
|
+
--code-function: hsl(221, 87%, 60%);
|
|
2089
|
+
--code-url: hsl(198, 99%, 37%);
|
|
1955
2090
|
}
|
|
1956
2091
|
:where(.dark, [data-theme='dark']) {
|
|
1957
2092
|
--background: oklch(0.145 0 0);
|
|
@@ -2005,6 +2140,36 @@
|
|
|
2005
2140
|
--sidebar-ring: oklch(0.556 0 0);
|
|
2006
2141
|
--brand: oklch(0.68 0.14 275);
|
|
2007
2142
|
--brand-foreground: oklch(0.205 0 0);
|
|
2143
|
+
--code-base: hsl(220, 14%, 71%);
|
|
2144
|
+
--code-comment: hsl(220, 10%, 40%);
|
|
2145
|
+
--code-prolog: hsl(220, 10%, 40%);
|
|
2146
|
+
--code-cdata: hsl(220, 10%, 40%);
|
|
2147
|
+
--code-doctype: hsl(220, 14%, 71%);
|
|
2148
|
+
--code-punctuation: hsl(220, 14%, 71%);
|
|
2149
|
+
--code-entity: hsl(220, 14%, 71%);
|
|
2150
|
+
--code-attr-name: hsl(29, 54%, 61%);
|
|
2151
|
+
--code-class-name: hsl(29, 54%, 61%);
|
|
2152
|
+
--code-boolean: hsl(29, 54%, 61%);
|
|
2153
|
+
--code-constant: hsl(29, 54%, 61%);
|
|
2154
|
+
--code-number: hsl(29, 54%, 61%);
|
|
2155
|
+
--code-atrule: hsl(29, 54%, 61%);
|
|
2156
|
+
--code-keyword: hsl(286, 60%, 67%);
|
|
2157
|
+
--code-property: hsl(355, 65%, 65%);
|
|
2158
|
+
--code-tag: hsl(355, 65%, 65%);
|
|
2159
|
+
--code-symbol: hsl(355, 65%, 65%);
|
|
2160
|
+
--code-deleted: hsl(355, 65%, 65%);
|
|
2161
|
+
--code-important: hsl(355, 65%, 65%);
|
|
2162
|
+
--code-selector: hsl(95, 38%, 62%);
|
|
2163
|
+
--code-string: hsl(95, 38%, 62%);
|
|
2164
|
+
--code-char: hsl(95, 38%, 62%);
|
|
2165
|
+
--code-builtin: hsl(95, 38%, 62%);
|
|
2166
|
+
--code-inserted: hsl(95, 38%, 62%);
|
|
2167
|
+
--code-regex: hsl(95, 38%, 62%);
|
|
2168
|
+
--code-attr-value: hsl(95, 38%, 62%);
|
|
2169
|
+
--code-variable: hsl(207, 82%, 66%);
|
|
2170
|
+
--code-operator: hsl(207, 82%, 66%);
|
|
2171
|
+
--code-function: hsl(207, 82%, 66%);
|
|
2172
|
+
--code-url: hsl(187, 47%, 55%);
|
|
2008
2173
|
}
|
|
2009
2174
|
@layer base {
|
|
2010
2175
|
*, ::before, ::after {
|
|
@@ -2075,6 +2240,18 @@
|
|
|
2075
2240
|
[data-webskill-theme='dark'] {
|
|
2076
2241
|
color-scheme: dark;
|
|
2077
2242
|
}
|
|
2243
|
+
:root {
|
|
2244
|
+
--webskill-z-content: 0;
|
|
2245
|
+
--webskill-z-sticky: 10;
|
|
2246
|
+
--webskill-z-raised: 20;
|
|
2247
|
+
--webskill-z-overlay: 1000;
|
|
2248
|
+
--webskill-z-scrim: 10;
|
|
2249
|
+
--webskill-z-sheet: 20;
|
|
2250
|
+
--webskill-z-dialog: 30;
|
|
2251
|
+
--webskill-z-popper: 40;
|
|
2252
|
+
--webskill-z-tooltip: 50;
|
|
2253
|
+
--webskill-z-toast: 60;
|
|
2254
|
+
}
|
|
2078
2255
|
@layer components {
|
|
2079
2256
|
.webskill-sheet-content {
|
|
2080
2257
|
width: var(--webskill-sheet-width, min(22rem, calc(100vw - 2rem)));
|
|
@@ -2082,6 +2259,11 @@
|
|
|
2082
2259
|
.webskill-dialog-content {
|
|
2083
2260
|
width: var(--webskill-dialog-width, min(100% - 2rem, 32rem));
|
|
2084
2261
|
}
|
|
2262
|
+
@media (width < 40rem) {
|
|
2263
|
+
.webskill-dialog-content {
|
|
2264
|
+
width: 100%;
|
|
2265
|
+
}
|
|
2266
|
+
}
|
|
2085
2267
|
.webskill-toast-root {
|
|
2086
2268
|
width: 100%;
|
|
2087
2269
|
max-width: var(--webskill-toast-width, 24rem);
|
|
@@ -2098,6 +2280,26 @@
|
|
|
2098
2280
|
min-width: 10rem;
|
|
2099
2281
|
}
|
|
2100
2282
|
}
|
|
2283
|
+
.webskill-record-highlight {
|
|
2284
|
+
animation: webskill-record-highlight 1.6s ease-out 1;
|
|
2285
|
+
}
|
|
2286
|
+
@keyframes webskill-record-highlight {
|
|
2287
|
+
0%, 40% {
|
|
2288
|
+
background-color: color-mix(in oklab, var(--color-accent) 18%, transparent);
|
|
2289
|
+
}
|
|
2290
|
+
100% {
|
|
2291
|
+
background-color: transparent;
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2295
|
+
.webskill-record-highlight {
|
|
2296
|
+
animation-duration: 1ms;
|
|
2297
|
+
background-color: var(--color-accent);
|
|
2298
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2299
|
+
background-color: color-mix(in oklab, var(--color-accent) 18%, transparent);
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2101
2303
|
.webskill-surface-list {
|
|
2102
2304
|
display: flex;
|
|
2103
2305
|
flex-direction: column;
|
|
@@ -2178,18 +2380,27 @@
|
|
|
2178
2380
|
border-inline: 0;
|
|
2179
2381
|
border-radius: 0;
|
|
2180
2382
|
}
|
|
2383
|
+
[data-webskill-data-table] {
|
|
2384
|
+
container-type: inline-size;
|
|
2385
|
+
container-name: webskill-table;
|
|
2386
|
+
}
|
|
2387
|
+
@container webskill-table (width < 30rem) {
|
|
2388
|
+
.webskill-surface__table-header th, .webskill-surface__table-body td {
|
|
2389
|
+
--webskill-table-min-col: 5rem;
|
|
2390
|
+
}
|
|
2391
|
+
}
|
|
2181
2392
|
.webskill-surface__table-scroll table {
|
|
2182
2393
|
width: max-content;
|
|
2183
2394
|
min-width: 100%;
|
|
2184
2395
|
}
|
|
2185
2396
|
.webskill-surface__table-header {
|
|
2186
2397
|
position: sticky;
|
|
2187
|
-
z-index:
|
|
2398
|
+
z-index: var(--webskill-z-sticky);
|
|
2188
2399
|
top: 0;
|
|
2189
2400
|
background: var(--color-subtle);
|
|
2190
2401
|
}
|
|
2191
2402
|
.webskill-surface__table-header th, .webskill-surface__table-body td {
|
|
2192
|
-
min-width: 8rem;
|
|
2403
|
+
min-width: var(--webskill-table-min-col, 8rem);
|
|
2193
2404
|
border-inline-end: 1px solid var(--color-border);
|
|
2194
2405
|
border-bottom: 1px solid var(--color-border);
|
|
2195
2406
|
padding: 0.625rem 0.75rem;
|
|
@@ -2308,10 +2519,6 @@
|
|
|
2308
2519
|
opacity: 1;
|
|
2309
2520
|
}
|
|
2310
2521
|
.webskill-aui-composer {
|
|
2311
|
-
border-top: 1px solid var(--color-border);
|
|
2312
|
-
background: var(--color-card);
|
|
2313
|
-
}
|
|
2314
|
-
.webskill-aui-composer[data-centered='true'] {
|
|
2315
2522
|
border-top: 0;
|
|
2316
2523
|
background: transparent;
|
|
2317
2524
|
}
|