@dxos/plugin-registry 0.8.3 → 0.8.4-main.2e9d522

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.
Files changed (27) hide show
  1. package/dist/lib/browser/{app-graph-builder-J5YHAGNI.mjs → app-graph-builder-LKQBQDUA.mjs} +3 -3
  2. package/dist/lib/browser/{chunk-ISC56E5F.mjs → chunk-AEBASNOI.mjs} +2 -2
  3. package/dist/lib/browser/index.mjs +11 -11
  4. package/dist/lib/browser/index.mjs.map +3 -3
  5. package/dist/lib/browser/{intent-resolver-AQJNBUT3.mjs → intent-resolver-W67CIJI3.mjs} +3 -3
  6. package/dist/lib/browser/meta.json +1 -1
  7. package/dist/lib/browser/{react-surface-W5RNDLXV.mjs → react-surface-3GNB7AOY.mjs} +10 -12
  8. package/dist/lib/browser/{react-surface-W5RNDLXV.mjs.map → react-surface-3GNB7AOY.mjs.map} +2 -2
  9. package/dist/types/src/components/Icon.stories.d.ts +1 -1
  10. package/dist/types/src/components/Icon.stories.d.ts.map +1 -1
  11. package/dist/types/src/components/PluginDetail.stories.d.ts +1 -1
  12. package/dist/types/src/components/PluginDetail.stories.d.ts.map +1 -1
  13. package/dist/types/src/components/PluginList.stories.d.ts +1 -1
  14. package/dist/types/src/components/PluginList.stories.d.ts.map +1 -1
  15. package/dist/types/src/translations.d.ts +19 -19
  16. package/dist/types/src/translations.d.ts.map +1 -1
  17. package/dist/types/tsconfig.tsbuildinfo +1 -1
  18. package/package.json +21 -22
  19. package/src/RegistryPlugin.tsx +1 -1
  20. package/src/capabilities/react-surface.tsx +1 -1
  21. package/src/components/Icon.stories.tsx +4 -3
  22. package/src/components/PluginDetail.stories.tsx +2 -2
  23. package/src/components/PluginList.stories.tsx +2 -2
  24. package/src/translations.ts +6 -4
  25. /package/dist/lib/browser/{app-graph-builder-J5YHAGNI.mjs.map → app-graph-builder-LKQBQDUA.mjs.map} +0 -0
  26. /package/dist/lib/browser/{chunk-ISC56E5F.mjs.map → chunk-AEBASNOI.mjs.map} +0 -0
  27. /package/dist/lib/browser/{intent-resolver-AQJNBUT3.mjs.map → intent-resolver-W67CIJI3.mjs.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dxos/plugin-registry",
3
- "version": "0.8.3",
3
+ "version": "0.8.4-main.2e9d522",
4
4
  "description": "Braneframe plugin gallery",
5
5
  "homepage": "https://dxos.org",
6
6
  "bugs": "https://github.com/dxos/dxos/issues",
@@ -24,41 +24,40 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "@preact-signals/safe-react": "^0.9.0",
27
- "@dxos/invariant": "0.8.3",
28
- "@dxos/app-framework": "0.8.3",
29
- "@dxos/echo-schema": "0.8.3",
30
- "@dxos/plugin-graph": "0.8.3",
31
- "@dxos/live-object": "0.8.3",
32
- "@dxos/plugin-observability": "0.8.3",
33
- "@dxos/react-ui-form": "0.8.3",
34
- "@dxos/util": "0.8.3",
35
- "@dxos/react-ui-stack": "0.8.3",
36
- "@dxos/echo": "0.8.3"
27
+ "@dxos/app-framework": "0.8.4-main.2e9d522",
28
+ "@dxos/echo": "0.8.4-main.2e9d522",
29
+ "@dxos/echo-schema": "0.8.4-main.2e9d522",
30
+ "@dxos/invariant": "0.8.4-main.2e9d522",
31
+ "@dxos/plugin-observability": "0.8.4-main.2e9d522",
32
+ "@dxos/plugin-graph": "0.8.4-main.2e9d522",
33
+ "@dxos/react-ui-stack": "0.8.4-main.2e9d522",
34
+ "@dxos/react-ui-form": "0.8.4-main.2e9d522",
35
+ "@dxos/util": "0.8.4-main.2e9d522",
36
+ "@dxos/live-object": "0.8.4-main.2e9d522"
37
37
  },
38
38
  "devDependencies": {
39
- "@effect-rx/rx-react": "^0.34.1",
40
- "@effect/platform": "0.80.12",
39
+ "@effect-rx/rx-react": "0.38.0",
40
+ "@effect/platform": "0.89.0",
41
41
  "@phosphor-icons/react": "^2.1.5",
42
42
  "@types/react": "~18.2.0",
43
43
  "@types/react-dom": "~18.2.0",
44
- "effect": "^3.13.3",
44
+ "effect": "3.17.0",
45
45
  "react": "~18.2.0",
46
46
  "react-dom": "~18.2.0",
47
47
  "vite": "5.4.7",
48
- "@dxos/random": "0.8.3",
49
- "@dxos/react-ui": "0.8.3",
50
- "@dxos/react-ui-theme": "0.8.3",
51
- "@dxos/storybook-utils": "0.8.3"
48
+ "@dxos/random": "0.8.4-main.2e9d522",
49
+ "@dxos/react-ui": "0.8.4-main.2e9d522",
50
+ "@dxos/react-ui-theme": "0.8.4-main.2e9d522",
51
+ "@dxos/storybook-utils": "0.8.4-main.2e9d522"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@effect-rx/rx-react": "^0.34.1",
55
- "@effect/platform": "0.80.12",
56
- "@phosphor-icons/react": "^2.1.5",
55
+ "@effect/platform": "^0.80.12",
57
56
  "effect": "^3.13.3",
58
57
  "react": "~18.2.0",
59
58
  "react-dom": "~18.2.0",
60
- "@dxos/react-ui": "0.8.3",
61
- "@dxos/react-ui-theme": "0.8.3"
59
+ "@dxos/react-ui": "0.8.4-main.2e9d522",
60
+ "@dxos/react-ui-theme": "0.8.4-main.2e9d522"
62
61
  },
63
62
  "publishConfig": {
64
63
  "access": "public"
@@ -6,7 +6,7 @@ import { Capabilities, contributes, defineModule, definePlugin, Events } from '@
6
6
 
7
7
  import { AppGraphBuilder, IntentResolver, ReactSurface } from './capabilities';
8
8
  import { meta } from './meta';
9
- import translations from './translations';
9
+ import { translations } from './translations';
10
10
 
11
11
  export const RegistryPlugin = () =>
12
12
  definePlugin(meta, [
@@ -81,7 +81,7 @@ export default () =>
81
81
  );
82
82
 
83
83
  return (
84
- <StackItem.Content role='article'>
84
+ <StackItem.Content>
85
85
  <PluginDetail plugin={subject} enabled={enabled} onEnable={handleEnable} />
86
86
  </StackItem.Content>
87
87
  );
@@ -4,10 +4,11 @@
4
4
 
5
5
  import '@dxos-theme';
6
6
 
7
- import { IconBase, type IconWeight, GithubLogo, type IconProps } from '@phosphor-icons/react';
8
- import { type Meta } from '@storybook/react';
7
+ import { IconBase, type IconWeight, type IconProps } from '@phosphor-icons/react';
8
+ import { type Meta } from '@storybook/react-vite';
9
9
  import React, { forwardRef, type SVGProps, type ReactElement } from 'react';
10
10
 
11
+ import { Icon } from '@dxos/react-ui';
11
12
  import { getSize, mx } from '@dxos/react-ui-theme';
12
13
 
13
14
  /**
@@ -89,7 +90,7 @@ const DefaultStory = () => {
89
90
  return (
90
91
  <div className='flex gap-4 p-8 ring'>
91
92
  <CustomIcon weight={'regular'} className={mx(getSize(8))} />
92
- <GithubLogo weight={'regular'} className={mx(getSize(8))} />
93
+ <Icon icon='ph--github-logo--regular' classNames={mx(getSize(8))} />
93
94
  </div>
94
95
  );
95
96
  };
@@ -4,13 +4,13 @@
4
4
 
5
5
  import '@dxos-theme';
6
6
 
7
- import { type StoryObj, type Meta } from '@storybook/react';
7
+ import { type StoryObj, type Meta } 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
12
  import { PluginDetail, type PluginDetailProps } from './PluginDetail';
13
- import translations from '../translations';
13
+ import { translations } from '../translations';
14
14
 
15
15
  const meta: Meta<PluginDetailProps> = {
16
16
  title: 'plugins/plugin-registry/PluginDetail',
@@ -4,7 +4,7 @@
4
4
 
5
5
  import '@dxos-theme';
6
6
 
7
- import { type Meta } from '@storybook/react';
7
+ import { type Meta } from '@storybook/react-vite';
8
8
  import React, { useState } from 'react';
9
9
 
10
10
  import { definePlugin, type Plugin } from '@dxos/app-framework';
@@ -14,7 +14,7 @@ import { mx } from '@dxos/react-ui-theme';
14
14
  import { withTheme, withLayout } from '@dxos/storybook-utils';
15
15
 
16
16
  import { PluginList } from './PluginList';
17
- import translations from '../translations';
17
+ import { translations } from '../translations';
18
18
 
19
19
  faker.seed(1);
20
20
 
@@ -2,12 +2,14 @@
2
2
  // Copyright 2023 DXOS.org
3
3
  //
4
4
 
5
- import { REGISTRY_PLUGIN } from './meta';
5
+ import { type Resource } from '@dxos/react-ui';
6
6
 
7
- export default [
7
+ import { meta } from './meta';
8
+
9
+ export const translations = [
8
10
  {
9
11
  'en-US': {
10
- [REGISTRY_PLUGIN]: {
12
+ [meta.id]: {
11
13
  'plugin name': 'Registry',
12
14
  'details label': 'Details',
13
15
  'home page label': 'Website',
@@ -25,4 +27,4 @@ export default [
25
27
  },
26
28
  },
27
29
  },
28
- ];
30
+ ] as const satisfies Resource[];