@stainless-api/docs-search 0.1.0-beta.42 → 0.1.0-beta.44
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/dist/context.d.ts +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/providers/fuse.d.ts +2 -2
- package/package.json +9 -9
package/dist/context.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-O3Jwo7Us.js";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/context.d.ts
|
|
5
5
|
type SearchContextType = {
|
|
@@ -15,6 +15,6 @@ type SearchProviderProps = SearchContextType & {
|
|
|
15
15
|
declare function SearchProvider({
|
|
16
16
|
children,
|
|
17
17
|
...props
|
|
18
|
-
}: SearchProviderProps): react_jsx_runtime0.JSX.Element;
|
|
18
|
+
}: SearchProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { SearchContextType, SearchProvider, SearchProviderProps, useSearch, useSearchContext };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { l as QueryKindsType, u as ResultData } from "./types-O3Jwo7Us.js";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/form.d.ts
|
|
5
|
-
declare function SearchForm(): react_jsx_runtime0.JSX.Element;
|
|
5
|
+
declare function SearchForm(): _$react_jsx_runtime0.JSX.Element;
|
|
6
6
|
type SearchFilterProps = {
|
|
7
7
|
results: ResultData;
|
|
8
8
|
filterKind: QueryKindsType;
|
|
@@ -12,7 +12,7 @@ declare function SearchFilter({
|
|
|
12
12
|
results,
|
|
13
13
|
filterKind,
|
|
14
14
|
onChange
|
|
15
|
-
}: SearchFilterProps): react_jsx_runtime0.JSX.Element;
|
|
15
|
+
}: SearchFilterProps): _$react_jsx_runtime0.JSX.Element;
|
|
16
16
|
type SearchModalProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -20,6 +20,6 @@ type SearchModalProps = {
|
|
|
20
20
|
declare function SearchModal({
|
|
21
21
|
id,
|
|
22
22
|
open: isOpen
|
|
23
|
-
}: SearchModalProps): react_jsx_runtime0.JSX.Element;
|
|
23
|
+
}: SearchModalProps): _$react_jsx_runtime0.JSX.Element;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { SearchFilter, SearchFilterProps, SearchForm, SearchModal, SearchModalProps };
|
package/dist/providers/fuse.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as IndexEntry, x as Spec } from "../types-O3Jwo7Us.js";
|
|
2
2
|
import { DocsLanguage } from "@stainless-api/docs-ui/routing";
|
|
3
|
-
import * as fuse_js0 from "fuse.js";
|
|
3
|
+
import * as _$fuse_js0 from "fuse.js";
|
|
4
4
|
import { FuseIndex } from "fuse.js";
|
|
5
5
|
|
|
6
6
|
//#region src/providers/fuse.d.ts
|
|
@@ -12,6 +12,6 @@ declare function buildIndex(spec: Spec, language?: DocsLanguage): FuseIndexData;
|
|
|
12
12
|
declare function search({
|
|
13
13
|
content,
|
|
14
14
|
index
|
|
15
|
-
}: FuseIndexData, query: string, limit?: number): fuse_js0.FuseResult<IndexEntry>[];
|
|
15
|
+
}: FuseIndexData, query: string, limit?: number): _$fuse_js0.FuseResult<IndexEntry>[];
|
|
16
16
|
//#endregion
|
|
17
17
|
export { FuseIndexData, buildIndex, search };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stainless-api/docs-search",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.44",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -13,23 +13,23 @@
|
|
|
13
13
|
"react-dom": ">=19.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@algolia/client-search": "^5.
|
|
17
|
-
"@markdoc/markdoc": "^0.5.
|
|
16
|
+
"@algolia/client-search": "^5.50.1",
|
|
17
|
+
"@markdoc/markdoc": "^0.5.7",
|
|
18
18
|
"cheerio": "^1.2.0",
|
|
19
|
-
"fuse.js": "^7.
|
|
19
|
+
"fuse.js": "^7.2.0",
|
|
20
20
|
"lucide-react": "^0.577.0",
|
|
21
|
-
"@stainless-api/
|
|
22
|
-
"@stainless-api/ui
|
|
21
|
+
"@stainless-api/ui-primitives": "0.1.0-beta.51",
|
|
22
|
+
"@stainless-api/docs-ui": "0.1.0-beta.91"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/node": "24.12.0",
|
|
26
26
|
"@types/react": "19.2.14",
|
|
27
27
|
"@types/react-dom": "^19.2.3",
|
|
28
|
-
"dotenv": "17.
|
|
28
|
+
"dotenv": "17.4.0",
|
|
29
29
|
"react": "^19.2.4",
|
|
30
30
|
"react-dom": "^19.2.4",
|
|
31
|
-
"tsdown": "^0.21.
|
|
32
|
-
"typescript": "
|
|
31
|
+
"tsdown": "^0.21.7",
|
|
32
|
+
"typescript": "6.0.2",
|
|
33
33
|
"@stainless/eslint-config": "0.1.0-beta.1",
|
|
34
34
|
"@stainless/sdk-json": "^0.1.0-beta.9"
|
|
35
35
|
},
|