1
0
Fork 0
Commit graph

12 commits

Author SHA1 Message Date
Daiki Nishikawa
448192e07b
fix(searchbutton): fix react production hydration error (#1384)
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
2022-06-24 14:59:27 +02:00
snxx
7459a424d9
fix(button): use kbd instead of span (#1335)
Co-authored-by: shortcuts <vannicattec@gmail.com>
2022-04-17 13:17:23 +02:00
Clément Vannicatte
ef13dea393
feat(translations): expose Button and Modal translations (#1183) 2021-11-22 14:24:07 +01:00
Clément Vannicatte
7fad6a46c1
fix(button): prevent container keys ui flash (#1033)
Co-authored-by: François Chalifour <francoischalifour@users.noreply.github.com>
2021-07-23 18:36:30 +02:00
Sam Chen
c8e0c270f3
fix: eliminate keyboard shortcuts UI flash (#1021) 2021-07-21 16:55:19 +02:00
François Chalifour
8b5d4bc5c2 chore: format DocSearchButton file 2021-02-05 10:16:26 +01:00
Sébastien Lorber
44f5c7b5f8
feat: add translations prop to search button (#995) 2021-02-05 10:14:43 +01:00
Alexey Pyltsyn
f5c2a27136
fix: use spans inside button tag instead of divs (#994) 2021-02-02 10:15:17 +01:00
François Chalifour
79f5b274be fix: display keyboard shortcuts when platform exists 2020-11-25 19:53:46 +01:00
Marais Rossouw
9e4c69dec7
feat: push keyboard buttons till client (#983)
This fixes a UI flash issue on Windows where the <kbd>⌘</kbd> key shows up right before <kbd>Ctrl</kbd> when using SSG (like Docusaurus).

This happened because in these scenarii, the site is generated on a server, and we can't know yet what will the user's OS be.

Closes facebook/docusaurus#3682.
2020-11-05 10:36:57 +01:00
François Chalifour
8640418995 fix(docsearch): group search button elements in containers (#74) 2020-09-02 08:53:53 +02:00
François Chalifour
038d448b65 chore: move docsearch-react to packages 2020-09-01 11:36:46 +02:00
Renamed from src/DocSearchButton.tsx (Browse further)