@docusaurus/theme-search-algolia 4.0.0-canary-6880 → 4.0.0-canary-6881

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.
@@ -4,7 +4,7 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- import React, {useCallback, useMemo, useRef, useState} from 'react';
7
+ import {useCallback, useMemo, useRef, useState} from 'react';
8
8
  import {createPortal} from 'react-dom';
9
9
  import {DocSearchButton} from '@docsearch/react/button';
10
10
  import {useDocSearchKeyboardEvents} from '@docsearch/react/useDocSearchKeyboardEvents';
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  /* eslint-disable jsx-a11y/no-autofocus */
8
- import React, {useEffect, useReducer, useRef, useState} from 'react';
8
+ import {useEffect, useReducer, useRef, useState} from 'react';
9
9
  import clsx from 'clsx';
10
10
  import algoliaSearchHelper from 'algoliasearch-helper';
11
11
  import {liteClient} from 'algoliasearch/lite';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/theme-search-algolia",
3
- "version": "4.0.0-canary-6880",
3
+ "version": "4.0.0-canary-6881",
4
4
  "description": "Algolia search component for Docusaurus.",
5
5
  "main": "lib/index.js",
6
6
  "sideEffects": [
@@ -35,13 +35,13 @@
35
35
  "dependencies": {
36
36
  "@algolia/autocomplete-core": "^1.19.10",
37
37
  "@docsearch/react": "^4.7.0",
38
- "@docusaurus/core": "4.0.0-canary-6880",
39
- "@docusaurus/plugin-content-docs": "4.0.0-canary-6880",
40
- "@docusaurus/theme-classic": "4.0.0-canary-6880",
41
- "@docusaurus/theme-common": "4.0.0-canary-6880",
42
- "@docusaurus/theme-translations": "4.0.0-canary-6880",
43
- "@docusaurus/utils": "4.0.0-canary-6880",
44
- "@docusaurus/utils-validation": "4.0.0-canary-6880",
38
+ "@docusaurus/core": "4.0.0-canary-6881",
39
+ "@docusaurus/plugin-content-docs": "4.0.0-canary-6881",
40
+ "@docusaurus/theme-classic": "4.0.0-canary-6881",
41
+ "@docusaurus/theme-common": "4.0.0-canary-6881",
42
+ "@docusaurus/theme-translations": "4.0.0-canary-6881",
43
+ "@docusaurus/utils": "4.0.0-canary-6881",
44
+ "@docusaurus/utils-validation": "4.0.0-canary-6881",
45
45
  "algoliasearch": "^5.57.0",
46
46
  "algoliasearch-helper": "^3.29.3",
47
47
  "clsx": "^2.1.1",
@@ -52,8 +52,8 @@
52
52
  "utility-types": "^3.11.0"
53
53
  },
54
54
  "devDependencies": {
55
- "@docusaurus/module-type-aliases": "4.0.0-canary-6880",
56
- "@docusaurus/types": "4.0.0-canary-6880",
55
+ "@docusaurus/module-type-aliases": "4.0.0-canary-6881",
56
+ "@docusaurus/types": "4.0.0-canary-6881",
57
57
  "@types/react-dom": "^19.3.0"
58
58
  },
59
59
  "peerDependencies": {
@@ -63,5 +63,5 @@
63
63
  "engines": {
64
64
  "node": ">=24.21"
65
65
  },
66
- "gitHead": "1a9593cffbf29c065ddd5aac5f213a17dc69a261"
66
+ "gitHead": "e430343b0caccec7c7db3553dca51f181d3d9c3b"
67
67
  }
@@ -5,13 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import React, {
9
- useCallback,
10
- useMemo,
11
- useRef,
12
- useState,
13
- type ReactNode,
14
- } from 'react';
8
+ import {useCallback, useMemo, useRef, useState, type ReactNode} from 'react';
15
9
  import {createPortal} from 'react-dom';
16
10
  import {DocSearchButton} from '@docsearch/react/button';
17
11
  import {useDocSearchKeyboardEvents} from '@docsearch/react/useDocSearchKeyboardEvents';
@@ -7,13 +7,7 @@
7
7
 
8
8
  /* eslint-disable jsx-a11y/no-autofocus */
9
9
 
10
- import React, {
11
- type ReactNode,
12
- useEffect,
13
- useReducer,
14
- useRef,
15
- useState,
16
- } from 'react';
10
+ import {type ReactNode, useEffect, useReducer, useRef, useState} from 'react';
17
11
  import clsx from 'clsx';
18
12
 
19
13
  import algoliaSearchHelper from 'algoliasearch-helper';