@entur/modal 1.6.17 → 1.6.19
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 +6 -4
- package/dist/styles.css +54 -54
- package/package.json +11 -11
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
|
|
@@ -27,11 +31,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
27
31
|
|
|
28
32
|
## [1.6.12](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.11...@entur/modal@1.6.12) (2022-10-20)
|
|
29
33
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
## [1.6.11](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.10...@entur/modal@1.6.11) (2022-10-20)
|
|
34
|
+
### Performance Improvements
|
|
33
35
|
|
|
34
|
-
**
|
|
36
|
+
- **react-focus-lock:** update react-focus-lock package to newest version ([a827d1b](https://bitbucket.org/enturas/design-system/commits/a827d1b79872ea648ac794675cb5602df2cec56a))
|
|
35
37
|
|
|
36
38
|
## [1.6.10](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.9...@entur/modal@1.6.10) (2022-10-12)
|
|
37
39
|
|
package/dist/styles.css
CHANGED
|
@@ -2,60 +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
|
-
@keyframes slideFromRight {
|
|
16
|
-
from {
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
transform: translateX(100%);
|
|
19
|
-
}
|
|
20
|
-
to {
|
|
21
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
22
|
-
transform: 0;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
.eds-drawer {
|
|
26
|
-
-webkit-animation: slideFromRight forwards ease-out 0.1s;
|
|
27
|
-
animation: slideFromRight forwards ease-out 0.1s;
|
|
28
|
-
background: #ebebf1;
|
|
29
|
-
bottom: 0;
|
|
30
|
-
padding: 1.5rem;
|
|
31
|
-
position: fixed;
|
|
32
|
-
right: 0;
|
|
33
|
-
top: 0;
|
|
34
|
-
max-width: 100%;
|
|
35
|
-
min-width: 20rem;
|
|
36
|
-
width: 25vw;
|
|
37
|
-
z-index: 40;
|
|
38
|
-
overflow-y: auto;
|
|
39
|
-
}
|
|
40
|
-
.eds-contrast .eds-drawer {
|
|
41
|
-
background: #292b6a;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.eds-drawer__close-button {
|
|
45
|
-
margin: 0;
|
|
46
|
-
position: absolute;
|
|
47
|
-
top: 1.5rem;
|
|
48
|
-
right: 1.5rem;
|
|
49
|
-
}
|
|
50
|
-
.eds-drawer__close-button:focus {
|
|
51
|
-
outline-offset: 0.125rem;
|
|
52
|
-
outline: none;
|
|
53
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
54
|
-
}
|
|
55
|
-
.eds-contrast .eds-drawer__close-button:focus {
|
|
56
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
57
|
-
}/* DO NOT CHANGE!*/
|
|
58
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
59
5
|
:root {
|
|
60
6
|
--reach-dialog: 1;
|
|
61
7
|
}
|
|
@@ -191,4 +137,58 @@
|
|
|
191
137
|
top: 0%;
|
|
192
138
|
opacity: 1;
|
|
193
139
|
}
|
|
140
|
+
}/* DO NOT CHANGE!*/
|
|
141
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
142
|
+
@-webkit-keyframes slideFromRight {
|
|
143
|
+
from {
|
|
144
|
+
box-shadow: none;
|
|
145
|
+
transform: translateX(100%);
|
|
146
|
+
}
|
|
147
|
+
to {
|
|
148
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
149
|
+
transform: 0;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
@keyframes slideFromRight {
|
|
153
|
+
from {
|
|
154
|
+
box-shadow: none;
|
|
155
|
+
transform: translateX(100%);
|
|
156
|
+
}
|
|
157
|
+
to {
|
|
158
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
159
|
+
transform: 0;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
.eds-drawer {
|
|
163
|
+
-webkit-animation: slideFromRight forwards ease-out 0.1s;
|
|
164
|
+
animation: slideFromRight forwards ease-out 0.1s;
|
|
165
|
+
background: #ebebf1;
|
|
166
|
+
bottom: 0;
|
|
167
|
+
padding: 1.5rem;
|
|
168
|
+
position: fixed;
|
|
169
|
+
right: 0;
|
|
170
|
+
top: 0;
|
|
171
|
+
max-width: 100%;
|
|
172
|
+
min-width: 20rem;
|
|
173
|
+
width: 25vw;
|
|
174
|
+
z-index: 40;
|
|
175
|
+
overflow-y: auto;
|
|
176
|
+
}
|
|
177
|
+
.eds-contrast .eds-drawer {
|
|
178
|
+
background: #292b6a;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.eds-drawer__close-button {
|
|
182
|
+
margin: 0;
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 1.5rem;
|
|
185
|
+
right: 1.5rem;
|
|
186
|
+
}
|
|
187
|
+
.eds-drawer__close-button:focus {
|
|
188
|
+
outline-offset: 0.125rem;
|
|
189
|
+
outline: none;
|
|
190
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
191
|
+
}
|
|
192
|
+
.eds-contrast .eds-drawer__close-button:focus {
|
|
193
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
194
194
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.19",
|
|
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
|
|
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.
|
|
31
|
-
"@entur/button": "^2.10.
|
|
32
|
-
"@entur/icons": "^5.4.
|
|
33
|
-
"@entur/layout": "^2.1.
|
|
34
|
-
"@entur/tokens": "^3.4.
|
|
35
|
-
"@entur/typography": "^1.7.
|
|
36
|
-
"@entur/utils": "^0.
|
|
30
|
+
"@entur/a11y": "^0.2.54",
|
|
31
|
+
"@entur/button": "^2.10.9",
|
|
32
|
+
"@entur/icons": "^5.4.2",
|
|
33
|
+
"@entur/layout": "^2.1.16",
|
|
34
|
+
"@entur/tokens": "^3.4.4",
|
|
35
|
+
"@entur/typography": "^1.7.5",
|
|
36
|
+
"@entur/utils": "^0.5.0",
|
|
37
37
|
"@reach/dialog": "^0.16.0",
|
|
38
38
|
"classnames": "^2.3.1",
|
|
39
|
-
"react-focus-lock": "^2.
|
|
39
|
+
"react-focus-lock": "^2.9.1"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "36772ae4f2d8375622acff19736c07d15435cb95"
|
|
42
42
|
}
|