@smwb/ui-css 2.1.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.css +309 -38
- package/package.json +2 -2
package/dist/ui.css
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
display: flex;
|
|
68
68
|
align-items: center;
|
|
69
69
|
width: 100%;
|
|
70
|
+
min-width: 0;
|
|
70
71
|
justify-content: space-between;
|
|
71
72
|
flex-wrap: nowrap;
|
|
72
73
|
}
|
|
@@ -75,21 +76,32 @@
|
|
|
75
76
|
align-items: center;
|
|
76
77
|
gap: 10px;
|
|
77
78
|
white-space: nowrap;
|
|
79
|
+
flex: 0 1 auto;
|
|
80
|
+
min-width: 0;
|
|
78
81
|
}
|
|
79
82
|
.smwb-appbar__left__title {
|
|
80
83
|
margin: 0;
|
|
81
84
|
font: inherit;
|
|
85
|
+
min-width: 0;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
overflow: clip;
|
|
88
|
+
overflow-clip-margin: 4px;
|
|
89
|
+
text-overflow: ellipsis;
|
|
82
90
|
}
|
|
83
91
|
.smwb-appbar__right {
|
|
84
92
|
white-space: nowrap;
|
|
93
|
+
flex: 0 0 auto;
|
|
85
94
|
}
|
|
86
95
|
.smwb-appbar__mid {
|
|
87
|
-
width: 100%;
|
|
88
96
|
display: flex;
|
|
89
|
-
flex: 1 1
|
|
97
|
+
flex: 1 1 0;
|
|
98
|
+
min-width: 0;
|
|
90
99
|
flex-direction: column;
|
|
91
100
|
flex-wrap: nowrap;
|
|
92
101
|
}
|
|
102
|
+
.smwb-appbar__mid > * {
|
|
103
|
+
max-width: 100%;
|
|
104
|
+
}
|
|
93
105
|
.smwb-appbar__mid.smwb-middle {
|
|
94
106
|
align-items: center;
|
|
95
107
|
}
|
|
@@ -181,6 +193,29 @@
|
|
|
181
193
|
padding: 8px 22px;
|
|
182
194
|
min-height: var(--smui-control-h-lg, 48px);
|
|
183
195
|
}
|
|
196
|
+
.smwb-button.smwb-button_icon-only {
|
|
197
|
+
box-sizing: border-box;
|
|
198
|
+
min-width: 0;
|
|
199
|
+
padding: 0;
|
|
200
|
+
flex: none;
|
|
201
|
+
border-radius: 8px;
|
|
202
|
+
}
|
|
203
|
+
.smwb-button.smwb-button_icon-only:focus-visible {
|
|
204
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
205
|
+
outline-offset: 2px;
|
|
206
|
+
}
|
|
207
|
+
.smwb-button.smwb-button_icon-only.smwb-small {
|
|
208
|
+
width: var(--smui-control-h-sm, 32px);
|
|
209
|
+
height: var(--smui-control-h-sm, 32px);
|
|
210
|
+
}
|
|
211
|
+
.smwb-button.smwb-button_icon-only.smwb-medium {
|
|
212
|
+
width: var(--smui-control-h-md, 40px);
|
|
213
|
+
height: var(--smui-control-h-md, 40px);
|
|
214
|
+
}
|
|
215
|
+
.smwb-button.smwb-button_icon-only.smwb-large {
|
|
216
|
+
width: var(--smui-control-h-lg, 48px);
|
|
217
|
+
height: var(--smui-control-h-lg, 48px);
|
|
218
|
+
}
|
|
184
219
|
.smwb-button.smwb-contained {
|
|
185
220
|
color: var(--smui-onPrimaryColor);
|
|
186
221
|
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
|
@@ -606,6 +641,13 @@
|
|
|
606
641
|
padding: 0 8px;
|
|
607
642
|
font-size: 0.75rem;
|
|
608
643
|
}
|
|
644
|
+
@media (pointer: coarse) {
|
|
645
|
+
.smwb-chip_size-small:is(a[href]),
|
|
646
|
+
.smwb-chip_size-small:has(> .smwb-chip__content[role="button"]) {
|
|
647
|
+
height: var(--smui-control-h-sm, 44px);
|
|
648
|
+
min-height: var(--smui-control-h-sm, 44px);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
609
651
|
.smwb-chip.smwb-chip_color-primary:not(.smwb-chip.smwb-disabled).smwb-filled {
|
|
610
652
|
background-color: var(--smui-primaryColor);
|
|
611
653
|
color: var(--smui-onPrimaryColor);
|
|
@@ -1371,9 +1413,33 @@
|
|
|
1371
1413
|
.smwb-meter__of {
|
|
1372
1414
|
color: var(--smui-onSurfaceVariant);
|
|
1373
1415
|
}
|
|
1416
|
+
.smwb-meter_text-before {
|
|
1417
|
+
grid-template-columns: auto minmax(3.5rem, 1fr);
|
|
1418
|
+
}
|
|
1419
|
+
.smwb-meter_text-before .smwb-meter__text {
|
|
1420
|
+
order: -1;
|
|
1421
|
+
}
|
|
1422
|
+
.smwb-meter_compact {
|
|
1423
|
+
grid-template-columns: 64px auto;
|
|
1424
|
+
width: fit-content;
|
|
1425
|
+
max-width: 100%;
|
|
1426
|
+
font-size: 0.75rem;
|
|
1427
|
+
}
|
|
1428
|
+
.smwb-meter_compact .smwb-meter__track {
|
|
1429
|
+
height: 4px;
|
|
1430
|
+
}
|
|
1431
|
+
.smwb-meter_compact .smwb-meter__text {
|
|
1432
|
+
color: var(--smui-onSurfaceVariant);
|
|
1433
|
+
}
|
|
1434
|
+
.smwb-meter_compact.smwb-meter_text-before {
|
|
1435
|
+
grid-template-columns: auto 64px;
|
|
1436
|
+
}
|
|
1374
1437
|
.smwb-meter_bar-only {
|
|
1375
1438
|
grid-template-columns: minmax(3.5rem, 1fr);
|
|
1376
1439
|
}
|
|
1440
|
+
.smwb-meter_compact.smwb-meter_bar-only {
|
|
1441
|
+
grid-template-columns: 64px;
|
|
1442
|
+
}
|
|
1377
1443
|
.smwb-meter_color-neutral {
|
|
1378
1444
|
--smwb-meter-color: var(--smui-onSurfaceVariant);
|
|
1379
1445
|
}
|
|
@@ -1458,6 +1524,18 @@
|
|
|
1458
1524
|
width: 8px;
|
|
1459
1525
|
height: 8px;
|
|
1460
1526
|
}
|
|
1527
|
+
.smwb-status-dot_shape-diamond {
|
|
1528
|
+
width: 8.4853px;
|
|
1529
|
+
height: 8.4853px;
|
|
1530
|
+
margin: 1.7573px;
|
|
1531
|
+
border-radius: 0;
|
|
1532
|
+
transform: rotate(45deg);
|
|
1533
|
+
}
|
|
1534
|
+
.smwb-status-dot_shape-diamond.smwb-status-dot_size-sm {
|
|
1535
|
+
width: 5.6569px;
|
|
1536
|
+
height: 5.6569px;
|
|
1537
|
+
margin: 1.1715px;
|
|
1538
|
+
}
|
|
1461
1539
|
.smwb-status-dot_status-active {
|
|
1462
1540
|
--smwb-status-dot-color: var(--smui-infoColor);
|
|
1463
1541
|
}
|
|
@@ -2427,6 +2505,22 @@
|
|
|
2427
2505
|
min-height: var(--smui-control-h-lg, 48px);
|
|
2428
2506
|
justify-content: center;
|
|
2429
2507
|
}
|
|
2508
|
+
.smwb-toggle__wrapper_compact:has(.smwb-toggle) {
|
|
2509
|
+
flex-direction: row;
|
|
2510
|
+
align-items: center;
|
|
2511
|
+
justify-content: flex-start;
|
|
2512
|
+
min-height: min(var(--smui-control-h-sm, 32px), 28px);
|
|
2513
|
+
height: min(var(--smui-control-h-sm, 32px), 28px);
|
|
2514
|
+
}
|
|
2515
|
+
.smwb-toggle__wrapper_compact:has(.smwb-toggle) .smwb-toggle {
|
|
2516
|
+
height: min(30px, 100%);
|
|
2517
|
+
}
|
|
2518
|
+
.smwb-toggle__wrapper_compact:has(.smwb-toggle) .smwb-toggle__label {
|
|
2519
|
+
white-space: nowrap;
|
|
2520
|
+
}
|
|
2521
|
+
.smwb-toggle__wrapper_compact.smwb-toggle__wrapper_label-right:has(.smwb-toggle) {
|
|
2522
|
+
flex-direction: row-reverse;
|
|
2523
|
+
}
|
|
2430
2524
|
.smwb-toggle.smwb-disabled {
|
|
2431
2525
|
opacity: 0.35;
|
|
2432
2526
|
pointer-events: none;
|
|
@@ -2552,6 +2646,11 @@
|
|
|
2552
2646
|
.smwb-menu__item--dense {
|
|
2553
2647
|
height: 32px;
|
|
2554
2648
|
}
|
|
2649
|
+
@media (pointer: coarse) {
|
|
2650
|
+
.smwb-menu__item--dense {
|
|
2651
|
+
height: max(32px, var(--smui-control-h-sm, 44px));
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2555
2654
|
.smwb-menu__item--disabled {
|
|
2556
2655
|
color: var(--smui-menuDisabledTextColor);
|
|
2557
2656
|
pointer-events: none;
|
|
@@ -2678,6 +2777,11 @@
|
|
|
2678
2777
|
opacity: 0.38;
|
|
2679
2778
|
cursor: default;
|
|
2680
2779
|
}
|
|
2780
|
+
@media (pointer: coarse) {
|
|
2781
|
+
.smwb-tabs__scroll-button {
|
|
2782
|
+
width: max(40px, var(--smui-control-h-sm, 44px));
|
|
2783
|
+
}
|
|
2784
|
+
}
|
|
2681
2785
|
.smwb-tabs__overflow-trigger {
|
|
2682
2786
|
display: inline-flex;
|
|
2683
2787
|
align-items: center;
|
|
@@ -2701,6 +2805,11 @@
|
|
|
2701
2805
|
opacity: 0.38;
|
|
2702
2806
|
cursor: default;
|
|
2703
2807
|
}
|
|
2808
|
+
@media (pointer: coarse) {
|
|
2809
|
+
.smwb-tabs__overflow-trigger {
|
|
2810
|
+
width: max(40px, var(--smui-control-h-sm, 44px));
|
|
2811
|
+
}
|
|
2812
|
+
}
|
|
2704
2813
|
.smwb-tabs__indicator {
|
|
2705
2814
|
display: flex;
|
|
2706
2815
|
justify-content: center;
|
|
@@ -2887,6 +2996,35 @@
|
|
|
2887
2996
|
letter-spacing: normal;
|
|
2888
2997
|
text-transform: none;
|
|
2889
2998
|
}
|
|
2999
|
+
@media (pointer: coarse) {
|
|
3000
|
+
.smwb-tabs--dense .smwb-tab {
|
|
3001
|
+
min-height: max(var(--smui-tabDenseHeight, 36px), var(--smui-control-h-sm, 44px));
|
|
3002
|
+
}
|
|
3003
|
+
}
|
|
3004
|
+
.smwb-tabs--fit .smwb-tab,
|
|
3005
|
+
.smwb-tabs--fit .smwb-tab-item {
|
|
3006
|
+
flex: 0 0 auto;
|
|
3007
|
+
min-width: var(--smui-tabFitMinWidth, 80px);
|
|
3008
|
+
max-width: var(--smui-tabFitMaxWidth, 256px);
|
|
3009
|
+
}
|
|
3010
|
+
.smwb-tabs--fit .smwb-tab-item > .smwb-tab {
|
|
3011
|
+
flex: 1 1 auto;
|
|
3012
|
+
min-width: 0;
|
|
3013
|
+
max-width: none;
|
|
3014
|
+
}
|
|
3015
|
+
.smwb-tabs--fit .smwb-tab__content {
|
|
3016
|
+
min-width: 0;
|
|
3017
|
+
}
|
|
3018
|
+
.smwb-tabs--fit .smwb-tab__icon {
|
|
3019
|
+
flex: 0 0 auto;
|
|
3020
|
+
}
|
|
3021
|
+
.smwb-tabs--fit .smwb-tab__text-label {
|
|
3022
|
+
min-width: 0;
|
|
3023
|
+
padding-block: 0.25em;
|
|
3024
|
+
margin-block: -0.25em;
|
|
3025
|
+
overflow: hidden;
|
|
3026
|
+
text-overflow: ellipsis;
|
|
3027
|
+
}
|
|
2890
3028
|
.smwb-tabs .smwb-tab__close {
|
|
2891
3029
|
opacity: 0;
|
|
2892
3030
|
pointer-events: none;
|
|
@@ -3506,6 +3644,11 @@
|
|
|
3506
3644
|
padding-top: 4px;
|
|
3507
3645
|
padding-bottom: 4px;
|
|
3508
3646
|
}
|
|
3647
|
+
@media (pointer: coarse) {
|
|
3648
|
+
.smwb-list__item_dense {
|
|
3649
|
+
min-height: max(36px, var(--smui-control-h-sm, 44px));
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3509
3652
|
.smwb-list__item_divider {
|
|
3510
3653
|
border-bottom: 1px solid var(--smui-dividerColor);
|
|
3511
3654
|
}
|
|
@@ -3514,6 +3657,11 @@
|
|
|
3514
3657
|
padding-top: 4px;
|
|
3515
3658
|
padding-bottom: 4px;
|
|
3516
3659
|
}
|
|
3660
|
+
@media (pointer: coarse) {
|
|
3661
|
+
.smwb-list_dense .smwb-list__item {
|
|
3662
|
+
min-height: max(36px, var(--smui-control-h-sm, 44px));
|
|
3663
|
+
}
|
|
3664
|
+
}
|
|
3517
3665
|
.smwb-list__item.smwb-list__item_link,
|
|
3518
3666
|
.smwb-list_dense .smwb-list__item.smwb-list__item_link {
|
|
3519
3667
|
padding: 0;
|
|
@@ -5055,10 +5203,11 @@
|
|
|
5055
5203
|
}
|
|
5056
5204
|
.smwb-sheet.smwb-top {
|
|
5057
5205
|
border-radius: 0 0 28px 28px;
|
|
5058
|
-
top:
|
|
5206
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5059
5207
|
left: 0;
|
|
5060
5208
|
width: 100%;
|
|
5061
5209
|
height: var(--sizeProp);
|
|
5210
|
+
max-height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5062
5211
|
transform: translateY(-100%);
|
|
5063
5212
|
flex-direction: column;
|
|
5064
5213
|
}
|
|
@@ -5067,9 +5216,9 @@
|
|
|
5067
5216
|
}
|
|
5068
5217
|
.smwb-sheet.smwb-left {
|
|
5069
5218
|
border-radius: 0 28px 28px 0;
|
|
5070
|
-
top:
|
|
5219
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5071
5220
|
left: 0;
|
|
5072
|
-
height: 100
|
|
5221
|
+
height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5073
5222
|
width: var(--sizeProp);
|
|
5074
5223
|
transform: translateX(-100%);
|
|
5075
5224
|
flex-direction: row-reverse;
|
|
@@ -5081,9 +5230,9 @@
|
|
|
5081
5230
|
}
|
|
5082
5231
|
.smwb-sheet.smwb-right {
|
|
5083
5232
|
border-radius: 28px 0 0 28px;
|
|
5084
|
-
top:
|
|
5233
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5085
5234
|
right: 0;
|
|
5086
|
-
height: 100
|
|
5235
|
+
height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5087
5236
|
width: var(--sizeProp);
|
|
5088
5237
|
transform: translateX(100%);
|
|
5089
5238
|
}
|
|
@@ -5093,15 +5242,16 @@
|
|
|
5093
5242
|
}
|
|
5094
5243
|
.smwb-sheet__overlay {
|
|
5095
5244
|
position: fixed;
|
|
5096
|
-
top:
|
|
5245
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5097
5246
|
left: 0;
|
|
5098
5247
|
width: 100%;
|
|
5099
|
-
height: 100
|
|
5248
|
+
height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5100
5249
|
display: flex;
|
|
5101
5250
|
flex-direction: column;
|
|
5102
5251
|
z-index: 100;
|
|
5103
5252
|
opacity: 0;
|
|
5104
5253
|
transition: all 0.25s ease-in-out;
|
|
5254
|
+
clip-path: inset(0);
|
|
5105
5255
|
}
|
|
5106
5256
|
.smwb-sheet__overlay.smwb-entered {
|
|
5107
5257
|
opacity: 1;
|
|
@@ -6962,7 +7112,7 @@
|
|
|
6962
7112
|
.smwb-screen-divider__wrapper.smwb-vertical {
|
|
6963
7113
|
flex-direction: column;
|
|
6964
7114
|
}
|
|
6965
|
-
.smwb-screen-divider__wrapper.smwb-vertical .smwb-screen-divider__resizer {
|
|
7115
|
+
.smwb-screen-divider__wrapper.smwb-vertical > .smwb-screen-divider__resizer {
|
|
6966
7116
|
border-top: thin solid var(--smui-primaryColor);
|
|
6967
7117
|
border-bottom: thin solid var(--smui-primaryColor);
|
|
6968
7118
|
border-left: none;
|
|
@@ -6996,16 +7146,22 @@
|
|
|
6996
7146
|
content: "......";
|
|
6997
7147
|
text-align: center;
|
|
6998
7148
|
}
|
|
6999
|
-
.smwb-screen-
|
|
7000
|
-
|
|
7001
|
-
min-width: 5px;
|
|
7002
|
-
flex-shrink: 1;
|
|
7149
|
+
.smwb-screen-divider__resizer[hidden] {
|
|
7150
|
+
display: none;
|
|
7003
7151
|
}
|
|
7152
|
+
.smwb-screen-divider__first,
|
|
7004
7153
|
.smwb-screen-divider__second {
|
|
7005
7154
|
min-height: 5px;
|
|
7006
7155
|
min-width: 5px;
|
|
7007
7156
|
flex-shrink: 1;
|
|
7008
7157
|
}
|
|
7158
|
+
.smwb-screen-divider__first.smwb-collapsed,
|
|
7159
|
+
.smwb-screen-divider__second.smwb-collapsed {
|
|
7160
|
+
min-height: 0;
|
|
7161
|
+
min-width: 0;
|
|
7162
|
+
overflow: hidden;
|
|
7163
|
+
visibility: hidden;
|
|
7164
|
+
}
|
|
7009
7165
|
.smwb-tab-groups {
|
|
7010
7166
|
position: relative;
|
|
7011
7167
|
display: grid;
|
|
@@ -7027,21 +7183,49 @@
|
|
|
7027
7183
|
box-shadow: inset 0 2px 0 0 var(--smui-primaryColor);
|
|
7028
7184
|
}
|
|
7029
7185
|
.smwb-tab-groups__tabs {
|
|
7030
|
-
flex: 1 1
|
|
7186
|
+
flex: 1 1 0;
|
|
7031
7187
|
min-width: 0;
|
|
7032
7188
|
}
|
|
7189
|
+
.smwb-tab-groups__strip-actions {
|
|
7190
|
+
display: flex;
|
|
7191
|
+
align-items: center;
|
|
7192
|
+
flex: 0 1 auto;
|
|
7193
|
+
min-width: 0;
|
|
7194
|
+
overflow: hidden;
|
|
7195
|
+
gap: 4px;
|
|
7196
|
+
padding: 0 4px;
|
|
7197
|
+
}
|
|
7198
|
+
.smwb-tab-groups__strip-actions:empty {
|
|
7199
|
+
display: none;
|
|
7200
|
+
}
|
|
7201
|
+
.smwb-tab-groups__header .smwb-tab-groups__strip-actions > * {
|
|
7202
|
+
align-self: center;
|
|
7203
|
+
}
|
|
7033
7204
|
.smwb-tab-groups__actions-trigger {
|
|
7205
|
+
--smwb-tab-groups-actions-size: var(--smui-control-h-lg, 48px);
|
|
7034
7206
|
display: inline-flex;
|
|
7035
7207
|
align-items: center;
|
|
7036
7208
|
justify-content: center;
|
|
7209
|
+
box-sizing: border-box;
|
|
7037
7210
|
flex: 0 0 auto;
|
|
7038
|
-
|
|
7211
|
+
align-self: center;
|
|
7212
|
+
min-width: 0;
|
|
7213
|
+
width: var(--smwb-tab-groups-actions-size);
|
|
7214
|
+
height: var(--smwb-tab-groups-actions-size);
|
|
7039
7215
|
padding: 0;
|
|
7040
7216
|
border: none;
|
|
7041
7217
|
background: none;
|
|
7042
7218
|
color: var(--smui-onSurfaceVariant);
|
|
7043
7219
|
cursor: pointer;
|
|
7044
7220
|
}
|
|
7221
|
+
.smwb-tab-groups__actions-trigger--dense {
|
|
7222
|
+
--smwb-tab-groups-actions-size: var(--smui-tabDenseHeight, 36px);
|
|
7223
|
+
}
|
|
7224
|
+
@media (pointer: coarse) {
|
|
7225
|
+
.smwb-tab-groups__actions-trigger--dense {
|
|
7226
|
+
--smwb-tab-groups-actions-size: max(var(--smui-tabDenseHeight, 36px), var(--smui-control-h-sm, 44px));
|
|
7227
|
+
}
|
|
7228
|
+
}
|
|
7045
7229
|
.smwb-tab-groups__actions-trigger:hover:not(:disabled) {
|
|
7046
7230
|
background-color: var(--smui-onSurfaceHover);
|
|
7047
7231
|
}
|
|
@@ -7442,14 +7626,31 @@
|
|
|
7442
7626
|
.smwb-date-time-picker .smwb-time-picker__overflow {
|
|
7443
7627
|
max-height: 309px;
|
|
7444
7628
|
}
|
|
7445
|
-
.smwb-
|
|
7629
|
+
.smwb-tree {
|
|
7630
|
+
--smwb-tree-row-h: var(--smui-control-h-md, 40px);
|
|
7631
|
+
--smwb-tree-indent: 30px;
|
|
7632
|
+
--smwb-tree-arm: 25px;
|
|
7633
|
+
}
|
|
7634
|
+
.smwb-tree_dense {
|
|
7635
|
+
--smwb-tree-row-h: var(--smui-control-h-sm, 32px);
|
|
7636
|
+
--smwb-tree-indent: 6px;
|
|
7637
|
+
--smwb-tree-arm: 6px;
|
|
7638
|
+
}
|
|
7639
|
+
.smwb-tree__wrapper > .smwb-tree__node:first-child {
|
|
7446
7640
|
border-left: 0;
|
|
7447
7641
|
}
|
|
7448
|
-
.smwb-tree__wrapper .smwb-tree__node:first-child::before {
|
|
7642
|
+
.smwb-tree__wrapper > .smwb-tree__node:first-child::before {
|
|
7449
7643
|
opacity: 0;
|
|
7450
7644
|
}
|
|
7645
|
+
.smwb-tree_no-guides .smwb-tree__node .smwb-tree__node {
|
|
7646
|
+
border-left-width: 0;
|
|
7647
|
+
padding-left: calc(var(--smwb-tree-indent) + 1px);
|
|
7648
|
+
}
|
|
7649
|
+
.smwb-tree_no-guides .smwb-tree__node .smwb-tree__node::before {
|
|
7650
|
+
display: none;
|
|
7651
|
+
}
|
|
7451
7652
|
.smwb-tree__node {
|
|
7452
|
-
padding-left:
|
|
7653
|
+
padding-left: var(--smwb-tree-indent);
|
|
7453
7654
|
margin-left: 9px;
|
|
7454
7655
|
position: relative;
|
|
7455
7656
|
border-left: 1px solid var(--smui-primaryColor);
|
|
@@ -7461,8 +7662,8 @@
|
|
|
7461
7662
|
position: absolute;
|
|
7462
7663
|
top: 0;
|
|
7463
7664
|
left: -1px;
|
|
7464
|
-
height:
|
|
7465
|
-
width:
|
|
7665
|
+
height: calc(var(--smwb-tree-row-h) / 2);
|
|
7666
|
+
width: var(--smwb-tree-arm);
|
|
7466
7667
|
border-bottom: 1px solid var(--smui-primaryColor);
|
|
7467
7668
|
border-left: 1px solid var(--smui-primaryColor);
|
|
7468
7669
|
content: "";
|
|
@@ -7484,7 +7685,7 @@
|
|
|
7484
7685
|
display: flex;
|
|
7485
7686
|
align-items: center;
|
|
7486
7687
|
gap: 10px;
|
|
7487
|
-
min-height:
|
|
7688
|
+
min-height: var(--smwb-tree-row-h);
|
|
7488
7689
|
}
|
|
7489
7690
|
.smwb-tree__node__toggle {
|
|
7490
7691
|
display: inline-flex;
|
|
@@ -7780,52 +7981,52 @@
|
|
|
7780
7981
|
.smwb-contained .smwb-button-group__grouped {
|
|
7781
7982
|
box-shadow: none;
|
|
7782
7983
|
}
|
|
7783
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:first-of-type) {
|
|
7984
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:first-of-type) {
|
|
7784
7985
|
border-top-left-radius: 0;
|
|
7785
7986
|
border-bottom-left-radius: 0;
|
|
7786
7987
|
}
|
|
7787
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
7988
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
7788
7989
|
margin-left: -1px;
|
|
7789
7990
|
}
|
|
7790
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type) {
|
|
7991
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type) {
|
|
7791
7992
|
border-top-right-radius: 0;
|
|
7792
7993
|
border-bottom-right-radius: 0;
|
|
7793
7994
|
}
|
|
7794
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
7995
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
7795
7996
|
border-right-color: transparent;
|
|
7796
7997
|
}
|
|
7797
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
7998
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
7798
7999
|
border-right: 1px solid color-mix(in srgb, #fff 12%, var(--smui-primaryColor));
|
|
7799
8000
|
}
|
|
7800
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
8001
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
7801
8002
|
border-right: 1px solid var(--smui-primaryColor);
|
|
7802
8003
|
}
|
|
7803
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
7804
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
8004
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
8005
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
7805
8006
|
border-right: 1px solid var(--smui-disabledBgColor);
|
|
7806
8007
|
}
|
|
7807
|
-
.smwb-vertical .smwb-button-group__grouped:not(:first-of-type) {
|
|
8008
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:first-of-type) {
|
|
7808
8009
|
border-top-right-radius: 0;
|
|
7809
8010
|
border-top-left-radius: 0;
|
|
7810
8011
|
}
|
|
7811
|
-
.smwb-vertical .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
8012
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
7812
8013
|
margin-top: -1px;
|
|
7813
8014
|
}
|
|
7814
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type) {
|
|
8015
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type) {
|
|
7815
8016
|
border-bottom-right-radius: 0;
|
|
7816
8017
|
border-bottom-left-radius: 0;
|
|
7817
8018
|
}
|
|
7818
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
8019
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
7819
8020
|
border-bottom-color: transparent;
|
|
7820
8021
|
}
|
|
7821
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
8022
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
7822
8023
|
border-bottom: 1px solid color-mix(in srgb, #fff 12%, var(--smui-primaryColor));
|
|
7823
8024
|
}
|
|
7824
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
8025
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
7825
8026
|
border-bottom: 1px solid color-mix(in srgb, var(--smui-primaryColor) 50%, transparent);
|
|
7826
8027
|
}
|
|
7827
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
7828
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
8028
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
8029
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
7829
8030
|
border-bottom: 1px solid var(--smui-disabledBgColor);
|
|
7830
8031
|
}
|
|
7831
8032
|
.smwb-avatar {
|
|
@@ -7862,6 +8063,9 @@
|
|
|
7862
8063
|
.smwb-avatar_square {
|
|
7863
8064
|
border-radius: 0;
|
|
7864
8065
|
}
|
|
8066
|
+
.smwb-avatar_image {
|
|
8067
|
+
background-color: transparent;
|
|
8068
|
+
}
|
|
7865
8069
|
.smwb-avatar__img {
|
|
7866
8070
|
width: 100%;
|
|
7867
8071
|
height: 100%;
|
|
@@ -8025,6 +8229,46 @@
|
|
|
8025
8229
|
.smwb-breadcrumbs__expand:hover {
|
|
8026
8230
|
background-color: var(--smui-onSurfaceActive);
|
|
8027
8231
|
}
|
|
8232
|
+
.smwb-breadcrumbs--no-wrap {
|
|
8233
|
+
min-width: 0;
|
|
8234
|
+
}
|
|
8235
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__list {
|
|
8236
|
+
flex-wrap: nowrap;
|
|
8237
|
+
}
|
|
8238
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item,
|
|
8239
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item > * {
|
|
8240
|
+
min-width: 0;
|
|
8241
|
+
overflow: hidden;
|
|
8242
|
+
overflow: clip;
|
|
8243
|
+
overflow-clip-margin: 4px;
|
|
8244
|
+
text-overflow: ellipsis;
|
|
8245
|
+
white-space: nowrap;
|
|
8246
|
+
}
|
|
8247
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item {
|
|
8248
|
+
display: block;
|
|
8249
|
+
flex: 0 1 auto;
|
|
8250
|
+
}
|
|
8251
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item > * {
|
|
8252
|
+
max-width: 100%;
|
|
8253
|
+
}
|
|
8254
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item > a {
|
|
8255
|
+
display: inline-block;
|
|
8256
|
+
vertical-align: top;
|
|
8257
|
+
}
|
|
8258
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item:not(:last-child) {
|
|
8259
|
+
flex-shrink: 100;
|
|
8260
|
+
min-width: 3em;
|
|
8261
|
+
}
|
|
8262
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item:last-child {
|
|
8263
|
+
min-width: 4em;
|
|
8264
|
+
}
|
|
8265
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item:has(> .smwb-breadcrumbs__expand) {
|
|
8266
|
+
flex: none;
|
|
8267
|
+
min-width: 0;
|
|
8268
|
+
}
|
|
8269
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__separator {
|
|
8270
|
+
flex: none;
|
|
8271
|
+
}
|
|
8028
8272
|
.smwb-divider {
|
|
8029
8273
|
border: 0;
|
|
8030
8274
|
margin: 0;
|
|
@@ -8371,6 +8615,7 @@
|
|
|
8371
8615
|
--smwb-dag-view-status-error: var(--smui-errorColor);
|
|
8372
8616
|
--smwb-dag-view-status-skipped: var(--smui-disabledTextColor);
|
|
8373
8617
|
--smwb-dag-view-dim-opacity: 0.35;
|
|
8618
|
+
--smwb-dag-view-node-border-style: solid;
|
|
8374
8619
|
position: relative;
|
|
8375
8620
|
width: 100%;
|
|
8376
8621
|
height: 480px;
|
|
@@ -8431,6 +8676,7 @@
|
|
|
8431
8676
|
}
|
|
8432
8677
|
.smwb-dag-view__node {
|
|
8433
8678
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-idle));
|
|
8679
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-node-border-style);
|
|
8434
8680
|
position: absolute;
|
|
8435
8681
|
box-sizing: border-box;
|
|
8436
8682
|
display: flex;
|
|
@@ -8439,6 +8685,7 @@
|
|
|
8439
8685
|
padding: 0 12px 0 10px;
|
|
8440
8686
|
border: 1px solid var(--smwb-dag-view-node-border);
|
|
8441
8687
|
border-left: 4px solid var(--smwb-dag-view-accent);
|
|
8688
|
+
border-style: var(--smwb-dag-view-border-style);
|
|
8442
8689
|
border-radius: 8px;
|
|
8443
8690
|
background-color: var(--smwb-dag-view-node-bg);
|
|
8444
8691
|
color: var(--smui-onSurfaceColor);
|
|
@@ -8451,21 +8698,33 @@
|
|
|
8451
8698
|
}
|
|
8452
8699
|
.smwb-dag-view__node[data-status="pending"] {
|
|
8453
8700
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-pending));
|
|
8701
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-pending-border-style, var(--smwb-dag-view-node-border-style));
|
|
8454
8702
|
}
|
|
8455
8703
|
.smwb-dag-view__node[data-status="running"] {
|
|
8456
8704
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-running));
|
|
8705
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-running-border-style, var(--smwb-dag-view-node-border-style));
|
|
8457
8706
|
}
|
|
8458
8707
|
.smwb-dag-view__node[data-status="success"] {
|
|
8459
8708
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-success));
|
|
8709
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-success-border-style, var(--smwb-dag-view-node-border-style));
|
|
8460
8710
|
}
|
|
8461
8711
|
.smwb-dag-view__node[data-status="warning"] {
|
|
8462
8712
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-warning));
|
|
8713
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-warning-border-style, var(--smwb-dag-view-node-border-style));
|
|
8463
8714
|
}
|
|
8464
8715
|
.smwb-dag-view__node[data-status="error"] {
|
|
8465
8716
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-error));
|
|
8717
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-error-border-style, var(--smwb-dag-view-node-border-style));
|
|
8466
8718
|
}
|
|
8467
8719
|
.smwb-dag-view__node[data-status="skipped"] {
|
|
8468
8720
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-skipped));
|
|
8721
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-skipped-border-style, var(--smwb-dag-view-node-border-style));
|
|
8722
|
+
}
|
|
8723
|
+
.smwb-dag-view__node[data-variant="solid"] {
|
|
8724
|
+
--smwb-dag-view-border-style: solid;
|
|
8725
|
+
}
|
|
8726
|
+
.smwb-dag-view__node[data-variant="dashed"] {
|
|
8727
|
+
--smwb-dag-view-border-style: dashed;
|
|
8469
8728
|
}
|
|
8470
8729
|
.smwb-dag-view__node:hover {
|
|
8471
8730
|
border-color: color-mix(in srgb, var(--smwb-dag-view-edge-active-color) 45%, var(--smwb-dag-view-node-border));
|
|
@@ -10083,6 +10342,8 @@
|
|
|
10083
10342
|
--smui-tabIconColor: #49454e;
|
|
10084
10343
|
--smui-tabColorDefault: #49454e;
|
|
10085
10344
|
--smui-tabDenseHeight: 36px;
|
|
10345
|
+
--smui-tabFitMinWidth: 80px;
|
|
10346
|
+
--smui-tabFitMaxWidth: 256px;
|
|
10086
10347
|
--smui-sliderColor: #6750a4;
|
|
10087
10348
|
--smui-sliderDisabledColor: #9e9e9e;
|
|
10088
10349
|
--smui-fabFocusBg: color-mix(in srgb, #000 4%, #eaddff);
|
|
@@ -10128,6 +10389,9 @@
|
|
|
10128
10389
|
--smui-control-h-sm: 32px;
|
|
10129
10390
|
--smui-control-h-md: 40px;
|
|
10130
10391
|
--smui-control-h-lg: 48px;
|
|
10392
|
+
--smui-control-h-sm-coarse: 44px;
|
|
10393
|
+
--smui-control-h-md-coarse: 44px;
|
|
10394
|
+
--smui-control-h-lg-coarse: 48px;
|
|
10131
10395
|
/* Border-radius scale */
|
|
10132
10396
|
--smui-radius-xs: 2px;
|
|
10133
10397
|
--smui-radius-sm: 4px;
|
|
@@ -10149,6 +10413,13 @@
|
|
|
10149
10413
|
--smui-bp-lg: 1024px;
|
|
10150
10414
|
--smui-bp-xl: 1200px;
|
|
10151
10415
|
}
|
|
10416
|
+
@media (pointer: coarse) {
|
|
10417
|
+
:root {
|
|
10418
|
+
--smui-control-h-sm: var(--smui-control-h-sm-coarse, 44px);
|
|
10419
|
+
--smui-control-h-md: var(--smui-control-h-md-coarse, 44px);
|
|
10420
|
+
--smui-control-h-lg: var(--smui-control-h-lg-coarse, 48px);
|
|
10421
|
+
}
|
|
10422
|
+
}
|
|
10152
10423
|
:root[data-theme="dark"] {
|
|
10153
10424
|
--smui-onSurfaceVariant: #cac4d0;
|
|
10154
10425
|
--smui-onSurfaceColor: #e6e1e5;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smwb/ui-css",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"description": "Prebuilt aggregate stylesheet for the @smwb design system (compiled from @smwb/ui-styles). Framework-agnostic — shared by the React and SolidJS libraries.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"build": "lessc -rp=/ ../styles/less/components.less ./dist/ui.css"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@smwb/ui-styles": "^2.
|
|
22
|
+
"@smwb/ui-styles": "^2.3.0",
|
|
23
23
|
"less": "^4.6.4"
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://sourcecraft.dev/elfenmail/ui",
|