1
0
Fork 0
Commit graph

127 commits

Author SHA1 Message Date
François Chalifour
145593a295 chore(build): update shared Rollup config 2020-07-21 10:42:58 +02:00
François Chalifour
5411367582 fix(website): memoize onInput callback 2020-07-20 15:45:27 +02:00
François Chalifour
00742f6711 refactor: fix "snippet" typoe 2020-07-20 15:37:29 +02:00
François Chalifour
81092060d5 feat(docsearch): support initialQuery
Closes #51
2020-07-20 15:36:56 +02:00
François Chalifour
1cec65bbe0 fix(search): hide content when `disableUserPersonalization 2020-07-20 11:40:00 +02:00
François Chalifour
a40cc0351e feat(docsearch): introduce disableUserPersonalization API 2020-07-09 17:49:52 +02:00
François Chalifour
77daceeb23 chore: release v1.0.0-alpha.22 (#57) 2020-07-09 17:19:33 +02:00
François Chalifour
9a2188548c feat(website): lazy load DocSearch styles 2020-07-09 12:15:04 +02:00
François Chalifour
79a972b520 feat(docsearch): track docsearch-react UA 2020-07-09 12:04:12 +02:00
François Chalifour
267c22f27f feat(docsearch): attach docsearch.js user agent to vanilla renderer 2020-07-09 11:11:10 +02:00
François Chalifour
70b4de690d feat(docsearch): introduce transformSearchClient API
`transformSearchClient` allows to attach user agents to the search client, to manipulate the cache, etc.
2020-07-09 11:10:44 +02:00
François Chalifour
a358695c25 feat(docsearch): introduce DocSearch.js v3 (#56) 2020-07-09 10:54:38 +02:00
François Chalifour
ae3c713ed4 refactor: remove unused API 2020-07-08 14:37:59 +02:00
François Chalifour
cf84a256a4 fix(docsearch): support initial query 2020-07-08 14:37:59 +02:00
François Chalifour
7eeb30bf22 chore: release v1.0.0-alpha.21 (#55) 2020-07-07 16:46:47 +02:00
François Chalifour
92e2565d45 feat(docsearch): support keyboard on focus on default integration 2020-07-07 15:04:57 +02:00
François Chalifour
2a00d3f3c0 refactor(docsearch): manage input focus with effects
The `autoFocus` prop is not standardize when coming from a component that gets mounted after the first page load.

Although this works with React, it does with Preact. This makes it work with both libraries.
2020-07-07 15:04:11 +02:00
François Chalifour
929b1c6a72 feat(docsearch): support typing query when search button is focused (#54) 2020-07-07 09:54:42 +02:00
Shipow
43ea3752fd fix(css): firefox placeholder opacity 2020-07-04 23:29:45 +02:00
Shipow
1957f5ad5f fix(css): don't display key shortcuts on mobile 2020-07-04 10:30:59 +02:00
François Chalifour
dde883ebe3 fix(docsearch): remove theme media query 2020-07-02 15:12:17 +02:00
Shipow
41e00c1985 Merge branch 'next' of https://github.com/francoischalifour/autocomplete.js into next 2020-07-01 17:42:33 +02:00
Shipow
422f683add css(docsearch): split css + remove docusaurus variables 2020-07-01 17:42:28 +02:00
François Chalifour
83c7750d93 chore: release v1.0.0-alpha.20 (#53) 2020-07-01 15:44:19 +02:00
François Chalifour
5725023ae7 feat(docsearch): add / keyboard shortcut 2020-07-01 15:00:46 +02:00
François Chalifour
c13fa9f7bb chore: release v1.0.0-alpha.19 (#52) 2020-06-24 12:29:32 +02:00
François Chalifour
1b9952fa9d fix(docsearch): hoist transformItems default value
This fixes a bug where the `transformItems` function reference changes and the `autocomplete` instance is recreated every time.
2020-06-24 12:21:59 +02:00
Shipow
07932127ad css(docsearch): lint 2020-06-19 10:31:44 +02:00
Shipow
239b5b10e7 css(docsearch): lint 2020-06-19 10:24:07 +02:00
Shipow
f77fd9edbe lint(css): Added Style lint 2020-06-18 14:12:28 +02:00
Shipow
77a39a6a5d fix(css): fixed Modal height undefined on Gecko 2020-06-17 17:04:22 +02:00
François Chalifour
2582dc703c chore: release v1.0.0-alpha.18 (#50) 2020-06-11 11:38:51 +02:00
François Chalifour
93a447e959 refactor(docsearch): remove unused variable 2020-06-11 11:24:22 +02:00
François Chalifour
bf4dc9a170 feat(docsearch): introduce initialScrollY option 2020-06-11 11:18:29 +02:00
Shipow
37a0bf661a test(cypress): Fix tests Recent and Favorites actions 2020-06-10 19:18:09 +02:00
Shipow
cca770052a fix(css): overflow overlay not supported on gecko 2020-06-09 10:37:56 +02:00
François Chalifour
042f5c47ae chore: release v1.0.0-alpha.17 (#48) 2020-06-08 15:49:42 +02:00
François Chalifour
1f9deb1322 fix(docsearch): use scrollTo when unmounting modal 2020-06-08 15:46:17 +02:00
François Chalifour
ad3dc51914 chore: release v1.0.0-alpha.16 (#47) 2020-06-08 11:55:18 +02:00
François Chalifour
f9a5b6b76e refactor(docsearch): format CSS 2020-06-08 11:10:32 +02:00
François Chalifour
9893bb3c49 fix(dosearch): don't add distinct search parameter 2020-06-08 10:43:34 +02:00
François Chalifour
1e31dde432 refactor(docsearch): refactor search button 2020-06-08 10:43:17 +02:00
François Chalifour
e5896579be feat(docsearch): display 5 hits per category maximum 2020-06-05 14:44:55 +02:00
François Chalifour
9eaf18a81f feat(docsearch): introduce resultsFooterComponent option 2020-06-05 14:42:59 +02:00
Shipow
5df5069a38 Merge branch 'next' of https://github.com/francoischalifour/autocomplete.js into next 2020-06-05 10:06:08 +02:00
Shipow
63a4b4a555 fix(design) Control Key Icon 2020-06-05 10:05:55 +02:00
François Chalifour
262ddcb2f3 fix(docsearch): always use aria-expanded to true 2020-06-04 15:13:18 +02:00
Shipow
6ce9fa91be fix(css) reduce search button footprint + tweak scrollbar 2020-06-04 14:48:38 +02:00
Shipow
d7ea68ee8d fix(css) hide placeholder on mobile + simple primary color effect 2020-06-04 11:18:32 +02:00
François Chalifour
6fa2fd9d3a chore: release v1.0.0-alpha.15 (#46) 2020-05-20 12:13:48 +02:00