@smwb/ui-css 1.0.3 → 1.0.4

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 +410 -43
  2. package/package.json +2 -2
package/dist/ui.css CHANGED
@@ -512,107 +512,107 @@
512
512
  padding: 0 8px;
513
513
  font-size: 0.75rem;
514
514
  }
515
- .smwb-chip.smwb-chip_color-primary.smwb-filled {
515
+ .smwb-chip.smwb-chip_color-primary:not(.smwb-chip.smwb-disabled).smwb-filled {
516
516
  background-color: var(--smui-primaryColor);
517
517
  color: var(--smui-onPrimaryColor);
518
518
  }
519
- .smwb-chip.smwb-chip_color-primary.smwb-filled:hover {
519
+ .smwb-chip.smwb-chip_color-primary:not(.smwb-chip.smwb-disabled).smwb-filled:hover {
520
520
  background-color: var(--smui-primaryColor);
521
521
  filter: brightness(0.94);
522
522
  }
523
- .smwb-chip.smwb-chip_color-primary.smwb-filled:active {
523
+ .smwb-chip.smwb-chip_color-primary:not(.smwb-chip.smwb-disabled).smwb-filled:active {
524
524
  background-color: var(--smui-primaryColor);
525
525
  filter: brightness(0.88);
526
526
  }
527
- .smwb-chip.smwb-chip_color-primary.smwb-outlined {
527
+ .smwb-chip.smwb-chip_color-primary:not(.smwb-chip.smwb-disabled).smwb-outlined {
528
528
  color: var(--smui-primaryColor);
529
- border: 1px solid var(--smui-primaryColor);
530
- background: transparent;
529
+ border-color: var(--smui-primaryColor);
531
530
  }
532
- .smwb-chip.smwb-chip_color-secondary.smwb-filled {
531
+ .smwb-chip.smwb-chip_color-secondary:not(.smwb-chip.smwb-disabled).smwb-filled {
533
532
  background-color: var(--smui-secondaryColor);
534
533
  color: var(--smui-onSecondaryColor);
535
534
  }
536
- .smwb-chip.smwb-chip_color-secondary.smwb-filled:hover {
535
+ .smwb-chip.smwb-chip_color-secondary:not(.smwb-chip.smwb-disabled).smwb-filled:hover {
537
536
  background-color: var(--smui-secondaryColor);
538
537
  filter: brightness(0.94);
539
538
  }
540
- .smwb-chip.smwb-chip_color-secondary.smwb-filled:active {
539
+ .smwb-chip.smwb-chip_color-secondary:not(.smwb-chip.smwb-disabled).smwb-filled:active {
541
540
  background-color: var(--smui-secondaryColor);
542
541
  filter: brightness(0.88);
543
542
  }
544
- .smwb-chip.smwb-chip_color-secondary.smwb-outlined {
543
+ .smwb-chip.smwb-chip_color-secondary:not(.smwb-chip.smwb-disabled).smwb-outlined {
545
544
  color: var(--smui-secondaryColor);
546
- border: 1px solid var(--smui-secondaryColor);
547
- background: transparent;
545
+ border-color: var(--smui-secondaryColor);
548
546
  }
549
- .smwb-chip.smwb-chip_color-error.smwb-filled {
547
+ .smwb-chip.smwb-chip_color-error:not(.smwb-chip.smwb-disabled).smwb-filled {
550
548
  background-color: var(--smui-errorColor);
551
549
  color: var(--smui-onErrorColor);
552
550
  }
553
- .smwb-chip.smwb-chip_color-error.smwb-filled:hover {
551
+ .smwb-chip.smwb-chip_color-error:not(.smwb-chip.smwb-disabled).smwb-filled:hover {
554
552
  background-color: var(--smui-errorColor);
555
553
  filter: brightness(0.94);
556
554
  }
557
- .smwb-chip.smwb-chip_color-error.smwb-filled:active {
555
+ .smwb-chip.smwb-chip_color-error:not(.smwb-chip.smwb-disabled).smwb-filled:active {
558
556
  background-color: var(--smui-errorColor);
559
557
  filter: brightness(0.88);
560
558
  }
561
- .smwb-chip.smwb-chip_color-error.smwb-outlined {
559
+ .smwb-chip.smwb-chip_color-error:not(.smwb-chip.smwb-disabled).smwb-outlined {
562
560
  color: var(--smui-errorColor);
563
- border: 1px solid var(--smui-errorColor);
564
- background: transparent;
561
+ border-color: var(--smui-errorColor);
565
562
  }
566
- .smwb-chip.smwb-chip_color-success.smwb-filled {
563
+ .smwb-chip.smwb-chip_color-success:not(.smwb-chip.smwb-disabled).smwb-filled {
567
564
  background-color: var(--smui-successColor);
568
565
  color: var(--smui-onSuccessColor);
569
566
  }
570
- .smwb-chip.smwb-chip_color-success.smwb-filled:hover {
567
+ .smwb-chip.smwb-chip_color-success:not(.smwb-chip.smwb-disabled).smwb-filled:hover {
571
568
  background-color: var(--smui-successColor);
572
569
  filter: brightness(0.94);
573
570
  }
574
- .smwb-chip.smwb-chip_color-success.smwb-filled:active {
571
+ .smwb-chip.smwb-chip_color-success:not(.smwb-chip.smwb-disabled).smwb-filled:active {
575
572
  background-color: var(--smui-successColor);
576
573
  filter: brightness(0.88);
577
574
  }
578
- .smwb-chip.smwb-chip_color-success.smwb-outlined {
575
+ .smwb-chip.smwb-chip_color-success:not(.smwb-chip.smwb-disabled).smwb-outlined {
579
576
  color: var(--smui-successColor);
580
- border: 1px solid var(--smui-successColor);
581
- background: transparent;
577
+ border-color: var(--smui-successColor);
582
578
  }
583
- .smwb-chip.smwb-chip_color-warning.smwb-filled {
579
+ .smwb-chip.smwb-chip_color-warning:not(.smwb-chip.smwb-disabled).smwb-filled {
584
580
  background-color: var(--smui-warningColor);
585
581
  color: var(--smui-onWarningColor);
586
582
  }
587
- .smwb-chip.smwb-chip_color-warning.smwb-filled:hover {
583
+ .smwb-chip.smwb-chip_color-warning:not(.smwb-chip.smwb-disabled).smwb-filled:hover {
588
584
  background-color: var(--smui-warningColor);
589
585
  filter: brightness(0.94);
590
586
  }
591
- .smwb-chip.smwb-chip_color-warning.smwb-filled:active {
587
+ .smwb-chip.smwb-chip_color-warning:not(.smwb-chip.smwb-disabled).smwb-filled:active {
592
588
  background-color: var(--smui-warningColor);
593
589
  filter: brightness(0.88);
594
590
  }
595
- .smwb-chip.smwb-chip_color-warning.smwb-outlined {
591
+ .smwb-chip.smwb-chip_color-warning:not(.smwb-chip.smwb-disabled).smwb-outlined {
596
592
  color: var(--smui-warningColor);
597
- border: 1px solid var(--smui-warningColor);
598
- background: transparent;
593
+ border-color: var(--smui-warningColor);
599
594
  }
600
- .smwb-chip.smwb-chip_color-info.smwb-filled {
595
+ .smwb-chip.smwb-chip_color-info:not(.smwb-chip.smwb-disabled).smwb-filled {
601
596
  background-color: var(--smui-infoColor);
602
597
  color: var(--smui-onInfoColor);
603
598
  }
604
- .smwb-chip.smwb-chip_color-info.smwb-filled:hover {
599
+ .smwb-chip.smwb-chip_color-info:not(.smwb-chip.smwb-disabled).smwb-filled:hover {
605
600
  background-color: var(--smui-infoColor);
606
601
  filter: brightness(0.94);
607
602
  }
608
- .smwb-chip.smwb-chip_color-info.smwb-filled:active {
603
+ .smwb-chip.smwb-chip_color-info:not(.smwb-chip.smwb-disabled).smwb-filled:active {
609
604
  background-color: var(--smui-infoColor);
610
605
  filter: brightness(0.88);
611
606
  }
612
- .smwb-chip.smwb-chip_color-info.smwb-outlined {
607
+ .smwb-chip.smwb-chip_color-info:not(.smwb-chip.smwb-disabled).smwb-outlined {
613
608
  color: var(--smui-infoColor);
614
- border: 1px solid var(--smui-infoColor);
615
- background: transparent;
609
+ border-color: var(--smui-infoColor);
610
+ }
611
+ .smwb-chip-group {
612
+ display: flex;
613
+ flex-wrap: wrap;
614
+ align-items: center;
615
+ gap: 8px;
616
616
  }
617
617
  .smwb-fab {
618
618
  box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
@@ -961,6 +961,7 @@
961
961
  .smwb-modal.smwb-fullscreen {
962
962
  width: 100%;
963
963
  height: 100%;
964
+ max-height: none;
964
965
  border-radius: 0;
965
966
  }
966
967
  }
@@ -981,6 +982,31 @@
981
982
  .smwb-scrollbar::-webkit-scrollbar-track {
982
983
  background-color: transparent;
983
984
  }
985
+ .smwb-confirm-dialog__body {
986
+ display: flex;
987
+ flex-direction: column;
988
+ gap: 8px;
989
+ min-width: 280px;
990
+ }
991
+ .smwb-save-asset-dialog__body {
992
+ display: flex;
993
+ flex-direction: column;
994
+ gap: 12px;
995
+ min-width: 280px;
996
+ }
997
+ .smwb-save-asset-dialog__preview {
998
+ display: flex;
999
+ justify-content: center;
1000
+ align-items: center;
1001
+ border-radius: 8px;
1002
+ overflow: hidden;
1003
+ background-color: var(--smui-surfaceVariant);
1004
+ }
1005
+ .smwb-save-asset-dialog__preview img {
1006
+ max-width: 100%;
1007
+ max-height: 200px;
1008
+ object-fit: contain;
1009
+ }
984
1010
  .smwb-indicator_circular {
985
1011
  display: inline-block;
986
1012
  position: relative;
@@ -2040,6 +2066,12 @@
2040
2066
  margin: 0 8px;
2041
2067
  border-right: 1px solid var(--smui-menuDividerColor);
2042
2068
  }
2069
+ .smwb-overflow-menu {
2070
+ display: inline-flex;
2071
+ }
2072
+ .smwb-overflow-menu__item--danger:not(.smwb-menu__item--disabled) {
2073
+ color: var(--smui-errorColor);
2074
+ }
2043
2075
  .smwb-tabs {
2044
2076
  display: flex;
2045
2077
  width: 100%;
@@ -2418,6 +2450,50 @@
2418
2450
  white-space: nowrap;
2419
2451
  opacity: 0.7;
2420
2452
  }
2453
+ .smwb-value-slider {
2454
+ display: flex;
2455
+ flex-direction: column;
2456
+ width: 100%;
2457
+ }
2458
+ .smwb-value-slider__header {
2459
+ display: flex;
2460
+ align-items: center;
2461
+ gap: 8px;
2462
+ min-height: 24px;
2463
+ }
2464
+ .smwb-value-slider__label {
2465
+ font-size: 0.875rem;
2466
+ color: var(--smui-onSurfaceColor);
2467
+ }
2468
+ .smwb-value-slider__spacer {
2469
+ flex: 1 1 auto;
2470
+ }
2471
+ .smwb-value-slider__readout {
2472
+ font-size: 0.875rem;
2473
+ font-variant-numeric: tabular-nums;
2474
+ color: var(--smui-onSurfaceColor);
2475
+ opacity: 0.85;
2476
+ }
2477
+ .smwb-value-slider__reset {
2478
+ display: inline-flex;
2479
+ align-items: center;
2480
+ justify-content: center;
2481
+ padding: 2px;
2482
+ border: none;
2483
+ background: transparent;
2484
+ color: var(--smui-onSurfaceColor);
2485
+ cursor: pointer;
2486
+ border-radius: 50%;
2487
+ opacity: 0.7;
2488
+ }
2489
+ .smwb-value-slider__reset:hover {
2490
+ opacity: 1;
2491
+ background-color: var(--smui-onSurfaceHover);
2492
+ }
2493
+ .smwb-value-slider__reset:disabled {
2494
+ opacity: 0.4;
2495
+ cursor: default;
2496
+ }
2421
2497
  .smwb-select-field {
2422
2498
  display: flex;
2423
2499
  align-items: center;
@@ -2817,6 +2893,121 @@
2817
2893
  margin: 0 auto;
2818
2894
  object-fit: cover;
2819
2895
  }
2896
+ .smwb-lazy-image {
2897
+ display: block;
2898
+ position: relative;
2899
+ overflow: hidden;
2900
+ width: 100%;
2901
+ height: 100%;
2902
+ }
2903
+ .smwb-lazy-image__img {
2904
+ display: block;
2905
+ width: 100%;
2906
+ height: 100%;
2907
+ object-fit: cover;
2908
+ }
2909
+ .smwb-lazy-image__fallback {
2910
+ display: flex;
2911
+ align-items: center;
2912
+ justify-content: center;
2913
+ width: 100%;
2914
+ height: 100%;
2915
+ color: var(--smui-onSurfaceColor);
2916
+ background-color: var(--smui-surfaceVariant);
2917
+ }
2918
+ .smwb-thumb-card {
2919
+ position: relative;
2920
+ display: flex;
2921
+ flex-direction: column;
2922
+ border-radius: 8px;
2923
+ overflow: visible;
2924
+ outline: none;
2925
+ }
2926
+ .smwb-thumb-card--interactive {
2927
+ cursor: pointer;
2928
+ }
2929
+ .smwb-thumb-card--disabled {
2930
+ opacity: 0.5;
2931
+ pointer-events: none;
2932
+ }
2933
+ .smwb-thumb-card__media {
2934
+ position: relative;
2935
+ width: 100%;
2936
+ aspect-ratio: 1;
2937
+ border-radius: 8px;
2938
+ overflow: hidden;
2939
+ background-color: var(--smui-surfaceVariant);
2940
+ }
2941
+ .smwb-thumb-card--selected .smwb-thumb-card__media {
2942
+ outline: 2px solid var(--smui-primaryColor);
2943
+ outline-offset: 1px;
2944
+ }
2945
+ .smwb-thumb-card--interactive:focus-visible .smwb-thumb-card__media {
2946
+ outline: 2px solid var(--smui-primaryColor);
2947
+ outline-offset: 1px;
2948
+ }
2949
+ .smwb-thumb-card__slot {
2950
+ position: absolute;
2951
+ top: 4px;
2952
+ display: flex;
2953
+ gap: 4px;
2954
+ z-index: 1;
2955
+ }
2956
+ .smwb-thumb-card__slot--start {
2957
+ left: 4px;
2958
+ }
2959
+ .smwb-thumb-card__slot--end {
2960
+ right: 4px;
2961
+ }
2962
+ .smwb-thumb-card__caption {
2963
+ margin-top: 4px;
2964
+ font-size: 0.8125rem;
2965
+ color: var(--smui-onSurfaceColor);
2966
+ white-space: nowrap;
2967
+ overflow: hidden;
2968
+ text-overflow: ellipsis;
2969
+ }
2970
+ .smwb-thumb-card__preview {
2971
+ z-index: 1000;
2972
+ border-radius: 8px;
2973
+ overflow: hidden;
2974
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
2975
+ background-color: var(--smui-surfaceBackground);
2976
+ pointer-events: none;
2977
+ }
2978
+ .smwb-thumb-card__preview img {
2979
+ display: block;
2980
+ max-width: 320px;
2981
+ max-height: 320px;
2982
+ object-fit: contain;
2983
+ }
2984
+ .smwb-asset-grid {
2985
+ position: relative;
2986
+ overflow-y: auto;
2987
+ width: 100%;
2988
+ }
2989
+ .smwb-asset-grid__empty {
2990
+ display: flex;
2991
+ align-items: center;
2992
+ justify-content: center;
2993
+ padding: 32px 16px;
2994
+ color: var(--smui-onSurfaceColor);
2995
+ opacity: 0.7;
2996
+ }
2997
+ .smwb-asset-grid__skeleton {
2998
+ border-radius: 8px;
2999
+ background-color: var(--smui-surfaceVariant);
3000
+ animation: smwb-asset-grid-pulse 1.4s ease-in-out infinite;
3001
+ }
3002
+ @keyframes smwb-asset-grid-pulse {
3003
+ 0%,
3004
+ 100% {
3005
+ opacity: 1;
3006
+ }
3007
+ 50% {
3008
+ opacity: 0.5;
3009
+ }
3010
+ }
2820
3011
  .smwb-grid {
2821
3012
  display: flex;
2822
3013
  flex-wrap: wrap;
@@ -3902,6 +4093,164 @@
3902
4093
  .smwb-scrollbar::-webkit-scrollbar-track {
3903
4094
  background-color: transparent;
3904
4095
  }
4096
+ .smwb-floating-window {
4097
+ background-color: var(--smui-surfaceBackground);
4098
+ color: var(--smui-onSurfaceColor);
4099
+ position: fixed;
4100
+ z-index: 150;
4101
+ display: flex;
4102
+ flex-direction: column;
4103
+ box-sizing: border-box;
4104
+ overflow: hidden;
4105
+ border-radius: 12px;
4106
+ box-shadow: rgba(0, 0, 0, 0.14) 0px 8px 10px -5px, rgba(0, 0, 0, 0.14) 0px 1px 14px 1px, rgba(0, 0, 0, 0.14) 0px 6px 22px 4px;
4107
+ opacity: 0;
4108
+ transition: opacity 0.12s ease-in-out;
4109
+ }
4110
+ .smwb-floating-window.smwb-floating-window_entered {
4111
+ opacity: 1;
4112
+ }
4113
+ .smwb-floating-window__header {
4114
+ display: flex;
4115
+ align-items: center;
4116
+ gap: 4px;
4117
+ flex-shrink: 0;
4118
+ height: 36px;
4119
+ padding: 0 12px;
4120
+ border-bottom: 1px solid var(--smui-dividerColor);
4121
+ touch-action: none;
4122
+ user-select: none;
4123
+ cursor: move;
4124
+ }
4125
+ .smwb-floating-window__header:focus-visible {
4126
+ outline: 2px solid var(--smui-primaryColor);
4127
+ outline-offset: -2px;
4128
+ }
4129
+ .smwb-floating-window__grip {
4130
+ display: inline-flex;
4131
+ align-items: center;
4132
+ color: var(--smui-onSurfaceVariant);
4133
+ flex-shrink: 0;
4134
+ cursor: move;
4135
+ }
4136
+ .smwb-floating-window__grip:focus-visible {
4137
+ outline: 2px solid var(--smui-primaryColor);
4138
+ outline-offset: 2px;
4139
+ border-radius: 2px;
4140
+ }
4141
+ .smwb-floating-window__title {
4142
+ font-family: var(--smui-fontFamily);
4143
+ font-size: 14px;
4144
+ font-weight: 500;
4145
+ line-height: 1.5;
4146
+ color: var(--smui-onSurfaceColor);
4147
+ flex: 1 1 auto;
4148
+ min-width: 0;
4149
+ overflow: hidden;
4150
+ text-overflow: ellipsis;
4151
+ white-space: nowrap;
4152
+ }
4153
+ .smwb-floating-window__actions {
4154
+ display: flex;
4155
+ align-items: center;
4156
+ gap: 2px;
4157
+ flex-shrink: 0;
4158
+ margin-left: auto;
4159
+ cursor: default;
4160
+ }
4161
+ .smwb-floating-window__action {
4162
+ display: inline-flex;
4163
+ align-items: center;
4164
+ justify-content: center;
4165
+ padding: 2px;
4166
+ border: none;
4167
+ border-radius: 4px;
4168
+ background: transparent;
4169
+ color: var(--smui-onSurfaceVariant);
4170
+ cursor: pointer;
4171
+ }
4172
+ .smwb-floating-window__action:hover {
4173
+ background-color: var(--smui-onSurfaceHover);
4174
+ color: var(--smui-onSurfaceColor);
4175
+ }
4176
+ .smwb-floating-window__action:focus-visible {
4177
+ outline: 2px solid var(--smui-primaryColor);
4178
+ outline-offset: -2px;
4179
+ }
4180
+ .smwb-floating-window__body {
4181
+ flex: 1 1 auto;
4182
+ min-height: 0;
4183
+ display: flex;
4184
+ flex-direction: column;
4185
+ overflow: auto;
4186
+ padding: 12px;
4187
+ }
4188
+ .smwb-floating-window.smwb-collapsed {
4189
+ height: auto;
4190
+ }
4191
+ .smwb-floating-window__resize {
4192
+ position: absolute;
4193
+ touch-action: none;
4194
+ user-select: none;
4195
+ z-index: 1;
4196
+ }
4197
+ .smwb-floating-window__resize:focus-visible {
4198
+ outline: 2px solid var(--smui-primaryColor);
4199
+ outline-offset: -2px;
4200
+ }
4201
+ .smwb-floating-window__resize_n,
4202
+ .smwb-floating-window__resize_s {
4203
+ left: 6px;
4204
+ right: 6px;
4205
+ height: 6px;
4206
+ cursor: ns-resize;
4207
+ }
4208
+ .smwb-floating-window__resize_e,
4209
+ .smwb-floating-window__resize_w {
4210
+ top: 6px;
4211
+ bottom: 6px;
4212
+ width: 6px;
4213
+ cursor: ew-resize;
4214
+ }
4215
+ .smwb-floating-window__resize_n {
4216
+ top: 0;
4217
+ }
4218
+ .smwb-floating-window__resize_s {
4219
+ bottom: 0;
4220
+ }
4221
+ .smwb-floating-window__resize_e {
4222
+ right: 0;
4223
+ }
4224
+ .smwb-floating-window__resize_w {
4225
+ left: 0;
4226
+ }
4227
+ .smwb-floating-window__resize_ne,
4228
+ .smwb-floating-window__resize_nw,
4229
+ .smwb-floating-window__resize_se,
4230
+ .smwb-floating-window__resize_sw {
4231
+ width: 12px;
4232
+ height: 12px;
4233
+ }
4234
+ .smwb-floating-window__resize_ne {
4235
+ top: 0;
4236
+ right: 0;
4237
+ cursor: nesw-resize;
4238
+ }
4239
+ .smwb-floating-window__resize_nw {
4240
+ top: 0;
4241
+ left: 0;
4242
+ cursor: nwse-resize;
4243
+ }
4244
+ .smwb-floating-window__resize_se {
4245
+ bottom: 0;
4246
+ right: 0;
4247
+ cursor: nwse-resize;
4248
+ }
4249
+ .smwb-floating-window__resize_sw {
4250
+ bottom: 0;
4251
+ left: 0;
4252
+ cursor: nesw-resize;
4253
+ }
3905
4254
  .smwb-badge {
3906
4255
  border-radius: 10px;
3907
4256
  z-index: 2;
@@ -4862,7 +5211,8 @@
4862
5211
  text-align: left;
4863
5212
  font-weight: 500;
4864
5213
  }
4865
- .smwb-table__cell.smwb-head-cell.smwb-sortable {
5214
+ .smwb-table__cell.smwb-head-cell.smwb-sortable,
5215
+ .smwb-table__cell.smwb-head-cell.smwb-head-cell_sortable {
4866
5216
  cursor: pointer;
4867
5217
  }
4868
5218
  .smwb-table__cell.smwb-head-cell .smwb-head-cell__content {
@@ -4886,16 +5236,20 @@
4886
5236
  }
4887
5237
  .smwb-table__cell.smwb-head-cell .smwb-head-cell__icon {
4888
5238
  flex-shrink: 0;
4889
- display: none;
4890
- transition: all 0.15s ease-in-out;
4891
- fill: var(--smui-primaryTextColor);
5239
+ transition: opacity 0.15s ease-in-out;
5240
+ opacity: 0.4;
5241
+ }
5242
+ .smwb-table__cell.smwb-head-cell.smwb-head-cell_sorted .smwb-head-cell__icon,
5243
+ .smwb-table__cell.smwb-head-cell.smwb-head-cell_sortable:hover .smwb-head-cell__icon,
5244
+ .smwb-table__cell.smwb-head-cell .smwb-head-cell__content:focus-visible .smwb-head-cell__icon {
5245
+ opacity: 1;
4892
5246
  }
4893
5247
  .smwb-table__cell.smwb-head-cell.smwb-sorted_asc .smwb-head-cell__icon {
4894
- display: inline-flex;
5248
+ opacity: 1;
4895
5249
  transform: rotate(0);
4896
5250
  }
4897
5251
  .smwb-table__cell.smwb-head-cell.smwb-sorted_desc .smwb-head-cell__icon {
4898
- display: inline-flex;
5252
+ opacity: 1;
4899
5253
  transform: rotate(180deg);
4900
5254
  }
4901
5255
  .smwb-table__head .smwb-table__row {
@@ -5037,6 +5391,10 @@
5037
5391
  align-items: center;
5038
5392
  justify-content: center;
5039
5393
  }
5394
+ .smwb-icon__wrapper .smwb-icon__svg {
5395
+ display: block;
5396
+ flex-shrink: 0;
5397
+ }
5040
5398
  .smwb-icon__wrapper.smwb-icon_color-primary {
5041
5399
  color: var(--smui-primaryColor);
5042
5400
  }
@@ -5409,12 +5767,17 @@
5409
5767
  display: inline-flex;
5410
5768
  align-items: center;
5411
5769
  gap: 10px;
5770
+ min-width: 0;
5771
+ overflow-wrap: break-word;
5772
+ }
5773
+ .smwb-tree__node__label > .smwb-icon__wrapper {
5774
+ flex: none;
5412
5775
  }
5413
5776
  .smwb-tree__node__content {
5414
5777
  display: flex;
5415
5778
  align-items: center;
5416
5779
  gap: 10px;
5417
- height: 40px;
5780
+ min-height: 40px;
5418
5781
  cursor: pointer;
5419
5782
  user-select: none;
5420
5783
  }
@@ -6620,6 +6983,9 @@
6620
6983
  /*-------------------
6621
6984
  Sheet
6622
6985
  --------------------*/
6986
+ /*-------------------
6987
+ Floating window
6988
+ --------------------*/
6623
6989
  /*-------------------
6624
6990
  Tooltip
6625
6991
  --------------------*/
@@ -6758,6 +7124,7 @@
6758
7124
  --smui-chipsOutlinedBorder: #79747e;
6759
7125
  --smui-chipsHoverBg: color-mix(in srgb, #1c1b1f 8%, transparent);
6760
7126
  --smui-chipsActiveBg: color-mix(in srgb, #1c1b1f 12%, transparent);
7127
+ --smui-chipsSelectedBg: #e8def8;
6761
7128
  --smui-menuTextColor: #1c1b1f;
6762
7129
  --smui-menuDividerColor: rgba(0, 0, 0, 0.12);
6763
7130
  --smui-menuDisabledTextColor: color-mix(in srgb, #1c1b1f 38%, transparent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smwb/ui-css",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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.0.5",
22
+ "@smwb/ui-styles": "^1.4.3",
23
23
  "less": "^4.6.4"
24
24
  },
25
25
  "homepage": "https://sourcecraft.dev/elfenmail/ui",