@entur/layout 2.1.11 → 2.1.12-alpha.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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.1.12-alpha.1](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.12-alpha.0...@entur/layout@2.1.12-alpha.1) (2022-10-26)
7
+
8
+ **Note:** Version bump only for package @entur/layout
9
+
10
+ ## [2.1.12-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.11...@entur/layout@2.1.12-alpha.0) (2022-10-20)
11
+
12
+ **Note:** Version bump only for package @entur/layout
13
+
6
14
  ## [2.1.10](https://bitbucket.org/enturas/design-system/compare/@entur/layout@2.1.9...@entur/layout@2.1.10) (2022-08-31)
7
15
 
8
16
  **Note:** Version bump only for package @entur/layout
package/dist/styles.css CHANGED
@@ -28,69 +28,6 @@
28
28
  box-shadow: 0 0.0625rem 0.1875rem 0 #393d79;
29
29
  }/* DO NOT CHANGE!*/
30
30
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
31
- .eds-media-card {
32
- flex-direction: column;
33
- overflow: hidden;
34
- position: relative;
35
- width: -webkit-fit-content;
36
- width: -moz-fit-content;
37
- width: fit-content;
38
- transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
39
- }
40
- .eds-media-card:focus, .eds-media-card[focus-within] {
41
- outline: none;
42
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
43
- }
44
- .eds-media-card:focus, .eds-media-card:focus-within {
45
- outline: none;
46
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
47
- }
48
- .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
49
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
50
- }
51
- .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
52
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
53
- }
54
- .eds-contrast .eds-media-card {
55
- background-color: #292b6a;
56
- }
57
- .eds-media-card__media {
58
- transition: transform 0.2s ease-in-out;
59
- }
60
- .eds-media-card__title {
61
- font-size: 1.5rem;
62
- line-height: 1.875rem;
63
- font-weight: 600;
64
- margin: 0.75rem 0 0.5rem;
65
- text-align: left;
66
- width: -webkit-fit-content;
67
- width: -moz-fit-content;
68
- width: fit-content;
69
- position: relative;
70
- }
71
- .eds-media-card:hover {
72
- transform: translateY(-0.25rem);
73
- box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
74
- }
75
- .eds-media-card__text {
76
- -webkit-appearance: none;
77
- -moz-appearance: none;
78
- appearance: none;
79
- cursor: pointer;
80
- color: inherit;
81
- display: flex;
82
- flex-direction: column;
83
- text-decoration: none;
84
- padding: 1.25rem 2rem 0;
85
- }
86
- .eds-media-card__text:focus {
87
- outline: none;
88
- }
89
- .eds-media-card__arrow-icon {
90
- align-self: flex-end;
91
- margin: 1rem 0 1.5rem;
92
- }/* DO NOT CHANGE!*/
93
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
94
31
  /* DO NOT CHANGE!*/
95
32
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
96
33
  .eds-navigation-card {
@@ -199,6 +136,69 @@
199
136
  font-size: 1rem;
200
137
  }/* DO NOT CHANGE!*/
201
138
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
139
+ .eds-media-card {
140
+ flex-direction: column;
141
+ overflow: hidden;
142
+ position: relative;
143
+ width: -webkit-fit-content;
144
+ width: -moz-fit-content;
145
+ width: fit-content;
146
+ transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
147
+ }
148
+ .eds-media-card:focus, .eds-media-card[focus-within] {
149
+ outline: none;
150
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
151
+ }
152
+ .eds-media-card:focus, .eds-media-card:focus-within {
153
+ outline: none;
154
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
155
+ }
156
+ .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
157
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
158
+ }
159
+ .eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
160
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
161
+ }
162
+ .eds-contrast .eds-media-card {
163
+ background-color: #292b6a;
164
+ }
165
+ .eds-media-card__media {
166
+ transition: transform 0.2s ease-in-out;
167
+ }
168
+ .eds-media-card__title {
169
+ font-size: 1.5rem;
170
+ line-height: 1.875rem;
171
+ font-weight: 600;
172
+ margin: 0.75rem 0 0.5rem;
173
+ text-align: left;
174
+ width: -webkit-fit-content;
175
+ width: -moz-fit-content;
176
+ width: fit-content;
177
+ position: relative;
178
+ }
179
+ .eds-media-card:hover {
180
+ transform: translateY(-0.25rem);
181
+ box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
182
+ }
183
+ .eds-media-card__text {
184
+ -webkit-appearance: none;
185
+ -moz-appearance: none;
186
+ appearance: none;
187
+ cursor: pointer;
188
+ color: inherit;
189
+ display: flex;
190
+ flex-direction: column;
191
+ text-decoration: none;
192
+ padding: 1.25rem 2rem 0;
193
+ }
194
+ .eds-media-card__text:focus {
195
+ outline: none;
196
+ }
197
+ .eds-media-card__arrow-icon {
198
+ align-self: flex-end;
199
+ margin: 1rem 0 1.5rem;
200
+ }/* DO NOT CHANGE!*/
201
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
202
202
  .eds-tag {
203
203
  background: #e9e9e9;
204
204
  color: #181c56;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/layout",
3
- "version": "2.1.11",
3
+ "version": "2.1.12-alpha.1",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/layout.esm.js",
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/typography": "^1.7.0",
31
- "@entur/utils": "^0.4.5",
30
+ "@entur/typography": "^1.7.1-alpha.1",
31
+ "@entur/utils": "^0.5.0-alpha.0",
32
32
  "classnames": "^2.3.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@entur/tokens": "^3.4.1"
36
36
  },
37
- "gitHead": "c1318d134c4097efd550872cabf41b1e67940eae"
37
+ "gitHead": "8e5d6c63d180d5b3a7b2d0c6c4cdbb8ecb8af8f4"
38
38
  }