@transfermarkt/global-styles 1.24.0 → 1.25.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transfermarkt/global-styles",
3
- "version": "1.24.0",
3
+ "version": "1.25.1",
4
4
  "description": "Shared styles and Global configuration for stylelint rules of the Transfermarkt projects",
5
5
  "author": "Transfermarkt",
6
6
  "license": "MIT",
@@ -69,5 +69,6 @@
69
69
  }
70
70
  ]
71
71
  ]
72
- }
72
+ },
73
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
73
74
  }
@@ -66,16 +66,17 @@
66
66
  border-radius: $border-radius;
67
67
  font-size: ($font-size-large + rem-calc(2));
68
68
  gap: $gap;
69
- height: rem-calc(40);
69
+ height: rem-calc(56);
70
70
  letter-spacing: rem-calc(1);
71
71
  line-height: rem-calc(28);
72
+ min-width: rem-calc(36);
72
73
  padding: rem-calc(8) rem-calc(16);
73
74
  text-transform: uppercase;
74
75
 
75
- @include breakpoint(desktop) {
76
+ @include breakpoint(laptop) {
76
77
  font-size: $font-size-large;
78
+ height: rem-calc(48);
77
79
  line-height: rem-calc(24);
78
- min-height: rem-calc(48);
79
80
  min-width: rem-calc(36);
80
81
  }
81
82
  }
@@ -84,14 +85,15 @@
84
85
  border-radius: $border-radius;
85
86
  font-size: ($font-size-medium + rem-calc(2));
86
87
  gap: $gap;
87
- height: rem-calc(36);
88
+ height: rem-calc(48);
88
89
  line-height: rem-calc(24);
90
+ min-width: rem-calc(36);
89
91
  padding: rem-calc(8) rem-calc(16);
90
92
 
91
- @include breakpoint(desktop) {
93
+ @include breakpoint(laptop) {
92
94
  font-size: $font-size-medium;
95
+ height: rem-calc(40);
93
96
  line-height: rem-calc(22);
94
- min-height: rem-calc(40);
95
97
  min-width: rem-calc(36);
96
98
  }
97
99
  }
@@ -100,14 +102,15 @@
100
102
  border-radius: $border-radius;
101
103
  font-size: ($font-size-small + rem-calc(2));
102
104
  gap: $gap;
103
- height: rem-calc(30);
104
- line-height: rem-calc(18);
105
- padding: rem-calc(8) rem-calc(12);
105
+ height: rem-calc(40);
106
+ line-height: rem-calc(22);
107
+ min-width: rem-calc(36);
108
+ padding: rem-calc(4) rem-calc(12);
106
109
 
107
- @include breakpoint(desktop) {
110
+ @include breakpoint(laptop) {
108
111
  font-size: $font-size-small;
109
- line-height: rem-calc(22);
110
- min-height: rem-calc(32);
112
+ height: rem-calc(32);
113
+ line-height: rem-calc(18);
111
114
  min-width: rem-calc(36);
112
115
  }
113
116
  }
@@ -347,19 +350,31 @@
347
350
  @include tm-icon-color('admiral');
348
351
 
349
352
  &--large {
350
- @include tm-icon-size(16px);
353
+ @include tm-icon-size(22px);
354
+
355
+ @include breakpoint(laptop) {
356
+ @include tm-icon-size(20px);
357
+ }
351
358
 
352
359
  stroke-width: 1.8;
353
360
  }
354
361
 
355
362
  &--medium {
356
- @include tm-icon-size(16px);
363
+ @include tm-icon-size(20px);
364
+
365
+ @include breakpoint(laptop) {
366
+ @include tm-icon-size(16px);
367
+ }
357
368
 
358
369
  stroke-width: 1.5;
359
370
  }
360
371
 
361
372
  &--small {
362
- @include tm-icon-size(14px);
373
+ @include tm-icon-size(16px);
374
+
375
+ @include breakpoint(laptop) {
376
+ @include tm-icon-size(12px);
377
+ }
363
378
 
364
379
  stroke-width: 1.2;
365
380
  }
@@ -142,3 +142,4 @@ $tm-colors: (
142
142
  'brand-community': #1d75a3,
143
143
  'brand-wahretabelle': #429535
144
144
  );
145
+
@@ -1,35 +0,0 @@
1
- name: Release to NPM
2
- on: [push]
3
- jobs:
4
- Release-to-NPM:
5
- runs-on: ubuntu-latest
6
- container:
7
- image: bitnami/node:22
8
- steps:
9
- # Checkout the repository
10
- - name: Check out repository
11
- uses: actions/checkout@v4
12
-
13
- # Setup Node with pinned node.js version through package.json (volta.node)
14
- - name: Setup Bun
15
- uses: oven-sh/setup-bun@v2
16
- with:
17
- bun-version: latest
18
-
19
- - name: Install dependencies
20
- run: bun i
21
-
22
- # Lint SCSS files
23
- - name: Linting scss files
24
- run: bun run lint
25
-
26
- # Run semantic-release
27
- - name: Semantic Release Action
28
- id: semantic
29
- uses: codfish/semantic-release-action@v3
30
- with:
31
- repository-url: ${{ gitea.event.repository.html_url }}
32
-
33
- env:
34
- GITEA_TOKEN: ${{ secrets.RELEASE_USER_TOKEN }}
35
- NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}