@pinuts/bsr-uikit-relaunch 0.2.64 → 0.2.65

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.
@@ -1,25 +1,28 @@
1
1
  @use "sass:math";
2
2
  @import "./variables/_variables.scss";
3
3
 
4
+ @function to-rem($size) {
5
+ @return math.div($size, 16px) * 1rem;
6
+ }
7
+
4
8
  /* GENERAL INPUT STYLES v0.1*/
5
9
  #addressSelector {
6
- display: flex;
7
- flex-direction: column;
8
- font-family: $fontfamily-base;
10
+ display: flex;
11
+ flex-direction: column;
12
+ font-family: $fontfamily-base;
9
13
 
10
- .row .col:has(input):not(:has(fieldset)) {
11
- margin-bottom: $base-gap * 10;
12
- }
13
- .row .col.checkAddressBtn,
14
- .row .col.plzSelectAddressBtn,
15
- .row .col:not(.plzSelectAddressBtn) > .btn-secondary
16
- {
17
- margin-top: $base-gap * 10;
18
- }
14
+ .row .col:has(input):not(:has(fieldset)) {
15
+ margin-bottom: $base-gap * 10;
16
+ }
17
+ .row .col.checkAddressBtn,
18
+ .row .col.plzSelectAddressBtn,
19
+ .row .col:not(.plzSelectAddressBtn) > .btn-secondary {
20
+ margin-top: $base-gap * 10;
21
+ }
19
22
 
20
- .row .col fieldset.formInput:has(ul.groupInputList) {
21
- margin-bottom: 0;
22
- }
23
+ .row .col fieldset.formInput:has(ul.groupInputList) {
24
+ margin-bottom: 0;
25
+ }
23
26
  }
24
27
 
25
28
  #addressSelector .topRow,
@@ -38,7 +41,7 @@
38
41
  font-weight: $fontweight-bold;
39
42
  line-height: $input-label-line-height;
40
43
  letter-spacing: $letter-spacing-xs;
41
- color: $bsr-grey-100;
44
+ color: $bsr-black-90;
42
45
  margin-bottom: 0;
43
46
 
44
47
  .required {
@@ -263,6 +266,8 @@ fieldset.formInput {
263
266
  input[type="radio"] + label.label {
264
267
  padding-left: 0 !important;
265
268
  font-family: "TradeGothicNext", "TradeGothicNextSR", sans-serif;
269
+ font-weight: 700 !important;
270
+ font-size: to-rem(14px);
266
271
  }
267
272
 
268
273
  &::before {
@@ -559,8 +564,8 @@ form input[type="checkbox"] + label:before {
559
564
  }
560
565
  }
561
566
 
562
- .selectGroup-events, .event-picker {
563
-
567
+ .selectGroup-events,
568
+ .event-picker {
564
569
  .location-picker-text {
565
570
  font-family: $fontfamily-base;
566
571
  font-size: $inputField-font-size;
@@ -573,6 +578,7 @@ form input[type="checkbox"] + label:before {
573
578
  align-items: center;
574
579
  justify-content: space-between;
575
580
  color: $bsr-black-90;
581
+ font-family: $fontfamily-heading;
576
582
  }
577
583
  .pi-info {
578
584
  display: flex;
@@ -582,73 +588,79 @@ form input[type="checkbox"] + label:before {
582
588
  gap: 0;
583
589
  padding-left: 0;
584
590
 
585
- li:before, li::marker {
591
+ li:before,
592
+ li::marker {
586
593
  display: none;
587
- content: '';
594
+ content: "";
588
595
  }
589
596
  }
590
597
  }
591
598
 
592
599
  fieldset legend {
593
- h2, h3, h4 {
594
- font-family: $fontfamily-base;
595
- color: $bsr-black-90 !important;
596
- }
597
- }
598
-
599
- fieldset.fieldsetLegend legend, .pi-title {
600
-
601
- h2, h3, h4 {
602
- font-family: $fontfamily-base;
603
- font-size: $h3-fontsize;
604
- line-height: $h3-lineheight;
605
- font-weight: $fontweight-bold;
606
- color: $bsr-black-90;
607
- }
600
+ h2,
601
+ h3,
602
+ h4 {
603
+ font-family: $fontfamily-base;
604
+ color: $bsr-black-90 !important;
605
+ }
608
606
  }
609
607
 
610
- div.form-label {
608
+ fieldset.fieldsetLegend legend,
609
+ .pi-title {
610
+ h2,
611
+ h3,
612
+ h4 {
611
613
  font-family: $fontfamily-base;
612
- font-size: $input-label-font-size;
613
- line-height: $input-label-line-height;
614
- color: $bsr-black-90;
614
+ font-size: $h3-fontsize;
615
+ line-height: $h3-lineheight;
615
616
  font-weight: $fontweight-bold;
616
- }
617
+ color: $bsr-black-90;
618
+ }
619
+ }
617
620
 
621
+ div.form-label {
622
+ font-family: $fontfamily-base;
623
+ font-size: $input-label-font-size;
624
+ line-height: $input-label-line-height;
625
+ color: $bsr-black-90;
626
+ font-weight: $fontweight-bold;
627
+ }
618
628
 
619
629
  fieldset.formInput:has(.topRow):has(input[type="checkbox"]):not(:has(input[name="agb"])) {
620
- display: flex;
621
- flex-direction: row-reverse;
622
- align-items: baseline;
623
- justify-content: start;
624
- gap: $base-gap * 4;
630
+ display: flex;
631
+ flex-direction: row-reverse;
632
+ align-items: baseline;
633
+ justify-content: start;
634
+ gap: $base-gap * 4;
625
635
  }
626
636
  input[name="agb"] + label {
627
- font-family: $fontfamily-base;
628
- font-size: $inputField-font-size !important;
629
- line-height: $inputField-line-height !important;
630
- color: $bsr-black-90;
631
- font-weight: $fontweight-normal;
637
+ font-family: $fontfamily-base;
638
+ font-size: $inputField-font-size !important;
639
+ line-height: $inputField-line-height !important;
640
+ color: $bsr-black-90;
641
+ font-weight: $fontweight-normal;
632
642
  }
633
643
  input.custom-control-input label.custom-control-label {
634
- column-gap: $base-gap;
644
+ column-gap: $base-gap;
635
645
  }
636
646
 
637
647
  .step-line {
638
- &.line-gray {
639
- background: $bsr-black-10;
640
- }
641
- &.line-brick {
642
- background: $bsr-brick-100;
643
- }
648
+ &.line-gray {
649
+ background: $bsr-black-10;
650
+ }
651
+ &.line-brick {
652
+ background: $bsr-brick-100;
653
+ }
644
654
  }
645
655
 
646
656
  .pi-intro {
647
- h2, h3, h4 {
648
- font-family: $fontfamily-base;
649
- font-size: $h3-fontsize;
650
- line-height: $h3-lineheight;
651
- font-weight: $fontweight-bold;
652
- color: $bsr-black-90;
653
- }
654
- }
657
+ h2,
658
+ h3,
659
+ h4 {
660
+ font-family: $fontfamily-heading;
661
+ font-size: $h3-fontsize;
662
+ line-height: $h3-lineheight;
663
+ font-weight: $fontweight-bold;
664
+ color: $bsr-black-90;
665
+ }
666
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinuts/bsr-uikit-relaunch",
3
- "version": "0.2.64",
3
+ "version": "0.2.65",
4
4
  "private": false,
5
5
  "description": "BSR UI-KIT Relaunch",
6
6
  "main": "dist/index.js",