genus-ui 1.92.21 → 1.93.21
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/index.es.js +32 -33
- package/dist/index.umd.js +49 -50
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -912,21 +912,28 @@ const Kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
912
912
|
transition: stroke-dashoffset 0.4s linear;
|
|
913
913
|
}
|
|
914
914
|
|
|
915
|
-
.progress-bar-wrapper { filter: url(#goo); }
|
|
916
|
-
|
|
917
915
|
.progress-bar
|
|
918
|
-
{
|
|
916
|
+
{
|
|
917
|
+
position: relative;
|
|
919
918
|
width: 100%;
|
|
920
|
-
padding: 0.85rem 1rem;
|
|
921
919
|
background: var(--progress-bar-background-color, #dfeeed);
|
|
922
|
-
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
.progress-bar:not(:last-child)::after
|
|
923
|
+
{
|
|
924
|
+
position: absolute;
|
|
925
|
+
content: ' ';
|
|
926
|
+
height: 0.01rem;
|
|
927
|
+
width: 1.5rem;
|
|
928
|
+
background: #cfd1d4;
|
|
929
|
+
right: -1.5rem;
|
|
923
930
|
}
|
|
924
931
|
|
|
925
932
|
.progress-bar.current { background: var(--current-progress-bar-background-color, #203e70); }
|
|
926
933
|
|
|
927
934
|
::slotted(genus-step-content) { grid-area: 1 / 1 / -1 / -1; }
|
|
928
935
|
|
|
929
|
-
.step-controls { margin
|
|
936
|
+
.step-controls { margin: var(--step-controls-margin, 0 0 0 auto); }
|
|
930
937
|
`, Do = x`
|
|
931
938
|
.step-contents
|
|
932
939
|
{
|
|
@@ -940,7 +947,8 @@ const Kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
940
947
|
display: grid;
|
|
941
948
|
grid-auto-columns: 11.25rem;
|
|
942
949
|
grid-auto-flow: column;
|
|
943
|
-
grid-column-gap:
|
|
950
|
+
grid-column-gap: 1.5rem;
|
|
951
|
+
grid-template-rows: 2.5rem;
|
|
944
952
|
}
|
|
945
953
|
`, _a = x`
|
|
946
954
|
.steps-container
|
|
@@ -965,6 +973,14 @@ const Kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
965
973
|
justify-content: center;
|
|
966
974
|
align-items: center;
|
|
967
975
|
}
|
|
976
|
+
|
|
977
|
+
.progress-bar
|
|
978
|
+
{
|
|
979
|
+
display: flex;
|
|
980
|
+
place-content: center;
|
|
981
|
+
align-items: center;
|
|
982
|
+
border-radius: 3rem;
|
|
983
|
+
}
|
|
968
984
|
`, $a = x`
|
|
969
985
|
.step-title, .step-description, .step-number
|
|
970
986
|
{
|
|
@@ -975,7 +991,7 @@ const Kg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
975
991
|
.step-title
|
|
976
992
|
{
|
|
977
993
|
font-family: var(--title-font-family, 'Sofia Pro Semi');
|
|
978
|
-
font-size: var(--title-font-size);
|
|
994
|
+
font-size: var(--title-font-size, 0.9rem);
|
|
979
995
|
color: var(--title-color, #203e70);
|
|
980
996
|
margin-bottom: var(--title-margin-buttom);
|
|
981
997
|
}
|
|
@@ -1021,18 +1037,14 @@ let ct = class extends tt {
|
|
|
1021
1037
|
for (let t = 0; t < this._steps; t++)
|
|
1022
1038
|
this._progressBarsTemplate.push(
|
|
1023
1039
|
B`
|
|
1024
|
-
<div class='progress-bar
|
|
1025
|
-
<
|
|
1026
|
-
<h4 class="step-title">${i[t]}</h4>
|
|
1027
|
-
</div>
|
|
1040
|
+
<div class='progress-bar'>
|
|
1041
|
+
<h4 class="step-title">${i[t]}</h4>
|
|
1028
1042
|
</div>
|
|
1029
1043
|
`
|
|
1030
1044
|
);
|
|
1031
1045
|
this._progressBarsTemplate.length > 0 && (this._progressBarsTemplate[this.currentStep] = B`
|
|
1032
|
-
<div class='progress-bar
|
|
1033
|
-
<
|
|
1034
|
-
<h4 class="step-title">${i[this.currentStep]}</h4>
|
|
1035
|
-
</div>
|
|
1046
|
+
<div class='progress-bar current'>
|
|
1047
|
+
<h4 class="step-title">${i[this.currentStep]}</h4>
|
|
1036
1048
|
</div>
|
|
1037
1049
|
`);
|
|
1038
1050
|
};
|
|
@@ -1047,16 +1059,12 @@ let ct = class extends tt {
|
|
|
1047
1059
|
}
|
|
1048
1060
|
render() {
|
|
1049
1061
|
return this.direction === "next" && (this._progressBarsTemplate[this.currentStep] = B`
|
|
1050
|
-
<div class='progress-bar
|
|
1051
|
-
<
|
|
1052
|
-
<h4 class="step-title">${this.titles[this.currentStep]}</h4>
|
|
1053
|
-
</div>
|
|
1062
|
+
<div class='progress-bar current'>
|
|
1063
|
+
<h4 class="step-title">${this.titles[this.currentStep]}</h4>
|
|
1054
1064
|
</div>
|
|
1055
1065
|
`), this.direction === "prev" && (this._progressBarsTemplate[this.currentStep + 1] = B`
|
|
1056
|
-
<div class='progress-bar
|
|
1057
|
-
<
|
|
1058
|
-
<h4 class="step-title">${this.titles[this.currentStep + 1]}</h4>
|
|
1059
|
-
</div>
|
|
1066
|
+
<div class='progress-bar'>
|
|
1067
|
+
<h4 class="step-title">${this.titles[this.currentStep + 1]}</h4>
|
|
1060
1068
|
</div>
|
|
1061
1069
|
`), B`
|
|
1062
1070
|
<div class='steps-container'>
|
|
@@ -1083,15 +1091,6 @@ let ct = class extends tt {
|
|
|
1083
1091
|
() => B`
|
|
1084
1092
|
<div class="progress-container progress-container--web">
|
|
1085
1093
|
<div class='progress-bars'>${this._progressBarsTemplate}</div>
|
|
1086
|
-
<svg style="visibility: hidden; position: absolute;" width="0" height="0" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
|
1087
|
-
<defs>
|
|
1088
|
-
<filter id="goo">
|
|
1089
|
-
<feGaussianBlur in="SourceGraphic" stdDeviation="3" result="blur" />
|
|
1090
|
-
<feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9" result="goo" />
|
|
1091
|
-
<feComposite in="SourceGraphic" in2="goo" operator="atop"/>
|
|
1092
|
-
</filter>
|
|
1093
|
-
</defs>
|
|
1094
|
-
</svg>
|
|
1095
1094
|
</div>
|
|
1096
1095
|
`
|
|
1097
1096
|
)}
|