@docusaurus/theme-search-algolia 0.0.0-4597 → 0.0.0-4606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-search-algolia",
3
- "version": "0.0.0-4597",
3
+ "version": "0.0.0-4606",
4
4
  "description": "Algolia search component for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -26,12 +26,12 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@docsearch/react": "^3.0.0-alpha.50",
29
- "@docusaurus/core": "0.0.0-4597",
30
- "@docusaurus/logger": "0.0.0-4597",
31
- "@docusaurus/theme-common": "0.0.0-4597",
32
- "@docusaurus/theme-translations": "0.0.0-4597",
33
- "@docusaurus/utils": "0.0.0-4597",
34
- "@docusaurus/utils-validation": "0.0.0-4597",
29
+ "@docusaurus/core": "0.0.0-4606",
30
+ "@docusaurus/logger": "0.0.0-4606",
31
+ "@docusaurus/theme-common": "0.0.0-4606",
32
+ "@docusaurus/theme-translations": "0.0.0-4606",
33
+ "@docusaurus/utils": "0.0.0-4606",
34
+ "@docusaurus/utils-validation": "0.0.0-4606",
35
35
  "algoliasearch": "^4.12.1",
36
36
  "algoliasearch-helper": "^3.7.0",
37
37
  "clsx": "^1.1.1",
@@ -41,7 +41,7 @@
41
41
  "utility-types": "^3.10.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@docusaurus/module-type-aliases": "0.0.0-4597",
44
+ "@docusaurus/module-type-aliases": "0.0.0-4606",
45
45
  "fs-extra": "^10.0.0"
46
46
  },
47
47
  "peerDependencies": {
@@ -51,5 +51,5 @@
51
51
  "engines": {
52
52
  "node": ">=14"
53
53
  },
54
- "gitHead": "635ab60e7cf821111d46dee45baf932c5bf8220f"
54
+ "gitHead": "b3b0a96db25fe575c5030ff5398cb11c10c871e3"
55
55
  }
@@ -1,11 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
- /// <reference types="@docusaurus/theme-classic" />
8
- /// <reference types="react" />
9
- import type { Props } from '@theme/SearchMetadata';
10
- declare function SearchMetadata({ locale, version, tag }: Props): JSX.Element;
11
- export default SearchMetadata;
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
- import React from 'react';
8
- import Head from '@docusaurus/Head';
9
- // Override default/agnostic SearchMetadata to use Algolia-specific metadata
10
- function SearchMetadata({locale, version, tag}) {
11
- // Seems safe to consider here the locale is the language, as the existing
12
- // docsearch:language filter is afaik a regular string-based filter
13
- const language = locale;
14
- return (
15
- <Head>
16
- {language && <meta name="docsearch:language" content={language} />}
17
- {version && <meta name="docsearch:version" content={version} />}
18
- {tag && <meta name="docsearch:docusaurus_tag" content={tag} />}
19
- </Head>
20
- );
21
- }
22
- export default SearchMetadata;
@@ -1,28 +0,0 @@
1
- /**
2
- * Copyright (c) Facebook, Inc. and its affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- */
7
-
8
- import React from 'react';
9
-
10
- import Head from '@docusaurus/Head';
11
- import type {Props} from '@theme/SearchMetadata';
12
-
13
- // Override default/agnostic SearchMetadata to use Algolia-specific metadata
14
- function SearchMetadata({locale, version, tag}: Props): JSX.Element {
15
- // Seems safe to consider here the locale is the language, as the existing
16
- // docsearch:language filter is afaik a regular string-based filter
17
- const language = locale;
18
-
19
- return (
20
- <Head>
21
- {language && <meta name="docsearch:language" content={language} />}
22
- {version && <meta name="docsearch:version" content={version} />}
23
- {tag && <meta name="docsearch:docusaurus_tag" content={tag} />}
24
- </Head>
25
- );
26
- }
27
-
28
- export default SearchMetadata;