@entur/modal 1.6.17 → 1.6.18

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
+ ## [1.6.18](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.17...@entur/modal@1.6.18) (2023-01-19)
7
+
8
+ **Note:** Version bump only for package @entur/modal
9
+
6
10
  ## [1.6.17](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.14...@entur/modal@1.6.17) (2022-12-09)
7
11
 
8
12
  ### Bug Fixes
package/dist/styles.css CHANGED
@@ -2,16 +2,6 @@
2
2
  --eds-modal: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
- @-webkit-keyframes slideFromRight {
6
- from {
7
- box-shadow: none;
8
- transform: translateX(100%);
9
- }
10
- to {
11
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
12
- transform: 0;
13
- }
14
- }
15
5
  @keyframes slideFromRight {
16
6
  from {
17
7
  box-shadow: none;
@@ -23,8 +13,7 @@
23
13
  }
24
14
  }
25
15
  .eds-drawer {
26
- -webkit-animation: slideFromRight forwards ease-out 0.1s;
27
- animation: slideFromRight forwards ease-out 0.1s;
16
+ animation: slideFromRight forwards ease-out 0.1s;
28
17
  background: #ebebf1;
29
18
  bottom: 0;
30
19
  padding: 1.5rem;
@@ -70,12 +59,9 @@
70
59
  right: 0;
71
60
  top: 0;
72
61
  z-index: 30;
73
- -webkit-animation: fadeInOverlay;
74
- animation: fadeInOverlay;
75
- -webkit-animation-duration: 0.2s;
76
- animation-duration: 0.2s;
77
- -webkit-animation-timing-function: ease-in-out;
78
- animation-timing-function: ease-in-out;
62
+ animation: fadeInOverlay;
63
+ animation-duration: 0.2s;
64
+ animation-timing-function: ease-in-out;
79
65
  }
80
66
 
81
67
  .eds-modal__content {
@@ -90,12 +76,9 @@
90
76
  max-height: 90vh;
91
77
  overflow: auto;
92
78
  z-index: 40;
93
- -webkit-animation: slideInContent;
94
- animation: slideInContent;
95
- -webkit-animation-duration: 0.2s;
96
- animation-duration: 0.2s;
97
- -webkit-animation-timing-function: ease-in-out;
98
- animation-timing-function: ease-in-out;
79
+ animation: slideInContent;
80
+ animation-duration: 0.2s;
81
+ animation-timing-function: ease-in-out;
99
82
  }
100
83
  .eds-modal__content--size-extraSmall {
101
84
  max-width: 21rem;
@@ -155,15 +138,6 @@
155
138
  box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
156
139
  }
157
140
 
158
- @-webkit-keyframes fadeInOverlay {
159
- from {
160
- opacity: 0;
161
- }
162
- to {
163
- opacity: 1;
164
- }
165
- }
166
-
167
141
  @keyframes fadeInOverlay {
168
142
  from {
169
143
  opacity: 0;
@@ -172,16 +146,6 @@
172
146
  opacity: 1;
173
147
  }
174
148
  }
175
- @-webkit-keyframes slideInContent {
176
- from {
177
- top: 5rem;
178
- opacity: 0;
179
- }
180
- to {
181
- top: 0%;
182
- opacity: 1;
183
- }
184
- }
185
149
  @keyframes slideInContent {
186
150
  from {
187
151
  top: 5rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/modal",
3
- "version": "1.6.17",
3
+ "version": "1.6.18",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/modal.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,16 +27,16 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.52",
31
- "@entur/button": "^2.10.7",
32
- "@entur/icons": "^5.4.0",
33
- "@entur/layout": "^2.1.14",
34
- "@entur/tokens": "^3.4.3",
35
- "@entur/typography": "^1.7.3",
36
- "@entur/utils": "^0.4.8",
30
+ "@entur/a11y": "^0.2.53",
31
+ "@entur/button": "^2.10.8",
32
+ "@entur/icons": "^5.4.1",
33
+ "@entur/layout": "^2.1.15",
34
+ "@entur/tokens": "^3.4.4",
35
+ "@entur/typography": "^1.7.4",
36
+ "@entur/utils": "^0.4.9",
37
37
  "@reach/dialog": "^0.16.0",
38
38
  "classnames": "^2.3.1",
39
39
  "react-focus-lock": "^2.5.2"
40
40
  },
41
- "gitHead": "103844c30bdc32296f3998a360cf6066492173e9"
41
+ "gitHead": "de71e205560a699e2dce301e133966dc9348c459"
42
42
  }