@dxos/app-framework 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/App.d.ts +2 -2
- package/dist/types/src/App.d.ts.map +1 -1
- package/dist/types/src/common/layout.d.ts +20 -20
- package/dist/types/src/playground/debug/Debug.d.ts +2 -1
- package/dist/types/src/playground/debug/Debug.d.ts.map +1 -1
- package/dist/types/src/playground/generator/Main.d.ts +2 -1
- package/dist/types/src/playground/generator/Main.d.ts.map +1 -1
- package/dist/types/src/playground/generator/Toolbar.d.ts +2 -1
- package/dist/types/src/playground/generator/Toolbar.d.ts.map +1 -1
- package/dist/types/src/playground/layout/Layout.d.ts +1 -1
- package/dist/types/src/playground/layout/Layout.d.ts.map +1 -1
- package/dist/types/src/playground/logger/Toolbar.d.ts +2 -1
- package/dist/types/src/playground/logger/Toolbar.d.ts.map +1 -1
- package/dist/types/src/playground/playground.stories.d.ts +2 -1
- package/dist/types/src/playground/playground.stories.d.ts.map +1 -1
- package/dist/types/src/plugin-intent/actions.d.ts +2 -2
- package/dist/types/src/plugin-intent/intent.d.ts +2 -2
- package/dist/types/src/plugin-intent/intent.d.ts.map +1 -1
- package/dist/types/src/react/ErrorBoundary.d.ts +1 -1
- package/dist/types/src/react/Surface.stories.d.ts +2 -1
- package/dist/types/src/react/Surface.stories.d.ts.map +1 -1
- package/package.json +19 -19
package/dist/types/src/App.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
import { PluginManager, type PluginManagerOptions, type Plugin } from './core';
|
|
3
3
|
import { ErrorBoundary } from './react';
|
|
4
4
|
export type CreateAppOptions = {
|
|
@@ -35,5 +35,5 @@ export type CreateAppOptions = {
|
|
|
35
35
|
* @param params.fallback Fallback component to render if an error occurs during startup.
|
|
36
36
|
* @param params.cacheEnabled Whether to cache enabled plugins in localStorage.
|
|
37
37
|
*/
|
|
38
|
-
export declare const createApp: ({ pluginManager, pluginLoader: _pluginLoader, plugins, core, defaults, placeholder, fallback, cacheEnabled, }: CreateAppOptions) => () =>
|
|
38
|
+
export declare const createApp: ({ pluginManager, pluginLoader: _pluginLoader, plugins, core, defaults, placeholder, fallback, cacheEnabled, }: CreateAppOptions) => () => React.JSX.Element;
|
|
39
39
|
//# sourceMappingURL=App.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.tsx"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../../../src/App.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAA0B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAMtE,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,KAAK,MAAM,EAAE,MAAM,QAAQ,CAAC;AAE/E,OAAO,EAAE,aAAa,EAA0C,MAAM,SAAS,CAAC;AAIhF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,oBAAoB,CAAC,cAAc,CAAC,CAAC;IACpD,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,CAAC;IAC9C,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,SAAS,kHASnB,gBAAgB,4BAiDlB,CAAC"}
|
|
@@ -101,28 +101,28 @@ export declare namespace LayoutAction {
|
|
|
101
101
|
}
|
|
102
102
|
export const Toast: S.Struct<{
|
|
103
103
|
id: S.SchemaClass<string, string, never>;
|
|
104
|
-
title: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
104
|
+
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
105
105
|
ns: typeof S.String;
|
|
106
106
|
count: S.optional<typeof S.Number>;
|
|
107
|
-
}
|
|
108
|
-
description: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
107
|
+
}>>>>]>>;
|
|
108
|
+
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
109
109
|
ns: typeof S.String;
|
|
110
110
|
count: S.optional<typeof S.Number>;
|
|
111
|
-
}
|
|
111
|
+
}>>>>]>>;
|
|
112
112
|
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
113
113
|
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
114
|
-
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
114
|
+
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
115
115
|
ns: typeof S.String;
|
|
116
116
|
count: S.optional<typeof S.Number>;
|
|
117
|
-
}
|
|
118
|
-
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
117
|
+
}>>>>]>>;
|
|
118
|
+
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
119
119
|
ns: typeof S.String;
|
|
120
120
|
count: S.optional<typeof S.Number>;
|
|
121
|
-
}
|
|
122
|
-
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
121
|
+
}>>>>]>>;
|
|
122
|
+
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
123
123
|
ns: typeof S.String;
|
|
124
124
|
count: S.optional<typeof S.Number>;
|
|
125
|
-
}
|
|
125
|
+
}>>>>]>>;
|
|
126
126
|
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
127
127
|
}>;
|
|
128
128
|
export interface Toast extends Omit<S.Schema.Type<typeof Toast>, 'onAction'> {
|
|
@@ -135,28 +135,28 @@ export declare namespace LayoutAction {
|
|
|
135
135
|
part: S.Literal<["toast"]>;
|
|
136
136
|
subject: S.Struct<{
|
|
137
137
|
id: S.SchemaClass<string, string, never>;
|
|
138
|
-
title: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
138
|
+
title: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
139
139
|
ns: typeof S.String;
|
|
140
140
|
count: S.optional<typeof S.Number>;
|
|
141
|
-
}
|
|
142
|
-
description: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
141
|
+
}>>>>]>>;
|
|
142
|
+
description: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
143
143
|
ns: typeof S.String;
|
|
144
144
|
count: S.optional<typeof S.Number>;
|
|
145
|
-
}
|
|
145
|
+
}>>>>]>>;
|
|
146
146
|
icon: S.optional<S.SchemaClass<string, string, never>>;
|
|
147
147
|
duration: S.optional<S.SchemaClass<number, number, never>>;
|
|
148
|
-
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
148
|
+
closeLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
149
149
|
ns: typeof S.String;
|
|
150
150
|
count: S.optional<typeof S.Number>;
|
|
151
|
-
}
|
|
152
|
-
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
151
|
+
}>>>>]>>;
|
|
152
|
+
actionLabel: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
153
153
|
ns: typeof S.String;
|
|
154
154
|
count: S.optional<typeof S.Number>;
|
|
155
|
-
}
|
|
156
|
-
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.
|
|
155
|
+
}>>>>]>>;
|
|
156
|
+
actionAlt: S.optional<S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
157
157
|
ns: typeof S.String;
|
|
158
158
|
count: S.optional<typeof S.Number>;
|
|
159
|
-
}
|
|
159
|
+
}>>>>]>>;
|
|
160
160
|
onAction: S.optional<S.SchemaClass<any, any, never>>;
|
|
161
161
|
}>;
|
|
162
162
|
}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Debug: () =>
|
|
3
|
+
export declare const Debug: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Debug.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Debug.d.ts","sourceRoot":"","sources":["../../../../../src/playground/debug/Debug.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Debug.d.ts","sourceRoot":"","sources":["../../../../../src/playground/debug/Debug.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAC;AAI3D,eAAO,MAAM,KAAK,yBAgBjB,CAAC;;AAEF,wBAQI"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Main: () =>
|
|
3
|
+
export declare const Main: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Main.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Main.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Main.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Main.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAI3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAiC5C,eAAO,MAAM,IAAI,yBAsBhB,CAAC;;AAEF,wBAKK"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Toolbar: () =>
|
|
3
|
+
export declare const Toolbar: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Toolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/generator/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAK5C,eAAO,MAAM,OAAO,yBAwBnB,CAAC;;AAEF,wBAKK"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const Layout: () =>
|
|
2
|
+
export declare const Layout: () => React.JSX.Element;
|
|
3
3
|
declare const _default: () => import("../..").Capability<Readonly<{
|
|
4
4
|
id: string;
|
|
5
5
|
root: React.FC<React.PropsWithChildren>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/playground/layout/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/playground/layout/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,eAAO,MAAM,MAAM,yBAgBlB,CAAC;;;;;AAEF,wBAIK"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { Capabilities } from '../../common';
|
|
2
|
-
export declare const Logger: () =>
|
|
3
|
+
export declare const Logger: () => React.JSX.Element;
|
|
3
4
|
declare const _default: () => import("../..").Capability<Capabilities.ReactSurface>;
|
|
4
5
|
export default _default;
|
|
5
6
|
//# sourceMappingURL=Toolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/Toolbar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Toolbar.d.ts","sourceRoot":"","sources":["../../../../../src/playground/logger/Toolbar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAsB,MAAM,OAAO,CAAC;AAK3C,OAAO,EAAE,YAAY,EAAiB,MAAM,cAAc,CAAC;AAK3D,eAAO,MAAM,MAAM,yBAIlB,CAAC;;AAEF,wBAQI"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
export declare const Playground: {};
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
|
-
render: () =>
|
|
6
|
+
render: () => React.JSX.Element;
|
|
6
7
|
decorators: import("@storybook/react").Decorator[];
|
|
7
8
|
};
|
|
8
9
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"playground.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/playground.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"playground.stories.d.ts","sourceRoot":"","sources":["../../../../src/playground/playground.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAqB1B,eAAO,MAAM,UAAU,IAAK,CAAC;;;;;;AAE7B,wBAIE"}
|
|
@@ -6,10 +6,10 @@ export declare namespace IntentAction {
|
|
|
6
6
|
readonly _tag: S.tag<"dxos.org/plugin/intent/action/show-undo">;
|
|
7
7
|
} & {
|
|
8
8
|
input: S.Struct<{
|
|
9
|
-
message: S.Union<[typeof S.String, S.mutable<S.
|
|
9
|
+
message: S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
10
10
|
ns: typeof S.String;
|
|
11
11
|
count: S.optional<typeof S.Number>;
|
|
12
|
-
}
|
|
12
|
+
}>>>>]>;
|
|
13
13
|
}>;
|
|
14
14
|
output: typeof S.Void;
|
|
15
15
|
}>;
|
|
@@ -60,9 +60,9 @@ export declare const createIntent: <Tag extends string, Fields extends IntentPar
|
|
|
60
60
|
* NOTE: Chaining of intents depends on the data inputs and outputs being structs.
|
|
61
61
|
*/
|
|
62
62
|
export declare const chain: <FirstTag extends string, NextTag extends string, FirstFields extends IntentParams, LastFields extends IntentParams, NextFields extends IntentParams>(schema: IntentSchema<NextTag, NextFields>, data?: Omit<IntentData<NextFields>, keyof IntentResultData<LastFields>>, params?: Pick<AnyIntent, "module" | "undo">) => (intent: IntentChain<FirstTag, any, FirstFields, LastFields>) => IntentChain<FirstTag, NextTag, FirstFields, NextFields>;
|
|
63
|
-
export declare const Label: S.Union<[typeof S.String, S.mutable<S.
|
|
63
|
+
export declare const Label: S.Union<[typeof S.String, S.mutable<S.Tuple2<typeof S.String, S.mutable<S.Struct<{
|
|
64
64
|
ns: typeof S.String;
|
|
65
65
|
count: S.optional<typeof S.Number>;
|
|
66
|
-
}
|
|
66
|
+
}>>>>]>;
|
|
67
67
|
export type Label = S.Schema.Type<typeof Label>;
|
|
68
68
|
//# sourceMappingURL=intent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../src/plugin-intent/intent.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAC;AAErC,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC;IAC7B,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,UAAU,CAAC,MAAM,SAAS,YAAY,IAChD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS;IAAE,QAAQ,CAAC,KAAK,EAAE,GAAG,CAAA;CAAE,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,GAAG,CAAC;AAEnH,MAAM,MAAM,gBAAgB,CAAC,MAAM,SAAS,YAAY,IACtD,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS;IAAE,QAAQ,CAAC,MAAM,EAAE,GAAG,CAAA;CAAE,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAC;AAErH,MAAM,MAAM,YAAY,CAAC,GAAG,SAAS,MAAM,EAAE,MAAM,SAAS,YAAY,IAAI,CAAC,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,CA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YAAY,UAClE,YAAY,CAAC,GAAG,EAAE,MAAM,CAAC,SAC3B,UAAU,CAAC,MAAM,CAAC,WAChB,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,KACzC,WAAW,CAAC,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,CAgBtC,CAAC;AAIF;;;;GAIG;AACH,eAAO,MAAM,KAAK,GAEd,QAAQ,SAAS,MAAM,EACvB,OAAO,SAAS,MAAM,EACtB,WAAW,SAAS,YAAY,EAChC,UAAU,SAAS,YAAY,EAC/B,UAAU,SAAS,YAAY,UAEvB,YAAY,CAAC,OAAO,EAAE,UAAU,CAAC,SACnC,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,EAAE,MAAM,gBAAgB,CAAC,UAAU,CAAC,CAAC,WAC9D,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,cAGlC,WAAW,CAAC,QAAQ,EAAE,GAAG,EAAE,WAAW,EAAE,UAAU,CAAC,KAC1D,WAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,CAexD,CAAC;AAQJ,eAAO,MAAM,KAAK;;;OAGjB,CAAC;AACF,MAAM,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,KAAK,CAAC,CAAC"}
|
|
@@ -24,7 +24,7 @@ export declare class ErrorBoundary extends Component<Props, State> {
|
|
|
24
24
|
error: Error;
|
|
25
25
|
};
|
|
26
26
|
componentDidUpdate(prevProps: Props): void;
|
|
27
|
-
render(): string | number | boolean | Iterable<React.ReactNode> |
|
|
27
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
28
28
|
private resetError;
|
|
29
29
|
}
|
|
30
30
|
export {};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import '@dxos-theme';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { type PluginManager } from '../core';
|
|
3
4
|
declare const _default: {
|
|
4
5
|
title: string;
|
|
5
6
|
render: ({ manager }: {
|
|
6
7
|
manager: PluginManager;
|
|
7
|
-
}) =>
|
|
8
|
+
}) => React.JSX.Element;
|
|
8
9
|
decorators: import("@storybook/react").Decorator[];
|
|
9
10
|
args: {
|
|
10
11
|
manager: PluginManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Surface.stories.d.ts","sourceRoot":"","sources":["../../../../src/react/Surface.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"Surface.stories.d.ts","sourceRoot":"","sources":["../../../../src/react/Surface.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAgC,MAAM,OAAO,CAAC;AASrD,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,SAAS,CAAC;;;0BAkErB;QAAE,OAAO,EAAE,aAAa,CAAA;KAAE;;;;;;AAFlD,wBAcE;AAEF,eAAO,MAAM,OAAO,IAAK,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxos/app-framework",
|
|
3
|
-
"version": "0.8.1-main.
|
|
3
|
+
"version": "0.8.1-main.ba2dec9",
|
|
4
4
|
"description": "A framework for building applications from composible plugins.",
|
|
5
5
|
"homepage": "https://dxos.org",
|
|
6
6
|
"bugs": "https://github.com/dxos/dxos/issues",
|
|
@@ -38,29 +38,29 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@preact/signals-core": "^1.6.0",
|
|
41
|
-
"effect": "
|
|
42
|
-
"@dxos/artifact": "0.8.1-main.
|
|
43
|
-
"@dxos/
|
|
44
|
-
"@dxos/client-protocol": "0.8.1-main.
|
|
45
|
-
"@dxos/
|
|
46
|
-
"@dxos/invariant": "0.8.1-main.
|
|
47
|
-
"@dxos/
|
|
48
|
-
"@dxos/
|
|
49
|
-
"@dxos/
|
|
50
|
-
"@dxos/
|
|
51
|
-
"@dxos/util": "0.8.1-main.
|
|
52
|
-
"@dxos/
|
|
41
|
+
"effect": "3.13.3",
|
|
42
|
+
"@dxos/artifact": "0.8.1-main.ba2dec9",
|
|
43
|
+
"@dxos/async": "0.8.1-main.ba2dec9",
|
|
44
|
+
"@dxos/client-protocol": "0.8.1-main.ba2dec9",
|
|
45
|
+
"@dxos/debug": "0.8.1-main.ba2dec9",
|
|
46
|
+
"@dxos/invariant": "0.8.1-main.ba2dec9",
|
|
47
|
+
"@dxos/live-object": "0.8.1-main.ba2dec9",
|
|
48
|
+
"@dxos/local-storage": "0.8.1-main.ba2dec9",
|
|
49
|
+
"@dxos/log": "0.8.1-main.ba2dec9",
|
|
50
|
+
"@dxos/react-hooks": "0.8.1-main.ba2dec9",
|
|
51
|
+
"@dxos/util": "0.8.1-main.ba2dec9",
|
|
52
|
+
"@dxos/app-graph": "0.8.1-main.ba2dec9"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@phosphor-icons/react": "^2.1.5",
|
|
56
56
|
"@types/react": "~18.2.0",
|
|
57
57
|
"react": "~18.2.0",
|
|
58
|
-
"@dxos/echo-schema": "0.8.1-main.
|
|
59
|
-
"@dxos/echo-signals": "0.8.1-main.
|
|
60
|
-
"@dxos/random": "0.8.1-main.
|
|
61
|
-
"@dxos/react-ui": "0.8.1-main.
|
|
62
|
-
"@dxos/react-ui-syntax-highlighter": "0.8.1-main.
|
|
63
|
-
"@dxos/storybook-utils": "0.8.1-main.
|
|
58
|
+
"@dxos/echo-schema": "0.8.1-main.ba2dec9",
|
|
59
|
+
"@dxos/echo-signals": "0.8.1-main.ba2dec9",
|
|
60
|
+
"@dxos/random": "0.8.1-main.ba2dec9",
|
|
61
|
+
"@dxos/react-ui": "0.8.1-main.ba2dec9",
|
|
62
|
+
"@dxos/react-ui-syntax-highlighter": "0.8.1-main.ba2dec9",
|
|
63
|
+
"@dxos/storybook-utils": "0.8.1-main.ba2dec9"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
66
|
"react": "~18.2.0"
|