@entur/alert 0.11.15 → 0.11.16

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,10 @@
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
+ ## [0.11.16](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.11.15...@entur/alert@0.11.16) (2023-01-19)
7
+
8
+ **Note:** Version bump only for package @entur/alert
9
+
6
10
  ## [0.11.15](https://bitbucket.org/enturas/design-system/compare/@entur/alert@0.11.12...@entur/alert@0.11.15) (2022-12-09)
7
11
 
8
12
  **Note:** Version bump only for package @entur/alert
package/dist/styles.css CHANGED
@@ -111,26 +111,22 @@
111
111
  .eds-alert-box--toast {
112
112
  max-width: 22rem;
113
113
  width: 100%;
114
- -webkit-animation: 0.5s ease-in-out 0s 1 bounceInRight;
115
- animation: 0.5s ease-in-out 0s 1 bounceInRight;
114
+ animation: 0.5s ease-in-out 0s 1 bounceInRight;
116
115
  }
117
116
  @media screen and (min-width: 50rem) {
118
117
  .eds-alert-box--toast {
119
118
  min-width: 12rem;
120
- width: -webkit-fit-content;
121
119
  width: -moz-fit-content;
122
120
  width: fit-content;
123
121
  }
124
122
  }
125
123
  .eds-alert-box--toast--exit-animation {
126
- -webkit-animation: 0.5s ease-in-out 0s 1 bounceOutRight;
127
- animation: 0.5s ease-in-out 0s 1 bounceOutRight;
124
+ animation: 0.5s ease-in-out 0s 1 bounceOutRight;
128
125
  }
129
126
  .eds-alert-box--small {
130
127
  font-size: 0.875rem;
131
128
  }
132
129
  .eds-alert-box--fit-content {
133
- width: -webkit-fit-content;
134
130
  width: -moz-fit-content;
135
131
  width: fit-content;
136
132
  }
@@ -253,34 +249,9 @@
253
249
  }
254
250
  }
255
251
 
256
- @-webkit-keyframes bounceInRight {
257
- from, 60%, 75%, 90%, to {
258
- -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
259
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
260
- }
261
- from {
262
- opacity: 0;
263
- transform: translate3d(3000px, 0, 0) scaleX(3);
264
- }
265
- 60% {
266
- opacity: 1;
267
- transform: translate3d(-25px, 0, 0) scaleX(1);
268
- }
269
- 75% {
270
- transform: translate3d(10px, 0, 0) scaleX(0.98);
271
- }
272
- 90% {
273
- transform: translate3d(-5px, 0, 0) scaleX(0.995);
274
- }
275
- to {
276
- transform: translate3d(0, 0, 0);
277
- }
278
- }
279
-
280
252
  @keyframes bounceInRight {
281
253
  from, 60%, 75%, 90%, to {
282
- -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
283
- animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
254
+ animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
284
255
  }
285
256
  from {
286
257
  opacity: 0;
@@ -300,16 +271,6 @@
300
271
  transform: translate3d(0, 0, 0);
301
272
  }
302
273
  }
303
- @-webkit-keyframes bounceOutRight {
304
- 20% {
305
- opacity: 1;
306
- transform: translate3d(-20px, 0, 0) scaleX(0.9);
307
- }
308
- to {
309
- opacity: 0;
310
- transform: translate3d(2000px, 0, 0) scaleX(2);
311
- }
312
- }
313
274
  @keyframes bounceOutRight {
314
275
  20% {
315
276
  opacity: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/alert",
3
- "version": "0.11.15",
3
+ "version": "0.11.16",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/alert.esm.js",
@@ -19,7 +19,7 @@
19
19
  "scripts": {
20
20
  "start": "dts watch --noClean",
21
21
  "build": "dts build",
22
- "test": "dts test --env=jsdom",
22
+ "test": "dts test",
23
23
  "lint": "dts lint"
24
24
  },
25
25
  "peerDependencies": {
@@ -27,19 +27,19 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/expand": "^3.3.28",
31
- "@entur/icons": "^5.4.0",
32
- "@entur/typography": "^1.7.3",
33
- "@entur/utils": "^0.4.8",
30
+ "@entur/expand": "^3.3.29",
31
+ "@entur/icons": "^5.4.1",
32
+ "@entur/typography": "^1.7.4",
33
+ "@entur/utils": "^0.4.9",
34
34
  "classnames": "^2.3.1",
35
35
  "copy-text-to-clipboard": "2.2"
36
36
  },
37
37
  "devDependencies": {
38
- "@entur/tokens": "^3.4.3"
38
+ "@entur/tokens": "^3.4.4"
39
39
  },
40
40
  "volta": {
41
41
  "node": "14.17.0",
42
42
  "yarn": "1.18.0"
43
43
  },
44
- "gitHead": "103844c30bdc32296f3998a360cf6066492173e9"
44
+ "gitHead": "de71e205560a699e2dce301e133966dc9348c459"
45
45
  }