Commit Graph

  • 9282c4b7ef If the text prop is supplied and a matching item is found, onSelect is automatically fired main Tom Southall 2022-05-19 15:41:43 +01:00
  • 28ac24be57 Bump version Tom Southall 2022-05-14 10:04:07 +01:00
  • a92e414eb2 Changing styles prop now triggers a re-render Tom Southall 2022-05-13 15:54:38 +01:00
  • 9510480707 Resolve merge conflicts Tom Southall 2022-05-11 18:43:09 +01:00
  • 904121a96a No longer automatically fire onSelect and onChange events on first render. Only in response to user events. Tom Southall 2022-05-11 18:41:16 +01:00
  • 8d6863e3f6 Remove redundant react-use dependency Tom Southall 2022-05-11 12:02:59 +01:00
  • 2b1bd141fa Expose DOM methods via a forwarded ref Tom Southall 2022-04-06 22:27:33 +01:00
  • c1d53e1d2b Allow functions for listbox and defaultListbox props Tom Southall 2022-04-02 23:35:52 +01:00
  • 791622770a Remove console log Tom Southall 2022-04-02 12:56:14 +01:00
  • 941c25926e Move test API host to env. Add plugin as import. Tom Southall 2022-04-02 12:55:19 +01:00
  • 7ddfdcdada Remove temp plugins folder Tom Southall 2022-04-02 12:35:42 +01:00
  • ada24e2606 Add CodeSandbox demo to README Tom Southall 2022-03-26 20:38:36 +00:00
  • 250304b743 Bump version Tom Southall 2022-03-25 16:44:20 +00:00
  • 9a0d126770 Left align container div contents when focussed by default Tom Southall 2022-03-25 16:43:21 +00:00
  • a75a3b7378 Left align container div contents by default Tom Southall 2022-03-25 16:36:56 +00:00
  • 7018a8835e Fix issue affecting various keypresses when search box is empty Tom Southall 2022-03-25 16:34:32 +00:00
  • df4a549133 Fix issue in basic REAMDE example Tom Southall 2022-03-25 16:08:14 +00:00
  • 8c0916245d Update version and changelog to 1.2.1 Tom Southall 2022-03-24 13:07:13 +00:00
  • 95629360b5 Fix minimist dependency vulnerability Tom Southall 2022-03-24 13:04:55 +00:00
  • dcc7bfb640 Add enterKeyHint prop Tom Southall 2022-03-24 12:14:42 +00:00
  • 613cf75279 Add live demo links to README Tom Southall 2022-03-16 19:13:17 +00:00
  • 9a2f83a934 Change example screenshot Tom Southall 2022-03-15 16:01:23 +00:00
  • cf8bff37bb Correct version number in CHANGELOG Tom Southall 2022-03-15 15:42:13 +00:00
  • cbe957195d Prevent no items message from displaying whilst items are being fetched Tom Southall 2022-03-15 15:41:32 +00:00
  • aad534f187 Remove redundant TODOs Tom Southall 2022-03-15 14:42:04 +00:00
  • ebacd8b6ef Add note to README regarding onSelect being called when an item is no longer selected Tom Southall 2022-03-15 14:19:48 +00:00
  • 238080b01f Use autofocus HTML attribute instead of a useEffect hook Tom Southall 2022-03-15 14:13:49 +00:00
  • 90ecbb0caf Add MIT License Tom Southall 2022-03-15 14:06:11 +00:00
  • 8a0f3cfe5f Add pre-commit hooks for test and lint Tom Southall 2022-03-15 13:54:49 +00:00
  • 3cd6b1f017 Add no-console and no-debugger eslint rules Tom Southall 2022-03-15 13:26:22 +00:00
  • c762a77c76 Ensure a no-items message is displayed if a query is entered but no items have ever been loaded Tom Southall 2022-03-15 13:20:15 +00:00
  • ba6610a66c Do not do any text matching in default listbox Tom Southall 2022-03-15 12:48:17 +00:00
  • 4c55ad8c64 Pass the highlighted state to custom Item component Tom Southall 2022-03-15 12:42:30 +00:00
  • cf28dacd35 Only show a transparent background on input box if there is no typeahead Tom Southall 2022-03-15 12:36:24 +00:00
  • fb4b49b8c2 Alter server port and auto-open in config Tom Southall 2022-03-15 12:21:19 +00:00
  • 138aa599cf Correction to logo colour Tom Southall 2022-03-14 11:35:44 +00:00
  • a2fbbc5d34 Add screengrab gif to README Tom Southall 2022-03-13 21:58:38 +00:00
  • 9a01638783 Image formatting on README Tom Southall 2022-03-13 21:03:57 +00:00
  • 3170471975 Add Turnstone logo to README Tom Southall 2022-03-13 20:49:50 +00:00
  • 3ba8cfdaf2 Turnstone logo Tom Southall 2022-03-13 20:35:26 +00:00
  • fe7d038729 Remove plugins argument from plugin render function Tom Southall 2022-03-12 22:36:42 +00:00
  • 2d2fd18081 Date changelog Tom Southall 2022-03-12 20:58:53 +00:00
  • be90aa264e Update CHANGELOG Tom Southall 2022-03-12 20:54:21 +00:00
  • 90fc9c29c5 Remove React import Tom Southall 2022-03-12 20:53:49 +00:00
  • 2500547716 Revamp plugins so that each acts as a wrapper component around Container Tom Southall 2022-03-12 20:51:42 +00:00
  • 3284de9f62 No need for dependency Tom Southall 2022-03-11 23:35:27 +00:00
  • 2dcdfb5887 More robust checking for typeahead presence Tom Southall 2022-03-11 22:01:45 +00:00
  • 0f79dad028 Change lib name in vite config Tom Southall 2022-03-11 21:43:23 +00:00
  • 9f7ea41e63 Update changelog and version Tom Southall 2022-03-11 21:07:06 +00:00
  • 9c98b30e16 Do not show typeahead unless there is more than one item in the listbox Tom Southall 2022-03-11 21:05:51 +00:00
  • ae48c619c4 Syntax tweak Tom Southall 2022-03-11 20:48:05 +00:00
  • f3054cffd8 Correction to dates in CHANGELOG Tom Southall 2022-03-10 00:28:36 +00:00
  • 89144edeeb Add CHANGELOG Tom Southall 2022-03-10 00:26:34 +00:00
  • 226136b0b1 Update package description and keywords Tom Southall 2022-03-10 00:22:55 +00:00
  • 9d1d197b14 Update split-match package version Tom Southall 2022-03-10 00:12:04 +00:00
  • a9566a583a Update snapshots Tom Southall 2022-03-09 23:26:46 +00:00
  • b31c85ad2f Write a big long README Tom Southall 2022-03-09 23:24:16 +00:00
  • 1f2c566fe0 Keep examples and plugins in git repo for now Tom Southall 2022-03-09 23:23:54 +00:00
  • 818c5e1444 Add keywords to package.json Tom Southall 2022-03-09 23:23:17 +00:00
  • 6c5bc9cf6f Remove topItem from custom classNames. Pass group id and index to custom Item component. Tom Southall 2022-03-09 23:22:54 +00:00
  • 59b8e19cf9 Alphabetise PropTypes Tom Southall 2022-03-09 23:20:50 +00:00
  • 5cfe0a94b1 Add matchText to default props Tom Southall 2022-03-09 17:38:14 +00:00
  • e86e8373b8 Add classname to <strong> match wrapper element Tom Southall 2022-03-09 17:37:04 +00:00
  • 8d8bd07b7b Recent searches plugin uses function for fetcher to ensure latest localStorage state is fetched Tom Southall 2022-03-09 16:38:23 +00:00
  • d77d231a3b Add missing cancelButton PropTypes Tom Southall 2022-03-09 13:08:46 +00:00
  • 408e4140e1 Change z-index of listbox Tom Southall 2022-03-09 12:40:14 +00:00
  • 8531fd41ee Remove default item styling Tom Southall 2022-03-09 12:37:51 +00:00
  • 7971d6b9a2 Do not push examples or plugins Tom Southall 2022-03-08 22:38:16 +00:00
  • 852f4c2d52 Handle string items in recent searches plugin Tom Southall 2022-03-08 22:36:56 +00:00
  • 3729abe23a Remove console.log Tom Southall 2022-03-08 21:55:27 +00:00
  • 0ecb44f4c3 Add missing parens Tom Southall 2022-03-08 21:40:35 +00:00
  • 6c18efacf2 Fix localStorage state in recent searches plugin Tom Southall 2022-03-08 21:35:46 +00:00
  • b575a4b46d Add missing useEffect dependencies Tom Southall 2022-03-08 20:34:32 +00:00
  • 25c3f7b7e4 Add eslint-plugin-react-hooks Tom Southall 2022-03-08 20:03:22 +00:00
  • 9448ed2891 Gitignore examples Tom Southall 2022-03-08 17:44:34 +00:00
  • 1987fabaa3 Bump version Tom Southall 2022-03-04 18:08:38 +00:00
  • 78a2e83662 Apply special inputFocus and containerFocus classes only if supplied, otherwise fall back to input and container classes. Tom Southall 2022-03-04 18:08:02 +00:00
  • 55354f5168 Remove xmlns Tom Southall 2022-03-04 16:27:49 +00:00
  • 76b354e6ab Bump version Tom Southall 2022-03-04 16:11:47 +00:00
  • ce93a589ed Add input className Tom Southall 2022-03-04 16:11:06 +00:00
  • 1e70e1e2f2 Allow turning off typeahead via a prop Tom Southall 2022-03-04 15:35:26 +00:00
  • 4875590575 Add onFocus and onBlur props Tom Southall 2022-03-04 15:18:48 +00:00
  • ca39af8cc0 Rename ItemContents prop to Item Tom Southall 2022-03-04 15:10:02 +00:00
  • 7432818a22 Allow mobile search behaviour Tom Southall 2022-03-03 23:48:26 +00:00
  • 7e8cc776ce Add escape-string-regexp Tom Southall 2022-03-03 16:43:20 +00:00
  • 1d99e0b823 Remove display style from container Tom Southall 2022-03-03 15:28:48 +00:00
  • c74f85e653 Remove catch from fetcher Tom Southall 2022-03-03 14:42:33 +00:00
  • 46a3a446d5 Ability to include sublocations Tom Southall 2022-03-02 20:36:44 +00:00
  • 6287c16caa Assume promises resolve to an array of results rather than an object with a data property Tom Southall 2022-03-02 14:06:27 +00:00
  • aaeeaccafc Create Recent Searches plugin Tom Southall 2022-03-02 00:40:29 +00:00
  • ef61208854 Add ability to supply plugins in props Tom Southall 2022-03-02 00:40:05 +00:00
  • 19e800fd8b Add displayField as second onSelect argument Tom Southall 2022-03-01 22:37:41 +00:00
  • eb1d3a82db Add group ID Tom Southall 2022-03-01 21:12:49 +00:00
  • 71f41f896c Update split-match version Tom Southall 2022-02-25 22:38:18 +00:00
  • 52265d92fe Test watch now npm run watch Tom Southall 2022-02-25 13:51:14 +00:00
  • f74b64bd5a Rename dataSearchType prop to searchType Tom Southall 2022-02-25 00:39:01 +00:00
  • 70573f6e22 Change font weight in example Tom Southall 2022-02-25 00:37:16 +00:00
  • 3a8b0ba4ff Add useSWR error handling, errorMessage prop and errorbox component Tom Southall 2022-02-25 00:26:44 +00:00
  • 96525d8b6d Add a GroupName custom component Tom Southall 2022-02-24 15:37:46 +00:00
  • c94a5d18ee Update tests Tom Southall 2022-02-24 14:34:38 +00:00