@entur/travel 5.0.9 → 5.0.12

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,20 @@
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
+ ## [5.0.12](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.11...@entur/travel@5.0.12) (2022-08-24)
7
+
8
+ **Note:** Version bump only for package @entur/travel
9
+
10
+ ## [5.0.11](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.10...@entur/travel@5.0.11) (2022-08-09)
11
+
12
+ **Note:** Version bump only for package @entur/travel
13
+
14
+ ## [5.0.10](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.9...@entur/travel@5.0.10) (2022-07-05)
15
+
16
+ ### Bug Fixes
17
+
18
+ - **validation exclamation icon:** fix icon colours for validation exclamation icon in react native ([4e64eb8](https://bitbucket.org/enturas/design-system/commits/4e64eb86fd1b98731b47ac040ce578e8ee0aa956))
19
+
6
20
  ## [5.0.9](https://bitbucket.org/enturas/design-system/compare/@entur/travel@5.0.8...@entur/travel@5.0.9) (2022-06-24)
7
21
 
8
22
  **Note:** Version bump only for package @entur/travel
package/dist/styles.css CHANGED
@@ -2,6 +2,50 @@
2
2
  --eds-travel: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-travel-header {
6
+ color: #181c56;
7
+ display: flex;
8
+ flex-direction: column;
9
+ font-weight: 600;
10
+ line-height: 1.5;
11
+ max-width: 100%;
12
+ }
13
+ .eds-contrast .eds-travel-header {
14
+ color: #ffffff;
15
+ }
16
+ .eds-travel-header--large {
17
+ font-size: 1.5rem;
18
+ }
19
+ .eds-travel-header--medium {
20
+ font-size: 1rem;
21
+ }
22
+ .eds-travel-header--no-wrap {
23
+ flex-direction: row;
24
+ }
25
+ .eds-travel-header__from, .eds-travel-header__to {
26
+ min-width: 0;
27
+ overflow: hidden;
28
+ text-overflow: ellipsis;
29
+ white-space: nowrap;
30
+ }
31
+ .eds-travel-header--no-wrap .eds-travel-header__from {
32
+ margin-right: 0.5em;
33
+ }
34
+ .eds-travel-header__to {
35
+ padding-left: calc(4em / 3 + 0.5em);
36
+ position: relative;
37
+ }
38
+ .eds-travel-header__to::before {
39
+ background-color: #ff5959;
40
+ content: "";
41
+ display: block;
42
+ height: calc(1em / 6);
43
+ left: 0;
44
+ position: absolute;
45
+ top: 0.65em;
46
+ width: calc(4em / 3);
47
+ }/* DO NOT CHANGE!*/
48
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
49
  .eds-travel-tag {
6
50
  background-color: #e9e9e9;
7
51
  border-radius: 0.25rem;
@@ -164,15 +208,11 @@
164
208
  color: #ffca28;
165
209
  }
166
210
  .eds-travel-tag__alert-exclamation-icon circle {
167
- color: #181c56;
168
- fill-opacity: 1;
211
+ fill: #181c56;
169
212
  }
170
213
  .eds-contrast .eds-travel-tag__alert-exclamation-icon {
171
214
  color: #ffe082;
172
215
  }
173
- .eds-contrast .eds-travel-tag__alert-exclamation-icon circle {
174
- fill-opacity: 0;
175
- }
176
216
  .eds-travel-tag__alert-error-icon {
177
217
  font-size: 0.875rem;
178
218
  color: #d31b1b;
@@ -250,50 +290,6 @@
250
290
  margin-left: 0.125rem;
251
291
  }/* DO NOT CHANGE!*/
252
292
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
253
- .eds-travel-header {
254
- color: #181c56;
255
- display: flex;
256
- flex-direction: column;
257
- font-weight: 600;
258
- line-height: 1.5;
259
- max-width: 100%;
260
- }
261
- .eds-contrast .eds-travel-header {
262
- color: #ffffff;
263
- }
264
- .eds-travel-header--large {
265
- font-size: 1.5rem;
266
- }
267
- .eds-travel-header--medium {
268
- font-size: 1rem;
269
- }
270
- .eds-travel-header--no-wrap {
271
- flex-direction: row;
272
- }
273
- .eds-travel-header__from, .eds-travel-header__to {
274
- min-width: 0;
275
- overflow: hidden;
276
- text-overflow: ellipsis;
277
- white-space: nowrap;
278
- }
279
- .eds-travel-header--no-wrap .eds-travel-header__from {
280
- margin-right: 0.5em;
281
- }
282
- .eds-travel-header__to {
283
- padding-left: calc(4em / 3 + 0.5em);
284
- position: relative;
285
- }
286
- .eds-travel-header__to::before {
287
- background-color: #ff5959;
288
- content: "";
289
- display: block;
290
- height: calc(1em / 6);
291
- left: 0;
292
- position: absolute;
293
- top: 0.65em;
294
- width: calc(4em / 3);
295
- }/* DO NOT CHANGE!*/
296
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
297
293
  .eds-leg-line {
298
294
  flex-grow: 1;
299
295
  mask-image: url("./pattern/line.svg");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/travel",
3
- "version": "5.0.9",
3
+ "version": "5.0.12",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/travel.esm.js",
@@ -23,10 +23,10 @@
23
23
  "lint": "dts lint"
24
24
  },
25
25
  "dependencies": {
26
- "@entur/icons": "^4.2.0",
27
- "@entur/layout": "^2.1.7",
28
- "@entur/tokens": "^3.3.2",
29
- "@entur/utils": "^0.4.3",
26
+ "@entur/icons": "^4.3.2",
27
+ "@entur/layout": "^2.1.9",
28
+ "@entur/tokens": "^3.4.1",
29
+ "@entur/utils": "^0.4.4",
30
30
  "classnames": "^2.3.1"
31
31
  },
32
32
  "peerDependencies": {
@@ -36,5 +36,5 @@
36
36
  "devDependencies": {
37
37
  "rollup-plugin-sass": "^1.2.2"
38
38
  },
39
- "gitHead": "974289b6579ade4460d12aa877a89e454c983d48"
39
+ "gitHead": "1dabe0c64e98a7de3a47a29fc24fd46e74dc0d7c"
40
40
  }