@transfermarkt/global-styles 1.47.0 → 1.49.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.
@@ -40,6 +40,7 @@ module.exports = {
40
40
  {
41
41
  ignoreProperties: {
42
42
  'font-family': ['/tm-font.+/'],
43
+ // 'font-weight': ['/tm-univia-fw.+/'], // Temporarily disabled
43
44
  '/.+/': ['/rem-calc.+/', '/tm-color.+/', '/map.+/'],
44
45
  },
45
46
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transfermarkt/global-styles",
3
- "version": "1.47.0",
3
+ "version": "1.49.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,6 +34,7 @@
34
34
  src: local('Arial');
35
35
  }
36
36
 
37
+ /* UniviaPro font temporarily disabled
37
38
  @font-face {
38
39
  font-display: swap;
39
40
  font-family: 'UniviaPro';
@@ -177,3 +178,4 @@
177
178
  font-weight: 950;
178
179
  src: url('https://tmsi.akamaized.net/fonts/UniviaPro-UltraItalic.woff2') format('woff2');
179
180
  }
181
+ */
@@ -1,6 +1,7 @@
1
1
  @forward 'tm-color';
2
2
  @forward 'tm-font';
3
- @forward 'tm-univia-fw';
3
+
4
+ // @forward 'tm-univia-fw'; // Temporarily disabled
4
5
  @forward 'rem-calc';
5
6
  @forward 'strip-unit';
6
7
  @forward 'zf-to-rem';
@@ -1,3 +1,4 @@
1
+ /* UniviaPro font weight function temporarily disabled
1
2
  @use 'sass:map';
2
3
  @use '../variables';
3
4
 
@@ -10,3 +11,4 @@
10
11
 
11
12
  @return #{$weight-value};
12
13
  }
14
+ */
@@ -1913,6 +1913,216 @@
1913
1913
  }
1914
1914
  }
1915
1915
 
1916
+ &__shield {
1917
+ padding-right: rem-calc(24);
1918
+
1919
+ @include tm-icon-generate('shield');
1920
+
1921
+ &--large {
1922
+ @include tm-icon-size(16px);
1923
+
1924
+ stroke-width: 1.8;
1925
+ }
1926
+
1927
+ &--medium {
1928
+ @include tm-icon-size(16px);
1929
+
1930
+ stroke-width: 1.5;
1931
+ }
1932
+
1933
+ &--small {
1934
+ @include tm-icon-size(14px);
1935
+
1936
+ stroke-width: 1.2;
1937
+ }
1938
+ }
1939
+
1940
+ &__shield-right {
1941
+ padding-left: rem-calc(24);
1942
+
1943
+ @include tm-icon-generate('shield', right);
1944
+
1945
+ &--large {
1946
+ @include tm-icon-size(16px);
1947
+
1948
+ stroke-width: 1.8;
1949
+ }
1950
+
1951
+ &--medium {
1952
+ @include tm-icon-size(16px);
1953
+
1954
+ stroke-width: 1.5;
1955
+ }
1956
+
1957
+ &--small {
1958
+ @include tm-icon-size(14px);
1959
+
1960
+ stroke-width: 1.2;
1961
+ }
1962
+ }
1963
+
1964
+ &__shield-both {
1965
+ @include tm-icon-generate('shield', both);
1966
+
1967
+ &--large {
1968
+ @include tm-icon-size(16px);
1969
+
1970
+ stroke-width: 1.8;
1971
+ }
1972
+
1973
+ &--medium {
1974
+ @include tm-icon-size(16px);
1975
+
1976
+ stroke-width: 1.5;
1977
+ }
1978
+
1979
+ &--small {
1980
+ @include tm-icon-size(14px);
1981
+
1982
+ stroke-width: 1.2;
1983
+ }
1984
+ }
1985
+
1986
+ &__help-circle {
1987
+ padding-right: rem-calc(24);
1988
+
1989
+ @include tm-icon-generate('help-circle');
1990
+
1991
+ &--large {
1992
+ @include tm-icon-size(16px);
1993
+
1994
+ stroke-width: 1.8;
1995
+ }
1996
+
1997
+ &--medium {
1998
+ @include tm-icon-size(16px);
1999
+
2000
+ stroke-width: 1.5;
2001
+ }
2002
+
2003
+ &--small {
2004
+ @include tm-icon-size(14px);
2005
+
2006
+ stroke-width: 1.2;
2007
+ }
2008
+ }
2009
+
2010
+ &__help-circle-right {
2011
+ padding-left: rem-calc(24);
2012
+
2013
+ @include tm-icon-generate('help-circle', right);
2014
+
2015
+ &--large {
2016
+ @include tm-icon-size(16px);
2017
+
2018
+ stroke-width: 1.8;
2019
+ }
2020
+
2021
+ &--medium {
2022
+ @include tm-icon-size(16px);
2023
+
2024
+ stroke-width: 1.5;
2025
+ }
2026
+
2027
+ &--small {
2028
+ @include tm-icon-size(14px);
2029
+
2030
+ stroke-width: 1.2;
2031
+ }
2032
+ }
2033
+
2034
+ &__help-circle-both {
2035
+ @include tm-icon-generate('help-circle', both);
2036
+
2037
+ &--large {
2038
+ @include tm-icon-size(16px);
2039
+
2040
+ stroke-width: 1.8;
2041
+ }
2042
+
2043
+ &--medium {
2044
+ @include tm-icon-size(16px);
2045
+
2046
+ stroke-width: 1.5;
2047
+ }
2048
+
2049
+ &--small {
2050
+ @include tm-icon-size(14px);
2051
+
2052
+ stroke-width: 1.2;
2053
+ }
2054
+ }
2055
+
2056
+ &__plus {
2057
+ padding-right: rem-calc(24);
2058
+
2059
+ @include tm-icon-generate('plus');
2060
+
2061
+ &--large {
2062
+ @include tm-icon-size(16px);
2063
+
2064
+ stroke-width: 1.8;
2065
+ }
2066
+
2067
+ &--medium {
2068
+ @include tm-icon-size(16px);
2069
+
2070
+ stroke-width: 1.5;
2071
+ }
2072
+
2073
+ &--small {
2074
+ @include tm-icon-size(14px);
2075
+
2076
+ stroke-width: 1.2;
2077
+ }
2078
+ }
2079
+
2080
+ &__plus-right {
2081
+ padding-left: rem-calc(24);
2082
+
2083
+ @include tm-icon-generate('plus', right);
2084
+
2085
+ &--large {
2086
+ @include tm-icon-size(16px);
2087
+
2088
+ stroke-width: 1.8;
2089
+ }
2090
+
2091
+ &--medium {
2092
+ @include tm-icon-size(16px);
2093
+
2094
+ stroke-width: 1.5;
2095
+ }
2096
+
2097
+ &--small {
2098
+ @include tm-icon-size(14px);
2099
+
2100
+ stroke-width: 1.2;
2101
+ }
2102
+ }
2103
+
2104
+ &__plus-both {
2105
+ @include tm-icon-generate('plus', both);
2106
+
2107
+ &--large {
2108
+ @include tm-icon-size(16px);
2109
+
2110
+ stroke-width: 1.8;
2111
+ }
2112
+
2113
+ &--medium {
2114
+ @include tm-icon-size(16px);
2115
+
2116
+ stroke-width: 1.5;
2117
+ }
2118
+
2119
+ &--small {
2120
+ @include tm-icon-size(14px);
2121
+
2122
+ stroke-width: 1.2;
2123
+ }
2124
+ }
2125
+
1916
2126
  &__white {
1917
2127
  @include tm-icon-color(white);
1918
2128
  }
@@ -5,9 +5,11 @@ $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"
8
+ 'septenary': "'SourceSansPro-VF', sans-serif"
9
+ // 'univia': "'UniviaPro', 'UniviaPro-fallback', sans-serif" // Temporarily disabled
10
10
  );
11
+
12
+ /* UniviaPro font weights temporarily disabled
11
13
  $tm-univia-fw: (
12
14
  'ultra-light': 100,
13
15
  'thin': 200,
@@ -19,3 +21,4 @@ $tm-univia-fw: (
19
21
  'black': 900,
20
22
  'ultra': 950
21
23
  );
24
+ */