downshift 7.4.0 β 7.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/downshift.cjs.js +2 -2
- package/dist/downshift.esm.js +2 -2
- package/dist/downshift.native.cjs.js +2 -2
- package/dist/downshift.nativeweb.cjs.js +3859 -0
- package/dist/downshift.umd.js +2 -2
- package/dist/downshift.umd.js.map +1 -1
- package/dist/downshift.umd.min.js +1 -1
- package/dist/downshift.umd.min.js.map +1 -1
- package/package.json +3 -2
- package/preact/dist/downshift.cjs.js +2 -2
- package/preact/dist/downshift.esm.js +2 -2
- package/preact/dist/downshift.umd.js +2 -2
- package/preact/dist/downshift.umd.js.map +1 -1
- package/preact/dist/downshift.umd.min.js +1 -1
- package/preact/dist/downshift.umd.min.js.map +1 -1
package/README.md
CHANGED
|
@@ -1415,13 +1415,14 @@ Thanks goes to these people ([emoji key][emojis]):
|
|
|
1415
1415
|
<td align="center" valign="top" width="14.28%"><a href="http://nickdeom.com"><img src="https://avatars2.githubusercontent.com/u/56491159?v=4?s=100" width="100px;" alt="Nick Deom"/><br /><sub><b>Nick Deom</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=ndeom" title="Code">π»</a> <a href="https://github.com/downshift-js/downshift/issues?q=author%3Andeom" title="Bug reports">π</a></td>
|
|
1416
1416
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/clementgarbay"><img src="https://avatars3.githubusercontent.com/u/12433625?v=4?s=100" width="100px;" alt="ClΓ©ment Garbay"/><br /><sub><b>ClΓ©ment Garbay</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=clementgarbay" title="Code">π»</a></td>
|
|
1417
1417
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/KaiminHuang"><img src="https://avatars.githubusercontent.com/u/5600404?v=4?s=100" width="100px;" alt="Kaimin Huang"/><br /><sub><b>Kaimin Huang</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=KaiminHuang" title="Code">π»</a> <a href="https://github.com/downshift-js/downshift/issues?q=author%3AKaiminHuang" title="Bug reports">π</a></td>
|
|
1418
|
-
<td align="center" valign="top" width="14.28%"><a href="http://theredcircuit.com"><img src="https://avatars.githubusercontent.com/u/1242456?v=4?s=100" width="100px;" alt="David Welling"/><br /><sub><b>David Welling</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=davewelling" title="Code">π»</a> <a href="https://github.com/downshift-js/downshift/issues?q=author%3Adavewelling" title="Bug reports">π</a></td>
|
|
1418
|
+
<td align="center" valign="top" width="14.28%"><a href="http://theredcircuit.com"><img src="https://avatars.githubusercontent.com/u/1242456?v=4?s=100" width="100px;" alt="David Welling"/><br /><sub><b>David Welling</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=davewelling" title="Code">π»</a> <a href="https://github.com/downshift-js/downshift/issues?q=author%3Adavewelling" title="Bug reports">π</a> <a href="#ideas-davewelling" title="Ideas, Planning, & Feedback">π€</a> <a href="#research-davewelling" title="Research">π¬</a></td>
|
|
1419
1419
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/chandrasekhar1996"><img src="https://avatars.githubusercontent.com/u/33996892?v=4?s=100" width="100px;" alt="chandrasekhar1996"/><br /><sub><b>chandrasekhar1996</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/issues?q=author%3Achandrasekhar1996" title="Bug reports">π</a> <a href="https://github.com/downshift-js/downshift/commits?author=chandrasekhar1996" title="Code">π»</a></td>
|
|
1420
1420
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/drewbrend"><img src="https://avatars.githubusercontent.com/u/5375799?v=4?s=100" width="100px;" alt="Brendan Drew"/><br /><sub><b>Brendan Drew</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=drewbrend" title="Code">π»</a></td>
|
|
1421
1421
|
</tr>
|
|
1422
1422
|
<tr>
|
|
1423
1423
|
<td align="center" valign="top" width="14.28%"><a href="https://github.com/jeanpan"><img src="https://avatars.githubusercontent.com/u/1307026?v=4?s=100" width="100px;" alt="Jean Pan"/><br /><sub><b>Jean Pan</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=jeanpan" title="Code">π»</a></td>
|
|
1424
1424
|
<td align="center" valign="top" width="14.28%"><a href="https://tjenkinson.me"><img src="https://avatars.githubusercontent.com/u/3259993?v=4?s=100" width="100px;" alt="Tom Jenkinson"/><br /><sub><b>Tom Jenkinson</b></sub></a><br /><a href="#infra-tjenkinson" title="Infrastructure (Hosting, Build-Tools, etc)">π</a></td>
|
|
1425
|
+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/aliceHendicott"><img src="https://avatars.githubusercontent.com/u/40346716?v=4?s=100" width="100px;" alt="Alice Hendicott"/><br /><sub><b>Alice Hendicott</b></sub></a><br /><a href="https://github.com/downshift-js/downshift/commits?author=aliceHendicott" title="Code">π»</a> <a href="https://github.com/downshift-js/downshift/issues?q=author%3AaliceHendicott" title="Bug reports">π</a></td>
|
|
1425
1426
|
</tr>
|
|
1426
1427
|
</tbody>
|
|
1427
1428
|
</table>
|
package/dist/downshift.cjs.js
CHANGED
|
@@ -3282,12 +3282,12 @@ function useCombobox(userProps) {
|
|
|
3282
3282
|
inputValue: event.target.value
|
|
3283
3283
|
});
|
|
3284
3284
|
};
|
|
3285
|
-
var inputHandleBlur = function inputHandleBlur() {
|
|
3285
|
+
var inputHandleBlur = function inputHandleBlur(event) {
|
|
3286
3286
|
/* istanbul ignore else */
|
|
3287
3287
|
if (latestState.isOpen && !mouseAndTouchTrackersRef.current.isMouseDown) {
|
|
3288
3288
|
dispatch({
|
|
3289
3289
|
type: InputBlur,
|
|
3290
|
-
selectItem:
|
|
3290
|
+
selectItem: event.relatedTarget !== null
|
|
3291
3291
|
});
|
|
3292
3292
|
}
|
|
3293
3293
|
};
|
package/dist/downshift.esm.js
CHANGED
|
@@ -3269,12 +3269,12 @@ function useCombobox(userProps) {
|
|
|
3269
3269
|
inputValue: event.target.value
|
|
3270
3270
|
});
|
|
3271
3271
|
};
|
|
3272
|
-
var inputHandleBlur = function inputHandleBlur() {
|
|
3272
|
+
var inputHandleBlur = function inputHandleBlur(event) {
|
|
3273
3273
|
/* istanbul ignore else */
|
|
3274
3274
|
if (latestState.isOpen && !mouseAndTouchTrackersRef.current.isMouseDown) {
|
|
3275
3275
|
dispatch({
|
|
3276
3276
|
type: InputBlur,
|
|
3277
|
-
selectItem:
|
|
3277
|
+
selectItem: event.relatedTarget !== null
|
|
3278
3278
|
});
|
|
3279
3279
|
}
|
|
3280
3280
|
};
|
|
@@ -3204,12 +3204,12 @@ function useCombobox(userProps) {
|
|
|
3204
3204
|
inputValue: /* istanbul ignore next (react-native) */event.nativeEvent.text
|
|
3205
3205
|
});
|
|
3206
3206
|
};
|
|
3207
|
-
var inputHandleBlur = function inputHandleBlur() {
|
|
3207
|
+
var inputHandleBlur = function inputHandleBlur(event) {
|
|
3208
3208
|
/* istanbul ignore else */
|
|
3209
3209
|
if (latestState.isOpen && !mouseAndTouchTrackersRef.current.isMouseDown) {
|
|
3210
3210
|
dispatch({
|
|
3211
3211
|
type: InputBlur,
|
|
3212
|
-
selectItem:
|
|
3212
|
+
selectItem: event.relatedTarget !== null
|
|
3213
3213
|
});
|
|
3214
3214
|
}
|
|
3215
3215
|
};
|