@dxos/plugin-registry 0.8.3-staging.0fa589b → 0.8.4-main.1da679c

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 (43) hide show
  1. package/dist/lib/browser/{app-graph-builder-J5YHAGNI.mjs → app-graph-builder-GIZIPBS7.mjs} +6 -6
  2. package/dist/lib/browser/{app-graph-builder-J5YHAGNI.mjs.map → app-graph-builder-GIZIPBS7.mjs.map} +3 -3
  3. package/dist/lib/browser/{chunk-ISC56E5F.mjs → chunk-AEBASNOI.mjs} +2 -2
  4. package/dist/lib/browser/index.mjs +12 -12
  5. package/dist/lib/browser/index.mjs.map +3 -3
  6. package/dist/lib/browser/intent-resolver-APB5WWH4.mjs +23 -0
  7. package/dist/lib/browser/{intent-resolver-AQJNBUT3.mjs.map → intent-resolver-APB5WWH4.mjs.map} +3 -3
  8. package/dist/lib/browser/meta.json +1 -1
  9. package/dist/lib/browser/{react-surface-W5RNDLXV.mjs → react-surface-C7T4DU6Q.mjs} +24 -24
  10. package/dist/lib/browser/react-surface-C7T4DU6Q.mjs.map +7 -0
  11. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
  12. package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
  13. package/dist/types/src/capabilities/index.d.ts +3 -3
  14. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  15. package/dist/types/src/capabilities/intent-resolver.d.ts +1 -1
  16. package/dist/types/src/capabilities/intent-resolver.d.ts.map +1 -1
  17. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  18. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  19. package/dist/types/src/components/Icon.stories.d.ts +11 -3
  20. package/dist/types/src/components/Icon.stories.d.ts.map +1 -1
  21. package/dist/types/src/components/PluginDetail.d.ts.map +1 -1
  22. package/dist/types/src/components/PluginDetail.stories.d.ts +29 -4
  23. package/dist/types/src/components/PluginDetail.stories.d.ts.map +1 -1
  24. package/dist/types/src/components/PluginList.stories.d.ts +33 -7
  25. package/dist/types/src/components/PluginList.stories.d.ts.map +1 -1
  26. package/dist/types/src/components/RegistryContainer.d.ts.map +1 -1
  27. package/dist/types/src/translations.d.ts +19 -19
  28. package/dist/types/src/translations.d.ts.map +1 -1
  29. package/dist/types/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +23 -23
  31. package/src/RegistryPlugin.tsx +2 -2
  32. package/src/capabilities/app-graph-builder.ts +1 -1
  33. package/src/capabilities/intent-resolver.ts +4 -4
  34. package/src/capabilities/react-surface.tsx +2 -7
  35. package/src/components/Icon.stories.tsx +10 -7
  36. package/src/components/PluginDetail.stories.tsx +7 -6
  37. package/src/components/PluginDetail.tsx +34 -32
  38. package/src/components/PluginList.stories.tsx +11 -8
  39. package/src/components/RegistryContainer.tsx +1 -1
  40. package/src/translations.ts +6 -4
  41. package/dist/lib/browser/intent-resolver-AQJNBUT3.mjs +0 -23
  42. package/dist/lib/browser/react-surface-W5RNDLXV.mjs.map +0 -7
  43. /package/dist/lib/browser/{chunk-ISC56E5F.mjs.map → chunk-AEBASNOI.mjs.map} +0 -0
@@ -1,8 +1,33 @@
1
1
  import '@dxos-theme';
2
- import { type StoryObj, type Meta } from '@storybook/react';
3
- import { type PluginDetailProps } from './PluginDetail';
4
- declare const meta: Meta<PluginDetailProps>;
2
+ import { type StoryObj } from '@storybook/react-vite';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ plugin, enabled, onEnable }: import("./PluginDetail").PluginDetailProps) => import("react").JSX.Element;
6
+ decorators: import("@storybook/react").Decorator[];
7
+ parameters: {
8
+ translations: [{
9
+ readonly 'en-US': {
10
+ readonly [meta.id]: {
11
+ readonly 'plugin name': "Registry";
12
+ readonly 'details label': "Details";
13
+ readonly 'home page label': "Website";
14
+ readonly 'source label': "Source";
15
+ readonly 'plugin registry label': "Plugin Registry";
16
+ readonly 'all plugins label': "All";
17
+ readonly 'installed plugins label': "Enabled";
18
+ readonly 'recommended plugins label': "Recommended";
19
+ readonly 'labs plugins label': "Labs";
20
+ readonly 'community plugins label': "Community";
21
+ readonly 'load by url label': "Load by URL (soon)";
22
+ readonly 'coming soon label': "Coming soon!";
23
+ readonly 'open plugin registry label': "Open plugin registry";
24
+ readonly 'settings label': "Settings";
25
+ };
26
+ };
27
+ }];
28
+ };
29
+ };
5
30
  export default meta;
6
- type Story = StoryObj<PluginDetailProps>;
31
+ type Story = StoryObj<typeof meta>;
7
32
  export declare const Default: Story;
8
33
  //# sourceMappingURL=PluginDetail.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PluginDetail.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/PluginDetail.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAK5D,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGtE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,iBAAiB,CAOjC,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,iBAAiB,CAAC,CAAC;AAEzC,eAAO,MAAM,OAAO,EAAE,KAiBrB,CAAC"}
1
+ {"version":3,"file":"PluginDetail.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/PluginDetail.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AASjE,QAAA,MAAM,IAAI;;;;;;;yBANT,CAAQ,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;CAaoB,CAAC;AAEtC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAiBrB,CAAC"}
@@ -1,11 +1,37 @@
1
1
  import '@dxos-theme';
2
- import { type Meta } from '@storybook/react';
3
- declare const meta: Meta;
4
- export default meta;
5
- export declare const Default: {};
6
- export declare const Column: {
7
- args: {
8
- classNames: string;
2
+ import { type StoryObj } from '@storybook/react-vite';
3
+ import React from 'react';
4
+ import { type ThemedClassName } from '@dxos/react-ui';
5
+ declare const meta: {
6
+ title: string;
7
+ component: ({ plugins, ...props }: import("./PluginList").PluginListProps) => React.JSX.Element;
8
+ render: ({ classNames }: ThemedClassName<{}>) => React.JSX.Element;
9
+ decorators: import("@storybook/react").Decorator[];
10
+ parameters: {
11
+ translations: [{
12
+ readonly 'en-US': {
13
+ readonly [meta.id]: {
14
+ readonly 'plugin name': "Registry";
15
+ readonly 'details label': "Details";
16
+ readonly 'home page label': "Website";
17
+ readonly 'source label': "Source";
18
+ readonly 'plugin registry label': "Plugin Registry";
19
+ readonly 'all plugins label': "All";
20
+ readonly 'installed plugins label': "Enabled";
21
+ readonly 'recommended plugins label': "Recommended";
22
+ readonly 'labs plugins label': "Labs";
23
+ readonly 'community plugins label': "Community";
24
+ readonly 'load by url label': "Load by URL (soon)";
25
+ readonly 'coming soon label': "Coming soon!";
26
+ readonly 'open plugin registry label': "Open plugin registry";
27
+ readonly 'settings label': "Settings";
28
+ };
29
+ };
30
+ }];
9
31
  };
10
32
  };
33
+ export default meta;
34
+ type Story = StoryObj<typeof meta>;
35
+ export declare const Default: Story;
36
+ export declare const Column: Story;
11
37
  //# sourceMappingURL=PluginList.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PluginList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/PluginList.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAyD7C,QAAA,MAAM,IAAI,EAAE,IAQX,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,eAAO,MAAM,OAAO,IAAK,CAAC;AAE1B,eAAO,MAAM,MAAM;;;;CAIlB,CAAC"}
1
+ {"version":3,"file":"PluginList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/PluginList.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,EAAa,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAqDtD,QAAA,MAAM,IAAI;;;6BAlC4B,eAAe,CAAC,EAAE,CAAC;;;;;yBArBzD,CAAO,IAAG,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;CA+DqB,CAAC;AAEpC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RegistryContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/RegistryContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAIL,KAAK,MAAM,EAKZ,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,iBAAiB,GAAI,2BAA2B;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,sBA4D7F,CAAC"}
1
+ {"version":3,"file":"RegistryContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/RegistryContainer.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,EAGL,KAAK,MAAM,EAMZ,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,iBAAiB,GAAI,2BAA2B;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,sBA4D7F,CAAC"}
@@ -1,22 +1,22 @@
1
- declare const _default: {
2
- 'en-US': {
3
- "dxos.org/plugin/registry": {
4
- 'plugin name': string;
5
- 'details label': string;
6
- 'home page label': string;
7
- 'source label': string;
8
- 'plugin registry label': string;
9
- 'all plugins label': string;
10
- 'installed plugins label': string;
11
- 'recommended plugins label': string;
12
- 'labs plugins label': string;
13
- 'community plugins label': string;
14
- 'load by url label': string;
15
- 'coming soon label': string;
16
- 'open plugin registry label': string;
17
- 'settings label': string;
1
+ import { meta } from './meta';
2
+ export declare const translations: [{
3
+ readonly 'en-US': {
4
+ readonly [meta.id]: {
5
+ readonly 'plugin name': "Registry";
6
+ readonly 'details label': "Details";
7
+ readonly 'home page label': "Website";
8
+ readonly 'source label': "Source";
9
+ readonly 'plugin registry label': "Plugin Registry";
10
+ readonly 'all plugins label': "All";
11
+ readonly 'installed plugins label': "Enabled";
12
+ readonly 'recommended plugins label': "Recommended";
13
+ readonly 'labs plugins label': "Labs";
14
+ readonly 'community plugins label': "Community";
15
+ readonly 'load by url label': "Load by URL (soon)";
16
+ readonly 'coming soon label': "Coming soon!";
17
+ readonly 'open plugin registry label': "Open plugin registry";
18
+ readonly 'settings label': "Settings";
18
19
  };
19
20
  };
20
- }[];
21
- export default _default;
21
+ }];
22
22
  //# sourceMappingURL=translations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,wBAqBE"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,YAAY;;QAGnB,SAAA,CAAC,IAAI,CAAC,EAAE,CAAC;;;;;;;;;;;;;;;UAeR;;EAGwB,CAAC"}