@dxos/plugin-testing 0.11.0 → 0.12.0-next-bbabc02363f18d7643ea4160e3a7a7809870fd0d
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/{chunk-types.mjs → StorybookCapabilities.mjs} +4 -4
- package/dist/lib/StorybookCapabilities.mjs.map +1 -0
- package/dist/lib/StorybookPlugin.mjs +3 -14
- package/dist/lib/StorybookPlugin.mjs.map +1 -1
- package/dist/lib/capabilities.mjs +12 -4
- package/dist/lib/capabilities.mjs.map +1 -1
- package/dist/lib/chunk-add-toast.mjs +2 -2
- package/dist/lib/chunk-add-toast.mjs.map +1 -1
- package/dist/lib/chunk-close.mjs +2 -2
- package/dist/lib/chunk-close.mjs.map +1 -1
- package/dist/lib/chunk-meta.mjs +1 -1
- package/dist/lib/chunk-meta.mjs.map +1 -1
- package/dist/lib/chunk-open.mjs +2 -2
- package/dist/lib/chunk-open.mjs.map +1 -1
- package/dist/lib/chunk-operation-handler.mjs +3 -2
- package/dist/lib/chunk-operation-handler.mjs.map +1 -1
- package/dist/lib/chunk-react-context.mjs +13 -0
- package/dist/lib/chunk-react-context.mjs.map +1 -0
- package/dist/lib/chunk-scroll-into-view.mjs +2 -2
- package/dist/lib/chunk-scroll-into-view.mjs.map +1 -1
- package/dist/lib/chunk-state.mjs +4 -4
- package/dist/lib/chunk-state.mjs.map +1 -1
- package/dist/lib/chunk-switch-workspace.mjs +2 -2
- package/dist/lib/chunk-switch-workspace.mjs.map +1 -1
- package/dist/lib/chunk-update-complementary.mjs +2 -2
- package/dist/lib/chunk-update-complementary.mjs.map +1 -1
- package/dist/lib/chunk-update-dialog.mjs +2 -2
- package/dist/lib/chunk-update-dialog.mjs.map +1 -1
- package/dist/lib/chunk-update-popover.mjs +2 -2
- package/dist/lib/chunk-update-popover.mjs.map +1 -1
- package/dist/lib/chunk-update-sidebar.mjs +2 -2
- package/dist/lib/chunk-update-sidebar.mjs.map +1 -1
- package/dist/lib/chunk-update-state.mjs +3 -2
- package/dist/lib/chunk-update-state.mjs.map +1 -1
- package/dist/lib/components.mjs +2 -2
- package/dist/lib/components.mjs.map +1 -1
- package/dist/lib/core.mjs.map +1 -1
- package/dist/lib/harness.mjs +0 -2
- package/dist/lib/harness.mjs.map +1 -1
- package/dist/lib/index.mjs +1 -1
- package/dist/lib/operations.mjs +14 -2
- package/dist/lib/operations.mjs.map +1 -1
- package/dist/lib/plugin.mjs +2 -3
- package/dist/lib/plugin.mjs.map +1 -1
- package/dist/types/src/StorybookPlugin.d.ts +2 -2
- package/dist/types/src/StorybookPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +7 -6
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/operation-handler.d.ts +2 -3
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -1
- package/dist/types/src/capabilities/react-context.d.ts +5 -0
- package/dist/types/src/capabilities/react-context.d.ts.map +1 -0
- package/dist/types/src/capabilities/state.d.ts +3 -3
- package/dist/types/src/capabilities/state.d.ts.map +1 -1
- package/dist/types/src/components/Layout/Layout.d.ts.map +1 -1
- package/dist/types/src/core.d.ts +1 -1
- package/dist/types/src/core.d.ts.map +1 -1
- package/dist/types/src/harness.d.ts +1 -1
- package/dist/types/src/harness.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/operations/add-toast.d.ts +2 -2
- package/dist/types/src/operations/add-toast.d.ts.map +1 -1
- package/dist/types/src/operations/close.d.ts +2 -2
- package/dist/types/src/operations/close.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +1 -1
- package/dist/types/src/operations/index.d.ts.map +1 -1
- package/dist/types/src/operations/open.d.ts +2 -2
- package/dist/types/src/operations/open.d.ts.map +1 -1
- package/dist/types/src/operations/scroll-into-view.d.ts +2 -2
- package/dist/types/src/operations/scroll-into-view.d.ts.map +1 -1
- package/dist/types/src/operations/switch-workspace.d.ts +2 -2
- package/dist/types/src/operations/switch-workspace.d.ts.map +1 -1
- package/dist/types/src/operations/update-complementary.d.ts +2 -2
- package/dist/types/src/operations/update-complementary.d.ts.map +1 -1
- package/dist/types/src/operations/update-dialog.d.ts +2 -2
- package/dist/types/src/operations/update-dialog.d.ts.map +1 -1
- package/dist/types/src/operations/update-popover.d.ts +2 -2
- package/dist/types/src/operations/update-popover.d.ts.map +1 -1
- package/dist/types/src/operations/update-sidebar.d.ts +2 -2
- package/dist/types/src/operations/update-sidebar.d.ts.map +1 -1
- package/dist/types/src/operations/update-state.d.ts +3 -3
- package/dist/types/src/operations/update-state.d.ts.map +1 -1
- package/dist/types/src/plugin.d.ts +1 -2
- package/dist/types/src/plugin.d.ts.map +1 -1
- package/dist/types/src/types/StorybookCapabilities.d.ts +3 -3
- package/dist/types/src/types/StorybookCapabilities.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +29 -23
- package/src/StorybookPlugin.ts +7 -25
- package/src/capabilities/index.ts +13 -6
- package/src/capabilities/operation-handler.ts +4 -4
- package/src/capabilities/react-context.tsx +19 -0
- package/src/capabilities/state.tsx +5 -5
- package/src/components/Layout/Layout.tsx +3 -2
- package/src/core.ts +2 -1
- package/src/harness.ts +2 -5
- package/src/index.ts +1 -1
- package/src/meta.ts +1 -1
- package/src/operations/add-toast.ts +2 -2
- package/src/operations/close.ts +2 -2
- package/src/operations/index.ts +14 -12
- package/src/operations/open.ts +2 -2
- package/src/operations/scroll-into-view.ts +2 -2
- package/src/operations/switch-workspace.ts +2 -2
- package/src/operations/update-complementary.ts +2 -2
- package/src/operations/update-dialog.ts +2 -2
- package/src/operations/update-popover.ts +3 -3
- package/src/operations/update-sidebar.ts +2 -2
- package/src/operations/update-state.ts +3 -2
- package/src/plugin.ts +1 -3
- package/src/types/StorybookCapabilities.ts +3 -3
- package/dist/lib/chunk-types.mjs.map +0 -1
- package/dist/lib/types.mjs +0 -2
- package/dist/types/src/types/index.d.ts +0 -2
- package/dist/types/src/types/index.d.ts.map +0 -1
- package/src/types/index.ts +0 -5
package/dist/lib/plugin.mjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { t as meta } from "./chunk-meta.mjs";
|
|
2
|
-
import
|
|
3
|
-
import { Plugin } from "@dxos/app-framework";
|
|
2
|
+
import * as Plugin from "@dxos/app-framework/Plugin";
|
|
4
3
|
//#region src/plugin.ts
|
|
5
4
|
var StorybookPlugin = Plugin.lazy(meta, () => import("#plugin"));
|
|
6
5
|
//#endregion
|
|
7
|
-
export { StorybookPlugin
|
|
6
|
+
export { StorybookPlugin };
|
|
8
7
|
|
|
9
8
|
//# sourceMappingURL=plugin.mjs.map
|
package/dist/lib/plugin.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.mjs","names":[],"sources":["../../src/plugin.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport
|
|
1
|
+
{"version":3,"file":"plugin.mjs","names":[],"sources":["../../src/plugin.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport * as Plugin from '@dxos/app-framework/Plugin';\n\nimport { meta } from './meta';\n\nexport const StorybookPlugin = Plugin.lazy(meta, () => import('#plugin'));\nexport type { StorybookPluginOptions } from '#plugin';\n"],"mappings":";;;AAQA,IAAa,kBAAkB,OAAO,KAAK,YAAY,OAAO,UAAU"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as Plugin from '@dxos/app-framework/Plugin';
|
|
2
|
+
import * as StorybookCapabilities from './types/StorybookCapabilities';
|
|
3
3
|
export type StorybookPluginOptions = {
|
|
4
4
|
initialState?: Partial<StorybookCapabilities.LayoutStateProps>;
|
|
5
5
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorybookPlugin.d.ts","sourceRoot":"","sources":["../../../src/StorybookPlugin.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StorybookPlugin.d.ts","sourceRoot":"","sources":["../../../src/StorybookPlugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AAKrD,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC;AAEvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;CAChE,CAAC;AAEF,eAAO,MAAM,eAAe,8CAK3B,CAAC;eAEa,eAAe"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export declare const OperationHandler: Capability.
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
2
|
+
import * as StorybookCapabilities from '../types/StorybookCapabilities';
|
|
3
|
+
export declare const OperationHandler: Capability.Module<void>;
|
|
4
|
+
export declare const ReactContext: Capability.Module<void>;
|
|
5
|
+
export declare const State: Capability.Module<{
|
|
6
|
+
initialState?: Partial<StorybookCapabilities.LayoutStateProps>;
|
|
7
|
+
} | undefined>;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAI7D,OAAO,KAAK,qBAAqB,MAAM,gCAAgC,CAAC;AAExE,eAAO,MAAM,gBAAgB,yBAAsE,CAAC;AACpG,eAAO,MAAM,YAAY,yBAA8D,CAAC;AACxF,eAAO,MAAM,KAAK;;cAKjB,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, import("effect/Scope").Scope | Capability.Service>;
|
|
2
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Contribution<Capability.CapabilityIdentifier<"org.dxos.app-framework.capability.operationHandler", "multi">>, never, import("effect/Scope").Scope>;
|
|
5
4
|
export default _default;
|
|
6
5
|
//# sourceMappingURL=operation-handler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"operation-handler.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/operation-handler.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Contribution<Capability.CapabilityIdentifier<"org.dxos.app-framework.capability.reactContext", "multi">>, never, import("effect/Scope").Scope>;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=react-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react-context.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-context.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
3
|
+
import * as StorybookCapabilities from '../types/StorybookCapabilities';
|
|
4
4
|
declare const _default: (props: {
|
|
5
5
|
initialState?: Partial<StorybookCapabilities.LayoutStateProps>;
|
|
6
|
-
} | undefined) => Effect.Effect<
|
|
6
|
+
} | undefined) => Effect.Effect<(Capability.Contribution<Capability.CapabilityIdentifier<"org.dxos.app-framework.capability.layout", "single">> | Capability.Contribution<Capability.CapabilityIdentifier<`${string}.state`, "single">>)[], never, import("effect/Scope").Scope>;
|
|
7
7
|
export default _default;
|
|
8
8
|
//# sourceMappingURL=state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAG7D,OAAO,KAAK,qBAAqB,MAAM,gCAAgC,CAAC;;mBAWhB,OAAO,CAAC,qBAAqB,CAAC,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAwD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/Layout.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAwD,MAAM,OAAO,CAAC;AAwD5G,eAAO,MAAM,MAAM,iBAAkB,iBAAiB,CAAC,EAAE,CAAC,sBAuJzD,CAAC;AAEF,eAAO,MAAM,aAAa,cAAe;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAczD,CAAC"}
|
package/dist/types/src/core.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,4BAA4B,CAAC;AAoB1D;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAM3C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type * as Plugin from '@dxos/app-framework/Plugin';
|
|
2
2
|
import { type TestAppOptions, type TestHarness } from '@dxos/app-framework/testing';
|
|
3
3
|
export type ComposerTestAppOptions = Omit<TestAppOptions, 'plugins'> & {
|
|
4
4
|
/** Plugins to register in addition to the Composer core plugins. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../src/harness.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../src/harness.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAAiB,MAAM,6BAA6B,CAAC;AAKnG,MAAM,MAAM,sBAAsB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IACrE,oEAAoE;IACpE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,CAAC;IAC1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAaF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,qBAAqB,UAAgB,sBAAsB,KAAQ,OAAO,CAAC,WAAW,CAYlG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAOvB,cAAc,mBAAmB,CAAC;AAClC,OAAO,KAAK,qBAAqB,MAAM,+BAA+B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.AddToast>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=add-toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-toast.d.ts","sourceRoot":"","sources":["../../../../src/operations/add-toast.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"add-toast.d.ts","sourceRoot":"","sources":["../../../../src/operations/add-toast.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAIrD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,QAAQ,CAQnE,CAAC;eAEa,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.Close>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=close.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"close.d.ts","sourceRoot":"","sources":["../../../../src/operations/close.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"close.d.ts","sourceRoot":"","sources":["../../../../src/operations/close.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAErD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,KAAK,CAEhE,CAAC;eAEa,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,mBAAmB,MAAM,mCAAmC,CAAC;AAEzE,eAAO,MAAM,0BAA0B,yCAUrC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.Open>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=open.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAGrD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAO/D,CAAC;eAEa,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.ScrollIntoView>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=scroll-into-view.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scroll-into-view.d.ts","sourceRoot":"","sources":["../../../../src/operations/scroll-into-view.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"scroll-into-view.d.ts","sourceRoot":"","sources":["../../../../src/operations/scroll-into-view.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAErD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,cAAc,CAEzE,CAAC;eAEa,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.SwitchWorkspace>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=switch-workspace.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch-workspace.d.ts","sourceRoot":"","sources":["../../../../src/operations/switch-workspace.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"switch-workspace.d.ts","sourceRoot":"","sources":["../../../../src/operations/switch-workspace.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAIrD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAM1E,CAAC;eAEa,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdateComplementary>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=update-complementary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-complementary.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-complementary.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"update-complementary.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-complementary.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAIrD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,mBAAmB,CAa5E,CAAC;eAEW,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdateDialog>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=update-dialog.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-dialog.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-dialog.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"update-dialog.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-dialog.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAIrD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,YAAY,CAavE,CAAC;eAEa,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdatePopover>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=update-popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-popover.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-popover.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"update-popover.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-popover.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAKrD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,aAAa,CAsBxE,CAAC;eAEa,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
2
|
+
import * as Operation from '@dxos/compute/Operation';
|
|
3
3
|
declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdateSidebar>;
|
|
4
4
|
export default handler;
|
|
5
5
|
//# sourceMappingURL=update-sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-sidebar.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-sidebar.ts"],"names":[],"mappings":"AAMA,OAAO,
|
|
1
|
+
{"version":3,"file":"update-sidebar.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-sidebar.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,eAAe,MAAM,mCAAmC,CAAC;AACrE,OAAO,KAAK,SAAS,MAAM,yBAAyB,CAAC;AAIrD,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,aAAa,CAYxE,CAAC;eAEa,OAAO"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
export declare const updateState: (fn: (state: StorybookCapabilities.LayoutStateProps) => Partial<StorybookCapabilities.LayoutStateProps>) => Effect.Effect<void,
|
|
2
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
3
|
+
import * as StorybookCapabilities from '../types/StorybookCapabilities';
|
|
4
|
+
export declare const updateState: (fn: (state: StorybookCapabilities.LayoutStateProps) => Partial<StorybookCapabilities.LayoutStateProps>) => Effect.Effect<void, import("@dxos/app-framework").CapabilityNotFoundError, Capability.Service>;
|
|
5
5
|
//# sourceMappingURL=update-state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-state.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"update-state.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-state.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAE7D,OAAO,KAAK,qBAAqB,MAAM,gCAAgC,CAAC;AAExE,eAAO,MAAM,WAAW,OAClB,CAAC,KAAK,EAAE,qBAAqB,CAAC,gBAAgB,KAAK,OAAO,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,mGAapG,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Plugin from '@dxos/app-framework/Plugin';
|
|
2
2
|
export declare const StorybookPlugin: Plugin.PluginFactory<import("#plugin").StorybookPluginOptions>;
|
|
3
3
|
export type { StorybookPluginOptions } from '#plugin';
|
|
4
|
-
export { TestingOperationHandlerSet } from './operations';
|
|
5
4
|
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,4BAA4B,CAAC;AAIrD,eAAO,MAAM,eAAe,gEAA6C,CAAC;AAC1E,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Atom } from '@effect-atom/atom';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
2
|
+
import * as Capability from '@dxos/app-framework/Capability';
|
|
3
|
+
import type * as LayoutOperation from '@dxos/app-toolkit/LayoutOperation';
|
|
4
4
|
import { type Label } from '@dxos/react-ui';
|
|
5
5
|
export type LayoutStateProps = {
|
|
6
6
|
sidebarState?: 'expanded' | 'collapsed' | 'closed';
|
|
@@ -23,5 +23,5 @@ export type LayoutStateProps = {
|
|
|
23
23
|
toasts: LayoutOperation.Toast[];
|
|
24
24
|
workspace: string;
|
|
25
25
|
};
|
|
26
|
-
export declare const LayoutState: Capability.
|
|
26
|
+
export declare const LayoutState: Capability.Tag<Atom.Writable<LayoutStateProps, LayoutStateProps>, `${string}.state`>;
|
|
27
27
|
//# sourceMappingURL=StorybookCapabilities.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StorybookCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/StorybookCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,
|
|
1
|
+
{"version":3,"file":"StorybookCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/StorybookCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,UAAU,MAAM,gCAAgC,CAAC;AAC7D,OAAO,KAAK,KAAK,eAAe,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAI5C,MAAM,MAAM,gBAAgB,GAAG;IAC7B,YAAY,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC;IACnD,yBAAyB,CAAC,EAAE,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAC;IAEhE,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IACjC,gBAAgB,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IAC9C,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACzC,+CAA+C;IAC/C,aAAa,CAAC,EAAE,GAAG,CAAC;IAEpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAClD,cAAc,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IACrC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;IACzC,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,cAAc,CAAC,EAAE,GAAG,CAAC;IAErB,MAAM,EAAE,eAAe,CAAC,KAAK,EAAE,CAAC;IAEhC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,WAAW,sFAA2F,CAAC"}
|