@docsearch/react
Advanced tools
| import { BaseItem, AutocompleteState, AutocompleteContext, AutocompleteInsightsApi, AutocompleteOptions } from '@algolia/autocomplete-core'; | ||
| import { LiteClient, SearchParamsObject } from 'algoliasearch/lite'; | ||
| import React from 'react'; | ||
| import React, { JSX } from 'react'; | ||
@@ -202,8 +202,8 @@ type ContentType = 'content' | 'lvl0' | 'lvl1' | 'lvl2' | 'lvl3' | 'lvl4' | 'lvl5' | 'lvl6'; | ||
| onInput?: (event: KeyboardEvent) => void; | ||
| searchButtonRef?: React.RefObject<HTMLButtonElement>; | ||
| searchButtonRef: React.RefObject<HTMLButtonElement | null>; | ||
| } | ||
| declare function useDocSearchKeyboardEvents({ isOpen, onOpen, onClose, onInput, searchButtonRef, }: UseDocSearchKeyboardEventsProps): void; | ||
| declare const version = "3.8.3"; | ||
| declare const version = "3.9.0"; | ||
| export { type ButtonTranslations, DocSearch, DocSearchButton, type DocSearchButtonProps, type DocSearchHit, DocSearchModal, type DocSearchModalProps, type DocSearchProps, type DocSearchState, type DocSearchTransformClient, type DocSearchTranslations, type InternalDocSearchHit, type ModalTranslations, type StoredDocSearchHit, type UseDocSearchKeyboardEventsProps, useDocSearchKeyboardEvents, version }; |
+5
-5
| { | ||
| "name": "@docsearch/react", | ||
| "description": "React package for DocSearch, the best search experience for docs.", | ||
| "version": "3.8.3", | ||
| "version": "3.9.0", | ||
| "license": "MIT", | ||
@@ -41,3 +41,3 @@ "homepage": "https://docsearch.algolia.com", | ||
| "@algolia/autocomplete-preset-algolia": "1.17.9", | ||
| "@docsearch/css": "3.8.3", | ||
| "@docsearch/css": "3.9.0", | ||
| "algoliasearch": "^5.14.2" | ||
@@ -52,5 +52,5 @@ }, | ||
| "peerDependencies": { | ||
| "@types/react": ">= 16.8.0 < 19.0.0", | ||
| "react": ">= 16.8.0 < 19.0.0", | ||
| "react-dom": ">= 16.8.0 < 19.0.0", | ||
| "@types/react": ">= 16.8.0 < 20.0.0", | ||
| "react": ">= 16.8.0 < 20.0.0", | ||
| "react-dom": ">= 16.8.0 < 20.0.0", | ||
| "search-insights": ">= 1 < 3" | ||
@@ -57,0 +57,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
556839
0.05%+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated