@smwb/ui-css 2.0.0 → 2.2.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 +255 -37
- 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);
|
|
@@ -1371,9 +1406,33 @@
|
|
|
1371
1406
|
.smwb-meter__of {
|
|
1372
1407
|
color: var(--smui-onSurfaceVariant);
|
|
1373
1408
|
}
|
|
1409
|
+
.smwb-meter_text-before {
|
|
1410
|
+
grid-template-columns: auto minmax(3.5rem, 1fr);
|
|
1411
|
+
}
|
|
1412
|
+
.smwb-meter_text-before .smwb-meter__text {
|
|
1413
|
+
order: -1;
|
|
1414
|
+
}
|
|
1415
|
+
.smwb-meter_compact {
|
|
1416
|
+
grid-template-columns: 64px auto;
|
|
1417
|
+
width: fit-content;
|
|
1418
|
+
max-width: 100%;
|
|
1419
|
+
font-size: 0.75rem;
|
|
1420
|
+
}
|
|
1421
|
+
.smwb-meter_compact .smwb-meter__track {
|
|
1422
|
+
height: 4px;
|
|
1423
|
+
}
|
|
1424
|
+
.smwb-meter_compact .smwb-meter__text {
|
|
1425
|
+
color: var(--smui-onSurfaceVariant);
|
|
1426
|
+
}
|
|
1427
|
+
.smwb-meter_compact.smwb-meter_text-before {
|
|
1428
|
+
grid-template-columns: auto 64px;
|
|
1429
|
+
}
|
|
1374
1430
|
.smwb-meter_bar-only {
|
|
1375
1431
|
grid-template-columns: minmax(3.5rem, 1fr);
|
|
1376
1432
|
}
|
|
1433
|
+
.smwb-meter_compact.smwb-meter_bar-only {
|
|
1434
|
+
grid-template-columns: 64px;
|
|
1435
|
+
}
|
|
1377
1436
|
.smwb-meter_color-neutral {
|
|
1378
1437
|
--smwb-meter-color: var(--smui-onSurfaceVariant);
|
|
1379
1438
|
}
|
|
@@ -1458,6 +1517,18 @@
|
|
|
1458
1517
|
width: 8px;
|
|
1459
1518
|
height: 8px;
|
|
1460
1519
|
}
|
|
1520
|
+
.smwb-status-dot_shape-diamond {
|
|
1521
|
+
width: 8.4853px;
|
|
1522
|
+
height: 8.4853px;
|
|
1523
|
+
margin: 1.7573px;
|
|
1524
|
+
border-radius: 0;
|
|
1525
|
+
transform: rotate(45deg);
|
|
1526
|
+
}
|
|
1527
|
+
.smwb-status-dot_shape-diamond.smwb-status-dot_size-sm {
|
|
1528
|
+
width: 5.6569px;
|
|
1529
|
+
height: 5.6569px;
|
|
1530
|
+
margin: 1.1715px;
|
|
1531
|
+
}
|
|
1461
1532
|
.smwb-status-dot_status-active {
|
|
1462
1533
|
--smwb-status-dot-color: var(--smui-infoColor);
|
|
1463
1534
|
}
|
|
@@ -2427,6 +2498,22 @@
|
|
|
2427
2498
|
min-height: var(--smui-control-h-lg, 48px);
|
|
2428
2499
|
justify-content: center;
|
|
2429
2500
|
}
|
|
2501
|
+
.smwb-toggle__wrapper_compact:has(.smwb-toggle) {
|
|
2502
|
+
flex-direction: row;
|
|
2503
|
+
align-items: center;
|
|
2504
|
+
justify-content: flex-start;
|
|
2505
|
+
min-height: min(var(--smui-control-h-sm, 32px), 28px);
|
|
2506
|
+
height: min(var(--smui-control-h-sm, 32px), 28px);
|
|
2507
|
+
}
|
|
2508
|
+
.smwb-toggle__wrapper_compact:has(.smwb-toggle) .smwb-toggle {
|
|
2509
|
+
height: min(30px, 100%);
|
|
2510
|
+
}
|
|
2511
|
+
.smwb-toggle__wrapper_compact:has(.smwb-toggle) .smwb-toggle__label {
|
|
2512
|
+
white-space: nowrap;
|
|
2513
|
+
}
|
|
2514
|
+
.smwb-toggle__wrapper_compact.smwb-toggle__wrapper_label-right:has(.smwb-toggle) {
|
|
2515
|
+
flex-direction: row-reverse;
|
|
2516
|
+
}
|
|
2430
2517
|
.smwb-toggle.smwb-disabled {
|
|
2431
2518
|
opacity: 0.35;
|
|
2432
2519
|
pointer-events: none;
|
|
@@ -2881,11 +2968,36 @@
|
|
|
2881
2968
|
cursor: default;
|
|
2882
2969
|
}
|
|
2883
2970
|
.smwb-tabs--dense .smwb-tab {
|
|
2971
|
+
min-height: var(--smui-tabDenseHeight, 36px);
|
|
2884
2972
|
padding: 0 12px;
|
|
2885
2973
|
font-weight: 500;
|
|
2886
2974
|
letter-spacing: normal;
|
|
2887
2975
|
text-transform: none;
|
|
2888
2976
|
}
|
|
2977
|
+
.smwb-tabs--fit .smwb-tab,
|
|
2978
|
+
.smwb-tabs--fit .smwb-tab-item {
|
|
2979
|
+
flex: 0 0 auto;
|
|
2980
|
+
min-width: var(--smui-tabFitMinWidth, 80px);
|
|
2981
|
+
max-width: var(--smui-tabFitMaxWidth, 256px);
|
|
2982
|
+
}
|
|
2983
|
+
.smwb-tabs--fit .smwb-tab-item > .smwb-tab {
|
|
2984
|
+
flex: 1 1 auto;
|
|
2985
|
+
min-width: 0;
|
|
2986
|
+
max-width: none;
|
|
2987
|
+
}
|
|
2988
|
+
.smwb-tabs--fit .smwb-tab__content {
|
|
2989
|
+
min-width: 0;
|
|
2990
|
+
}
|
|
2991
|
+
.smwb-tabs--fit .smwb-tab__icon {
|
|
2992
|
+
flex: 0 0 auto;
|
|
2993
|
+
}
|
|
2994
|
+
.smwb-tabs--fit .smwb-tab__text-label {
|
|
2995
|
+
min-width: 0;
|
|
2996
|
+
padding-block: 0.25em;
|
|
2997
|
+
margin-block: -0.25em;
|
|
2998
|
+
overflow: hidden;
|
|
2999
|
+
text-overflow: ellipsis;
|
|
3000
|
+
}
|
|
2889
3001
|
.smwb-tabs .smwb-tab__close {
|
|
2890
3002
|
opacity: 0;
|
|
2891
3003
|
pointer-events: none;
|
|
@@ -5054,10 +5166,11 @@
|
|
|
5054
5166
|
}
|
|
5055
5167
|
.smwb-sheet.smwb-top {
|
|
5056
5168
|
border-radius: 0 0 28px 28px;
|
|
5057
|
-
top:
|
|
5169
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5058
5170
|
left: 0;
|
|
5059
5171
|
width: 100%;
|
|
5060
5172
|
height: var(--sizeProp);
|
|
5173
|
+
max-height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5061
5174
|
transform: translateY(-100%);
|
|
5062
5175
|
flex-direction: column;
|
|
5063
5176
|
}
|
|
@@ -5066,9 +5179,9 @@
|
|
|
5066
5179
|
}
|
|
5067
5180
|
.smwb-sheet.smwb-left {
|
|
5068
5181
|
border-radius: 0 28px 28px 0;
|
|
5069
|
-
top:
|
|
5182
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5070
5183
|
left: 0;
|
|
5071
|
-
height: 100
|
|
5184
|
+
height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5072
5185
|
width: var(--sizeProp);
|
|
5073
5186
|
transform: translateX(-100%);
|
|
5074
5187
|
flex-direction: row-reverse;
|
|
@@ -5080,9 +5193,9 @@
|
|
|
5080
5193
|
}
|
|
5081
5194
|
.smwb-sheet.smwb-right {
|
|
5082
5195
|
border-radius: 28px 0 0 28px;
|
|
5083
|
-
top:
|
|
5196
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5084
5197
|
right: 0;
|
|
5085
|
-
height: 100
|
|
5198
|
+
height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5086
5199
|
width: var(--sizeProp);
|
|
5087
5200
|
transform: translateX(100%);
|
|
5088
5201
|
}
|
|
@@ -5092,15 +5205,16 @@
|
|
|
5092
5205
|
}
|
|
5093
5206
|
.smwb-sheet__overlay {
|
|
5094
5207
|
position: fixed;
|
|
5095
|
-
top:
|
|
5208
|
+
top: var(--smui-sheet-offset-top, 0px);
|
|
5096
5209
|
left: 0;
|
|
5097
5210
|
width: 100%;
|
|
5098
|
-
height: 100
|
|
5211
|
+
height: calc(100% - var(--smui-sheet-offset-top, 0px));
|
|
5099
5212
|
display: flex;
|
|
5100
5213
|
flex-direction: column;
|
|
5101
5214
|
z-index: 100;
|
|
5102
5215
|
opacity: 0;
|
|
5103
5216
|
transition: all 0.25s ease-in-out;
|
|
5217
|
+
clip-path: inset(0);
|
|
5104
5218
|
}
|
|
5105
5219
|
.smwb-sheet__overlay.smwb-entered {
|
|
5106
5220
|
opacity: 1;
|
|
@@ -5380,6 +5494,10 @@
|
|
|
5380
5494
|
.smwb-badge_primary {
|
|
5381
5495
|
background-color: var(--smui-primaryColor);
|
|
5382
5496
|
}
|
|
5497
|
+
.smwb-badge_warning {
|
|
5498
|
+
background-color: var(--smui-warningColor);
|
|
5499
|
+
color: var(--smui-badgeWarningColor, #1c1b1f);
|
|
5500
|
+
}
|
|
5383
5501
|
.smwb-badge_no-content {
|
|
5384
5502
|
padding: 0;
|
|
5385
5503
|
width: 8px;
|
|
@@ -6957,7 +7075,7 @@
|
|
|
6957
7075
|
.smwb-screen-divider__wrapper.smwb-vertical {
|
|
6958
7076
|
flex-direction: column;
|
|
6959
7077
|
}
|
|
6960
|
-
.smwb-screen-divider__wrapper.smwb-vertical .smwb-screen-divider__resizer {
|
|
7078
|
+
.smwb-screen-divider__wrapper.smwb-vertical > .smwb-screen-divider__resizer {
|
|
6961
7079
|
border-top: thin solid var(--smui-primaryColor);
|
|
6962
7080
|
border-bottom: thin solid var(--smui-primaryColor);
|
|
6963
7081
|
border-left: none;
|
|
@@ -6991,16 +7109,22 @@
|
|
|
6991
7109
|
content: "......";
|
|
6992
7110
|
text-align: center;
|
|
6993
7111
|
}
|
|
6994
|
-
.smwb-screen-
|
|
6995
|
-
|
|
6996
|
-
min-width: 5px;
|
|
6997
|
-
flex-shrink: 1;
|
|
7112
|
+
.smwb-screen-divider__resizer[hidden] {
|
|
7113
|
+
display: none;
|
|
6998
7114
|
}
|
|
7115
|
+
.smwb-screen-divider__first,
|
|
6999
7116
|
.smwb-screen-divider__second {
|
|
7000
7117
|
min-height: 5px;
|
|
7001
7118
|
min-width: 5px;
|
|
7002
7119
|
flex-shrink: 1;
|
|
7003
7120
|
}
|
|
7121
|
+
.smwb-screen-divider__first.smwb-collapsed,
|
|
7122
|
+
.smwb-screen-divider__second.smwb-collapsed {
|
|
7123
|
+
min-height: 0;
|
|
7124
|
+
min-width: 0;
|
|
7125
|
+
overflow: hidden;
|
|
7126
|
+
visibility: hidden;
|
|
7127
|
+
}
|
|
7004
7128
|
.smwb-tab-groups {
|
|
7005
7129
|
position: relative;
|
|
7006
7130
|
display: grid;
|
|
@@ -7022,8 +7146,23 @@
|
|
|
7022
7146
|
box-shadow: inset 0 2px 0 0 var(--smui-primaryColor);
|
|
7023
7147
|
}
|
|
7024
7148
|
.smwb-tab-groups__tabs {
|
|
7025
|
-
flex: 1 1
|
|
7149
|
+
flex: 1 1 0;
|
|
7150
|
+
min-width: 0;
|
|
7151
|
+
}
|
|
7152
|
+
.smwb-tab-groups__strip-actions {
|
|
7153
|
+
display: flex;
|
|
7154
|
+
align-items: center;
|
|
7155
|
+
flex: 0 1 auto;
|
|
7026
7156
|
min-width: 0;
|
|
7157
|
+
overflow: hidden;
|
|
7158
|
+
gap: 4px;
|
|
7159
|
+
padding: 0 4px;
|
|
7160
|
+
}
|
|
7161
|
+
.smwb-tab-groups__strip-actions:empty {
|
|
7162
|
+
display: none;
|
|
7163
|
+
}
|
|
7164
|
+
.smwb-tab-groups__header .smwb-tab-groups__strip-actions > * {
|
|
7165
|
+
align-self: center;
|
|
7027
7166
|
}
|
|
7028
7167
|
.smwb-tab-groups__actions-trigger {
|
|
7029
7168
|
display: inline-flex;
|
|
@@ -7437,14 +7576,31 @@
|
|
|
7437
7576
|
.smwb-date-time-picker .smwb-time-picker__overflow {
|
|
7438
7577
|
max-height: 309px;
|
|
7439
7578
|
}
|
|
7440
|
-
.smwb-
|
|
7579
|
+
.smwb-tree {
|
|
7580
|
+
--smwb-tree-row-h: var(--smui-control-h-md, 40px);
|
|
7581
|
+
--smwb-tree-indent: 30px;
|
|
7582
|
+
--smwb-tree-arm: 25px;
|
|
7583
|
+
}
|
|
7584
|
+
.smwb-tree_dense {
|
|
7585
|
+
--smwb-tree-row-h: var(--smui-control-h-sm, 32px);
|
|
7586
|
+
--smwb-tree-indent: 6px;
|
|
7587
|
+
--smwb-tree-arm: 6px;
|
|
7588
|
+
}
|
|
7589
|
+
.smwb-tree__wrapper > .smwb-tree__node:first-child {
|
|
7441
7590
|
border-left: 0;
|
|
7442
7591
|
}
|
|
7443
|
-
.smwb-tree__wrapper .smwb-tree__node:first-child::before {
|
|
7592
|
+
.smwb-tree__wrapper > .smwb-tree__node:first-child::before {
|
|
7444
7593
|
opacity: 0;
|
|
7445
7594
|
}
|
|
7595
|
+
.smwb-tree_no-guides .smwb-tree__node .smwb-tree__node {
|
|
7596
|
+
border-left-width: 0;
|
|
7597
|
+
padding-left: calc(var(--smwb-tree-indent) + 1px);
|
|
7598
|
+
}
|
|
7599
|
+
.smwb-tree_no-guides .smwb-tree__node .smwb-tree__node::before {
|
|
7600
|
+
display: none;
|
|
7601
|
+
}
|
|
7446
7602
|
.smwb-tree__node {
|
|
7447
|
-
padding-left:
|
|
7603
|
+
padding-left: var(--smwb-tree-indent);
|
|
7448
7604
|
margin-left: 9px;
|
|
7449
7605
|
position: relative;
|
|
7450
7606
|
border-left: 1px solid var(--smui-primaryColor);
|
|
@@ -7456,8 +7612,8 @@
|
|
|
7456
7612
|
position: absolute;
|
|
7457
7613
|
top: 0;
|
|
7458
7614
|
left: -1px;
|
|
7459
|
-
height:
|
|
7460
|
-
width:
|
|
7615
|
+
height: calc(var(--smwb-tree-row-h) / 2);
|
|
7616
|
+
width: var(--smwb-tree-arm);
|
|
7461
7617
|
border-bottom: 1px solid var(--smui-primaryColor);
|
|
7462
7618
|
border-left: 1px solid var(--smui-primaryColor);
|
|
7463
7619
|
content: "";
|
|
@@ -7479,7 +7635,7 @@
|
|
|
7479
7635
|
display: flex;
|
|
7480
7636
|
align-items: center;
|
|
7481
7637
|
gap: 10px;
|
|
7482
|
-
min-height:
|
|
7638
|
+
min-height: var(--smwb-tree-row-h);
|
|
7483
7639
|
}
|
|
7484
7640
|
.smwb-tree__node__toggle {
|
|
7485
7641
|
display: inline-flex;
|
|
@@ -7775,52 +7931,52 @@
|
|
|
7775
7931
|
.smwb-contained .smwb-button-group__grouped {
|
|
7776
7932
|
box-shadow: none;
|
|
7777
7933
|
}
|
|
7778
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:first-of-type) {
|
|
7934
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:first-of-type) {
|
|
7779
7935
|
border-top-left-radius: 0;
|
|
7780
7936
|
border-bottom-left-radius: 0;
|
|
7781
7937
|
}
|
|
7782
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
7938
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
7783
7939
|
margin-left: -1px;
|
|
7784
7940
|
}
|
|
7785
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type) {
|
|
7941
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type) {
|
|
7786
7942
|
border-top-right-radius: 0;
|
|
7787
7943
|
border-bottom-right-radius: 0;
|
|
7788
7944
|
}
|
|
7789
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
7945
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
7790
7946
|
border-right-color: transparent;
|
|
7791
7947
|
}
|
|
7792
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
7948
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
7793
7949
|
border-right: 1px solid color-mix(in srgb, #fff 12%, var(--smui-primaryColor));
|
|
7794
7950
|
}
|
|
7795
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
7951
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
7796
7952
|
border-right: 1px solid var(--smui-primaryColor);
|
|
7797
7953
|
}
|
|
7798
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
7799
|
-
.smwb-horizontal .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
7954
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
7955
|
+
.smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
7800
7956
|
border-right: 1px solid var(--smui-disabledBgColor);
|
|
7801
7957
|
}
|
|
7802
|
-
.smwb-vertical .smwb-button-group__grouped:not(:first-of-type) {
|
|
7958
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:first-of-type) {
|
|
7803
7959
|
border-top-right-radius: 0;
|
|
7804
7960
|
border-top-left-radius: 0;
|
|
7805
7961
|
}
|
|
7806
|
-
.smwb-vertical .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
7962
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:first-of-type).smwb-outlined {
|
|
7807
7963
|
margin-top: -1px;
|
|
7808
7964
|
}
|
|
7809
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type) {
|
|
7965
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type) {
|
|
7810
7966
|
border-bottom-right-radius: 0;
|
|
7811
7967
|
border-bottom-left-radius: 0;
|
|
7812
7968
|
}
|
|
7813
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
7969
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-outlined {
|
|
7814
7970
|
border-bottom-color: transparent;
|
|
7815
7971
|
}
|
|
7816
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
7972
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-contained {
|
|
7817
7973
|
border-bottom: 1px solid color-mix(in srgb, #fff 12%, var(--smui-primaryColor));
|
|
7818
7974
|
}
|
|
7819
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
7975
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-text {
|
|
7820
7976
|
border-bottom: 1px solid color-mix(in srgb, var(--smui-primaryColor) 50%, transparent);
|
|
7821
7977
|
}
|
|
7822
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
7823
|
-
.smwb-vertical .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
7978
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-text,
|
|
7979
|
+
.smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type).smwb-disabled.smwb-contained {
|
|
7824
7980
|
border-bottom: 1px solid var(--smui-disabledBgColor);
|
|
7825
7981
|
}
|
|
7826
7982
|
.smwb-avatar {
|
|
@@ -7857,6 +8013,9 @@
|
|
|
7857
8013
|
.smwb-avatar_square {
|
|
7858
8014
|
border-radius: 0;
|
|
7859
8015
|
}
|
|
8016
|
+
.smwb-avatar_image {
|
|
8017
|
+
background-color: transparent;
|
|
8018
|
+
}
|
|
7860
8019
|
.smwb-avatar__img {
|
|
7861
8020
|
width: 100%;
|
|
7862
8021
|
height: 100%;
|
|
@@ -8020,6 +8179,46 @@
|
|
|
8020
8179
|
.smwb-breadcrumbs__expand:hover {
|
|
8021
8180
|
background-color: var(--smui-onSurfaceActive);
|
|
8022
8181
|
}
|
|
8182
|
+
.smwb-breadcrumbs--no-wrap {
|
|
8183
|
+
min-width: 0;
|
|
8184
|
+
}
|
|
8185
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__list {
|
|
8186
|
+
flex-wrap: nowrap;
|
|
8187
|
+
}
|
|
8188
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item,
|
|
8189
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item > * {
|
|
8190
|
+
min-width: 0;
|
|
8191
|
+
overflow: hidden;
|
|
8192
|
+
overflow: clip;
|
|
8193
|
+
overflow-clip-margin: 4px;
|
|
8194
|
+
text-overflow: ellipsis;
|
|
8195
|
+
white-space: nowrap;
|
|
8196
|
+
}
|
|
8197
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item {
|
|
8198
|
+
display: block;
|
|
8199
|
+
flex: 0 1 auto;
|
|
8200
|
+
}
|
|
8201
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item > * {
|
|
8202
|
+
max-width: 100%;
|
|
8203
|
+
}
|
|
8204
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item > a {
|
|
8205
|
+
display: inline-block;
|
|
8206
|
+
vertical-align: top;
|
|
8207
|
+
}
|
|
8208
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item:not(:last-child) {
|
|
8209
|
+
flex-shrink: 100;
|
|
8210
|
+
min-width: 3em;
|
|
8211
|
+
}
|
|
8212
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item:last-child {
|
|
8213
|
+
min-width: 4em;
|
|
8214
|
+
}
|
|
8215
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__item:has(> .smwb-breadcrumbs__expand) {
|
|
8216
|
+
flex: none;
|
|
8217
|
+
min-width: 0;
|
|
8218
|
+
}
|
|
8219
|
+
.smwb-breadcrumbs--no-wrap .smwb-breadcrumbs__separator {
|
|
8220
|
+
flex: none;
|
|
8221
|
+
}
|
|
8023
8222
|
.smwb-divider {
|
|
8024
8223
|
border: 0;
|
|
8025
8224
|
margin: 0;
|
|
@@ -8366,6 +8565,7 @@
|
|
|
8366
8565
|
--smwb-dag-view-status-error: var(--smui-errorColor);
|
|
8367
8566
|
--smwb-dag-view-status-skipped: var(--smui-disabledTextColor);
|
|
8368
8567
|
--smwb-dag-view-dim-opacity: 0.35;
|
|
8568
|
+
--smwb-dag-view-node-border-style: solid;
|
|
8369
8569
|
position: relative;
|
|
8370
8570
|
width: 100%;
|
|
8371
8571
|
height: 480px;
|
|
@@ -8426,6 +8626,7 @@
|
|
|
8426
8626
|
}
|
|
8427
8627
|
.smwb-dag-view__node {
|
|
8428
8628
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-idle));
|
|
8629
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-node-border-style);
|
|
8429
8630
|
position: absolute;
|
|
8430
8631
|
box-sizing: border-box;
|
|
8431
8632
|
display: flex;
|
|
@@ -8434,6 +8635,7 @@
|
|
|
8434
8635
|
padding: 0 12px 0 10px;
|
|
8435
8636
|
border: 1px solid var(--smwb-dag-view-node-border);
|
|
8436
8637
|
border-left: 4px solid var(--smwb-dag-view-accent);
|
|
8638
|
+
border-style: var(--smwb-dag-view-border-style);
|
|
8437
8639
|
border-radius: 8px;
|
|
8438
8640
|
background-color: var(--smwb-dag-view-node-bg);
|
|
8439
8641
|
color: var(--smui-onSurfaceColor);
|
|
@@ -8446,21 +8648,33 @@
|
|
|
8446
8648
|
}
|
|
8447
8649
|
.smwb-dag-view__node[data-status="pending"] {
|
|
8448
8650
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-pending));
|
|
8651
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-pending-border-style, var(--smwb-dag-view-node-border-style));
|
|
8449
8652
|
}
|
|
8450
8653
|
.smwb-dag-view__node[data-status="running"] {
|
|
8451
8654
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-running));
|
|
8655
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-running-border-style, var(--smwb-dag-view-node-border-style));
|
|
8452
8656
|
}
|
|
8453
8657
|
.smwb-dag-view__node[data-status="success"] {
|
|
8454
8658
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-success));
|
|
8659
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-success-border-style, var(--smwb-dag-view-node-border-style));
|
|
8455
8660
|
}
|
|
8456
8661
|
.smwb-dag-view__node[data-status="warning"] {
|
|
8457
8662
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-warning));
|
|
8663
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-warning-border-style, var(--smwb-dag-view-node-border-style));
|
|
8458
8664
|
}
|
|
8459
8665
|
.smwb-dag-view__node[data-status="error"] {
|
|
8460
8666
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-error));
|
|
8667
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-error-border-style, var(--smwb-dag-view-node-border-style));
|
|
8461
8668
|
}
|
|
8462
8669
|
.smwb-dag-view__node[data-status="skipped"] {
|
|
8463
8670
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-skipped));
|
|
8671
|
+
--smwb-dag-view-border-style: var(--smwb-dag-view-status-skipped-border-style, var(--smwb-dag-view-node-border-style));
|
|
8672
|
+
}
|
|
8673
|
+
.smwb-dag-view__node[data-variant="solid"] {
|
|
8674
|
+
--smwb-dag-view-border-style: solid;
|
|
8675
|
+
}
|
|
8676
|
+
.smwb-dag-view__node[data-variant="dashed"] {
|
|
8677
|
+
--smwb-dag-view-border-style: dashed;
|
|
8464
8678
|
}
|
|
8465
8679
|
.smwb-dag-view__node:hover {
|
|
8466
8680
|
border-color: color-mix(in srgb, var(--smwb-dag-view-edge-active-color) 45%, var(--smwb-dag-view-node-border));
|
|
@@ -10050,6 +10264,7 @@
|
|
|
10050
10264
|
--smui-infoColorActive: color-mix(in srgb, #0288d1 14%, transparent);
|
|
10051
10265
|
--smui-infoColorFocus: color-mix(in srgb, #0288d1 12%, transparent);
|
|
10052
10266
|
--smui-dividerColor: rgba(0, 0, 0, 0.12);
|
|
10267
|
+
--smui-badgeWarningColor: #1c1b1f;
|
|
10053
10268
|
--smui-buttonOutlinedHoverBg: color-mix(in srgb, #6750a4 8%, transparent);
|
|
10054
10269
|
--smui-buttonOutlinedActiveBg: color-mix(in srgb, #6750a4 12%, transparent);
|
|
10055
10270
|
--smui-buttonOutlinedFocusBg: color-mix(in srgb, #6750a4 12%, transparent);
|
|
@@ -10076,6 +10291,9 @@
|
|
|
10076
10291
|
--smui-menuDisabledTextColor: color-mix(in srgb, #1c1b1f 38%, transparent);
|
|
10077
10292
|
--smui-tabIconColor: #49454e;
|
|
10078
10293
|
--smui-tabColorDefault: #49454e;
|
|
10294
|
+
--smui-tabDenseHeight: 36px;
|
|
10295
|
+
--smui-tabFitMinWidth: 80px;
|
|
10296
|
+
--smui-tabFitMaxWidth: 256px;
|
|
10079
10297
|
--smui-sliderColor: #6750a4;
|
|
10080
10298
|
--smui-sliderDisabledColor: #9e9e9e;
|
|
10081
10299
|
--smui-fabFocusBg: color-mix(in srgb, #000 4%, #eaddff);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smwb/ui-css",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.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.2.0",
|
|
23
23
|
"less": "^4.6.4"
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://sourcecraft.dev/elfenmail/ui",
|