@entur/modal 1.6.24 → 1.6.25

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.
Files changed (2) hide show
  1. package/dist/styles.css +46 -44
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -1,49 +1,7 @@
1
1
  :root {
2
2
  --eds-modal: 1;
3
- }/* DO NOT CHANGE!*/
4
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
- @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
3
  }
15
- .eds-drawer {
16
- animation: slideFromRight forwards ease-out 0.1s;
17
- background: #ebebf1;
18
- bottom: 0;
19
- padding: 1.5rem;
20
- position: fixed;
21
- right: 0;
22
- top: 0;
23
- max-width: 100%;
24
- min-width: 20rem;
25
- width: 25vw;
26
- z-index: 40;
27
- overflow-y: auto;
28
- }
29
- .eds-contrast .eds-drawer {
30
- background: #292b6a;
31
- }
32
-
33
- .eds-drawer__close-button {
34
- margin: 0;
35
- position: absolute;
36
- top: 1.5rem;
37
- right: 1.5rem;
38
- }
39
- .eds-drawer__close-button:focus {
40
- outline-offset: 0.125rem;
41
- outline: none;
42
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
43
- }
44
- .eds-contrast .eds-drawer__close-button:focus {
45
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
46
- }/* DO NOT CHANGE!*/
4
+ /* DO NOT CHANGE!*/
47
5
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
48
6
  :root {
49
7
  --reach-dialog: 1;
@@ -155,4 +113,48 @@
155
113
  top: 0%;
156
114
  opacity: 1;
157
115
  }
158
- }
116
+ }
117
+ /* DO NOT CHANGE!*/
118
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
119
+ @keyframes slideFromRight {
120
+ from {
121
+ box-shadow: none;
122
+ transform: translateX(100%);
123
+ }
124
+ to {
125
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
126
+ transform: 0;
127
+ }
128
+ }
129
+ .eds-drawer {
130
+ animation: slideFromRight forwards ease-out 0.1s;
131
+ background: #ebebf1;
132
+ bottom: 0;
133
+ padding: 1.5rem;
134
+ position: fixed;
135
+ right: 0;
136
+ top: 0;
137
+ max-width: 100%;
138
+ min-width: 20rem;
139
+ width: 25vw;
140
+ z-index: 40;
141
+ overflow-y: auto;
142
+ }
143
+ .eds-contrast .eds-drawer {
144
+ background: #292b6a;
145
+ }
146
+
147
+ .eds-drawer__close-button {
148
+ margin: 0;
149
+ position: absolute;
150
+ top: 1.5rem;
151
+ right: 1.5rem;
152
+ }
153
+ .eds-drawer__close-button:focus {
154
+ outline-offset: 0.125rem;
155
+ outline: none;
156
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
157
+ }
158
+ .eds-contrast .eds-drawer__close-button:focus {
159
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
160
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/modal",
3
- "version": "1.6.24",
3
+ "version": "1.6.25",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/modal.esm.js",
@@ -28,15 +28,15 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.59",
31
- "@entur/button": "^2.10.14",
32
- "@entur/icons": "^5.8.0",
33
- "@entur/layout": "^2.1.21",
31
+ "@entur/button": "^2.10.15",
32
+ "@entur/icons": "^5.8.1",
33
+ "@entur/layout": "^2.1.22",
34
34
  "@entur/tokens": "^3.8.0",
35
- "@entur/typography": "^1.7.10",
35
+ "@entur/typography": "^1.7.11",
36
36
  "@entur/utils": "^0.5.5",
37
37
  "@reach/dialog": "^0.16.0",
38
38
  "classnames": "^2.3.1",
39
39
  "react-focus-lock": "^2.9.1"
40
40
  },
41
- "gitHead": "bc067536ed769de8072f19002ef4877a1e974443"
41
+ "gitHead": "8019b1b3a39b30bf1052ae34ed1c06b6caf1aa34"
42
42
  }