Commit Graph

115 Commits

Author SHA1 Message Date
Tom Southall
be90aa264e Update CHANGELOG 2022-03-12 20:54:21 +00:00
Tom Southall
90fc9c29c5 Remove React import 2022-03-12 20:53:49 +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
0f79dad028 Change lib name in vite config 2022-03-11 21:43:23 +00:00
Tom Southall
9f7ea41e63 Update changelog and version 2022-03-11 21:07:06 +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
ae48c619c4 Syntax tweak 2022-03-11 20:48:05 +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
Tom Southall
226136b0b1 Update package description and keywords 2022-03-10 00:22:55 +00:00
Tom Southall
9d1d197b14 Update split-match package version 2022-03-10 00:12:04 +00:00
Tom Southall
a9566a583a Update snapshots 2022-03-09 23:26:46 +00:00
Tom Southall
b31c85ad2f Write a big long README 2022-03-09 23:24:16 +00:00
Tom Southall
1f2c566fe0 Keep examples and plugins in git repo for now 2022-03-09 23:23:54 +00:00
Tom Southall
818c5e1444 Add keywords to package.json 2022-03-09 23:23:17 +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
8d8bd07b7b Recent searches plugin uses function for fetcher to ensure latest localStorage state is fetched 2022-03-09 16:38:23 +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
7971d6b9a2 Do not push examples or plugins 2022-03-08 22:38:16 +00:00
Tom Southall
852f4c2d52 Handle string items in recent searches plugin 2022-03-08 22:36:56 +00:00
Tom Southall
3729abe23a Remove console.log 2022-03-08 21:55:27 +00:00
Tom Southall
0ecb44f4c3 Add missing parens 2022-03-08 21:40:35 +00:00
Tom Southall
6c18efacf2 Fix localStorage state in recent searches plugin 2022-03-08 21:35:46 +00:00
Tom Southall
b575a4b46d Add missing useEffect dependencies 2022-03-08 20:34:32 +00:00
Tom Southall
25c3f7b7e4 Add eslint-plugin-react-hooks 2022-03-08 20:03:22 +00:00
Tom Southall
9448ed2891 Gitignore examples 2022-03-08 17:44:34 +00:00
Tom Southall
1987fabaa3 Bump version 2022-03-04 18:08:38 +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
55354f5168 Remove xmlns 2022-03-04 16:27:49 +00:00
Tom Southall
76b354e6ab Bump version 2022-03-04 16:11:47 +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
7e8cc776ce Add escape-string-regexp 2022-03-03 16:43:20 +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