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
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
François Chalifour
1ef1947721
fix(docsearch): use scrollTop on body
2020-05-20 11:42:48 +02:00
Shipow
c0baaa63e1
fix(css): scroll windows
2020-05-20 09:28:35 +02:00
Shipow
faf6ef13bf
fix(css): separate docusaurus css variables
2020-05-18 14:27:45 +02:00
François Chalifour
61e455ee43
chore: release v1.0.0-alpha.14 ( #45 )
2020-05-15 16:21:06 +02:00
François Chalifour
686ce48842
chore: rename DocSearch package
2020-05-15 15:54:13 +02:00
François Chalifour
b2c65fea53
chore(docsearch): update style location
2020-05-15 15:43:03 +02:00
François Chalifour
4b007b67c8
feat(docusaurus): import DocSearch modal on hover
2020-05-14 14:16:11 +02:00
François Chalifour
65a98b07ed
feat(docsearch): add DocSearch component
2020-05-14 13:52:21 +02:00
François Chalifour
adadacd531
feat(docsearch): add useDocSearchKeyboardEvents API
2020-05-14 12:27:28 +02:00
François Chalifour
ea9c7002de
fix(docsearch): remove blur effect to avoid performance issues
2020-05-14 11:19:58 +02:00
François Chalifour
3d9566422b
fix(docsearch): use absolute URLs
2020-05-14 11:03:29 +02:00