@docusaurus/theme-search-algolia 0.0.0-4175 → 0.0.0-4183

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-4175",
3
+ "version": "0.0.0-4183",
4
4
  "description": "Algolia search component for Docusaurus.",
5
5
  "main": "src/index.js",
6
6
  "publishConfig": {
@@ -14,10 +14,10 @@
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
16
  "@docsearch/react": "^3.0.0-alpha.39",
17
- "@docusaurus/core": "0.0.0-4175",
18
- "@docusaurus/theme-common": "0.0.0-4175",
19
- "@docusaurus/utils": "0.0.0-4175",
20
- "@docusaurus/utils-validation": "0.0.0-4175",
17
+ "@docusaurus/core": "0.0.0-4183",
18
+ "@docusaurus/theme-common": "0.0.0-4183",
19
+ "@docusaurus/utils": "0.0.0-4183",
20
+ "@docusaurus/utils-validation": "0.0.0-4183",
21
21
  "algoliasearch": "^4.10.5",
22
22
  "algoliasearch-helper": "^3.5.5",
23
23
  "clsx": "^1.1.1",
@@ -31,5 +31,5 @@
31
31
  "engines": {
32
32
  "node": ">=14"
33
33
  },
34
- "gitHead": "7d4b7faa799f8c4a8d98d0970a2f3f9cf271cac3"
34
+ "gitHead": "35b5777f9c0ddd08fc2f6912bb95667c20b620da"
35
35
  }
@@ -9,8 +9,8 @@ import React from 'react';
9
9
 
10
10
  import Head from '@docusaurus/Head';
11
11
 
12
- // Override default/agnostic SearchMetas to use Algolia-specific metadatas
13
- export default function AlgoliaSearchMetadatas({locale, version, tag}) {
12
+ // Override default/agnostic SearchMetas to use Algolia-specific metadata
13
+ export default function AlgoliaSearchMetadata({locale, version, tag}) {
14
14
  // Seems safe to consider here the locale is the language,
15
15
  // as the existing docsearch:language filter is afaik a regular string-based filter
16
16
  const language = locale;
@@ -11,7 +11,7 @@ import useContextualSearchFilters from '@theme/hooks/useContextualSearchFilters'
11
11
  export default function useAlgoliaContextualFacetFilters() {
12
12
  const {locale, tags} = useContextualSearchFilters();
13
13
 
14
- // seems safe to convert locale->language, see AlgoliaSearchMetadatas comment
14
+ // seems safe to convert locale->language, see AlgoliaSearchMetadata comment
15
15
  const languageFilter = `language:${locale}`;
16
16
 
17
17
  const tagsFilter = tags.map((tag) => `docusaurus_tag:${tag}`);