@docusaurus/theme-search-algolia 0.0.0-4463 → 0.0.0-4479

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.
@@ -6,7 +6,7 @@
6
6
  */
7
7
  import React from 'react';
8
8
  import Head from '@docusaurus/Head';
9
- // Override default/agnostic SearchMetas to use Algolia-specific metadata
9
+ // Override default/agnostic SearchMetadata to use Algolia-specific metadata
10
10
  function SearchMetadata({ locale, version, tag }) {
11
11
  // Seems safe to consider here the locale is the language,
12
12
  // as the existing docsearch:language filter is afaik a regular string-based filter
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  .searchResultItemSummary {
61
- margin: 0.5rem 0 0 0;
61
+ margin: 0.5rem 0 0;
62
62
  font-style: italic;
63
63
  }
64
64
 
@@ -98,11 +98,11 @@
98
98
  border: 0.4em solid #eee;
99
99
  border-top-color: var(--ifm-color-primary);
100
100
  border-radius: 50%;
101
- animation: loadingspin 1s linear infinite;
101
+ animation: loading-spin 1s linear infinite;
102
102
  margin: 0 auto;
103
103
  }
104
104
 
105
- @keyframes loadingspin {
105
+ @keyframes loading-spin {
106
106
  100% {
107
107
  transform: rotate(360deg);
108
108
  }
@@ -114,6 +114,6 @@
114
114
 
115
115
  :global(.search-result-match) {
116
116
  color: var(--docsearch-hit-color);
117
- background: rgba(255, 215, 142, 0.25);
117
+ background: rgb(255 215 142 / 25%);
118
118
  padding: 0.09em 0;
119
119
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-search-algolia",
3
- "version": "0.0.0-4463",
3
+ "version": "0.0.0-4479",
4
4
  "description": "Algolia search component for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "exports": {
@@ -25,12 +25,12 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@docsearch/react": "^3.0.0-alpha.39",
28
- "@docusaurus/core": "0.0.0-4463",
29
- "@docusaurus/logger": "0.0.0-4463",
30
- "@docusaurus/theme-common": "0.0.0-4463",
31
- "@docusaurus/theme-translations": "0.0.0-4463",
32
- "@docusaurus/utils": "0.0.0-4463",
33
- "@docusaurus/utils-validation": "0.0.0-4463",
28
+ "@docusaurus/core": "0.0.0-4479",
29
+ "@docusaurus/logger": "0.0.0-4479",
30
+ "@docusaurus/theme-common": "0.0.0-4479",
31
+ "@docusaurus/theme-translations": "0.0.0-4479",
32
+ "@docusaurus/utils": "0.0.0-4479",
33
+ "@docusaurus/utils-validation": "0.0.0-4479",
34
34
  "algoliasearch": "^4.10.5",
35
35
  "algoliasearch-helper": "^3.5.5",
36
36
  "clsx": "^1.1.1",
@@ -40,7 +40,7 @@
40
40
  "utility-types": "^3.10.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@docusaurus/module-type-aliases": "0.0.0-4463",
43
+ "@docusaurus/module-type-aliases": "0.0.0-4479",
44
44
  "fs-extra": "^10.0.0"
45
45
  },
46
46
  "peerDependencies": {
@@ -50,5 +50,5 @@
50
50
  "engines": {
51
51
  "node": ">=14"
52
52
  },
53
- "gitHead": "bb38179c9797527fa1877c8aa20a10a42c7900ad"
53
+ "gitHead": "c85b2f2a43cfed30c1621ccb21057dfd19770a33"
54
54
  }
@@ -10,7 +10,7 @@ import React from 'react';
10
10
  import Head from '@docusaurus/Head';
11
11
  import type {Props} from '@theme/SearchMetadata';
12
12
 
13
- // Override default/agnostic SearchMetas to use Algolia-specific metadata
13
+ // Override default/agnostic SearchMetadata to use Algolia-specific metadata
14
14
  function SearchMetadata({locale, version, tag}: Props): JSX.Element {
15
15
  // Seems safe to consider here the locale is the language,
16
16
  // as the existing docsearch:language filter is afaik a regular string-based filter
@@ -58,7 +58,7 @@
58
58
  }
59
59
 
60
60
  .searchResultItemSummary {
61
- margin: 0.5rem 0 0 0;
61
+ margin: 0.5rem 0 0;
62
62
  font-style: italic;
63
63
  }
64
64
 
@@ -98,11 +98,11 @@
98
98
  border: 0.4em solid #eee;
99
99
  border-top-color: var(--ifm-color-primary);
100
100
  border-radius: 50%;
101
- animation: loadingspin 1s linear infinite;
101
+ animation: loading-spin 1s linear infinite;
102
102
  margin: 0 auto;
103
103
  }
104
104
 
105
- @keyframes loadingspin {
105
+ @keyframes loading-spin {
106
106
  100% {
107
107
  transform: rotate(360deg);
108
108
  }
@@ -114,6 +114,6 @@
114
114
 
115
115
  :global(.search-result-match) {
116
116
  color: var(--docsearch-hit-color);
117
- background: rgba(255, 215, 142, 0.25);
117
+ background: rgb(255 215 142 / 25%);
118
118
  padding: 0.09em 0;
119
119
  }