@entur/modal 1.6.12 → 1.6.13-beta.3

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 (3) hide show
  1. package/dist/styles.css +54 -54
  2. package/package.json +18 -13
  3. package/CHANGELOG.md +0 -444
package/dist/styles.css CHANGED
@@ -2,60 +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
- @-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. */
59
5
  :root {
60
6
  --reach-dialog: 1;
61
7
  }
@@ -191,4 +137,58 @@
191
137
  top: 0%;
192
138
  opacity: 1;
193
139
  }
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.12",
3
+ "version": "1.6.13-beta.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/modal.esm.js",
@@ -17,26 +17,31 @@
17
17
  "access": "public"
18
18
  },
19
19
  "scripts": {
20
- "start": "dts watch --noClean",
21
- "build": "dts build",
22
- "test": "dts test --env=jsdom",
23
- "lint": "dts lint"
20
+ "start": "yarn run dts watch --noClean",
21
+ "build": "yarn run dts build",
22
+ "test": "yarn run dts test --env=jsdom",
23
+ "lint": "yarn run dts lint"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.8.0",
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.1.1",
33
- "@entur/layout": "^2.1.11",
34
- "@entur/tokens": "^3.4.1",
35
- "@entur/typography": "^1.7.0",
36
- "@entur/utils": "^0.4.5",
30
+ "@entur/a11y": "^0.2.50-beta.3",
31
+ "@entur/button": "^2.10.5-beta.3",
32
+ "@entur/icons": "^5.1.2-beta.3",
33
+ "@entur/layout": "^2.1.12-beta.3",
34
+ "@entur/tokens": "^3.4.2-beta.2",
35
+ "@entur/typography": "^1.7.1-beta.3",
36
+ "@entur/utils": "^0.4.6-beta.2",
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": "77a4311927a9215106a9aae13c6e92e5f0f7f614"
41
+ "devDependencies": {
42
+ "dts-cli": "^1.1.6",
43
+ "jest-watch-typeahead": "^2.2.0",
44
+ "ts-jest": "^27.0.0"
45
+ },
46
+ "gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5"
42
47
  }
package/CHANGELOG.md DELETED
@@ -1,444 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [1.6.12](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.11...@entur/modal@1.6.12) (2022-10-20)
7
-
8
- **Note:** Version bump only for package @entur/modal
9
-
10
- ## [1.6.11](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.10...@entur/modal@1.6.11) (2022-10-20)
11
-
12
- **Note:** Version bump only for package @entur/modal
13
-
14
- ## [1.6.10](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.9...@entur/modal@1.6.10) (2022-10-12)
15
-
16
- **Note:** Version bump only for package @entur/modal
17
-
18
- ## [1.6.8](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.7...@entur/modal@1.6.8) (2022-08-31)
19
-
20
- **Note:** Version bump only for package @entur/modal
21
-
22
- ## [1.6.7](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.6...@entur/modal@1.6.7) (2022-08-24)
23
-
24
- **Note:** Version bump only for package @entur/modal
25
-
26
- ## [1.6.6](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.5...@entur/modal@1.6.6) (2022-08-09)
27
-
28
- **Note:** Version bump only for package @entur/modal
29
-
30
- ## [1.6.5](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.4...@entur/modal@1.6.5) (2022-07-05)
31
-
32
- **Note:** Version bump only for package @entur/modal
33
-
34
- ## [1.6.4](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.3...@entur/modal@1.6.4) (2022-06-28)
35
-
36
- **Note:** Version bump only for package @entur/modal
37
-
38
- ## [1.6.3](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.2...@entur/modal@1.6.3) (2022-06-24)
39
-
40
- **Note:** Version bump only for package @entur/modal
41
-
42
- ## [1.6.2](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.1...@entur/modal@1.6.2) (2022-06-02)
43
-
44
- **Note:** Version bump only for package @entur/modal
45
-
46
- ## [1.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.6.0...@entur/modal@1.6.1) (2022-05-13)
47
-
48
- **Note:** Version bump only for package @entur/modal
49
-
50
- # [1.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.13...@entur/modal@1.6.0) (2022-05-04)
51
-
52
- ### Features
53
-
54
- - **modal:** add custom scrollbar to modal to preserve rounded corners ([22f967f](https://bitbucket.org/enturas/design-system/commits/22f967faed103dda79491dd0ffa7fbad1039dd56))
55
-
56
- ## [1.5.13](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.12...@entur/modal@1.5.13) (2022-04-27)
57
-
58
- **Note:** Version bump only for package @entur/modal
59
-
60
- ## [1.5.12](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.11...@entur/modal@1.5.12) (2022-04-20)
61
-
62
- **Note:** Version bump only for package @entur/modal
63
-
64
- ## [1.5.11](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.10...@entur/modal@1.5.11) (2022-04-19)
65
-
66
- **Note:** Version bump only for package @entur/modal
67
-
68
- ## [1.5.10](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.9...@entur/modal@1.5.10) (2022-03-01)
69
-
70
- **Note:** Version bump only for package @entur/modal
71
-
72
- ## [1.5.9](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.8...@entur/modal@1.5.9) (2022-02-09)
73
-
74
- **Note:** Version bump only for package @entur/modal
75
-
76
- ## [1.5.8](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.7...@entur/modal@1.5.8) (2021-11-17)
77
-
78
- **Note:** Version bump only for package @entur/modal
79
-
80
- ## [1.5.7](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.6...@entur/modal@1.5.7) (2021-09-23)
81
-
82
- **Note:** Version bump only for package @entur/modal
83
-
84
- ## [1.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.5...@entur/modal@1.5.6) (2021-09-13)
85
-
86
- ### Bug Fixes
87
-
88
- - **modal:** increase border radius on modals ([8d321aa](https://bitbucket.org/enturas/design-system/commits/8d321aa3e0e83a410a285763182db22c7b1c96be))
89
-
90
- ## [1.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.4...@entur/modal@1.5.5) (2021-09-07)
91
-
92
- ### Bug Fixes
93
-
94
- - update dependencies ([c76a03c](https://bitbucket.org/enturas/design-system/commits/c76a03ca6e15951c40b032f618617380dc8f15d1))
95
- - utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
96
-
97
- ## [1.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.3...@entur/modal@1.5.4) (2021-08-13)
98
-
99
- **Note:** Version bump only for package @entur/modal
100
-
101
- ## [1.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.2...@entur/modal@1.5.3) (2021-07-16)
102
-
103
- **Note:** Version bump only for package @entur/modal
104
-
105
- ## [1.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.1...@entur/modal@1.5.2) (2021-06-25)
106
-
107
- ### Bug Fixes
108
-
109
- - update dependencies ([85395ed](https://bitbucket.org/enturas/design-system/commits/85395ed69004335bb173770dfaa634ad542de771))
110
-
111
- ## [1.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.5.0...@entur/modal@1.5.1) (2021-06-04)
112
-
113
- **Note:** Version bump only for package @entur/modal
114
-
115
- # [1.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.4.0...@entur/modal@1.5.0) (2021-05-19)
116
-
117
- ### Features
118
-
119
- - **modal:** add animation on modal entry ([f0f0701](https://bitbucket.org/enturas/design-system/commits/f0f07019a9324b8a697165e5d902fee9cfb21815))
120
-
121
- # [1.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.16...@entur/modal@1.4.0) (2021-05-05)
122
-
123
- ### Features
124
-
125
- - **modal:** add closeonclickoutside prop ([7fba612](https://bitbucket.org/enturas/design-system/commits/7fba612263e8c66f732c84447cf3bbf99766073c))
126
-
127
- ## [1.3.16](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.15...@entur/modal@1.3.16) (2021-04-23)
128
-
129
- ### Bug Fixes
130
-
131
- - utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
132
-
133
- ## [1.3.15](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.14...@entur/modal@1.3.15) (2021-04-09)
134
-
135
- **Note:** Version bump only for package @entur/modal
136
-
137
- ## [1.3.14](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.13...@entur/modal@1.3.14) (2021-03-02)
138
-
139
- **Note:** Version bump only for package @entur/modal
140
-
141
- ## [1.3.13](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.12...@entur/modal@1.3.13) (2021-02-17)
142
-
143
- ### Bug Fixes
144
-
145
- - **modal:** add border radius for modal windows ([8ed7468](https://bitbucket.org/enturas/design-system/commits/8ed7468ce9c2544f11ea7113415366236f12041e))
146
-
147
- ## [1.3.12](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.11...@entur/modal@1.3.12) (2021-01-29)
148
-
149
- **Note:** Version bump only for package @entur/modal
150
-
151
- ## [1.3.11](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.10...@entur/modal@1.3.11) (2021-01-20)
152
-
153
- **Note:** Version bump only for package @entur/modal
154
-
155
- ## [1.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.9...@entur/modal@1.3.10) (2021-01-13)
156
-
157
- ### Bug Fixes
158
-
159
- - update dependency ([40fd77e](https://bitbucket.org/enturas/design-system/commits/40fd77ebca7fa8a3d0e82409561e3e3cd63c441d))
160
-
161
- ## [1.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.8...@entur/modal@1.3.9) (2021-01-05)
162
-
163
- **Note:** Version bump only for package @entur/modal
164
-
165
- ## [1.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.7...@entur/modal@1.3.8) (2020-12-04)
166
-
167
- ### Bug Fixes
168
-
169
- - **modal:** fix typings of heading ([720abb7](https://bitbucket.org/enturas/design-system/commits/720abb75c6aec3655fa81abf01abe4d4d40e6b61))
170
-
171
- ## [1.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.6...@entur/modal@1.3.7) (2020-11-10)
172
-
173
- **Note:** Version bump only for package @entur/modal
174
-
175
- ## [1.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.5...@entur/modal@1.3.6) (2020-11-05)
176
-
177
- **Note:** Version bump only for package @entur/modal
178
-
179
- ## [1.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.4...@entur/modal@1.3.5) (2020-10-28)
180
-
181
- **Note:** Version bump only for package @entur/modal
182
-
183
- ## [1.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.3...@entur/modal@1.3.4) (2020-10-23)
184
-
185
- **Note:** Version bump only for package @entur/modal
186
-
187
- ## [1.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.2...@entur/modal@1.3.3) (2020-10-16)
188
-
189
- **Note:** Version bump only for package @entur/modal
190
-
191
- ## [1.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.1...@entur/modal@1.3.2) (2020-10-09)
192
-
193
- **Note:** Version bump only for package @entur/modal
194
-
195
- ## [1.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.3.0...@entur/modal@1.3.1) (2020-09-25)
196
-
197
- **Note:** Version bump only for package @entur/modal
198
-
199
- # [1.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.2.0...@entur/modal@1.3.0) (2020-09-14)
200
-
201
- ### Bug Fixes
202
-
203
- - **drawer:** improve automatic focus within in drawer ([f4efa2f](https://bitbucket.org/enturas/design-system/commits/f4efa2f2ad3d09cf7806d26e0d0526041ac463f7))
204
-
205
- ### Features
206
-
207
- - **drawer:** add overlay prop, for optional overlay ([8577478](https://bitbucket.org/enturas/design-system/commits/85774782d653138073af2ad73c0924347d80e1aa))
208
-
209
- # [1.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.29...@entur/modal@1.2.0) (2020-09-10)
210
-
211
- ### Bug Fixes
212
-
213
- - **drawer:** add overflow-y:auto for drawer ([687cea7](https://bitbucket.org/enturas/design-system/commits/687cea7ac5f3451951930a5a882ffbb3ad3a8615))
214
-
215
- ### Features
216
-
217
- - **drawer:** add style prop support ([77fbf0d](https://bitbucket.org/enturas/design-system/commits/77fbf0d74450930ca9359b51ca1c09dbe1070fc0))
218
-
219
- ## [1.1.29](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.28...@entur/modal@1.1.29) (2020-09-02)
220
-
221
- ### Bug Fixes
222
-
223
- - **modal:** adjust modal backdrop color ([ba08fdc](https://bitbucket.org/enturas/design-system/commits/ba08fdca717b88a588023e0467d14a8220ef9d5b))
224
-
225
- ## [1.1.28](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.27...@entur/modal@1.1.28) (2020-08-26)
226
-
227
- **Note:** Version bump only for package @entur/modal
228
-
229
- ## [1.1.27](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.26...@entur/modal@1.1.27) (2020-08-19)
230
-
231
- **Note:** Version bump only for package @entur/modal
232
-
233
- ## [1.1.26](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.25...@entur/modal@1.1.26) (2020-08-11)
234
-
235
- **Note:** Version bump only for package @entur/modal
236
-
237
- ## [1.1.25](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.24...@entur/modal@1.1.25) (2020-07-24)
238
-
239
- **Note:** Version bump only for package @entur/modal
240
-
241
- ## [1.1.24](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.23...@entur/modal@1.1.24) (2020-07-22)
242
-
243
- **Note:** Version bump only for package @entur/modal
244
-
245
- ## [1.1.23](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.22...@entur/modal@1.1.23) (2020-07-16)
246
-
247
- ### Bug Fixes
248
-
249
- - update modal dependency ([bab3f74](https://bitbucket.org/enturas/design-system/commits/bab3f74d5b379a801eaa057bad2880006e1d32eb))
250
-
251
- ## [1.1.22](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.21...@entur/modal@1.1.22) (2020-07-13)
252
-
253
- **Note:** Version bump only for package @entur/modal
254
-
255
- ## [1.1.21](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.20...@entur/modal@1.1.21) (2020-07-09)
256
-
257
- **Note:** Version bump only for package @entur/modal
258
-
259
- ## [1.1.20](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.19...@entur/modal@1.1.20) (2020-07-03)
260
-
261
- **Note:** Version bump only for package @entur/modal
262
-
263
- ## [1.1.19](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.18...@entur/modal@1.1.19) (2020-06-17)
264
-
265
- ### Bug Fixes
266
-
267
- - use iconbutton in modal window ([0ec8929](https://bitbucket.org/enturas/design-system/commits/0ec8929a339d76fcbb6c1af6d6b39796b0554d11))
268
-
269
- ## [1.1.18](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.17...@entur/modal@1.1.18) (2020-05-27)
270
-
271
- **Note:** Version bump only for package @entur/modal
272
-
273
- ## [1.1.17](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.16...@entur/modal@1.1.17) (2020-05-26)
274
-
275
- ### Bug Fixes
276
-
277
- - fix extraSmall prop for modal ([1aeba26](https://bitbucket.org/enturas/design-system/commits/1aeba2662d6fcd179b6f959676b6370e6cd4ef63))
278
- - fix size=extraLarge not rendering properly for modal ([1ce2056](https://bitbucket.org/enturas/design-system/commits/1ce2056438dcb9c80f3357ddf1289a7523e5b51c))
279
- - use iconbutton directly in drawer ([adcab79](https://bitbucket.org/enturas/design-system/commits/adcab79fd967741467ed5956a4463fbf199c2ed8))
280
-
281
- ## [1.1.16](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.15...@entur/modal@1.1.16) (2020-05-20)
282
-
283
- **Note:** Version bump only for package @entur/modal
284
-
285
- ## [1.1.15](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.14...@entur/modal@1.1.15) (2020-04-27)
286
-
287
- **Note:** Version bump only for package @entur/modal
288
-
289
- ## [1.1.14](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.13...@entur/modal@1.1.14) (2020-04-23)
290
-
291
- ### Bug Fixes
292
-
293
- - updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
294
-
295
- ## [1.1.13](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.12...@entur/modal@1.1.13) (2020-04-08)
296
-
297
- **Note:** Version bump only for package @entur/modal
298
-
299
- ## [1.1.12](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.10...@entur/modal@1.1.12) (2020-03-25)
300
-
301
- **Note:** Version bump only for package @entur/modal
302
-
303
- ## [1.1.11](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.10...@entur/modal@1.1.11) (2020-03-25)
304
-
305
- **Note:** Version bump only for package @entur/modal
306
-
307
- ## [1.1.10](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.9...@entur/modal@1.1.10) (2020-03-20)
308
-
309
- **Note:** Version bump only for package @entur/modal
310
-
311
- ## [1.1.9](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.8...@entur/modal@1.1.9) (2020-03-18)
312
-
313
- **Note:** Version bump only for package @entur/modal
314
-
315
- ## [1.1.8](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.7...@entur/modal@1.1.8) (2020-03-05)
316
-
317
- **Note:** Version bump only for package @entur/modal
318
-
319
- ## [1.1.7](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.6...@entur/modal@1.1.7) (2020-02-26)
320
-
321
- **Note:** Version bump only for package @entur/modal
322
-
323
- ## [1.1.6](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.5...@entur/modal@1.1.6) (2020-02-20)
324
-
325
- **Note:** Version bump only for package @entur/modal
326
-
327
- ## [1.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.4...@entur/modal@1.1.5) (2020-02-14)
328
-
329
- **Note:** Version bump only for package @entur/modal
330
-
331
- ## [1.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.3...@entur/modal@1.1.4) (2020-02-12)
332
-
333
- ### Bug Fixes
334
-
335
- - fix missing type for spreading of props ([0e5beba](https://bitbucket.org/enturas/design-system/commits/0e5beba82ea7dde39915cd626e665aa6c15dafbf))
336
-
337
- ## [1.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.2...@entur/modal@1.1.3) (2020-02-10)
338
-
339
- **Note:** Version bump only for package @entur/modal
340
-
341
- ## [1.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.1...@entur/modal@1.1.2) (2020-02-05)
342
-
343
- **Note:** Version bump only for package @entur/modal
344
-
345
- ## [1.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.1.0...@entur/modal@1.1.1) (2020-02-05)
346
-
347
- ### Bug Fixes
348
-
349
- - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
350
-
351
- # [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.7...@entur/modal@1.1.0) (2020-01-28)
352
-
353
- ### Features
354
-
355
- - **Drawer:** add new component - Drawer ([e869df0](https://bitbucket.org/enturas/design-system/commits/e869df0946bdc81c177df4b25f3cfe5dee0a7eb5))
356
-
357
- ## [1.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.6...@entur/modal@1.0.7) (2020-01-27)
358
-
359
- ### Bug Fixes
360
-
361
- - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
362
-
363
- ## [1.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.5...@entur/modal@1.0.6) (2020-01-20)
364
-
365
- **Note:** Version bump only for package @entur/modal
366
-
367
- ## [1.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.4...@entur/modal@1.0.5) (2020-01-14)
368
-
369
- **Note:** Version bump only for package @entur/modal
370
-
371
- ## [1.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.3...@entur/modal@1.0.4) (2020-01-13)
372
-
373
- ### Bug Fixes
374
-
375
- - fix focus styling for close button in modal window ([8d4b02f](https://bitbucket.org/enturas/design-system/commits/8d4b02f77500200c9a5281c9bb07a629fc3134b1))
376
-
377
- ## [1.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.2...@entur/modal@1.0.3) (2020-01-10)
378
-
379
- ### Bug Fixes
380
-
381
- - **modal:** added a max height to the modal as well as overflow handling. ([32e78d9](https://bitbucket.org/enturas/design-system/commits/32e78d91b51599591c3cafc35f4adeffce966617))
382
-
383
- ## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.1...@entur/modal@1.0.2) (2020-01-08)
384
-
385
- ### Bug Fixes
386
-
387
- - warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
388
-
389
- ## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/modal@1.0.0...@entur/modal@1.0.1) (2020-01-06)
390
-
391
- **Note:** Version bump only for package @entur/modal
392
-
393
- # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@0.3.1...@entur/modal@1.0.0) (2019-11-29)
394
-
395
- ### Bug Fixes
396
-
397
- - **Modal, ModalOverlay:** rename isOpen to open ([c910829](https://bitbucket.org/enturas/design-system/commits/c910829527f3352e73c30ee4a2ae2c79c0d35070))
398
- - **ModalContent:** add aria-labelledby to use the title as label ([400117c](https://bitbucket.org/enturas/design-system/commits/400117c93b03c693d088d579afa68c4702871330))
399
-
400
- ### Features
401
-
402
- - **Heading1-6:** add margin prop to all headings ([a167485](https://bitbucket.org/enturas/design-system/commits/a1674852143e8a99bff7c2dbebf20ff09aeea977))
403
- - **Modal, ModalContent:** add support for title and sizes ([5190a2f](https://bitbucket.org/enturas/design-system/commits/5190a2f29ba410870f8d21621066e3647ccf5e3a))
404
-
405
- ### BREAKING CHANGES
406
-
407
- - **Modal, ModalOverlay:** Rename isOpen to open for the Modal and ModalOverlay components
408
- - **Modal, ModalContent:** The title prop is now required. Remove any top level heading, and use the title prop instead. The
409
- size prop is now required, too.
410
-
411
- ## [0.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/modal@0.3.0...@entur/modal@0.3.1) (2019-11-27)
412
-
413
- ### Bug Fixes
414
-
415
- - **types:** simplify the types to avoid extraneous props ([571ac56](https://bitbucket.org/enturas/design-system/commits/571ac568abb5a6b2c353d5711418d1058b51a91b))
416
-
417
- # [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/modal@0.2.1...@entur/modal@0.3.0) (2019-11-22)
418
-
419
- ### Bug Fixes
420
-
421
- - fixing potential duplication of props naming ([6efd896](https://bitbucket.org/enturas/design-system/commits/6efd896d381bca09bc047dbdaec6d2629a9571db))
422
-
423
- ### Features
424
-
425
- - **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
426
-
427
- ## [0.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/modal@0.2.0...@entur/modal@0.2.1) (2019-11-14)
428
-
429
- ### Bug Fixes
430
-
431
- - **css classnames:** fixing naming collisions with CSS classes ([a93ca43](https://bitbucket.org/enturas/design-system/commits/a93ca435d3a01d61d8f02694a672686b9e943a66))
432
-
433
- # 0.2.0 (2019-10-30)
434
-
435
- ### Bug Fixes
436
-
437
- - **modal:** add missing dependencies ([c1065c0](https://bitbucket.org/enturas/design-system/commits/c1065c00e746a99148e2ec0578f50e79c135ac8a))
438
- - update all packages to use new tokens ([4847835](https://bitbucket.org/enturas/design-system/commits/48478359b0e562ba828e06d9b5c57239316805c2))
439
- - **modal:** center modals on screen ([3525d8c](https://bitbucket.org/enturas/design-system/commits/3525d8c572431878582edc7e8bbbbfb2b1276ed3))
440
- - **style:** set a minimum width for all modals ([a4f208f](https://bitbucket.org/enturas/design-system/commits/a4f208f7a98a8cb671dc8532b360e73d3ce864d1))
441
-
442
- ### Features
443
-
444
- - **modal:** add new package @entur/modal ([642e78c](https://bitbucket.org/enturas/design-system/commits/642e78cac1f4db4e63ac3c202405c9876b68ff4a))