@trilogy-ds/styles 0.0.1-beta-108 → 0.0.1-beta-110

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,47 +1,49 @@
1
- .rows {
2
- display: flex;
3
- flex-direction: column;
4
- margin: -$row-gap-tablet-desktop;
5
- flex: 1 1 auto;
6
- justify-self: stretch;
7
- height: calc(100% + #{$row-gap-tablet-desktop * 2});
8
-
9
- @include mobile {
10
- margin: -$row-gap-mobile;
11
- height: calc(100% + #{$row-gap-mobile * 2});
12
- }
13
-
14
- &.is-aligned-end {
15
- justify-content: flex-end;
16
- }
17
-
18
- &.is-gapless {
19
- .row:not(:first-child) {
20
- padding-top: 0;
21
- }
22
1
 
23
- .row:not(:last-child) {
24
- padding-bottom: 0;
25
- }
26
- }
27
-
28
- .is-divider {
29
- margin-top: 0;
30
- margin-bottom: 0;
31
- }
2
+ $gap :
3
+ 4px,
4
+ 8px,
5
+ 12px,
6
+ 16px,
7
+ 24px,
8
+ 32px,
9
+ 40px,
10
+ 48px,
11
+ 54px,
12
+ 62px
13
+ ;
32
14
 
33
- .row {
34
- display: block;
35
- flex-grow: 1;
36
- flex-shrink: 1;
37
- padding: $row-gap-tablet-desktop;
38
15
 
39
- @include mobile {
40
- padding: $row-gap-mobile;
41
- }
42
-
43
- &.is-narrow {
44
- flex-grow: 0;
45
- }
16
+ .rows {
17
+ display: flex;
18
+ flex-direction: column;
19
+ flex: 1 1 auto;
20
+ justify-self: stretch;
21
+ height: 100%;
22
+ gap: 24px;
23
+
24
+ @include mobile{
25
+ gap: 16px;
26
+ }
27
+
28
+ &.is-aligned-end {
29
+ justify-content: flex-end;
30
+ }
31
+
32
+ &.is-gapless {
33
+ gap: 0;
34
+ }
35
+
36
+ .is-divider {
37
+ margin-top: 0;
38
+ margin-bottom: 0;
39
+ }
40
+
41
+ .row {
42
+ display: block;
43
+ flex-grow: 1;
44
+ flex-shrink: 1;
45
+ &.is-narrow {
46
+ flex-grow: 0;
46
47
  }
48
+ }
47
49
  }
@@ -619,7 +619,7 @@
619
619
  }
620
620
 
621
621
  @mixin disabledRulesWithoutBG {
622
- border-color: transparent !important;
622
+ border-color: getColor('disabled') !important;
623
623
  box-shadow: none !important;
624
624
  color: getColor('disabled') !important;
625
625
  cursor: not-allowed !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "0.0.1-beta-108",
3
+ "version": "0.0.1-beta-110",
4
4
  "author": "Bouygues Telecom",
5
5
  "license": "UNLICENSED",
6
6
  "files": [