@entur/modal 1.6.13-beta.3 → 1.6.13

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