@trilogy-ds/styles 4.20.4-beta.2 → 4.20.4

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.
@@ -114,10 +114,15 @@ $alignments: (
114
114
 
115
115
  // Typography
116
116
  @mixin typography-size($target: '') {
117
+ $suffix: '';
118
+ @if $target != '' {
119
+ $suffix: '-' + $target;
120
+ }
121
+
117
122
  @each $size in $sizes {
118
123
  $i: index($sizes, $size);
119
124
 
120
- .is-size-#{$i}#{if($target == '', '', '-' + $target)} {
125
+ .is-size-#{$i}#{$suffix} {
121
126
  font-size: $size !important;
122
127
  }
123
128
  }
@@ -66,6 +66,7 @@ a.box {
66
66
 
67
67
  &.is-active {
68
68
  outline: getBorder('active');
69
+ outline-offset: -2px;
69
70
  }
70
71
 
71
72
  &.is-offset-header {
@@ -97,8 +98,6 @@ a.box {
97
98
 
98
99
  &.is-highlighted {
99
100
  border-left: $highlighted-border-width solid transparent;
100
- border-top-left-radius: calc(var(--box-radius) + 3px);
101
- border-bottom-left-radius: calc(var(--box-radius) + 3px);
102
101
  border-left-color: getColor('main');
103
102
  @each $name, $pair in $colors-brand-functionnal {
104
103
  $color: getColor($name);
@@ -1,14 +1,12 @@
1
1
  @mixin divider {
2
2
  content:'';
3
3
  flex: 1;
4
- height: 1px;
5
4
  background-color: getColor('neutral');
6
5
  border: 1px solid #{getColor('stroke-fade')};
7
6
  border-radius: var(--radius-full);
8
7
  }
9
8
 
10
9
  .divider {
11
- height: 1px;
12
10
  display: flex;
13
11
  justify-content: center;
14
12
  align-items: center;
@@ -34,6 +32,10 @@
34
32
  margin-left: $spacing-4;
35
33
  }
36
34
  }
35
+ .icon{
36
+ height: auto;
37
+ width: auto;
38
+ }
37
39
  }
38
40
 
39
41
  &:not(.is-marginless) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trilogy-ds/styles",
3
- "version": "4.20.4-beta.2",
3
+ "version": "4.20.4",
4
4
  "author": "Bouygues Telecom",
5
5
  "repository": {
6
6
  "type": "git",