UNPKG

54.8 kBMarkdownView Raw
1# Change Log
2
3All notable changes to this project will be documented in this file.
4See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
6## [1.3.11](https://github.com/reakit/reakit/compare/reakit@1.3.10...reakit@1.3.11) (2021-11-18)
7
8
9### Bug Fixes
10
11* Add default empty value for items prop ([#934](https://github.com/reakit/reakit/issues/934)) ([c676738](https://github.com/reakit/reakit/commit/c67673806e4306f8a71fdef269ff1680f9ead3ea))
12
13
14
15
16
17## [1.3.10](https://github.com/reakit/reakit/compare/reakit@1.3.9...reakit@1.3.10) (2021-09-21)
18
19
20### Bug Fixes
21
22* Add missing `useRadioGroup` export ([#912](https://github.com/reakit/reakit/issues/912)) ([7836667](https://github.com/reakit/reakit/commit/78366677d4e8da0a807b3a5194209dcf085c637e))
23
24
25
26
27
28## [1.3.9](https://github.com/reakit/reakit/compare/reakit@1.3.8...reakit@1.3.9) (2021-09-06)
29
30
31### Bug Fixes
32
33* Fix error in TypeScript 4.4.2 ([#904](https://github.com/reakit/reakit/issues/904)) ([710c2e8](https://github.com/reakit/reakit/commit/710c2e8dce370a4e5c8401f417ca4ba64341f549)), closes [#900](https://github.com/reakit/reakit/issues/900)
34
35
36
37
38
39## [1.3.8](https://github.com/reakit/reakit/compare/reakit@1.3.7...reakit@1.3.8) (2021-04-23)
40
41
42### Bug Fixes
43
44* Fix `CompositeItem` not emitting blur events when `unstable_virtual` is `true` ([#858](https://github.com/reakit/reakit/issues/858)) ([56a86f5](https://github.com/reakit/reakit/commit/56a86f571dbaef83511e4f25d6ebbc2642abf8d7))
45* Fix button focus on mouse down on Safari and React 17 ([#857](https://github.com/reakit/reakit/issues/857)) ([cd0c4df](https://github.com/reakit/reakit/commit/cd0c4dfb95a25639ba076c9a6f6617781fc1930d))
46
47
48
49
50
51## [1.3.7](https://github.com/reakit/reakit/compare/reakit@1.3.6...reakit@1.3.7) (2021-04-01)
52
53
54### Bug Fixes
55
56* Fix Popover initial position ([#853](https://github.com/reakit/reakit/issues/853)) ([8df5ed4](https://github.com/reakit/reakit/commit/8df5ed43f5e4b2bbea7ca42ef9a5b2a4c78d6859)), closes [#852](https://github.com/reakit/reakit/issues/852)
57
58
59
60
61
62## [1.3.6](https://github.com/reakit/reakit/compare/reakit@1.3.5...reakit@1.3.6) (2021-03-01)
63
64
65### Bug Fixes
66
67* Fix layout shift when first render popper ([#848](https://github.com/reakit/reakit/issues/848)) ([37b0079](https://github.com/reakit/reakit/commit/37b0079c6c87b443b69d97646d93f16a031bd533)), closes [#819](https://github.com/reakit/reakit/issues/819)
68
69
70
71
72
73## [1.3.5](https://github.com/reakit/reakit/compare/reakit@1.3.4...reakit@1.3.5) (2021-01-21)
74
75
76### Bug Fixes
77
78* Fix automatic sort of `Composite` items in fixed containers ([#828](https://github.com/reakit/reakit/issues/828)) ([c2071e5](https://github.com/reakit/reakit/commit/c2071e5c8a2eb3645a935788b1b03931927a750c)), closes [#827](https://github.com/reakit/reakit/issues/827)
79
80
81
82
83
84## [1.3.4](https://github.com/reakit/reakit/compare/reakit@1.3.3...reakit@1.3.4) (2021-01-06)
85
86
87### Bug Fixes
88
89* Revert `CompositeItem` tabIndex fix ([#821](https://github.com/reakit/reakit/issues/821)) ([1390d31](https://github.com/reakit/reakit/commit/1390d31a3d0b1f5e1b0555001e6d6d096b57ec0e))
90
91
92
93
94
95## [1.3.3](https://github.com/reakit/reakit/compare/reakit@1.3.2...reakit@1.3.3) (2021-01-03)
96
97
98### Bug Fixes
99
100* Fix `CompositeItem` with `tabindex=0` on the first render ([#817](https://github.com/reakit/reakit/issues/817)) ([3d81514](https://github.com/reakit/reakit/commit/3d815148d74e333ec975ff871a92f39aaa307fa8))
101
102
103
104
105
106## [1.3.2](https://github.com/reakit/reakit/compare/reakit@1.3.1...reakit@1.3.2) (2020-12-11)
107
108
109### Bug Fixes
110
111* Accept other option props together with the `state` prop ([#799](https://github.com/reakit/reakit/issues/799)) ([a21bb2b](https://github.com/reakit/reakit/commit/a21bb2b22780121125bbf3dfc6160ac29e1a0741)), closes [#798](https://github.com/reakit/reakit/issues/798)
112* Add React 17 to peer dependencies ([#807](https://github.com/reakit/reakit/issues/807)) ([411b5aa](https://github.com/reakit/reakit/commit/411b5aa8adf63f3149b40db6a499e65b58929b29)), closes [#776](https://github.com/reakit/reakit/issues/776)
113* Fix `Menu` scroll jump ([#801](https://github.com/reakit/reakit/issues/801)) ([96f5dd5](https://github.com/reakit/reakit/commit/96f5dd52704444862d16167db3c82fb89838e3ae)), closes [#751](https://github.com/reakit/reakit/issues/751)
114* Fix badly positioned popover on click + minValueLength ([#809](https://github.com/reakit/reakit/issues/809)) ([2c847da](https://github.com/reakit/reakit/commit/2c847da75edebae2f511fb5f50c516dfcfa71981)), closes [#808](https://github.com/reakit/reakit/issues/808)
115
116
117
118
119
120## [1.3.1](https://github.com/reakit/reakit/compare/reakit@1.3.0...reakit@1.3.1) (2020-11-26)
121
122
123### Bug Fixes
124
125* Add missing quote in querySelector in `Dialog` ([#793](https://github.com/reakit/reakit/issues/793)) ([d9a49ef](https://github.com/reakit/reakit/commit/d9a49efa432b4dc8df51dc62f0d1b5023236dff4))
126* Native radio input firing onChange callback twice on click ([#791](https://github.com/reakit/reakit/issues/791)) ([6a436bb](https://github.com/reakit/reakit/commit/6a436bb5adccd53e37604195980bd67e7119972e)), closes [#790](https://github.com/reakit/reakit/issues/790)
127
128
129
130
131
132# [1.3.0](https://github.com/reakit/reakit/compare/reakit@1.2.6...reakit@1.3.0) (2020-11-12)
133
134
135### Features
136
137* Add `Role` component ([#728](https://github.com/reakit/reakit/issues/728)) ([5fa51a7](https://github.com/reakit/reakit/commit/5fa51a7891085aeeb6a0e3ea44ef3d294fccc8ba))
138* Add `shift` option to `useCompositeState` ([#727](https://github.com/reakit/reakit/issues/727)) ([7861395](https://github.com/reakit/reakit/commit/7861395ac8c1eaf979b5e4835ae99c001c39f312))
139* Add experimental `Combobox` component ([#688](https://github.com/reakit/reakit/issues/688)) ([ad7063b](https://github.com/reakit/reakit/commit/ad7063b0096c19e3295a74213a4ec821683f12ff))
140* Add experimental `includesBaseElement` option to `useCompositeState` ([#726](https://github.com/reakit/reakit/issues/726)) ([cf3ba56](https://github.com/reakit/reakit/commit/cf3ba5687ea339de0f8917d2b1e83797403cdddc))
141* Show warning if disclosure stopAnimation is not called in time ([#701](https://github.com/reakit/reakit/issues/701)) ([0dd2683](https://github.com/reakit/reakit/commit/0dd2683c99f68ae0f3b32b25b9c989dc4b012ba6)), closes [#698](https://github.com/reakit/reakit/issues/698)
142* Trigger `onChange` when setting `CompositeItemWidget` value ([0b5b3cb](https://github.com/reakit/reakit/commit/0b5b3cb64ba5cc6cba000d0cdc972ab81fe4247e))
143
144
145
146
147
148## [1.2.6](https://github.com/reakit/reakit/compare/reakit@1.2.5...reakit@1.2.6) (2020-11-12)
149
150
151### Bug Fixes
152
153* Fix Composite `unstable_virtual` option on mobile devices ([#783](https://github.com/reakit/reakit/issues/783)) ([ecdc4ef](https://github.com/reakit/reakit/commit/ecdc4ef8ddd72ef136d8c72d969a3fe73505fd74))
154* Stop warning when using invalid composite roles on `Composite` ([#784](https://github.com/reakit/reakit/issues/784)) ([9bcbfe6](https://github.com/reakit/reakit/commit/9bcbfe6740c6e5e3e7ff6d51bb081a7ecc7af08d))
155
156
157
158
159
160## [1.2.5](https://github.com/reakit/reakit/compare/reakit@1.2.4...reakit@1.2.5) (2020-09-22)
161
162
163### Bug Fixes
164
165* Fix `Composite` infinite loop on Firefox ([#748](https://github.com/reakit/reakit/issues/748)) ([4a1c644](https://github.com/reakit/reakit/commit/4a1c644a758264f4da77a3f4e2bc28aed6a16a48)), closes [#747](https://github.com/reakit/reakit/issues/747)
166* Fix `disabled` prop being passed to elements that don't support it ([#725](https://github.com/reakit/reakit/issues/725)) ([d982a61](https://github.com/reakit/reakit/commit/d982a61074bf3ed899ebe4a6e4744cec32191b57)), closes [#722](https://github.com/reakit/reakit/issues/722)
167* Fix disabled events when using the `as` prop ([#736](https://github.com/reakit/reakit/issues/736)) ([c594166](https://github.com/reakit/reakit/commit/c5941668d0ebc69f04171f2f6cfb44ecf8917495))
168
169
170
171
172
173## [1.2.4](https://github.com/reakit/reakit/compare/reakit@1.2.3...reakit@1.2.4) (2020-09-03)
174
175
176### Bug Fixes
177
178* Fix internal dependency versions ([3d4cb42](https://github.com/reakit/reakit/commit/3d4cb4217a52ec719e8a2823d21e08c7cc42dd30))
179
180
181
182
183
184## [1.2.3](https://github.com/reakit/reakit/compare/reakit@1.2.2...reakit@1.2.3) (2020-08-24)
185
186
187### Bug Fixes
188
189* Fix SSR check ([#717](https://github.com/reakit/reakit/issues/717)) ([1f09fc9](https://github.com/reakit/reakit/commit/1f09fc9879ecd9516d514c7a848b7a62a1b93358))
190
191
192
193
194
195## [1.2.2](https://github.com/reakit/reakit/compare/reakit@1.2.1...reakit@1.2.2) (2020-08-17)
196
197
198### Bug Fixes
199
200* Assert `focus` method exists on the dialog disclosure element ([#710](https://github.com/reakit/reakit/issues/710)) ([85dd073](https://github.com/reakit/reakit/commit/85dd073a4f3e5832340c4a05d9af6bb4798c69a1))
201* Fix blur event on `Composite` for React 17 ([#711](https://github.com/reakit/reakit/issues/711)) ([0ad76e6](https://github.com/reakit/reakit/commit/0ad76e61560da5f25e99a01d9842bf53e18d7993))
202* Fix disclosure detection when `unstable_virtual` is `true` on React 17 ([#715](https://github.com/reakit/reakit/issues/715)) ([81ec3a3](https://github.com/reakit/reakit/commit/81ec3a31c2e5fec4a8817acd3e10361247d95377))
203* Fix intermediate `focus`/`blur` event order in `Composite` ([#713](https://github.com/reakit/reakit/issues/713)) ([891976b](https://github.com/reakit/reakit/commit/891976b047aebe93e802a16b7aaf25708cc5c65a))
204
205
206
207
208
209## [1.2.1](https://github.com/reakit/reakit/compare/reakit@1.2.0...reakit@1.2.1) (2020-08-13)
210
211
212### Bug Fixes
213
214* Fix tabbing between multiple `RadioGroup`s ([#703](https://github.com/reakit/reakit/issues/703)) ([212adbd](https://github.com/reakit/reakit/commit/212adbd292702948ab71a44a22d9862117468668)), closes [#702](https://github.com/reakit/reakit/issues/702)
215
216
217
218
219
220# [1.2.0](https://github.com/reakit/reakit/compare/reakit@1.1.2...reakit@1.2.0) (2020-08-06)
221
222
223### Features
224
225* Add experimental `Grid` component ([#685](https://github.com/reakit/reakit/issues/685)) ([51e17fb](https://github.com/reakit/reakit/commit/51e17fbaab188a501dc267863f363e880cbba717))
226* Add stable `composite.sort` method ([#690](https://github.com/reakit/reakit/issues/690)) ([1f66168](https://github.com/reakit/reakit/commit/1f6616883800eb2e367cbcee12dce7399d25e159))
227* Add stable `id.setBaseId` method ([#691](https://github.com/reakit/reakit/issues/691)) ([5c52c71](https://github.com/reakit/reakit/commit/5c52c712395c63f73284558dd84a230c6e2026c7))
228* Automatically sort composite items based on DOM position ([#696](https://github.com/reakit/reakit/issues/696)) ([bdaab5d](https://github.com/reakit/reakit/commit/bdaab5df2f6fd3445320a6f98975301ab7a84971))
229* Focus `Menu` instead of `MenuItem` on mouse click on `MenuButton` ([#694](https://github.com/reakit/reakit/issues/694)) ([d57b97f](https://github.com/reakit/reakit/commit/d57b97f2f64c883a95c73acf7ad0275dfdbd642a))
230
231
232
233
234
235## [1.1.2](https://github.com/reakit/reakit/compare/reakit@1.1.1...reakit@1.1.2) (2020-07-18)
236
237
238### Bug Fixes
239
240* Fix `composite.unstable_sort` on Firefox ([f973f77](https://github.com/reakit/reakit/commit/f973f77ea58811ee009f2de649b6426aa98617c9))
241* Fix `Dialog` focus loss ([#682](https://github.com/reakit/reakit/issues/682)) ([8ae0da7](https://github.com/reakit/reakit/commit/8ae0da741ca45fed6bc1a7c25a3fc9aa60340b44)), closes [#677](https://github.com/reakit/reakit/issues/677)
242* Fix `MenuButton` not receiving focus after `Menu` closes ([#692](https://github.com/reakit/reakit/issues/692)) ([e649f20](https://github.com/reakit/reakit/commit/e649f203334468ceb23ef33be49b24098b4a0eab))
243
244
245
246
247
248## [1.1.1](https://github.com/reakit/reakit/compare/reakit@1.1.0...reakit@1.1.1) (2020-06-21)
249
250
251### Bug Fixes
252
253* Restore missing `Composite` references ([9d9eff2](https://github.com/reakit/reakit/commit/9d9eff216328038b34af50cea03f45f8297e0756)), closes [#667 (comment)](https://github.com/reakit/reakit/pull/667#issuecomment-647108385)
254
255
256
257
258
259# [1.1.0](https://github.com/reakit/reakit/compare/reakit@1.0.5...reakit@1.1.0) (2020-06-17)
260
261
262### Features
263
264* Add `Input` component ([#671](https://github.com/reakit/reakit/issues/671)) ([79d3926](https://github.com/reakit/reakit/commit/79d3926f91a33f9a7f2ab0840aa3933a0a7724b9)), closes [#665](https://github.com/reakit/reakit/issues/665)
265* Add experimental `unstable_sort` method to `useCompositeState` ([57e409e](https://github.com/reakit/reakit/commit/57e409e1d656eec3c3959bfbb76e32841fe300ad))
266* Mark `Composite` as stable ([#667](https://github.com/reakit/reakit/issues/667)) ([5e01f4c](https://github.com/reakit/reakit/commit/5e01f4c1cdd23a55cb2d8d870b268310d0f42681))
267
268
269
270
271
272## [1.0.5](https://github.com/reakit/reakit/compare/reakit@1.0.4...reakit@1.0.5) (2020-06-17)
273
274
275### Bug Fixes
276
277* Fix `Composite` state update on unmounted components ([#672](https://github.com/reakit/reakit/issues/672)) ([1b1c9aa](https://github.com/reakit/reakit/commit/1b1c9aac60cc5b1c4dc440af6c4c5936fc57e333)), closes [#650](https://github.com/reakit/reakit/issues/650)
278
279
280
281
282
283## [1.0.4](https://github.com/reakit/reakit/compare/reakit@1.0.3...reakit@1.0.4) (2020-06-06)
284
285
286### Bug Fixes
287
288* Fix `Tabbable` preventing drag events on mouse down on Safari ([#670](https://github.com/reakit/reakit/issues/670)) ([6830c5a](https://github.com/reakit/reakit/commit/6830c5a649c55c6e1a418490fff4a9b70a92b9d8))
289
290
291
292
293
294## [1.0.3](https://github.com/reakit/reakit/compare/reakit@1.0.2...reakit@1.0.3) (2020-06-04)
295
296
297### Bug Fixes
298
299* Fix blur/focus events order on `Tabbable` on Safari and Firefox on MacOS ([#658](https://github.com/reakit/reakit/issues/658)) ([aad12ce](https://github.com/reakit/reakit/commit/aad12ced87dd3a94e4679a8e510a2e8d9fd3c1f8))
300
301
302### Performance Improvements
303
304* Improve `Composite` performance ([#660](https://github.com/reakit/reakit/issues/660)) ([f6656b6](https://github.com/reakit/reakit/commit/f6656b6b765bbec639754aa96a2f08b717413068))
305
306
307
308
309
310## [1.0.2](https://github.com/reakit/reakit/compare/reakit@1.0.1...reakit@1.0.2) (2020-05-14)
311
312
313### Bug Fixes
314
315* Fix `DialogDisclosure` focus on click on iOS Safari ([8f54b0c](https://github.com/reakit/reakit/commit/8f54b0c57c3c5dc978207c45ae92111b7738b0e4))
316
317
318
319
320
321## [1.0.1](https://github.com/reakit/reakit/compare/reakit@1.0.0...reakit@1.0.1) (2020-05-13)
322
323
324### Bug Fixes
325
326* Fix `Tabbable` not receiving focus on VoiceOver click ([#644](https://github.com/reakit/reakit/issues/644)) ([ea4b204](https://github.com/reakit/reakit/commit/ea4b204b191eb40f4a87e4307ff01f573ea876ea))
327* Fix enter animation on `DisclosureContent` and derivative components ([#645](https://github.com/reakit/reakit/issues/645)) ([11f9687](https://github.com/reakit/reakit/commit/11f9687ef46bf176ed36c46cd67eab30ad76e3b3)), closes [#643](https://github.com/reakit/reakit/issues/643)
328
329
330
331
332
333# [1.0.0](https://github.com/reakit/reakit/compare/reakit@1.0.0-rc.2...reakit@1.0.0) (2020-05-12)
334
335
336### Bug Fixes
337
338* Fix `Composite` focus when inside conditionally rendered `Dialog` ([1331ead](https://github.com/reakit/reakit/commit/1331ead093358514fb97d0673887e46a2c74c9bc))
339* Fix `Tabbable` elements preventing behaviors on mouse down ([#641](https://github.com/reakit/reakit/issues/641)) ([239eb56](https://github.com/reakit/reakit/commit/239eb5622a1a02cd6f69c857bb725c8250dad155)), closes [#432](https://github.com/reakit/reakit/issues/432)
340* Fix error on `TabPanel` when used without `Tab`s ([5bd8bb1](https://github.com/reakit/reakit/commit/5bd8bb110bb5e08a82547ccddef802c50c7d7504))
341
342
343### Features
344
345* Add `setVisible` method to `useDisclosureState` ([7896f2f](https://github.com/reakit/reakit/commit/7896f2ffc3e0853c24dd9203a20b208f9402e1f4))
346* Remove `undefined` props from props hooks and render props ([d95c9e5](https://github.com/reakit/reakit/commit/d95c9e5311debc59c3e5d137936cc78e95fb8215))
347* Remove deprecated `Hidden` module ([7a1cb99](https://github.com/reakit/reakit/commit/7a1cb99b96d11900c16aade43fa154eb3b54d635))
348* Remove deprecated `modal` prop from `Dialog` ([5d787b1](https://github.com/reakit/reakit/commit/5d787b16cecec104d641ed21955bbd4399ca807a))
349* Remove deprecated `stopId` prop ([2ffe843](https://github.com/reakit/reakit/commit/2ffe84373b441b9b9b04f247aad16ad1a28e775e))
350* Support nested `CompositeItem`s ([#642](https://github.com/reakit/reakit/issues/642)) ([64cf18b](https://github.com/reakit/reakit/commit/64cf18bdc4a7f959daa6ca1aaaedb1e0040ffc41))
351
352
353### BREAKING CHANGES
354
355* The **deprecated** `stopId` prop has been removed from all the `CompositeItem` derivative components, such as `Tab`, `Radio`, `ToolbarItem` and `MenuItem`.
356
357 On `Tab`, the `stopId` prop has been replaced by `id`, and it's no longer required, just like on the other `CompositeItem` components:
358
359 ```diff
360 - <Tab stopId="id" />
361 + <Tab id="id" />
362 // or
363 + <Tab />
364 ```
365
366 On `TabPanel`, the `stopId` prop has been replaced by `tabId`, and it's no longer required (the relationship between `Tab` and `TabPanel` is now automatically inferred by their order in the DOM, [learn more](https://reakit.io/docs/tab/)):
367
368 ```diff
369 - <TabPanel stopId="tab-id" />
370 + <TabPanel tabId="tab-id" />
371 // or
372 + <TabPanel />
373 ```
374
375 On all the other `CompositeItem` derivative components (`Radio`, `ToolbarItem` and `MenuItem`), the optional `stopId` prop has been replaced by the — also optional — `id` prop:
376
377 ```diff
378 - <Radio stopId="id" />
379 + <Radio id="id" />
380 - <ToolbarItem stopId="id" />
381 + <ToolbarItem id="id" />
382 - <MenuItem stopId="id" />
383 + <MenuItem id="id" />
384 ```
385* The **deprecated** `Hidden` module has been removed. Use `Disclosure` instead.
386
387 **Before:**
388 ```jsx
389 import { useHiddenState, Hidden, HiddenDisclosure } from "reakit/Hidden";
390 const hidden = useHiddenState();
391 <HiddenDisclosure {...hidden}>Disclosure</HiddenDisclosure>
392 <Hidden {...hidden}>Hidden</Hidden>
393 ```
394
395 **After:**
396 ```jsx
397 import {
398 useDisclosureState,
399 DisclosureContent,
400 Disclosure,
401 } from "reakit/Disclosure";
402 const disclosure = useDisclosureState();
403 <Disclosure {...disclosure}>Disclosure</Disclosure>
404 <DisclosureContent {...disclosure}>Content</DisclosureContent>
405 ```
406* The **deprecated** `modal` prop has been removed from `Dialog`. Now you can only set it on `useDialogState`.
407
408 **Before:**
409 ```jsx
410 const dialog = useDialogState();
411 <Dialog {...dialog} modal={false} />
412 ```
413
414 **After:**
415 ```jsx
416 const dialog = useDialogState({ modal: false });
417 <Dialog {...dialog} />
418 ```
419
420
421
422
423
424# [1.0.0-rc.2](https://github.com/reakit/reakit/compare/reakit@1.0.0-rc.1...reakit@1.0.0-rc.2) (2020-04-29)
425
426
427### Bug Fixes
428
429* Ensure `undefined` doesn't override default tabIndex in `Dialog` ([#638](https://github.com/reakit/reakit/issues/638)) ([a6a87f4](https://github.com/reakit/reakit/commit/a6a87f490aafd8a66e32bf6cf03cbca77c2404c6)), closes [#636](https://github.com/reakit/reakit/issues/636)
430* Fix `Menu` issues on Safari ([8d9f33c](https://github.com/reakit/reakit/commit/8d9f33c64eebfc16312d1247797b0ef4089bc718))
431* Fix hovering `MenuItem` with `Dialog` open closing the dialog ([06c72ff](https://github.com/reakit/reakit/commit/06c72ffecf31f3fa267f3c83e3cde4f79a6426c4))
432* Fix nested `Dialog` blocking parent auto focus when it's conditionally rendered ([324395b](https://github.com/reakit/reakit/commit/324395ba8a7d5f5db4da856218841eff8b96205d))
433
434
435### Features
436
437* Make `CompositeItem` tabbable before they're registered (for example, on SSR) ([dff1ba1](https://github.com/reakit/reakit/commit/dff1ba1a9b34629e7ecdd27c86a78663e4da370e))
438
439
440### Performance Improvements
441
442* Reduce the number of renders on `Popover`/`Tooltip`/`Menu` ([f554600](https://github.com/reakit/reakit/commit/f5546009dd3f64dbc327a89fd4a391061514b6da))
443
444
445
446
447
448# [1.0.0-rc.1](https://github.com/reakit/reakit/compare/reakit@1.0.0-rc.0...reakit@1.0.0-rc.1) (2020-04-20)
449
450
451### Bug Fixes
452
453* Add missing `setVirtual` action to `CompositeState` reducer ([965704c](https://github.com/reakit/reakit/commit/965704c14c91e862dffa3425cf2a5c3f696bd751))
454* Fix `<Tabbable disabled focusable />` not focusing closest parent ([b3dfb96](https://github.com/reakit/reakit/commit/b3dfb96dd50969a0bbc9a3bbad11d761a498a0d1))
455* Fix `Checkbox` activating twice on space key on Firefox ([#625](https://github.com/reakit/reakit/issues/625)) ([c4d5961](https://github.com/reakit/reakit/commit/c4d59619f452dd608077857e6c678a91fcfcf87a)), closes [#368](https://github.com/reakit/reakit/issues/368)
456* Fix `Composite` on IE11 ([#609](https://github.com/reakit/reakit/issues/609)) ([555b931](https://github.com/reakit/reakit/commit/555b931de003a81a635ed1d980d67f9c62fb91e0))
457* Fix `CompositeItem` not receiving focus when clicking with Safari/VoiceOver ([d3ba001](https://github.com/reakit/reakit/commit/d3ba0010acde0b6533fb6b456afc18968dd2ee89))
458* Fix `Dialog` closing on Firefox when the window loses focus and get focused again ([#620](https://github.com/reakit/reakit/issues/620)) ([7c3119d](https://github.com/reakit/reakit/commit/7c3119df82ec599b685ebd249d88faf78591f61f)), closes [#619](https://github.com/reakit/reakit/issues/619)
459* Fix `Menu` -> `Dialog` -> `Menu` behaving as a sub menu ([#621](https://github.com/reakit/reakit/issues/621)) ([9feb9c1](https://github.com/reakit/reakit/commit/9feb9c168efbbd21cbf06ed695dbf0fccf29148d))
460* Fix `Tooltip` when used with `Composite` components ([#623](https://github.com/reakit/reakit/issues/623)) ([0b70f43](https://github.com/reakit/reakit/commit/0b70f435673db13b75f82d69ac2760b485879674))
461* Fix animated `Dialog` not being correctly focused with VoiceOver ([#618](https://github.com/reakit/reakit/issues/618)) ([db71535](https://github.com/reakit/reakit/commit/db71535b4cdc4d7c88f7860d3a55b62202b845c8))
462* Fix click outside not closing all `Menu` ([341a250](https://github.com/reakit/reakit/commit/341a250fe90b350866dbfbb6662d786cf1a324ac))
463* Fix disabled `MenuButton` being activated when used as a menu item ([6c31dab](https://github.com/reakit/reakit/commit/6c31dab0be1ae606862d7dca6b5b523a67d40309))
464* Fix falsy values on `Radio` not working ([387e8d3](https://github.com/reakit/reakit/commit/387e8d3ffb521f14d3a8c77e9a0b161cde9cb020)), closes [#607](https://github.com/reakit/reakit/issues/607)
465* Fix nested `Dialog` not rendering correctly when the parent has a backdrop ([ce766d5](https://github.com/reakit/reakit/commit/ce766d57b97e6b081a41504e8676e5d47e23e9cd))
466* Fix nested modals when using VoiceOver/Safari ([#608](https://github.com/reakit/reakit/issues/608)) ([417b3b3](https://github.com/reakit/reakit/commit/417b3b391bdb2df173e97aee3276cc00d3db4efe))
467* Fix submenu closing when trying to move into it ([38f0c0b](https://github.com/reakit/reakit/commit/38f0c0b0ed9e9edb64143ea0c544e5101732ba4a))
468
469
470### Features
471
472* Add experimental `unstable_timeout` option to `useTooltipState` ([#622](https://github.com/reakit/reakit/issues/622)) ([5fe208f](https://github.com/reakit/reakit/commit/5fe208f26d3193b4ec73c4f945e1586c4ec52545))
473* Hide `Tooltip` when pressing `Escape` ([#629](https://github.com/reakit/reakit/issues/629)) ([d7f5e8c](https://github.com/reakit/reakit/commit/d7f5e8cca981ca234a3a3f4afe6190d59b4f50be))
474* Remove experimental `IdGroup` component ([1c73f02](https://github.com/reakit/reakit/commit/1c73f021f78bca6a0c46c99b192d8ff11b124f4d))
475* Replace `unstable_animated` by `animated` with improvements on the API ([#616](https://github.com/reakit/reakit/issues/616)) ([16f843f](https://github.com/reakit/reakit/commit/16f843f8dc4b97a552d629bd41cf20107e307a77)), closes [#528](https://github.com/reakit/reakit/issues/528)
476
477
478### BREAKING CHANGES
479
480* **This should affect only people who were using the `unstable_animated` API**: `DisclosureContent` and its derivative components don't add `hidden` class anymore. You should now use `[data-enter]` and `[data-leave]` selectors. For more details, see [Animating](https://reakit.io/docs/disclosure/#animating).
481
482
483
484
485
486# [1.0.0-rc.0](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.16...reakit@1.0.0-rc.0) (2020-03-30)
487
488
489### Bug Fixes
490
491* Fix `Tabbable` dispatching `click` twice when it's composed by another `Tabbable` ([#553](https://github.com/reakit/reakit/issues/553)) ([d231120](https://github.com/reakit/reakit/commit/d23112071b983b35e9262dded9df5dd6e84cb6ce))
492
493
494### Features
495
496* Add `Clickable` component ([#596](https://github.com/reakit/reakit/issues/596)) ([6a9fca9](https://github.com/reakit/reakit/commit/6a9fca9f20f1e93eb93776577607d5577d6f5870))
497* Add `DisclosureContent` component ([#554](https://github.com/reakit/reakit/issues/554)) ([fd93b08](https://github.com/reakit/reakit/commit/fd93b08046ac89c5995e926a09f9e60464c83ce7))
498* Automatically check `Radio` on focus ([#599](https://github.com/reakit/reakit/issues/599)) ([6edc689](https://github.com/reakit/reakit/commit/6edc68980de142686bdbdceecc8769e2a6265001))
499* Remove `Provider` from `reakit/utils/Provider` ([134f7eb](https://github.com/reakit/reakit/commit/134f7ebc55838882f5e8dbd19473fb7417135116))
500* Select the first `Tab` by default and don't require `stopId` prop ([#597](https://github.com/reakit/reakit/issues/597)) ([528b016](https://github.com/reakit/reakit/commit/528b016304f381b171cdc96598201deb54fb53c8))
501* Support `rtl` on `Toolbar` ([#601](https://github.com/reakit/reakit/issues/601)) ([2811071](https://github.com/reakit/reakit/commit/281107130fac84bf37489f51e77f7c68e0e1b4f2))
502
503
504### BREAKING CHANGES
505
506* The first `Tab` is now selected by default. There's no need to pass `selectedId` to `useTabState` anymore.
507
508 If you're already using `selectedId` to select a tab in the initial render, you don't need to change anything as this still works. But, if you want to render tabs with none selected, you should now pass `null` to `selectedId`:
509
510 ```js
511 // if you're already using selectedId, there's no need to change anything
512 const tab = useTabState({ selectedId: "tab-1" });
513 ```
514
515 ```diff
516 // when there's no tab selected by default, you now need to explicitly specify it
517 - const tab = useTabState();
518 + const tab = useTabState({ selectedId: null });
519 ```
520* **Most users will not be affected by this**, but `stops`, `register` and `unregister` on the returned object of state hooks have been renamed to `items`, `registerItem` and `unregisterItem`, respectively.
521
522 ```diff
523 const tab = useTabState();
524 - tab.stops.map(...);
525 + tab.items.map(...);
526 - tab.register(...);
527 + tab.registerItem(...);
528 - tab.unregister(...);
529 + tab.unregisterItem(...);
530 ```
531* `Tabbable` doesn't trigger a click on the element when pressing <kbd>Enter</kbd> and <kbd>Space</kbd> anymore. If you need that feature, use `Clickable` instead.
532
533 **Before:**
534 ```jsx
535 import { Tabbable } from "reakit/Tabbable";
536 <Tabbable />
537 ```
538 **After:**
539 ```jsx
540 import { Clickable } from "reakit/Clickable";
541 // Tabbable is not going away, it just doesn't represent a clickable element
542 // anymore
543 <Clickable />
544 ```
545* Importing `Provider` from `reakit/utils` is not supported anymore. It should be imported from `reakit/Provider` or `reakit`.
546* `DisclosureRegion` has been renamed to `DisclosureContent`.
547
548
549
550
551
552# [1.0.0-beta.16](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.15...reakit@1.0.0-beta.16) (2020-02-10)
553
554
555### Bug Fixes
556
557* Check for classList existence before use ([#540](https://github.com/reakit/reakit/issues/540)) ([92a5fa1](https://github.com/reakit/reakit/commit/92a5fa1fd30e876eb8c25f3bbed48fbd7b8e15fb)), closes [#537](https://github.com/reakit/reakit/issues/537)
558* Fix `transitionEnd` capturing children transitions ([#548](https://github.com/reakit/reakit/issues/548)) ([4cf1eaa](https://github.com/reakit/reakit/commit/4cf1eaad204a787be70f9db31b25e18972723ea2)), closes [#531](https://github.com/reakit/reakit/issues/531)
559* Fix inconsistent `Tooltip` behavior on disabled `Tabbable` ([#552](https://github.com/reakit/reakit/issues/552)) ([d507772](https://github.com/reakit/reakit/commit/d507772ed470770f5db322ab68eced3b3259d8f0)), closes [#471](https://github.com/reakit/reakit/issues/471)
560* Fix portaled components without dimensions in the first render ([#547](https://github.com/reakit/reakit/issues/547)) ([8783aec](https://github.com/reakit/reakit/commit/8783aec08f68be6e432bc39be85f2824ef8ca64e)), closes [#532](https://github.com/reakit/reakit/issues/532)
561* Remove confusing `rover.unregister()` warning ([#549](https://github.com/reakit/reakit/issues/549)) ([2a72e35](https://github.com/reakit/reakit/commit/2a72e350c4134a55c77b0f2a19fea8a15af4e3bd)), closes [#488](https://github.com/reakit/reakit/issues/488)
562
563
564### Features
565
566* Add `Disclosure` module and deprecate `Hidden` ([#541](https://github.com/reakit/reakit/issues/541)) ([4397ab0](https://github.com/reakit/reakit/commit/4397ab0ea70e78ed187d6f463a5941f72907afb0))
567* Add `MenuButton` and deprecate `MenuDisclosure` ([#544](https://github.com/reakit/reakit/issues/544)) ([f5fa914](https://github.com/reakit/reakit/commit/f5fa914b6e73f0f8fc5636a25aa5ebe2d421dcf8))
568* Upgrade to popper.js v2 ([#545](https://github.com/reakit/reakit/issues/545)) ([55f7c21](https://github.com/reakit/reakit/commit/55f7c21b6651efc7ee18e45c17bf7be3ef5d39d2))
569
570
571### BREAKING CHANGES
572
573* The internal `popper.js` dependency has been upgraded to `v2`. The stable `Popover` API remains the same. But, while this change has been tested with the most common use cases, there may be some edge cases where `Popover` and `Menu` (which uses `Popover` underneath) may behave differently.
574
575
576
577
578
579# [1.0.0-beta.15](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.14...reakit@1.0.0-beta.15) (2020-02-05)
580
581
582### Bug Fixes
583
584* Fix parent `Dialog` closing when clicking on nested `DialogBackdrop` ([#530](https://github.com/reakit/reakit/issues/530)) ([e8bc3be](https://github.com/reakit/reakit/commit/e8bc3be)), closes [#529](https://github.com/reakit/reakit/issues/529)
585* Fix warning on deprecated `Provider` import ([1cd9421](https://github.com/reakit/reakit/commit/1cd9421))
586* Prevent clicks when pressing Enter/Space with meta key on non-native `Tabbable` ([#534](https://github.com/reakit/reakit/issues/534)) ([7f0c8cf](https://github.com/reakit/reakit/commit/7f0c8cf))
587* Stop converting `File` objects into plain objects when submitting `Form` ([5899d8d](https://github.com/reakit/reakit/commit/5899d8d)), closes [#415](https://github.com/reakit/reakit/issues/415)
588
589
590### Features
591
592* Add `modal` state to `useDialogState` ([#535](https://github.com/reakit/reakit/issues/535)) ([f3953ad](https://github.com/reakit/reakit/commit/f3953ad)), closes [#404](https://github.com/reakit/reakit/issues/404)
593* Add `unstable_offset` option to `usePopoverState` ([#527](https://github.com/reakit/reakit/issues/527)) ([301fbca](https://github.com/reakit/reakit/commit/301fbca)), closes [#511](https://github.com/reakit/reakit/issues/511)
594* Render nested `Dialog` on a portal outside of its parent `Dialog` ([#533](https://github.com/reakit/reakit/issues/533)) ([9f0a5cc](https://github.com/reakit/reakit/commit/9f0a5cc))
595* Replace `unstable_wrap` by `wrapElement` ([#538](https://github.com/reakit/reakit/issues/538)) ([17a12fb](https://github.com/reakit/reakit/commit/17a12fb))
596* **reakit-utils:** Add `getActiveElement` method ([a252fcd](https://github.com/reakit/reakit/commit/a252fcd))
597
598
599### BREAKING CHANGES
600
601* This should affect a very small number of people: the way nested modal `Dialog`s are rendered has been changed. To avoid styling issues, nested dialogs are rendered outside of the parent `Dialog` (but still inside the parent `Portal`).
602
603
604
605
606
607# [1.0.0-beta.14](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.13...reakit@1.0.0-beta.14) (2019-12-18)
608
609
610### Bug Fixes
611
612* Fix `Dialog` closing when clicking inside it and dragging outside ([#510](https://github.com/reakit/reakit/issues/510)) ([7d580e6](https://github.com/reakit/reakit/commit/7d580e6)), closes [#506](https://github.com/reakit/reakit/issues/506)
613* Fix `Portal` with `null` context on client ([#514](https://github.com/reakit/reakit/issues/514)) ([619adfd](https://github.com/reakit/reakit/commit/619adfd)), closes [#513](https://github.com/reakit/reakit/issues/513)
614* Fix components not rendering `id` prop ([#520](https://github.com/reakit/reakit/issues/520)) ([866db9d](https://github.com/reakit/reakit/commit/866db9d)), closes [#518](https://github.com/reakit/reakit/issues/518)
615
616
617### Features
618
619* Add `unstable_inner` option to `usePopoverState` ([#517](https://github.com/reakit/reakit/issues/517)) ([d5e1e8f](https://github.com/reakit/reakit/commit/d5e1e8f)), closes [#516](https://github.com/reakit/reakit/issues/516)
620
621
622
623
624
625# [1.0.0-beta.13](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.12...reakit@1.0.0-beta.13) (2019-11-22)
626
627
628### Bug Fixes
629
630* Fix `form.reset()` not reverting array fields to initial state ([#503](https://github.com/reakit/reakit/issues/503)) ([43ca6a8](https://github.com/reakit/reakit/commit/43ca6a8)), closes [#502](https://github.com/reakit/reakit/issues/502)
631* Prevent an unnecessary re-render on `Button` ([e39842d](https://github.com/reakit/reakit/commit/e39842d))
632* Standardize precedence when `options` and `htmlProps` conflict ([#501](https://github.com/reakit/reakit/issues/501)) ([5b8e02f](https://github.com/reakit/reakit/commit/5b8e02f))
633* Stop ignoring `checked` and `value` props passed as html props to `useCheckbox` ([#500](https://github.com/reakit/reakit/issues/500)) ([c8cb0bb](https://github.com/reakit/reakit/commit/c8cb0bb)), closes [#465](https://github.com/reakit/reakit/issues/465)
634* Stop persisting `onChange` event on `Checkbox` ([#499](https://github.com/reakit/reakit/issues/499)) ([fd4a694](https://github.com/reakit/reakit/commit/fd4a694)), closes [#498](https://github.com/reakit/reakit/issues/498)
635
636
637### BREAKING CHANGES
638
639* When passing a custom `onChange` prop to `Checkbox`, `event.target.checked` will no longer return a different value than when using the native `<input type="checkbox">` element.
640
641 **Before:**
642 ```jsx
643 <Checkbox onChange={event => setChecked(!event.target.checked)} />;
644 ```
645 **After:**
646 ```jsx
647 <Checkbox onChange={event => setChecked(event.target.checked)} />;
648 ```
649
650
651
652
653
654# [1.0.0-beta.12](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.11...reakit@1.0.0-beta.12) (2019-11-14)
655
656
657### Features
658
659* **reakit-system:** Replace `useCompose` by `useComposeOptions` on `createHook` ([#493](https://github.com/reakit/reakit/issues/493)) ([50fd7df](https://github.com/reakit/reakit/commit/50fd7df))
660* Add `baseId` option to `useHiddenState` and derivative hooks ([837aa58](https://github.com/reakit/reakit/commit/837aa58))
661* Add `baseId` option to `useRoverState` and derivative hooks ([#494](https://github.com/reakit/reakit/issues/494)) ([42e9dd0](https://github.com/reakit/reakit/commit/42e9dd0))
662* Add experimental `Id` module ([#492](https://github.com/reakit/reakit/issues/492)) ([5d87e99](https://github.com/reakit/reakit/commit/5d87e99))
663
664
665
666
667
668# [1.0.0-beta.11](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.10...reakit@1.0.0-beta.11) (2019-11-08)
669
670
671### Bug Fixes
672
673* Fix `Tabbable` preventing click after enabling it ([#481](https://github.com/reakit/reakit/issues/481)) ([6b58a34](https://github.com/reakit/reakit/commit/6b58a34)), closes [#480](https://github.com/reakit/reakit/issues/480)
674* Fix `Tabbable` preventing space and enter keys on `FormInput` ([3f49d6b](https://github.com/reakit/reakit/commit/3f49d6b))
675
676
677
678
679
680# [1.0.0-beta.10](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.9...reakit@1.0.0-beta.10) (2019-11-02)
681
682
683### Bug Fixes
684
685* Fix `MenuItemCheckbox` and `MenuItemRadio` not working ([#473](https://github.com/reakit/reakit/issues/473)) ([11b7bfa](https://github.com/reakit/reakit/commit/11b7bfa)), closes [#472](https://github.com/reakit/reakit/issues/472)
686* Fix `Rover` trying to focus itself again when it receives focus ([#476](https://github.com/reakit/reakit/issues/476)) ([b27194e](https://github.com/reakit/reakit/commit/b27194e))
687* Fix `Tabbable` focus behavior on Mac Safari/Firefox ([#458](https://github.com/reakit/reakit/issues/458)) ([8306241](https://github.com/reakit/reakit/commit/8306241))
688* Stop adding `type="button"` on `Button` by default ([#474](https://github.com/reakit/reakit/issues/474)) ([82b7279](https://github.com/reakit/reakit/commit/82b7279))
689
690
691
692
693
694# [1.0.0-beta.9](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.8...reakit@1.0.0-beta.9) (2019-10-12)
695
696
697### Bug Fixes
698
699* Add a `useIsomorphicEffect` hook to allow proper SSR rendering ([#461](https://github.com/reakit/reakit/issues/461)) ([47434b2](https://github.com/reakit/reakit/commit/47434b2)), closes [#438](https://github.com/reakit/reakit/issues/438)
700* Fix `PopoverArrow` ignoring `size` prop ([#455](https://github.com/reakit/reakit/issues/455)) ([5f51e39](https://github.com/reakit/reakit/commit/5f51e39)), closes [#454](https://github.com/reakit/reakit/issues/454)
701* Fix nested `Dialog`s not working with VoiceOver ([#457](https://github.com/reakit/reakit/issues/457)) ([208bcb6](https://github.com/reakit/reakit/commit/208bcb6))
702* Make `Menu` run without menu state props ([#459](https://github.com/reakit/reakit/issues/459)) ([5992362](https://github.com/reakit/reakit/commit/5992362))
703* Prevent scrollbar flickering when opening `Dialog` ([#450](https://github.com/reakit/reakit/issues/450)) ([d84fd10](https://github.com/reakit/reakit/commit/d84fd10)), closes [#449](https://github.com/reakit/reakit/issues/449)
704
705
706### Features
707
708* Expose `unstable_update()` to update the popover positioning ([#463](https://github.com/reakit/reakit/issues/463)) ([eb4a8e5](https://github.com/reakit/reakit/commit/eb4a8e5))
709
710
711
712
713
714# [1.0.0-beta.8](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.7...reakit@1.0.0-beta.8) (2019-09-25)
715
716
717### Bug Fixes
718
719* Fix `MenuItem` ignoring `ref` prop ([19119ca](https://github.com/reakit/reakit/commit/19119ca))
720* Fix focus not going onto `MenuDisclosure` after closing a `Menu` opened with down arrow ([01f83ba](https://github.com/reakit/reakit/commit/01f83ba))
721* Replace IE11 incompatible DOM features ([#443](https://github.com/reakit/reakit/issues/443)) ([8837557](https://github.com/reakit/reakit/commit/8837557)), closes [#360](https://github.com/reakit/reakit/issues/360)
722
723
724### Features
725
726* Add `gutter` option to `usePopoverState` ([#442](https://github.com/reakit/reakit/issues/442)) ([5e9bc21](https://github.com/reakit/reakit/commit/5e9bc21))
727* Add experimental `unstable_portal` prop to `Tooltip` ([#440](https://github.com/reakit/reakit/issues/440)) ([1b2d5dd](https://github.com/reakit/reakit/commit/1b2d5dd))
728* Add experimental `unstable_scheduleUpdate` function to `usePopoverState` return (still undocumented) ([b40a4da](https://github.com/reakit/reakit/commit/b40a4da))
729
730
731
732
733
734# [1.0.0-beta.7](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.6...reakit@1.0.0-beta.7) (2019-09-19)
735
736
737### Bug Fixes
738
739* Fix `Dialog` initial focus ([#433](https://github.com/reakit/reakit/issues/433)) ([a0916c7](https://github.com/reakit/reakit/commit/a0916c7))
740* Fix `Dialog` with `tabIndex={0}` not being included in the tab order ([#426](https://github.com/reakit/reakit/issues/426)) ([bfb1d05](https://github.com/reakit/reakit/commit/bfb1d05))
741* Fix `FormSubmitButton` ignoring `disabled` prop ([#439](https://github.com/reakit/reakit/issues/439)) ([bbfdfdd](https://github.com/reakit/reakit/commit/bbfdfdd)), closes [#437](https://github.com/reakit/reakit/issues/437)
742
743
744### Features
745
746* Accept multiple `DialogDisclosure`s for a single `Dialog` ([#427](https://github.com/reakit/reakit/issues/427)) ([0cb7432](https://github.com/reakit/reakit/commit/0cb7432))
747* Add `MenuBar` component ([#436](https://github.com/reakit/reakit/issues/436)) ([3d13c33](https://github.com/reakit/reakit/commit/3d13c33))
748* Export `PortalContext` ([#431](https://github.com/reakit/reakit/issues/431)) ([c5a780a](https://github.com/reakit/reakit/commit/c5a780a)), closes [#428](https://github.com/reakit/reakit/issues/428)
749
750
751### BREAKING CHANGES
752
753* `StaticMenu` has been replaced by `MenuBar`.
754
755 **Before:**
756 ```jsx
757 import { useMenuState, StaticMenu } from "reakit/Menu";
758
759 const menu = useMenuState();
760 <StaticMenu {...menu} />;
761 ```
762
763 **After:**
764 ```jsx
765 import { useMenuBarState, MenuBar } from "reakit/Menu";
766
767 const menuBar = useMenuBarState(); // useMenuState can be used here as well
768 <MenuBar {...menuBar} />;
769 ```
770
771
772
773
774
775# [1.0.0-beta.6](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.5...reakit@1.0.0-beta.6) (2019-08-25)
776
777
778### Bug Fixes
779
780* Fix `Checkbox` `event.target.checked` value inside `onChange` event ([#419](https://github.com/reakit/reakit/issues/419)) ([75063fc](https://github.com/reakit/reakit/commit/75063fc)), closes [#393](https://github.com/reakit/reakit/issues/393)
781* Fix `FormInput` as `textarea` caret position when focusing ([#420](https://github.com/reakit/reakit/issues/420)) ([d8e7af3](https://github.com/reakit/reakit/commit/d8e7af3)), closes [#418](https://github.com/reakit/reakit/issues/418)
782* Fix `useRoverState` and its derivatives including all props in the return object ([987d16e](https://github.com/reakit/reakit/commit/987d16e))
783* Remove erroneous `React.LiHTMLAttributes` type from `ToolbarItemHTMLProps` ([0cb6e66](https://github.com/reakit/reakit/commit/0cb6e66))
784
785
786### Features
787
788* **reakit-utils:** Move `tabbable` internal module to `reakit-utils` package ([b84acce](https://github.com/reakit/reakit/commit/b84acce))
789* Add new `MenuArrow` component ([#422](https://github.com/reakit/reakit/issues/422)) ([731a376](https://github.com/reakit/reakit/commit/731a376))
790* Add support for `HiddenDisclosure` to control multiple `Hidden` components ([#423](https://github.com/reakit/reakit/issues/423)) ([bdfbd74](https://github.com/reakit/reakit/commit/bdfbd74))
791* Support nested `Tabbable` and `Rover` components ([#417](https://github.com/reakit/reakit/issues/417)) ([ee9623e](https://github.com/reakit/reakit/commit/ee9623e)), closes [#376](https://github.com/reakit/reakit/issues/376)
792
793
794
795
796
797# [1.0.0-beta.5](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.4...reakit@1.0.0-beta.5) (2019-08-12)
798
799
800### Bug Fixes
801
802* Fix typings ([29c4456](https://github.com/reakit/reakit/commit/29c4456))
803* Fix `FormGroup` and `FormRadioGroup` not receiving focus when `Form` has been submited with errors ([59adc8b](https://github.com/reakit/reakit/commit/59adc8b))
804* Fix `FormSubmitButton` not considering elements other than inputs as invalid fields ([c4f688a](https://github.com/reakit/reakit/commit/c4f688a))
805* Fix `Hidden` not setting `unstable_animating` to `false` while visible ([#410](https://github.com/reakit/reakit/issues/410)) ([6d5827c](https://github.com/reakit/reakit/commit/6d5827c)), closes [#407](https://github.com/reakit/reakit/issues/407)
806* Fix `Menu` preventing default behavior when pressing ASCII keys on elements other than `MenuItem` ([cacb978](https://github.com/reakit/reakit/commit/cacb978))
807* Fix `Tooltip` error when `visible` is initially set to `true` ([#409](https://github.com/reakit/reakit/issues/409)) ([c132e56](https://github.com/reakit/reakit/commit/c132e56)), closes [#408](https://github.com/reakit/reakit/issues/408)
808* Fix empty array values being filtered prematurely before `useFormState`'s `onValidate` ([6052829](https://github.com/reakit/reakit/commit/6052829))
809
810
811### Features
812
813* Support `onSubmit` and `onValidate` functions to be updated between renders in `useFormState` ([#411](https://github.com/reakit/reakit/issues/411)) ([f576db1](https://github.com/reakit/reakit/commit/f576db1)), closes [#400](https://github.com/reakit/reakit/issues/400)
814
815
816
817
818
819# [1.0.0-beta.4](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.3...reakit@1.0.0-beta.4) (2019-06-27)
820
821
822### Bug Fixes
823
824* Always focus `Rover` when calling `rover.{move|first|last}()` ([#389](https://github.com/reakit/reakit/issues/389)) ([f346df4](https://github.com/reakit/reakit/commit/f346df4))
825* Fix missing React Hooks deps ([b08b62c](https://github.com/reakit/reakit/commit/b08b62c))
826
827
828### Features
829
830* **website:** Hide state hook props from docs ([#390](https://github.com/reakit/reakit/issues/390)) ([fdac912](https://github.com/reakit/reakit/commit/fdac912))
831* Add new `size` prop to `PopoverArrow` and `TooltipArrow` ([11a6df1](https://github.com/reakit/reakit/commit/11a6df1)), closes [#383](https://github.com/reakit/reakit/issues/383)
832
833
834
835
836
837# [1.0.0-beta.3](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.2...reakit@1.0.0-beta.3) (2019-06-23)
838
839
840### Bug Fixes
841
842* Add missing deps to `usePopoverState` effect ([d44df81](https://github.com/reakit/reakit/commit/d44df81))
843* Make `Menu` work properly with `unstable_animated` ([#386](https://github.com/reakit/reakit/issues/386)) ([b96c466](https://github.com/reakit/reakit/commit/b96c466))
844* Remove false positive warning from `Dialog` ([#385](https://github.com/reakit/reakit/issues/385)) ([5334bd4](https://github.com/reakit/reakit/commit/5334bd4))
845
846
847### Features
848
849* Move helpers to separate package (reakit-utils, reakit-system) ([#380](https://github.com/reakit/reakit/issues/380)) ([354b874](https://github.com/reakit/reakit/commit/354b874))
850
851
852### BREAKING CHANGES
853
854* Utils aren't exported by `reakit` or `reakit/utils` anymore. Import them from the `reakit-utils` package instead.
855* System utils aren't exported by `reakit` or `reakit/system` anymore. Import them from the `reakit-system` package instead.
856* `Provider` isn't exported by `reakit/utils` or `reakit/utils/Provider` anymore. Import it from `reakit` or `reakit/Provider` instead.
857
858
859
860
861
862# [1.0.0-beta.2](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.1...reakit@1.0.0-beta.2) (2019-06-01)
863
864
865### Bug Fixes
866
867* Fix `Checkbox` toggling twice on space bar key on Firefox ([#369](https://github.com/reakit/reakit/issues/369)) ([27e9b63](https://github.com/reakit/reakit/commit/27e9b63)), closes [#368](https://github.com/reakit/reakit/issues/368)
868* Remove `async`/`await` so users don't need regenerator-runtime ([#365](https://github.com/reakit/reakit/issues/365)) ([9c6d41a](https://github.com/reakit/reakit/commit/9c6d41a))
869* Stop adding `role="button"` on `Button` by default ([574e2a9](https://github.com/reakit/reakit/commit/574e2a9))
870
871
872### Features
873
874* Add `unstable_animated` option to `useHiddenState` and its derivatives ([#370](https://github.com/reakit/reakit/issues/370)) ([4ba7f61](https://github.com/reakit/reakit/commit/4ba7f61))
875* Enable conditional render on `Hidden` components with render props ([#371](https://github.com/reakit/reakit/issues/371)) ([70322c2](https://github.com/reakit/reakit/commit/70322c2))
876* Remove z-index and extra styles from `Dialog` and `DialogBackdrop` ([#372](https://github.com/reakit/reakit/issues/372)) ([5edd0d8](https://github.com/reakit/reakit/commit/5edd0d8)), closes [#366](https://github.com/reakit/reakit/issues/366)
877
878
879### BREAKING CHANGES
880
881* Removed extra styles from `Dialog` and `DialogBackdrop` and all their derivative components. Also removed default `z-index` from `Tooltip`. These styles have been moved to the `reakit-system-bootstrap` package. If you're not using this system package, you should apply the styles manually.
882
883 **Before:**
884 ```jsx
885 <DialogBackdrop />
886 <Dialog />
887 <Popover />
888 <Menu />
889 <Tooltip />
890 ```
891
892 **After:**
893 ```jsx
894 <DialogBackdrop
895 style={{
896 position: "fixed",
897 top: 0,
898 right: 0,
899 bottom: 0,
900 left: 0,
901 zIndex: 998
902 }}
903 />
904 <Dialog style={{ zIndex: 999 }} />
905 <Popover style={{ zIndex: 999 }} />
906 <Menu style={{ zIndex: 999 }} />
907 <Tooltip style={{ zIndex: 999 }} />
908 ```
909
910
911
912
913
914# [1.0.0-beta.1](https://github.com/reakit/reakit/compare/reakit@1.0.0-beta.0...reakit@1.0.0-beta.1) (2019-05-21)
915
916
917### Bug Fixes
918
919* Avoid infinite loop when using render props composition ([8256330](https://github.com/reakit/reakit/commit/8256330))
920* Fix `Provider` not working without `unstable_system` prop ([37862fb](https://github.com/reakit/reakit/commit/37862fb))
921* Stop flipping `orientation` on `Separator` ([52a0e63](https://github.com/reakit/reakit/commit/52a0e63))
922
923
924### Features
925
926* Set `display: none` on `Hidden` when its `visible` prop is set to `false` ([73d6cd2](https://github.com/reakit/reakit/commit/73d6cd2))
927
928
929### BREAKING CHANGES
930
931* `Separator` doesn't flip its `orientation` anymore. If you pass `orientation="vertical"` it'll render `aria-orientation="vertical"` now.
932
933
934
935
936
937# [1.0.0-beta.0](https://github.com/reakit/reakit/compare/reakit@1.0.0-alpha.4...reakit@1.0.0-beta.0) (2019-05-13)
938
939
940### Bug Fixes
941
942* Fix `Tabbable` erroneously preventing `onMouseDown` on inputs ([10af438](https://github.com/reakit/reakit/commit/10af438))
943* Fix nested `Dialogs` not closing when parent dialogs close ([84d1e16](https://github.com/reakit/reakit/commit/84d1e16))
944
945
946
947
948
949# [1.0.0-alpha.4](https://github.com/reakit/reakit/compare/reakit@1.0.0-alpha.3...reakit@1.0.0-alpha.4) (2019-05-12)
950
951
952### Bug Fixes
953
954* Fix `Menu` not correctly moving with arrow keys ([3b55b85](https://github.com/reakit/reakit/commit/3b55b85))
955* Fix `PopoverArrow` styles ([a90d71f](https://github.com/reakit/reakit/commit/a90d71f))
956* Fix `Tabbable` not responding to `Enter` key ([24b54c3](https://github.com/reakit/reakit/commit/24b54c3))
957* Fix arrow keys closing `Dialog` opened by `Menu` ([c3fdbcd](https://github.com/reakit/reakit/commit/c3fdbcd))
958* Prevent buggy scroll on focus when showing Dialog ([e0a328b](https://github.com/reakit/reakit/commit/e0a328b))
959* Remove the need of double click on `MenuItem` on mobile ([73b920e](https://github.com/reakit/reakit/commit/73b920e))
960* Render `VisuallyHidden` as `span` instead of `div` since it could be placed in an inline element ([ac24c08](https://github.com/reakit/reakit/commit/ac24c08))
961
962
963### Features
964
965* Add `state` and `setState` props to `Checkbox` and `Radio` ([5902ab1](https://github.com/reakit/reakit/commit/5902ab1))
966* Add `unstable_animated` prop to `Hidden` ([e0ff29f](https://github.com/reakit/reakit/commit/e0ff29f))
967* Add `unstable_preventOverflow`, `unstable_boundariesElement` and `unstable_fixed` props to `usePopoverState` ([f0930e2](https://github.com/reakit/reakit/commit/f0930e2))
968* Add experimental `unstable_orphan` prop to `Dialog` ([d0f6b52](https://github.com/reakit/reakit/commit/d0f6b52))
969* Remove experimental `KeyBinder` in favor of internal `createOnKeyDown` util ([b0adfa8](https://github.com/reakit/reakit/commit/b0adfa8))
970* Rename `mergeProps` util to `unstable_mergeProps` ([9be2e14](https://github.com/reakit/reakit/commit/9be2e14))
971* Warn when some refs aren't passed to components ([92f035c](https://github.com/reakit/reakit/commit/92f035c))
972
973
974### Performance Improvements
975
976* Improve general performance by using `React.memo` on components ([91f0d54](https://github.com/reakit/reakit/commit/91f0d54))
977
978
979### BREAKING CHANGES
980
981* `mergeProps` util has been renamed to `unstable_mergeProps` and is not exported by the root package anymore. Instead, it should be imported from `reakit/utils/mergeProps`.
982* `currentValue` and `setValue` have been replaced by `state` and `setState` on `Checkbox`, `Radio` and all their derivative components and related hooks.
983* All the `ComponentProps` typings have been renamed to `ComponentHTMLProps`. `ComponentProps` is now the combination of `ComponentOptions` and `ComponentHTMLProps`.
984* `placement` prop is now required on `MenuDisclosure`.
985* `placement` prop is now required on `Menu`.
986
987
988
989
990
991# [1.0.0-alpha.3](https://github.com/reakit/reakit/compare/reakit@1.0.0-alpha.2...reakit@1.0.0-alpha.3) (2019-04-25)
992
993
994### Bug Fixes
995
996* Fix `Checkbox` not reverting `indeterminate` state when `currentValue` changes ([2ee7455](https://github.com/reakit/reakit/commit/2ee7455))
997* Fix `mouseOut` events triggering outside `Dialog`. ([d814ddf](https://github.com/reakit/reakit/commit/d814ddf))
998* Fix arrow keys not working on `Menu` when cursor leaves it ([9f278ac](https://github.com/reakit/reakit/commit/9f278ac))
999* Fix arrow keys on `MenuItem` incorrectly hiding `Menu` ([94bd9db](https://github.com/reakit/reakit/commit/94bd9db))
1000* Fix focusing `MenuItem` on mouse over outside an open `Dialog` ([aac7f3c](https://github.com/reakit/reakit/commit/aac7f3c))
1001
1002
1003### Features
1004
1005* Add `VisuallyHidden` component ([7b1d826](https://github.com/reakit/reakit/commit/7b1d826))
1006* Add experimental `KeyBinder` component ([7eb739a](https://github.com/reakit/reakit/commit/7eb739a))
1007* Render `MenuGroup` as a `div` instead of `fieldset` ([5d4b476](https://github.com/reakit/reakit/commit/5d4b476))
1008* Return `unstable_wrap` method from props hooks ([f668ae4](https://github.com/reakit/reakit/commit/f668ae4))
1009
1010
1011
1012
1013
1014# [1.0.0-alpha.2](https://github.com/reakit/reakit/compare/reakit@1.0.0-alpha.1...reakit@1.0.0-alpha.2) (2019-04-17)
1015
1016
1017### Bug Fixes
1018
1019* `MenuDisclosure` should close the submenu when in menubar ([d481674](https://github.com/reakit/reakit/commit/d481674))
1020* Change system's `useProps` order in built-in components ([e679024](https://github.com/reakit/reakit/commit/e679024))
1021* Fix `DialogDisclosure` not closing `Dialog` on Safari when `hideOnClickOutside` is truthy ([37865cf](https://github.com/reakit/reakit/commit/37865cf))
1022* Fix `MenuDisclosure` race condition on focus/click ([8a37d31](https://github.com/reakit/reakit/commit/8a37d31))
1023* Make click/focus behavior cross-browser by automatically focusing `Tabbable` on mouse down ([54b618c](https://github.com/reakit/reakit/commit/54b618c))
1024* Restore `hasShownOnFocus` state in `MenuDisclosure` ([63228fd](https://github.com/reakit/reakit/commit/63228fd))
1025
1026
1027### Features
1028
1029* Add `use` prefix automatically in `useProps`/`useOptions` ([167fda1](https://github.com/reakit/reakit/commit/167fda1))
1030* Expose `unstable_useSealedState` util ([1540eab](https://github.com/reakit/reakit/commit/1540eab))
1031* Remove `unstable_` prefix from `currentId` prop ([003d1ad](https://github.com/reakit/reakit/commit/003d1ad))
1032* Remove `unstable_` prefix from `focusable` prop ([965dcb7](https://github.com/reakit/reakit/commit/965dcb7))
1033* Remove `unstable_` prefix from `loop`, `move`, `next`, `previous`, `first`, `last` props ([501f822](https://github.com/reakit/reakit/commit/501f822))
1034* Remove `unstable_` prefix from `manual`, `selectedId`, `select` props ([c36413f](https://github.com/reakit/reakit/commit/c36413f))
1035* Remove `unstable_` prefix from `stops`, `register` and `unregister` props ([061cc55](https://github.com/reakit/reakit/commit/061cc55))
1036* Remove focus from `MenuItem` on mouse out ([fdd1bb8](https://github.com/reakit/reakit/commit/fdd1bb8))
1037
1038
1039
1040
1041
1042# [1.0.0-alpha.1](https://github.com/reakit/reakit/compare/reakit@1.0.0-alpha.0...reakit@1.0.0-alpha.1) (2019-04-09)
1043
1044
1045### Bug Fixes
1046
1047* Clicking on an element inside the disclosure should hide Dialog ([93072cb](https://github.com/reakit/reakit/commit/93072cb))
1048
1049
1050### Features
1051
1052* Improve Dialog/Menu API ([cf7426f](https://github.com/reakit/reakit/commit/cf7426f))
1053* Remove `unstable_` prefix from many things ([ec434fc](https://github.com/reakit/reakit/commit/ec434fc))
1054
1055
1056
1057
1058
1059# [1.0.0-alpha.0](https://github.com/reakit/reakit/compare/reakit@0.16.0-beta.2...reakit@1.0.0-alpha.0) (2019-04-02)
1060
1061**Note:** Version bump only for package reakit
1062
\No newline at end of file