@smwb/ui-css 2.4.0 → 2.6.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 +223 -10
- package/package.json +2 -2
package/dist/ui.css
CHANGED
|
@@ -744,6 +744,63 @@
|
|
|
744
744
|
color: var(--smui-infoColor);
|
|
745
745
|
border-color: var(--smui-infoColor);
|
|
746
746
|
}
|
|
747
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled {
|
|
748
|
+
color: var(--smwb-chip-custom-text-color, var(--smwb-chip-custom-on-color, var(--smui-primaryTextColor)));
|
|
749
|
+
}
|
|
750
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled,
|
|
751
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled:hover,
|
|
752
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled:active,
|
|
753
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled.smwb-selected {
|
|
754
|
+
background-color: var(--smwb-chip-custom-fill, var(--smui-chipsBg));
|
|
755
|
+
}
|
|
756
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled .smwb-chip__delete-icon {
|
|
757
|
+
border-radius: 50%;
|
|
758
|
+
}
|
|
759
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled .smwb-chip__delete-icon svg,
|
|
760
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled .smwb-chip__delete-icon svg:hover {
|
|
761
|
+
fill: currentColor;
|
|
762
|
+
}
|
|
763
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled .smwb-chip__delete-icon:hover {
|
|
764
|
+
background-color: color-mix(in srgb, currentColor 16%, transparent);
|
|
765
|
+
}
|
|
766
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-outlined {
|
|
767
|
+
color: var(--smwb-chip-custom-text-color, var(--smui-primaryTextColor));
|
|
768
|
+
border-color: var(--smwb-chip-custom-color);
|
|
769
|
+
}
|
|
770
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-outlined:hover {
|
|
771
|
+
background-color: color-mix(in srgb, var(--smwb-chip-custom-color) 12%, transparent);
|
|
772
|
+
}
|
|
773
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-outlined:active,
|
|
774
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-outlined.smwb-selected {
|
|
775
|
+
background-color: color-mix(in srgb, var(--smwb-chip-custom-color) 20%, transparent);
|
|
776
|
+
}
|
|
777
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-outlined .smwb-chip__delete-icon svg {
|
|
778
|
+
fill: var(--smwb-chip-custom-text-color, var(--smui-chipsIconColor));
|
|
779
|
+
}
|
|
780
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-outlined .smwb-chip__delete-icon svg:hover {
|
|
781
|
+
fill: var(--smwb-chip-custom-text-color, var(--smui-chipsIconColorHover));
|
|
782
|
+
}
|
|
783
|
+
@supports (color: color(from red srgb r g b)) {
|
|
784
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled) {
|
|
785
|
+
--smwb-chip-custom-solid: color(from var(--smwb-chip-custom-color) srgb r g b / 1);
|
|
786
|
+
--smwb-chip-custom-pick: color(from var(--smwb-chip-custom-solid) srgb-linear clamp(0, (0.17913 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) * 100000, 1) clamp(0, (0.17913 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) * 100000, 1) clamp(0, (0.17913 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) * 100000, 1) / 1);
|
|
787
|
+
--smwb-chip-custom-label: var(--smwb-chip-custom-text-color, var(--smwb-chip-custom-pick));
|
|
788
|
+
--smwb-chip-custom-away: color(from var(--smwb-chip-custom-label) srgb-linear clamp(0, (0.17913 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) * 100000, 1) clamp(0, (0.17913 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) * 100000, 1) clamp(0, (0.17913 - (0.2126 * r + 0.7152 * g + 0.0722 * b)) * 100000, 1) / 1);
|
|
789
|
+
}
|
|
790
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled {
|
|
791
|
+
color: var(--smwb-chip-custom-label);
|
|
792
|
+
}
|
|
793
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled,
|
|
794
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled.smwb-selected {
|
|
795
|
+
background-color: var(--smwb-chip-custom-solid);
|
|
796
|
+
}
|
|
797
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled:hover {
|
|
798
|
+
background-color: color-mix(in srgb, var(--smwb-chip-custom-solid), var(--smwb-chip-custom-away) 8%);
|
|
799
|
+
}
|
|
800
|
+
.smwb-chip.smwb-chip_custom-color:not(.smwb-chip.smwb-disabled).smwb-filled:active {
|
|
801
|
+
background-color: color-mix(in srgb, var(--smwb-chip-custom-solid), var(--smwb-chip-custom-away) 14%);
|
|
802
|
+
}
|
|
803
|
+
}
|
|
747
804
|
.smwb-chip-group {
|
|
748
805
|
display: flex;
|
|
749
806
|
flex-wrap: wrap;
|
|
@@ -3297,6 +3354,27 @@
|
|
|
3297
3354
|
white-space: nowrap;
|
|
3298
3355
|
opacity: 0.7;
|
|
3299
3356
|
}
|
|
3357
|
+
@media (pointer: coarse) {
|
|
3358
|
+
.smwb-slider {
|
|
3359
|
+
padding-top: max(13px, calc((var(--smui-control-h-sm, 44px) - 4px) / 2));
|
|
3360
|
+
padding-bottom: max(13px, calc((var(--smui-control-h-sm, 44px) - 4px) / 2));
|
|
3361
|
+
}
|
|
3362
|
+
.smwb-slider_size-small {
|
|
3363
|
+
padding-top: max(13px, calc((var(--smui-control-h-sm, 44px) - 2px) / 2));
|
|
3364
|
+
padding-bottom: max(13px, calc((var(--smui-control-h-sm, 44px) - 2px) / 2));
|
|
3365
|
+
}
|
|
3366
|
+
.smwb-slider_size-large {
|
|
3367
|
+
padding-top: max(13px, calc((var(--smui-control-h-sm, 44px) - 6px) / 2));
|
|
3368
|
+
padding-bottom: max(13px, calc((var(--smui-control-h-sm, 44px) - 6px) / 2));
|
|
3369
|
+
}
|
|
3370
|
+
.smwb-slider--vertical {
|
|
3371
|
+
padding: 0 max(13px, calc((var(--smui-control-h-sm, 44px) - 4px) / 2));
|
|
3372
|
+
}
|
|
3373
|
+
.smwb-slider__thumb:after {
|
|
3374
|
+
width: max(42px, var(--smui-control-h-sm, 44px));
|
|
3375
|
+
height: max(42px, var(--smui-control-h-sm, 44px));
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3300
3378
|
.smwb-value-slider {
|
|
3301
3379
|
display: flex;
|
|
3302
3380
|
flex-direction: column;
|
|
@@ -3416,6 +3494,28 @@
|
|
|
3416
3494
|
font: inherit;
|
|
3417
3495
|
cursor: pointer;
|
|
3418
3496
|
}
|
|
3497
|
+
@media (pointer: coarse) {
|
|
3498
|
+
.smwb-select-field__clear {
|
|
3499
|
+
align-items: center;
|
|
3500
|
+
justify-content: center;
|
|
3501
|
+
box-sizing: border-box;
|
|
3502
|
+
width: var(--smui-control-h-sm, 44px);
|
|
3503
|
+
height: var(--smui-control-h-sm, 44px);
|
|
3504
|
+
margin: calc((16px - var(--smui-control-h-sm, 44px)) / 2) 0;
|
|
3505
|
+
}
|
|
3506
|
+
.smwb-select-field .smwb-chip__delete-icon {
|
|
3507
|
+
position: relative;
|
|
3508
|
+
}
|
|
3509
|
+
.smwb-select-field .smwb-chip__delete-icon::after {
|
|
3510
|
+
content: "";
|
|
3511
|
+
position: absolute;
|
|
3512
|
+
top: 50%;
|
|
3513
|
+
left: 0;
|
|
3514
|
+
width: var(--smui-control-h-sm, 44px);
|
|
3515
|
+
height: var(--smui-control-h-sm, 44px);
|
|
3516
|
+
transform: translateY(-50%);
|
|
3517
|
+
}
|
|
3518
|
+
}
|
|
3419
3519
|
.smwb-select-field__values {
|
|
3420
3520
|
white-space: nowrap;
|
|
3421
3521
|
font: inherit;
|
|
@@ -4014,12 +4114,18 @@
|
|
|
4014
4114
|
width: 100%;
|
|
4015
4115
|
box-sizing: border-box;
|
|
4016
4116
|
}
|
|
4117
|
+
.smwb-grid[hidden] {
|
|
4118
|
+
display: none;
|
|
4119
|
+
}
|
|
4017
4120
|
.smwb-grid__row {
|
|
4018
4121
|
display: flex;
|
|
4019
4122
|
flex-wrap: wrap;
|
|
4020
4123
|
width: 100%;
|
|
4021
4124
|
box-sizing: border-box;
|
|
4022
4125
|
}
|
|
4126
|
+
.smwb-grid__row[hidden] {
|
|
4127
|
+
display: none;
|
|
4128
|
+
}
|
|
4023
4129
|
.smwb-grid__row--spacing-1 {
|
|
4024
4130
|
width: calc(100% + (4px * 1));
|
|
4025
4131
|
margin-top: -4px;
|
|
@@ -4846,12 +4952,16 @@
|
|
|
4846
4952
|
align-items: center;
|
|
4847
4953
|
justify-content: center;
|
|
4848
4954
|
cursor: pointer;
|
|
4955
|
+
min-width: 0;
|
|
4956
|
+
max-width: 100%;
|
|
4849
4957
|
}
|
|
4850
4958
|
.smwb-tooltip__wrapper {
|
|
4851
4959
|
position: relative;
|
|
4852
4960
|
display: inline-flex;
|
|
4853
4961
|
align-items: center;
|
|
4854
4962
|
justify-content: center;
|
|
4963
|
+
min-width: 0;
|
|
4964
|
+
max-width: 100%;
|
|
4855
4965
|
}
|
|
4856
4966
|
@keyframes smwb-tooltip-in {
|
|
4857
4967
|
from {
|
|
@@ -5113,6 +5223,11 @@
|
|
|
5113
5223
|
.smwb-sheet__header .smwb-button {
|
|
5114
5224
|
min-width: 0;
|
|
5115
5225
|
}
|
|
5226
|
+
@media (pointer: coarse) {
|
|
5227
|
+
.smwb-sheet__header .smwb-button {
|
|
5228
|
+
min-width: var(--smui-control-h-sm, 44px);
|
|
5229
|
+
}
|
|
5230
|
+
}
|
|
5116
5231
|
.smwb-sheet__drag-handle {
|
|
5117
5232
|
position: absolute;
|
|
5118
5233
|
display: flex;
|
|
@@ -6864,6 +6979,12 @@
|
|
|
6864
6979
|
outline: 2px solid var(--smui-primaryColor);
|
|
6865
6980
|
outline-offset: 2px;
|
|
6866
6981
|
}
|
|
6982
|
+
@media (pointer: coarse) {
|
|
6983
|
+
.smwb-head-cell_sortable .smwb-head-cell__content {
|
|
6984
|
+
min-width: var(--smui-control-h-sm, 44px);
|
|
6985
|
+
min-height: var(--smui-control-h-sm, 44px);
|
|
6986
|
+
}
|
|
6987
|
+
}
|
|
6867
6988
|
.smwb-table__row_selected {
|
|
6868
6989
|
background-color: var(--smui-onSurfaceHover);
|
|
6869
6990
|
}
|
|
@@ -7441,6 +7562,15 @@
|
|
|
7441
7562
|
.smwb-date-picker__icon-button--small {
|
|
7442
7563
|
padding: 5px;
|
|
7443
7564
|
}
|
|
7565
|
+
@media (pointer: coarse) {
|
|
7566
|
+
.smwb-date-picker__icon-button:not(.smwb-date-picker__icon-button--small) {
|
|
7567
|
+
box-sizing: border-box;
|
|
7568
|
+
align-items: center;
|
|
7569
|
+
justify-content: center;
|
|
7570
|
+
min-width: var(--smui-control-h-sm, 44px);
|
|
7571
|
+
min-height: var(--smui-control-h-sm, 44px);
|
|
7572
|
+
}
|
|
7573
|
+
}
|
|
7444
7574
|
.smwb-date-picker__icon-button--edge-start {
|
|
7445
7575
|
margin-left: -12px;
|
|
7446
7576
|
}
|
|
@@ -8233,6 +8363,12 @@
|
|
|
8233
8363
|
.smwb-breadcrumbs__expand:hover {
|
|
8234
8364
|
background-color: var(--smui-onSurfaceActive);
|
|
8235
8365
|
}
|
|
8366
|
+
@media (pointer: coarse) {
|
|
8367
|
+
.smwb-breadcrumbs__expand {
|
|
8368
|
+
min-width: var(--smui-control-h-sm, 44px);
|
|
8369
|
+
min-height: var(--smui-control-h-sm, 44px);
|
|
8370
|
+
}
|
|
8371
|
+
}
|
|
8236
8372
|
.smwb-breadcrumbs--no-wrap {
|
|
8237
8373
|
min-width: 0;
|
|
8238
8374
|
}
|
|
@@ -8618,7 +8754,14 @@
|
|
|
8618
8754
|
--smwb-dag-view-status-warning: var(--smui-warningColor);
|
|
8619
8755
|
--smwb-dag-view-status-error: var(--smui-errorColor);
|
|
8620
8756
|
--smwb-dag-view-status-skipped: var(--smui-disabledTextColor);
|
|
8757
|
+
--smwb-dag-view-edge-flow-color: var(--smwb-dag-view-status-running);
|
|
8758
|
+
--smwb-dag-view-edge-flow-track-color: color-mix(in srgb, var(--smwb-dag-view-edge-flow-color) 45%, transparent);
|
|
8621
8759
|
--smwb-dag-view-dim-opacity: 0.35;
|
|
8760
|
+
--smwb-dag-view-edge-flow-width: 2.5px;
|
|
8761
|
+
--smwb-dag-view-edge-flow-duration: 0.6s;
|
|
8762
|
+
--smwb-dag-view-edge-glow-opacity: 0.25;
|
|
8763
|
+
--smwb-dag-view-node-glow-opacity: 0.6;
|
|
8764
|
+
--smwb-dag-view-node-pulse-duration: 1.4s;
|
|
8622
8765
|
--smwb-dag-view-node-border-style: solid;
|
|
8623
8766
|
position: relative;
|
|
8624
8767
|
width: 100%;
|
|
@@ -8678,6 +8821,45 @@
|
|
|
8678
8821
|
.smwb-dag-view__arrow--active {
|
|
8679
8822
|
fill: var(--smwb-dag-view-edge-active-color);
|
|
8680
8823
|
}
|
|
8824
|
+
.smwb-dag-view__edge--flowing {
|
|
8825
|
+
stroke: var(--smwb-dag-view-edge-flow-color);
|
|
8826
|
+
stroke-width: var(--smwb-dag-view-edge-flow-width);
|
|
8827
|
+
}
|
|
8828
|
+
.smwb-dag-view__arrow--flow {
|
|
8829
|
+
fill: var(--smwb-dag-view-edge-flow-color);
|
|
8830
|
+
}
|
|
8831
|
+
.smwb-dag-view__edge-glow {
|
|
8832
|
+
fill: none;
|
|
8833
|
+
stroke: var(--smwb-dag-view-edge-flow-color);
|
|
8834
|
+
stroke-width: calc(var(--smwb-dag-view-edge-flow-width) * 3);
|
|
8835
|
+
stroke-linecap: round;
|
|
8836
|
+
stroke-opacity: var(--smwb-dag-view-edge-glow-opacity);
|
|
8837
|
+
transition: opacity 0.12s;
|
|
8838
|
+
}
|
|
8839
|
+
.smwb-dag-view__edge-pulse {
|
|
8840
|
+
display: none;
|
|
8841
|
+
fill: none;
|
|
8842
|
+
stroke: var(--smwb-dag-view-edge-flow-color);
|
|
8843
|
+
stroke-width: calc(var(--smwb-dag-view-edge-flow-width) + 1px);
|
|
8844
|
+
stroke-linecap: round;
|
|
8845
|
+
stroke-dasharray: 6px 18px;
|
|
8846
|
+
transition: opacity 0.12s;
|
|
8847
|
+
}
|
|
8848
|
+
.smwb-dag-view__edge-glow--dimmed,
|
|
8849
|
+
.smwb-dag-view__edge-pulse--dimmed {
|
|
8850
|
+
opacity: var(--smwb-dag-view-dim-opacity);
|
|
8851
|
+
}
|
|
8852
|
+
.smwb-dag-view[data-animate-running="true"] .smwb-dag-view__node[data-status="running"]::before {
|
|
8853
|
+
content: "";
|
|
8854
|
+
position: absolute;
|
|
8855
|
+
inset: 0;
|
|
8856
|
+
z-index: -1;
|
|
8857
|
+
pointer-events: none;
|
|
8858
|
+
box-shadow: inset 0 0 0 1px var(--smwb-dag-view-node-glow-color, var(--smwb-dag-view-accent)), inset 0 0 12px 2px color-mix(in srgb, var(--smwb-dag-view-node-glow-color, var(--smwb-dag-view-accent)) calc(var(--smwb-dag-view-node-glow-opacity) * 100%), transparent);
|
|
8859
|
+
}
|
|
8860
|
+
.smwb-dag-view[data-animate-running="false"] .smwb-dag-view__node[data-status="running"] .smwb-dag-view__dot {
|
|
8861
|
+
animation: none;
|
|
8862
|
+
}
|
|
8681
8863
|
.smwb-dag-view__node {
|
|
8682
8864
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-idle));
|
|
8683
8865
|
--smwb-dag-view-border-style: var(--smwb-dag-view-node-border-style);
|
|
@@ -8810,6 +8992,12 @@
|
|
|
8810
8992
|
color: var(--smui-onSurfaceVariant);
|
|
8811
8993
|
cursor: pointer;
|
|
8812
8994
|
}
|
|
8995
|
+
@media (pointer: coarse) {
|
|
8996
|
+
.smwb-dag-view__control {
|
|
8997
|
+
width: max(32px, var(--smui-control-h-sm, 44px));
|
|
8998
|
+
height: max(32px, var(--smui-control-h-sm, 44px));
|
|
8999
|
+
}
|
|
9000
|
+
}
|
|
8813
9001
|
.smwb-dag-view__control svg {
|
|
8814
9002
|
width: 18px;
|
|
8815
9003
|
height: 18px;
|
|
@@ -8829,7 +9017,17 @@
|
|
|
8829
9017
|
}
|
|
8830
9018
|
@media (prefers-reduced-motion: no-preference) {
|
|
8831
9019
|
.smwb-dag-view__node[data-status="running"] .smwb-dag-view__dot {
|
|
8832
|
-
animation: smwb-dag-view-pulse
|
|
9020
|
+
animation: smwb-dag-view-pulse var(--smwb-dag-view-node-pulse-duration) ease-in-out infinite;
|
|
9021
|
+
}
|
|
9022
|
+
.smwb-dag-view[data-animate-running="true"] .smwb-dag-view__node[data-status="running"]::before {
|
|
9023
|
+
animation: smwb-dag-view-pulse var(--smwb-dag-view-node-pulse-duration) ease-in-out infinite;
|
|
9024
|
+
}
|
|
9025
|
+
.smwb-dag-view__edge--flowing {
|
|
9026
|
+
stroke: var(--smwb-dag-view-edge-flow-track-color);
|
|
9027
|
+
}
|
|
9028
|
+
.smwb-dag-view__edge-pulse {
|
|
9029
|
+
display: inline;
|
|
9030
|
+
animation: smwb-dag-view-flow var(--smwb-dag-view-edge-flow-duration) linear infinite;
|
|
8833
9031
|
}
|
|
8834
9032
|
}
|
|
8835
9033
|
@keyframes smwb-dag-view-pulse {
|
|
@@ -8837,6 +9035,11 @@
|
|
|
8837
9035
|
opacity: 0.35;
|
|
8838
9036
|
}
|
|
8839
9037
|
}
|
|
9038
|
+
@keyframes smwb-dag-view-flow {
|
|
9039
|
+
to {
|
|
9040
|
+
stroke-dashoffset: -24px;
|
|
9041
|
+
}
|
|
9042
|
+
}
|
|
8840
9043
|
.smwb-swimlanes {
|
|
8841
9044
|
position: relative;
|
|
8842
9045
|
box-sizing: border-box;
|
|
@@ -8934,6 +9137,12 @@
|
|
|
8934
9137
|
background-color: var(--smui-surfaceBackground);
|
|
8935
9138
|
color: var(--smui-onSurfaceColor);
|
|
8936
9139
|
}
|
|
9140
|
+
@media (pointer: coarse) {
|
|
9141
|
+
.smwb-composer {
|
|
9142
|
+
--smwb-composer-icon-button-size: max(36px, var(--smui-control-h-sm, 44px));
|
|
9143
|
+
--smwb-composer-field-padding-y: calc((var(--smwb-composer-icon-button-size) - 1.5rem) / 2);
|
|
9144
|
+
}
|
|
9145
|
+
}
|
|
8937
9146
|
.smwb-composer__attachments {
|
|
8938
9147
|
grid-area: attachments;
|
|
8939
9148
|
min-width: 0;
|
|
@@ -8948,13 +9157,13 @@
|
|
|
8948
9157
|
box-sizing: border-box;
|
|
8949
9158
|
margin: 0;
|
|
8950
9159
|
border: 0;
|
|
8951
|
-
padding: 6px 8px;
|
|
9160
|
+
padding: var(--smwb-composer-field-padding-y, 6px) 8px;
|
|
8952
9161
|
font: inherit;
|
|
8953
9162
|
letter-spacing: inherit;
|
|
8954
9163
|
line-height: 1.5rem;
|
|
8955
9164
|
overflow-wrap: anywhere;
|
|
8956
|
-
min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * 6px);
|
|
8957
|
-
max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * 6px);
|
|
9165
|
+
min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * var(--smwb-composer-field-padding-y, 6px));
|
|
9166
|
+
max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * var(--smwb-composer-field-padding-y, 6px));
|
|
8958
9167
|
content: attr(data-value) " ";
|
|
8959
9168
|
grid-area: 1 / 1;
|
|
8960
9169
|
visibility: hidden;
|
|
@@ -8966,13 +9175,13 @@
|
|
|
8966
9175
|
box-sizing: border-box;
|
|
8967
9176
|
margin: 0;
|
|
8968
9177
|
border: 0;
|
|
8969
|
-
padding: 6px 8px;
|
|
9178
|
+
padding: var(--smwb-composer-field-padding-y, 6px) 8px;
|
|
8970
9179
|
font: inherit;
|
|
8971
9180
|
letter-spacing: inherit;
|
|
8972
9181
|
line-height: 1.5rem;
|
|
8973
9182
|
overflow-wrap: anywhere;
|
|
8974
|
-
min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * 6px);
|
|
8975
|
-
max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * 6px);
|
|
9183
|
+
min-height: calc(var(--smwb-composer-min-rows, 1) * 1.5rem + 2 * var(--smwb-composer-field-padding-y, 6px));
|
|
9184
|
+
max-height: calc(var(--smwb-composer-max-rows, 8) * 1.5rem + 2 * var(--smwb-composer-field-padding-y, 6px));
|
|
8976
9185
|
grid-area: 1 / 1;
|
|
8977
9186
|
display: block;
|
|
8978
9187
|
width: 100%;
|
|
@@ -8993,8 +9202,8 @@
|
|
|
8993
9202
|
justify-content: center;
|
|
8994
9203
|
box-sizing: border-box;
|
|
8995
9204
|
flex: none;
|
|
8996
|
-
width: 36px;
|
|
8997
|
-
height: 36px;
|
|
9205
|
+
width: var(--smwb-composer-icon-button-size, 36px);
|
|
9206
|
+
height: var(--smwb-composer-icon-button-size, 36px);
|
|
8998
9207
|
margin: 0;
|
|
8999
9208
|
padding: 0;
|
|
9000
9209
|
border: 0;
|
|
@@ -9110,7 +9319,7 @@
|
|
|
9110
9319
|
}
|
|
9111
9320
|
.smwb-composer_inline .smwb-composer__counter {
|
|
9112
9321
|
align-self: end;
|
|
9113
|
-
padding-bottom: calc((36px - 1rem) / 2);
|
|
9322
|
+
padding-bottom: calc((var(--smwb-composer-icon-button-size, 36px) - 1rem) / 2);
|
|
9114
9323
|
}
|
|
9115
9324
|
.smwb-composer_inline .smwb-composer__attach ~ .smwb-composer__toolbar {
|
|
9116
9325
|
margin-inline-start: 0;
|
|
@@ -9720,8 +9929,12 @@
|
|
|
9720
9929
|
font-variant-numeric: tabular-nums;
|
|
9721
9930
|
}
|
|
9722
9931
|
.smwb-stack {
|
|
9932
|
+
display: flex;
|
|
9723
9933
|
min-width: 0;
|
|
9724
9934
|
}
|
|
9935
|
+
.smwb-stack[hidden] {
|
|
9936
|
+
display: none;
|
|
9937
|
+
}
|
|
9725
9938
|
.smwb-stack--direction-base-row {
|
|
9726
9939
|
flex-direction: row;
|
|
9727
9940
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smwb/ui-css",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.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.6.0",
|
|
23
23
|
"less": "^4.6.4"
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://sourcecraft.dev/elfenmail/ui",
|