29 Commits

Author SHA1 Message Date
Tom Southall
9282c4b7ef If the text prop is supplied and a matching item is found, onSelect is automatically fired 2022-05-19 15:41:43 +01:00
Tom Southall
28ac24be57 Bump version 2022-05-14 10:04:07 +01:00
Tom Southall
a92e414eb2 Changing styles prop now triggers a re-render 2022-05-13 15:55:18 +01:00
Tom Southall
904121a96a No longer automatically fire onSelect and onChange events on first render. Only in response to user events. 2022-05-11 18:41:16 +01:00
Tom Southall
2b1bd141fa Expose DOM methods via a forwarded ref 2022-04-06 22:27:33 +01:00
Tom Southall
c1d53e1d2b Allow functions for listbox and defaultListbox props
Extend listbox and defaultListbox prop types to allow functions returning a promise resolving to an array of group settings
2022-04-02 23:35:52 +01:00
Tom Southall
9a0d126770 Left align container div contents when focussed by default 2022-03-25 16:43:21 +00:00
Tom Southall
a75a3b7378 Left align container div contents by default 2022-03-25 16:36:56 +00:00
Tom Southall
7018a8835e Fix issue affecting various keypresses when search box is empty 2022-03-25 16:34:32 +00:00
Tom Southall
8c0916245d Update version and changelog to 1.2.1 2022-03-24 13:07:13 +00:00
Tom Southall
dcc7bfb640 Add enterKeyHint prop 2022-03-24 12:14:42 +00:00
Tom Southall
613cf75279 Add live demo links to README 2022-03-16 19:13:17 +00:00
Tom Southall
cf8bff37bb Correct version number in CHANGELOG 2022-03-15 15:42:13 +00:00
Tom Southall
cbe957195d Prevent no items message from displaying whilst items are being fetched 2022-03-15 15:41:32 +00:00
Tom Southall
ebacd8b6ef Add note to README regarding onSelect being called when an item is no longer selected 2022-03-15 14:19:48 +00:00
Tom Southall
238080b01f Use autofocus HTML attribute instead of a useEffect hook 2022-03-15 14:13:49 +00:00
Tom Southall
90ecbb0caf Add MIT License 2022-03-15 14:06:11 +00:00
Tom Southall
c762a77c76 Ensure a no-items message is displayed if a query is entered but no items have ever been loaded 2022-03-15 13:20:15 +00:00
Tom Southall
ba6610a66c Do not do any text matching in default listbox 2022-03-15 12:48:17 +00:00
Tom Southall
cf28dacd35 Only show a transparent background on input box if there is no typeahead 2022-03-15 12:36:24 +00:00
Tom Southall
a2fbbc5d34 Add screengrab gif to README 2022-03-13 21:58:38 +00:00
Tom Southall
9a01638783 Image formatting on README 2022-03-13 21:03:57 +00:00
Tom Southall
fe7d038729 Remove plugins argument from plugin render function 2022-03-12 22:36:42 +00:00
Tom Southall
2d2fd18081 Date changelog 2022-03-12 20:58:53 +00:00
Tom Southall
be90aa264e Update CHANGELOG 2022-03-12 20:54:21 +00:00
Tom Southall
2500547716 Revamp plugins so that each acts as a wrapper component around Container 2022-03-12 20:51:42 +00:00
Tom Southall
9f7ea41e63 Update changelog and version 2022-03-11 21:07:06 +00:00
Tom Southall
f3054cffd8 Correction to dates in CHANGELOG 2022-03-10 00:28:36 +00:00
Tom Southall
89144edeeb Add CHANGELOG 2022-03-10 00:26:34 +00:00