@entur/modal 1.6.14 → 1.6.15

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.15](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.14...@entur/modal@1.6.15) (2022-10-31)
7
+
8
+ **Note:** Version bump only for package @entur/modal
9
+
6
10
  ## [1.6.14](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.13...@entur/modal@1.6.14) (2022-10-31)
7
11
 
8
12
  **Note:** Version bump only for package @entur/modal
package/dist/styles.css CHANGED
@@ -2,6 +2,60 @@
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. */
5
59
  :root {
6
60
  --reach-dialog: 1;
7
61
  }
@@ -137,58 +191,4 @@
137
191
  top: 0%;
138
192
  opacity: 1;
139
193
  }
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.14",
3
+ "version": "1.6.15",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/modal.esm.js",
@@ -27,16 +27,16 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.49",
31
- "@entur/button": "^2.10.4",
32
- "@entur/icons": "^5.2.1",
33
- "@entur/layout": "^2.1.11",
30
+ "@entur/a11y": "^0.2.50",
31
+ "@entur/button": "^2.10.5",
32
+ "@entur/icons": "^5.2.2",
33
+ "@entur/layout": "^2.1.12",
34
34
  "@entur/tokens": "^3.4.1",
35
- "@entur/typography": "^1.7.0",
36
- "@entur/utils": "^0.4.5",
35
+ "@entur/typography": "^1.7.1",
36
+ "@entur/utils": "^0.4.6",
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": "09829f0914d2ee5740f584cfd2be4d9d2b5fc18a"
41
+ "gitHead": "11fde5ffbfd805773572c3a7d999d63f2733e0c7"
42
42
  }