@smwb/ui-css 2.1.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.
Files changed (2) hide show
  1. package/dist/ui.css +248 -37
  2. 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 auto;
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;
@@ -2887,6 +2974,30 @@
2887
2974
  letter-spacing: normal;
2888
2975
  text-transform: none;
2889
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
+ }
2890
3001
  .smwb-tabs .smwb-tab__close {
2891
3002
  opacity: 0;
2892
3003
  pointer-events: none;
@@ -5055,10 +5166,11 @@
5055
5166
  }
5056
5167
  .smwb-sheet.smwb-top {
5057
5168
  border-radius: 0 0 28px 28px;
5058
- top: 0;
5169
+ top: var(--smui-sheet-offset-top, 0px);
5059
5170
  left: 0;
5060
5171
  width: 100%;
5061
5172
  height: var(--sizeProp);
5173
+ max-height: calc(100% - var(--smui-sheet-offset-top, 0px));
5062
5174
  transform: translateY(-100%);
5063
5175
  flex-direction: column;
5064
5176
  }
@@ -5067,9 +5179,9 @@
5067
5179
  }
5068
5180
  .smwb-sheet.smwb-left {
5069
5181
  border-radius: 0 28px 28px 0;
5070
- top: 0;
5182
+ top: var(--smui-sheet-offset-top, 0px);
5071
5183
  left: 0;
5072
- height: 100%;
5184
+ height: calc(100% - var(--smui-sheet-offset-top, 0px));
5073
5185
  width: var(--sizeProp);
5074
5186
  transform: translateX(-100%);
5075
5187
  flex-direction: row-reverse;
@@ -5081,9 +5193,9 @@
5081
5193
  }
5082
5194
  .smwb-sheet.smwb-right {
5083
5195
  border-radius: 28px 0 0 28px;
5084
- top: 0;
5196
+ top: var(--smui-sheet-offset-top, 0px);
5085
5197
  right: 0;
5086
- height: 100%;
5198
+ height: calc(100% - var(--smui-sheet-offset-top, 0px));
5087
5199
  width: var(--sizeProp);
5088
5200
  transform: translateX(100%);
5089
5201
  }
@@ -5093,15 +5205,16 @@
5093
5205
  }
5094
5206
  .smwb-sheet__overlay {
5095
5207
  position: fixed;
5096
- top: 0;
5208
+ top: var(--smui-sheet-offset-top, 0px);
5097
5209
  left: 0;
5098
5210
  width: 100%;
5099
- height: 100%;
5211
+ height: calc(100% - var(--smui-sheet-offset-top, 0px));
5100
5212
  display: flex;
5101
5213
  flex-direction: column;
5102
5214
  z-index: 100;
5103
5215
  opacity: 0;
5104
5216
  transition: all 0.25s ease-in-out;
5217
+ clip-path: inset(0);
5105
5218
  }
5106
5219
  .smwb-sheet__overlay.smwb-entered {
5107
5220
  opacity: 1;
@@ -6962,7 +7075,7 @@
6962
7075
  .smwb-screen-divider__wrapper.smwb-vertical {
6963
7076
  flex-direction: column;
6964
7077
  }
6965
- .smwb-screen-divider__wrapper.smwb-vertical .smwb-screen-divider__resizer {
7078
+ .smwb-screen-divider__wrapper.smwb-vertical > .smwb-screen-divider__resizer {
6966
7079
  border-top: thin solid var(--smui-primaryColor);
6967
7080
  border-bottom: thin solid var(--smui-primaryColor);
6968
7081
  border-left: none;
@@ -6996,16 +7109,22 @@
6996
7109
  content: "......";
6997
7110
  text-align: center;
6998
7111
  }
6999
- .smwb-screen-divider__first {
7000
- min-height: 5px;
7001
- min-width: 5px;
7002
- flex-shrink: 1;
7112
+ .smwb-screen-divider__resizer[hidden] {
7113
+ display: none;
7003
7114
  }
7115
+ .smwb-screen-divider__first,
7004
7116
  .smwb-screen-divider__second {
7005
7117
  min-height: 5px;
7006
7118
  min-width: 5px;
7007
7119
  flex-shrink: 1;
7008
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
+ }
7009
7128
  .smwb-tab-groups {
7010
7129
  position: relative;
7011
7130
  display: grid;
@@ -7027,9 +7146,24 @@
7027
7146
  box-shadow: inset 0 2px 0 0 var(--smui-primaryColor);
7028
7147
  }
7029
7148
  .smwb-tab-groups__tabs {
7030
- flex: 1 1 auto;
7149
+ flex: 1 1 0;
7031
7150
  min-width: 0;
7032
7151
  }
7152
+ .smwb-tab-groups__strip-actions {
7153
+ display: flex;
7154
+ align-items: center;
7155
+ flex: 0 1 auto;
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;
7166
+ }
7033
7167
  .smwb-tab-groups__actions-trigger {
7034
7168
  display: inline-flex;
7035
7169
  align-items: center;
@@ -7442,14 +7576,31 @@
7442
7576
  .smwb-date-time-picker .smwb-time-picker__overflow {
7443
7577
  max-height: 309px;
7444
7578
  }
7445
- .smwb-tree__wrapper .smwb-tree__node:first-child {
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 {
7446
7590
  border-left: 0;
7447
7591
  }
7448
- .smwb-tree__wrapper .smwb-tree__node:first-child::before {
7592
+ .smwb-tree__wrapper > .smwb-tree__node:first-child::before {
7449
7593
  opacity: 0;
7450
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
+ }
7451
7602
  .smwb-tree__node {
7452
- padding-left: 30px;
7603
+ padding-left: var(--smwb-tree-indent);
7453
7604
  margin-left: 9px;
7454
7605
  position: relative;
7455
7606
  border-left: 1px solid var(--smui-primaryColor);
@@ -7461,8 +7612,8 @@
7461
7612
  position: absolute;
7462
7613
  top: 0;
7463
7614
  left: -1px;
7464
- height: 20px;
7465
- width: 25px;
7615
+ height: calc(var(--smwb-tree-row-h) / 2);
7616
+ width: var(--smwb-tree-arm);
7466
7617
  border-bottom: 1px solid var(--smui-primaryColor);
7467
7618
  border-left: 1px solid var(--smui-primaryColor);
7468
7619
  content: "";
@@ -7484,7 +7635,7 @@
7484
7635
  display: flex;
7485
7636
  align-items: center;
7486
7637
  gap: 10px;
7487
- min-height: 40px;
7638
+ min-height: var(--smwb-tree-row-h);
7488
7639
  }
7489
7640
  .smwb-tree__node__toggle {
7490
7641
  display: inline-flex;
@@ -7780,52 +7931,52 @@
7780
7931
  .smwb-contained .smwb-button-group__grouped {
7781
7932
  box-shadow: none;
7782
7933
  }
7783
- .smwb-horizontal .smwb-button-group__grouped:not(:first-of-type) {
7934
+ .smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:first-of-type) {
7784
7935
  border-top-left-radius: 0;
7785
7936
  border-bottom-left-radius: 0;
7786
7937
  }
7787
- .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 {
7788
7939
  margin-left: -1px;
7789
7940
  }
7790
- .smwb-horizontal .smwb-button-group__grouped:not(:last-of-type) {
7941
+ .smwb-button-group.smwb-horizontal > .smwb-button-group__grouped:not(:last-of-type) {
7791
7942
  border-top-right-radius: 0;
7792
7943
  border-bottom-right-radius: 0;
7793
7944
  }
7794
- .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 {
7795
7946
  border-right-color: transparent;
7796
7947
  }
7797
- .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 {
7798
7949
  border-right: 1px solid color-mix(in srgb, #fff 12%, var(--smui-primaryColor));
7799
7950
  }
7800
- .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 {
7801
7952
  border-right: 1px solid var(--smui-primaryColor);
7802
7953
  }
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 {
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 {
7805
7956
  border-right: 1px solid var(--smui-disabledBgColor);
7806
7957
  }
7807
- .smwb-vertical .smwb-button-group__grouped:not(:first-of-type) {
7958
+ .smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:first-of-type) {
7808
7959
  border-top-right-radius: 0;
7809
7960
  border-top-left-radius: 0;
7810
7961
  }
7811
- .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 {
7812
7963
  margin-top: -1px;
7813
7964
  }
7814
- .smwb-vertical .smwb-button-group__grouped:not(:last-of-type) {
7965
+ .smwb-button-group.smwb-vertical > .smwb-button-group__grouped:not(:last-of-type) {
7815
7966
  border-bottom-right-radius: 0;
7816
7967
  border-bottom-left-radius: 0;
7817
7968
  }
7818
- .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 {
7819
7970
  border-bottom-color: transparent;
7820
7971
  }
7821
- .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 {
7822
7973
  border-bottom: 1px solid color-mix(in srgb, #fff 12%, var(--smui-primaryColor));
7823
7974
  }
7824
- .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 {
7825
7976
  border-bottom: 1px solid color-mix(in srgb, var(--smui-primaryColor) 50%, transparent);
7826
7977
  }
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 {
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 {
7829
7980
  border-bottom: 1px solid var(--smui-disabledBgColor);
7830
7981
  }
7831
7982
  .smwb-avatar {
@@ -7862,6 +8013,9 @@
7862
8013
  .smwb-avatar_square {
7863
8014
  border-radius: 0;
7864
8015
  }
8016
+ .smwb-avatar_image {
8017
+ background-color: transparent;
8018
+ }
7865
8019
  .smwb-avatar__img {
7866
8020
  width: 100%;
7867
8021
  height: 100%;
@@ -8025,6 +8179,46 @@
8025
8179
  .smwb-breadcrumbs__expand:hover {
8026
8180
  background-color: var(--smui-onSurfaceActive);
8027
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
+ }
8028
8222
  .smwb-divider {
8029
8223
  border: 0;
8030
8224
  margin: 0;
@@ -8371,6 +8565,7 @@
8371
8565
  --smwb-dag-view-status-error: var(--smui-errorColor);
8372
8566
  --smwb-dag-view-status-skipped: var(--smui-disabledTextColor);
8373
8567
  --smwb-dag-view-dim-opacity: 0.35;
8568
+ --smwb-dag-view-node-border-style: solid;
8374
8569
  position: relative;
8375
8570
  width: 100%;
8376
8571
  height: 480px;
@@ -8431,6 +8626,7 @@
8431
8626
  }
8432
8627
  .smwb-dag-view__node {
8433
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);
8434
8630
  position: absolute;
8435
8631
  box-sizing: border-box;
8436
8632
  display: flex;
@@ -8439,6 +8635,7 @@
8439
8635
  padding: 0 12px 0 10px;
8440
8636
  border: 1px solid var(--smwb-dag-view-node-border);
8441
8637
  border-left: 4px solid var(--smwb-dag-view-accent);
8638
+ border-style: var(--smwb-dag-view-border-style);
8442
8639
  border-radius: 8px;
8443
8640
  background-color: var(--smwb-dag-view-node-bg);
8444
8641
  color: var(--smui-onSurfaceColor);
@@ -8451,21 +8648,33 @@
8451
8648
  }
8452
8649
  .smwb-dag-view__node[data-status="pending"] {
8453
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));
8454
8652
  }
8455
8653
  .smwb-dag-view__node[data-status="running"] {
8456
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));
8457
8656
  }
8458
8657
  .smwb-dag-view__node[data-status="success"] {
8459
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));
8460
8660
  }
8461
8661
  .smwb-dag-view__node[data-status="warning"] {
8462
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));
8463
8664
  }
8464
8665
  .smwb-dag-view__node[data-status="error"] {
8465
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));
8466
8668
  }
8467
8669
  .smwb-dag-view__node[data-status="skipped"] {
8468
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;
8469
8678
  }
8470
8679
  .smwb-dag-view__node:hover {
8471
8680
  border-color: color-mix(in srgb, var(--smwb-dag-view-edge-active-color) 45%, var(--smwb-dag-view-node-border));
@@ -10083,6 +10292,8 @@
10083
10292
  --smui-tabIconColor: #49454e;
10084
10293
  --smui-tabColorDefault: #49454e;
10085
10294
  --smui-tabDenseHeight: 36px;
10295
+ --smui-tabFitMinWidth: 80px;
10296
+ --smui-tabFitMaxWidth: 256px;
10086
10297
  --smui-sliderColor: #6750a4;
10087
10298
  --smui-sliderDisabledColor: #9e9e9e;
10088
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.1.0",
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.1.0",
22
+ "@smwb/ui-styles": "^2.2.0",
23
23
  "less": "^4.6.4"
24
24
  },
25
25
  "homepage": "https://sourcecraft.dev/elfenmail/ui",