@smwb/ui-css 1.2.0 → 2.0.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.
Files changed (2) hide show
  1. package/dist/ui.css +1263 -55
  2. package/package.json +2 -2
package/dist/ui.css CHANGED
@@ -37,6 +37,32 @@
37
37
  padding: 12px;
38
38
  height: 48px;
39
39
  }
40
+ .smwb-appbar.smwb-appbar_variant-window {
41
+ -webkit-app-region: drag;
42
+ app-region: drag;
43
+ user-select: none;
44
+ --smwb-appbar-wc-left: env(titlebar-area-x, 0px);
45
+ --smwb-appbar-wc-right: calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, 100vw));
46
+ padding-left: calc(16px + var(--smwb-appbar-wc-left));
47
+ padding-right: calc(16px + var(--smwb-appbar-wc-right));
48
+ }
49
+ .smwb-appbar.smwb-appbar_variant-window.smwb-appbar_window-controls-left {
50
+ --smwb-appbar-wc-left: env(titlebar-area-x, var(--smui-appBarWindowControlsWidth, 64px));
51
+ }
52
+ .smwb-appbar.smwb-appbar_variant-window.smwb-appbar_window-controls-right {
53
+ --smwb-appbar-wc-right: calc(100vw - env(titlebar-area-x, 0px) - env(titlebar-area-width, calc(100vw - var(--smui-appBarWindowControlsWidth, 138px))));
54
+ }
55
+ .smwb-appbar.smwb-appbar_variant-window.smwb-appbar_window-controls-none {
56
+ --smwb-appbar-wc-left: 0px;
57
+ --smwb-appbar-wc-right: 0px;
58
+ }
59
+ .smwb-appbar.smwb-appbar_variant-window :where( a[href], button, input, select, textarea, label, summary, iframe, video[controls], [contenteditable]:not([contenteditable="false"]), [tabindex]:not([tabindex="-1"]), [role="button"], [role="link"], [role="menuitem"], [role="tab"], [role="checkbox"], [role="switch"], [role="radio"], [role="combobox"], [role="textbox"], [role="searchbox"], [role="slider"], [role="option"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="treeitem"], [role="spinbutton"], [role="gridcell"], [role="listbox"], [role="scrollbar"], .smwb-tooltip__wrapper, .smwb-appbar__no-drag, [data-no-drag]) {
60
+ -webkit-app-region: no-drag;
61
+ app-region: no-drag;
62
+ }
63
+ .smwb-appbar.smwb-appbar_variant-window.smwb-dense {
64
+ padding: 0 calc(16px + var(--smwb-appbar-wc-right)) 0 calc(16px + var(--smwb-appbar-wc-left));
65
+ }
40
66
  .smwb-appbar__inner {
41
67
  display: flex;
42
68
  align-items: center;
@@ -50,6 +76,10 @@
50
76
  gap: 10px;
51
77
  white-space: nowrap;
52
78
  }
79
+ .smwb-appbar__left__title {
80
+ margin: 0;
81
+ font: inherit;
82
+ }
53
83
  .smwb-appbar__right {
54
84
  white-space: nowrap;
55
85
  }
@@ -69,6 +99,17 @@
69
99
  .smwb-appbar__mid.smwb-left {
70
100
  align-items: flex-start;
71
101
  }
102
+ [data-smwb-overlay-layer],
103
+ .smwb-menu,
104
+ .smwb-tooltip,
105
+ .smwb-snackbars,
106
+ .smwb-chat-attachment-image__overlay,
107
+ .smwb-image-modal__overlay,
108
+ .smwb-thumb-card__preview,
109
+ .smwb-chat-shell {
110
+ -webkit-app-region: no-drag;
111
+ app-region: no-drag;
112
+ }
72
113
  .smwb-appbar_color-primary {
73
114
  background-color: var(--smui-primaryColor);
74
115
  color: var(--smui-onPrimaryColor);
@@ -128,14 +169,17 @@
128
169
  .smwb-button.smwb-small {
129
170
  font-size: 13px;
130
171
  padding: 4px 10px;
172
+ min-height: var(--smui-control-h-sm, 32px);
131
173
  }
132
174
  .smwb-button.smwb-medium {
133
175
  font-size: 14px;
134
176
  padding: 6px 14px;
177
+ min-height: var(--smui-control-h-md, 40px);
135
178
  }
136
179
  .smwb-button.smwb-large {
137
180
  font-size: 15px;
138
181
  padding: 8px 22px;
182
+ min-height: var(--smui-control-h-lg, 48px);
139
183
  }
140
184
  .smwb-button.smwb-contained {
141
185
  color: var(--smui-onPrimaryColor);
@@ -435,10 +479,29 @@
435
479
  .smwb-checkbox__input:checked:disabled ~ .smwb-checkbox__btn .smwb-checkbox__icon {
436
480
  color: var(--smui-disabledTextColor);
437
481
  }
482
+ .smwb-checkbox_size-small {
483
+ min-height: var(--smui-control-h-sm, 32px);
484
+ }
485
+ .smwb-checkbox_size-small .smwb-checkbox__btn,
486
+ .smwb-checkbox_size-small .smwb-checkbox__input {
487
+ width: 16px;
488
+ height: 16px;
489
+ }
490
+ .smwb-checkbox_size-medium {
491
+ min-height: var(--smui-control-h-md, 40px);
492
+ }
493
+ .smwb-checkbox_size-large {
494
+ min-height: var(--smui-control-h-lg, 48px);
495
+ }
496
+ .smwb-checkbox_size-large .smwb-checkbox__btn,
497
+ .smwb-checkbox_size-large .smwb-checkbox__input {
498
+ width: 22px;
499
+ height: 22px;
500
+ }
438
501
  .smwb-chip {
439
502
  position: relative;
440
503
  user-select: none;
441
- height: 32px;
504
+ min-height: var(--smui-control-h-sm, 32px);
442
505
  display: inline-flex;
443
506
  align-items: center;
444
507
  justify-content: center;
@@ -539,6 +602,7 @@
539
602
  }
540
603
  .smwb-chip_size-small {
541
604
  height: 24px;
605
+ min-height: 24px;
542
606
  padding: 0 8px;
543
607
  font-size: 0.75rem;
544
608
  }
@@ -1328,6 +1392,182 @@
1328
1392
  .smwb-meter_color-error {
1329
1393
  --smwb-meter-color: var(--smui-errorColor);
1330
1394
  }
1395
+ .smwb-diff-stat {
1396
+ --smwb-diff-stat-added: color-mix(in srgb, var(--smui-successColor) 55%, var(--smui-onSurfaceColor));
1397
+ --smwb-diff-stat-removed: color-mix(in srgb, var(--smui-errorColor) 55%, var(--smui-onSurfaceColor));
1398
+ --smwb-diff-stat-neutral: color-mix(in srgb, var(--smui-onSurfaceColor) 60%, transparent);
1399
+ display: inline-flex;
1400
+ align-items: center;
1401
+ gap: 4px;
1402
+ min-width: 0;
1403
+ font-size: 0.875rem;
1404
+ line-height: 1.4;
1405
+ font-variant-numeric: tabular-nums;
1406
+ white-space: nowrap;
1407
+ }
1408
+ .smwb-diff-stat__text {
1409
+ display: inline-flex;
1410
+ gap: 2px;
1411
+ font-weight: 600;
1412
+ }
1413
+ .smwb-diff-stat__added {
1414
+ color: var(--smwb-diff-stat-added);
1415
+ }
1416
+ .smwb-diff-stat__removed {
1417
+ color: var(--smwb-diff-stat-removed);
1418
+ }
1419
+ .smwb-diff-stat__bar {
1420
+ display: inline-flex;
1421
+ align-items: center;
1422
+ gap: 2px;
1423
+ }
1424
+ .smwb-diff-stat__cell {
1425
+ width: 5px;
1426
+ height: 10px;
1427
+ border-radius: 2px;
1428
+ border: 1px solid var(--smwb-diff-stat-neutral);
1429
+ box-sizing: border-box;
1430
+ }
1431
+ .smwb-diff-stat__cell_added {
1432
+ border-color: var(--smwb-diff-stat-added);
1433
+ background-color: var(--smwb-diff-stat-added);
1434
+ }
1435
+ .smwb-diff-stat__cell_removed {
1436
+ border-color: var(--smwb-diff-stat-removed);
1437
+ background-color: var(--smwb-diff-stat-removed);
1438
+ }
1439
+ .smwb-diff-stat_compact {
1440
+ font-size: 0.75rem;
1441
+ }
1442
+ .smwb-diff-stat_compact .smwb-diff-stat__cell {
1443
+ height: 8px;
1444
+ }
1445
+ .smwb-status-dot {
1446
+ --smwb-status-dot-color: var(--smui-onSurfaceVariant);
1447
+ display: inline-block;
1448
+ position: relative;
1449
+ flex: none;
1450
+ box-sizing: border-box;
1451
+ width: 12px;
1452
+ height: 12px;
1453
+ border-radius: 50%;
1454
+ background-color: var(--smwb-status-dot-color);
1455
+ vertical-align: middle;
1456
+ }
1457
+ .smwb-status-dot_size-sm {
1458
+ width: 8px;
1459
+ height: 8px;
1460
+ }
1461
+ .smwb-status-dot_status-active {
1462
+ --smwb-status-dot-color: var(--smui-infoColor);
1463
+ }
1464
+ .smwb-status-dot_status-attention {
1465
+ --smwb-status-dot-color: var(--smui-warningColor);
1466
+ }
1467
+ .smwb-status-dot_status-idle {
1468
+ --smwb-status-dot-color: var(--smui-onSurfaceVariant);
1469
+ }
1470
+ .smwb-status-dot_status-done {
1471
+ --smwb-status-dot-color: var(--smui-successColor);
1472
+ }
1473
+ .smwb-status-dot_status-error {
1474
+ --smwb-status-dot-color: var(--smui-errorColor);
1475
+ }
1476
+ .smwb-status-dot_status-unknown {
1477
+ --smwb-status-dot-color: var(--smui-outlineColor);
1478
+ background-color: transparent;
1479
+ border: 2px solid var(--smwb-status-dot-color);
1480
+ }
1481
+ .smwb-status-dot_color-default {
1482
+ --smwb-status-dot-color: var(--smui-onSurfaceVariant);
1483
+ }
1484
+ .smwb-status-dot_color-primary {
1485
+ --smwb-status-dot-color: var(--smui-primaryColor);
1486
+ }
1487
+ .smwb-status-dot_color-secondary {
1488
+ --smwb-status-dot-color: var(--smui-secondaryColor);
1489
+ }
1490
+ .smwb-status-dot_color-error {
1491
+ --smwb-status-dot-color: var(--smui-errorColor);
1492
+ }
1493
+ .smwb-status-dot_color-success {
1494
+ --smwb-status-dot-color: var(--smui-successColor);
1495
+ }
1496
+ .smwb-status-dot_color-warning {
1497
+ --smwb-status-dot-color: var(--smui-warningColor);
1498
+ }
1499
+ .smwb-status-dot_color-info {
1500
+ --smwb-status-dot-color: var(--smui-infoColor);
1501
+ }
1502
+ .smwb-status-dot_pulse::after {
1503
+ content: "";
1504
+ position: absolute;
1505
+ inset: 0;
1506
+ border-radius: inherit;
1507
+ background-color: var(--smwb-status-dot-color);
1508
+ opacity: 0;
1509
+ pointer-events: none;
1510
+ }
1511
+ .smwb-status-dot_status-unknown.smwb-status-dot_pulse::after {
1512
+ inset: -2px;
1513
+ background-color: transparent;
1514
+ border: 2px solid var(--smwb-status-dot-color);
1515
+ }
1516
+ @media (prefers-reduced-motion: no-preference) {
1517
+ .smwb-status-dot_pulse::after {
1518
+ animation: smwb-status-dot-pulse 1.6s ease-out infinite;
1519
+ }
1520
+ }
1521
+ @keyframes smwb-status-dot-pulse {
1522
+ 0% {
1523
+ transform: scale(1);
1524
+ opacity: 0.5;
1525
+ }
1526
+ 100% {
1527
+ transform: scale(2.4);
1528
+ opacity: 0;
1529
+ }
1530
+ }
1531
+ @media (forced-colors: active) {
1532
+ .smwb-status-dot {
1533
+ background-color: CanvasText;
1534
+ }
1535
+ .smwb-status-dot_status-unknown {
1536
+ background-color: transparent;
1537
+ border-color: CanvasText;
1538
+ }
1539
+ .smwb-status-dot_pulse::after {
1540
+ background-color: CanvasText;
1541
+ }
1542
+ .smwb-status-dot_status-unknown.smwb-status-dot_pulse::after {
1543
+ background-color: transparent;
1544
+ border-color: CanvasText;
1545
+ }
1546
+ }
1547
+ .smwb-qr-code {
1548
+ display: inline-flex;
1549
+ flex-direction: column;
1550
+ align-items: center;
1551
+ gap: 8px;
1552
+ margin: 0;
1553
+ }
1554
+ .smwb-qr-code__image {
1555
+ border-radius: 4px;
1556
+ overflow: hidden;
1557
+ forced-color-adjust: none;
1558
+ print-color-adjust: exact;
1559
+ }
1560
+ .smwb-qr-code__light {
1561
+ fill: #ffffff;
1562
+ }
1563
+ .smwb-qr-code__dark {
1564
+ fill: #000000;
1565
+ }
1566
+ .smwb-qr-code__caption {
1567
+ color: var(--smui-onSurfaceVariant);
1568
+ font-size: 0.8125rem;
1569
+ text-align: center;
1570
+ }
1331
1571
  .smwb-radio {
1332
1572
  display: inline-flex;
1333
1573
  gap: 20px;
@@ -1453,6 +1693,27 @@
1453
1693
  pointer-events: none;
1454
1694
  color: var(--smui-primaryTextColor);
1455
1695
  }
1696
+ .smwb-radio_size-small {
1697
+ min-height: var(--smui-control-h-sm, 32px);
1698
+ }
1699
+ .smwb-radio_size-small .smwb-radio__btn {
1700
+ width: 16px;
1701
+ height: 16px;
1702
+ }
1703
+ .smwb-radio_size-small .smwb-radio__btn::after {
1704
+ width: 8px;
1705
+ height: 8px;
1706
+ }
1707
+ .smwb-radio_size-medium {
1708
+ min-height: var(--smui-control-h-md, 40px);
1709
+ }
1710
+ .smwb-radio_size-large {
1711
+ min-height: var(--smui-control-h-lg, 48px);
1712
+ }
1713
+ .smwb-radio_size-large .smwb-radio__btn {
1714
+ width: 22px;
1715
+ height: 22px;
1716
+ }
1456
1717
  @keyframes ping {
1457
1718
  75%,
1458
1719
  100% {
@@ -1509,6 +1770,20 @@
1509
1770
  .smwb-sidebar.smwb-compactMini .smwb-nav-item__title {
1510
1771
  display: none;
1511
1772
  }
1773
+ .smwb-sidebar.smwb-sidebar_contained {
1774
+ position: relative;
1775
+ top: auto;
1776
+ left: auto;
1777
+ height: 100%;
1778
+ min-height: 0;
1779
+ align-self: stretch;
1780
+ flex-shrink: 0;
1781
+ overflow-y: auto;
1782
+ overflow-x: hidden;
1783
+ }
1784
+ .smwb-sidebar.smwb-sidebar_contained .smwb-nav-item {
1785
+ overflow: hidden;
1786
+ }
1512
1787
  .smwb-sidebar__collapse {
1513
1788
  width: 100%;
1514
1789
  display: flex;
@@ -1551,6 +1826,9 @@
1551
1826
  align-items: center;
1552
1827
  gap: 5px;
1553
1828
  }
1829
+ .smwb-sidebar__nav .smwb-nav-item {
1830
+ flex-shrink: 0;
1831
+ }
1554
1832
  .smwb-sidebar .smwb-nav-item {
1555
1833
  position: relative;
1556
1834
  color: var(--smui-primaryTextColor);
@@ -1883,6 +2161,10 @@
1883
2161
  }
1884
2162
  .smwb-text-field__input:not(.smwb-text-field__input--inline) {
1885
2163
  padding: 16px 16px 17px;
2164
+ padding-top: 0;
2165
+ padding-bottom: 0;
2166
+ box-sizing: border-box;
2167
+ min-height: var(--smui-control-h-md, 40px);
1886
2168
  }
1887
2169
  .smwb-text-field__input::placeholder {
1888
2170
  opacity: 0;
@@ -2086,19 +2368,33 @@
2086
2368
  width: 100%;
2087
2369
  min-width: 0;
2088
2370
  }
2371
+ .smwb-text-field:not(.smwb-text-field--filled) .smwb-text-field__label:not(.smwb-text-field__label--shrink) {
2372
+ transform: translate(16px, calc((var(--smui-control-h-md, 40px) - 23px) / 2));
2373
+ }
2089
2374
  .smwb-text-field_size-small .smwb-text-field__input:not(.smwb-text-field__input--inline) {
2090
- padding-top: 8px;
2091
- padding-bottom: 9px;
2375
+ padding-top: 0;
2376
+ padding-bottom: 0;
2377
+ min-height: var(--smui-control-h-sm, 32px);
2092
2378
  font-size: 13px;
2093
2379
  }
2094
2380
  .smwb-text-field_size-small:not(.smwb-text-field--filled) .smwb-text-field__label:not(.smwb-text-field__label--shrink) {
2095
- transform: translate(16px, 8px);
2381
+ transform: translate(16px, calc((var(--smui-control-h-sm, 32px) - 23px) / 2));
2096
2382
  }
2097
2383
  .smwb-text-field_size-large .smwb-text-field__input:not(.smwb-text-field__input--inline) {
2098
- padding-top: 16px;
2099
- padding-bottom: 16px;
2384
+ padding-top: 0;
2385
+ padding-bottom: 0;
2386
+ min-height: var(--smui-control-h-lg, 48px);
2100
2387
  font-size: 16px;
2101
2388
  }
2389
+ .smwb-text-field_size-large:not(.smwb-text-field--filled) .smwb-text-field__label:not(.smwb-text-field__label--shrink) {
2390
+ transform: translate(16px, calc((var(--smui-control-h-lg, 48px) - 23px) / 2));
2391
+ }
2392
+ .smwb-text-field--filled .smwb-text-field__input:not(.smwb-text-field__input--inline) {
2393
+ box-sizing: content-box;
2394
+ min-height: 0;
2395
+ padding-top: 23px;
2396
+ padding-bottom: 10px;
2397
+ }
2102
2398
  .smwb-toggle {
2103
2399
  width: 50px;
2104
2400
  height: 30px;
@@ -2119,6 +2415,18 @@
2119
2415
  flex-direction: row-reverse;
2120
2416
  align-items: center;
2121
2417
  }
2418
+ .smwb-toggle__wrapper:has(.smwb-toggle_size-small) {
2419
+ min-height: var(--smui-control-h-sm, 32px);
2420
+ justify-content: center;
2421
+ }
2422
+ .smwb-toggle__wrapper:has(.smwb-toggle_size-medium) {
2423
+ min-height: var(--smui-control-h-md, 40px);
2424
+ justify-content: center;
2425
+ }
2426
+ .smwb-toggle__wrapper:has(.smwb-toggle_size-large) {
2427
+ min-height: var(--smui-control-h-lg, 48px);
2428
+ justify-content: center;
2429
+ }
2122
2430
  .smwb-toggle.smwb-disabled {
2123
2431
  opacity: 0.35;
2124
2432
  pointer-events: none;
@@ -2370,6 +2678,29 @@
2370
2678
  opacity: 0.38;
2371
2679
  cursor: default;
2372
2680
  }
2681
+ .smwb-tabs__overflow-trigger {
2682
+ display: inline-flex;
2683
+ align-items: center;
2684
+ justify-content: center;
2685
+ flex: 0 0 auto;
2686
+ width: 40px;
2687
+ padding: 0;
2688
+ border: none;
2689
+ background: none;
2690
+ color: var(--smui-onSurfaceVariant);
2691
+ cursor: pointer;
2692
+ }
2693
+ .smwb-tabs__overflow-trigger:hover:not(:disabled) {
2694
+ background-color: var(--smui-onSurfaceHover);
2695
+ }
2696
+ .smwb-tabs__overflow-trigger:focus-visible {
2697
+ outline: 2px solid var(--smui-primaryColor);
2698
+ outline-offset: -2px;
2699
+ }
2700
+ .smwb-tabs__overflow-trigger:disabled {
2701
+ opacity: 0.38;
2702
+ cursor: default;
2703
+ }
2373
2704
  .smwb-tabs__indicator {
2374
2705
  display: flex;
2375
2706
  justify-content: center;
@@ -2430,6 +2761,10 @@
2430
2761
  opacity: 0.12;
2431
2762
  transition-duration: 75ms;
2432
2763
  }
2764
+ .smwb-tab:focus-visible {
2765
+ outline: 2px solid var(--smui-primaryColor);
2766
+ outline-offset: -2px;
2767
+ }
2433
2768
  .smwb-tab__content {
2434
2769
  position: relative;
2435
2770
  display: flex;
@@ -2482,12 +2817,103 @@
2482
2817
  pointer-events: none;
2483
2818
  cursor: default;
2484
2819
  }
2820
+ .smwb-tab-item {
2821
+ position: relative;
2822
+ display: flex;
2823
+ align-items: center;
2824
+ flex: 1 0 auto;
2825
+ }
2826
+ .smwb-tab-item:before {
2827
+ position: absolute;
2828
+ inset: 0;
2829
+ opacity: 0;
2830
+ content: "";
2831
+ pointer-events: none;
2832
+ transition: opacity 15ms linear;
2833
+ background-color: #6750a4;
2834
+ }
2835
+ .smwb-tab-item:hover:not(.smwb-tab-item--disabled):before {
2836
+ opacity: 0.04;
2837
+ }
2838
+ .smwb-tab-item > .smwb-tab:hover:before {
2839
+ opacity: 0;
2840
+ }
2841
+ .smwb-tab-item > .smwb-tab:focus:before {
2842
+ opacity: 0.12;
2843
+ }
2844
+ .smwb-tab-item > .smwb-tab:not(:last-child) {
2845
+ padding-right: 8px;
2846
+ }
2847
+ .smwb-tab__close,
2848
+ .smwb-tab__actions {
2849
+ position: relative;
2850
+ z-index: 1;
2851
+ flex: 0 0 auto;
2852
+ margin-right: 4px;
2853
+ }
2854
+ .smwb-tab__actions {
2855
+ display: inline-flex;
2856
+ align-items: center;
2857
+ }
2858
+ .smwb-tab__close {
2859
+ display: inline-flex;
2860
+ align-items: center;
2861
+ justify-content: center;
2862
+ box-sizing: border-box;
2863
+ width: 24px;
2864
+ height: 24px;
2865
+ padding: 0;
2866
+ border: none;
2867
+ border-radius: 50%;
2868
+ background: none;
2869
+ color: var(--smui-onSurfaceVariant);
2870
+ cursor: pointer;
2871
+ }
2872
+ .smwb-tab__close:hover:not(:disabled) {
2873
+ background-color: var(--smui-onSurfaceHover);
2874
+ }
2875
+ .smwb-tab__close:focus-visible {
2876
+ outline: 2px solid var(--smui-primaryColor);
2877
+ outline-offset: -2px;
2878
+ }
2879
+ .smwb-tab__close:disabled {
2880
+ opacity: 0.38;
2881
+ cursor: default;
2882
+ }
2485
2883
  .smwb-tabs--dense .smwb-tab {
2486
2884
  padding: 0 12px;
2487
2885
  font-weight: 500;
2488
2886
  letter-spacing: normal;
2489
2887
  text-transform: none;
2490
2888
  }
2889
+ .smwb-tabs .smwb-tab__close {
2890
+ opacity: 0;
2891
+ pointer-events: none;
2892
+ transition: opacity 0.15s linear;
2893
+ }
2894
+ .smwb-tabs .smwb-tab-item:hover:not(.smwb-tab-item--disabled) .smwb-tab__close:not(:disabled),
2895
+ .smwb-tabs .smwb-tab-item--active .smwb-tab__close:not(:disabled),
2896
+ .smwb-tabs .smwb-tab-item:focus-within .smwb-tab__close:not(:disabled) {
2897
+ opacity: 1;
2898
+ pointer-events: auto;
2899
+ }
2900
+ .smwb-tabs .smwb-tab-item--dragging {
2901
+ opacity: 0.6;
2902
+ }
2903
+ .smwb-tabs .smwb-tab-item--drop-target:after {
2904
+ content: "";
2905
+ position: absolute;
2906
+ top: 0;
2907
+ bottom: 0;
2908
+ left: 0;
2909
+ width: 2px;
2910
+ background-color: var(--smui-primaryColor);
2911
+ pointer-events: none;
2912
+ }
2913
+ .smwb-tab-panel:focus-visible {
2914
+ outline: 2px solid var(--smui-primaryColor);
2915
+ outline-offset: -2px;
2916
+ }
2491
2917
  .smwb-slider {
2492
2918
  display: inline-block;
2493
2919
  position: relative;
@@ -2787,6 +3213,9 @@
2787
3213
  }
2788
3214
  .smwb-select-field:not(.smwb-select-field--inline) {
2789
3215
  padding: 16px;
3216
+ padding-top: calc((var(--smui-control-h-md, 40px) - 24px) / 2);
3217
+ padding-bottom: calc((var(--smui-control-h-md, 40px) - 24px) / 2);
3218
+ min-height: var(--smui-control-h-md, 40px);
2790
3219
  }
2791
3220
  .smwb-select-field:not(.smwb-select-field--inline).smwb-select-field--filled {
2792
3221
  padding: 22px 16px 10px 16px;
@@ -2972,15 +3401,23 @@
2972
3401
  opacity: 0.12;
2973
3402
  }
2974
3403
  .smwb-text-field_size-small .smwb-select-field:not(.smwb-select-field--inline) {
2975
- padding-top: 8px;
2976
- padding-bottom: 8px;
3404
+ padding-top: calc((var(--smui-control-h-sm, 32px) - 24px) / 2);
3405
+ padding-bottom: calc((var(--smui-control-h-sm, 32px) - 24px) / 2);
3406
+ min-height: var(--smui-control-h-sm, 32px);
2977
3407
  font-size: 13px;
2978
3408
  }
2979
3409
  .smwb-text-field_size-large .smwb-select-field:not(.smwb-select-field--inline) {
2980
- padding-top: 16px;
2981
- padding-bottom: 16px;
3410
+ padding-top: calc((var(--smui-control-h-lg, 48px) - 24px) / 2);
3411
+ padding-bottom: calc((var(--smui-control-h-lg, 48px) - 24px) / 2);
3412
+ min-height: var(--smui-control-h-lg, 48px);
2982
3413
  font-size: 16px;
2983
3414
  }
3415
+ .smwb-select-field--filled:not(.smwb-select-field--inline),
3416
+ .smwb-text-field_size-small .smwb-select-field--filled:not(.smwb-select-field--inline),
3417
+ .smwb-text-field_size-large .smwb-select-field--filled:not(.smwb-select-field--inline) {
3418
+ min-height: 0;
3419
+ padding: 22px 16px 10px 16px;
3420
+ }
2984
3421
  .smwb-ripple {
2985
3422
  position: absolute;
2986
3423
  inset: 0;
@@ -3076,10 +3513,43 @@
3076
3513
  padding-top: 4px;
3077
3514
  padding-bottom: 4px;
3078
3515
  }
3079
- .smwb-list__subheader {
3080
- padding: 8px 16px;
3081
- color: var(--smui-onSurfaceVariant);
3082
- font-size: 0.8125rem;
3516
+ .smwb-list__item.smwb-list__item_link,
3517
+ .smwb-list_dense .smwb-list__item.smwb-list__item_link {
3518
+ padding: 0;
3519
+ gap: 0;
3520
+ }
3521
+ .smwb-list__item_link > .smwb-list__item__end {
3522
+ padding-right: 16px;
3523
+ }
3524
+ .smwb-list__item_link > .smwb-list__item__end:empty {
3525
+ display: none;
3526
+ }
3527
+ .smwb-list__item__link {
3528
+ display: flex;
3529
+ align-items: center;
3530
+ align-self: stretch;
3531
+ flex: auto;
3532
+ min-width: 0;
3533
+ min-height: inherit;
3534
+ box-sizing: border-box;
3535
+ gap: 20px;
3536
+ padding: 8px 16px;
3537
+ color: inherit;
3538
+ text-decoration: none;
3539
+ }
3540
+ .smwb-list__item__link:focus-visible {
3541
+ outline: 2px solid var(--smui-primaryColor);
3542
+ outline-offset: -2px;
3543
+ }
3544
+ .smwb-list_dense .smwb-list__item__link,
3545
+ .smwb-list__item_dense > .smwb-list__item__link {
3546
+ padding-top: 4px;
3547
+ padding-bottom: 4px;
3548
+ }
3549
+ .smwb-list__subheader {
3550
+ padding: 8px 16px;
3551
+ color: var(--smui-onSurfaceVariant);
3552
+ font-size: 0.8125rem;
3083
3553
  font-weight: 600;
3084
3554
  text-transform: uppercase;
3085
3555
  letter-spacing: 0.04em;
@@ -4239,6 +4709,234 @@
4239
4709
  opacity: 0;
4240
4710
  }
4241
4711
  }
4712
+ .smwb-kbd {
4713
+ position: relative;
4714
+ display: inline-flex;
4715
+ align-items: center;
4716
+ gap: 2px;
4717
+ flex-shrink: 0;
4718
+ font-family: inherit;
4719
+ font-size: inherit;
4720
+ line-height: 1;
4721
+ white-space: nowrap;
4722
+ }
4723
+ .smwb-kbd__key {
4724
+ box-sizing: border-box;
4725
+ display: inline-flex;
4726
+ align-items: center;
4727
+ justify-content: center;
4728
+ min-width: 1.5em;
4729
+ height: 1.5em;
4730
+ padding: 0 0.375em;
4731
+ border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
4732
+ border-radius: 4px;
4733
+ background-color: color-mix(in srgb, currentColor 10%, transparent);
4734
+ font-family: inherit;
4735
+ font-size: inherit;
4736
+ font-weight: 500;
4737
+ line-height: 1;
4738
+ color: inherit;
4739
+ user-select: none;
4740
+ }
4741
+ @media (forced-colors: active) {
4742
+ .smwb-kbd__key {
4743
+ border-color: currentColor;
4744
+ }
4745
+ }
4746
+ .smwb-kbd__separator {
4747
+ opacity: 0.7;
4748
+ user-select: none;
4749
+ }
4750
+ .smwb-kbd__text {
4751
+ position: absolute;
4752
+ width: 1px;
4753
+ height: 1px;
4754
+ margin: -1px;
4755
+ padding: 0;
4756
+ overflow: hidden;
4757
+ clip: rect(0 0 0 0);
4758
+ white-space: nowrap;
4759
+ border: 0;
4760
+ }
4761
+ .smwb-modal__overlay > .smwb-modal.smwb-command-palette {
4762
+ width: min(640px, calc(100vw - 32px));
4763
+ height: auto;
4764
+ min-height: 0;
4765
+ max-height: min(560px, calc(100vh - 2 * min(12vh, 96px)));
4766
+ overflow: hidden;
4767
+ padding: 0;
4768
+ border-radius: 16px;
4769
+ margin-block: min(12vh, 96px) auto;
4770
+ }
4771
+ @media (max-width: 600px) {
4772
+ .smwb-modal__overlay > .smwb-modal.smwb-command-palette {
4773
+ margin-block-start: 16px;
4774
+ }
4775
+ }
4776
+ .smwb-command-palette__panel {
4777
+ display: flex;
4778
+ flex-direction: column;
4779
+ flex: 1 1 auto;
4780
+ min-height: 0;
4781
+ }
4782
+ .smwb-command-palette__search {
4783
+ display: flex;
4784
+ align-items: center;
4785
+ gap: 8px;
4786
+ padding: 12px 16px;
4787
+ border-bottom: 1px solid var(--smui-dividerColor);
4788
+ }
4789
+ .smwb-command-palette__search-icon {
4790
+ display: inline-flex;
4791
+ flex-shrink: 0;
4792
+ color: var(--smui-onSurfaceVariant);
4793
+ }
4794
+ .smwb-command-palette__input {
4795
+ flex: 1;
4796
+ min-width: 0;
4797
+ border: 0;
4798
+ background: transparent;
4799
+ font: inherit;
4800
+ font-size: 1rem;
4801
+ line-height: 1.5;
4802
+ color: var(--smui-onSurfaceColor);
4803
+ outline: none;
4804
+ }
4805
+ .smwb-command-palette__input::placeholder {
4806
+ color: var(--smui-onSurfaceVariant);
4807
+ opacity: 1;
4808
+ }
4809
+ .smwb-command-palette__results {
4810
+ flex: 1 1 auto;
4811
+ min-height: 0;
4812
+ overflow-y: auto;
4813
+ overscroll-behavior: contain;
4814
+ padding: 4px 0;
4815
+ }
4816
+ .smwb-command-palette__listbox,
4817
+ .smwb-command-palette__group-options {
4818
+ list-style: none;
4819
+ margin: 0;
4820
+ padding: 0;
4821
+ }
4822
+ .smwb-command-palette__group-label {
4823
+ padding: 8px 16px 4px;
4824
+ font-size: 12px;
4825
+ font-weight: 600;
4826
+ text-transform: uppercase;
4827
+ letter-spacing: 0.04em;
4828
+ color: var(--smui-onSurfaceVariant);
4829
+ }
4830
+ .smwb-command-palette__item {
4831
+ position: relative;
4832
+ display: grid;
4833
+ grid-template-columns: auto minmax(0, 1fr) auto;
4834
+ align-items: center;
4835
+ gap: 12px;
4836
+ min-height: 44px;
4837
+ padding: 4px 16px;
4838
+ margin: 0 4px;
4839
+ border-radius: 4px;
4840
+ cursor: pointer;
4841
+ color: var(--smui-onSurfaceColor);
4842
+ }
4843
+ .smwb-command-palette__item::before {
4844
+ content: "";
4845
+ position: absolute;
4846
+ inset: 0;
4847
+ border-radius: inherit;
4848
+ background: currentColor;
4849
+ opacity: 0;
4850
+ pointer-events: none;
4851
+ }
4852
+ .smwb-command-palette__item:hover:not(.smwb-command-palette__item_active):not(.smwb-command-palette__item_disabled)::before {
4853
+ opacity: 0.08;
4854
+ }
4855
+ .smwb-command-palette__item_active {
4856
+ outline: 2px solid var(--smui-primaryColor);
4857
+ outline-offset: -2px;
4858
+ }
4859
+ .smwb-command-palette__item_active::before {
4860
+ opacity: 0.12;
4861
+ }
4862
+ @media (forced-colors: active) {
4863
+ .smwb-command-palette__item_active {
4864
+ outline-color: Highlight;
4865
+ }
4866
+ }
4867
+ .smwb-command-palette__item_disabled {
4868
+ color: var(--smui-disabledTextColor);
4869
+ cursor: default;
4870
+ }
4871
+ .smwb-command-palette__item-icon {
4872
+ grid-column: 1;
4873
+ display: inline-flex;
4874
+ align-items: center;
4875
+ justify-content: center;
4876
+ width: 20px;
4877
+ height: 20px;
4878
+ color: var(--smui-onSurfaceVariant);
4879
+ }
4880
+ .smwb-command-palette__item-text {
4881
+ grid-column: 2;
4882
+ min-width: 0;
4883
+ }
4884
+ .smwb-command-palette__item:not(:has(> .smwb-command-palette__item-icon)) > .smwb-command-palette__item-text {
4885
+ grid-column: 1 / 3;
4886
+ }
4887
+ .smwb-command-palette__item-label {
4888
+ display: block;
4889
+ overflow: hidden;
4890
+ text-overflow: ellipsis;
4891
+ white-space: nowrap;
4892
+ }
4893
+ .smwb-command-palette__item-subtitle {
4894
+ display: block;
4895
+ overflow: hidden;
4896
+ text-overflow: ellipsis;
4897
+ white-space: nowrap;
4898
+ font-size: 0.8125rem;
4899
+ color: var(--smui-onSurfaceVariant);
4900
+ }
4901
+ .smwb-command-palette__item-shortcut.smwb-kbd {
4902
+ grid-column: 3;
4903
+ font-size: 0.75rem;
4904
+ color: var(--smui-onSurfaceVariant);
4905
+ }
4906
+ .smwb-command-palette__loading-row {
4907
+ display: grid;
4908
+ grid-template-columns: auto minmax(0, 1fr) auto;
4909
+ align-items: center;
4910
+ gap: 12px;
4911
+ min-height: 44px;
4912
+ padding: 4px 16px;
4913
+ margin: 0 4px;
4914
+ }
4915
+ .smwb-command-palette__message {
4916
+ padding: 16px 20px;
4917
+ text-align: center;
4918
+ color: var(--smui-onSurfaceVariant);
4919
+ }
4920
+ .smwb-command-palette__message_error {
4921
+ color: var(--smui-errorColor);
4922
+ }
4923
+ .smwb-command-palette__footer {
4924
+ display: flex;
4925
+ align-items: center;
4926
+ gap: 12px;
4927
+ padding: 8px 16px;
4928
+ border-top: 1px solid var(--smui-dividerColor);
4929
+ font-size: 0.75rem;
4930
+ color: var(--smui-onSurfaceVariant);
4931
+ }
4932
+ .smwb-command-palette__status {
4933
+ position: absolute;
4934
+ width: 1px;
4935
+ height: 1px;
4936
+ overflow: hidden;
4937
+ clip-path: inset(50%);
4938
+ white-space: nowrap;
4939
+ }
4242
4940
  .smwb-sheet {
4243
4941
  background-color: var(--smui-surfaceBackground);
4244
4942
  position: fixed;
@@ -6303,59 +7001,229 @@
6303
7001
  min-width: 5px;
6304
7002
  flex-shrink: 1;
6305
7003
  }
6306
- .smwb-date-picker {
6307
- border-radius: 4px;
6308
- background-color: var(--smui-surfaceBackground);
6309
- box-shadow: rgba(0, 0, 0, 0.2) 0 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px;
6310
- width: 328px;
6311
- max-height: 428px;
6312
- color: var(--smui-primaryTextColor);
7004
+ .smwb-tab-groups {
7005
+ position: relative;
7006
+ display: grid;
7007
+ width: 100%;
7008
+ height: 100%;
7009
+ min-width: 0;
7010
+ min-height: 0;
6313
7011
  overflow: hidden;
6314
- z-index: 1300;
7012
+ --smwb-tab-groups-separator-size: 4px;
6315
7013
  }
6316
- .smwb-date-picker__inner {
7014
+ .smwb-tab-groups__header {
6317
7015
  display: flex;
6318
- flex-direction: column;
7016
+ align-items: stretch;
7017
+ box-sizing: border-box;
7018
+ min-width: 0;
7019
+ border-bottom: 1px solid var(--smui-dividerColor);
6319
7020
  }
6320
- .smwb-date-picker__header {
6321
- display: flex;
6322
- justify-content: space-between;
6323
- padding: 15px 12px;
7021
+ .smwb-tab-groups--split .smwb-tab-groups__header--active {
7022
+ box-shadow: inset 0 2px 0 0 var(--smui-primaryColor);
6324
7023
  }
6325
- .smwb-date-picker__action {
6326
- display: flex;
6327
- align-items: center;
7024
+ .smwb-tab-groups__tabs {
7025
+ flex: 1 1 auto;
7026
+ min-width: 0;
6328
7027
  }
6329
- .smwb-date-picker__action-label {
6330
- display: flex;
7028
+ .smwb-tab-groups__actions-trigger {
7029
+ display: inline-flex;
6331
7030
  align-items: center;
6332
7031
  justify-content: center;
6333
- min-width: 80px;
6334
- user-select: none;
7032
+ flex: 0 0 auto;
7033
+ width: 40px;
7034
+ padding: 0;
7035
+ border: none;
7036
+ background: none;
7037
+ color: var(--smui-onSurfaceVariant);
6335
7038
  cursor: pointer;
6336
- transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
6337
7039
  }
6338
- .smwb-date-picker__action-label > .smwb-icon__wrapper {
6339
- margin-right: -4px;
6340
- opacity: 1;
6341
- transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
7040
+ .smwb-tab-groups__actions-trigger:hover:not(:disabled) {
7041
+ background-color: var(--smui-onSurfaceHover);
6342
7042
  }
6343
- .smwb-date-picker__action-label--disabled {
6344
- color: var(--smui-disabledTextColor);
6345
- cursor: default;
6346
- pointer-events: none;
7043
+ .smwb-tab-groups__actions-trigger:focus-visible {
7044
+ outline: 2px solid var(--smui-primaryColor);
7045
+ outline-offset: -2px;
6347
7046
  }
6348
- .smwb-date-picker__action-label--disabled > .smwb-icon__wrapper {
6349
- opacity: 0;
6350
- visibility: hidden;
6351
- transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, visibility 0ms cubic-bezier(0.4, 0, 0.2, 1) 200ms;
7047
+ .smwb-tab-groups__actions-trigger:disabled {
7048
+ opacity: 0.38;
7049
+ cursor: default;
6352
7050
  }
6353
- .smwb-date-picker__action-label--active > .smwb-icon__wrapper {
6354
- transform: rotate(180deg);
7051
+ .smwb-tab-groups__panel {
7052
+ position: relative;
7053
+ min-width: 0;
7054
+ min-height: 0;
7055
+ overflow: auto;
6355
7056
  }
6356
- .smwb-date-picker__action-text {
6357
- font-size: 14px;
6358
- line-height: 19px;
7057
+ .smwb-tab-groups__separator {
7058
+ position: relative;
7059
+ z-index: 1;
7060
+ box-sizing: border-box;
7061
+ background: var(--smui-primaryContainer);
7062
+ touch-action: none;
7063
+ user-select: none;
7064
+ }
7065
+ .smwb-tab-groups__separator::before {
7066
+ content: "";
7067
+ position: absolute;
7068
+ z-index: 1;
7069
+ }
7070
+ .smwb-tab-groups__separator--vertical {
7071
+ border-left: thin solid var(--smui-primaryColor);
7072
+ border-right: thin solid var(--smui-primaryColor);
7073
+ cursor: col-resize;
7074
+ }
7075
+ .smwb-tab-groups__separator--vertical::before {
7076
+ top: 0;
7077
+ bottom: 0;
7078
+ left: 50%;
7079
+ width: 8px;
7080
+ transform: translateX(-50%);
7081
+ }
7082
+ .smwb-tab-groups__separator--horizontal {
7083
+ border-top: thin solid var(--smui-primaryColor);
7084
+ border-bottom: thin solid var(--smui-primaryColor);
7085
+ cursor: row-resize;
7086
+ }
7087
+ .smwb-tab-groups__separator--horizontal::before {
7088
+ top: 50%;
7089
+ right: 0;
7090
+ left: 0;
7091
+ height: 8px;
7092
+ transform: translateY(-50%);
7093
+ }
7094
+ .smwb-tab-groups__separator:hover,
7095
+ .smwb-tab-groups__separator--dragging {
7096
+ background: var(--smui-primaryColor);
7097
+ }
7098
+ .smwb-tab-groups__separator:focus-visible {
7099
+ outline: 2px solid var(--smui-primaryColor);
7100
+ outline-offset: -2px;
7101
+ }
7102
+ .smwb-tab-groups__drop-target {
7103
+ position: relative;
7104
+ z-index: 2;
7105
+ }
7106
+ .smwb-tab-groups__drop-target::before {
7107
+ content: "";
7108
+ position: absolute;
7109
+ background: color-mix(in srgb, var(--smui-primaryColor) 16%, transparent);
7110
+ outline: 2px solid var(--smui-primaryColor);
7111
+ outline-offset: -2px;
7112
+ }
7113
+ .smwb-tab-groups__drop-target--center::before {
7114
+ inset: 0;
7115
+ }
7116
+ .smwb-tab-groups__drop-target--top::before {
7117
+ top: 0;
7118
+ right: 0;
7119
+ left: 0;
7120
+ height: 50%;
7121
+ }
7122
+ .smwb-tab-groups__drop-target--right::before {
7123
+ top: 0;
7124
+ right: 0;
7125
+ bottom: 0;
7126
+ width: 50%;
7127
+ }
7128
+ .smwb-tab-groups__drop-target--bottom::before {
7129
+ right: 0;
7130
+ bottom: 0;
7131
+ left: 0;
7132
+ height: 50%;
7133
+ }
7134
+ .smwb-tab-groups__drop-target--left::before {
7135
+ top: 0;
7136
+ bottom: 0;
7137
+ left: 0;
7138
+ width: 50%;
7139
+ }
7140
+ .smwb-tab-groups__empty {
7141
+ display: flex;
7142
+ align-items: center;
7143
+ justify-content: center;
7144
+ grid-area: 1 / 1 / -1 / -1;
7145
+ min-width: 0;
7146
+ min-height: 0;
7147
+ }
7148
+ .smwb-tab-groups__panel-end {
7149
+ position: absolute;
7150
+ width: 0;
7151
+ height: 0;
7152
+ overflow: hidden;
7153
+ outline: none;
7154
+ }
7155
+ .smwb-tab-groups__focus-guard {
7156
+ position: absolute;
7157
+ width: 1px;
7158
+ height: 1px;
7159
+ overflow: hidden;
7160
+ clip: rect(0 0 0 0);
7161
+ outline: none;
7162
+ }
7163
+ .smwb-tab-groups__status {
7164
+ position: absolute;
7165
+ width: 1px;
7166
+ height: 1px;
7167
+ margin: -1px;
7168
+ padding: 0;
7169
+ overflow: hidden;
7170
+ clip: rect(0 0 0 0);
7171
+ white-space: nowrap;
7172
+ border: 0;
7173
+ }
7174
+ .smwb-date-picker {
7175
+ border-radius: 4px;
7176
+ background-color: var(--smui-surfaceBackground);
7177
+ box-shadow: rgba(0, 0, 0, 0.2) 0 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0 3px 14px 2px;
7178
+ width: 328px;
7179
+ max-height: 428px;
7180
+ color: var(--smui-primaryTextColor);
7181
+ overflow: hidden;
7182
+ z-index: 1300;
7183
+ }
7184
+ .smwb-date-picker__inner {
7185
+ display: flex;
7186
+ flex-direction: column;
7187
+ }
7188
+ .smwb-date-picker__header {
7189
+ display: flex;
7190
+ justify-content: space-between;
7191
+ padding: 15px 12px;
7192
+ }
7193
+ .smwb-date-picker__action {
7194
+ display: flex;
7195
+ align-items: center;
7196
+ }
7197
+ .smwb-date-picker__action-label {
7198
+ display: flex;
7199
+ align-items: center;
7200
+ justify-content: center;
7201
+ min-width: 80px;
7202
+ user-select: none;
7203
+ cursor: pointer;
7204
+ transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
7205
+ }
7206
+ .smwb-date-picker__action-label > .smwb-icon__wrapper {
7207
+ margin-right: -4px;
7208
+ opacity: 1;
7209
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
7210
+ }
7211
+ .smwb-date-picker__action-label--disabled {
7212
+ color: var(--smui-disabledTextColor);
7213
+ cursor: default;
7214
+ pointer-events: none;
7215
+ }
7216
+ .smwb-date-picker__action-label--disabled > .smwb-icon__wrapper {
7217
+ opacity: 0;
7218
+ visibility: hidden;
7219
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, visibility 0ms cubic-bezier(0.4, 0, 0.2, 1) 200ms;
7220
+ }
7221
+ .smwb-date-picker__action-label--active > .smwb-icon__wrapper {
7222
+ transform: rotate(180deg);
7223
+ }
7224
+ .smwb-date-picker__action-text {
7225
+ font-size: 14px;
7226
+ line-height: 19px;
6359
7227
  font-weight: 500;
6360
7228
  margin-right: 10px;
6361
7229
  text-transform: capitalize;
@@ -6607,15 +7475,45 @@
6607
7475
  .smwb-tree__node__label > .smwb-icon__wrapper {
6608
7476
  flex: none;
6609
7477
  }
6610
- .smwb-tree__node__content {
7478
+ .smwb-tree__node__row {
6611
7479
  display: flex;
6612
7480
  align-items: center;
6613
7481
  gap: 10px;
6614
7482
  min-height: 40px;
7483
+ }
7484
+ .smwb-tree__node__toggle {
7485
+ display: inline-flex;
7486
+ flex: none;
7487
+ align-items: center;
7488
+ justify-content: center;
7489
+ width: 24px;
6615
7490
  cursor: pointer;
6616
7491
  user-select: none;
6617
7492
  }
6618
- .smwb-tree__node_selected > .smwb-tree__node__content {
7493
+ .smwb-tree__node__toggle:empty {
7494
+ cursor: default;
7495
+ }
7496
+ .smwb-tree__node__content {
7497
+ display: flex;
7498
+ align-items: center;
7499
+ flex: 1 1 auto;
7500
+ min-width: 0;
7501
+ align-self: stretch;
7502
+ cursor: pointer;
7503
+ user-select: none;
7504
+ border-radius: 4px;
7505
+ }
7506
+ .smwb-tree__node__content:focus-visible {
7507
+ outline: 2px solid var(--smui-primaryColor);
7508
+ outline-offset: -2px;
7509
+ }
7510
+ .smwb-tree__node__actions {
7511
+ display: inline-flex;
7512
+ flex: none;
7513
+ align-items: center;
7514
+ gap: 4px;
7515
+ }
7516
+ .smwb-tree__node_selected > .smwb-tree__node__row {
6619
7517
  background-color: var(--smui-onSurfaceHover);
6620
7518
  border-radius: 4px;
6621
7519
  }
@@ -7671,6 +8569,313 @@
7671
8569
  opacity: 0.35;
7672
8570
  }
7673
8571
  }
8572
+ .smwb-swimlanes {
8573
+ position: relative;
8574
+ box-sizing: border-box;
8575
+ width: 100%;
8576
+ height: 480px;
8577
+ min-width: 0;
8578
+ overflow: auto;
8579
+ overscroll-behavior: contain;
8580
+ border: 1px solid var(--smui-dividerColor);
8581
+ border-radius: 12px;
8582
+ background-color: var(--smui-surfaceBackground);
8583
+ color: var(--smui-onSurfaceColor);
8584
+ }
8585
+ .smwb-swimlanes_empty {
8586
+ display: grid;
8587
+ place-items: center;
8588
+ }
8589
+ .smwb-swimlanes__empty {
8590
+ padding: 32px 16px;
8591
+ color: var(--smui-onSurfaceVariant);
8592
+ text-align: center;
8593
+ }
8594
+ .smwb-swimlanes__sizer {
8595
+ position: relative;
8596
+ min-width: calc(var(--smwb-swimlanes-header-width, 240px) + var(--smwb-swimlanes-content-min-width, 0px));
8597
+ }
8598
+ .smwb-swimlanes__row {
8599
+ --smwb-swimlanes-tint: transparent;
8600
+ position: absolute;
8601
+ right: 0;
8602
+ left: 0;
8603
+ display: grid;
8604
+ grid-template-columns: var(--smwb-swimlanes-header-width, 240px) minmax(0, 1fr);
8605
+ box-sizing: border-box;
8606
+ height: var(--smwb-swimlanes-row-height);
8607
+ border-bottom: 1px solid var(--smui-dividerColor);
8608
+ }
8609
+ .smwb-swimlanes__row:where(:hover) {
8610
+ --smwb-swimlanes-tint: var(--smui-onSurfaceHover);
8611
+ }
8612
+ .smwb-swimlanes__row_selected {
8613
+ --smwb-swimlanes-tint: color-mix(in srgb, var(--smui-primaryColor) 12%, transparent);
8614
+ }
8615
+ .smwb-swimlanes__row_disabled {
8616
+ --smwb-swimlanes-tint: transparent;
8617
+ color: var(--smui-disabledTextColor);
8618
+ }
8619
+ .smwb-swimlanes__header,
8620
+ .smwb-swimlanes__content {
8621
+ display: flex;
8622
+ align-items: center;
8623
+ min-width: 0;
8624
+ padding: 8px 12px;
8625
+ overflow: hidden;
8626
+ }
8627
+ .smwb-swimlanes__header {
8628
+ position: sticky;
8629
+ inset-inline-start: 0;
8630
+ z-index: 1;
8631
+ background: linear-gradient(var(--smwb-swimlanes-tint), var(--smwb-swimlanes-tint)), var(--smui-surfaceBackground);
8632
+ box-shadow: inset -1px 0 0 var(--smui-dividerColor);
8633
+ }
8634
+ .smwb-swimlanes__row_selected .smwb-swimlanes__header {
8635
+ box-shadow: inset 3px 0 0 var(--smui-primaryColor), inset -1px 0 0 var(--smui-dividerColor);
8636
+ }
8637
+ .smwb-swimlanes__content {
8638
+ background-color: var(--smwb-swimlanes-tint);
8639
+ }
8640
+ .smwb-swimlanes__header:focus-visible,
8641
+ .smwb-swimlanes__content:focus-visible {
8642
+ outline: 2px solid var(--smui-primaryColor);
8643
+ outline-offset: -2px;
8644
+ }
8645
+ @media (forced-colors: active) {
8646
+ .smwb-swimlanes__header {
8647
+ background: Canvas;
8648
+ }
8649
+ .smwb-swimlanes__row_selected .smwb-swimlanes__header:not(:focus-visible),
8650
+ .smwb-swimlanes__row_selected .smwb-swimlanes__content:not(:focus-visible) {
8651
+ outline: 2px solid Highlight;
8652
+ outline-offset: -2px;
8653
+ }
8654
+ }
8655
+ .smwb-composer {
8656
+ position: relative;
8657
+ display: grid;
8658
+ grid-template-columns: auto minmax(0, 1fr) auto auto;
8659
+ align-items: center;
8660
+ box-sizing: border-box;
8661
+ width: 100%;
8662
+ min-width: 0;
8663
+ padding: 8px;
8664
+ border: 1px solid var(--smui-outlineColor);
8665
+ border-radius: 12px;
8666
+ background-color: var(--smui-surfaceBackground);
8667
+ color: var(--smui-onSurfaceColor);
8668
+ }
8669
+ .smwb-composer__attachments {
8670
+ grid-area: attachments;
8671
+ min-width: 0;
8672
+ margin-bottom: 4px;
8673
+ }
8674
+ .smwb-composer__field {
8675
+ grid-area: field;
8676
+ display: grid;
8677
+ min-width: 0;
8678
+ }
8679
+ .smwb-composer__field::after {
8680
+ box-sizing: border-box;
8681
+ margin: 0;
8682
+ border: 0;
8683
+ padding: 6px 8px;
8684
+ font: inherit;
8685
+ letter-spacing: inherit;
8686
+ line-height: 1.5rem;
8687
+ overflow-wrap: anywhere;
8688
+ min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * 6px);
8689
+ max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * 6px);
8690
+ content: attr(data-value) " ";
8691
+ grid-area: 1 / 1;
8692
+ visibility: hidden;
8693
+ pointer-events: none;
8694
+ white-space: pre-wrap;
8695
+ overflow: hidden;
8696
+ }
8697
+ .smwb-composer__input {
8698
+ box-sizing: border-box;
8699
+ margin: 0;
8700
+ border: 0;
8701
+ padding: 6px 8px;
8702
+ font: inherit;
8703
+ letter-spacing: inherit;
8704
+ line-height: 1.5rem;
8705
+ overflow-wrap: anywhere;
8706
+ min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * 6px);
8707
+ max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * 6px);
8708
+ grid-area: 1 / 1;
8709
+ display: block;
8710
+ width: 100%;
8711
+ resize: none;
8712
+ overflow-y: auto;
8713
+ outline: 0;
8714
+ background: transparent;
8715
+ color: var(--smui-onSurfaceColor);
8716
+ caret-color: var(--smui-onSurfaceColor);
8717
+ }
8718
+ .smwb-composer__input::placeholder {
8719
+ color: var(--smui-onSurfaceVariant);
8720
+ opacity: 1;
8721
+ }
8722
+ .smwb-composer__icon-button {
8723
+ display: inline-flex;
8724
+ align-items: center;
8725
+ justify-content: center;
8726
+ box-sizing: border-box;
8727
+ flex: none;
8728
+ width: 36px;
8729
+ height: 36px;
8730
+ margin: 0;
8731
+ padding: 0;
8732
+ border: 0;
8733
+ border-radius: 50%;
8734
+ background-color: transparent;
8735
+ color: var(--smui-onSurfaceColor);
8736
+ font: inherit;
8737
+ cursor: pointer;
8738
+ user-select: none;
8739
+ -webkit-user-select: none;
8740
+ transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
8741
+ }
8742
+ .smwb-composer__icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
8743
+ background-color: var(--smui-onSurfaceHover);
8744
+ }
8745
+ .smwb-composer__icon-button:active:not(:disabled):not([aria-disabled="true"]) {
8746
+ background-color: var(--smui-onSurfaceActive);
8747
+ }
8748
+ .smwb-composer__icon-button:focus-visible {
8749
+ outline: 2px solid var(--smui-primaryColor);
8750
+ outline-offset: 2px;
8751
+ }
8752
+ .smwb-composer__icon-button:disabled {
8753
+ cursor: default;
8754
+ pointer-events: none;
8755
+ }
8756
+ .smwb-composer__attach {
8757
+ grid-area: attach;
8758
+ color: var(--smui-onSurfaceVariant);
8759
+ }
8760
+ .smwb-composer__toolbar {
8761
+ grid-area: toolbar;
8762
+ display: flex;
8763
+ flex-wrap: wrap;
8764
+ align-items: center;
8765
+ gap: 4px;
8766
+ min-width: 0;
8767
+ }
8768
+ .smwb-composer__attach ~ .smwb-composer__toolbar {
8769
+ margin-inline-start: 4px;
8770
+ }
8771
+ .smwb-composer__counter {
8772
+ grid-area: counter;
8773
+ margin-inline-start: 4px;
8774
+ color: var(--smui-onSurfaceVariant);
8775
+ font-size: 0.75rem;
8776
+ line-height: 1rem;
8777
+ font-variant-numeric: tabular-nums;
8778
+ white-space: nowrap;
8779
+ }
8780
+ .smwb-composer__counter_error {
8781
+ color: var(--smui-errorColor);
8782
+ font-weight: 500;
8783
+ }
8784
+ .smwb-composer__action {
8785
+ grid-area: action;
8786
+ margin-inline-start: 4px;
8787
+ }
8788
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled) {
8789
+ background-color: var(--smui-primaryColor);
8790
+ color: var(--smui-onPrimaryColor);
8791
+ }
8792
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled):hover {
8793
+ background-color: color-mix(in srgb, var(--smui-onPrimaryColor) 12%, var(--smui-primaryColor));
8794
+ }
8795
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled):active {
8796
+ background-color: color-mix(in srgb, var(--smui-onPrimaryColor) 20%, var(--smui-primaryColor));
8797
+ }
8798
+ .smwb-composer__action[aria-disabled="true"],
8799
+ .smwb-composer__action:disabled {
8800
+ background-color: var(--smui-disabledBgColor);
8801
+ color: var(--smui-disabledTextColor);
8802
+ cursor: default;
8803
+ }
8804
+ .smwb-composer__action_stop:not([aria-disabled="true"]):not(:disabled) {
8805
+ background-color: var(--smui-onSurfaceColor);
8806
+ color: var(--smui-surfaceBackground);
8807
+ }
8808
+ .smwb-composer__action_stop:not([aria-disabled="true"]):not(:disabled):hover {
8809
+ background-color: var(--smui-onSurfaceColor);
8810
+ opacity: 0.88;
8811
+ }
8812
+ .smwb-composer__action_stop:not([aria-disabled="true"]):not(:disabled):active {
8813
+ background-color: var(--smui-onSurfaceColor);
8814
+ opacity: 0.76;
8815
+ }
8816
+ .smwb-composer__status {
8817
+ position: absolute;
8818
+ width: 1px;
8819
+ height: 1px;
8820
+ margin: -1px;
8821
+ padding: 0;
8822
+ border: 0;
8823
+ overflow: hidden;
8824
+ clip-path: inset(50%);
8825
+ white-space: nowrap;
8826
+ }
8827
+ .smwb-composer_stacked {
8828
+ grid-template-areas: "attachments attachments attachments attachments" "field field field field" "attach toolbar counter action";
8829
+ }
8830
+ .smwb-composer_stacked .smwb-composer__field {
8831
+ margin-bottom: 4px;
8832
+ }
8833
+ .smwb-composer_stacked .smwb-composer__action {
8834
+ justify-self: end;
8835
+ }
8836
+ .smwb-composer_inline {
8837
+ grid-template-areas: "attachments attachments attachments attachments" "attach field counter action" "toolbar toolbar toolbar toolbar";
8838
+ align-items: end;
8839
+ }
8840
+ .smwb-composer_inline .smwb-composer__toolbar {
8841
+ margin-top: 4px;
8842
+ }
8843
+ .smwb-composer_inline .smwb-composer__counter {
8844
+ align-self: end;
8845
+ padding-bottom: calc((36px - 1rem) / 2);
8846
+ }
8847
+ .smwb-composer_inline .smwb-composer__attach ~ .smwb-composer__toolbar {
8848
+ margin-inline-start: 0;
8849
+ }
8850
+ .smwb-composer_focused {
8851
+ border-color: var(--smui-primaryColor);
8852
+ box-shadow: inset 0 0 0 1px var(--smui-primaryColor);
8853
+ }
8854
+ .smwb-composer_drag-active {
8855
+ border-style: dashed;
8856
+ border-color: var(--smui-primaryColor);
8857
+ background-color: var(--smui-primaryContainer);
8858
+ }
8859
+ .smwb-composer_disabled {
8860
+ opacity: 0.6;
8861
+ cursor: default;
8862
+ }
8863
+ .smwb-composer_over-limit:not(.smwb-composer_focused) {
8864
+ border-color: var(--smui-errorColor);
8865
+ }
8866
+ @media (forced-colors: active) {
8867
+ .smwb-composer_focused {
8868
+ outline: 2px solid Highlight;
8869
+ outline-offset: -2px;
8870
+ }
8871
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled) {
8872
+ border: 1px solid ButtonText;
8873
+ }
8874
+ .smwb-composer__action[aria-disabled="true"],
8875
+ .smwb-composer__action:disabled {
8876
+ color: GrayText;
8877
+ }
8878
+ }
7674
8879
  .smwb-stepper {
7675
8880
  display: flex;
7676
8881
  width: 100%;
@@ -8913,6 +10118,9 @@
8913
10118
  --smui-space-xl: 20px;
8914
10119
  --smui-space-xxl: 24px;
8915
10120
  --smui-space-xxxl: 32px;
10121
+ --smui-control-h-sm: 32px;
10122
+ --smui-control-h-md: 40px;
10123
+ --smui-control-h-lg: 48px;
8916
10124
  /* Border-radius scale */
8917
10125
  --smui-radius-xs: 2px;
8918
10126
  --smui-radius-sm: 4px;