@smwb/ui-css 1.2.0 → 2.1.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 +1268 -53
  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,104 @@
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 {
2884
+ min-height: var(--smui-tabDenseHeight, 36px);
2486
2885
  padding: 0 12px;
2487
2886
  font-weight: 500;
2488
2887
  letter-spacing: normal;
2489
2888
  text-transform: none;
2490
2889
  }
2890
+ .smwb-tabs .smwb-tab__close {
2891
+ opacity: 0;
2892
+ pointer-events: none;
2893
+ transition: opacity 0.15s linear;
2894
+ }
2895
+ .smwb-tabs .smwb-tab-item:hover:not(.smwb-tab-item--disabled) .smwb-tab__close:not(:disabled),
2896
+ .smwb-tabs .smwb-tab-item--active .smwb-tab__close:not(:disabled),
2897
+ .smwb-tabs .smwb-tab-item:focus-within .smwb-tab__close:not(:disabled) {
2898
+ opacity: 1;
2899
+ pointer-events: auto;
2900
+ }
2901
+ .smwb-tabs .smwb-tab-item--dragging {
2902
+ opacity: 0.6;
2903
+ }
2904
+ .smwb-tabs .smwb-tab-item--drop-target:after {
2905
+ content: "";
2906
+ position: absolute;
2907
+ top: 0;
2908
+ bottom: 0;
2909
+ left: 0;
2910
+ width: 2px;
2911
+ background-color: var(--smui-primaryColor);
2912
+ pointer-events: none;
2913
+ }
2914
+ .smwb-tab-panel:focus-visible {
2915
+ outline: 2px solid var(--smui-primaryColor);
2916
+ outline-offset: -2px;
2917
+ }
2491
2918
  .smwb-slider {
2492
2919
  display: inline-block;
2493
2920
  position: relative;
@@ -2787,6 +3214,9 @@
2787
3214
  }
2788
3215
  .smwb-select-field:not(.smwb-select-field--inline) {
2789
3216
  padding: 16px;
3217
+ padding-top: calc((var(--smui-control-h-md, 40px) - 24px) / 2);
3218
+ padding-bottom: calc((var(--smui-control-h-md, 40px) - 24px) / 2);
3219
+ min-height: var(--smui-control-h-md, 40px);
2790
3220
  }
2791
3221
  .smwb-select-field:not(.smwb-select-field--inline).smwb-select-field--filled {
2792
3222
  padding: 22px 16px 10px 16px;
@@ -2972,15 +3402,23 @@
2972
3402
  opacity: 0.12;
2973
3403
  }
2974
3404
  .smwb-text-field_size-small .smwb-select-field:not(.smwb-select-field--inline) {
2975
- padding-top: 8px;
2976
- padding-bottom: 8px;
3405
+ padding-top: calc((var(--smui-control-h-sm, 32px) - 24px) / 2);
3406
+ padding-bottom: calc((var(--smui-control-h-sm, 32px) - 24px) / 2);
3407
+ min-height: var(--smui-control-h-sm, 32px);
2977
3408
  font-size: 13px;
2978
3409
  }
2979
3410
  .smwb-text-field_size-large .smwb-select-field:not(.smwb-select-field--inline) {
2980
- padding-top: 16px;
2981
- padding-bottom: 16px;
3411
+ padding-top: calc((var(--smui-control-h-lg, 48px) - 24px) / 2);
3412
+ padding-bottom: calc((var(--smui-control-h-lg, 48px) - 24px) / 2);
3413
+ min-height: var(--smui-control-h-lg, 48px);
2982
3414
  font-size: 16px;
2983
3415
  }
3416
+ .smwb-select-field--filled:not(.smwb-select-field--inline),
3417
+ .smwb-text-field_size-small .smwb-select-field--filled:not(.smwb-select-field--inline),
3418
+ .smwb-text-field_size-large .smwb-select-field--filled:not(.smwb-select-field--inline) {
3419
+ min-height: 0;
3420
+ padding: 22px 16px 10px 16px;
3421
+ }
2984
3422
  .smwb-ripple {
2985
3423
  position: absolute;
2986
3424
  inset: 0;
@@ -3076,10 +3514,43 @@
3076
3514
  padding-top: 4px;
3077
3515
  padding-bottom: 4px;
3078
3516
  }
3079
- .smwb-list__subheader {
3080
- padding: 8px 16px;
3081
- color: var(--smui-onSurfaceVariant);
3082
- font-size: 0.8125rem;
3517
+ .smwb-list__item.smwb-list__item_link,
3518
+ .smwb-list_dense .smwb-list__item.smwb-list__item_link {
3519
+ padding: 0;
3520
+ gap: 0;
3521
+ }
3522
+ .smwb-list__item_link > .smwb-list__item__end {
3523
+ padding-right: 16px;
3524
+ }
3525
+ .smwb-list__item_link > .smwb-list__item__end:empty {
3526
+ display: none;
3527
+ }
3528
+ .smwb-list__item__link {
3529
+ display: flex;
3530
+ align-items: center;
3531
+ align-self: stretch;
3532
+ flex: auto;
3533
+ min-width: 0;
3534
+ min-height: inherit;
3535
+ box-sizing: border-box;
3536
+ gap: 20px;
3537
+ padding: 8px 16px;
3538
+ color: inherit;
3539
+ text-decoration: none;
3540
+ }
3541
+ .smwb-list__item__link:focus-visible {
3542
+ outline: 2px solid var(--smui-primaryColor);
3543
+ outline-offset: -2px;
3544
+ }
3545
+ .smwb-list_dense .smwb-list__item__link,
3546
+ .smwb-list__item_dense > .smwb-list__item__link {
3547
+ padding-top: 4px;
3548
+ padding-bottom: 4px;
3549
+ }
3550
+ .smwb-list__subheader {
3551
+ padding: 8px 16px;
3552
+ color: var(--smui-onSurfaceVariant);
3553
+ font-size: 0.8125rem;
3083
3554
  font-weight: 600;
3084
3555
  text-transform: uppercase;
3085
3556
  letter-spacing: 0.04em;
@@ -4239,6 +4710,234 @@
4239
4710
  opacity: 0;
4240
4711
  }
4241
4712
  }
4713
+ .smwb-kbd {
4714
+ position: relative;
4715
+ display: inline-flex;
4716
+ align-items: center;
4717
+ gap: 2px;
4718
+ flex-shrink: 0;
4719
+ font-family: inherit;
4720
+ font-size: inherit;
4721
+ line-height: 1;
4722
+ white-space: nowrap;
4723
+ }
4724
+ .smwb-kbd__key {
4725
+ box-sizing: border-box;
4726
+ display: inline-flex;
4727
+ align-items: center;
4728
+ justify-content: center;
4729
+ min-width: 1.5em;
4730
+ height: 1.5em;
4731
+ padding: 0 0.375em;
4732
+ border: 1px solid color-mix(in srgb, currentColor 35%, transparent);
4733
+ border-radius: 4px;
4734
+ background-color: color-mix(in srgb, currentColor 10%, transparent);
4735
+ font-family: inherit;
4736
+ font-size: inherit;
4737
+ font-weight: 500;
4738
+ line-height: 1;
4739
+ color: inherit;
4740
+ user-select: none;
4741
+ }
4742
+ @media (forced-colors: active) {
4743
+ .smwb-kbd__key {
4744
+ border-color: currentColor;
4745
+ }
4746
+ }
4747
+ .smwb-kbd__separator {
4748
+ opacity: 0.7;
4749
+ user-select: none;
4750
+ }
4751
+ .smwb-kbd__text {
4752
+ position: absolute;
4753
+ width: 1px;
4754
+ height: 1px;
4755
+ margin: -1px;
4756
+ padding: 0;
4757
+ overflow: hidden;
4758
+ clip: rect(0 0 0 0);
4759
+ white-space: nowrap;
4760
+ border: 0;
4761
+ }
4762
+ .smwb-modal__overlay > .smwb-modal.smwb-command-palette {
4763
+ width: min(640px, calc(100vw - 32px));
4764
+ height: auto;
4765
+ min-height: 0;
4766
+ max-height: min(560px, calc(100vh - 2 * min(12vh, 96px)));
4767
+ overflow: hidden;
4768
+ padding: 0;
4769
+ border-radius: 16px;
4770
+ margin-block: min(12vh, 96px) auto;
4771
+ }
4772
+ @media (max-width: 600px) {
4773
+ .smwb-modal__overlay > .smwb-modal.smwb-command-palette {
4774
+ margin-block-start: 16px;
4775
+ }
4776
+ }
4777
+ .smwb-command-palette__panel {
4778
+ display: flex;
4779
+ flex-direction: column;
4780
+ flex: 1 1 auto;
4781
+ min-height: 0;
4782
+ }
4783
+ .smwb-command-palette__search {
4784
+ display: flex;
4785
+ align-items: center;
4786
+ gap: 8px;
4787
+ padding: 12px 16px;
4788
+ border-bottom: 1px solid var(--smui-dividerColor);
4789
+ }
4790
+ .smwb-command-palette__search-icon {
4791
+ display: inline-flex;
4792
+ flex-shrink: 0;
4793
+ color: var(--smui-onSurfaceVariant);
4794
+ }
4795
+ .smwb-command-palette__input {
4796
+ flex: 1;
4797
+ min-width: 0;
4798
+ border: 0;
4799
+ background: transparent;
4800
+ font: inherit;
4801
+ font-size: 1rem;
4802
+ line-height: 1.5;
4803
+ color: var(--smui-onSurfaceColor);
4804
+ outline: none;
4805
+ }
4806
+ .smwb-command-palette__input::placeholder {
4807
+ color: var(--smui-onSurfaceVariant);
4808
+ opacity: 1;
4809
+ }
4810
+ .smwb-command-palette__results {
4811
+ flex: 1 1 auto;
4812
+ min-height: 0;
4813
+ overflow-y: auto;
4814
+ overscroll-behavior: contain;
4815
+ padding: 4px 0;
4816
+ }
4817
+ .smwb-command-palette__listbox,
4818
+ .smwb-command-palette__group-options {
4819
+ list-style: none;
4820
+ margin: 0;
4821
+ padding: 0;
4822
+ }
4823
+ .smwb-command-palette__group-label {
4824
+ padding: 8px 16px 4px;
4825
+ font-size: 12px;
4826
+ font-weight: 600;
4827
+ text-transform: uppercase;
4828
+ letter-spacing: 0.04em;
4829
+ color: var(--smui-onSurfaceVariant);
4830
+ }
4831
+ .smwb-command-palette__item {
4832
+ position: relative;
4833
+ display: grid;
4834
+ grid-template-columns: auto minmax(0, 1fr) auto;
4835
+ align-items: center;
4836
+ gap: 12px;
4837
+ min-height: 44px;
4838
+ padding: 4px 16px;
4839
+ margin: 0 4px;
4840
+ border-radius: 4px;
4841
+ cursor: pointer;
4842
+ color: var(--smui-onSurfaceColor);
4843
+ }
4844
+ .smwb-command-palette__item::before {
4845
+ content: "";
4846
+ position: absolute;
4847
+ inset: 0;
4848
+ border-radius: inherit;
4849
+ background: currentColor;
4850
+ opacity: 0;
4851
+ pointer-events: none;
4852
+ }
4853
+ .smwb-command-palette__item:hover:not(.smwb-command-palette__item_active):not(.smwb-command-palette__item_disabled)::before {
4854
+ opacity: 0.08;
4855
+ }
4856
+ .smwb-command-palette__item_active {
4857
+ outline: 2px solid var(--smui-primaryColor);
4858
+ outline-offset: -2px;
4859
+ }
4860
+ .smwb-command-palette__item_active::before {
4861
+ opacity: 0.12;
4862
+ }
4863
+ @media (forced-colors: active) {
4864
+ .smwb-command-palette__item_active {
4865
+ outline-color: Highlight;
4866
+ }
4867
+ }
4868
+ .smwb-command-palette__item_disabled {
4869
+ color: var(--smui-disabledTextColor);
4870
+ cursor: default;
4871
+ }
4872
+ .smwb-command-palette__item-icon {
4873
+ grid-column: 1;
4874
+ display: inline-flex;
4875
+ align-items: center;
4876
+ justify-content: center;
4877
+ width: 20px;
4878
+ height: 20px;
4879
+ color: var(--smui-onSurfaceVariant);
4880
+ }
4881
+ .smwb-command-palette__item-text {
4882
+ grid-column: 2;
4883
+ min-width: 0;
4884
+ }
4885
+ .smwb-command-palette__item:not(:has(> .smwb-command-palette__item-icon)) > .smwb-command-palette__item-text {
4886
+ grid-column: 1 / 3;
4887
+ }
4888
+ .smwb-command-palette__item-label {
4889
+ display: block;
4890
+ overflow: hidden;
4891
+ text-overflow: ellipsis;
4892
+ white-space: nowrap;
4893
+ }
4894
+ .smwb-command-palette__item-subtitle {
4895
+ display: block;
4896
+ overflow: hidden;
4897
+ text-overflow: ellipsis;
4898
+ white-space: nowrap;
4899
+ font-size: 0.8125rem;
4900
+ color: var(--smui-onSurfaceVariant);
4901
+ }
4902
+ .smwb-command-palette__item-shortcut.smwb-kbd {
4903
+ grid-column: 3;
4904
+ font-size: 0.75rem;
4905
+ color: var(--smui-onSurfaceVariant);
4906
+ }
4907
+ .smwb-command-palette__loading-row {
4908
+ display: grid;
4909
+ grid-template-columns: auto minmax(0, 1fr) auto;
4910
+ align-items: center;
4911
+ gap: 12px;
4912
+ min-height: 44px;
4913
+ padding: 4px 16px;
4914
+ margin: 0 4px;
4915
+ }
4916
+ .smwb-command-palette__message {
4917
+ padding: 16px 20px;
4918
+ text-align: center;
4919
+ color: var(--smui-onSurfaceVariant);
4920
+ }
4921
+ .smwb-command-palette__message_error {
4922
+ color: var(--smui-errorColor);
4923
+ }
4924
+ .smwb-command-palette__footer {
4925
+ display: flex;
4926
+ align-items: center;
4927
+ gap: 12px;
4928
+ padding: 8px 16px;
4929
+ border-top: 1px solid var(--smui-dividerColor);
4930
+ font-size: 0.75rem;
4931
+ color: var(--smui-onSurfaceVariant);
4932
+ }
4933
+ .smwb-command-palette__status {
4934
+ position: absolute;
4935
+ width: 1px;
4936
+ height: 1px;
4937
+ overflow: hidden;
4938
+ clip-path: inset(50%);
4939
+ white-space: nowrap;
4940
+ }
4242
4941
  .smwb-sheet {
4243
4942
  background-color: var(--smui-surfaceBackground);
4244
4943
  position: fixed;
@@ -4682,6 +5381,10 @@
4682
5381
  .smwb-badge_primary {
4683
5382
  background-color: var(--smui-primaryColor);
4684
5383
  }
5384
+ .smwb-badge_warning {
5385
+ background-color: var(--smui-warningColor);
5386
+ color: var(--smui-badgeWarningColor, #1c1b1f);
5387
+ }
4685
5388
  .smwb-badge_no-content {
4686
5389
  padding: 0;
4687
5390
  width: 8px;
@@ -6303,57 +7006,227 @@
6303
7006
  min-width: 5px;
6304
7007
  flex-shrink: 1;
6305
7008
  }
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);
7009
+ .smwb-tab-groups {
7010
+ position: relative;
7011
+ display: grid;
7012
+ width: 100%;
7013
+ height: 100%;
7014
+ min-width: 0;
7015
+ min-height: 0;
6313
7016
  overflow: hidden;
6314
- z-index: 1300;
7017
+ --smwb-tab-groups-separator-size: 4px;
6315
7018
  }
6316
- .smwb-date-picker__inner {
7019
+ .smwb-tab-groups__header {
6317
7020
  display: flex;
6318
- flex-direction: column;
7021
+ align-items: stretch;
7022
+ box-sizing: border-box;
7023
+ min-width: 0;
7024
+ border-bottom: 1px solid var(--smui-dividerColor);
6319
7025
  }
6320
- .smwb-date-picker__header {
6321
- display: flex;
6322
- justify-content: space-between;
6323
- padding: 15px 12px;
7026
+ .smwb-tab-groups--split .smwb-tab-groups__header--active {
7027
+ box-shadow: inset 0 2px 0 0 var(--smui-primaryColor);
6324
7028
  }
6325
- .smwb-date-picker__action {
6326
- display: flex;
6327
- align-items: center;
7029
+ .smwb-tab-groups__tabs {
7030
+ flex: 1 1 auto;
7031
+ min-width: 0;
6328
7032
  }
6329
- .smwb-date-picker__action-label {
6330
- display: flex;
7033
+ .smwb-tab-groups__actions-trigger {
7034
+ display: inline-flex;
6331
7035
  align-items: center;
6332
7036
  justify-content: center;
6333
- min-width: 80px;
6334
- user-select: none;
7037
+ flex: 0 0 auto;
7038
+ width: 40px;
7039
+ padding: 0;
7040
+ border: none;
7041
+ background: none;
7042
+ color: var(--smui-onSurfaceVariant);
6335
7043
  cursor: pointer;
6336
- transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
6337
7044
  }
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;
7045
+ .smwb-tab-groups__actions-trigger:hover:not(:disabled) {
7046
+ background-color: var(--smui-onSurfaceHover);
6342
7047
  }
6343
- .smwb-date-picker__action-label--disabled {
6344
- color: var(--smui-disabledTextColor);
6345
- cursor: default;
6346
- pointer-events: none;
7048
+ .smwb-tab-groups__actions-trigger:focus-visible {
7049
+ outline: 2px solid var(--smui-primaryColor);
7050
+ outline-offset: -2px;
6347
7051
  }
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;
7052
+ .smwb-tab-groups__actions-trigger:disabled {
7053
+ opacity: 0.38;
7054
+ cursor: default;
6352
7055
  }
6353
- .smwb-date-picker__action-label--active > .smwb-icon__wrapper {
6354
- transform: rotate(180deg);
7056
+ .smwb-tab-groups__panel {
7057
+ position: relative;
7058
+ min-width: 0;
7059
+ min-height: 0;
7060
+ overflow: auto;
6355
7061
  }
6356
- .smwb-date-picker__action-text {
7062
+ .smwb-tab-groups__separator {
7063
+ position: relative;
7064
+ z-index: 1;
7065
+ box-sizing: border-box;
7066
+ background: var(--smui-primaryContainer);
7067
+ touch-action: none;
7068
+ user-select: none;
7069
+ }
7070
+ .smwb-tab-groups__separator::before {
7071
+ content: "";
7072
+ position: absolute;
7073
+ z-index: 1;
7074
+ }
7075
+ .smwb-tab-groups__separator--vertical {
7076
+ border-left: thin solid var(--smui-primaryColor);
7077
+ border-right: thin solid var(--smui-primaryColor);
7078
+ cursor: col-resize;
7079
+ }
7080
+ .smwb-tab-groups__separator--vertical::before {
7081
+ top: 0;
7082
+ bottom: 0;
7083
+ left: 50%;
7084
+ width: 8px;
7085
+ transform: translateX(-50%);
7086
+ }
7087
+ .smwb-tab-groups__separator--horizontal {
7088
+ border-top: thin solid var(--smui-primaryColor);
7089
+ border-bottom: thin solid var(--smui-primaryColor);
7090
+ cursor: row-resize;
7091
+ }
7092
+ .smwb-tab-groups__separator--horizontal::before {
7093
+ top: 50%;
7094
+ right: 0;
7095
+ left: 0;
7096
+ height: 8px;
7097
+ transform: translateY(-50%);
7098
+ }
7099
+ .smwb-tab-groups__separator:hover,
7100
+ .smwb-tab-groups__separator--dragging {
7101
+ background: var(--smui-primaryColor);
7102
+ }
7103
+ .smwb-tab-groups__separator:focus-visible {
7104
+ outline: 2px solid var(--smui-primaryColor);
7105
+ outline-offset: -2px;
7106
+ }
7107
+ .smwb-tab-groups__drop-target {
7108
+ position: relative;
7109
+ z-index: 2;
7110
+ }
7111
+ .smwb-tab-groups__drop-target::before {
7112
+ content: "";
7113
+ position: absolute;
7114
+ background: color-mix(in srgb, var(--smui-primaryColor) 16%, transparent);
7115
+ outline: 2px solid var(--smui-primaryColor);
7116
+ outline-offset: -2px;
7117
+ }
7118
+ .smwb-tab-groups__drop-target--center::before {
7119
+ inset: 0;
7120
+ }
7121
+ .smwb-tab-groups__drop-target--top::before {
7122
+ top: 0;
7123
+ right: 0;
7124
+ left: 0;
7125
+ height: 50%;
7126
+ }
7127
+ .smwb-tab-groups__drop-target--right::before {
7128
+ top: 0;
7129
+ right: 0;
7130
+ bottom: 0;
7131
+ width: 50%;
7132
+ }
7133
+ .smwb-tab-groups__drop-target--bottom::before {
7134
+ right: 0;
7135
+ bottom: 0;
7136
+ left: 0;
7137
+ height: 50%;
7138
+ }
7139
+ .smwb-tab-groups__drop-target--left::before {
7140
+ top: 0;
7141
+ bottom: 0;
7142
+ left: 0;
7143
+ width: 50%;
7144
+ }
7145
+ .smwb-tab-groups__empty {
7146
+ display: flex;
7147
+ align-items: center;
7148
+ justify-content: center;
7149
+ grid-area: 1 / 1 / -1 / -1;
7150
+ min-width: 0;
7151
+ min-height: 0;
7152
+ }
7153
+ .smwb-tab-groups__panel-end {
7154
+ position: absolute;
7155
+ width: 0;
7156
+ height: 0;
7157
+ overflow: hidden;
7158
+ outline: none;
7159
+ }
7160
+ .smwb-tab-groups__focus-guard {
7161
+ position: absolute;
7162
+ width: 1px;
7163
+ height: 1px;
7164
+ overflow: hidden;
7165
+ clip: rect(0 0 0 0);
7166
+ outline: none;
7167
+ }
7168
+ .smwb-tab-groups__status {
7169
+ position: absolute;
7170
+ width: 1px;
7171
+ height: 1px;
7172
+ margin: -1px;
7173
+ padding: 0;
7174
+ overflow: hidden;
7175
+ clip: rect(0 0 0 0);
7176
+ white-space: nowrap;
7177
+ border: 0;
7178
+ }
7179
+ .smwb-date-picker {
7180
+ border-radius: 4px;
7181
+ background-color: var(--smui-surfaceBackground);
7182
+ 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;
7183
+ width: 328px;
7184
+ max-height: 428px;
7185
+ color: var(--smui-primaryTextColor);
7186
+ overflow: hidden;
7187
+ z-index: 1300;
7188
+ }
7189
+ .smwb-date-picker__inner {
7190
+ display: flex;
7191
+ flex-direction: column;
7192
+ }
7193
+ .smwb-date-picker__header {
7194
+ display: flex;
7195
+ justify-content: space-between;
7196
+ padding: 15px 12px;
7197
+ }
7198
+ .smwb-date-picker__action {
7199
+ display: flex;
7200
+ align-items: center;
7201
+ }
7202
+ .smwb-date-picker__action-label {
7203
+ display: flex;
7204
+ align-items: center;
7205
+ justify-content: center;
7206
+ min-width: 80px;
7207
+ user-select: none;
7208
+ cursor: pointer;
7209
+ transition: color 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
7210
+ }
7211
+ .smwb-date-picker__action-label > .smwb-icon__wrapper {
7212
+ margin-right: -4px;
7213
+ opacity: 1;
7214
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, transform 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
7215
+ }
7216
+ .smwb-date-picker__action-label--disabled {
7217
+ color: var(--smui-disabledTextColor);
7218
+ cursor: default;
7219
+ pointer-events: none;
7220
+ }
7221
+ .smwb-date-picker__action-label--disabled > .smwb-icon__wrapper {
7222
+ opacity: 0;
7223
+ visibility: hidden;
7224
+ transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, visibility 0ms cubic-bezier(0.4, 0, 0.2, 1) 200ms;
7225
+ }
7226
+ .smwb-date-picker__action-label--active > .smwb-icon__wrapper {
7227
+ transform: rotate(180deg);
7228
+ }
7229
+ .smwb-date-picker__action-text {
6357
7230
  font-size: 14px;
6358
7231
  line-height: 19px;
6359
7232
  font-weight: 500;
@@ -6607,15 +7480,45 @@
6607
7480
  .smwb-tree__node__label > .smwb-icon__wrapper {
6608
7481
  flex: none;
6609
7482
  }
6610
- .smwb-tree__node__content {
7483
+ .smwb-tree__node__row {
6611
7484
  display: flex;
6612
7485
  align-items: center;
6613
7486
  gap: 10px;
6614
7487
  min-height: 40px;
7488
+ }
7489
+ .smwb-tree__node__toggle {
7490
+ display: inline-flex;
7491
+ flex: none;
7492
+ align-items: center;
7493
+ justify-content: center;
7494
+ width: 24px;
6615
7495
  cursor: pointer;
6616
7496
  user-select: none;
6617
7497
  }
6618
- .smwb-tree__node_selected > .smwb-tree__node__content {
7498
+ .smwb-tree__node__toggle:empty {
7499
+ cursor: default;
7500
+ }
7501
+ .smwb-tree__node__content {
7502
+ display: flex;
7503
+ align-items: center;
7504
+ flex: 1 1 auto;
7505
+ min-width: 0;
7506
+ align-self: stretch;
7507
+ cursor: pointer;
7508
+ user-select: none;
7509
+ border-radius: 4px;
7510
+ }
7511
+ .smwb-tree__node__content:focus-visible {
7512
+ outline: 2px solid var(--smui-primaryColor);
7513
+ outline-offset: -2px;
7514
+ }
7515
+ .smwb-tree__node__actions {
7516
+ display: inline-flex;
7517
+ flex: none;
7518
+ align-items: center;
7519
+ gap: 4px;
7520
+ }
7521
+ .smwb-tree__node_selected > .smwb-tree__node__row {
6619
7522
  background-color: var(--smui-onSurfaceHover);
6620
7523
  border-radius: 4px;
6621
7524
  }
@@ -7671,6 +8574,313 @@
7671
8574
  opacity: 0.35;
7672
8575
  }
7673
8576
  }
8577
+ .smwb-swimlanes {
8578
+ position: relative;
8579
+ box-sizing: border-box;
8580
+ width: 100%;
8581
+ height: 480px;
8582
+ min-width: 0;
8583
+ overflow: auto;
8584
+ overscroll-behavior: contain;
8585
+ border: 1px solid var(--smui-dividerColor);
8586
+ border-radius: 12px;
8587
+ background-color: var(--smui-surfaceBackground);
8588
+ color: var(--smui-onSurfaceColor);
8589
+ }
8590
+ .smwb-swimlanes_empty {
8591
+ display: grid;
8592
+ place-items: center;
8593
+ }
8594
+ .smwb-swimlanes__empty {
8595
+ padding: 32px 16px;
8596
+ color: var(--smui-onSurfaceVariant);
8597
+ text-align: center;
8598
+ }
8599
+ .smwb-swimlanes__sizer {
8600
+ position: relative;
8601
+ min-width: calc(var(--smwb-swimlanes-header-width, 240px) + var(--smwb-swimlanes-content-min-width, 0px));
8602
+ }
8603
+ .smwb-swimlanes__row {
8604
+ --smwb-swimlanes-tint: transparent;
8605
+ position: absolute;
8606
+ right: 0;
8607
+ left: 0;
8608
+ display: grid;
8609
+ grid-template-columns: var(--smwb-swimlanes-header-width, 240px) minmax(0, 1fr);
8610
+ box-sizing: border-box;
8611
+ height: var(--smwb-swimlanes-row-height);
8612
+ border-bottom: 1px solid var(--smui-dividerColor);
8613
+ }
8614
+ .smwb-swimlanes__row:where(:hover) {
8615
+ --smwb-swimlanes-tint: var(--smui-onSurfaceHover);
8616
+ }
8617
+ .smwb-swimlanes__row_selected {
8618
+ --smwb-swimlanes-tint: color-mix(in srgb, var(--smui-primaryColor) 12%, transparent);
8619
+ }
8620
+ .smwb-swimlanes__row_disabled {
8621
+ --smwb-swimlanes-tint: transparent;
8622
+ color: var(--smui-disabledTextColor);
8623
+ }
8624
+ .smwb-swimlanes__header,
8625
+ .smwb-swimlanes__content {
8626
+ display: flex;
8627
+ align-items: center;
8628
+ min-width: 0;
8629
+ padding: 8px 12px;
8630
+ overflow: hidden;
8631
+ }
8632
+ .smwb-swimlanes__header {
8633
+ position: sticky;
8634
+ inset-inline-start: 0;
8635
+ z-index: 1;
8636
+ background: linear-gradient(var(--smwb-swimlanes-tint), var(--smwb-swimlanes-tint)), var(--smui-surfaceBackground);
8637
+ box-shadow: inset -1px 0 0 var(--smui-dividerColor);
8638
+ }
8639
+ .smwb-swimlanes__row_selected .smwb-swimlanes__header {
8640
+ box-shadow: inset 3px 0 0 var(--smui-primaryColor), inset -1px 0 0 var(--smui-dividerColor);
8641
+ }
8642
+ .smwb-swimlanes__content {
8643
+ background-color: var(--smwb-swimlanes-tint);
8644
+ }
8645
+ .smwb-swimlanes__header:focus-visible,
8646
+ .smwb-swimlanes__content:focus-visible {
8647
+ outline: 2px solid var(--smui-primaryColor);
8648
+ outline-offset: -2px;
8649
+ }
8650
+ @media (forced-colors: active) {
8651
+ .smwb-swimlanes__header {
8652
+ background: Canvas;
8653
+ }
8654
+ .smwb-swimlanes__row_selected .smwb-swimlanes__header:not(:focus-visible),
8655
+ .smwb-swimlanes__row_selected .smwb-swimlanes__content:not(:focus-visible) {
8656
+ outline: 2px solid Highlight;
8657
+ outline-offset: -2px;
8658
+ }
8659
+ }
8660
+ .smwb-composer {
8661
+ position: relative;
8662
+ display: grid;
8663
+ grid-template-columns: auto minmax(0, 1fr) auto auto;
8664
+ align-items: center;
8665
+ box-sizing: border-box;
8666
+ width: 100%;
8667
+ min-width: 0;
8668
+ padding: 8px;
8669
+ border: 1px solid var(--smui-outlineColor);
8670
+ border-radius: 12px;
8671
+ background-color: var(--smui-surfaceBackground);
8672
+ color: var(--smui-onSurfaceColor);
8673
+ }
8674
+ .smwb-composer__attachments {
8675
+ grid-area: attachments;
8676
+ min-width: 0;
8677
+ margin-bottom: 4px;
8678
+ }
8679
+ .smwb-composer__field {
8680
+ grid-area: field;
8681
+ display: grid;
8682
+ min-width: 0;
8683
+ }
8684
+ .smwb-composer__field::after {
8685
+ box-sizing: border-box;
8686
+ margin: 0;
8687
+ border: 0;
8688
+ padding: 6px 8px;
8689
+ font: inherit;
8690
+ letter-spacing: inherit;
8691
+ line-height: 1.5rem;
8692
+ overflow-wrap: anywhere;
8693
+ min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * 6px);
8694
+ max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * 6px);
8695
+ content: attr(data-value) " ";
8696
+ grid-area: 1 / 1;
8697
+ visibility: hidden;
8698
+ pointer-events: none;
8699
+ white-space: pre-wrap;
8700
+ overflow: hidden;
8701
+ }
8702
+ .smwb-composer__input {
8703
+ box-sizing: border-box;
8704
+ margin: 0;
8705
+ border: 0;
8706
+ padding: 6px 8px;
8707
+ font: inherit;
8708
+ letter-spacing: inherit;
8709
+ line-height: 1.5rem;
8710
+ overflow-wrap: anywhere;
8711
+ min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * 6px);
8712
+ max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * 6px);
8713
+ grid-area: 1 / 1;
8714
+ display: block;
8715
+ width: 100%;
8716
+ resize: none;
8717
+ overflow-y: auto;
8718
+ outline: 0;
8719
+ background: transparent;
8720
+ color: var(--smui-onSurfaceColor);
8721
+ caret-color: var(--smui-onSurfaceColor);
8722
+ }
8723
+ .smwb-composer__input::placeholder {
8724
+ color: var(--smui-onSurfaceVariant);
8725
+ opacity: 1;
8726
+ }
8727
+ .smwb-composer__icon-button {
8728
+ display: inline-flex;
8729
+ align-items: center;
8730
+ justify-content: center;
8731
+ box-sizing: border-box;
8732
+ flex: none;
8733
+ width: 36px;
8734
+ height: 36px;
8735
+ margin: 0;
8736
+ padding: 0;
8737
+ border: 0;
8738
+ border-radius: 50%;
8739
+ background-color: transparent;
8740
+ color: var(--smui-onSurfaceColor);
8741
+ font: inherit;
8742
+ cursor: pointer;
8743
+ user-select: none;
8744
+ -webkit-user-select: none;
8745
+ transition: background-color 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
8746
+ }
8747
+ .smwb-composer__icon-button:hover:not(:disabled):not([aria-disabled="true"]) {
8748
+ background-color: var(--smui-onSurfaceHover);
8749
+ }
8750
+ .smwb-composer__icon-button:active:not(:disabled):not([aria-disabled="true"]) {
8751
+ background-color: var(--smui-onSurfaceActive);
8752
+ }
8753
+ .smwb-composer__icon-button:focus-visible {
8754
+ outline: 2px solid var(--smui-primaryColor);
8755
+ outline-offset: 2px;
8756
+ }
8757
+ .smwb-composer__icon-button:disabled {
8758
+ cursor: default;
8759
+ pointer-events: none;
8760
+ }
8761
+ .smwb-composer__attach {
8762
+ grid-area: attach;
8763
+ color: var(--smui-onSurfaceVariant);
8764
+ }
8765
+ .smwb-composer__toolbar {
8766
+ grid-area: toolbar;
8767
+ display: flex;
8768
+ flex-wrap: wrap;
8769
+ align-items: center;
8770
+ gap: 4px;
8771
+ min-width: 0;
8772
+ }
8773
+ .smwb-composer__attach ~ .smwb-composer__toolbar {
8774
+ margin-inline-start: 4px;
8775
+ }
8776
+ .smwb-composer__counter {
8777
+ grid-area: counter;
8778
+ margin-inline-start: 4px;
8779
+ color: var(--smui-onSurfaceVariant);
8780
+ font-size: 0.75rem;
8781
+ line-height: 1rem;
8782
+ font-variant-numeric: tabular-nums;
8783
+ white-space: nowrap;
8784
+ }
8785
+ .smwb-composer__counter_error {
8786
+ color: var(--smui-errorColor);
8787
+ font-weight: 500;
8788
+ }
8789
+ .smwb-composer__action {
8790
+ grid-area: action;
8791
+ margin-inline-start: 4px;
8792
+ }
8793
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled) {
8794
+ background-color: var(--smui-primaryColor);
8795
+ color: var(--smui-onPrimaryColor);
8796
+ }
8797
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled):hover {
8798
+ background-color: color-mix(in srgb, var(--smui-onPrimaryColor) 12%, var(--smui-primaryColor));
8799
+ }
8800
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled):active {
8801
+ background-color: color-mix(in srgb, var(--smui-onPrimaryColor) 20%, var(--smui-primaryColor));
8802
+ }
8803
+ .smwb-composer__action[aria-disabled="true"],
8804
+ .smwb-composer__action:disabled {
8805
+ background-color: var(--smui-disabledBgColor);
8806
+ color: var(--smui-disabledTextColor);
8807
+ cursor: default;
8808
+ }
8809
+ .smwb-composer__action_stop:not([aria-disabled="true"]):not(:disabled) {
8810
+ background-color: var(--smui-onSurfaceColor);
8811
+ color: var(--smui-surfaceBackground);
8812
+ }
8813
+ .smwb-composer__action_stop:not([aria-disabled="true"]):not(:disabled):hover {
8814
+ background-color: var(--smui-onSurfaceColor);
8815
+ opacity: 0.88;
8816
+ }
8817
+ .smwb-composer__action_stop:not([aria-disabled="true"]):not(:disabled):active {
8818
+ background-color: var(--smui-onSurfaceColor);
8819
+ opacity: 0.76;
8820
+ }
8821
+ .smwb-composer__status {
8822
+ position: absolute;
8823
+ width: 1px;
8824
+ height: 1px;
8825
+ margin: -1px;
8826
+ padding: 0;
8827
+ border: 0;
8828
+ overflow: hidden;
8829
+ clip-path: inset(50%);
8830
+ white-space: nowrap;
8831
+ }
8832
+ .smwb-composer_stacked {
8833
+ grid-template-areas: "attachments attachments attachments attachments" "field field field field" "attach toolbar counter action";
8834
+ }
8835
+ .smwb-composer_stacked .smwb-composer__field {
8836
+ margin-bottom: 4px;
8837
+ }
8838
+ .smwb-composer_stacked .smwb-composer__action {
8839
+ justify-self: end;
8840
+ }
8841
+ .smwb-composer_inline {
8842
+ grid-template-areas: "attachments attachments attachments attachments" "attach field counter action" "toolbar toolbar toolbar toolbar";
8843
+ align-items: end;
8844
+ }
8845
+ .smwb-composer_inline .smwb-composer__toolbar {
8846
+ margin-top: 4px;
8847
+ }
8848
+ .smwb-composer_inline .smwb-composer__counter {
8849
+ align-self: end;
8850
+ padding-bottom: calc((36px - 1rem) / 2);
8851
+ }
8852
+ .smwb-composer_inline .smwb-composer__attach ~ .smwb-composer__toolbar {
8853
+ margin-inline-start: 0;
8854
+ }
8855
+ .smwb-composer_focused {
8856
+ border-color: var(--smui-primaryColor);
8857
+ box-shadow: inset 0 0 0 1px var(--smui-primaryColor);
8858
+ }
8859
+ .smwb-composer_drag-active {
8860
+ border-style: dashed;
8861
+ border-color: var(--smui-primaryColor);
8862
+ background-color: var(--smui-primaryContainer);
8863
+ }
8864
+ .smwb-composer_disabled {
8865
+ opacity: 0.6;
8866
+ cursor: default;
8867
+ }
8868
+ .smwb-composer_over-limit:not(.smwb-composer_focused) {
8869
+ border-color: var(--smui-errorColor);
8870
+ }
8871
+ @media (forced-colors: active) {
8872
+ .smwb-composer_focused {
8873
+ outline: 2px solid Highlight;
8874
+ outline-offset: -2px;
8875
+ }
8876
+ .smwb-composer__action:not([aria-disabled="true"]):not(:disabled) {
8877
+ border: 1px solid ButtonText;
8878
+ }
8879
+ .smwb-composer__action[aria-disabled="true"],
8880
+ .smwb-composer__action:disabled {
8881
+ color: GrayText;
8882
+ }
8883
+ }
7674
8884
  .smwb-stepper {
7675
8885
  display: flex;
7676
8886
  width: 100%;
@@ -8845,6 +10055,7 @@
8845
10055
  --smui-infoColorActive: color-mix(in srgb, #0288d1 14%, transparent);
8846
10056
  --smui-infoColorFocus: color-mix(in srgb, #0288d1 12%, transparent);
8847
10057
  --smui-dividerColor: rgba(0, 0, 0, 0.12);
10058
+ --smui-badgeWarningColor: #1c1b1f;
8848
10059
  --smui-buttonOutlinedHoverBg: color-mix(in srgb, #6750a4 8%, transparent);
8849
10060
  --smui-buttonOutlinedActiveBg: color-mix(in srgb, #6750a4 12%, transparent);
8850
10061
  --smui-buttonOutlinedFocusBg: color-mix(in srgb, #6750a4 12%, transparent);
@@ -8871,6 +10082,7 @@
8871
10082
  --smui-menuDisabledTextColor: color-mix(in srgb, #1c1b1f 38%, transparent);
8872
10083
  --smui-tabIconColor: #49454e;
8873
10084
  --smui-tabColorDefault: #49454e;
10085
+ --smui-tabDenseHeight: 36px;
8874
10086
  --smui-sliderColor: #6750a4;
8875
10087
  --smui-sliderDisabledColor: #9e9e9e;
8876
10088
  --smui-fabFocusBg: color-mix(in srgb, #000 4%, #eaddff);
@@ -8913,6 +10125,9 @@
8913
10125
  --smui-space-xl: 20px;
8914
10126
  --smui-space-xxl: 24px;
8915
10127
  --smui-space-xxxl: 32px;
10128
+ --smui-control-h-sm: 32px;
10129
+ --smui-control-h-md: 40px;
10130
+ --smui-control-h-lg: 48px;
8916
10131
  /* Border-radius scale */
8917
10132
  --smui-radius-xs: 2px;
8918
10133
  --smui-radius-sm: 4px;