1
0
Fork 0
Commit graph

1441 commits

Author SHA1 Message Date
François Chalifour
f214d8d9af fix(docsearch): add padding to dropdown when no recent searches
This applies when `disableUserPersonalization` is `true`.
2020-07-22 10:37:38 +02:00
François Chalifour
26bc858de6 feat(DocSearch): add DocSearch CSS class to DocSearch elements 2020-07-22 10:36:51 +02:00
François Chalifour
a738af0a9a fix(docsearch): rename DocSearch-Button CSS class 2020-07-22 10:36:13 +02:00
François Chalifour
8588b965e9 fix(docsearch): rename DocSearch-Button CSS class 2020-07-22 10:36:13 +02:00
François Chalifour
481f2bc85f chore(lint): sort imports 2020-07-21 11:01:02 +02:00
François Chalifour
2b2cbcf984 chore(lint): sort imports 2020-07-21 11:01:02 +02:00
François Chalifour
d8da20026c chore(build): update shared Rollup config 2020-07-21 10:42:58 +02:00
François Chalifour
145593a295 chore(build): update shared Rollup config 2020-07-21 10:42:58 +02:00
François Chalifour
4acf723bec fix(docsearch): use Preact alias in Babel config 2020-07-21 10:29:47 +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
420382aa4a chore: release v1.0.0-alpha.22 (#57) 2020-07-09 17:19:33 +02:00
François Chalifour
ba323140dc chore: release v1.0.0-alpha.22 (#57) 2020-07-09 17:19:33 +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
873327413c feat(website): lazy load DocSearch styles 2020-07-09 12:15:04 +02:00
François Chalifour
9a2188548c feat(website): lazy load DocSearch styles 2020-07-09 12:15:04 +02:00
François Chalifour
715bc4f925 feat(docsearch): track docsearch-react UA 2020-07-09 12:04:12 +02:00
François Chalifour
79a972b520 feat(docsearch): track docsearch-react UA 2020-07-09 12:04:12 +02:00
François Chalifour
f9398c45a5 feat(docsearch): attach docsearch.js user agent to vanilla renderer 2020-07-09 11:11:10 +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
86a6a5df6c feat(docsearch): introduce DocSearch.js v3 (#56) 2020-07-09 10:54:38 +02:00
François Chalifour
c7f2645d3f feat(docsearch): introduce DocSearch.js v3 (#56) 2020-07-09 10:54:38 +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
dependabot[bot]
a505c52126
chore(deps-dev): bump mversion from 1.13.0 to 2.0.0 (#956)
* chore(deps-dev): bump mversion from 1.13.0 to 2.0.0 to fix vulnerability

Bumps [mversion](https://github.com/mikaelbr/mversion) from 1.13.0 to 2.0.0.
- [Release notes](https://github.com/mikaelbr/mversion/releases)
- [Commits](https://github.com/mikaelbr/mversion/compare/v1.13.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

* fix(deps): update failling yarn.lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: s-pace <sylvain.pace@algolia.com>
2020-06-19 15:58:50 +02:00
Sylvain Pace
36ba461e05
fix(deps): update failling yarn.lock (#957) 2020-06-19 15:37:52 +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