@transfermarkt/global-styles 1.62.0 → 1.64.0

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.
@@ -46,7 +46,7 @@ module.exports = {
46
46
  {
47
47
  ignoreProperties: {
48
48
  'font-family': ['/tm-font.+/'],
49
- // 'font-weight': ['/tm-univia-fw.+/'], // Temporarily disabled
49
+ 'font-weight': ['/tm-univia-fw.+/'],
50
50
  '/.+/': ['/rem-calc.+/', '/tm-color.+/', '/figma-rem.+/', '/figma-value.+/', '/map.+/'],
51
51
  },
52
52
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transfermarkt/global-styles",
3
- "version": "1.62.0",
3
+ "version": "1.64.0",
4
4
  "description": "Shared styles and Global configuration for stylelint rules of the Transfermarkt projects",
5
5
  "author": "Transfermarkt",
6
6
  "license": "MIT",
@@ -34,69 +34,13 @@
34
34
  src: local('Arial');
35
35
  }
36
36
 
37
- /* UniviaPro font temporarily disabled
38
37
  @font-face {
39
- font-display: swap;
40
- font-family: 'UniviaPro';
41
- font-style: normal;
42
- font-weight: 100;
43
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-UltraLight.woff2') format('woff2');
44
- }
45
-
46
- @font-face {
47
- font-display: swap;
48
- font-family: 'UniviaPro';
49
- font-style: italic;
50
- font-weight: 100;
51
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-UltraLightItalic.woff2') format('woff2');
52
- }
53
-
54
- @font-face {
55
- font-display: swap;
56
- font-family: 'UniviaPro';
57
- font-style: normal;
58
- font-weight: 200;
59
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Thin.woff2') format('woff2');
60
- }
61
-
62
- @font-face {
63
- font-display: swap;
64
- font-family: 'UniviaPro';
65
- font-style: italic;
66
- font-weight: 200;
67
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-ThinItalic.woff2') format('woff2');
68
- }
69
-
70
- @font-face {
71
- font-display: swap;
72
- font-family: 'UniviaPro';
73
- font-style: normal;
74
- font-weight: 300;
75
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Light.woff2') format('woff2');
76
- }
77
-
78
- @font-face {
79
- font-display: swap;
80
- font-family: 'UniviaPro';
81
- font-style: italic;
82
- font-weight: 300;
83
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-LightItalic.woff2') format('woff2');
84
- }
85
-
86
- @font-face {
87
- font-display: swap;
88
- font-family: 'UniviaPro';
89
- font-style: normal;
90
- font-weight: 400;
91
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Book.woff2') format('woff2');
92
- }
93
-
94
- @font-face {
95
- font-display: swap;
96
- font-family: 'UniviaPro';
97
- font-style: italic;
98
- font-weight: 400;
99
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-BookItalic.woff2') format('woff2');
38
+ ascent-override: 75.84%;
39
+ descent-override: 18.96%;
40
+ font-family: 'UniviaPro-fallback';
41
+ line-gap-override: 18.96%;
42
+ size-adjust: 105.49%;
43
+ src: local('Arial');
100
44
  }
101
45
 
102
46
  @font-face {
@@ -107,14 +51,6 @@
107
51
  src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Regular.woff2') format('woff2');
108
52
  }
109
53
 
110
- @font-face {
111
- font-display: swap;
112
- font-family: 'UniviaPro';
113
- font-style: italic;
114
- font-weight: 450;
115
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Italic.woff2') format('woff2');
116
- }
117
-
118
54
  @font-face {
119
55
  font-display: swap;
120
56
  font-family: 'UniviaPro';
@@ -123,14 +59,6 @@
123
59
  src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Medium.woff2') format('woff2');
124
60
  }
125
61
 
126
- @font-face {
127
- font-display: swap;
128
- font-family: 'UniviaPro';
129
- font-style: italic;
130
- font-weight: 500;
131
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-MediumItalic.woff2') format('woff2');
132
- }
133
-
134
62
  @font-face {
135
63
  font-display: swap;
136
64
  font-family: 'UniviaPro';
@@ -139,14 +67,6 @@
139
67
  src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Bold.woff2') format('woff2');
140
68
  }
141
69
 
142
- @font-face {
143
- font-display: swap;
144
- font-family: 'UniviaPro';
145
- font-style: italic;
146
- font-weight: 700;
147
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-BoldItalic.woff2') format('woff2');
148
- }
149
-
150
70
  @font-face {
151
71
  font-display: swap;
152
72
  font-family: 'UniviaPro';
@@ -155,14 +75,6 @@
155
75
  src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Black.woff2') format('woff2');
156
76
  }
157
77
 
158
- @font-face {
159
- font-display: swap;
160
- font-family: 'UniviaPro';
161
- font-style: italic;
162
- font-weight: 900;
163
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-BlackItalic.woff2') format('woff2');
164
- }
165
-
166
78
  @font-face {
167
79
  font-display: swap;
168
80
  font-family: 'UniviaPro';
@@ -170,12 +82,3 @@
170
82
  font-weight: 950;
171
83
  src: url('https://tmsi.akamaized.net/fonts/UniviaPro-Ultra.woff2') format('woff2');
172
84
  }
173
-
174
- @font-face {
175
- font-display: swap;
176
- font-family: 'UniviaPro';
177
- font-style: italic;
178
- font-weight: 950;
179
- src: url('https://tmsi.akamaized.net/fonts/UniviaPro-UltraItalic.woff2') format('woff2');
180
- }
181
- */
@@ -1,7 +1,6 @@
1
1
  @forward 'tm-color';
2
2
  @forward 'tm-font';
3
-
4
- // @forward 'tm-univia-fw'; // Temporarily disabled
3
+ @forward 'tm-univia-fw';
5
4
  @forward 'rem-calc';
6
5
  @forward 'strip-unit';
7
6
  @forward 'zf-to-rem';
@@ -1,4 +1,3 @@
1
- /* UniviaPro font weight function temporarily disabled
2
1
  @use 'sass:map';
3
2
  @use '../variables';
4
3
 
@@ -11,4 +10,3 @@
11
10
 
12
11
  @return #{$weight-value};
13
12
  }
14
- */
@@ -126,6 +126,7 @@
126
126
  &--disabled {
127
127
  background-color: tm-color('soft-sky');
128
128
  color: tm-color('white');
129
+ pointer-events: none;
129
130
  }
130
131
 
131
132
  &--warning {
@@ -224,6 +225,7 @@
224
225
  &--disabled {
225
226
  border: 1px solid;
226
227
  color: tm-color('soft-sky');
228
+ pointer-events: none;
227
229
 
228
230
  @media (hover: hover) {
229
231
  &:hover {
@@ -325,6 +327,7 @@
325
327
  &--disabled {
326
328
  border: 1px solid tm-color('silver-mist');
327
329
  color: tm-color('silver-mist');
330
+ pointer-events: none;
328
331
 
329
332
  @media (hover: hover) {
330
333
  &:hover {
@@ -498,6 +501,7 @@
498
501
 
499
502
  &--disabled {
500
503
  color: tm-color('soft-sky');
504
+ pointer-events: none;
501
505
 
502
506
  @media (hover: hover) {
503
507
  &:hover {
@@ -570,6 +574,7 @@
570
574
 
571
575
  &--disabled {
572
576
  color: tm-color('silver-mist');
577
+ pointer-events: none;
573
578
 
574
579
  @media (hover: hover) {
575
580
  &:hover {
@@ -5,20 +5,13 @@ $tm-fonts: (
5
5
  'quaternary': "'OSL', 'OSL-fallback', sans-serif",
6
6
  'quinary': "'Arial', sans-serif",
7
7
  'senary': "'Times New Roman', sans-serif",
8
- 'septenary': "'SourceSansPro-VF', sans-serif"
9
- // 'univia': "'UniviaPro', 'UniviaPro-fallback', sans-serif" // Temporarily disabled
8
+ 'septenary': "'SourceSansPro-VF', sans-serif",
9
+ 'univia': "'UniviaPro', 'UniviaPro-fallback', sans-serif"
10
10
  );
11
-
12
- /* UniviaPro font weights temporarily disabled
13
11
  $tm-univia-fw: (
14
- 'ultra-light': 100,
15
- 'thin': 200,
16
- 'light': 300,
17
- 'book': 400,
18
- 'regular': 450,
12
+ 'regular': 400,
19
13
  'medium': 500,
20
14
  'bold': 700,
21
15
  'black': 900,
22
16
  'ultra': 950
23
17
  );
24
- */