@pinuts/bsr-uikit-relaunch 0.2.57 → 0.2.58
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.
|
@@ -39,13 +39,13 @@ const FormTitle = _ref => {
|
|
|
39
39
|
if (current <= 0) return;
|
|
40
40
|
if (!total) {
|
|
41
41
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
42
|
-
className: "step-line
|
|
42
|
+
className: "step-line line-brick rounded-pill flex-fill"
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
const stepper = [];
|
|
46
46
|
for (let i = 0; i < total; i++) {
|
|
47
47
|
let cssClasses = 'step-line rounded-pill flex-fill ';
|
|
48
|
-
cssClasses += i < current ? '
|
|
48
|
+
cssClasses += i < current ? 'line-brick' : 'line-gray';
|
|
49
49
|
cssClasses += i + 1 !== total ? ' mr-2' : '';
|
|
50
50
|
stepper.push(/*#__PURE__*/_react.default.createElement("div", {
|
|
51
51
|
key: `${i}_${current}`,
|
package/dist/styles/_form.scss
CHANGED
|
@@ -572,6 +572,7 @@ form input[type="checkbox"] + label:before {
|
|
|
572
572
|
display: flex;
|
|
573
573
|
align-items: center;
|
|
574
574
|
justify-content: space-between;
|
|
575
|
+
color: $bsr-black-90;
|
|
575
576
|
}
|
|
576
577
|
.pi-info {
|
|
577
578
|
display: flex;
|
|
@@ -588,6 +589,13 @@ form input[type="checkbox"] + label:before {
|
|
|
588
589
|
}
|
|
589
590
|
}
|
|
590
591
|
|
|
592
|
+
fieldset legend {
|
|
593
|
+
h2, h3, h4 {
|
|
594
|
+
font-family: $fontfamily-base;
|
|
595
|
+
color: $bsr-black-90;
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
|
|
591
599
|
fieldset.fieldsetLegend legend, .pi-title {
|
|
592
600
|
|
|
593
601
|
h2, h3, h4 {
|
|
@@ -610,3 +618,12 @@ fieldset.formInput:has(.topRow):has(input[type="checkbox"]) {
|
|
|
610
618
|
input.custom-control-input label.custom-control-label {
|
|
611
619
|
column-gap: $base-gap;
|
|
612
620
|
}
|
|
621
|
+
|
|
622
|
+
.step-line {
|
|
623
|
+
&.line-gray {
|
|
624
|
+
background: $bsr-black-10;
|
|
625
|
+
}
|
|
626
|
+
&.line-brick {
|
|
627
|
+
background: $bsr-brick-100;
|
|
628
|
+
}
|
|
629
|
+
}
|
package/dist/styles/main.scss
CHANGED