@sia.soul/sia-react-ui 0.1.3 → 0.1.5

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 (44) hide show
  1. package/dist/{Select-CJJ5LQap.d.ts → Select-GiTHMScg.d.cts} +4 -5
  2. package/dist/{Select-CJJ5LQap.d.cts → Select-rtDktLYY.d.ts} +4 -5
  3. package/dist/chart.cjs +731 -707
  4. package/dist/chart.css +1 -1
  5. package/dist/chart.js +3 -2
  6. package/dist/{chunk-6VXOLMKZ.js → chunk-5ZTWY3PG.js} +18 -1
  7. package/dist/{chunk-2RRTDU3N.js → chunk-EJ23MVR6.js} +3 -18
  8. package/dist/chunk-EJDPRAU2.js +36 -0
  9. package/dist/{chunk-IMZT6VCU.js → chunk-IHTODT53.js} +8 -5
  10. package/dist/{chunk-R4OWKIXJ.js → chunk-MJUTLEEE.js} +20 -8
  11. package/dist/{chunk-OQLDEVCF.js → chunk-PX6BOFTW.js} +10 -3
  12. package/dist/{chunk-OAC7BSUR.js → chunk-R7BVDN3Q.js} +91 -43
  13. package/dist/{chunk-Q4XNFMUH.js → chunk-S2JAJCLN.js} +6 -4
  14. package/dist/{chunk-NZAT2RUM.js → chunk-WHARTF2I.js} +10 -1
  15. package/dist/{chunk-I342FGQY.js → chunk-Z3T6RDQP.js} +1 -1
  16. package/dist/{core-DFYheaoJ.d.ts → core-CBtbeAms.d.cts} +2 -1
  17. package/dist/{core-De2pRX5w.d.cts → core-D8BSMfHD.d.ts} +2 -1
  18. package/dist/core.cjs +275 -210
  19. package/dist/core.css +294 -41
  20. package/dist/core.d.cts +3 -2
  21. package/dist/core.d.ts +3 -2
  22. package/dist/core.js +6 -5
  23. package/dist/index.cjs +2709 -2434
  24. package/dist/index.css +295 -42
  25. package/dist/index.d.cts +23 -9
  26. package/dist/index.d.ts +23 -9
  27. package/dist/index.js +414 -224
  28. package/dist/markdown-editor.cjs +52 -20
  29. package/dist/markdown-editor.d.cts +3 -1
  30. package/dist/markdown-editor.d.ts +3 -1
  31. package/dist/markdown-editor.js +2 -1
  32. package/dist/rich-text-editor.cjs +884 -864
  33. package/dist/rich-text-editor.d.cts +3 -1
  34. package/dist/rich-text-editor.d.ts +3 -1
  35. package/dist/rich-text-editor.js +4 -3
  36. package/dist/{select-date-range-DOyG1DGp.d.ts → select-date-range-CQ1vmze_.d.ts} +7 -4
  37. package/dist/{select-date-range-UyYrHex6.d.cts → select-date-range-DRmGaEzP.d.cts} +7 -4
  38. package/dist/select-date-range.cjs +972 -903
  39. package/dist/select-date-range.d.cts +3 -2
  40. package/dist/select-date-range.d.ts +3 -2
  41. package/dist/select-date-range.js +4 -3
  42. package/dist/shared-DAYZvZVu.d.cts +5 -0
  43. package/dist/shared-DAYZvZVu.d.ts +5 -0
  44. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -1,3 +1,111 @@
1
+ /* src/floating-placeholder.css */
2
+ .sia-placeholder-floating {
3
+ position: relative;
4
+ }
5
+ .sia-select__trigger.sia-placeholder-floating {
6
+ overflow: visible;
7
+ }
8
+ .sia-floating-placeholder {
9
+ position: absolute;
10
+ z-index: 20;
11
+ top: var(--sia-placeholder-idle-top, 50%);
12
+ left: 7px;
13
+ box-sizing: border-box;
14
+ max-width: calc(100% - 42px);
15
+ overflow: hidden;
16
+ padding-inline: 4px;
17
+ color: var(--sia-color-text-secondary);
18
+ background: transparent;
19
+ pointer-events: none;
20
+ opacity: .65;
21
+ font: 400 var(--sia-font-size-small)/1 system-ui, sans-serif;
22
+ text-overflow: ellipsis;
23
+ white-space: nowrap;
24
+ transform: translateY(-50%);
25
+ transform-origin: left center;
26
+ transition:
27
+ top 160ms ease,
28
+ color 160ms ease,
29
+ background-color 160ms ease,
30
+ opacity 160ms ease,
31
+ transform 160ms ease;
32
+ }
33
+ .sia-placeholder-floating:focus-within > .sia-floating-placeholder,
34
+ .sia-placeholder-floating--filled > .sia-floating-placeholder,
35
+ .sia-placeholder-floating--active > .sia-floating-placeholder {
36
+ top: 0;
37
+ background: var(--sia-color-surface);
38
+ opacity: 1;
39
+ transform: translateY(-50%) scale(.85);
40
+ }
41
+ .sia-placeholder-floating:focus-within > .sia-floating-placeholder,
42
+ .sia-placeholder-floating--active > .sia-floating-placeholder {
43
+ color: var(--sia-color-primary);
44
+ }
45
+ .sia-placeholder-floating.sia-time-picker > input::placeholder,
46
+ .sia-placeholder-floating > input::placeholder,
47
+ .sia-placeholder-floating > textarea::placeholder {
48
+ color: transparent;
49
+ }
50
+ .sia-placeholder-floating > .sia-select__value.is-placeholder,
51
+ .sia-placeholder-floating > .sia-picker__trigger .is-placeholder,
52
+ .sia-placeholder-floating > .sia-tree-select__value .sia-tree-select__placeholder,
53
+ .sia-placeholder-floating > .sia-cascader__value .sia-cascader__placeholder {
54
+ color: transparent;
55
+ }
56
+ .sia-placeholder-floating.is-disabled > .sia-floating-placeholder,
57
+ .sia-placeholder-floating:disabled > .sia-floating-placeholder,
58
+ fieldset:disabled .sia-placeholder-floating > .sia-floating-placeholder {
59
+ background: var(--sia-color-control-hover);
60
+ }
61
+ .sia-form-item--error .sia-placeholder-floating > .sia-floating-placeholder,
62
+ .sia-select--error .sia-placeholder-floating > .sia-floating-placeholder,
63
+ .sia-tree-select--error .sia-placeholder-floating > .sia-floating-placeholder,
64
+ .sia-picker--error.sia-placeholder-floating > .sia-floating-placeholder,
65
+ .sia-textarea-control--error.sia-placeholder-floating > .sia-floating-placeholder {
66
+ color: var(--sia-color-error);
67
+ }
68
+ .sia-form-item--warning .sia-placeholder-floating > .sia-floating-placeholder,
69
+ .sia-select--warning .sia-placeholder-floating > .sia-floating-placeholder,
70
+ .sia-tree-select--warning .sia-placeholder-floating > .sia-floating-placeholder,
71
+ .sia-picker--warning.sia-placeholder-floating > .sia-floating-placeholder,
72
+ .sia-textarea-control--warning.sia-placeholder-floating > .sia-floating-placeholder {
73
+ color: var(--sia-color-warning);
74
+ }
75
+ .sia-textarea-control.sia-placeholder-floating {
76
+ --sia-placeholder-idle-top: 18px;
77
+ overflow: visible;
78
+ }
79
+ .sia-textarea-control > .sia-floating-placeholder {
80
+ max-width: calc(100% - 16px);
81
+ }
82
+ .sia-rich-text-editor.sia-placeholder-floating {
83
+ --sia-placeholder-idle-top: 66px;
84
+ overflow: visible;
85
+ }
86
+ .sia-rich-text-editor.sia-placeholder-floating .tiptap p.is-editor-empty:first-child::before {
87
+ content: none;
88
+ }
89
+ .sia-markdown-editor.sia-placeholder-floating {
90
+ --sia-placeholder-idle-top: 80px;
91
+ }
92
+ .sia-markdown-editor.sia-placeholder-floating [data-placeholder]::before {
93
+ content: none !important;
94
+ }
95
+ @media (prefers-reduced-motion: reduce) {
96
+ .sia-floating-placeholder {
97
+ transition: none;
98
+ }
99
+ }
100
+ .sia-rich-text-editor.sia-placeholder-floating > .sia-rich-text-editor__toolbar {
101
+ border-start-start-radius: inherit;
102
+ border-start-end-radius: inherit;
103
+ }
104
+ fieldset:disabled .sia-input-control__floating-placeholder,
105
+ fieldset:disabled .sia-input-number__floating-placeholder {
106
+ background: var(--sia-color-control-hover);
107
+ }
108
+
1
109
  /* src/styles.css */
2
110
  :root,
3
111
  [data-sia-theme=light] {
@@ -26,7 +134,7 @@
26
134
  --sia-font-size: 16px;
27
135
  --sia-font-size-small: 14px;
28
136
  --sia-font-size-large: 18px;
29
- --sia-shadow-popup: 0 10px 32px rgb(0 0 0 / 10%);
137
+ --sia-shadow-popup: 0 4px 12px rgb(0 0 0 / 22%);
30
138
  --sia-scroll-overflow: auto;
31
139
  --sia-scrollbar-thumb: rgb(82 82 82 / 68%);
32
140
  --sia-scrollbar-thumb-hover: rgb(64 64 64 / 82%);
@@ -48,7 +156,7 @@
48
156
  --sia-color-control-hover: #2d2d2d;
49
157
  --sia-color-control-active: #383838;
50
158
  --sia-color-focus-ring: rgb(60 135 230 / 28%);
51
- --sia-shadow-popup: 0 12px 36px rgb(0 0 0 / 35%);
159
+ --sia-shadow-popup: 0 4px 12px rgb(0 0 0 / 50%);
52
160
  --sia-scrollbar-thumb: rgb(174 174 174 / 62%);
53
161
  --sia-scrollbar-thumb-hover: rgb(205 205 205 / 78%);
54
162
  }
@@ -65,13 +173,31 @@
65
173
  }
66
174
  .sia-scrollbar-track {
67
175
  --sia-scrollbar-size: 3px;
176
+ --sia-scrollbar-hit-size: 10px;
177
+ --sia-scrollbar-proximity: 16;
68
178
  }
179
+ .sia-scrollbar-track > ::before {
180
+ content: "";
181
+ position: absolute;
182
+ top: 0;
183
+ right: 0;
184
+ width: var(--sia-scrollbar-hit-size);
185
+ height: 100%;
186
+ }
187
+ .sia-scrollbar-track:is(.sia-floating-scrollbar--horizontal, .sia-table__scrollbar--horizontal) > ::before {
188
+ top: auto;
189
+ bottom: 0;
190
+ width: 100%;
191
+ height: var(--sia-scrollbar-hit-size);
192
+ }
193
+ .sia-scrollbar-track[data-scrollbar-near=true],
69
194
  .sia-scrollbar-track:hover,
70
195
  .sia-scrollbar-track:has(> :active) {
71
- --sia-scrollbar-size: 6px;
196
+ --sia-scrollbar-size: 10px;
72
197
  }
73
198
  @media (prefers-reduced-motion: reduce) {
74
- .sia-scrollbar-track > * {
199
+ .sia-scrollbar-track > *,
200
+ .sia-scrollbar-track > *::after {
75
201
  transition: none !important;
76
202
  }
77
203
  }
@@ -104,7 +230,7 @@
104
230
  background: var(--sia-scrollbar-thumb);
105
231
  border: 1px solid rgb(255 255 255 / 24%);
106
232
  border-radius: 999px;
107
- box-shadow: 0 1px 2px rgb(0 0 0 / 14%);
233
+ box-shadow: 0 1px 1px rgb(0 0 0 / 24%);
108
234
  touch-action: none;
109
235
  transition: background-color 120ms ease;
110
236
  }
@@ -479,7 +605,7 @@
479
605
  .sia-input-control__floating-placeholder,
480
606
  .sia-input-number__floating-placeholder {
481
607
  position: absolute;
482
- z-index: 1;
608
+ z-index: 20;
483
609
  top: 50%;
484
610
  left: -4px;
485
611
  box-sizing: border-box;
@@ -522,6 +648,7 @@
522
648
  left: 7px;
523
649
  max-width: calc(100% - 7px);
524
650
  }
651
+ .sia-input-select.is-open .sia-input-control--floating .sia-input-control__floating-placeholder,
525
652
  .sia-input-control--floating:focus-within .sia-input-control__floating-placeholder,
526
653
  .sia-input-control--floating.is-filled .sia-input-control__floating-placeholder,
527
654
  .sia-input-number--floating:focus-within .sia-input-number__floating-placeholder,
@@ -1301,11 +1428,37 @@
1301
1428
  color: var(--sia-color-text-secondary);
1302
1429
  opacity: 0.7;
1303
1430
  }
1431
+ .sia-overflow-tags {
1432
+ position: relative;
1433
+ display: flex;
1434
+ align-items: center;
1435
+ flex: 1;
1436
+ min-width: 0;
1437
+ gap: 4px;
1438
+ overflow: hidden;
1439
+ white-space: nowrap;
1440
+ }
1441
+ .sia-overflow-tags > span:not(.sia-overflow-tags__measure),
1442
+ .sia-overflow-tags__measure > span {
1443
+ flex: 0 0 auto;
1444
+ }
1445
+ .sia-overflow-tags__rest {
1446
+ color: var(--sia-color-text-secondary);
1447
+ }
1448
+ .sia-overflow-tags__measure {
1449
+ position: absolute;
1450
+ top: 0;
1451
+ left: 0;
1452
+ display: flex;
1453
+ width: max-content;
1454
+ visibility: hidden;
1455
+ pointer-events: none;
1456
+ }
1304
1457
  .sia-select__tags {
1305
1458
  display: flex;
1306
1459
  align-items: center;
1307
1460
  flex: 1;
1308
- flex-wrap: wrap;
1461
+ flex-wrap: nowrap;
1309
1462
  gap: 3px;
1310
1463
  min-width: 0;
1311
1464
  }
@@ -1543,7 +1696,7 @@
1543
1696
  height: 20px;
1544
1697
  background-color: #fff;
1545
1698
  border-radius: 999px;
1546
- box-shadow: 0 1px 3px rgb(0 0 0 / 25%);
1699
+ box-shadow: 0 1px 2px rgb(0 0 0 / 35%);
1547
1700
  transition: left 160ms ease, width 160ms ease;
1548
1701
  }
1549
1702
  .sia-switch-input:checked + .sia-switch--standard {
@@ -1593,7 +1746,7 @@
1593
1746
  color: var(--sia-color-text-secondary);
1594
1747
  background-color: var(--sia-color-surface);
1595
1748
  border: 1px solid var(--sia-color-border);
1596
- box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
1749
+ box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
1597
1750
  }
1598
1751
  .sia-switch--segmented .sia-switch__thumb {
1599
1752
  top: 2px;
@@ -1601,7 +1754,7 @@
1601
1754
  width: calc(50% - 3px);
1602
1755
  height: 30px;
1603
1756
  background-color: var(--sia-color-primary);
1604
- box-shadow: 0 2px 6px rgb(22 119 255 / 28%);
1757
+ box-shadow: 0 1px 3px rgb(22 119 255 / 40%);
1605
1758
  }
1606
1759
  .sia-switch-input:checked + .sia-switch--segmented .sia-switch__thumb {
1607
1760
  left: calc(50% - 1px);
@@ -1648,7 +1801,7 @@
1648
1801
  background: var(--sia-color-surface);
1649
1802
  border: 1px solid var(--sia-color-border);
1650
1803
  border-radius: 999px;
1651
- box-shadow: 0 2px 8px rgb(0 0 0 / 8%);
1804
+ box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
1652
1805
  transition: border-color 160ms ease, box-shadow 160ms ease;
1653
1806
  }
1654
1807
  .sia-theme-switch:hover {
@@ -1665,7 +1818,7 @@
1665
1818
  height: 30px;
1666
1819
  background: var(--sia-color-primary);
1667
1820
  border-radius: 999px;
1668
- box-shadow: 0 2px 6px rgb(22 119 255 / 28%);
1821
+ box-shadow: 0 1px 3px rgb(22 119 255 / 40%);
1669
1822
  transition: transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
1670
1823
  }
1671
1824
  .sia-theme-switch--dark .sia-theme-switch__selection {
@@ -1838,16 +1991,16 @@
1838
1991
  will-change: translate, transform;
1839
1992
  }
1840
1993
  .sia-drawer--right[data-push-depth]:not([data-push-depth="0"]) {
1841
- box-shadow: -18px 0 42px rgb(15 23 42 / 22%);
1994
+ box-shadow: -6px 0 16px rgb(15 23 42 / 34%);
1842
1995
  }
1843
1996
  .sia-drawer--left[data-push-depth]:not([data-push-depth="0"]) {
1844
- box-shadow: 18px 0 42px rgb(15 23 42 / 22%);
1997
+ box-shadow: 6px 0 16px rgb(15 23 42 / 34%);
1845
1998
  }
1846
1999
  .sia-drawer--top[data-push-depth]:not([data-push-depth="0"]) {
1847
- box-shadow: 0 18px 42px rgb(15 23 42 / 22%);
2000
+ box-shadow: 0 6px 16px rgb(15 23 42 / 34%);
1848
2001
  }
1849
2002
  .sia-drawer--bottom[data-push-depth]:not([data-push-depth="0"]) {
1850
- box-shadow: 0 -18px 42px rgb(15 23 42 / 22%);
2003
+ box-shadow: 0 -6px 16px rgb(15 23 42 / 34%);
1851
2004
  }
1852
2005
  .sia-drawer--left,
1853
2006
  .sia-drawer--right {
@@ -2478,7 +2631,7 @@
2478
2631
  }
2479
2632
  .sia-tabs--pill .sia-tabs__tab[aria-selected=true] {
2480
2633
  background: var(--sia-color-surface);
2481
- box-shadow: 0 1px 3px rgb(0 0 0 / 8%);
2634
+ box-shadow: 0 1px 2px rgb(0 0 0 / 18%);
2482
2635
  }
2483
2636
  .sia-tabs--tech {
2484
2637
  --sia-tabs-tech-accent: var(--sia-color-primary);
@@ -2994,6 +3147,7 @@
2994
3147
  overflow: hidden;
2995
3148
  }
2996
3149
  .sia-table__viewport {
3150
+ isolation: isolate;
2997
3151
  min-width: 0;
2998
3152
  min-height: 0;
2999
3153
  flex: 1 1 auto;
@@ -3087,11 +3241,39 @@
3087
3241
  background: color-mix(in srgb, var(--sia-color-primary) 10%, transparent);
3088
3242
  outline: none;
3089
3243
  }
3090
- .sia-table__cell--ellipsis .sia-table__cell-content {
3244
+ .sia-table__cell--ellipsis > .sia-table__cell-content {
3245
+ position: relative;
3246
+ display: block;
3247
+ min-width: 0;
3248
+ height: auto;
3249
+ background: inherit;
3091
3250
  overflow: hidden;
3092
3251
  text-overflow: ellipsis;
3093
3252
  white-space: nowrap;
3094
3253
  }
3254
+ .sia-table__cell--ellipsis > .sia-table__cell-content > .sia-space {
3255
+ display: inline-flex;
3256
+ width: max-content;
3257
+ flex-wrap: nowrap !important;
3258
+ flex-direction: row;
3259
+ vertical-align: middle;
3260
+ }
3261
+ .sia-table__cell--ellipsis > .sia-table__cell-content > .sia-space > * {
3262
+ flex-shrink: 0;
3263
+ }
3264
+ .sia-table__cell--ellipsis > .sia-table__cell-content[data-content-overflow=true]::after {
3265
+ position: absolute;
3266
+ top: 0;
3267
+ right: 0;
3268
+ bottom: 0;
3269
+ display: grid;
3270
+ place-items: center end;
3271
+ width: 1.4em;
3272
+ content: "\2026";
3273
+ color: inherit;
3274
+ background: inherit;
3275
+ pointer-events: none;
3276
+ }
3095
3277
  .sia-table__cell--auto-width .sia-table__cell-content {
3096
3278
  white-space: nowrap;
3097
3279
  }
@@ -3216,13 +3398,19 @@
3216
3398
  right: 0;
3217
3399
  bottom: 0;
3218
3400
  left: 0;
3219
- height: 8px;
3401
+ height: 10px;
3402
+ }
3403
+ .sia-table[data-overflow-y=true] .sia-table__scrollbar--horizontal {
3404
+ right: 10px;
3405
+ }
3406
+ .sia-table[data-overflow-x=true] .sia-table__scrollbar--vertical {
3407
+ bottom: 10px;
3220
3408
  }
3221
3409
  .sia-table__scrollbar--vertical {
3222
3410
  top: 0;
3223
3411
  right: 0;
3224
3412
  bottom: 0;
3225
- width: 8px;
3413
+ width: 10px;
3226
3414
  }
3227
3415
  .sia-table[data-overflow-x=false] .sia-table__scrollbar--horizontal,
3228
3416
  .sia-table[data-overflow-y=false] .sia-table__scrollbar--vertical {
@@ -3236,30 +3424,47 @@
3236
3424
  .sia-table__scrollbar-thumb {
3237
3425
  position: absolute;
3238
3426
  cursor: default;
3427
+ touch-action: none;
3428
+ }
3429
+ .sia-table__scrollbar-thumb::after {
3430
+ position: absolute;
3431
+ right: 0;
3432
+ bottom: 0;
3433
+ content: "";
3434
+ pointer-events: none;
3239
3435
  background: rgb(82 82 82 / 68%);
3240
3436
  border-radius: 999px;
3241
- box-shadow: 0 0 0 1px rgb(255 255 255 / 22%);
3242
- touch-action: none;
3243
- transition: background-color 120ms ease;
3437
+ box-shadow: inset 0 0 0 1px rgb(255 255 255 / 22%);
3438
+ transition:
3439
+ background-color 120ms ease,
3440
+ width 150ms ease,
3441
+ height 150ms ease;
3244
3442
  }
3245
- .sia-table__scrollbar-thumb:hover {
3443
+ .sia-table__scrollbar[data-pointer-hover] .sia-table__scrollbar-thumb::after,
3444
+ .sia-table__scrollbar-thumb:hover::after {
3246
3445
  background: rgb(64 64 64 / 82%);
3247
3446
  }
3248
3447
  .sia-table__scrollbar--horizontal .sia-table__scrollbar-thumb {
3249
3448
  bottom: 0;
3250
3449
  left: 0;
3251
3450
  width: var(--sia-table-scrollbar-x-size, 0);
3252
- height: var(--sia-scrollbar-size);
3451
+ height: 100%;
3253
3452
  transform: translateX(var(--sia-table-scrollbar-x-position, 0));
3254
- transition: background-color 120ms ease, height 150ms ease;
3453
+ }
3454
+ .sia-table__scrollbar--horizontal .sia-table__scrollbar-thumb::after {
3455
+ width: 100%;
3456
+ height: var(--sia-scrollbar-size);
3255
3457
  }
3256
3458
  .sia-table__scrollbar--vertical .sia-table__scrollbar-thumb {
3257
3459
  top: 0;
3258
3460
  right: 0;
3259
- width: var(--sia-scrollbar-size);
3461
+ width: 100%;
3260
3462
  height: var(--sia-table-scrollbar-y-size, 0);
3261
3463
  transform: translateY(var(--sia-table-scrollbar-y-position, 0));
3262
- transition: background-color 120ms ease, width 150ms ease;
3464
+ }
3465
+ .sia-table__scrollbar--vertical .sia-table__scrollbar-thumb::after {
3466
+ width: var(--sia-scrollbar-size);
3467
+ height: 100%;
3263
3468
  }
3264
3469
  .sia-table__empty {
3265
3470
  position: absolute;
@@ -3402,6 +3607,9 @@
3402
3607
  cursor: ew-resize;
3403
3608
  touch-action: none;
3404
3609
  }
3610
+ .sia-table[data-overflow-y=true] .sia-table__header-cell[data-last-leaf-column=true] .sia-table__resize-handle {
3611
+ right: 12px;
3612
+ }
3405
3613
  .sia-table__resize-handle::after {
3406
3614
  position: absolute;
3407
3615
  top: 18%;
@@ -3878,6 +4086,33 @@
3878
4086
  visibility: hidden;
3879
4087
  }
3880
4088
  }
4089
+ .sia-table__settings-dropdown .sia-menu__item {
4090
+ min-height: 44px;
4091
+ padding: 10px 16px;
4092
+ gap: 12px;
4093
+ }
4094
+ .sia-table__settings-dropdown .sia-menu__divider {
4095
+ margin: 8px 12px;
4096
+ }
4097
+ .sia-table--borderless-toolbar {
4098
+ border: 0;
4099
+ }
4100
+ .sia-table--borderless-toolbar > .sia-table__toolbar {
4101
+ border: 0;
4102
+ }
4103
+ .sia-table--borderless-toolbar.sia-table--bordered > .sia-table__viewport-wrap {
4104
+ border: 1px solid var(--sia-color-border);
4105
+ border-radius: var(--sia-radius);
4106
+ }
4107
+ .sia-table--borderless-toolbar.sia-table--bordered:has(> .sia-table__footer) > .sia-table__viewport-wrap {
4108
+ border-bottom: 0;
4109
+ border-bottom-left-radius: 0;
4110
+ border-bottom-right-radius: 0;
4111
+ }
4112
+ .sia-table--borderless-toolbar.sia-table--bordered > .sia-table__footer {
4113
+ border: 1px solid var(--sia-color-border);
4114
+ border-radius: 0 0 var(--sia-radius) var(--sia-radius);
4115
+ }
3881
4116
 
3882
4117
  /* src/components-extra.css */
3883
4118
  .sia-flex {
@@ -3931,11 +4166,11 @@
3931
4166
  .sia-space-compact--vertical > *:not(:first-child) {
3932
4167
  margin-top: -1px;
3933
4168
  }
3934
- .sia-space-compact--horizontal > *:not(:first-child) :is(.sia-input, .sia-input-control, .sia-select, .sia-tree-select__trigger, .sia-picker, .sia-input-number) {
4169
+ .sia-space-compact--horizontal > *:not(:first-child) :is(.sia-input, .sia-input-control, .sia-select, .sia-select__trigger, .sia-cascader__trigger, .sia-tree-select__trigger, .sia-picker, .sia-input-number) {
3935
4170
  border-top-left-radius: 0;
3936
4171
  border-bottom-left-radius: 0;
3937
4172
  }
3938
- .sia-space-compact--horizontal > *:not(:last-child) :is(.sia-input, .sia-input-control, .sia-select, .sia-tree-select__trigger, .sia-picker, .sia-input-number) {
4173
+ .sia-space-compact--horizontal > *:not(:last-child) :is(.sia-input, .sia-input-control, .sia-select, .sia-select__trigger, .sia-cascader__trigger, .sia-tree-select__trigger, .sia-picker, .sia-input-number) {
3939
4174
  border-top-right-radius: 0;
3940
4175
  border-bottom-right-radius: 0;
3941
4176
  }
@@ -4142,7 +4377,7 @@
4142
4377
  .sia-window-frame {
4143
4378
  --sia-window-titlebar-height: 42px;
4144
4379
  --sia-window-control-width: 46px;
4145
- --sia-window-titlebar-shadow: 0 1px 0 color-mix(in srgb, var(--sia-color-border) 68%, transparent), 0 3px 10px color-mix(in srgb, var(--sia-color-text) 6%, transparent);
4380
+ --sia-window-titlebar-shadow: 0 1px 0 color-mix(in srgb, var(--sia-color-border) 68%, transparent), 0 1px 4px color-mix(in srgb, var(--sia-color-text) 14%, transparent);
4146
4381
  box-sizing: border-box;
4147
4382
  display: flex;
4148
4383
  width: 100%;
@@ -4522,7 +4757,7 @@
4522
4757
  background: var(--sia-color-surface);
4523
4758
  border: 3px solid var(--sia-color-primary);
4524
4759
  border-radius: 50%;
4525
- box-shadow: 0 1px 4px rgb(0 0 0 / 18%);
4760
+ box-shadow: 0 1px 2px rgb(0 0 0 / 28%);
4526
4761
  transition: box-shadow 140ms ease, transform 140ms ease;
4527
4762
  }
4528
4763
  .sia-slider__input::-webkit-slider-thumb:active {
@@ -4710,7 +4945,7 @@
4710
4945
  background: var(--sia-color-surface);
4711
4946
  border: 1px solid var(--sia-color-border);
4712
4947
  border-radius: 10px;
4713
- box-shadow: 0 10px 32px rgb(0 0 0 / 18%);
4948
+ box-shadow: var(--sia-shadow-popup);
4714
4949
  }
4715
4950
  .sia-color-picker__mode-row {
4716
4951
  display: flex;
@@ -4738,7 +4973,7 @@
4738
4973
  .sia-color-picker__modes button.is-active {
4739
4974
  color: var(--sia-color-text);
4740
4975
  background: var(--sia-color-surface);
4741
- box-shadow: 0 1px 4px rgb(0 0 0 / 12%);
4976
+ box-shadow: 0 1px 2px rgb(0 0 0 / 22%);
4742
4977
  }
4743
4978
  .sia-color-picker__none {
4744
4979
  position: relative;
@@ -5134,7 +5369,7 @@
5134
5369
  background: var(--sia-color-surface);
5135
5370
  border: 1px solid var(--sia-color-border);
5136
5371
  border-radius: 10px;
5137
- box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
5372
+ box-shadow: var(--sia-shadow-popup);
5138
5373
  }
5139
5374
  .sia-time-panel .sia-date-panel__time {
5140
5375
  grid-template-rows: 42px minmax(0, 1fr);
@@ -5695,6 +5930,10 @@
5695
5930
  }
5696
5931
  .sia-tree-select__tag {
5697
5932
  flex: 0 0 auto;
5933
+ max-width: 112px;
5934
+ overflow: hidden;
5935
+ text-overflow: ellipsis;
5936
+ white-space: nowrap;
5698
5937
  padding: 2px 6px;
5699
5938
  background: var(--sia-color-control-hover);
5700
5939
  border-radius: 4px;
@@ -5927,7 +6166,7 @@
5927
6166
  color: #fff;
5928
6167
  pointer-events: none;
5929
6168
  border-radius: 7px;
5930
- box-shadow: 0 6px 18px rgb(255 77 79 / 28%);
6169
+ box-shadow: 0 2px 8px rgb(255 77 79 / 40%);
5931
6170
  font-size: 12px;
5932
6171
  line-height: 1.45;
5933
6172
  }
@@ -6398,6 +6637,20 @@
6398
6637
  min-width: 34px;
6399
6638
  padding-inline: 8px;
6400
6639
  }
6640
+ .sia-dropdown-button > .sia-button--link + .sia-dropdown::before {
6641
+ position: absolute;
6642
+ top: 50%;
6643
+ inset-inline-start: 0;
6644
+ width: 1px;
6645
+ height: 1em;
6646
+ content: "";
6647
+ background: rgb(217, 217, 217);
6648
+ transform: translateY(-50%);
6649
+ pointer-events: none;
6650
+ }
6651
+ .sia-dropdown-button > .sia-button--link + .sia-dropdown > .sia-button {
6652
+ margin-inline-start: 0;
6653
+ }
6401
6654
  @keyframes sia-dropdown-popup-in {
6402
6655
  from {
6403
6656
  opacity: 0;
@@ -6637,7 +6890,7 @@ button.sia-pagination__total:disabled {
6637
6890
  .sia-segmented button.is-selected {
6638
6891
  color: var(--sia-color-text);
6639
6892
  background: var(--sia-color-surface);
6640
- box-shadow: 0 1px 4px rgb(0 0 0 / 10%);
6893
+ box-shadow: 0 1px 2px rgb(0 0 0 / 20%);
6641
6894
  }
6642
6895
  .sia-segmented--small button {
6643
6896
  min-height: 24px;
@@ -7017,7 +7270,7 @@ button.sia-pagination__total:disabled {
7017
7270
  padding: 5px 14px;
7018
7271
  color: #fff;
7019
7272
  background: var(--sia-color-primary);
7020
- box-shadow: 0 2px 4px rgb(0 0 0 / 14%);
7273
+ box-shadow: 0 1px 2px rgb(0 0 0 / 24%);
7021
7274
  }
7022
7275
  .sia-ribbon--end {
7023
7276
  right: -7px;
@@ -7460,7 +7713,7 @@ body > .sia-popup-portal[data-sia-popup-layer] {
7460
7713
  --sia-floating-arrow-border: rgb(255 255 255 / 72%);
7461
7714
  color: #181818;
7462
7715
  border: 1px solid var(--sia-floating-arrow-border);
7463
- box-shadow: 0 10px 30px rgb(0 0 0 / 48%), 0 0 0 1px rgb(0 0 0 / 12%);
7716
+ box-shadow: 0 4px 12px rgb(0 0 0 / 60%), 0 0 0 1px rgb(0 0 0 / 12%);
7464
7717
  }
7465
7718
  .sia-floating__arrow {
7466
7719
  position: absolute;
@@ -8440,7 +8693,7 @@ button.sia-treemap__tile:focus-visible,
8440
8693
  background: var(--sia-color-bg, white);
8441
8694
  border: 1px solid var(--sia-color-border, #ddd);
8442
8695
  border-radius: 6px;
8443
- box-shadow: 0 6px 24px #0002;
8696
+ box-shadow: var(--sia-shadow-popup);
8444
8697
  }
8445
8698
  .sia-selection-panel {
8446
8699
  min-width: 0;
@@ -8744,7 +8997,7 @@ button.sia-treemap__tile:focus-visible,
8744
8997
  cursor: pointer;
8745
8998
  background: var(--sia-color-surface);
8746
8999
  border: 1px solid color-mix(in srgb, var(--sia-color-border) 45%, transparent);
8747
- box-shadow: 0 6px 16px rgb(0 0 0 / 12%), 0 2px 4px rgb(0 0 0 / 6%);
9000
+ box-shadow: var(--sia-shadow-popup);
8748
9001
  transition:
8749
9002
  background 160ms ease,
8750
9003
  box-shadow 160ms ease,
@@ -9663,7 +9916,7 @@ button.sia-treemap__tile:focus-visible,
9663
9916
  background: var(--sia-color-surface);
9664
9917
  border: 2px solid var(--sia-color-primary);
9665
9918
  border-radius: 4px;
9666
- box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
9919
+ box-shadow: 0 1px 2px rgb(0 0 0 / 22%);
9667
9920
  pointer-events: auto;
9668
9921
  }
9669
9922
  .sia-chart-data-zoom input::-moz-range-thumb {