@dxos/plugin-testing 0.8.4-main.c85a9c8dae → 0.8.4-main.dfabb4ec29

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 (162) hide show
  1. package/dist/lib/neutral/StorybookPlugin.mjs +10 -0
  2. package/dist/lib/neutral/StorybookPlugin.mjs.map +7 -0
  3. package/dist/lib/neutral/add-toast-Z2RXG4RX.mjs +23 -0
  4. package/dist/lib/neutral/add-toast-Z2RXG4RX.mjs.map +7 -0
  5. package/dist/lib/neutral/capabilities/index.mjs +11 -0
  6. package/dist/lib/neutral/capabilities/index.mjs.map +7 -0
  7. package/dist/lib/neutral/chunk-7UPIIIZM.mjs +22 -0
  8. package/dist/lib/neutral/chunk-7UPIIIZM.mjs.map +7 -0
  9. package/dist/lib/neutral/chunk-E4LBVPH5.mjs +8 -0
  10. package/dist/lib/neutral/chunk-E4LBVPH5.mjs.map +7 -0
  11. package/dist/lib/neutral/chunk-J5LGTIGS.mjs +10 -0
  12. package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +7 -0
  13. package/dist/lib/neutral/chunk-NZ2VT6N2.mjs +17 -0
  14. package/dist/lib/neutral/chunk-NZ2VT6N2.mjs.map +7 -0
  15. package/dist/lib/neutral/chunk-R7AV233N.mjs +31 -0
  16. package/dist/lib/neutral/chunk-R7AV233N.mjs.map +7 -0
  17. package/dist/lib/neutral/chunk-ULNF6GTG.mjs +21 -0
  18. package/dist/lib/neutral/chunk-ULNF6GTG.mjs.map +7 -0
  19. package/dist/lib/{browser/chunk-YHPXIILW.mjs → neutral/chunk-ZVN23V74.mjs} +3 -8
  20. package/dist/lib/neutral/chunk-ZVN23V74.mjs.map +7 -0
  21. package/dist/lib/neutral/close-L3FBJQ3J.mjs +12 -0
  22. package/dist/lib/neutral/close-L3FBJQ3J.mjs.map +7 -0
  23. package/dist/lib/{browser → neutral/components}/index.mjs +54 -76
  24. package/dist/lib/neutral/components/index.mjs.map +7 -0
  25. package/dist/lib/neutral/core.mjs +8 -0
  26. package/dist/lib/neutral/core.mjs.map +7 -0
  27. package/dist/lib/neutral/harness.mjs +37 -0
  28. package/dist/lib/neutral/harness.mjs.map +7 -0
  29. package/dist/lib/neutral/index.mjs +20 -0
  30. package/dist/lib/neutral/index.mjs.map +7 -0
  31. package/dist/lib/neutral/meta.json +1 -0
  32. package/dist/lib/neutral/meta.mjs +8 -0
  33. package/dist/lib/neutral/meta.mjs.map +7 -0
  34. package/dist/lib/neutral/open-WBONYQ47.mjs +14 -0
  35. package/dist/lib/neutral/open-WBONYQ47.mjs.map +7 -0
  36. package/dist/lib/neutral/operation-handler-LQIWHQVY.mjs +13 -0
  37. package/dist/lib/neutral/operation-handler-LQIWHQVY.mjs.map +7 -0
  38. package/dist/lib/neutral/operations/index.mjs +8 -0
  39. package/dist/lib/neutral/operations/index.mjs.map +7 -0
  40. package/dist/lib/neutral/plugin.mjs +16 -0
  41. package/dist/lib/neutral/plugin.mjs.map +7 -0
  42. package/dist/lib/neutral/scroll-into-view-BKOOOECC.mjs +12 -0
  43. package/dist/lib/neutral/scroll-into-view-BKOOOECC.mjs.map +7 -0
  44. package/dist/lib/neutral/set-layout-mode-2KHD2AEY.mjs +12 -0
  45. package/dist/lib/neutral/set-layout-mode-2KHD2AEY.mjs.map +7 -0
  46. package/dist/lib/{browser/state-MIKI67FF.mjs → neutral/state-AJ62JEEG.mjs} +6 -6
  47. package/dist/lib/neutral/state-AJ62JEEG.mjs.map +7 -0
  48. package/dist/lib/neutral/switch-workspace-SAT2NGXV.mjs +20 -0
  49. package/dist/lib/neutral/switch-workspace-SAT2NGXV.mjs.map +7 -0
  50. package/dist/lib/neutral/types/index.mjs +8 -0
  51. package/dist/lib/neutral/types/index.mjs.map +7 -0
  52. package/dist/lib/neutral/update-complementary-JP2OL73Z.mjs +26 -0
  53. package/dist/lib/neutral/update-complementary-JP2OL73Z.mjs.map +7 -0
  54. package/dist/lib/neutral/update-dialog-MX6IKKJX.mjs +28 -0
  55. package/dist/lib/neutral/update-dialog-MX6IKKJX.mjs.map +7 -0
  56. package/dist/lib/neutral/update-popover-DOORE3TD.mjs +46 -0
  57. package/dist/lib/neutral/update-popover-DOORE3TD.mjs.map +7 -0
  58. package/dist/lib/neutral/update-sidebar-LWQ3IA6S.mjs +26 -0
  59. package/dist/lib/neutral/update-sidebar-LWQ3IA6S.mjs.map +7 -0
  60. package/dist/types/src/StorybookPlugin.d.ts +3 -2
  61. package/dist/types/src/StorybookPlugin.d.ts.map +1 -1
  62. package/dist/types/src/capabilities/index.d.ts +15 -2
  63. package/dist/types/src/capabilities/index.d.ts.map +1 -1
  64. package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
  65. package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
  66. package/dist/types/src/capabilities/{state/state.d.ts → state.d.ts} +3 -3
  67. package/dist/types/src/capabilities/state.d.ts.map +1 -0
  68. package/dist/types/src/components/Layout/Layout.d.ts.map +1 -0
  69. package/dist/types/src/components/Layout/index.d.ts +2 -0
  70. package/dist/types/src/components/Layout/index.d.ts.map +1 -0
  71. package/dist/types/src/core.d.ts +1 -7
  72. package/dist/types/src/core.d.ts.map +1 -1
  73. package/dist/types/src/harness.d.ts +20 -0
  74. package/dist/types/src/harness.d.ts.map +1 -0
  75. package/dist/types/src/index.d.ts +1 -0
  76. package/dist/types/src/index.d.ts.map +1 -1
  77. package/dist/types/src/operations/add-toast.d.ts +5 -0
  78. package/dist/types/src/operations/add-toast.d.ts.map +1 -0
  79. package/dist/types/src/operations/close.d.ts +5 -0
  80. package/dist/types/src/operations/close.d.ts.map +1 -0
  81. package/dist/types/src/operations/index.d.ts +3 -0
  82. package/dist/types/src/operations/index.d.ts.map +1 -0
  83. package/dist/types/src/operations/open.d.ts +5 -0
  84. package/dist/types/src/operations/open.d.ts.map +1 -0
  85. package/dist/types/src/operations/scroll-into-view.d.ts +5 -0
  86. package/dist/types/src/operations/scroll-into-view.d.ts.map +1 -0
  87. package/dist/types/src/operations/set-layout-mode.d.ts +5 -0
  88. package/dist/types/src/operations/set-layout-mode.d.ts.map +1 -0
  89. package/dist/types/src/operations/switch-workspace.d.ts +5 -0
  90. package/dist/types/src/operations/switch-workspace.d.ts.map +1 -0
  91. package/dist/types/src/operations/update-complementary.d.ts +5 -0
  92. package/dist/types/src/operations/update-complementary.d.ts.map +1 -0
  93. package/dist/types/src/operations/update-dialog.d.ts +5 -0
  94. package/dist/types/src/operations/update-dialog.d.ts.map +1 -0
  95. package/dist/types/src/operations/update-popover.d.ts +5 -0
  96. package/dist/types/src/operations/update-popover.d.ts.map +1 -0
  97. package/dist/types/src/operations/update-sidebar.d.ts +5 -0
  98. package/dist/types/src/operations/update-sidebar.d.ts.map +1 -0
  99. package/dist/types/src/operations/update-state.d.ts +5 -0
  100. package/dist/types/src/operations/update-state.d.ts.map +1 -0
  101. package/dist/types/src/plugin.d.ts +5 -0
  102. package/dist/types/src/plugin.d.ts.map +1 -0
  103. package/dist/types/src/types/{capabilities.d.ts → StorybookCapabilities.d.ts} +3 -1
  104. package/dist/types/src/types/StorybookCapabilities.d.ts.map +1 -0
  105. package/dist/types/src/types/index.d.ts +1 -1
  106. package/dist/types/src/types/index.d.ts.map +1 -1
  107. package/dist/types/tsconfig.tsbuildinfo +1 -1
  108. package/package.json +60 -19
  109. package/src/StorybookPlugin.ts +10 -8
  110. package/src/capabilities/index.ts +8 -2
  111. package/src/capabilities/operation-handler.ts +16 -0
  112. package/src/capabilities/{state/state.tsx → state.tsx} +9 -5
  113. package/src/components/Layout/Layout.tsx +236 -0
  114. package/src/components/Layout/index.ts +5 -0
  115. package/src/core.ts +19 -9
  116. package/src/harness.ts +52 -0
  117. package/src/index.ts +6 -0
  118. package/src/meta.ts +1 -1
  119. package/src/operations/add-toast.ts +22 -0
  120. package/src/operations/close.ts +14 -0
  121. package/src/operations/index.ts +18 -0
  122. package/src/operations/open.ts +18 -0
  123. package/src/operations/scroll-into-view.ts +14 -0
  124. package/src/operations/set-layout-mode.ts +14 -0
  125. package/src/operations/switch-workspace.ts +20 -0
  126. package/src/operations/update-complementary.ts +27 -0
  127. package/src/operations/update-dialog.ts +27 -0
  128. package/src/operations/update-popover.ts +37 -0
  129. package/src/operations/update-sidebar.ts +26 -0
  130. package/src/operations/update-state.ts +19 -0
  131. package/src/plugin.ts +12 -0
  132. package/src/types/{capabilities.ts → StorybookCapabilities.ts} +7 -2
  133. package/src/types/index.ts +1 -1
  134. package/dist/lib/browser/chunk-YHPXIILW.mjs.map +0 -7
  135. package/dist/lib/browser/index.mjs.map +0 -7
  136. package/dist/lib/browser/meta.json +0 -1
  137. package/dist/lib/browser/operation-resolver-FLU4ZARD.mjs +0 -112
  138. package/dist/lib/browser/operation-resolver-FLU4ZARD.mjs.map +0 -7
  139. package/dist/lib/browser/state-MIKI67FF.mjs.map +0 -7
  140. package/dist/lib/node-esm/chunk-OWK6XE6C.mjs +0 -23
  141. package/dist/lib/node-esm/chunk-OWK6XE6C.mjs.map +0 -7
  142. package/dist/lib/node-esm/index.mjs +0 -206
  143. package/dist/lib/node-esm/index.mjs.map +0 -7
  144. package/dist/lib/node-esm/meta.json +0 -1
  145. package/dist/lib/node-esm/operation-resolver-NWF6KBHP.mjs +0 -113
  146. package/dist/lib/node-esm/operation-resolver-NWF6KBHP.mjs.map +0 -7
  147. package/dist/lib/node-esm/state-JQVVUKO2.mjs +0 -44
  148. package/dist/lib/node-esm/state-JQVVUKO2.mjs.map +0 -7
  149. package/dist/types/src/capabilities/operation-resolver/index.d.ts +0 -3
  150. package/dist/types/src/capabilities/operation-resolver/index.d.ts.map +0 -1
  151. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts +0 -5
  152. package/dist/types/src/capabilities/operation-resolver/operation-resolver.d.ts.map +0 -1
  153. package/dist/types/src/capabilities/state/index.d.ts +0 -14
  154. package/dist/types/src/capabilities/state/index.d.ts.map +0 -1
  155. package/dist/types/src/capabilities/state/state.d.ts.map +0 -1
  156. package/dist/types/src/components/Layout.d.ts.map +0 -1
  157. package/dist/types/src/types/capabilities.d.ts.map +0 -1
  158. package/src/capabilities/operation-resolver/index.ts +0 -7
  159. package/src/capabilities/operation-resolver/operation-resolver.ts +0 -99
  160. package/src/capabilities/state/index.ts +0 -7
  161. package/src/components/Layout.tsx +0 -176
  162. /package/dist/types/src/components/{Layout.d.ts → Layout/Layout.d.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,cAAc,sBAAsB,CAAC;AACrC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,KAAK;;;;;;;;;;;cAAoD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import type { OperationHandlerSet } from '@dxos/compute';
4
+ declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
5
+ export default _default;
6
+ //# sourceMappingURL=operation-handler.d.ts.map
@@ -0,0 +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;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import { Atom } from '@effect-atom/atom-react';
2
2
  import * as Effect from 'effect/Effect';
3
3
  import { Capability } from '@dxos/app-framework';
4
- import { type LayoutStateProps } from '../../types';
4
+ import { StorybookCapabilities } from '#types';
5
5
  declare const _default: (props: {
6
- initialState?: Partial<LayoutStateProps>;
7
- } | undefined) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<Atom.Writable<LayoutStateProps, LayoutStateProps>>>, Capability.Capability<Capability.InterfaceDef<Atom.Atom<Readonly<{
6
+ initialState?: Partial<StorybookCapabilities.LayoutStateProps>;
7
+ } | undefined) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<Atom.Writable<StorybookCapabilities.LayoutStateProps, StorybookCapabilities.LayoutStateProps>>>, Capability.Capability<Capability.InterfaceDef<Atom.Atom<Readonly<{
8
8
  mode: string;
9
9
  dialogOpen: boolean;
10
10
  sidebarOpen: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/state.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAC/C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC;;mBAWS,OAAO,CAAC,qBAAqB,CAAC,gBAAgB,CAAC"}
@@ -0,0 +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;AAgE5G,eAAO,MAAM,MAAM,iBAAkB,iBAAiB,CAAC,EAAE,CAAC,sBAsJzD,CAAC;AAEF,eAAO,MAAM,aAAa,cAAe;IAAE,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,sBAczD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Layout';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Layout/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC"}
@@ -1,10 +1,4 @@
1
- import { OperationPlugin, type Plugin, RuntimePlugin } from '@dxos/app-framework';
2
- import { AttentionPlugin } from '@dxos/plugin-attention';
3
- import { ClientPlugin } from '@dxos/plugin-client';
4
- import { GraphPlugin } from '@dxos/plugin-graph';
5
- import { SettingsPlugin } from '@dxos/plugin-settings';
6
- import { ThemePlugin } from '@dxos/plugin-theme';
7
- export { AttentionPlugin, ClientPlugin, GraphPlugin, OperationPlugin, RuntimePlugin, SettingsPlugin, ThemePlugin };
1
+ import { type Plugin } from '@dxos/app-framework';
8
2
  /**
9
3
  * Core plugins for testing/storybook environments.
10
4
  * NOTE: Does not include SpacePlugin to avoid circular dependencies.
@@ -1 +1 @@
1
- {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,KAAK,MAAM,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKjD,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AAEnH;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAO3C,CAAC"}
1
+ {"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../../../src/core.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,MAAM,EAAiB,MAAM,qBAAqB,CAAC;AAsBlF;;;;GAIG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,CAAC,MAAM,EAO3C,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { type Plugin } from '@dxos/app-framework';
2
+ import { type TestAppOptions, type TestHarness } from '@dxos/app-framework/testing';
3
+ export type ComposerTestAppOptions = Omit<TestAppOptions, 'plugins'> & {
4
+ /** Plugins to register in addition to the Composer core plugins. */
5
+ plugins?: Plugin.Plugin[];
6
+ /**
7
+ * Whether to include `ThemePlugin` in the core plugin set.
8
+ * Defaults to `false` — `ThemePlugin` requires a browser DOM and breaks Node-only tests.
9
+ * Set to `true` (with jsdom/happy-dom) when rendering React surfaces.
10
+ */
11
+ theme?: boolean;
12
+ };
13
+ /**
14
+ * Creates a TestHarness pre-loaded with the Composer core plugins
15
+ * (Attention, Graph, Operation, Runtime, Settings, optionally Theme).
16
+ *
17
+ * For a ClientPlugin-backed harness, pass `ClientPlugin({ ... })` via `plugins`.
18
+ */
19
+ export declare const createComposerTestApp: (opts?: ComposerTestAppOptions) => Promise<TestHarness>;
20
+ //# sourceMappingURL=harness.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"harness.d.ts","sourceRoot":"","sources":["../../../src/harness.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,MAAM,EAAiB,MAAM,qBAAqB,CAAC;AAClF,OAAO,EAAiB,KAAK,cAAc,EAAE,KAAK,WAAW,EAAE,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;AAcF;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,UAAgB,sBAAsB,KAAQ,OAAO,CAAC,WAAW,CAYlG,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './core';
2
2
  export * from './meta';
3
+ export * from './types';
3
4
  export * from './StorybookPlugin';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AAEvB,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AAOxB,cAAc,mBAAmB,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.AddToast>;
4
+ export default handler;
5
+ //# sourceMappingURL=add-toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"add-toast.d.ts","sourceRoot":"","sources":["../../../../src/operations/add-toast.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,QAAQ,CAQnE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.Close>;
4
+ export default handler;
5
+ //# sourceMappingURL=close.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close.d.ts","sourceRoot":"","sources":["../../../../src/operations/close.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,KAAK,CAEhE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,3 @@
1
+ import { OperationHandlerSet } from '@dxos/compute';
2
+ export declare const TestingOperationHandlerSet: OperationHandlerSet.OperationHandlerSet;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/operations/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEpD,eAAO,MAAM,0BAA0B,yCAWtC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.Open>;
4
+ export default handler;
5
+ //# sourceMappingURL=open.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"open.d.ts","sourceRoot":"","sources":["../../../../src/operations/open.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,IAAI,CAM/D,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.ScrollIntoView>;
4
+ export default handler;
5
+ //# sourceMappingURL=scroll-into-view.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll-into-view.d.ts","sourceRoot":"","sources":["../../../../src/operations/scroll-into-view.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,cAAc,CAEzE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.SetLayoutMode>;
4
+ export default handler;
5
+ //# sourceMappingURL=set-layout-mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-layout-mode.d.ts","sourceRoot":"","sources":["../../../../src/operations/set-layout-mode.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,aAAa,CAExE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.SwitchWorkspace>;
4
+ export default handler;
5
+ //# sourceMappingURL=switch-workspace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch-workspace.d.ts","sourceRoot":"","sources":["../../../../src/operations/switch-workspace.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,eAAe,CAM1E,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdateComplementary>;
4
+ export default handler;
5
+ //# sourceMappingURL=update-complementary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-complementary.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-complementary.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,mBAAmB,CAa5E,CAAC;eAEW,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdateDialog>;
4
+ export default handler;
5
+ //# sourceMappingURL=update-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-dialog.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-dialog.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,YAAY,CAavE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdatePopover>;
4
+ export default handler;
5
+ //# sourceMappingURL=update-popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-popover.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-popover.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAK1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,aAAa,CAsBxE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import { LayoutOperation } from '@dxos/app-toolkit';
2
+ import { Operation } from '@dxos/compute';
3
+ declare const handler: Operation.WithHandler<typeof LayoutOperation.UpdateSidebar>;
4
+ export default handler;
5
+ //# sourceMappingURL=update-sidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-sidebar.d.ts","sourceRoot":"","sources":["../../../../src/operations/update-sidebar.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,eAAe,CAAC,aAAa,CAYxE,CAAC;eAEa,OAAO"}
@@ -0,0 +1,5 @@
1
+ import * as Effect from 'effect/Effect';
2
+ import { Capability } from '@dxos/app-framework';
3
+ import { StorybookCapabilities } from '../types';
4
+ export declare const updateState: (fn: (state: StorybookCapabilities.LayoutStateProps) => Partial<StorybookCapabilities.LayoutStateProps>) => Effect.Effect<void, Error, Capability.Service>;
5
+ //# sourceMappingURL=update-state.d.ts.map
@@ -0,0 +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;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEjD,eAAO,MAAM,WAAW,OAClB,CAAC,KAAK,EAAE,qBAAqB,CAAC,gBAAgB,KAAK,OAAO,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,mDAOpG,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { Plugin } from '@dxos/app-framework';
2
+ export declare const StorybookPlugin: Plugin.PluginFactory<import("#plugin").StorybookPluginOptions>;
3
+ export type { StorybookPluginOptions } from '#plugin';
4
+ export { TestingOperationHandlerSet } from './operations';
5
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAI7C,eAAO,MAAM,eAAe,gEAA6C,CAAC;AAC1E,YAAY,EAAE,sBAAsB,EAAE,MAAM,SAAS,CAAC;AAEtD,OAAO,EAAE,0BAA0B,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { type Atom } from '@effect-atom/atom-react';
2
2
  import { Capability } from '@dxos/app-framework';
3
+ import { type LayoutOperation } from '@dxos/app-toolkit';
3
4
  import { type Label } from '@dxos/react-ui';
4
5
  export type LayoutStateProps = {
5
6
  sidebarState?: 'expanded' | 'collapsed' | 'closed';
@@ -19,7 +20,8 @@ export type LayoutStateProps = {
19
20
  popoverKind?: 'base' | 'card';
20
21
  popoverTitle?: Label;
21
22
  popoverContent?: any;
23
+ toasts: LayoutOperation.Toast[];
22
24
  workspace: string;
23
25
  };
24
26
  export declare const LayoutState: Capability.InterfaceDef<Atom.Writable<LayoutStateProps, LayoutStateProps>>;
25
- //# sourceMappingURL=capabilities.d.ts.map
27
+ //# sourceMappingURL=StorybookCapabilities.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StorybookCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/StorybookCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,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,CAAC;IAC9B,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,4EAAuE,CAAC"}
@@ -1,2 +1,2 @@
1
- export * from './capabilities';
1
+ export * as StorybookCapabilities from './StorybookCapabilities';
2
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,cAAc,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/types/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,qBAAqB,MAAM,yBAAyB,CAAC"}