@dxos/plugin-search 0.6.11-staging.e6894a4 → 0.6.12-main.5cc132e
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-search",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12-main.5cc132e",
|
|
4
4
|
"description": "Braneframe sketch plugin",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"main-thread-scheduling": "^14.1.1",
|
|
33
|
-
"@dxos/
|
|
34
|
-
"@dxos/echo-schema": "0.6.
|
|
35
|
-
"@dxos/
|
|
36
|
-
"@dxos/
|
|
37
|
-
"@dxos/plugin-markdown": "0.6.
|
|
38
|
-
"@dxos/plugin-space": "0.6.
|
|
39
|
-
"@dxos/react-ui-
|
|
40
|
-
"@dxos/react-
|
|
41
|
-
"@dxos/react-
|
|
42
|
-
"@dxos/react-ui-searchlist": "0.6.
|
|
33
|
+
"@dxos/app-framework": "0.6.12-main.5cc132e",
|
|
34
|
+
"@dxos/echo-schema": "0.6.12-main.5cc132e",
|
|
35
|
+
"@dxos/debug": "0.6.12-main.5cc132e",
|
|
36
|
+
"@dxos/plugin-graph": "0.6.12-main.5cc132e",
|
|
37
|
+
"@dxos/plugin-markdown": "0.6.12-main.5cc132e",
|
|
38
|
+
"@dxos/plugin-space": "0.6.12-main.5cc132e",
|
|
39
|
+
"@dxos/react-ui-card": "0.6.12-main.5cc132e",
|
|
40
|
+
"@dxos/react-ui-mosaic": "0.6.12-main.5cc132e",
|
|
41
|
+
"@dxos/react-client": "0.6.12-main.5cc132e",
|
|
42
|
+
"@dxos/react-ui-searchlist": "0.6.12-main.5cc132e"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@phosphor-icons/react": "^2.1.5",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"@types/react-dom": "~18.2.0",
|
|
48
48
|
"react": "~18.2.0",
|
|
49
49
|
"react-dom": "~18.2.0",
|
|
50
|
-
"vite": "
|
|
51
|
-
"@dxos/
|
|
52
|
-
"@dxos/react-ui": "0.6.
|
|
53
|
-
"@dxos/
|
|
54
|
-
"@dxos/storybook-utils": "0.6.
|
|
50
|
+
"vite": "5.4.7",
|
|
51
|
+
"@dxos/random": "0.6.12-main.5cc132e",
|
|
52
|
+
"@dxos/react-ui": "0.6.12-main.5cc132e",
|
|
53
|
+
"@dxos/react-ui-theme": "0.6.12-main.5cc132e",
|
|
54
|
+
"@dxos/storybook-utils": "0.6.12-main.5cc132e"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"@phosphor-icons/react": "^2.1.5",
|
|
58
58
|
"react": "^18.0.0",
|
|
59
59
|
"react-dom": "^18.0.0",
|
|
60
|
-
"@dxos/react-ui": "0.6.
|
|
61
|
-
"@dxos/react-ui-theme": "0.6.
|
|
60
|
+
"@dxos/react-ui": "0.6.12-main.5cc132e",
|
|
61
|
+
"@dxos/react-ui-theme": "0.6.12-main.5cc132e"
|
|
62
62
|
},
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
@@ -9,7 +9,7 @@ import React, { type FC, useState } from 'react';
|
|
|
9
9
|
|
|
10
10
|
import { faker } from '@dxos/random';
|
|
11
11
|
import { DensityProvider } from '@dxos/react-ui';
|
|
12
|
-
import {
|
|
12
|
+
import { withLayout, withTheme } from '@dxos/storybook-utils';
|
|
13
13
|
|
|
14
14
|
import { SearchResults } from './SearchResults';
|
|
15
15
|
import { Searchbar } from './Searchbar';
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
46
46
|
title: 'plugin-search/Search',
|
|
47
47
|
component: Searchbar,
|
|
48
48
|
render: Story,
|
|
49
|
-
decorators: [withTheme,
|
|
49
|
+
decorators: [withTheme, withLayout({ fullscreen: true }), SearchContextDecorator()],
|
|
50
50
|
parameters: {
|
|
51
51
|
layout: 'fullscreen',
|
|
52
52
|
},
|
|
@@ -8,7 +8,7 @@ import React, { type FC, useState } from 'react';
|
|
|
8
8
|
|
|
9
9
|
import { faker } from '@dxos/random';
|
|
10
10
|
import { DensityProvider } from '@dxos/react-ui';
|
|
11
|
-
import {
|
|
11
|
+
import { withLayout, withTheme } from '@dxos/storybook-utils';
|
|
12
12
|
|
|
13
13
|
import { SearchResults, type SearchResultsProps } from './SearchResults';
|
|
14
14
|
import { filterObjectsSync } from '../../search-sync';
|
|
@@ -33,7 +33,7 @@ export default {
|
|
|
33
33
|
title: 'plugin-search/SearchResults',
|
|
34
34
|
component: SearchResults,
|
|
35
35
|
render: Story,
|
|
36
|
-
decorators: [withTheme,
|
|
36
|
+
decorators: [withTheme, withLayout({ fullscreen: true })],
|
|
37
37
|
parameters: {
|
|
38
38
|
layout: 'fullscreen',
|
|
39
39
|
},
|
package/src/search.test.ts
CHANGED
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
// Copyright 2022 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { expect } from '
|
|
5
|
+
import { describe, expect, test } from 'vitest';
|
|
6
6
|
|
|
7
7
|
import { Client } from '@dxos/client';
|
|
8
8
|
import { create, Expando } from '@dxos/echo-schema';
|
|
9
9
|
import { faker } from '@dxos/random';
|
|
10
|
-
import { describe, test } from '@dxos/test';
|
|
11
10
|
|
|
12
11
|
import { filterObjectsSync } from './search-sync';
|
|
13
12
|
|