Tom Southall
|
dcc7bfb640
|
Add enterKeyHint prop
|
2022-03-24 12:14:42 +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
|
aad534f187
|
Remove redundant TODOs
|
2022-03-15 14:42:04 +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
|
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
|
4c55ad8c64
|
Pass the highlighted state to custom Item component
|
2022-03-15 12:42:30 +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
|
fe7d038729
|
Remove plugins argument from plugin render function
|
2022-03-12 22:36:42 +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
|
3284de9f62
|
No need for dependency
|
2022-03-11 23:35:27 +00:00 |
|
Tom Southall
|
2dcdfb5887
|
More robust checking for typeahead presence
|
2022-03-11 22:01:45 +00:00 |
|
Tom Southall
|
9c98b30e16
|
Do not show typeahead unless there is more than one item in the listbox
|
2022-03-11 21:05:51 +00:00 |
|
Tom Southall
|
a9566a583a
|
Update snapshots
|
2022-03-09 23:26:46 +00:00 |
|
Tom Southall
|
6c5bc9cf6f
|
Remove topItem from custom classNames. Pass group id and index to custom Item component.
|
2022-03-09 23:22:54 +00:00 |
|
Tom Southall
|
59b8e19cf9
|
Alphabetise PropTypes
|
2022-03-09 23:20:50 +00:00 |
|
Tom Southall
|
5cfe0a94b1
|
Add matchText to default props
|
2022-03-09 17:38:14 +00:00 |
|
Tom Southall
|
e86e8373b8
|
Add classname to <strong> match wrapper element
|
2022-03-09 17:37:04 +00:00 |
|
Tom Southall
|
d77d231a3b
|
Add missing cancelButton PropTypes
|
2022-03-09 13:08:46 +00:00 |
|
Tom Southall
|
408e4140e1
|
Change z-index of listbox
|
2022-03-09 12:40:14 +00:00 |
|
Tom Southall
|
8531fd41ee
|
Remove default item styling
|
2022-03-09 12:37:51 +00:00 |
|
Tom Southall
|
b575a4b46d
|
Add missing useEffect dependencies
|
2022-03-08 20:34:32 +00:00 |
|
Tom Southall
|
78a2e83662
|
Apply special inputFocus and containerFocus classes only if supplied, otherwise fall back to input and container classes.
|
2022-03-04 18:08:02 +00:00 |
|
Tom Southall
|
ce93a589ed
|
Add input className
|
2022-03-04 16:11:06 +00:00 |
|
Tom Southall
|
1e70e1e2f2
|
Allow turning off typeahead via a prop
|
2022-03-04 15:35:26 +00:00 |
|
Tom Southall
|
4875590575
|
Add onFocus and onBlur props
|
2022-03-04 15:18:48 +00:00 |
|
Tom Southall
|
ca39af8cc0
|
Rename ItemContents prop to Item
|
2022-03-04 15:10:02 +00:00 |
|
Tom Southall
|
7432818a22
|
Allow mobile search behaviour
Make focus/blur more robust
Allow Clear and Cancel button contents to be passed as components
|
2022-03-03 23:48:26 +00:00 |
|
Tom Southall
|
1d99e0b823
|
Remove display style from container
|
2022-03-03 15:28:48 +00:00 |
|
Tom Southall
|
c74f85e653
|
Remove catch from fetcher
|
2022-03-03 14:42:33 +00:00 |
|
Tom Southall
|
46a3a446d5
|
Ability to include sublocations
|
2022-03-02 20:36:44 +00:00 |
|
Tom Southall
|
6287c16caa
|
Assume promises resolve to an array of results rather than an object with a data property
|
2022-03-02 14:06:27 +00:00 |
|
Tom Southall
|
aaeeaccafc
|
Create Recent Searches plugin
|
2022-03-02 00:40:29 +00:00 |
|
Tom Southall
|
ef61208854
|
Add ability to supply plugins in props
|
2022-03-02 00:40:05 +00:00 |
|
Tom Southall
|
19e800fd8b
|
Add displayField as second onSelect argument
|
2022-03-01 22:37:41 +00:00 |
|
Tom Southall
|
eb1d3a82db
|
Add group ID
|
2022-03-01 21:12:49 +00:00 |
|
Tom Southall
|
f74b64bd5a
|
Rename dataSearchType prop to searchType
|
2022-02-25 00:39:01 +00:00 |
|
Tom Southall
|
3a8b0ba4ff
|
Add useSWR error handling, errorMessage prop and errorbox component
|
2022-02-25 00:26:44 +00:00 |
|
Tom Southall
|
96525d8b6d
|
Add a GroupName custom component
|
2022-02-24 15:37:46 +00:00 |
|
Tom Southall
|
c94a5d18ee
|
Update tests
|
2022-02-24 14:34:38 +00:00 |
|
Tom Southall
|
e414f8efa1
|
Remove console.log
|
2022-02-24 14:25:45 +00:00 |
|
Tom Southall
|
1deef54576
|
Correctly handle clearing search input
|
2022-02-24 14:22:44 +00:00 |
|
Tom Southall
|
76bf7f2f99
|
Remove text splitting and make text matching an option with a prop
|
2022-02-23 22:59:20 +00:00 |
|
Tom Southall
|
a1242eec5d
|
Add ability to pass in an Item component
Create SplitMatch component
Create first (WIP) example
|
2022-02-23 21:41:55 +00:00 |
|
Tom Southall
|
f9467a8ede
|
Rename splitChar to separator
|
2022-02-22 00:43:18 +00:00 |
|
Tom Southall
|
6e1b054195
|
dataSearchType now determines how list items are highlighted
Full search string now highlighted for startswith searches
Regularised item markup
|
2022-02-22 00:35:51 +00:00 |
|
Tom Southall
|
583726fcb9
|
Consolidate itemGroups and data props into a single listbox prop
|
2022-02-21 21:07:52 +00:00 |
|
Tom Southall
|
ac6f749762
|
Make ListBox one word: Listbox
|
2022-02-21 20:08:03 +00:00 |
|
Tom Southall
|
f9bf89b108
|
Add unit tests for reducer
|
2022-02-21 19:49:28 +00:00 |
|