Commit Graph

71 Commits

Author SHA1 Message Date
Andre Landgraf
2ade3865d1 refactors to functional component
- rewrites DataListInput as a functional component
- changes version to 2.0.0
- describes versioning in README
- adds more unit tests
- adds snapshot tests
- adds better a11y support by adding aria-labels and roles
2020-09-05 15:58:39 -07:00
Andre Landgraf
47d12af917 audit fix 2020-08-31 20:18:27 -07:00
andrelandgraf
6ed5ffbd18 npm audit fix 2020-06-15 02:43:19 +02:00
andrelandgraf
0423540ae7 major refactoring
- moves project to babel 7
- moves from webpack to rollup
- adds react and react-dom to dev dependencies
- adds react-testing-libary and jest
- adds first unit test
- adds eslint and eslint plugins to dev dependencies
2020-06-15 02:38:02 +02:00
andrelandgraf
7b27339467 created plain version of this package without css for ssr support, added this information to the README 2020-05-01 03:40:24 +02:00
andrelandgraf
b9410d5a2d trying to make this package work with ssr 2020-04-30 07:58:46 +02:00
andrelandgraf
ac8acc8582 trying to make this package work with ssr 2020-04-30 07:27:11 +02:00
andrelandgraf
ff85a72363 trying to make this package work with ssr 2020-04-30 07:24:50 +02:00
andrelandgraf
1c37a243d1 trying to make this package work with ssr 2020-04-30 07:22:57 +02:00
andrelandgraf
d70cd7987f trying to make this package work with ssr 2020-04-30 07:18:47 +02:00
andrelandgraf
c27673add2 trying to make this package work with ssr 2020-04-30 07:16:44 +02:00
andrelandgraf
3911ffb1ee trying to make this package work with ssr 2020-04-30 06:16:33 +02:00
andrelandgraf
ecfac5fa76 trying to make this package work with ssr 2020-04-30 05:33:13 +02:00
andrelandgraf
76ef4ab9c6 trying to make this package work with ssr 2020-04-30 04:16:35 +02:00
andrelandgraf
43afc31062 reverting back to class since it breaks 2020-04-28 09:52:56 +02:00
andrelandgraf
299513ec7a refactoring to functional component, and added onIput to type def 2020-04-28 09:42:03 +02:00
andrelandgraf
e0a4cade03 trying to make it ssr compatible 2020-04-28 06:24:56 +02:00
andrelandgraf
2e891f3e77 updating react and other dependencies, trying to make it ssr compatible, adding demo to readme 2020-04-28 06:17:56 +02:00
andrelandgraf
476f0dc3ab exposing onInput prop to receive on input change events 2020-04-28 06:00:53 +02:00
andrelandgraf
e1bf2be3ad npm audit fix 2020-04-28 05:43:21 +02:00
andrelandgraf
aec1ba1f77 npm audit fix 2020-04-28 05:42:37 +02:00
andrelandgraf
dd61464469 new version 2019-08-28 11:13:17 +02:00
andrelandgraf
81e6db3512 updating readme 2019-08-27 15:57:14 +02:00
andrelandgraf
84629a4ccb eslinting, updating after pull request merge 2019-08-23 15:00:57 +02:00
andrelandgraf
5489910f2e merging pull request 2019-08-21 15:41:23 +02:00
andrelandgraf
74e529122b new package version 2019-08-14 15:40:53 +02:00
andrelandgraf
8981f4ba39 fixing bug with keys of type number on click with mouse 2019-08-14 15:38:13 +02:00
andrelandgraf
44002b8df9 readme 2019-06-24 20:57:49 +02:00
Andre Landgraf
186c277b32 minor styling fix 2019-06-21 14:46:43 +02:00
Andre Landgraf
b4d32becb7 minor styling fix 2019-06-21 14:36:26 +02:00
Andre Landgraf
c331326433 remove opinonated styling 2019-06-21 14:28:04 +02:00
Andre Landgraf
f887d164e1 styling 2019-06-21 11:35:05 +02:00
Andre Landgraf
7d6686cbde bug fixing wild ; 2019-06-21 11:15:58 +02:00
Andre Landgraf
c7579022c2 set initalValue with every clean update 2019-06-20 12:41:04 +02:00
Andre Landgraf
aad04be942 set '' as well 2019-06-20 00:01:16 +02:00
Andre Landgraf
bfaf980d4a better ux 2019-06-19 23:56:06 +02:00
Andre Landgraf
9f677a631e added initial value to override placeholder if wished 2019-06-19 23:48:51 +02:00
Andre Landgraf
79bb646270 debugging bold match 2019-06-18 09:37:56 +02:00
Andre Landgraf
a5f750ea0f debugging 2019-06-17 20:22:41 +02:00
Andre Landgraf
eb93b92ea8 debugging 2019-06-17 20:08:53 +02:00
Andre Landgraf
dee006b2ff debugging 2019-06-17 20:06:08 +02:00
Andre Landgraf
2f29e099c6 allow key to be string or number 2019-06-17 19:50:12 +02:00
Andre Landgraf
cdfa4c5124 max input length now works with default match function on input click 2019-06-17 11:31:46 +02:00
Andre Landgraf
0e4e12eb05 logical bug fixing 2019-06-13 23:40:25 +02:00
Andre Landgraf
1f410009bc this 2019-06-13 23:19:31 +02:00
Andre Landgraf
b154d2ee09 index to last item 2019-06-13 23:17:16 +02:00
Andre Landgraf
4f889e8820 show matching items on click if currentInput 2019-06-13 23:11:07 +02:00
Andre Landgraf
a8fa2d0ba0 bug fixing and more features 2019-06-13 22:15:08 +02:00
Andre Landgraf
8499550754 implemented max length 2019-06-13 21:17:49 +02:00
Andre Landgraf
30dafc8838 only show menu if matches are there 2019-06-13 18:10:15 +02:00