@entur/modal 1.6.22 → 1.6.23

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 +43 -43
  2. package/package.json +9 -9
package/dist/styles.css CHANGED
@@ -2,49 +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
- @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
- .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!*/
47
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
48
5
  :root {
49
6
  --reach-dialog: 1;
50
7
  }
@@ -155,4 +112,47 @@
155
112
  top: 0%;
156
113
  opacity: 1;
157
114
  }
115
+ }/* DO NOT CHANGE!*/
116
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
117
+ @keyframes slideFromRight {
118
+ from {
119
+ box-shadow: none;
120
+ transform: translateX(100%);
121
+ }
122
+ to {
123
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
124
+ transform: 0;
125
+ }
126
+ }
127
+ .eds-drawer {
128
+ animation: slideFromRight forwards ease-out 0.1s;
129
+ background: #ebebf1;
130
+ bottom: 0;
131
+ padding: 1.5rem;
132
+ position: fixed;
133
+ right: 0;
134
+ top: 0;
135
+ max-width: 100%;
136
+ min-width: 20rem;
137
+ width: 25vw;
138
+ z-index: 40;
139
+ overflow-y: auto;
140
+ }
141
+ .eds-contrast .eds-drawer {
142
+ background: #292b6a;
143
+ }
144
+
145
+ .eds-drawer__close-button {
146
+ margin: 0;
147
+ position: absolute;
148
+ top: 1.5rem;
149
+ right: 1.5rem;
150
+ }
151
+ .eds-drawer__close-button:focus {
152
+ outline-offset: 0.125rem;
153
+ outline: none;
154
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
155
+ }
156
+ .eds-contrast .eds-drawer__close-button:focus {
157
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
158
158
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/modal",
3
- "version": "1.6.22",
3
+ "version": "1.6.23",
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.57",
31
- "@entur/button": "^2.10.12",
32
- "@entur/icons": "^5.6.0",
33
- "@entur/layout": "^2.1.19",
34
- "@entur/tokens": "^3.6.0",
35
- "@entur/typography": "^1.7.8",
36
- "@entur/utils": "^0.5.3",
30
+ "@entur/a11y": "^0.2.58",
31
+ "@entur/button": "^2.10.13",
32
+ "@entur/icons": "^5.7.0",
33
+ "@entur/layout": "^2.1.20",
34
+ "@entur/tokens": "^3.7.0",
35
+ "@entur/typography": "^1.7.9",
36
+ "@entur/utils": "^0.5.4",
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": "be56a9cea51aa1cf026d38174750f2a52e67a463"
41
+ "gitHead": "0488198c40c8c610f981c97c8a755a9a435044dd"
42
42
  }