@smwb/ui-css 1.1.0 → 1.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 +410 -16
- package/package.json +2 -2
package/dist/ui.css
CHANGED
|
@@ -371,6 +371,7 @@
|
|
|
371
371
|
left: 50%;
|
|
372
372
|
}
|
|
373
373
|
.smwb-checkbox__wrapper {
|
|
374
|
+
position: relative;
|
|
374
375
|
color: var(--smui-primaryTextColor);
|
|
375
376
|
display: flex;
|
|
376
377
|
align-items: center;
|
|
@@ -390,7 +391,15 @@
|
|
|
390
391
|
opacity: 0.8;
|
|
391
392
|
}
|
|
392
393
|
.smwb-checkbox__input {
|
|
393
|
-
|
|
394
|
+
position: absolute;
|
|
395
|
+
width: 18px;
|
|
396
|
+
height: 18px;
|
|
397
|
+
margin: 0;
|
|
398
|
+
opacity: 0;
|
|
399
|
+
}
|
|
400
|
+
.smwb-checkbox__input:focus-visible ~ .smwb-checkbox__btn {
|
|
401
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
402
|
+
outline-offset: 2px;
|
|
394
403
|
}
|
|
395
404
|
.smwb-checkbox__input:hover ~ .smwb-checkbox__btn::before {
|
|
396
405
|
background-color: var(--smui-onSurfaceHover);
|
|
@@ -498,6 +507,27 @@
|
|
|
498
507
|
align-items: center;
|
|
499
508
|
justify-content: center;
|
|
500
509
|
}
|
|
510
|
+
.smwb-chip__content {
|
|
511
|
+
display: inline-flex;
|
|
512
|
+
align-items: center;
|
|
513
|
+
gap: 8px;
|
|
514
|
+
border-radius: inherit;
|
|
515
|
+
}
|
|
516
|
+
.smwb-chip__content:focus {
|
|
517
|
+
outline-offset: 9999px;
|
|
518
|
+
}
|
|
519
|
+
.smwb-chip__content:focus::after {
|
|
520
|
+
content: "";
|
|
521
|
+
position: absolute;
|
|
522
|
+
inset: 0;
|
|
523
|
+
border-radius: inherit;
|
|
524
|
+
outline: inherit;
|
|
525
|
+
pointer-events: none;
|
|
526
|
+
}
|
|
527
|
+
.smwb-chip.smwb-outlined > .smwb-chip__content:focus::after {
|
|
528
|
+
inset: -1px;
|
|
529
|
+
border: 1px solid transparent;
|
|
530
|
+
}
|
|
501
531
|
.smwb-chip__delete-icon {
|
|
502
532
|
background: transparent;
|
|
503
533
|
border: 0;
|
|
@@ -1328,7 +1358,17 @@
|
|
|
1328
1358
|
display: none;
|
|
1329
1359
|
}
|
|
1330
1360
|
.smwb-radio__input {
|
|
1331
|
-
|
|
1361
|
+
position: absolute;
|
|
1362
|
+
top: 0;
|
|
1363
|
+
left: 0;
|
|
1364
|
+
width: 100%;
|
|
1365
|
+
height: 100%;
|
|
1366
|
+
margin: 0;
|
|
1367
|
+
opacity: 0;
|
|
1368
|
+
}
|
|
1369
|
+
.smwb-radio__input:focus-visible ~ .smwb-radio__btn {
|
|
1370
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
1371
|
+
outline-offset: 2px;
|
|
1332
1372
|
}
|
|
1333
1373
|
.smwb-radio__input:active ~ .radio__btn:hover ~ .smwb-radio__bg {
|
|
1334
1374
|
transform: translate(-50%, -50%) scale(1);
|
|
@@ -2126,7 +2166,17 @@
|
|
|
2126
2166
|
opacity: 1;
|
|
2127
2167
|
}
|
|
2128
2168
|
.smwb-toggle__checkbox {
|
|
2129
|
-
|
|
2169
|
+
position: absolute;
|
|
2170
|
+
top: 0;
|
|
2171
|
+
left: 0;
|
|
2172
|
+
width: 100%;
|
|
2173
|
+
height: 100%;
|
|
2174
|
+
margin: 0;
|
|
2175
|
+
opacity: 0;
|
|
2176
|
+
}
|
|
2177
|
+
.smwb-toggle__checkbox:focus-visible ~ .smwb-toggle__track {
|
|
2178
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
2179
|
+
outline-offset: 2px;
|
|
2130
2180
|
}
|
|
2131
2181
|
.smwb-toggle__checkbox:checked ~ .smwb-toggle__track {
|
|
2132
2182
|
background-color: var(--smui-toggleTrackActiveColor);
|
|
@@ -2179,7 +2229,7 @@
|
|
|
2179
2229
|
white-space: nowrap;
|
|
2180
2230
|
height: 48px;
|
|
2181
2231
|
}
|
|
2182
|
-
.smwb-menu__item:not(.smwb-menu__item--selected):not(:active):hover:before {
|
|
2232
|
+
.smwb-menu__item:not(.smwb-menu__item--selected):not(:active):not(:focus-visible):not(.smwb-select-field__option--active):hover:before {
|
|
2183
2233
|
opacity: 0.08;
|
|
2184
2234
|
}
|
|
2185
2235
|
.smwb-menu__item:before {
|
|
@@ -2201,6 +2251,16 @@
|
|
|
2201
2251
|
.smwb-menu__item--selected:before {
|
|
2202
2252
|
opacity: 0.08;
|
|
2203
2253
|
}
|
|
2254
|
+
.smwb-menu__item:focus-visible {
|
|
2255
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
2256
|
+
outline-offset: -2px;
|
|
2257
|
+
}
|
|
2258
|
+
.smwb-menu__item:focus-visible:before {
|
|
2259
|
+
opacity: 0.12;
|
|
2260
|
+
}
|
|
2261
|
+
.smwb-menu__item:has( > .smwb-menu__item-inner:focus-visible):before {
|
|
2262
|
+
opacity: 0.12;
|
|
2263
|
+
}
|
|
2204
2264
|
.smwb-menu__item:active:before {
|
|
2205
2265
|
opacity: 0.12;
|
|
2206
2266
|
}
|
|
@@ -2212,6 +2272,10 @@
|
|
|
2212
2272
|
color: currentColor;
|
|
2213
2273
|
gap: 6px;
|
|
2214
2274
|
}
|
|
2275
|
+
.smwb-menu__item-inner:focus-visible {
|
|
2276
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
2277
|
+
outline-offset: -2px;
|
|
2278
|
+
}
|
|
2215
2279
|
.smwb-menu__text {
|
|
2216
2280
|
flex-grow: 1;
|
|
2217
2281
|
}
|
|
@@ -2751,12 +2815,39 @@
|
|
|
2751
2815
|
width: 0;
|
|
2752
2816
|
height: 0;
|
|
2753
2817
|
}
|
|
2818
|
+
.smwb-select-field__control {
|
|
2819
|
+
display: flex;
|
|
2820
|
+
flex: 1 1 auto;
|
|
2821
|
+
align-items: center;
|
|
2822
|
+
align-self: stretch;
|
|
2823
|
+
}
|
|
2824
|
+
.smwb-select-field__control:focus {
|
|
2825
|
+
outline-offset: 9999px;
|
|
2826
|
+
}
|
|
2827
|
+
.smwb-select-field__control:focus::after {
|
|
2828
|
+
content: "";
|
|
2829
|
+
position: absolute;
|
|
2830
|
+
inset: 0;
|
|
2831
|
+
outline: inherit;
|
|
2832
|
+
pointer-events: none;
|
|
2833
|
+
}
|
|
2754
2834
|
.smwb-select-field__actions {
|
|
2755
2835
|
display: flex;
|
|
2756
2836
|
align-items: center;
|
|
2757
2837
|
column-gap: 2px;
|
|
2758
2838
|
margin-right: -7px;
|
|
2759
2839
|
}
|
|
2840
|
+
.smwb-select-field__clear {
|
|
2841
|
+
display: inline-flex;
|
|
2842
|
+
flex-shrink: 0;
|
|
2843
|
+
margin: 0;
|
|
2844
|
+
padding: 0;
|
|
2845
|
+
border: 0;
|
|
2846
|
+
background: none;
|
|
2847
|
+
color: inherit;
|
|
2848
|
+
font: inherit;
|
|
2849
|
+
cursor: pointer;
|
|
2850
|
+
}
|
|
2760
2851
|
.smwb-select-field__values {
|
|
2761
2852
|
white-space: nowrap;
|
|
2762
2853
|
font: inherit;
|
|
@@ -2766,7 +2857,8 @@
|
|
|
2766
2857
|
.smwb-select-field__values > *:not(:first-child) {
|
|
2767
2858
|
margin-left: 4px;
|
|
2768
2859
|
}
|
|
2769
|
-
.smwb-select-field__values +
|
|
2860
|
+
.smwb-select-field__values + .smwb-select-field__search,
|
|
2861
|
+
.smwb-select-field__values + .smwb-select-field__control > .smwb-select-field__search {
|
|
2770
2862
|
margin-left: 4px;
|
|
2771
2863
|
}
|
|
2772
2864
|
.smwb-select-field__values .smwb-chip {
|
|
@@ -2866,6 +2958,19 @@
|
|
|
2866
2958
|
font-style: italic;
|
|
2867
2959
|
color: var(--smui-primaryColor);
|
|
2868
2960
|
}
|
|
2961
|
+
.smwb-select-field__listbox,
|
|
2962
|
+
.smwb-select-field__group-options {
|
|
2963
|
+
list-style: none;
|
|
2964
|
+
margin: 0;
|
|
2965
|
+
padding: 0;
|
|
2966
|
+
}
|
|
2967
|
+
.smwb-select-field__option--active {
|
|
2968
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
2969
|
+
outline-offset: -2px;
|
|
2970
|
+
}
|
|
2971
|
+
.smwb-menu .smwb-menu__item.smwb-select-field__option--active:before {
|
|
2972
|
+
opacity: 0.12;
|
|
2973
|
+
}
|
|
2869
2974
|
.smwb-text-field_size-small .smwb-select-field:not(.smwb-select-field--inline) {
|
|
2870
2975
|
padding-top: 8px;
|
|
2871
2976
|
padding-bottom: 8px;
|
|
@@ -3193,7 +3298,6 @@
|
|
|
3193
3298
|
flex-direction: column;
|
|
3194
3299
|
border-radius: 8px;
|
|
3195
3300
|
overflow: visible;
|
|
3196
|
-
outline: none;
|
|
3197
3301
|
}
|
|
3198
3302
|
.smwb-thumb-card--interactive {
|
|
3199
3303
|
cursor: pointer;
|
|
@@ -3202,6 +3306,11 @@
|
|
|
3202
3306
|
opacity: 0.5;
|
|
3203
3307
|
pointer-events: none;
|
|
3204
3308
|
}
|
|
3309
|
+
.smwb-thumb-card__content {
|
|
3310
|
+
display: flex;
|
|
3311
|
+
flex-direction: column;
|
|
3312
|
+
outline: none;
|
|
3313
|
+
}
|
|
3205
3314
|
.smwb-thumb-card__media {
|
|
3206
3315
|
position: relative;
|
|
3207
3316
|
width: 100%;
|
|
@@ -3214,7 +3323,7 @@
|
|
|
3214
3323
|
outline: 2px solid var(--smui-primaryColor);
|
|
3215
3324
|
outline-offset: 1px;
|
|
3216
3325
|
}
|
|
3217
|
-
.smwb-thumb-
|
|
3326
|
+
.smwb-thumb-card__content:focus-visible .smwb-thumb-card__media {
|
|
3218
3327
|
outline: 2px solid var(--smui-primaryColor);
|
|
3219
3328
|
outline-offset: 1px;
|
|
3220
3329
|
}
|
|
@@ -4626,6 +4735,13 @@
|
|
|
4626
4735
|
pointer-events: none;
|
|
4627
4736
|
opacity: 0.38;
|
|
4628
4737
|
}
|
|
4738
|
+
.smwb-card__content {
|
|
4739
|
+
display: flex;
|
|
4740
|
+
flex-direction: column;
|
|
4741
|
+
}
|
|
4742
|
+
.smwb-card__content:focus-visible {
|
|
4743
|
+
outline: none;
|
|
4744
|
+
}
|
|
4629
4745
|
.smwb-card__title {
|
|
4630
4746
|
font-size: 1.25rem;
|
|
4631
4747
|
font-weight: 500;
|
|
@@ -4636,7 +4752,7 @@
|
|
|
4636
4752
|
.smwb-card_interactive {
|
|
4637
4753
|
cursor: pointer;
|
|
4638
4754
|
}
|
|
4639
|
-
.smwb-
|
|
4755
|
+
.smwb-card:has( > .smwb-card__content:focus-visible) {
|
|
4640
4756
|
outline: 2px solid var(--smui-primaryColor);
|
|
4641
4757
|
outline-offset: 2px;
|
|
4642
4758
|
}
|
|
@@ -5804,6 +5920,14 @@
|
|
|
5804
5920
|
.smwb-table__cell.smwb-head-cell .smwb-head-cell__content input {
|
|
5805
5921
|
font-weight: 500;
|
|
5806
5922
|
}
|
|
5923
|
+
.smwb-table__cell.smwb-head-cell .smwb-head-cell__actions {
|
|
5924
|
+
align-items: center;
|
|
5925
|
+
display: inline-flex;
|
|
5926
|
+
vertical-align: middle;
|
|
5927
|
+
gap: 5px;
|
|
5928
|
+
margin-inline-start: 5px;
|
|
5929
|
+
cursor: auto;
|
|
5930
|
+
}
|
|
5807
5931
|
.smwb-table__cell.smwb-head-cell.smwb-align_left {
|
|
5808
5932
|
text-align: left;
|
|
5809
5933
|
}
|
|
@@ -6851,10 +6975,51 @@
|
|
|
6851
6975
|
display: inline-flex;
|
|
6852
6976
|
flex-direction: row;
|
|
6853
6977
|
align-items: center;
|
|
6978
|
+
isolation: isolate;
|
|
6854
6979
|
}
|
|
6855
6980
|
.smwb-avatar-group > :not(:first-child) {
|
|
6856
6981
|
margin-left: -8px;
|
|
6857
6982
|
}
|
|
6983
|
+
.smwb-avatar-group > :nth-child(1) {
|
|
6984
|
+
z-index: 12;
|
|
6985
|
+
}
|
|
6986
|
+
.smwb-avatar-group > :nth-child(2) {
|
|
6987
|
+
z-index: 11;
|
|
6988
|
+
}
|
|
6989
|
+
.smwb-avatar-group > :nth-child(3) {
|
|
6990
|
+
z-index: 10;
|
|
6991
|
+
}
|
|
6992
|
+
.smwb-avatar-group > :nth-child(4) {
|
|
6993
|
+
z-index: 9;
|
|
6994
|
+
}
|
|
6995
|
+
.smwb-avatar-group > :nth-child(5) {
|
|
6996
|
+
z-index: 8;
|
|
6997
|
+
}
|
|
6998
|
+
.smwb-avatar-group > :nth-child(6) {
|
|
6999
|
+
z-index: 7;
|
|
7000
|
+
}
|
|
7001
|
+
.smwb-avatar-group > :nth-child(7) {
|
|
7002
|
+
z-index: 6;
|
|
7003
|
+
}
|
|
7004
|
+
.smwb-avatar-group > :nth-child(8) {
|
|
7005
|
+
z-index: 5;
|
|
7006
|
+
}
|
|
7007
|
+
.smwb-avatar-group > :nth-child(9) {
|
|
7008
|
+
z-index: 4;
|
|
7009
|
+
}
|
|
7010
|
+
.smwb-avatar-group > :nth-child(10) {
|
|
7011
|
+
z-index: 3;
|
|
7012
|
+
}
|
|
7013
|
+
.smwb-avatar-group > :nth-child(11) {
|
|
7014
|
+
z-index: 2;
|
|
7015
|
+
}
|
|
7016
|
+
.smwb-avatar-group > :nth-child(12) {
|
|
7017
|
+
z-index: 1;
|
|
7018
|
+
}
|
|
7019
|
+
.smwb-avatar-group > :focus-visible,
|
|
7020
|
+
.smwb-avatar-group > :has(:focus-visible) {
|
|
7021
|
+
z-index: 13;
|
|
7022
|
+
}
|
|
6858
7023
|
.smwb-avatar-group .smwb-avatar {
|
|
6859
7024
|
border: 2px solid var(--smui-surfaceBackground);
|
|
6860
7025
|
box-sizing: content-box;
|
|
@@ -6877,7 +7042,7 @@
|
|
|
6877
7042
|
color: inherit;
|
|
6878
7043
|
text-decoration: none;
|
|
6879
7044
|
}
|
|
6880
|
-
.smwb-person-chip__avatar {
|
|
7045
|
+
.smwb-avatar.smwb-person-chip__avatar {
|
|
6881
7046
|
flex-shrink: 0;
|
|
6882
7047
|
color: #fff;
|
|
6883
7048
|
}
|
|
@@ -7126,14 +7291,23 @@
|
|
|
7126
7291
|
}
|
|
7127
7292
|
.smwb-rating {
|
|
7128
7293
|
display: inline-flex;
|
|
7129
|
-
|
|
7130
|
-
|
|
7294
|
+
flex-direction: column;
|
|
7295
|
+
align-items: flex-start;
|
|
7131
7296
|
color: var(--smui-primaryColor);
|
|
7132
7297
|
}
|
|
7133
7298
|
.smwb-rating_disabled {
|
|
7134
7299
|
opacity: 0.38;
|
|
7135
7300
|
pointer-events: none;
|
|
7136
7301
|
}
|
|
7302
|
+
.smwb-rating__control {
|
|
7303
|
+
display: inline-flex;
|
|
7304
|
+
align-items: center;
|
|
7305
|
+
gap: 2px;
|
|
7306
|
+
}
|
|
7307
|
+
.smwb-rating__control:focus-visible {
|
|
7308
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
7309
|
+
outline-offset: 2px;
|
|
7310
|
+
}
|
|
7137
7311
|
.smwb-rating__item {
|
|
7138
7312
|
position: relative;
|
|
7139
7313
|
display: inline-flex;
|
|
@@ -7280,6 +7454,223 @@
|
|
|
7280
7454
|
--smwb-chart-series-6: #f27c3c;
|
|
7281
7455
|
--smwb-chart-series-7: #a8b0bc;
|
|
7282
7456
|
}
|
|
7457
|
+
.smwb-dag-view {
|
|
7458
|
+
--smwb-dag-view-node-bg: var(--smui-surfaceBackground);
|
|
7459
|
+
--smwb-dag-view-node-border: var(--smui-outlineColor);
|
|
7460
|
+
--smwb-dag-view-edge-color: var(--smui-outlineColor);
|
|
7461
|
+
--smwb-dag-view-edge-active-color: var(--smui-primaryColor);
|
|
7462
|
+
--smwb-dag-view-selected-ring: var(--smui-primaryColor);
|
|
7463
|
+
--smwb-dag-view-status-idle: var(--smui-outlineColor);
|
|
7464
|
+
--smwb-dag-view-status-pending: var(--smui-onSurfaceVariant);
|
|
7465
|
+
--smwb-dag-view-status-running: var(--smui-infoColor);
|
|
7466
|
+
--smwb-dag-view-status-success: var(--smui-successColor);
|
|
7467
|
+
--smwb-dag-view-status-warning: var(--smui-warningColor);
|
|
7468
|
+
--smwb-dag-view-status-error: var(--smui-errorColor);
|
|
7469
|
+
--smwb-dag-view-status-skipped: var(--smui-disabledTextColor);
|
|
7470
|
+
--smwb-dag-view-dim-opacity: 0.35;
|
|
7471
|
+
position: relative;
|
|
7472
|
+
width: 100%;
|
|
7473
|
+
height: 480px;
|
|
7474
|
+
min-width: 0;
|
|
7475
|
+
box-sizing: border-box;
|
|
7476
|
+
overflow: hidden;
|
|
7477
|
+
overflow: clip;
|
|
7478
|
+
border: 1px solid var(--smui-dividerColor);
|
|
7479
|
+
border-radius: 12px;
|
|
7480
|
+
background-color: color-mix(in srgb, var(--smui-onSurfaceColor) 2%, var(--smui-surfaceBackground));
|
|
7481
|
+
color: var(--smui-onSurfaceColor);
|
|
7482
|
+
touch-action: none;
|
|
7483
|
+
overscroll-behavior: contain;
|
|
7484
|
+
user-select: none;
|
|
7485
|
+
-webkit-user-select: none;
|
|
7486
|
+
cursor: grab;
|
|
7487
|
+
}
|
|
7488
|
+
.smwb-dag-view[data-interacting] {
|
|
7489
|
+
cursor: grabbing;
|
|
7490
|
+
}
|
|
7491
|
+
.smwb-dag-view__world {
|
|
7492
|
+
position: absolute;
|
|
7493
|
+
top: 0;
|
|
7494
|
+
left: 0;
|
|
7495
|
+
transform-origin: 0 0;
|
|
7496
|
+
}
|
|
7497
|
+
.smwb-dag-view[data-interacting] .smwb-dag-view__world {
|
|
7498
|
+
will-change: transform;
|
|
7499
|
+
}
|
|
7500
|
+
.smwb-dag-view__edges {
|
|
7501
|
+
position: absolute;
|
|
7502
|
+
top: 0;
|
|
7503
|
+
left: 0;
|
|
7504
|
+
overflow: visible;
|
|
7505
|
+
pointer-events: none;
|
|
7506
|
+
}
|
|
7507
|
+
.smwb-dag-view__edge {
|
|
7508
|
+
fill: none;
|
|
7509
|
+
stroke: var(--smwb-dag-view-edge-color);
|
|
7510
|
+
stroke-width: 1.5px;
|
|
7511
|
+
transition: stroke 0.12s, opacity 0.12s;
|
|
7512
|
+
}
|
|
7513
|
+
.smwb-dag-view__edge--active {
|
|
7514
|
+
stroke: var(--smwb-dag-view-edge-active-color);
|
|
7515
|
+
stroke-width: 2.5px;
|
|
7516
|
+
}
|
|
7517
|
+
.smwb-dag-view__edge--reversed {
|
|
7518
|
+
stroke-dasharray: 6 4;
|
|
7519
|
+
}
|
|
7520
|
+
.smwb-dag-view__edge--dimmed {
|
|
7521
|
+
opacity: var(--smwb-dag-view-dim-opacity);
|
|
7522
|
+
}
|
|
7523
|
+
.smwb-dag-view__arrow {
|
|
7524
|
+
fill: var(--smwb-dag-view-edge-color);
|
|
7525
|
+
}
|
|
7526
|
+
.smwb-dag-view__arrow--active {
|
|
7527
|
+
fill: var(--smwb-dag-view-edge-active-color);
|
|
7528
|
+
}
|
|
7529
|
+
.smwb-dag-view__node {
|
|
7530
|
+
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-idle));
|
|
7531
|
+
position: absolute;
|
|
7532
|
+
box-sizing: border-box;
|
|
7533
|
+
display: flex;
|
|
7534
|
+
align-items: center;
|
|
7535
|
+
gap: 8px;
|
|
7536
|
+
padding: 0 12px 0 10px;
|
|
7537
|
+
border: 1px solid var(--smwb-dag-view-node-border);
|
|
7538
|
+
border-left: 4px solid var(--smwb-dag-view-accent);
|
|
7539
|
+
border-radius: 8px;
|
|
7540
|
+
background-color: var(--smwb-dag-view-node-bg);
|
|
7541
|
+
color: var(--smui-onSurfaceColor);
|
|
7542
|
+
font-size: 0.875rem;
|
|
7543
|
+
line-height: 1.3;
|
|
7544
|
+
overflow: hidden;
|
|
7545
|
+
contain: layout paint;
|
|
7546
|
+
cursor: pointer;
|
|
7547
|
+
transition: box-shadow 0.12s, border-color 0.12s, opacity 0.12s;
|
|
7548
|
+
}
|
|
7549
|
+
.smwb-dag-view__node[data-status="pending"] {
|
|
7550
|
+
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-pending));
|
|
7551
|
+
}
|
|
7552
|
+
.smwb-dag-view__node[data-status="running"] {
|
|
7553
|
+
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-running));
|
|
7554
|
+
}
|
|
7555
|
+
.smwb-dag-view__node[data-status="success"] {
|
|
7556
|
+
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-success));
|
|
7557
|
+
}
|
|
7558
|
+
.smwb-dag-view__node[data-status="warning"] {
|
|
7559
|
+
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-warning));
|
|
7560
|
+
}
|
|
7561
|
+
.smwb-dag-view__node[data-status="error"] {
|
|
7562
|
+
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-error));
|
|
7563
|
+
}
|
|
7564
|
+
.smwb-dag-view__node[data-status="skipped"] {
|
|
7565
|
+
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-skipped));
|
|
7566
|
+
}
|
|
7567
|
+
.smwb-dag-view__node:hover {
|
|
7568
|
+
border-color: color-mix(in srgb, var(--smwb-dag-view-edge-active-color) 45%, var(--smwb-dag-view-node-border));
|
|
7569
|
+
border-left-color: var(--smwb-dag-view-accent);
|
|
7570
|
+
}
|
|
7571
|
+
.smwb-dag-view__node:focus-visible {
|
|
7572
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
7573
|
+
outline-offset: 2px;
|
|
7574
|
+
}
|
|
7575
|
+
.smwb-dag-view__node--selected {
|
|
7576
|
+
box-shadow: 0 0 0 2px var(--smwb-dag-view-selected-ring);
|
|
7577
|
+
}
|
|
7578
|
+
.smwb-dag-view__node--upstream,
|
|
7579
|
+
.smwb-dag-view__node--downstream {
|
|
7580
|
+
border-color: var(--smwb-dag-view-edge-active-color);
|
|
7581
|
+
border-left-color: var(--smwb-dag-view-accent);
|
|
7582
|
+
}
|
|
7583
|
+
.smwb-dag-view__node--dimmed {
|
|
7584
|
+
opacity: var(--smwb-dag-view-dim-opacity);
|
|
7585
|
+
}
|
|
7586
|
+
.smwb-dag-view__node--disabled {
|
|
7587
|
+
cursor: default;
|
|
7588
|
+
color: var(--smui-disabledTextColor);
|
|
7589
|
+
}
|
|
7590
|
+
.smwb-dag-view__dot {
|
|
7591
|
+
flex-shrink: 0;
|
|
7592
|
+
width: 8px;
|
|
7593
|
+
height: 8px;
|
|
7594
|
+
border-radius: 50%;
|
|
7595
|
+
background-color: var(--smwb-dag-view-accent);
|
|
7596
|
+
}
|
|
7597
|
+
.smwb-dag-view__label {
|
|
7598
|
+
flex: 1 1 auto;
|
|
7599
|
+
min-width: 0;
|
|
7600
|
+
overflow: hidden;
|
|
7601
|
+
font-weight: 500;
|
|
7602
|
+
text-overflow: ellipsis;
|
|
7603
|
+
white-space: nowrap;
|
|
7604
|
+
}
|
|
7605
|
+
.smwb-dag-view__status {
|
|
7606
|
+
flex-shrink: 0;
|
|
7607
|
+
font-size: 0.75rem;
|
|
7608
|
+
color: var(--smui-onSurfaceVariant);
|
|
7609
|
+
}
|
|
7610
|
+
.smwb-dag-view[data-zoom="far"] .smwb-dag-view__status,
|
|
7611
|
+
.smwb-dag-view[data-zoom="far"] .smwb-dag-view__detail {
|
|
7612
|
+
display: none;
|
|
7613
|
+
}
|
|
7614
|
+
.smwb-dag-view__summary {
|
|
7615
|
+
position: absolute;
|
|
7616
|
+
width: 1px;
|
|
7617
|
+
height: 1px;
|
|
7618
|
+
margin: -1px;
|
|
7619
|
+
padding: 0;
|
|
7620
|
+
overflow: hidden;
|
|
7621
|
+
clip: rect(0 0 0 0);
|
|
7622
|
+
white-space: nowrap;
|
|
7623
|
+
border: 0;
|
|
7624
|
+
}
|
|
7625
|
+
.smwb-dag-view__controls {
|
|
7626
|
+
position: absolute;
|
|
7627
|
+
right: 8px;
|
|
7628
|
+
bottom: 8px;
|
|
7629
|
+
display: flex;
|
|
7630
|
+
flex-direction: column;
|
|
7631
|
+
gap: 4px;
|
|
7632
|
+
cursor: default;
|
|
7633
|
+
}
|
|
7634
|
+
.smwb-dag-view__control {
|
|
7635
|
+
display: inline-flex;
|
|
7636
|
+
align-items: center;
|
|
7637
|
+
justify-content: center;
|
|
7638
|
+
width: 32px;
|
|
7639
|
+
height: 32px;
|
|
7640
|
+
padding: 0;
|
|
7641
|
+
border: 1px solid var(--smui-dividerColor);
|
|
7642
|
+
border-radius: 8px;
|
|
7643
|
+
background-color: var(--smui-surfaceBackground);
|
|
7644
|
+
color: var(--smui-onSurfaceVariant);
|
|
7645
|
+
cursor: pointer;
|
|
7646
|
+
}
|
|
7647
|
+
.smwb-dag-view__control svg {
|
|
7648
|
+
width: 18px;
|
|
7649
|
+
height: 18px;
|
|
7650
|
+
fill: none;
|
|
7651
|
+
stroke: currentColor;
|
|
7652
|
+
stroke-width: 2;
|
|
7653
|
+
stroke-linecap: round;
|
|
7654
|
+
stroke-linejoin: round;
|
|
7655
|
+
}
|
|
7656
|
+
.smwb-dag-view__control:hover {
|
|
7657
|
+
background-color: color-mix(in srgb, var(--smui-onSurfaceColor) 8%, var(--smui-surfaceBackground));
|
|
7658
|
+
color: var(--smui-onSurfaceColor);
|
|
7659
|
+
}
|
|
7660
|
+
.smwb-dag-view__control:focus-visible {
|
|
7661
|
+
outline: 2px solid var(--smui-primaryColor);
|
|
7662
|
+
outline-offset: 2px;
|
|
7663
|
+
}
|
|
7664
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
7665
|
+
.smwb-dag-view__node[data-status="running"] .smwb-dag-view__dot {
|
|
7666
|
+
animation: smwb-dag-view-pulse 1.4s ease-in-out infinite;
|
|
7667
|
+
}
|
|
7668
|
+
}
|
|
7669
|
+
@keyframes smwb-dag-view-pulse {
|
|
7670
|
+
50% {
|
|
7671
|
+
opacity: 0.35;
|
|
7672
|
+
}
|
|
7673
|
+
}
|
|
7283
7674
|
.smwb-stepper {
|
|
7284
7675
|
display: flex;
|
|
7285
7676
|
width: 100%;
|
|
@@ -7787,16 +8178,15 @@
|
|
|
7787
8178
|
font-size: 12px;
|
|
7788
8179
|
font-weight: 600;
|
|
7789
8180
|
line-height: 1.4;
|
|
8181
|
+
text-transform: var(--smui-font-overline-transform, uppercase);
|
|
8182
|
+
letter-spacing: var(--smui-font-overline-letter-spacing, 0.06em);
|
|
7790
8183
|
}
|
|
7791
8184
|
.smwb-typography_button {
|
|
7792
8185
|
font-size: 14px;
|
|
7793
8186
|
font-weight: 500;
|
|
7794
8187
|
line-height: 1.75;
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
.smwb-typography_button {
|
|
7798
|
-
text-transform: uppercase;
|
|
7799
|
-
letter-spacing: 0.06em;
|
|
8188
|
+
text-transform: var(--smui-font-button-transform, uppercase);
|
|
8189
|
+
letter-spacing: var(--smui-font-button-letter-spacing, 0.06em);
|
|
7800
8190
|
}
|
|
7801
8191
|
.smwb-typography_color-primary {
|
|
7802
8192
|
color: var(--smui-primaryColor);
|
|
@@ -8158,10 +8548,14 @@
|
|
|
8158
8548
|
background: blue;
|
|
8159
8549
|
opacity: 1;
|
|
8160
8550
|
}
|
|
8551
|
+
.smwb-head-cell .smwb-head-cell__actions:has(> .smwb-rt-table--resizer:only-child) {
|
|
8552
|
+
margin-inline-start: 0;
|
|
8553
|
+
}
|
|
8161
8554
|
@media (hover: hover) {
|
|
8162
8555
|
.smwb-rt-table--resizer {
|
|
8163
8556
|
opacity: 0.5;
|
|
8164
8557
|
}
|
|
8558
|
+
.smwb-head-cell:hover .smwb-rt-table--resizer,
|
|
8165
8559
|
*:hover > .smwb-rt-table--resizer {
|
|
8166
8560
|
opacity: 1;
|
|
8167
8561
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smwb/ui-css",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.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": "^1.
|
|
22
|
+
"@smwb/ui-styles": "^1.6.0",
|
|
23
23
|
"less": "^4.6.4"
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://sourcecraft.dev/elfenmail/ui",
|