@sia.soul/sia-react-ui 0.1.142 → 0.1.144

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.
Files changed (47) hide show
  1. package/dist/{Button-BiL3Wjsd.d.ts → Button-C8W8ZHWV.d.ts} +1 -1
  2. package/dist/{Button-O_pNB3SQ.d.cts → Button-CxKBjLda.d.cts} +1 -1
  3. package/dist/{Select-DeD4O8FL.d.ts → Select-CTSd8zum.d.ts} +14 -10
  4. package/dist/{Select-Y0e9kaxE.d.cts → Select-bKLket9n.d.cts} +14 -10
  5. package/dist/chart.cjs +1051 -335
  6. package/dist/chart.js +5 -5
  7. package/dist/chunk-4OHS7RXE.js +1004 -0
  8. package/dist/{chunk-WIRIEIRO.js → chunk-4TYHSAR3.js} +5 -5
  9. package/dist/{chunk-TUGCP3GB.js → chunk-566S64IP.js} +5 -5
  10. package/dist/{chunk-CZ2ITBRW.js → chunk-7SEGBB6V.js} +34 -5
  11. package/dist/{chunk-KY6A5IJH.js → chunk-ETQJ2DQ2.js} +1 -1
  12. package/dist/{chunk-WD56MJO2.js → chunk-F52O2MOV.js} +7 -3
  13. package/dist/{chunk-PQBCD54U.js → chunk-JRXYM5YH.js} +167 -64
  14. package/dist/{chunk-SCEHVGKV.js → chunk-LKLPCYEP.js} +2 -2
  15. package/dist/{chunk-3KYG7IU7.js → chunk-MD4CGSOR.js} +105 -61
  16. package/dist/{chunk-PGP4TEPP.js → chunk-ORSQAJ22.js} +154 -494
  17. package/dist/{chunk-SO7IJZIR.js → chunk-PD3K5U5Y.js} +2 -2
  18. package/dist/{chunk-UVHC6OEX.js → chunk-WCYVBO2N.js} +342 -123
  19. package/dist/{core-DYo5C4Si.d.cts → core-COaZfusa.d.cts} +51 -24
  20. package/dist/{core-sWwvVAmP.d.ts → core-CvfsQGuT.d.ts} +51 -24
  21. package/dist/core.cjs +1996 -1250
  22. package/dist/core.css +413 -344
  23. package/dist/core.d.cts +3 -3
  24. package/dist/core.d.ts +3 -3
  25. package/dist/core.js +18 -9
  26. package/dist/game.cjs +1984 -1169
  27. package/dist/game.css +182 -177
  28. package/dist/game.d.cts +1 -1
  29. package/dist/game.d.ts +1 -1
  30. package/dist/game.js +8 -3
  31. package/dist/index.cjs +4660 -3541
  32. package/dist/index.css +413 -344
  33. package/dist/index.d.cts +78 -81
  34. package/dist/index.d.ts +78 -81
  35. package/dist/index.js +1083 -715
  36. package/dist/markdown-editor.cjs +727 -40
  37. package/dist/markdown-editor.js +8 -3
  38. package/dist/rich-text-editor.cjs +1265 -308
  39. package/dist/rich-text-editor.js +12 -7
  40. package/dist/{select-date-range-X6a9Y-Te.d.ts → select-date-range-C8cacfmb.d.ts} +1 -1
  41. package/dist/{select-date-range-DiBQQ0Rn.d.cts → select-date-range-Dad0IdD4.d.cts} +1 -1
  42. package/dist/select-date-range.cjs +1277 -806
  43. package/dist/select-date-range.d.cts +3 -3
  44. package/dist/select-date-range.d.ts +3 -3
  45. package/dist/select-date-range.js +13 -8
  46. package/package.json +9 -2
  47. package/dist/chunk-NZMUW5XI.js +0 -292
package/dist/index.css CHANGED
@@ -37,13 +37,14 @@
37
37
  .sia-placeholder-floating--filled > .sia-floating-placeholder,
38
38
  .sia-placeholder-floating--active > .sia-floating-placeholder {
39
39
  top: 0;
40
+ color: var(--sia-floating-label-color, var(--sia-color-text-secondary));
40
41
  background: var(--sia-color-surface);
41
42
  opacity: 1;
42
43
  transform: translateY(-50%) scale(.85);
43
44
  }
44
45
  .sia-placeholder-floating:focus-within > .sia-floating-placeholder,
45
46
  .sia-placeholder-floating--active > .sia-floating-placeholder {
46
- color: var(--sia-color-primary);
47
+ color: var(--sia-color-primary-text);
47
48
  }
48
49
  .sia-placeholder-floating.sia-time-picker > input::placeholder,
49
50
  .sia-placeholder-floating > input::placeholder,
@@ -59,7 +60,7 @@
59
60
  .sia-placeholder-floating.is-disabled > .sia-floating-placeholder,
60
61
  .sia-placeholder-floating:disabled > .sia-floating-placeholder,
61
62
  fieldset:disabled .sia-placeholder-floating > .sia-floating-placeholder {
62
- background: var(--sia-color-control-hover);
63
+ background: var(--sia-color-control-disabled);
63
64
  }
64
65
  .sia-form-item--error .sia-placeholder-floating > .sia-floating-placeholder,
65
66
  .sia-select--error .sia-placeholder-floating > .sia-floating-placeholder,
@@ -111,7 +112,7 @@ fieldset:disabled .sia-placeholder-floating > .sia-floating-placeholder {
111
112
  }
112
113
  fieldset:disabled .sia-input-control__floating-placeholder,
113
114
  fieldset:disabled .sia-input-number__floating-placeholder {
114
- background: var(--sia-color-control-hover);
115
+ background: var(--sia-color-control-disabled);
115
116
  }
116
117
  .sia-picker-range-control__field {
117
118
  position: relative;
@@ -160,7 +161,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
160
161
  color: var(--sia-color-warning);
161
162
  }
162
163
  .sia-picker.is-disabled .sia-picker-range-control__field > .sia-floating-placeholder {
163
- background: var(--sia-color-control-hover);
164
+ background: var(--sia-color-control-disabled);
164
165
  }
165
166
 
166
167
  /* src/control-sizes.css */
@@ -421,14 +422,28 @@ fieldset:disabled .sia-input-number__floating-placeholder {
421
422
  --sia-color-primary-text-active: #0958d9;
422
423
  --sia-color-primary-light: #e6f4ff;
423
424
  --sia-color-text: #1f1f1f;
425
+ --sia-icon-contrast: #ffffff;
424
426
  --sia-color-text-secondary: #666666;
427
+ --sia-floating-label-color: var(--sia-color-text-secondary);
425
428
  --sia-color-text-tertiary: #8c8c8c;
426
429
  --sia-color-background: #f5f7fa;
427
430
  --sia-color-surface: #ffffff;
428
431
  --sia-color-border: #d9d9d9;
432
+ --sia-control-border-color: var(--sia-color-border);
433
+ --sia-alert-border-strength: 100%;
434
+ --sia-overlay-border-color: initial;
435
+ --sia-feedback-success-border: initial;
436
+ --sia-feedback-warning-border: initial;
437
+ --sia-feedback-error-border: initial;
438
+ --sia-modal-border-color: rgb(0 0 0 / 6%);
439
+ --sia-table-border-color: #EFF2F6;
440
+ --sia-color-control-disabled: #fdfdfd;
441
+ --sia-color-border-disabled: #f0f0f0;
429
442
  --sia-card-header-border-color: color-mix(in srgb, var(--sia-color-border) 40%, var(--sia-color-surface));
430
443
  --sia-color-control-hover: #fafafa;
431
444
  --sia-color-control-active: #f0f0f0;
445
+ --sia-switch-track-off: #8c8c8c;
446
+ --sia-switch-thumb-off: #ffffff;
432
447
  --sia-color-focus-ring: rgb(22 119 255 / 22%);
433
448
  --sia-color-success: #52c41a;
434
449
  --sia-color-warning: #faad14;
@@ -444,6 +459,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
444
459
  --sia-control-font-size: 13px;
445
460
  --sia-font-size-large: 18px;
446
461
  --sia-shadow-popup: 0 4px 12px rgb(0 0 0 / 22%);
462
+ --sia-shadow-notification: 0 3px 10px rgb(0 0 0 / 10%);
447
463
  --sia-scroll-overflow: auto;
448
464
  --sia-scrollbar-thumb: rgb(82 82 82 / 68%);
449
465
  --sia-scrollbar-thumb-hover: rgb(64 64 64 / 82%);
@@ -457,16 +473,31 @@ fieldset:disabled .sia-input-number__floating-placeholder {
457
473
  --sia-color-primary-text-active: #4d94f0;
458
474
  --sia-color-primary-light: #15345b;
459
475
  --sia-color-text: #ebebeb;
476
+ --sia-icon-contrast: #1f1f1f;
460
477
  --sia-color-text-secondary: #a6a6a6;
478
+ --sia-floating-label-color: #d6d6d6;
461
479
  --sia-color-text-tertiary: #7d7d7d;
462
480
  --sia-color-background: #141414;
463
481
  --sia-color-surface: #1f1f1f;
464
482
  --sia-color-border: #424242;
483
+ --sia-control-border-color: #595959;
484
+ --sia-alert-border-strength: 28%;
485
+ --sia-overlay-border-color: color-mix(in srgb, var(--sia-color-primary-hover) 86%, white);
486
+ --sia-feedback-success-border: color-mix(in srgb, var(--sia-color-success) 86%, white);
487
+ --sia-feedback-warning-border: color-mix(in srgb, #fa8c16 86%, white);
488
+ --sia-feedback-error-border: color-mix(in srgb, var(--sia-color-error) 86%, white);
489
+ --sia-modal-border-color: var(--sia-overlay-border-color);
490
+ --sia-table-border-color: #363636;
491
+ --sia-color-control-disabled: #303030;
492
+ --sia-color-border-disabled: #494949;
465
493
  --sia-card-header-border-color: var(--sia-color-border);
466
494
  --sia-color-control-hover: #2d2d2d;
467
495
  --sia-color-control-active: #383838;
496
+ --sia-switch-track-off: #333335;
497
+ --sia-switch-thumb-off: #8b90a0;
468
498
  --sia-color-focus-ring: rgb(60 135 230 / 28%);
469
499
  --sia-shadow-popup: 0 4px 12px rgb(0 0 0 / 50%);
500
+ --sia-shadow-notification: 0 3px 10px rgb(0 0 0 / 24%);
470
501
  --sia-scrollbar-thumb: rgb(174 174 174 / 62%);
471
502
  --sia-scrollbar-thumb-hover: rgb(205 205 205 / 78%);
472
503
  }
@@ -642,6 +673,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
642
673
  box-shadow 160ms ease,
643
674
  transform 120ms ease;
644
675
  }
676
+ .sia-button:where(.sia-button--default, .sia-button--dashed):where(:not(:disabled):not(.sia-button--danger)) {
677
+ border-color: var(--sia-control-border-color, var(--sia-color-border));
678
+ }
645
679
  .sia-button:hover:not(:disabled) {
646
680
  color: var(--sia-color-primary-text-hover);
647
681
  border-color: var(--sia-color-primary-hover);
@@ -649,7 +683,6 @@ fieldset:disabled .sia-input-number__floating-placeholder {
649
683
  .sia-button:active:not(:disabled) {
650
684
  color: var(--sia-color-primary-text-active);
651
685
  border-color: var(--sia-color-primary-active);
652
- transform: translateY(1px);
653
686
  }
654
687
  .sia-button:focus-visible {
655
688
  outline: none;
@@ -820,7 +853,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
820
853
  padding: 0 11px;
821
854
  color: var(--sia-color-text);
822
855
  background: var(--sia-color-surface);
823
- border: 1px solid var(--sia-color-border);
856
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
824
857
  border-radius: var(--sia-radius);
825
858
  transition:
826
859
  border-color 160ms ease,
@@ -856,7 +889,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
856
889
  .sia-input-control.is-disabled {
857
890
  color: var(--sia-color-text-secondary);
858
891
  cursor: not-allowed;
859
- background: var(--sia-color-control-hover);
892
+ background: var(--sia-color-control-disabled);
893
+ border-color: var(--sia-color-border-disabled);
860
894
  }
861
895
  .sia-input-control__affix {
862
896
  display: inline-flex;
@@ -1012,14 +1046,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1012
1046
  .sia-input-number--floating:focus-within .sia-input-number__floating-placeholder,
1013
1047
  .sia-input-number--floating.is-filled .sia-input-number__floating-placeholder {
1014
1048
  top: 0;
1015
- color: var(--sia-color-text-secondary);
1049
+ color: var(--sia-floating-label-color, var(--sia-color-text-secondary));
1016
1050
  background: var(--sia-color-surface);
1017
1051
  opacity: 1;
1018
1052
  transform: translateY(-50%) scale(0.85);
1019
1053
  }
1020
1054
  .sia-input-control--floating:focus-within .sia-input-control__floating-placeholder,
1021
1055
  .sia-input-number--floating:focus-within .sia-input-number__floating-placeholder {
1022
- color: var(--sia-color-primary);
1056
+ color: var(--sia-color-primary-text);
1023
1057
  }
1024
1058
  .sia-input-control--floating.sia-input-control--warning:focus-within .sia-input-control__floating-placeholder,
1025
1059
  .sia-input-number--floating.sia-input-number--warning:focus-within .sia-input-number__floating-placeholder {
@@ -1031,7 +1065,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1031
1065
  }
1032
1066
  .sia-input-control--floating.is-disabled .sia-input-control__floating-placeholder,
1033
1067
  .sia-input-number--floating.is-disabled .sia-input-number__floating-placeholder {
1034
- background: var(--sia-color-control-hover);
1068
+ background: var(--sia-color-control-disabled);
1035
1069
  }
1036
1070
  .sia-input:disabled {
1037
1071
  color: var(--sia-color-text-secondary);
@@ -1045,7 +1079,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1045
1079
  overflow: hidden;
1046
1080
  color: var(--sia-color-text);
1047
1081
  background: var(--sia-color-surface);
1048
- border: 1px solid var(--sia-color-border);
1082
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
1049
1083
  border-radius: var(--sia-radius);
1050
1084
  transition:
1051
1085
  border-color 160ms ease,
@@ -1073,7 +1107,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1073
1107
  .sia-textarea-control.is-disabled {
1074
1108
  color: var(--sia-color-text-secondary);
1075
1109
  cursor: not-allowed;
1076
- background: var(--sia-color-control-hover);
1110
+ background: var(--sia-color-control-disabled);
1111
+ border-color: var(--sia-color-border-disabled);
1077
1112
  }
1078
1113
  .sia-textarea {
1079
1114
  display: block;
@@ -1132,7 +1167,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1132
1167
  }
1133
1168
  .sia-rich-text-editor.is-disabled {
1134
1169
  color: var(--sia-color-text-secondary);
1135
- background: var(--sia-color-control-hover);
1170
+ background: var(--sia-color-control-disabled);
1171
+ border-color: var(--sia-color-border-disabled);
1136
1172
  }
1137
1173
  .sia-rich-text-editor__toolbar {
1138
1174
  position: relative;
@@ -1578,7 +1614,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1578
1614
  overflow: hidden;
1579
1615
  color: var(--sia-color-text);
1580
1616
  background: var(--sia-color-surface);
1581
- border: 1px solid var(--sia-color-border);
1617
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
1582
1618
  border-radius: var(--sia-radius);
1583
1619
  transition:
1584
1620
  border-color 160ms ease,
@@ -1615,7 +1651,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1615
1651
  .sia-input-number.is-disabled {
1616
1652
  color: var(--sia-color-text-secondary);
1617
1653
  cursor: not-allowed;
1618
- background: var(--sia-color-control-hover);
1654
+ background: var(--sia-color-control-disabled);
1655
+ border-color: var(--sia-color-border-disabled);
1619
1656
  }
1620
1657
  .sia-input-number__input-wrap {
1621
1658
  position: relative;
@@ -1731,7 +1768,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1731
1768
  color: inherit;
1732
1769
  cursor: pointer;
1733
1770
  background: var(--sia-color-surface);
1734
- border: 1px solid var(--sia-color-border);
1771
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
1735
1772
  border-radius: var(--sia-radius);
1736
1773
  text-align: left;
1737
1774
  transition:
@@ -1773,7 +1810,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1773
1810
  .sia-select.is-disabled > .sia-select__trigger {
1774
1811
  color: var(--sia-color-text-secondary);
1775
1812
  cursor: not-allowed;
1776
- background: var(--sia-color-control-hover);
1813
+ background: var(--sia-color-control-disabled);
1814
+ border-color: var(--sia-color-border-disabled);
1777
1815
  }
1778
1816
  .sia-select__value {
1779
1817
  min-width: 0;
@@ -1908,7 +1946,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
1908
1946
  margin-bottom: 4px;
1909
1947
  padding: 0 9px;
1910
1948
  color: var(--sia-color-text-secondary);
1911
- border: 1px solid var(--sia-color-border);
1949
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
1912
1950
  border-radius: var(--sia-radius);
1913
1951
  }
1914
1952
  .sia-select__search:focus-within {
@@ -2007,9 +2045,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2007
2045
  background-color: var(--sia-color-control-hover);
2008
2046
  }
2009
2047
  .sia-select__option.is-selected {
2010
- color: var(--sia-color-primary, #1677ff);
2048
+ color: var(--sia-color-primary-text);
2011
2049
  font-weight: 500;
2012
- background-color: var(--sia-color-primary-bg, #eaf4ff);
2050
+ background-color: var(--sia-color-primary-bg, var(--sia-color-primary-light));
2013
2051
  }
2014
2052
  .sia-select__option.is-disabled {
2015
2053
  color: var(--sia-color-text-secondary);
@@ -2055,7 +2093,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2055
2093
  width: var(--sia-switch-width, 44px);
2056
2094
  height: var(--sia-switch-height, 22px);
2057
2095
  color: #fff;
2058
- background-color: #8c8c8c;
2096
+ background-color: var(--sia-switch-track-off);
2059
2097
  }
2060
2098
  .sia-switch__thumb {
2061
2099
  position: absolute;
@@ -2067,13 +2105,16 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2067
2105
  background-color: #fff;
2068
2106
  border-radius: 999px;
2069
2107
  box-shadow: 0 2px 4px rgb(0 35 11 / 20%);
2070
- transition: left 160ms ease, width 160ms ease;
2108
+ transition: transform 220ms cubic-bezier(.22, 1.4, .36, 1), background-color 160ms ease;
2109
+ }
2110
+ .sia-switch-input:not(:checked) + .sia-switch--standard .sia-switch__thumb {
2111
+ background-color: var(--sia-switch-thumb-off);
2071
2112
  }
2072
2113
  .sia-switch-input:checked + .sia-switch--standard {
2073
2114
  background-color: var(--sia-color-primary);
2074
2115
  }
2075
2116
  .sia-switch-input:checked + .sia-switch--standard .sia-switch__thumb {
2076
- left: calc(100% - var(--sia-switch-height, 22px) + 2px);
2117
+ transform: translateX(var(--sia-switch-travel, 22px));
2077
2118
  }
2078
2119
  .sia-switch--with-content {
2079
2120
  width: auto;
@@ -2127,7 +2168,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2127
2168
  box-shadow: 0 1px 3px rgb(22 119 255 / 40%);
2128
2169
  }
2129
2170
  .sia-switch-input:checked + .sia-switch--segmented .sia-switch__thumb {
2130
- left: calc(50% - 1px);
2171
+ transform: translateX(var(--sia-switch-travel, 34px));
2131
2172
  }
2132
2173
  .sia-switch__segment {
2133
2174
  position: relative;
@@ -2240,7 +2281,6 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2240
2281
  inset: 0;
2241
2282
  z-index: 0;
2242
2283
  background: rgb(0 0 0 / 45%);
2243
- animation: sia-modal-mask-in 220ms ease both;
2244
2284
  will-change: opacity;
2245
2285
  }
2246
2286
  .sia-modal-root--centered {
@@ -2253,22 +2293,14 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2253
2293
  width: min(var(--sia-modal-width), calc(100vw - 32px));
2254
2294
  overflow: hidden;
2255
2295
  background: var(--sia-color-surface);
2256
- border: 1px solid rgb(0 0 0 / 6%);
2296
+ border: 1px solid var(--sia-modal-border-color, rgb(0 0 0 / 6%));
2257
2297
  border-radius: calc(var(--sia-radius) + 4px);
2258
2298
  box-shadow: var(--sia-shadow-popup);
2259
2299
  outline: none;
2260
- animation: sia-modal-slide-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
2261
- will-change: transform, opacity;
2262
2300
  }
2263
2301
  .sia-modal-root[data-state=closing] {
2264
2302
  pointer-events: none;
2265
2303
  }
2266
- .sia-modal-root[data-state=closing]::before {
2267
- animation: sia-modal-mask-out 220ms ease both;
2268
- }
2269
- .sia-modal-root[data-state=closing] .sia-modal {
2270
- animation: sia-modal-slide-out 220ms cubic-bezier(0.4, 0, 1, 1) both;
2271
- }
2272
2304
  .sia-modal__header {
2273
2305
  display: flex;
2274
2306
  align-items: flex-start;
@@ -2360,7 +2392,6 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2360
2392
  cursor: default;
2361
2393
  background: rgb(0 0 0 / 45%);
2362
2394
  border: 0;
2363
- animation: sia-drawer-mask-in 200ms ease both;
2364
2395
  }
2365
2396
  .sia-drawer {
2366
2397
  position: absolute;
@@ -2370,8 +2401,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2370
2401
  background: var(--sia-color-surface);
2371
2402
  box-shadow: var(--sia-shadow-popup);
2372
2403
  outline: none;
2373
- transition: translate 400ms cubic-bezier(.22, 1, .36, 1), box-shadow 280ms ease;
2374
- will-change: translate, transform;
2404
+ transition: translate 360ms cubic-bezier(.2, .8, .2, 1);
2375
2405
  }
2376
2406
  .sia-drawer--right[data-push-depth]:not([data-push-depth="0"]) {
2377
2407
  box-shadow: -6px 0 16px rgb(15 23 42 / 34%);
@@ -2393,11 +2423,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2393
2423
  }
2394
2424
  .sia-drawer--left {
2395
2425
  left: 0;
2396
- animation: sia-drawer-left-motion 400ms cubic-bezier(.22, 1, .36, 1) both;
2397
2426
  }
2398
2427
  .sia-drawer--right {
2399
2428
  right: 0;
2400
- animation: sia-drawer-right-motion 400ms cubic-bezier(.22, 1, .36, 1) both;
2401
2429
  }
2402
2430
  .sia-drawer--top,
2403
2431
  .sia-drawer--bottom {
@@ -2407,26 +2435,9 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2407
2435
  }
2408
2436
  .sia-drawer--top {
2409
2437
  top: 0;
2410
- animation: sia-drawer-top-motion 400ms cubic-bezier(.22, 1, .36, 1) both;
2411
2438
  }
2412
2439
  .sia-drawer--bottom {
2413
2440
  bottom: 0;
2414
- animation: sia-drawer-bottom-motion 400ms cubic-bezier(.22, 1, .36, 1) both;
2415
- }
2416
- .sia-drawer-root[data-state=closing] .sia-drawer__mask {
2417
- animation: sia-drawer-mask-out 400ms cubic-bezier(.22, 1, .36, 1) both;
2418
- }
2419
- .sia-drawer-root[data-state=closing] .sia-drawer--left {
2420
- animation: sia-drawer-left-out 400ms cubic-bezier(.22, 1, .36, 1) both;
2421
- }
2422
- .sia-drawer-root[data-state=closing] .sia-drawer--right {
2423
- animation: sia-drawer-right-out 400ms cubic-bezier(.22, 1, .36, 1) both;
2424
- }
2425
- .sia-drawer-root[data-state=closing] .sia-drawer--top {
2426
- animation: sia-drawer-top-out 400ms cubic-bezier(.22, 1, .36, 1) both;
2427
- }
2428
- .sia-drawer-root[data-state=closing] .sia-drawer--bottom {
2429
- animation: sia-drawer-bottom-out 400ms cubic-bezier(.22, 1, .36, 1) both;
2430
2441
  }
2431
2442
  .sia-drawer__header {
2432
2443
  display: flex;
@@ -2487,6 +2498,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2487
2498
  padding-inline: 16px;
2488
2499
  }
2489
2500
  .sia-message {
2501
+ position: relative;
2502
+ isolation: isolate;
2490
2503
  font-size: 14px;
2491
2504
  display: flex;
2492
2505
  align-items: center;
@@ -2496,12 +2509,22 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2496
2509
  padding: 9px 14px;
2497
2510
  color: var(--sia-color-text);
2498
2511
  pointer-events: auto;
2512
+ background: transparent;
2513
+ border: 1px solid transparent;
2514
+ border-radius: calc(var(--sia-radius) + 2px);
2515
+ box-shadow: none;
2516
+ }
2517
+ .sia-message::before {
2518
+ content: "";
2519
+ position: absolute;
2520
+ inset: -1px;
2521
+ z-index: -1;
2522
+ box-sizing: border-box;
2523
+ pointer-events: none;
2499
2524
  background: var(--sia-color-surface);
2500
2525
  border: 1px solid rgb(0 0 0 / 6%);
2501
- border-radius: calc(var(--sia-radius) + 2px);
2526
+ border-radius: inherit;
2502
2527
  box-shadow: var(--sia-shadow-popup);
2503
- animation: sia-message-pop-in 200ms cubic-bezier(.22, 1, .36, 1) both;
2504
- will-change: transform, opacity;
2505
2528
  }
2506
2529
  .sia-message__icon {
2507
2530
  display: inline-flex;
@@ -2752,25 +2775,25 @@ fieldset:disabled .sia-input-number__floating-placeholder {
2752
2775
  }
2753
2776
  .sia-alert--info {
2754
2777
  background: #e6f4ff;
2755
- border-color: #91caff;
2778
+ border-color: color-mix(in srgb, #91caff var(--sia-alert-border-strength, 100%), var(--sia-color-surface));
2756
2779
  }
2757
2780
  .sia-alert--success {
2758
2781
  background: #f6ffed;
2759
- border-color: #b7eb8f;
2782
+ border-color: color-mix(in srgb, #b7eb8f var(--sia-alert-border-strength, 100%), var(--sia-color-surface));
2760
2783
  }
2761
2784
  .sia-alert--success .sia-alert__icon {
2762
2785
  color: var(--sia-color-success);
2763
2786
  }
2764
2787
  .sia-alert--warning {
2765
2788
  background: #fffbe6;
2766
- border-color: #ffe58f;
2789
+ border-color: color-mix(in srgb, #ffe58f var(--sia-alert-border-strength, 100%), var(--sia-color-surface));
2767
2790
  }
2768
2791
  .sia-alert--warning .sia-alert__icon {
2769
2792
  color: var(--sia-color-warning);
2770
2793
  }
2771
2794
  .sia-alert--error {
2772
2795
  background: #fff2f0;
2773
- border-color: #ffccc7;
2796
+ border-color: color-mix(in srgb, #ffccc7 var(--sia-alert-border-strength, 100%), var(--sia-color-surface));
2774
2797
  }
2775
2798
  .sia-alert--error .sia-alert__icon {
2776
2799
  color: var(--sia-color-error);
@@ -4614,123 +4637,11 @@ fieldset:disabled .sia-input-number__floating-placeholder {
4614
4637
  transform: translate(-50%, -50%) scale(18);
4615
4638
  }
4616
4639
  }
4617
- @keyframes sia-modal-mask-in {
4618
- from {
4619
- opacity: 0;
4620
- }
4621
- to {
4622
- opacity: 1;
4623
- }
4624
- }
4625
- @keyframes sia-modal-mask-out {
4626
- from {
4627
- opacity: 1;
4628
- }
4629
- to {
4630
- opacity: 0;
4631
- }
4632
- }
4633
- @keyframes sia-modal-slide-in {
4634
- from {
4635
- opacity: 0;
4636
- transform: translateY(-48px);
4637
- }
4638
- }
4639
- @keyframes sia-modal-slide-out {
4640
- to {
4641
- opacity: 0;
4642
- transform: translateY(-48px);
4643
- }
4644
- }
4645
- @keyframes sia-drawer-mask-in {
4646
- from {
4647
- opacity: 0;
4648
- }
4649
- }
4650
- @keyframes sia-drawer-mask-out {
4651
- to {
4652
- opacity: 0;
4653
- }
4654
- }
4655
- @keyframes sia-drawer-left-motion {
4656
- from {
4657
- transform: translateX(-100%);
4658
- }
4659
- to {
4660
- transform: translateX(0);
4661
- }
4662
- }
4663
- @keyframes sia-drawer-left-out {
4664
- from {
4665
- transform: translateX(0);
4666
- }
4667
- to {
4668
- transform: translateX(-100%);
4669
- }
4670
- }
4671
- @keyframes sia-drawer-right-motion {
4672
- from {
4673
- transform: translateX(100%);
4674
- }
4675
- to {
4676
- transform: translateX(0);
4677
- }
4678
- }
4679
- @keyframes sia-drawer-right-out {
4680
- from {
4681
- transform: translateX(0);
4682
- }
4683
- to {
4684
- transform: translateX(100%);
4685
- }
4686
- }
4687
- @keyframes sia-drawer-top-motion {
4688
- from {
4689
- transform: translateY(-100%);
4690
- }
4691
- to {
4692
- transform: translateY(0);
4693
- }
4694
- }
4695
- @keyframes sia-drawer-top-out {
4696
- from {
4697
- transform: translateY(0);
4698
- }
4699
- to {
4700
- transform: translateY(-100%);
4701
- }
4702
- }
4703
- @keyframes sia-drawer-bottom-motion {
4704
- from {
4705
- transform: translateY(100%);
4706
- }
4707
- to {
4708
- transform: translateY(0);
4709
- }
4710
- }
4711
- @keyframes sia-drawer-bottom-out {
4712
- from {
4713
- transform: translateY(0);
4714
- }
4715
- to {
4716
- transform: translateY(100%);
4717
- }
4718
- }
4719
4640
  @media (max-width: 900px) {
4720
4641
  .sia-drawer[data-push-depth]:not([data-push-depth="0"]) {
4721
4642
  translate: 0 0;
4722
4643
  }
4723
4644
  }
4724
- @keyframes sia-message-pop-in {
4725
- from {
4726
- opacity: 0;
4727
- transform: translate3d(0, -8px, 0);
4728
- }
4729
- to {
4730
- opacity: 1;
4731
- transform: translate3d(0, 0, 0);
4732
- }
4733
- }
4734
4645
  @media (max-width: 650px) {
4735
4646
  .sia-modal-root {
4736
4647
  padding: 16px 12px;
@@ -5498,7 +5409,7 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5498
5409
  width: 100%;
5499
5410
  min-width: 0;
5500
5411
  height: var(--sia-control-height);
5501
- border: 1px solid var(--sia-color-border);
5412
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
5502
5413
  border-radius: var(--sia-radius);
5503
5414
  background: var(--sia-color-surface);
5504
5415
  color: var(--sia-color-text);
@@ -5524,7 +5435,8 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5524
5435
  border-color: var(--sia-color-error);
5525
5436
  }
5526
5437
  .sia-number-range.is-disabled {
5527
- background: var(--sia-color-control-hover);
5438
+ background: var(--sia-color-control-disabled);
5439
+ border-color: var(--sia-color-border-disabled);
5528
5440
  color: var(--sia-color-text-secondary);
5529
5441
  cursor: not-allowed;
5530
5442
  }
@@ -5684,6 +5596,99 @@ fieldset:disabled .sia-input-number__floating-placeholder {
5684
5596
  width: 760px;
5685
5597
  max-width: calc(100vw - 32px);
5686
5598
  }
5599
+ .sia-skeleton__block {
5600
+ display: block;
5601
+ min-width: 0;
5602
+ border-radius: var(--sia-radius);
5603
+ background: var(--sia-color-control-active);
5604
+ }
5605
+ .sia-modal__body[aria-busy=true],
5606
+ .sia-drawer__body[aria-busy=true] {
5607
+ min-height: 0;
5608
+ overflow: hidden !important;
5609
+ }
5610
+ .sia-modal-root[data-content-pending=true] {
5611
+ overflow: hidden;
5612
+ }
5613
+ .sia-overlay-body--ready {
5614
+ animation: sia-overlay-content-ready 100ms ease-out both;
5615
+ }
5616
+ @keyframes sia-overlay-content-ready {
5617
+ from {
5618
+ opacity: .55;
5619
+ }
5620
+ to {
5621
+ opacity: 1;
5622
+ }
5623
+ }
5624
+ @media (prefers-reduced-motion: reduce) {
5625
+ .sia-overlay-body--ready {
5626
+ animation: none;
5627
+ }
5628
+ }
5629
+ .sia-drawer-root[data-state=closing] {
5630
+ pointer-events: none;
5631
+ }
5632
+ .sia-switch-wrap:active .sia-switch-input:not(:disabled) + .sia-switch .sia-switch__thumb {
5633
+ transform: scale(1.16);
5634
+ }
5635
+ .sia-switch-wrap:active .sia-switch-input:checked:not(:disabled) + .sia-switch .sia-switch__thumb {
5636
+ transform: translateX(var(--sia-switch-travel, 22px)) scale(1.16);
5637
+ }
5638
+ .sia-switch--standard {
5639
+ overflow: visible;
5640
+ }
5641
+ .sia-switch-wrap:active .sia-switch-input:not(:disabled) + .sia-switch--standard .sia-switch__thumb {
5642
+ transform: scale(1.35);
5643
+ }
5644
+ .sia-switch-wrap:active .sia-switch-input:checked:not(:disabled) + .sia-switch--standard .sia-switch__thumb {
5645
+ transform: translateX(var(--sia-switch-travel, 22px)) scale(1.35);
5646
+ }
5647
+ .sia-query-form__fields {
5648
+ position: relative;
5649
+ }
5650
+
5651
+ /* src/overlay-borders.css */
5652
+ .sia-select__dropdown.sia-select__dropdown,
5653
+ .sia-rich-text-editor__link-popup.sia-rich-text-editor__link-popup,
5654
+ .sia-floating-panel.sia-floating-panel,
5655
+ .sia-color-picker__popup.sia-color-picker__popup,
5656
+ .sia-time-panel.sia-time-panel,
5657
+ .sia-date-panel.sia-date-panel,
5658
+ .sia-tree-select__dropdown.sia-tree-select__dropdown,
5659
+ .sia-menu__popup.sia-menu__popup,
5660
+ .sia-dropdown__popup.sia-dropdown__popup,
5661
+ .sia-cascader__popup.sia-cascader__popup,
5662
+ .sia-notification__notice.sia-notification__notice,
5663
+ .sia-tour__panel.sia-tour__panel,
5664
+ .sia-input-select__popup.sia-input-select__popup {
5665
+ border-color: var(--sia-overlay-border-color, var(--sia-color-border));
5666
+ }
5667
+ .sia-floating__overlay.sia-popover.sia-popover {
5668
+ --sia-floating-arrow-border: var(--sia-overlay-border-color, var(--sia-color-border));
5669
+ }
5670
+ .sia-dropdown__popup.sia-dropdown__popup--arrow::before {
5671
+ border-color: var(--sia-overlay-border-color, var(--sia-color-border));
5672
+ }
5673
+ .sia-message--success,
5674
+ .sia-notification__notice--success {
5675
+ --sia-overlay-border-color: var(--sia-feedback-success-border);
5676
+ }
5677
+ .sia-message--warning,
5678
+ .sia-notification__notice--warning {
5679
+ --sia-overlay-border-color: var(--sia-feedback-warning-border);
5680
+ }
5681
+ .sia-message--error,
5682
+ .sia-notification__notice--error {
5683
+ --sia-overlay-border-color: var(--sia-feedback-error-border);
5684
+ }
5685
+ .sia-message.sia-message::before {
5686
+ border-color: var(--sia-overlay-border-color, rgb(0 0 0 / 6%));
5687
+ }
5688
+ .sia-drawer.sia-drawer {
5689
+ outline: 1px solid var(--sia-overlay-border-color, transparent);
5690
+ outline-offset: -1px;
5691
+ }
5687
5692
 
5688
5693
  /* src/components-extra.css */
5689
5694
  .sia-flex {
@@ -6003,6 +6008,34 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6003
6008
  flex: 1 1 auto;
6004
6009
  cursor: default;
6005
6010
  }
6011
+ .sia-window-titlebar__theme {
6012
+ display: flex;
6013
+ flex: 0 0 auto;
6014
+ align-items: center;
6015
+ padding-inline: 8px;
6016
+ }
6017
+ .sia-window-titlebar__theme .sia-theme-switch {
6018
+ display: inline-flex;
6019
+ width: 60px;
6020
+ height: 28px;
6021
+ min-height: 28px;
6022
+ padding: 2px;
6023
+ }
6024
+ .sia-window-titlebar__theme .sia-theme-switch__selection {
6025
+ width: 27px;
6026
+ height: 22px;
6027
+ }
6028
+ .sia-window-titlebar__theme .sia-theme-switch--dark .sia-theme-switch__selection {
6029
+ transform: translateX(27px);
6030
+ }
6031
+ .sia-window-titlebar__theme .sia-theme-switch__icon {
6032
+ width: 27px;
6033
+ height: 22px;
6034
+ }
6035
+ .sia-window-titlebar__theme .sia-theme-switch__icon svg {
6036
+ width: 16px;
6037
+ height: 16px;
6038
+ }
6006
6039
  .sia-window-controls {
6007
6040
  box-sizing: border-box;
6008
6041
  display: flex;
@@ -6068,6 +6101,8 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6068
6101
  width: calc(var(--sia-tool-panel-rail-size) + var(--sia-tool-panel-size) + var(--sia-tool-panel-handle-size));
6069
6102
  }
6070
6103
  .sia-tool-panel__rail {
6104
+ box-sizing: border-box;
6105
+ overflow-x: hidden;
6071
6106
  position: relative;
6072
6107
  display: flex;
6073
6108
  flex-direction: column;
@@ -6085,6 +6120,8 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6085
6120
  border-inline-start: 1px solid var(--sia-tool-panel-divider-color);
6086
6121
  }
6087
6122
  .sia-tool-panel__activity {
6123
+ box-sizing: border-box;
6124
+ min-width: 0;
6088
6125
  display: flex;
6089
6126
  align-items: center;
6090
6127
  flex-direction: column;
@@ -6221,7 +6258,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6221
6258
  width: 17px;
6222
6259
  height: 17px;
6223
6260
  background: var(--sia-color-surface);
6224
- border: 1px solid var(--sia-color-border);
6261
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
6225
6262
  border-radius: 5px;
6226
6263
  transition:
6227
6264
  background 140ms ease,
@@ -6291,7 +6328,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6291
6328
  width: 17px;
6292
6329
  height: 17px;
6293
6330
  background: var(--sia-color-surface);
6294
- border: 1px solid var(--sia-color-border);
6331
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
6295
6332
  border-radius: 50%;
6296
6333
  transition: border-color 140ms ease, box-shadow 140ms ease;
6297
6334
  }
@@ -6320,13 +6357,13 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6320
6357
  margin-left: -1px;
6321
6358
  padding: 0 14px;
6322
6359
  background: var(--sia-color-surface);
6323
- border: 1px solid var(--sia-color-border);
6360
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
6324
6361
  }
6325
- .sia-radio--button:first-child {
6362
+ .sia-radio--button:first-of-type {
6326
6363
  margin-left: 0;
6327
6364
  border-radius: var(--sia-radius) 0 0 var(--sia-radius);
6328
6365
  }
6329
- .sia-radio--button:last-child {
6366
+ .sia-radio--button:last-of-type {
6330
6367
  border-radius: 0 var(--sia-radius) var(--sia-radius) 0;
6331
6368
  }
6332
6369
  .sia-radio--button:has(.sia-radio__input:checked) {
@@ -6338,6 +6375,32 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6338
6375
  color: #fff;
6339
6376
  background: var(--sia-color-primary);
6340
6377
  }
6378
+ .sia-radio-group:has(> .sia-radio-group__selection) {
6379
+ position: relative;
6380
+ isolation: isolate;
6381
+ }
6382
+ .sia-radio-group__selection {
6383
+ position: absolute;
6384
+ z-index: 1;
6385
+ top: 0;
6386
+ left: 0;
6387
+ display: none;
6388
+ pointer-events: none;
6389
+ background: var(--sia-color-primary);
6390
+ transform-origin: top left;
6391
+ }
6392
+ .sia-radio-group[data-sia-radio-motion] > .sia-radio--button.sia-radio--solid {
6393
+ position: relative;
6394
+ z-index: auto;
6395
+ background: var(--sia-color-surface);
6396
+ }
6397
+ .sia-radio-group[data-sia-radio-motion] > .sia-radio--solid > .sia-radio__label {
6398
+ position: relative;
6399
+ z-index: 2;
6400
+ }
6401
+ .sia-radio-group[data-sia-radio-moving] > .sia-radio--solid:has(.sia-radio__input:checked) {
6402
+ color: var(--sia-color-primary-text);
6403
+ }
6341
6404
  .sia-slider {
6342
6405
  --sia-slider-start: 0%;
6343
6406
  --sia-slider-end: 0%;
@@ -6511,7 +6574,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6511
6574
  color: var(--sia-color-text);
6512
6575
  cursor: pointer;
6513
6576
  background: var(--sia-color-surface);
6514
- border: 1px solid var(--sia-color-border);
6577
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
6515
6578
  border-radius: var(--sia-radius);
6516
6579
  }
6517
6580
  .sia-color-picker__trigger:hover {
@@ -6877,7 +6940,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6877
6940
  min-height: var(--sia-control-height);
6878
6941
  color: var(--sia-color-text);
6879
6942
  background: var(--sia-color-surface);
6880
- border: 1px solid var(--sia-color-border);
6943
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
6881
6944
  border-radius: var(--sia-radius);
6882
6945
  transition: border-color 140ms ease, box-shadow 140ms ease;
6883
6946
  }
@@ -6961,8 +7024,8 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
6961
7024
  display: grid;
6962
7025
  }
6963
7026
  .sia-picker.is-disabled {
7027
+ color: var(--sia-color-text-secondary);
6964
7028
  cursor: not-allowed;
6965
- opacity: .55;
6966
7029
  }
6967
7030
  .sia-picker.is-disabled .sia-picker__trigger {
6968
7031
  cursor: not-allowed;
@@ -7055,7 +7118,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7055
7118
  height: var(--sia-control-height);
7056
7119
  color: var(--sia-color-text);
7057
7120
  background: var(--sia-color-surface);
7058
- border: 1px solid var(--sia-color-border);
7121
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
7059
7122
  border-radius: var(--sia-radius);
7060
7123
  transition: border-color 160ms ease, box-shadow 160ms ease;
7061
7124
  }
@@ -7079,7 +7142,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7079
7142
  border-color: var(--sia-color-error);
7080
7143
  }
7081
7144
  .sia-time-range.is-disabled {
7082
- opacity: .55;
7145
+ color: var(--sia-color-text-secondary);
7083
7146
  cursor: not-allowed;
7084
7147
  }
7085
7148
  .sia-time-range > .sia-time-picker {
@@ -7191,7 +7254,6 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7191
7254
  border-radius: 12px;
7192
7255
  box-shadow: var(--sia-shadow-popup);
7193
7256
  scrollbar-width: thin;
7194
- animation: sia-date-panel-enter 150ms ease-out;
7195
7257
  }
7196
7258
  .sia-date-panel--with-time {
7197
7259
  width: max-content;
@@ -7490,16 +7552,6 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7490
7552
  .sia-date-panel__range-error {
7491
7553
  color: var(--sia-color-error);
7492
7554
  }
7493
- @keyframes sia-date-panel-enter {
7494
- from {
7495
- opacity: 0;
7496
- transform: translateY(-4px) scale(.99);
7497
- }
7498
- to {
7499
- opacity: 1;
7500
- transform: translateY(0) scale(1);
7501
- }
7502
- }
7503
7555
  .sia-tree-select {
7504
7556
  position: relative;
7505
7557
  display: inline-block;
@@ -7517,7 +7569,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7517
7569
  color: inherit;
7518
7570
  cursor: pointer;
7519
7571
  background: var(--sia-color-surface);
7520
- border: 1px solid var(--sia-color-border);
7572
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
7521
7573
  border-radius: var(--sia-radius);
7522
7574
  text-align: left;
7523
7575
  }
@@ -7606,7 +7658,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7606
7658
  gap: 8px;
7607
7659
  margin: 8px;
7608
7660
  padding: 7px 9px;
7609
- border: 1px solid var(--sia-color-border);
7661
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
7610
7662
  border-radius: var(--sia-radius);
7611
7663
  }
7612
7664
  .sia-tree-select__search input {
@@ -7661,7 +7713,8 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
7661
7713
  text-align: center;
7662
7714
  }
7663
7715
  .sia-tree-select.is-disabled {
7664
- opacity: .55;
7716
+ color: var(--sia-color-text-secondary);
7717
+ cursor: not-allowed;
7665
7718
  }
7666
7719
  .sia-upload {
7667
7720
  display: grid;
@@ -8441,7 +8494,7 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8441
8494
  visibility 0s linear 220ms;
8442
8495
  }
8443
8496
  .sia-menu--inline .sia-menu__entry.is-open > .sia-menu__submenu {
8444
- max-height: 640px;
8497
+ max-height: var(--sia-menu-submenu-height, 640px);
8445
8498
  padding-block: 4px;
8446
8499
  visibility: visible;
8447
8500
  opacity: 1;
@@ -8515,84 +8568,8 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8515
8568
  .sia-menu__popup[data-placement^=left] {
8516
8569
  transform-origin: right center;
8517
8570
  }
8518
- .sia-menu__popup.is-open {
8519
- animation: sia-menu-popup-in 160ms cubic-bezier(.2, 0, 0, 1) both;
8520
- }
8521
8571
  .sia-menu__popup.is-closing {
8522
8572
  pointer-events: none;
8523
- animation: sia-menu-popup-out 150ms cubic-bezier(.4, 0, 1, 1) both;
8524
- }
8525
- @keyframes sia-menu-popup-in {
8526
- from {
8527
- opacity: 0;
8528
- transform: translateY(-4px) scale(.98);
8529
- }
8530
- to {
8531
- opacity: 1;
8532
- transform: translateY(0) scale(1);
8533
- }
8534
- }
8535
- @keyframes sia-menu-popup-out {
8536
- from {
8537
- opacity: 1;
8538
- transform: translateY(0) scale(1);
8539
- }
8540
- to {
8541
- opacity: 0;
8542
- transform: translateY(-3px) scale(.98);
8543
- }
8544
- }
8545
- .sia-menu__popup[data-placement^=right].is-open {
8546
- animation-name: sia-menu-popup-right-in;
8547
- }
8548
- .sia-menu__popup[data-placement^=right].is-closing {
8549
- animation-name: sia-menu-popup-right-out;
8550
- }
8551
- .sia-menu__popup[data-placement^=left].is-open {
8552
- animation-name: sia-menu-popup-left-in;
8553
- }
8554
- .sia-menu__popup[data-placement^=left].is-closing {
8555
- animation-name: sia-menu-popup-left-out;
8556
- }
8557
- @keyframes sia-menu-popup-right-in {
8558
- from {
8559
- opacity: 0;
8560
- transform: translateX(-4px) scale(.98);
8561
- }
8562
- to {
8563
- opacity: 1;
8564
- transform: translateX(0) scale(1);
8565
- }
8566
- }
8567
- @keyframes sia-menu-popup-right-out {
8568
- from {
8569
- opacity: 1;
8570
- transform: translateX(0) scale(1);
8571
- }
8572
- to {
8573
- opacity: 0;
8574
- transform: translateX(-3px) scale(.98);
8575
- }
8576
- }
8577
- @keyframes sia-menu-popup-left-in {
8578
- from {
8579
- opacity: 0;
8580
- transform: translateX(4px) scale(.98);
8581
- }
8582
- to {
8583
- opacity: 1;
8584
- transform: translateX(0) scale(1);
8585
- }
8586
- }
8587
- @keyframes sia-menu-popup-left-out {
8588
- from {
8589
- opacity: 1;
8590
- transform: translateX(0) scale(1);
8591
- }
8592
- to {
8593
- opacity: 0;
8594
- transform: translateX(3px) scale(.98);
8595
- }
8596
8573
  }
8597
8574
  .sia-menu--dark,
8598
8575
  .sia-menu--dark ul {
@@ -8620,6 +8597,40 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8620
8597
  justify-content: center;
8621
8598
  padding-inline: 0;
8622
8599
  }
8600
+ .sia-menu-motion-surface {
8601
+ position: relative;
8602
+ isolation: isolate;
8603
+ }
8604
+ .sia-menu-motion-surface > li:not(.sia-menu__selection) {
8605
+ position: relative;
8606
+ z-index: 1;
8607
+ }
8608
+ .sia-menu-motion-surface .sia-menu__group > ul {
8609
+ background: transparent !important;
8610
+ }
8611
+ .sia-menu__selection {
8612
+ position: absolute;
8613
+ top: 0;
8614
+ left: 0;
8615
+ z-index: 0;
8616
+ display: none;
8617
+ margin: 0;
8618
+ padding: 0;
8619
+ list-style: none;
8620
+ pointer-events: none;
8621
+ transform-origin: top left;
8622
+ background: var(--sia-color-primary-light);
8623
+ }
8624
+ .sia-menu--dark .sia-menu__selection {
8625
+ background: var(--sia-color-primary);
8626
+ }
8627
+ .sia-menu-motion-surface .sia-menu__entry.is-selected > .sia-menu__item[data-sia-menu-highlight] {
8628
+ background: transparent;
8629
+ transition: color 140ms ease;
8630
+ }
8631
+ .sia-menu__popup-list > .sia-menu__entry:nth-last-child(2) {
8632
+ margin-bottom: 0;
8633
+ }
8623
8634
  .sia-dropdown {
8624
8635
  position: relative;
8625
8636
  display: inline-flex;
@@ -8656,12 +8667,8 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8656
8667
  .sia-dropdown__popup[data-placement^=top] {
8657
8668
  transform-origin: bottom left;
8658
8669
  }
8659
- .sia-dropdown__popup.is-open {
8660
- animation: sia-dropdown-popup-in 160ms cubic-bezier(.2, 0, 0, 1) both;
8661
- }
8662
8670
  .sia-dropdown__popup.is-closing {
8663
8671
  pointer-events: none;
8664
- animation: sia-dropdown-popup-out 150ms cubic-bezier(.4, 0, 1, 1) both;
8665
8672
  }
8666
8673
  .sia-dropdown__menu {
8667
8674
  min-width: 0;
@@ -8737,32 +8744,18 @@ body:has(.sia-window-frame[data-sia-text-selectable=false]) img {
8737
8744
  width: 1px;
8738
8745
  height: 1em;
8739
8746
  content: "";
8740
- background: rgb(217, 217, 217);
8747
+ background: color-mix(in srgb, var(--sia-color-border) 55%, transparent);
8741
8748
  transform: translateY(-50%);
8742
8749
  pointer-events: none;
8743
8750
  }
8744
- .sia-dropdown-button > .sia-button--link + .sia-dropdown > .sia-button {
8745
- margin-inline-start: 0;
8751
+ [data-sia-theme=dark] .sia-dropdown-button > .sia-button--link + .sia-dropdown::before {
8752
+ background: color-mix(in srgb, var(--sia-color-border) 80%, var(--sia-color-text) 20%);
8746
8753
  }
8747
- @keyframes sia-dropdown-popup-in {
8748
- from {
8749
- opacity: 0;
8750
- transform: translateY(-4px) scale(.98);
8751
- }
8752
- to {
8753
- opacity: 1;
8754
- transform: translateY(0) scale(1);
8755
- }
8754
+ .sia-dropdown-button > .sia-button--link:disabled + .sia-dropdown:has(> .sia-button:disabled)::before {
8755
+ opacity: .55;
8756
8756
  }
8757
- @keyframes sia-dropdown-popup-out {
8758
- from {
8759
- opacity: 1;
8760
- transform: translateY(0) scale(1);
8761
- }
8762
- to {
8763
- opacity: 0;
8764
- transform: translateY(-3px) scale(.98);
8765
- }
8757
+ .sia-dropdown-button > .sia-button--link + .sia-dropdown > .sia-button {
8758
+ margin-inline-start: 0;
8766
8759
  }
8767
8760
  .sia-pagination {
8768
8761
  display: flex;
@@ -9184,7 +9177,7 @@ button.sia-pagination__total:disabled {
9184
9177
  color: inherit;
9185
9178
  cursor: pointer;
9186
9179
  background: var(--sia-color-surface);
9187
- border: 1px solid var(--sia-color-border);
9180
+ border: 1px solid var(--sia-control-border-color, var(--sia-color-border));
9188
9181
  border-radius: var(--sia-radius);
9189
9182
  text-align: left;
9190
9183
  }
@@ -9232,7 +9225,8 @@ button.sia-pagination__total:disabled {
9232
9225
  display: inline-flex;
9233
9226
  }
9234
9227
  .sia-cascader__popup {
9235
- min-width: var(--sia-popup-anchor-width);
9228
+ width: max-content;
9229
+ min-width: 0;
9236
9230
  overflow: hidden;
9237
9231
  background: var(--sia-color-surface);
9238
9232
  border: 1px solid var(--sia-color-border);
@@ -9260,12 +9254,16 @@ button.sia-pagination__total:disabled {
9260
9254
  max-width: min(760px, 85vw);
9261
9255
  }
9262
9256
  .sia-cascader__menu {
9257
+ flex: 1 0 auto;
9263
9258
  min-width: 170px;
9264
9259
  max-height: 280px;
9265
9260
  overflow: var(--sia-scroll-overflow, auto);
9266
9261
  padding: 5px;
9267
9262
  border-inline-end: 1px solid var(--sia-color-border);
9268
9263
  }
9264
+ .sia-cascader__menu:last-child {
9265
+ border-inline-end: 0;
9266
+ }
9269
9267
  .sia-cascader__menu button,
9270
9268
  .sia-cascader__results button {
9271
9269
  display: flex;
@@ -9303,7 +9301,20 @@ button.sia-pagination__total:disabled {
9303
9301
  text-align: center;
9304
9302
  }
9305
9303
  .sia-cascader.is-disabled {
9306
- opacity: .55;
9304
+ color: var(--sia-color-text-secondary);
9305
+ cursor: not-allowed;
9306
+ }
9307
+ .sia-picker.is-disabled,
9308
+ .sia-time-range.is-disabled,
9309
+ .sia-tree-select.is-disabled > .sia-tree-select__trigger,
9310
+ .sia-cascader.is-disabled > .sia-cascader__trigger {
9311
+ background: var(--sia-color-control-disabled);
9312
+ border-color: var(--sia-color-border-disabled);
9313
+ }
9314
+ fieldset:disabled :is(.sia-input-control, .sia-textarea-control, .sia-input-number, .sia-number-range, .sia-picker, .sia-time-range),
9315
+ fieldset:disabled :is(.sia-select, .sia-tree-select, .sia-cascader) > :is(.sia-select__trigger, .sia-tree-select__trigger, .sia-cascader__trigger) {
9316
+ background: var(--sia-color-control-disabled);
9317
+ border-color: var(--sia-color-border-disabled);
9307
9318
  }
9308
9319
  .sia-rate {
9309
9320
  display: inline-flex;
@@ -9801,7 +9812,6 @@ button.sia-pagination__total:disabled {
9801
9812
  inset: 0;
9802
9813
  box-sizing: border-box;
9803
9814
  background: rgb(0 0 0 / 78%);
9804
- animation: sia-fade-in 180ms ease;
9805
9815
  }
9806
9816
  .sia-image-preview__stage {
9807
9817
  position: absolute;
@@ -9908,7 +9918,6 @@ body > .sia-popup-portal[data-sia-popup-layer] {
9908
9918
  box-shadow: var(--sia-shadow-popup);
9909
9919
  font-size: 13px;
9910
9920
  line-height: 1.5;
9911
- animation: sia-floating-in 140ms ease;
9912
9921
  }
9913
9922
  [data-sia-theme=dark] .sia-floating__overlay[role=tooltip]:not([data-custom-color]) {
9914
9923
  --sia-floating-color: rgb(245 245 245 / 96%);
@@ -9973,12 +9982,6 @@ body > .sia-popup-portal[data-sia-popup-layer] {
9973
9982
  .sia-popover__title {
9974
9983
  margin-bottom: 6px;
9975
9984
  }
9976
- @keyframes sia-floating-in {
9977
- from {
9978
- opacity: 0;
9979
- transform: translateY(3px);
9980
- }
9981
- }
9982
9985
  .sia-timeline {
9983
9986
  margin: 0;
9984
9987
  padding: 0;
@@ -10489,8 +10492,7 @@ body > .sia-popup-portal[data-sia-popup-layer] {
10489
10492
  background: var(--sia-color-surface);
10490
10493
  border: 1px solid var(--sia-color-border);
10491
10494
  border-radius: 10px;
10492
- box-shadow: var(--sia-shadow-popup);
10493
- animation: sia-notice-in 220ms ease;
10495
+ box-shadow: var(--sia-shadow-notification);
10494
10496
  }
10495
10497
  .sia-notification__icon {
10496
10498
  color: var(--sia-color-primary-text);
@@ -10516,12 +10518,6 @@ body > .sia-popup-portal[data-sia-popup-layer] {
10516
10518
  background: transparent;
10517
10519
  border: 0;
10518
10520
  }
10519
- @keyframes sia-notice-in {
10520
- from {
10521
- opacity: 0;
10522
- transform: translateX(20px);
10523
- }
10524
- }
10525
10521
  .sia-tour {
10526
10522
  position: fixed;
10527
10523
  z-index: 1800;
@@ -10615,11 +10611,6 @@ body > .sia-popup-portal[data-sia-popup-layer] {
10615
10611
  .sia-alert--banner {
10616
10612
  border-radius: 0;
10617
10613
  }
10618
- @keyframes sia-fade-in {
10619
- from {
10620
- opacity: 0;
10621
- }
10622
- }
10623
10614
  @media (max-width: 720px) {
10624
10615
  .sia-steps--horizontal {
10625
10616
  flex-direction: column;
@@ -10952,7 +10943,8 @@ button.sia-treemap__tile:focus-visible,
10952
10943
  width: max(240px, var(--sia-popup-anchor-width));
10953
10944
  max-width: calc(100vw - 24px);
10954
10945
  padding: 8px;
10955
- background: var(--sia-color-bg, white);
10946
+ color: var(--sia-color-text);
10947
+ background: var(--sia-color-bg, var(--sia-color-surface));
10956
10948
  border: 1px solid var(--sia-color-border, #ddd);
10957
10949
  border-radius: 6px;
10958
10950
  box-shadow: var(--sia-shadow-popup);
@@ -11003,13 +10995,13 @@ button.sia-treemap__tile:focus-visible,
11003
10995
  min-width: 0;
11004
10996
  font: inherit;
11005
10997
  }
11006
- .sia-selection-panel__option:hover:not([data-deselected-hover=true]),
11007
- .sia-selection-panel__option.is-active {
11008
- background: var(--sia-color-fill-secondary, #f2f5f8);
10998
+ .sia-selection-panel__option:hover:not([data-deselected-hover=true]):not([aria-selected=true]):not([aria-disabled=true]),
10999
+ .sia-selection-panel__option.is-active:not([aria-selected=true]):not([aria-disabled=true]) {
11000
+ background: var(--sia-color-control-hover);
11009
11001
  }
11010
11002
  .sia-selection-panel__option[aria-selected=true] {
11011
- background: var(--sia-color-primary-bg, #eaf4ff);
11012
- color: var(--sia-color-primary, #1677ff);
11003
+ background: var(--sia-color-primary-bg, var(--sia-color-primary-light));
11004
+ color: var(--sia-color-primary-text);
11013
11005
  }
11014
11006
  .sia-selection-panel__option[aria-disabled=true] {
11015
11007
  opacity: .45;
@@ -11132,6 +11124,94 @@ button.sia-treemap__tile:focus-visible,
11132
11124
  transition: none;
11133
11125
  }
11134
11126
  }
11127
+ @media (prefers-reduced-motion: reduce) {
11128
+ .sia-menu__item,
11129
+ .sia-menu__expand-icon,
11130
+ .sia-menu--inline .sia-menu__submenu,
11131
+ .sia-collapse__arrow .sia-icon,
11132
+ .sia-collapse__panel,
11133
+ .sia-collapse__panel-body,
11134
+ .sia-segmented button,
11135
+ .sia-rate__item button,
11136
+ .sia-picker,
11137
+ .sia-time-range,
11138
+ .sia-window-control,
11139
+ .sia-upload-dragger__content {
11140
+ transition: none;
11141
+ }
11142
+ }
11143
+ .sia-steps__icon,
11144
+ .sia-steps__title,
11145
+ .sia-calendar__modes button,
11146
+ .sia-calendar__header > button,
11147
+ .sia-calendar__grid button,
11148
+ .sia-calendar__grid button > span:first-child,
11149
+ .sia-calendar__months button,
11150
+ .sia-tree__row,
11151
+ .sia-tree__title {
11152
+ transition:
11153
+ color 140ms ease,
11154
+ background-color 140ms ease,
11155
+ border-color 140ms ease;
11156
+ }
11157
+ @media (prefers-reduced-motion: reduce) {
11158
+ .sia-steps__icon,
11159
+ .sia-steps__title,
11160
+ .sia-calendar__modes button,
11161
+ .sia-calendar__header > button,
11162
+ .sia-calendar__grid button,
11163
+ .sia-calendar__grid button > span:first-child,
11164
+ .sia-calendar__months button,
11165
+ .sia-tree__row,
11166
+ .sia-tree__title {
11167
+ transition: none;
11168
+ }
11169
+ }
11170
+ .sia-segmented {
11171
+ position: relative;
11172
+ isolation: isolate;
11173
+ }
11174
+ .sia-segmented:not(.sia-segmented--zigzag) > button {
11175
+ position: relative;
11176
+ z-index: 1;
11177
+ }
11178
+ .sia-segmented__selection {
11179
+ position: absolute;
11180
+ z-index: 0;
11181
+ top: 0;
11182
+ left: 0;
11183
+ display: none;
11184
+ pointer-events: none;
11185
+ transform-origin: top left;
11186
+ background: var(--sia-color-surface);
11187
+ box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
11188
+ }
11189
+ .sia-segmented:not(.sia-segmented--zigzag) > button[data-sia-segmented-highlight] {
11190
+ background: transparent;
11191
+ box-shadow: none;
11192
+ }
11193
+ .sia-checkbox__control span {
11194
+ transform: translateY(-1px) rotate(-45deg) scale(.45);
11195
+ transition: opacity 140ms ease, transform 140ms ease;
11196
+ }
11197
+ .sia-checkbox__input:checked + .sia-checkbox__control span {
11198
+ transform: translateY(-1px) rotate(-45deg) scale(1);
11199
+ }
11200
+ .sia-checkbox__input:indeterminate + .sia-checkbox__control span {
11201
+ transform: none;
11202
+ }
11203
+ .sia-radio--button {
11204
+ transition:
11205
+ color 160ms ease,
11206
+ background-color 160ms ease,
11207
+ border-color 160ms ease;
11208
+ }
11209
+ @media (prefers-reduced-motion: reduce) {
11210
+ .sia-checkbox__control span,
11211
+ .sia-radio--button {
11212
+ transition: none;
11213
+ }
11214
+ }
11135
11215
 
11136
11216
  /* src/title-tooltip.css */
11137
11217
  body > .sia-title-tooltip[data-sia-popup-layer] {
@@ -11630,7 +11710,6 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
11630
11710
  .sia-float-button-group--menu > .sia-float-button-group__list {
11631
11711
  position: absolute;
11632
11712
  padding: 12px 0;
11633
- animation: sia-float-menu-enter 160ms ease-out;
11634
11713
  }
11635
11714
  .sia-float-button-group--top.sia-float-button-group--menu > .sia-float-button-group__list {
11636
11715
  bottom: 100%;
@@ -11652,16 +11731,6 @@ body > .sia-title-tooltip[data-sia-popup-layer] {
11652
11731
  padding: 0 12px;
11653
11732
  flex-direction: row;
11654
11733
  }
11655
- @keyframes sia-float-menu-enter {
11656
- from {
11657
- opacity: 0;
11658
- transform: scale(.92);
11659
- }
11660
- to {
11661
- opacity: 1;
11662
- transform: scale(1);
11663
- }
11664
- }
11665
11734
  @media (prefers-reduced-motion: reduce) {
11666
11735
  .sia-float-button {
11667
11736
  transition: none;