Skip to content

Commit

Permalink
bump docusauruas => 3.1.0 (#2176)
Browse files Browse the repository at this point in the history
  • Loading branch information
pokey authored Jan 18, 2024
1 parent 9ff8ea7 commit a4c7fc7
Show file tree
Hide file tree
Showing 4 changed files with 1,366 additions and 951 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
},
"pnpm": {
"patchedDependencies": {
"@docusaurus/theme-search-algolia@3.0.1": "patches/@docusaurus__theme-search-algolia@2.3.1.patch",
"@docusaurus/theme-search-algolia@3.1.0": "patches/@docusaurus__theme-search-algolia@3.1.0.patch",
"@types/nearley@2.11.5": "patches/@types__nearley@2.11.5.patch",
"nearley@2.20.1": "patches/nearley@2.20.1.patch"
},
Expand Down
16 changes: 8 additions & 8 deletions packages/cursorless-org-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"dependencies": {
"@algolia/client-search": "4.15.0",
"@docsearch/react": "3.3.3",
"@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@docusaurus/theme-classic": "3.0.1",
"@docusaurus/theme-common": "3.0.1",
"@docusaurus/theme-search-algolia": "3.0.1",
"@docusaurus/core": "3.1.0",
"@docusaurus/preset-classic": "3.1.0",
"@docusaurus/theme-classic": "3.1.0",
"@docusaurus/theme-common": "3.1.0",
"@docusaurus/theme-search-algolia": "3.1.0",
"@mdx-js/react": "3.0.0",
"clsx": "^1.2.1",
"mdast-util-find-and-replace": "^2.2.2",
Expand All @@ -46,9 +46,9 @@
]
},
"devDependencies": {
"@docusaurus/module-type-aliases": "3.0.1",
"@docusaurus/types": "3.0.1",
"@tsconfig/docusaurus": "2.0.0",
"@docusaurus/module-type-aliases": "3.1.0",
"@docusaurus/types": "3.1.0",
"@tsconfig/docusaurus": "2.0.2",
"@types/mdast": "4.0.3",
"typescript": "^5.2.2",
"unified": "11.0.4"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/lib/theme/SearchBar/index.js b/lib/theme/SearchBar/index.js
index 013ea405ee59fae6f2cf464e6b984eb162321e7b..0dcaaafbcb7e7506cd33c3d61dec14aa8b497138 100644
index 4df023cb619433b59c64b31e3fd832f833aba7c7..c63d1a23f53d7dbccd0f7667a5740e76bbe7bf73 100644
--- a/lib/theme/SearchBar/index.js
+++ b/lib/theme/SearchBar/index.js
@@ -4,6 +4,7 @@
Expand All @@ -8,9 +8,9 @@ index 013ea405ee59fae6f2cf464e6b984eb162321e7b..0dcaaafbcb7e7506cd33c3d61dec14aa
*/
+import useIsBrowser from '@docusaurus/useIsBrowser';
import React, {useCallback, useMemo, useRef, useState} from 'react';
import {createPortal} from 'react-dom';
import {DocSearchButton, useDocSearchKeyboardEvents} from '@docsearch/react';
import Head from '@docusaurus/Head';
@@ -49,10 +50,28 @@ function DocSearch({contextualSearch, externalUrlRegex, ...props}) {
@@ -51,10 +52,28 @@ function DocSearch({contextualSearch, externalUrlRegex, ...props}) {
mergeFacetFilters(contextualSearchFacetFilters, configFacetFilters)
: // ... or use config facetFilters
configFacetFilters;
Expand Down Expand Up @@ -38,4 +38,4 @@ index 013ea405ee59fae6f2cf464e6b984eb162321e7b..0dcaaafbcb7e7506cd33c3d61dec14aa
+ ],
};
const history = useHistory();
const searchContainer = useRef(null);
const searchContainer = useRef(null);
Loading

0 comments on commit a4c7fc7

Please sign in to comment.