@smwb/ui-css 2.5.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 +133 -1
- 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;
|
|
@@ -4057,12 +4114,18 @@
|
|
|
4057
4114
|
width: 100%;
|
|
4058
4115
|
box-sizing: border-box;
|
|
4059
4116
|
}
|
|
4117
|
+
.smwb-grid[hidden] {
|
|
4118
|
+
display: none;
|
|
4119
|
+
}
|
|
4060
4120
|
.smwb-grid__row {
|
|
4061
4121
|
display: flex;
|
|
4062
4122
|
flex-wrap: wrap;
|
|
4063
4123
|
width: 100%;
|
|
4064
4124
|
box-sizing: border-box;
|
|
4065
4125
|
}
|
|
4126
|
+
.smwb-grid__row[hidden] {
|
|
4127
|
+
display: none;
|
|
4128
|
+
}
|
|
4066
4129
|
.smwb-grid__row--spacing-1 {
|
|
4067
4130
|
width: calc(100% + (4px * 1));
|
|
4068
4131
|
margin-top: -4px;
|
|
@@ -4889,12 +4952,16 @@
|
|
|
4889
4952
|
align-items: center;
|
|
4890
4953
|
justify-content: center;
|
|
4891
4954
|
cursor: pointer;
|
|
4955
|
+
min-width: 0;
|
|
4956
|
+
max-width: 100%;
|
|
4892
4957
|
}
|
|
4893
4958
|
.smwb-tooltip__wrapper {
|
|
4894
4959
|
position: relative;
|
|
4895
4960
|
display: inline-flex;
|
|
4896
4961
|
align-items: center;
|
|
4897
4962
|
justify-content: center;
|
|
4963
|
+
min-width: 0;
|
|
4964
|
+
max-width: 100%;
|
|
4898
4965
|
}
|
|
4899
4966
|
@keyframes smwb-tooltip-in {
|
|
4900
4967
|
from {
|
|
@@ -8687,7 +8754,14 @@
|
|
|
8687
8754
|
--smwb-dag-view-status-warning: var(--smui-warningColor);
|
|
8688
8755
|
--smwb-dag-view-status-error: var(--smui-errorColor);
|
|
8689
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);
|
|
8690
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;
|
|
8691
8765
|
--smwb-dag-view-node-border-style: solid;
|
|
8692
8766
|
position: relative;
|
|
8693
8767
|
width: 100%;
|
|
@@ -8747,6 +8821,45 @@
|
|
|
8747
8821
|
.smwb-dag-view__arrow--active {
|
|
8748
8822
|
fill: var(--smwb-dag-view-edge-active-color);
|
|
8749
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
|
+
}
|
|
8750
8863
|
.smwb-dag-view__node {
|
|
8751
8864
|
--smwb-dag-view-accent: var(--smwb-dag-view-node-accent, var(--smwb-dag-view-status-idle));
|
|
8752
8865
|
--smwb-dag-view-border-style: var(--smwb-dag-view-node-border-style);
|
|
@@ -8904,7 +9017,17 @@
|
|
|
8904
9017
|
}
|
|
8905
9018
|
@media (prefers-reduced-motion: no-preference) {
|
|
8906
9019
|
.smwb-dag-view__node[data-status="running"] .smwb-dag-view__dot {
|
|
8907
|
-
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;
|
|
8908
9031
|
}
|
|
8909
9032
|
}
|
|
8910
9033
|
@keyframes smwb-dag-view-pulse {
|
|
@@ -8912,6 +9035,11 @@
|
|
|
8912
9035
|
opacity: 0.35;
|
|
8913
9036
|
}
|
|
8914
9037
|
}
|
|
9038
|
+
@keyframes smwb-dag-view-flow {
|
|
9039
|
+
to {
|
|
9040
|
+
stroke-dashoffset: -24px;
|
|
9041
|
+
}
|
|
9042
|
+
}
|
|
8915
9043
|
.smwb-swimlanes {
|
|
8916
9044
|
position: relative;
|
|
8917
9045
|
box-sizing: border-box;
|
|
@@ -9801,8 +9929,12 @@
|
|
|
9801
9929
|
font-variant-numeric: tabular-nums;
|
|
9802
9930
|
}
|
|
9803
9931
|
.smwb-stack {
|
|
9932
|
+
display: flex;
|
|
9804
9933
|
min-width: 0;
|
|
9805
9934
|
}
|
|
9935
|
+
.smwb-stack[hidden] {
|
|
9936
|
+
display: none;
|
|
9937
|
+
}
|
|
9806
9938
|
.smwb-stack--direction-base-row {
|
|
9807
9939
|
flex-direction: row;
|
|
9808
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",
|