@entur/modal 1.6.26 → 1.6.28

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This package contains the different Modal components.
4
4
 
5
- > 💡 Looking for the [documentation](https://design.entur.org/komponenter/layout-and-surfaces/modals)?
5
+ > 💡 Looking for the [documentation](https://design.entur.no/komponenter/layout-and-surfaces/modals)?
6
6
 
7
7
  ## Installation
8
8
 
@@ -14,4 +14,4 @@ yarn add @entur/modal
14
14
 
15
15
  ## Usage
16
16
 
17
- Please refer to the [documentation](https://design.entur.org/komponenter/layout-and-surfaces/modals) for usage information.
17
+ Please refer to the [documentation](https://design.entur.no/komponenter/layout-and-surfaces/modals) for usage information.
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.26",
3
+ "version": "1.6.28",
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.59",
31
- "@entur/button": "^3.0.0",
32
- "@entur/icons": "^6.0.0",
33
- "@entur/layout": "^2.1.23",
34
- "@entur/tokens": "^3.8.0",
35
- "@entur/typography": "^1.7.11",
36
- "@entur/utils": "^0.5.5",
30
+ "@entur/a11y": "^0.2.61",
31
+ "@entur/button": "^3.0.2",
32
+ "@entur/icons": "^6.0.1",
33
+ "@entur/layout": "^2.1.25",
34
+ "@entur/tokens": "^3.8.1",
35
+ "@entur/typography": "^1.7.13",
36
+ "@entur/utils": "^0.6.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": "48cdba2e353c9311d52550a98c6b025deb7b8270"
41
+ "gitHead": "34cd9b50251daa4fed6ec367451c5403162145bc"
42
42
  }