@dxos/plugin-registry 0.8.4-main.c1de068 → 0.8.4-main.fd6878d
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/lib/browser/{app-graph-builder-LKQBQDUA.mjs → app-graph-builder-6JQNRTEQ.mjs} +2 -2
- package/dist/lib/browser/{app-graph-builder-LKQBQDUA.mjs.map → app-graph-builder-6JQNRTEQ.mjs.map} +3 -3
- package/dist/lib/browser/index.mjs +4 -4
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/{intent-resolver-W67CIJI3.mjs → intent-resolver-UGDFPMAG.mjs} +2 -2
- package/dist/lib/browser/{intent-resolver-W67CIJI3.mjs.map → intent-resolver-UGDFPMAG.mjs.map} +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/browser/{react-surface-3GNB7AOY.mjs → react-surface-BQPO3F3E.mjs} +3 -3
- package/dist/lib/browser/{react-surface-3GNB7AOY.mjs.map → react-surface-BQPO3F3E.mjs.map} +3 -3
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
- package/dist/types/src/components/PluginDetail.stories.d.ts +1 -1
- package/dist/types/src/components/PluginDetail.stories.d.ts.map +1 -1
- package/dist/types/src/components/PluginList.stories.d.ts.map +1 -1
- package/dist/types/src/components/RegistryContainer.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +20 -19
- package/src/RegistryPlugin.tsx +1 -1
- package/src/capabilities/app-graph-builder.ts +1 -1
- package/src/capabilities/intent-resolver.ts +4 -4
- package/src/capabilities/react-surface.tsx +1 -1
- package/src/components/Icon.stories.tsx +2 -2
- package/src/components/PluginDetail.stories.tsx +3 -2
- package/src/components/PluginList.stories.tsx +4 -3
- package/src/components/RegistryContainer.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/plugin-registry",
|
|
3
|
-
"version": "0.8.4-main.
|
|
3
|
+
"version": "0.8.4-main.fd6878d",
|
|
4
4
|
"description": "Braneframe plugin gallery",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"type": "module",
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
|
+
"source": "./src/index.ts",
|
|
13
14
|
"types": "./dist/types/src/index.d.ts",
|
|
14
15
|
"browser": "./dist/lib/browser/index.mjs"
|
|
15
16
|
}
|
|
@@ -24,31 +25,31 @@
|
|
|
24
25
|
],
|
|
25
26
|
"dependencies": {
|
|
26
27
|
"@preact-signals/safe-react": "^0.9.0",
|
|
27
|
-
"@dxos/app-framework": "0.8.4-main.
|
|
28
|
-
"@dxos/echo": "0.8.4-main.
|
|
29
|
-
"@dxos/
|
|
30
|
-
"@dxos/
|
|
31
|
-
"@dxos/
|
|
32
|
-
"@dxos/
|
|
33
|
-
"@dxos/
|
|
34
|
-
"@dxos/
|
|
35
|
-
"@dxos/
|
|
36
|
-
"@dxos/
|
|
28
|
+
"@dxos/app-framework": "0.8.4-main.fd6878d",
|
|
29
|
+
"@dxos/echo": "0.8.4-main.fd6878d",
|
|
30
|
+
"@dxos/echo-schema": "0.8.4-main.fd6878d",
|
|
31
|
+
"@dxos/live-object": "0.8.4-main.fd6878d",
|
|
32
|
+
"@dxos/invariant": "0.8.4-main.fd6878d",
|
|
33
|
+
"@dxos/react-ui-stack": "0.8.4-main.fd6878d",
|
|
34
|
+
"@dxos/plugin-observability": "0.8.4-main.fd6878d",
|
|
35
|
+
"@dxos/react-ui-form": "0.8.4-main.fd6878d",
|
|
36
|
+
"@dxos/plugin-graph": "0.8.4-main.fd6878d",
|
|
37
|
+
"@dxos/util": "0.8.4-main.fd6878d"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@effect-rx/rx-react": "0.38.0",
|
|
40
|
-
"@effect/platform": "0.
|
|
41
|
+
"@effect/platform": "0.90.2",
|
|
41
42
|
"@phosphor-icons/react": "^2.1.5",
|
|
42
43
|
"@types/react": "~18.2.0",
|
|
43
44
|
"@types/react-dom": "~18.2.0",
|
|
44
|
-
"effect": "3.17.
|
|
45
|
+
"effect": "3.17.7",
|
|
45
46
|
"react": "~18.2.0",
|
|
46
47
|
"react-dom": "~18.2.0",
|
|
47
48
|
"vite": "5.4.7",
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/react-ui-theme": "0.8.4-main.
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/
|
|
49
|
+
"@dxos/random": "0.8.4-main.fd6878d",
|
|
50
|
+
"@dxos/react-ui-theme": "0.8.4-main.fd6878d",
|
|
51
|
+
"@dxos/react-ui": "0.8.4-main.fd6878d",
|
|
52
|
+
"@dxos/storybook-utils": "0.8.4-main.fd6878d"
|
|
52
53
|
},
|
|
53
54
|
"peerDependencies": {
|
|
54
55
|
"@effect-rx/rx-react": "^0.34.1",
|
|
@@ -56,8 +57,8 @@
|
|
|
56
57
|
"effect": "^3.13.3",
|
|
57
58
|
"react": "~18.2.0",
|
|
58
59
|
"react-dom": "~18.2.0",
|
|
59
|
-
"@dxos/react-ui": "0.8.4-main.
|
|
60
|
-
"@dxos/react-ui-theme": "0.8.4-main.
|
|
60
|
+
"@dxos/react-ui": "0.8.4-main.fd6878d",
|
|
61
|
+
"@dxos/react-ui-theme": "0.8.4-main.fd6878d"
|
|
61
62
|
},
|
|
62
63
|
"publishConfig": {
|
|
63
64
|
"access": "public"
|
package/src/RegistryPlugin.tsx
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// Copyright 2023 DXOS.org
|
|
3
3
|
//
|
|
4
4
|
|
|
5
|
-
import { Capabilities, contributes, defineModule, definePlugin
|
|
5
|
+
import { Capabilities, Events, contributes, defineModule, definePlugin } from '@dxos/app-framework';
|
|
6
6
|
|
|
7
7
|
import { AppGraphBuilder, IntentResolver, ReactSurface } from './capabilities';
|
|
8
8
|
import { meta } from './meta';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Rx } from '@effect-rx/rx-react';
|
|
6
6
|
import { Option, pipe } from 'effect';
|
|
7
7
|
|
|
8
|
-
import { Capabilities,
|
|
8
|
+
import { Capabilities, type PluginContext, SettingsAction, contributes, createIntent } from '@dxos/app-framework';
|
|
9
9
|
import { createExtension } from '@dxos/plugin-graph';
|
|
10
10
|
|
|
11
11
|
import { REGISTRY_ID, REGISTRY_KEY, REGISTRY_PLUGIN } from '../meta';
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
//
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
contributes,
|
|
7
|
-
SettingsAction,
|
|
8
|
-
createResolver,
|
|
9
|
-
LayoutAction,
|
|
10
6
|
Capabilities,
|
|
7
|
+
LayoutAction,
|
|
8
|
+
SettingsAction,
|
|
9
|
+
contributes,
|
|
11
10
|
createIntent,
|
|
11
|
+
createResolver,
|
|
12
12
|
} from '@dxos/app-framework';
|
|
13
13
|
|
|
14
14
|
import { REGISTRY_ID } from '../meta';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import React, { useCallback, useMemo } from 'react';
|
|
6
6
|
|
|
7
|
-
import { Capabilities, contributes, createSurface,
|
|
7
|
+
import { Capabilities, Plugin, contributes, createSurface, usePluginManager } from '@dxos/app-framework';
|
|
8
8
|
import { StackItem } from '@dxos/react-ui-stack';
|
|
9
9
|
|
|
10
10
|
import { PluginDetail, RegistryContainer } from '../components';
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import '@dxos-theme';
|
|
6
6
|
|
|
7
|
-
import { IconBase, type
|
|
7
|
+
import { IconBase, type IconProps, type IconWeight } from '@phosphor-icons/react';
|
|
8
8
|
import { type Meta } from '@storybook/react-vite';
|
|
9
|
-
import React, {
|
|
9
|
+
import React, { type ReactElement, type SVGProps, forwardRef } from 'react';
|
|
10
10
|
|
|
11
11
|
import { Icon } from '@dxos/react-ui';
|
|
12
12
|
import { getSize, mx } from '@dxos/react-ui-theme';
|
|
@@ -4,14 +4,15 @@
|
|
|
4
4
|
|
|
5
5
|
import '@dxos-theme';
|
|
6
6
|
|
|
7
|
-
import { type
|
|
7
|
+
import { type Meta, type StoryObj } from '@storybook/react-vite';
|
|
8
8
|
|
|
9
9
|
import { faker } from '@dxos/random';
|
|
10
10
|
import { withLayout, withTheme } from '@dxos/storybook-utils';
|
|
11
11
|
|
|
12
|
-
import { PluginDetail, type PluginDetailProps } from './PluginDetail';
|
|
13
12
|
import { translations } from '../translations';
|
|
14
13
|
|
|
14
|
+
import { PluginDetail, type PluginDetailProps } from './PluginDetail';
|
|
15
|
+
|
|
15
16
|
const meta: Meta<PluginDetailProps> = {
|
|
16
17
|
title: 'plugins/plugin-registry/PluginDetail',
|
|
17
18
|
component: PluginDetail,
|
|
@@ -7,15 +7,16 @@ import '@dxos-theme';
|
|
|
7
7
|
import { type Meta } from '@storybook/react-vite';
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { type Plugin, definePlugin } from '@dxos/app-framework';
|
|
11
11
|
import { faker } from '@dxos/random';
|
|
12
12
|
import { type ThemedClassName } from '@dxos/react-ui';
|
|
13
13
|
import { mx } from '@dxos/react-ui-theme';
|
|
14
|
-
import {
|
|
14
|
+
import { withLayout, withTheme } from '@dxos/storybook-utils';
|
|
15
15
|
|
|
16
|
-
import { PluginList } from './PluginList';
|
|
17
16
|
import { translations } from '../translations';
|
|
18
17
|
|
|
18
|
+
import { PluginList } from './PluginList';
|
|
19
|
+
|
|
19
20
|
faker.seed(1);
|
|
20
21
|
|
|
21
22
|
const icons = [
|