@entur/modal 1.5.10 → 1.5.13
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 +12 -0
- package/dist/styles.css +46 -8
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.5.13](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.12...@entur/modal@1.5.13) (2022-04-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/modal
|
|
9
|
+
|
|
10
|
+
## [1.5.12](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.11...@entur/modal@1.5.12) (2022-04-20)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @entur/modal
|
|
13
|
+
|
|
14
|
+
## [1.5.11](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.10...@entur/modal@1.5.11) (2022-04-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @entur/modal
|
|
17
|
+
|
|
6
18
|
## [1.5.10](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.9...@entur/modal@1.5.10) (2022-03-01)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @entur/modal
|
package/dist/styles.css
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
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
|
+
}
|
|
5
15
|
@keyframes slideFromRight {
|
|
6
16
|
from {
|
|
7
17
|
box-shadow: none;
|
|
@@ -13,7 +23,8 @@
|
|
|
13
23
|
}
|
|
14
24
|
}
|
|
15
25
|
.eds-drawer {
|
|
16
|
-
animation: slideFromRight forwards ease-out 0.1s;
|
|
26
|
+
-webkit-animation: slideFromRight forwards ease-out 0.1s;
|
|
27
|
+
animation: slideFromRight forwards ease-out 0.1s;
|
|
17
28
|
background: #ebebf1;
|
|
18
29
|
bottom: 0;
|
|
19
30
|
padding: 1.5rem;
|
|
@@ -59,9 +70,12 @@
|
|
|
59
70
|
right: 0;
|
|
60
71
|
top: 0;
|
|
61
72
|
z-index: 30;
|
|
62
|
-
animation: fadeInOverlay;
|
|
63
|
-
|
|
64
|
-
animation-
|
|
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;
|
|
65
79
|
}
|
|
66
80
|
|
|
67
81
|
.eds-modal__content {
|
|
@@ -76,9 +90,12 @@
|
|
|
76
90
|
max-height: 90vh;
|
|
77
91
|
overflow: auto;
|
|
78
92
|
z-index: 40;
|
|
79
|
-
animation: slideInContent;
|
|
80
|
-
|
|
81
|
-
animation-
|
|
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;
|
|
82
99
|
}
|
|
83
100
|
.eds-modal__content--size-extraSmall {
|
|
84
101
|
max-width: 21rem;
|
|
@@ -102,7 +119,9 @@
|
|
|
102
119
|
}
|
|
103
120
|
|
|
104
121
|
.eds-modal__close {
|
|
105
|
-
appearance: none;
|
|
122
|
+
-webkit-appearance: none;
|
|
123
|
+
-moz-appearance: none;
|
|
124
|
+
appearance: none;
|
|
106
125
|
background: none;
|
|
107
126
|
border: none;
|
|
108
127
|
border-radius: 0;
|
|
@@ -120,6 +139,15 @@
|
|
|
120
139
|
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
121
140
|
}
|
|
122
141
|
|
|
142
|
+
@-webkit-keyframes fadeInOverlay {
|
|
143
|
+
from {
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
to {
|
|
147
|
+
opacity: 1;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
123
151
|
@keyframes fadeInOverlay {
|
|
124
152
|
from {
|
|
125
153
|
opacity: 0;
|
|
@@ -128,6 +156,16 @@
|
|
|
128
156
|
opacity: 1;
|
|
129
157
|
}
|
|
130
158
|
}
|
|
159
|
+
@-webkit-keyframes slideInContent {
|
|
160
|
+
from {
|
|
161
|
+
top: 5rem;
|
|
162
|
+
opacity: 0;
|
|
163
|
+
}
|
|
164
|
+
to {
|
|
165
|
+
top: 0%;
|
|
166
|
+
opacity: 1;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
131
169
|
@keyframes slideInContent {
|
|
132
170
|
from {
|
|
133
171
|
top: 5rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/modal",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.13",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/modal.esm.js",
|
|
@@ -27,17 +27,16 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^2.8.
|
|
32
|
-
"@entur/icons": "^
|
|
33
|
-
"@entur/layout": "^2.1.
|
|
34
|
-
"@entur/tokens": "^3.3.
|
|
35
|
-
"@entur/typography": "^1.6.
|
|
30
|
+
"@entur/a11y": "^0.2.43",
|
|
31
|
+
"@entur/button": "^2.8.1",
|
|
32
|
+
"@entur/icons": "^4.1.1",
|
|
33
|
+
"@entur/layout": "^2.1.5",
|
|
34
|
+
"@entur/tokens": "^3.3.2",
|
|
35
|
+
"@entur/typography": "^1.6.12",
|
|
36
36
|
"@entur/utils": "^0.4.3",
|
|
37
37
|
"@reach/dialog": "^0.16.0",
|
|
38
|
-
"@types/reach__dialog": "^0.4.0",
|
|
39
38
|
"classnames": "^2.3.1",
|
|
40
39
|
"react-focus-lock": "^2.5.2"
|
|
41
40
|
},
|
|
42
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "7b557782d62c07bdce744f9b084d57177e2202e9"
|
|
43
42
|
}
|