@dxos/plugin-search 0.8.1-main.ae460ac → 0.8.1-main.ba2dec9
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/types/src/components/SearchDialog.d.ts +2 -1
- package/dist/types/src/components/SearchDialog.d.ts.map +1 -1
- package/dist/types/src/components/SearchResults/SearchResults.d.ts +1 -1
- package/dist/types/src/components/SearchResults/SearchResults.d.ts.map +1 -1
- package/dist/types/src/components/Searchbar/Searchbar.d.ts +2 -1
- package/dist/types/src/components/Searchbar/Searchbar.d.ts.map +1 -1
- package/dist/types/src/context.d.ts +2 -2
- package/dist/types/src/context.d.ts.map +1 -1
- package/package.json +18 -18
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
export declare const SEARCH_DIALOG = "dxos.org/plugin/search/SearchDialog";
|
|
2
3
|
export type SearchDialogProps = {
|
|
3
4
|
pivotId: string;
|
|
4
5
|
};
|
|
5
|
-
export declare const SearchDialog: ({ pivotId }: SearchDialogProps) =>
|
|
6
|
+
export declare const SearchDialog: ({ pivotId }: SearchDialogProps) => React.JSX.Element;
|
|
6
7
|
//# sourceMappingURL=SearchDialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchDialog.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SearchDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/SearchDialog.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAajE,eAAO,MAAM,aAAa,wCAAkC,CAAC;AAuB7D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,YAAY,gBAAiB,iBAAiB,sBA8E1D,CAAC"}
|
|
@@ -16,5 +16,5 @@ export type SearchResultsProps = {
|
|
|
16
16
|
selected?: string;
|
|
17
17
|
onSelect?: (id: string) => void;
|
|
18
18
|
};
|
|
19
|
-
export declare const SearchResults: ({ items, selected, onSelect }: SearchResultsProps) =>
|
|
19
|
+
export declare const SearchResults: ({ items, selected, onSelect }: SearchResultsProps) => React.JSX.Element;
|
|
20
20
|
//# sourceMappingURL=SearchResults.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchResults.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchResults/SearchResults.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAkBtD,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAyBxD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AAE1G,eAAO,MAAM,UAAU;cAFkC,OAAO;+EAuB9D,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAGF,eAAO,MAAM,aAAa,kCAAmC,kBAAkB,
|
|
1
|
+
{"version":3,"file":"SearchResults.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchResults/SearchResults.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,EAAE,EAAc,MAAM,OAAO,CAAC;AAOnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAkBtD,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAyBxD,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,YAAY,GAAG;IAAE,QAAQ,EAAE,OAAO,CAAA;CAAE,GAAG,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;AAE1G,eAAO,MAAM,UAAU;cAFkC,OAAO;+EAuB9D,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC,CAAC;AAGF,eAAO,MAAM,aAAa,kCAAmC,kBAAkB,sBAoB9E,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { type TextInputProps } from '@dxos/react-ui';
|
|
2
3
|
export type SearchbarProps = Pick<TextInputProps, 'variant' | 'placeholder'> & {
|
|
3
4
|
classes?: {
|
|
@@ -8,5 +9,5 @@ export type SearchbarProps = Pick<TextInputProps, 'variant' | 'placeholder'> & {
|
|
|
8
9
|
onChange?: (text?: string) => void;
|
|
9
10
|
delay?: number;
|
|
10
11
|
};
|
|
11
|
-
export declare const Searchbar: ({ classes, variant, placeholder, value, onChange }: SearchbarProps) =>
|
|
12
|
+
export declare const Searchbar: ({ classes, variant, placeholder, value, onChange }: SearchbarProps) => React.JSX.Element;
|
|
12
13
|
//# sourceMappingURL=Searchbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Searchbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Searchbar/Searchbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Searchbar.d.ts","sourceRoot":"","sources":["../../../../../src/components/Searchbar/Searchbar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAAO,EAAS,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAG5D,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,GAAG,aAAa,CAAC,GAAG;IAC7E,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,SAAS,uDAAwD,cAAc,sBAoC3F,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type PropsWithChildren } from 'react';
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
2
|
import { type SearchResult } from './search-sync';
|
|
3
3
|
type SearchContextType = {
|
|
4
4
|
match?: RegExp;
|
|
5
5
|
setMatch?: (text?: string) => void;
|
|
6
6
|
};
|
|
7
|
-
export declare const SearchContextProvider: ({ children }: PropsWithChildren) =>
|
|
7
|
+
export declare const SearchContextProvider: ({ children }: PropsWithChildren) => React.JSX.Element;
|
|
8
8
|
export declare const useGlobalSearch: () => SearchContextType;
|
|
9
9
|
export declare const useGlobalSearchResults: <T extends Record<string, any>>(objects?: T[]) => SearchResult[];
|
|
10
10
|
export declare const useGlobalFilteredObjects: <T extends Record<string, any>>(objects?: T[]) => T[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/context.tsx"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAiB,KAAK,iBAAiB,EAAiC,MAAM,OAAO,CAAC;AAIpG,OAAO,EAAyC,KAAK,YAAY,EAAE,MAAM,eAAe,CAAC;AAEzF,KAAK,iBAAiB,GAAG;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,CAAC;AAIF,eAAO,MAAM,qBAAqB,iBAAkB,iBAAiB,sBAIpE,CAAC;AAEF,eAAO,MAAM,eAAe,yBAE3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,EAAE,KAAG,YAAY,EAGjG,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,YAAY,CAAC,EAAE,KAAG,CAAC,EAOxF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-search",
|
|
3
|
-
"version": "0.8.1-main.
|
|
3
|
+
"version": "0.8.1-main.ba2dec9",
|
|
4
4
|
"description": "Braneframe sketch plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"main-thread-scheduling": "^14.1.1",
|
|
27
|
-
"@dxos/app-framework": "0.8.1-main.
|
|
28
|
-
"@dxos/
|
|
29
|
-
"@dxos/
|
|
30
|
-
"@dxos/
|
|
31
|
-
"@dxos/plugin-graph": "0.8.1-main.
|
|
32
|
-
"@dxos/plugin-
|
|
33
|
-
"@dxos/
|
|
34
|
-
"@dxos/
|
|
35
|
-
"@dxos/react-ui-card": "0.8.1-main.
|
|
36
|
-
"@dxos/react-ui-searchlist": "0.8.1-main.
|
|
37
|
-
"@dxos/schema": "0.8.1-main.
|
|
27
|
+
"@dxos/app-framework": "0.8.1-main.ba2dec9",
|
|
28
|
+
"@dxos/debug": "0.8.1-main.ba2dec9",
|
|
29
|
+
"@dxos/live-object": "0.8.1-main.ba2dec9",
|
|
30
|
+
"@dxos/echo-schema": "0.8.1-main.ba2dec9",
|
|
31
|
+
"@dxos/plugin-graph": "0.8.1-main.ba2dec9",
|
|
32
|
+
"@dxos/plugin-space": "0.8.1-main.ba2dec9",
|
|
33
|
+
"@dxos/plugin-markdown": "0.8.1-main.ba2dec9",
|
|
34
|
+
"@dxos/react-client": "0.8.1-main.ba2dec9",
|
|
35
|
+
"@dxos/react-ui-card": "0.8.1-main.ba2dec9",
|
|
36
|
+
"@dxos/react-ui-searchlist": "0.8.1-main.ba2dec9",
|
|
37
|
+
"@dxos/schema": "0.8.1-main.ba2dec9"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"react": "~18.2.0",
|
|
44
44
|
"react-dom": "~18.2.0",
|
|
45
45
|
"vite": "5.4.7",
|
|
46
|
-
"@dxos/random": "0.8.1-main.
|
|
47
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
46
|
+
"@dxos/random": "0.8.1-main.ba2dec9",
|
|
47
|
+
"@dxos/react-ui-theme": "0.8.1-main.ba2dec9",
|
|
48
|
+
"@dxos/storybook-utils": "0.8.1-main.ba2dec9",
|
|
49
|
+
"@dxos/react-ui": "0.8.1-main.ba2dec9"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@phosphor-icons/react": "^2.1.5",
|
|
53
53
|
"react": "~18.2.0",
|
|
54
54
|
"react-dom": "~18.2.0",
|
|
55
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
56
|
-
"@dxos/react-ui-theme": "0.8.1-main.
|
|
55
|
+
"@dxos/react-ui": "0.8.1-main.ba2dec9",
|
|
56
|
+
"@dxos/react-ui-theme": "0.8.1-main.ba2dec9"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|