@madgex/design-system 1.13.0 → 1.14.1

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,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 Jul 2019 11:26:49 GMT
3
+ * Generated on Thu, 11 Jul 2019 12:56:59 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -125,5 +125,5 @@
125
125
  --mds-size-wrapper-width: 100%;
126
126
  --mds-size-wrapper-max-width: 1280px;
127
127
  --mds-size-wrapper-padding: 2.5%;
128
- --mds-size-surface-padding: 20px;
128
+ --mds-size-surface-padding: 28px 32px;
129
129
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 11 Jul 2019 11:26:49 GMT
3
+ * Generated on Thu, 11 Jul 2019 12:56:59 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -2562,9 +2562,9 @@ module.exports = {
2562
2562
  },
2563
2563
  "surface": {
2564
2564
  "padding": {
2565
- "value": "20rem",
2565
+ "value": "28rem",
2566
2566
  "original": {
2567
- "value": "20px"
2567
+ "value": "28px 32px"
2568
2568
  },
2569
2569
  "name": "MdsSizeSurfacePadding",
2570
2570
  "attributes": {
@@ -1,7 +1,7 @@
1
1
 
2
2
  /*
3
3
  Do not edit directly
4
- Generated on Thu, 11 Jul 2019 11:26:49 GMT
4
+ Generated on Thu, 11 Jul 2019 12:56:59 GMT
5
5
  */
6
6
 
7
7
  $mds-color-brand-1-base: #1b75bb !default;
@@ -125,7 +125,7 @@ $mds-size-container-max-width: 100% !default;
125
125
  $mds-size-wrapper-width: 100% !default;
126
126
  $mds-size-wrapper-max-width: 1280px !default;
127
127
  $mds-size-wrapper-padding: 2.5% !default;
128
- $mds-size-surface-padding: 20px !default;
128
+ $mds-size-surface-padding: 28px 32px !default;
129
129
 
130
130
  $tokens: (
131
131
  'color': (
@@ -1,6 +1,6 @@
1
1
  /*
2
2
  Do not edit directly
3
- Generated on Thu, 11 Jul 2019 11:26:49 GMT
3
+ Generated on Thu, 11 Jul 2019 12:56:59 GMT
4
4
  */
5
5
  html,
6
6
  body,
@@ -533,27 +533,27 @@ template {
533
533
  }
534
534
  }
535
535
 
536
- .mds-font-great-primer {
536
+ .mds-font-great-primer, .js .mds-tabs__list-item {
537
537
  font-size: 18px;
538
538
  line-height: 1.23;
539
539
  }
540
540
 
541
541
  @media (min-width: 25em) {
542
- .mds-font-great-primer {
542
+ .mds-font-great-primer, .js .mds-tabs__list-item {
543
543
  font-size: 18px;
544
544
  line-height: 1.23;
545
545
  }
546
546
  }
547
547
 
548
548
  @media (min-width: 37.5em) {
549
- .mds-font-great-primer {
549
+ .mds-font-great-primer, .js .mds-tabs__list-item {
550
550
  font-size: 21px;
551
551
  line-height: 1.15;
552
552
  }
553
553
  }
554
554
 
555
555
  @media (min-width: 63em) {
556
- .mds-font-great-primer {
556
+ .mds-font-great-primer, .js .mds-tabs__list-item {
557
557
  font-size: 20px;
558
558
  line-height: 1.2;
559
559
  }
@@ -663,27 +663,27 @@ template {
663
663
  }
664
664
  }
665
665
 
666
- .mds-font-minion {
666
+ .mds-font-minion, .mds-list__key {
667
667
  font-size: 12px;
668
668
  line-height: 1.34;
669
669
  }
670
670
 
671
671
  @media (min-width: 25em) {
672
- .mds-font-minion {
672
+ .mds-font-minion, .mds-list__key {
673
673
  font-size: 12px;
674
674
  line-height: 1.34;
675
675
  }
676
676
  }
677
677
 
678
678
  @media (min-width: 37.5em) {
679
- .mds-font-minion {
679
+ .mds-font-minion, .mds-list__key {
680
680
  font-size: 13px;
681
681
  line-height: 1.24;
682
682
  }
683
683
  }
684
684
 
685
685
  @media (min-width: 63em) {
686
- .mds-font-minion {
686
+ .mds-font-minion, .mds-list__key {
687
687
  font-size: 12px;
688
688
  line-height: 1.34;
689
689
  }
@@ -3369,7 +3369,7 @@ template {
3369
3369
  border-right: 1px solid #979797;
3370
3370
  }
3371
3371
 
3372
- .mds-border-bottom {
3372
+ .mds-border-bottom, .mds-tabs__list {
3373
3373
  border-bottom: 1px solid #979797;
3374
3374
  }
3375
3375
 
@@ -3582,7 +3582,7 @@ body {
3582
3582
  }
3583
3583
 
3584
3584
  .mds-surface__inner {
3585
- padding: 20px;
3585
+ padding: 28px 32px;
3586
3586
  }
3587
3587
 
3588
3588
  .mds-list {
@@ -3604,13 +3604,19 @@ body {
3604
3604
  list-style-type: decimal;
3605
3605
  }
3606
3606
 
3607
+ .mds-list--border {
3608
+ border-left: 5px solid #f0f0f0;
3609
+ padding-left: 20px;
3610
+ }
3611
+
3607
3612
  .mds-list__key,
3608
3613
  .mds-list__value {
3609
3614
  margin: 0;
3610
3615
  }
3611
3616
 
3612
3617
  .mds-list__key {
3613
- margin-bottom: 8px;
3618
+ font-weight: bold;
3619
+ margin-bottom: 4px;
3614
3620
  }
3615
3621
 
3616
3622
  .mds-list__value {
@@ -4523,7 +4529,6 @@ body {
4523
4529
  }
4524
4530
 
4525
4531
  .js .mds-tabs__list {
4526
- border-bottom: 1px solid #979797;
4527
4532
  margin-bottom: 0;
4528
4533
  }
4529
4534
 
@@ -4538,23 +4543,18 @@ body {
4538
4543
 
4539
4544
  .js .mds-tabs__tab {
4540
4545
  text-decoration: none;
4541
- background-color: #f0f0f0;
4542
4546
  margin-right: 4px;
4543
4547
  margin-bottom: 0;
4544
- padding: 8px 12px;
4545
- border-radius: 4px 4px 0 0;
4546
- border: 1px solid #979797;
4547
- border-bottom: 0;
4548
+ padding: 28px 32px;
4549
+ padding-top: 24px;
4550
+ padding-bottom: 20px;
4548
4551
  }
4549
4552
 
4550
4553
  .js .mds-tabs__tab.mds-tabs__tab--selected {
4551
- background-color: #ffffff;
4552
- padding-bottom: 9px;
4553
- margin-bottom: -1px;
4554
+ border-bottom: 6px solid #1b75bb;
4555
+ color: #222222;
4554
4556
  }
4555
4557
 
4556
4558
  .js .mds-tabs__panel {
4557
- padding: 12px 16px;
4558
- border: 1px solid #979797;
4559
- border-top: 0;
4559
+ padding: 28px 32px;
4560
4560
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@madgex/design-system",
3
- "version": "1.13.0",
3
+ "version": "1.14.1",
4
4
  "scripts": {
5
5
  "clean": "rimraf dist public tokens/build",
6
6
  "commit": "commit",
@@ -4,15 +4,16 @@
4
4
 
5
5
  .mds-tabs__list {
6
6
  margin-bottom: $mds-size-baseline * 2;
7
+ @extend .mds-border-bottom;
7
8
 
8
9
  .js & {
9
- border-bottom: $mds-size-border-width solid $mds-color-border;
10
10
  margin-bottom: 0;
11
11
  }
12
12
  }
13
13
 
14
14
  .js .mds-tabs__list-item {
15
15
  display: inline-block;
16
+ @extend .mds-font-great-primer;
16
17
  }
17
18
 
18
19
  .mds-tabs__tab {
@@ -21,24 +22,19 @@
21
22
 
22
23
  .js & {
23
24
  text-decoration: none;
24
- background-color: $mds-color-neutral-lightest;
25
25
  margin-right: $mds-size-baseline;
26
26
  margin-bottom: 0;
27
- padding: ($mds-size-baseline * 2) ($mds-size-baseline * 3);
28
- border-radius: $mds-size-border-radius $mds-size-border-radius 0 0;
29
- border: $mds-size-border-width solid $mds-color-border;
30
- border-bottom: 0;
27
+ padding: $mds-size-surface-padding;
28
+ padding-top: $mds-size-baseline * 6;
29
+ padding-bottom: $mds-size-baseline * 5;
31
30
  }
32
31
  }
33
32
 
34
33
  .js .mds-tabs__tab.mds-tabs__tab--selected {
35
- background-color: $mds-color-neutral-white;
36
- padding-bottom: ($mds-size-baseline * 2) + 1px;
37
- margin-bottom: -1px;
34
+ border-bottom: 6px solid $mds-color-brand-1-base;
35
+ color: $mds-color-text-base;
38
36
  }
39
37
 
40
38
  .js .mds-tabs__panel {
41
- padding: ($mds-size-baseline * 3) ($mds-size-baseline * 4);
42
- border: $mds-size-border-width solid $mds-color-border;
43
- border-top: 0;
39
+ padding: $mds-size-surface-padding;
44
40
  }
@@ -15,12 +15,19 @@
15
15
  list-style-type: decimal;
16
16
  }
17
17
 
18
+ .mds-list--border {
19
+ border-left: 5px solid $mds-color-neutral-lightest;
20
+ padding-left: $mds-size-baseline * 5;
21
+ }
22
+
18
23
  .mds-list__key,
19
24
  .mds-list__value {
20
25
  margin: 0;
21
26
  }
22
27
  .mds-list__key {
23
- margin-bottom: $mds-size-baseline * 2;
28
+ @extend .mds-font-minion;
29
+ font-weight: bold;
30
+ margin-bottom: $mds-size-baseline;
24
31
  }
25
32
  .mds-list__value {
26
33
  margin-bottom: $mds-size-baseline * 3;
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "surface": {
42
42
  "padding": {
43
- "value": "20px"
43
+ "value": "28px 32px"
44
44
  }
45
45
  }
46
46
  }
@@ -18,8 +18,8 @@
18
18
  <li class="mds-list__item">three</li>
19
19
  </ol>
20
20
 
21
- <h2>Definition List</h2>
22
- <dl class="mds-list mds-list--definition">
21
+ <h2>Definition List with border</h2>
22
+ <dl class="mds-list mds-list--definition mds-list--border">
23
23
  <dt class="mds-list__key">Recruiter</dt>
24
24
  <dd class="mds-list__value">The National Aeronautics and Space Association</dd>
25
25
  <dt class="mds-list__key">Reference</dt>