@entur/modal 1.6.31 → 1.6.33

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 +44 -44
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -3,50 +3,6 @@
3
3
  }
4
4
  /* DO NOT CHANGE!*/
5
5
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
6
- @keyframes slideFromRight {
7
- from {
8
- box-shadow: none;
9
- transform: translateX(100%);
10
- }
11
- to {
12
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
13
- transform: 0;
14
- }
15
- }
16
- .eds-drawer {
17
- animation: slideFromRight forwards ease-out 0.1s;
18
- background: #ebebf1;
19
- bottom: 0;
20
- padding: 1.5rem;
21
- position: fixed;
22
- right: 0;
23
- top: 0;
24
- max-width: 100%;
25
- min-width: 20rem;
26
- width: 25vw;
27
- z-index: 40;
28
- overflow-y: auto;
29
- }
30
- .eds-contrast .eds-drawer {
31
- background: #292b6a;
32
- }
33
-
34
- .eds-drawer__close-button {
35
- margin: 0;
36
- position: absolute;
37
- top: 1.5rem;
38
- right: 1.5rem;
39
- }
40
- .eds-drawer__close-button:focus {
41
- outline-offset: 0.125rem;
42
- outline: none;
43
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
44
- }
45
- .eds-contrast .eds-drawer__close-button:focus {
46
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
47
- }
48
- /* DO NOT CHANGE!*/
49
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
50
6
  :root {
51
7
  --reach-dialog: 1;
52
8
  }
@@ -158,3 +114,47 @@
158
114
  opacity: 1;
159
115
  }
160
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.31",
3
+ "version": "1.6.33",
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.62",
31
- "@entur/button": "^3.0.3",
30
+ "@entur/a11y": "^0.2.64",
31
+ "@entur/button": "^3.0.5",
32
32
  "@entur/icons": "^6.2.0",
33
- "@entur/layout": "^2.1.28",
33
+ "@entur/layout": "^2.1.30",
34
34
  "@entur/tokens": "^3.8.1",
35
- "@entur/typography": "^1.7.14",
36
- "@entur/utils": "^0.7.0",
35
+ "@entur/typography": "^1.7.16",
36
+ "@entur/utils": "^0.9.0",
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": "402d010ee77f4ff809e3b709b0a29865c04cc1f4"
41
+ "gitHead": "cd5c398453c486f6f160905247b94c6da2622d7c"
42
42
  }