@dxos/plugin-presenter 0.10.0 → 0.11.0

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 (136) hide show
  1. package/PLUGIN.mdl +5 -3
  2. package/dist/lib/PresenterPlugin.mjs +22 -0
  3. package/dist/lib/PresenterPlugin.mjs.map +1 -0
  4. package/dist/lib/PresenterPlugin.node.mjs +10 -0
  5. package/dist/lib/PresenterPlugin.node.mjs.map +1 -0
  6. package/dist/lib/PresenterPlugin.workerd.mjs +8 -0
  7. package/dist/lib/PresenterPlugin.workerd.mjs.map +1 -0
  8. package/dist/lib/capabilities.mjs +11 -0
  9. package/dist/lib/capabilities.mjs.map +1 -0
  10. package/dist/lib/chunk-CollectionArticle.mjs +49 -0
  11. package/dist/lib/chunk-CollectionArticle.mjs.map +1 -0
  12. package/dist/lib/chunk-DocumentArticle.mjs +32 -0
  13. package/dist/lib/chunk-DocumentArticle.mjs.map +1 -0
  14. package/dist/lib/chunk-SlideArticle.mjs +17 -0
  15. package/dist/lib/chunk-SlideArticle.mjs.map +1 -0
  16. package/dist/lib/chunk-app-graph-builder.mjs +57 -0
  17. package/dist/lib/chunk-app-graph-builder.mjs.map +1 -0
  18. package/dist/lib/chunk-markdown-extension.mjs +31 -0
  19. package/dist/lib/chunk-markdown-extension.mjs.map +1 -0
  20. package/dist/lib/{neutral/chunk-MSQDHOPV.mjs → chunk-meta.mjs} +19 -23
  21. package/dist/lib/chunk-meta.mjs.map +1 -0
  22. package/dist/lib/chunk-operation-handler.mjs +11 -0
  23. package/dist/lib/chunk-operation-handler.mjs.map +1 -0
  24. package/dist/lib/chunk-react-surface.mjs +42 -0
  25. package/dist/lib/chunk-react-surface.mjs.map +1 -0
  26. package/dist/lib/chunk-settings.mjs +23 -0
  27. package/dist/lib/chunk-settings.mjs.map +1 -0
  28. package/dist/lib/chunk-toggle-presentation.mjs +48 -0
  29. package/dist/lib/chunk-toggle-presentation.mjs.map +1 -0
  30. package/dist/lib/chunk-types.mjs +57 -0
  31. package/dist/lib/chunk-types.mjs.map +1 -0
  32. package/dist/lib/chunk-useExitPresenter.mjs +20 -0
  33. package/dist/lib/chunk-useExitPresenter.mjs.map +1 -0
  34. package/dist/lib/components.mjs +465 -0
  35. package/dist/lib/components.mjs.map +1 -0
  36. package/dist/lib/containers.mjs +9 -0
  37. package/dist/lib/containers.mjs.map +1 -0
  38. package/dist/lib/index.mjs +3 -0
  39. package/dist/lib/meta.mjs +2 -0
  40. package/dist/lib/operations.mjs +7 -0
  41. package/dist/lib/operations.mjs.map +1 -0
  42. package/dist/lib/plugin.mjs +8 -0
  43. package/dist/lib/plugin.mjs.map +1 -0
  44. package/dist/lib/testing.mjs +27 -0
  45. package/dist/lib/testing.mjs.map +1 -0
  46. package/dist/lib/translations.mjs +10 -0
  47. package/dist/lib/translations.mjs.map +1 -0
  48. package/dist/lib/types.mjs +2 -0
  49. package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -1
  50. package/dist/types/src/capabilities/markdown-extension.d.ts +1 -1
  51. package/dist/types/src/capabilities/operation-handler.d.ts +1 -1
  52. package/dist/types/src/capabilities/react-surface.d.ts +1 -1
  53. package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
  54. package/dist/types/src/capabilities/settings.d.ts +1 -1
  55. package/dist/types/src/components/Presenter/Layout.d.ts +1 -1
  56. package/dist/types/src/components/Presenter/Layout.d.ts.map +1 -1
  57. package/dist/types/src/components/Presenter/PresentationShell.d.ts +1 -1
  58. package/dist/types/src/components/Presenter/PresentationShell.d.ts.map +1 -1
  59. package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts +1 -1
  60. package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts.map +1 -1
  61. package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts +1 -1
  62. package/dist/types/src/containers/CollectionArticle/CollectionArticle.d.ts +4 -1
  63. package/dist/types/src/containers/CollectionArticle/CollectionArticle.d.ts.map +1 -1
  64. package/dist/types/src/containers/DocumentArticle/DocumentArticle.d.ts +4 -1
  65. package/dist/types/src/containers/DocumentArticle/DocumentArticle.d.ts.map +1 -1
  66. package/dist/types/src/containers/SlideArticle/SlideArticle.d.ts +4 -1
  67. package/dist/types/src/containers/SlideArticle/SlideArticle.d.ts.map +1 -1
  68. package/dist/types/src/operations/toggle-presentation.d.ts.map +1 -1
  69. package/dist/types/src/paths.d.ts.map +1 -1
  70. package/dist/types/src/types/PresenterCapabilities.d.ts +1 -1
  71. package/dist/types/src/types/PresenterCapabilities.d.ts.map +1 -1
  72. package/dist/types/tsconfig.tsbuildinfo +1 -1
  73. package/dx.config.ts +1 -0
  74. package/package.json +39 -39
  75. package/src/capabilities/app-graph-builder.ts +2 -3
  76. package/src/capabilities/{react-surface.tsx → react-surface.ts} +6 -4
  77. package/src/components/Markdown/Panel.tsx +1 -1
  78. package/src/components/Markdown/theme.ts +1 -1
  79. package/src/components/Presenter/Layout.tsx +1 -1
  80. package/src/components/RevealPlayer/RevealPlayer.tsx +1 -1
  81. package/src/containers/CollectionArticle/CollectionArticle.tsx +2 -0
  82. package/src/containers/DocumentArticle/DocumentArticle.tsx +2 -0
  83. package/src/containers/SlideArticle/SlideArticle.tsx +2 -0
  84. package/src/operations/toggle-presentation.ts +13 -11
  85. package/src/paths.ts +3 -2
  86. package/src/types/PresenterCapabilities.ts +1 -1
  87. package/dist/lib/neutral/CollectionArticle-7R4KJWDW.mjs +0 -47
  88. package/dist/lib/neutral/CollectionArticle-7R4KJWDW.mjs.map +0 -7
  89. package/dist/lib/neutral/DocumentArticle-YZRKVEN7.mjs +0 -32
  90. package/dist/lib/neutral/DocumentArticle-YZRKVEN7.mjs.map +0 -7
  91. package/dist/lib/neutral/PresenterPlugin.mjs +0 -42
  92. package/dist/lib/neutral/PresenterPlugin.mjs.map +0 -7
  93. package/dist/lib/neutral/PresenterPlugin.node.mjs +0 -16
  94. package/dist/lib/neutral/PresenterPlugin.node.mjs.map +0 -7
  95. package/dist/lib/neutral/PresenterPlugin.workerd.mjs +0 -12
  96. package/dist/lib/neutral/PresenterPlugin.workerd.mjs.map +0 -7
  97. package/dist/lib/neutral/SlideArticle-FE2I6KBO.mjs +0 -20
  98. package/dist/lib/neutral/SlideArticle-FE2I6KBO.mjs.map +0 -7
  99. package/dist/lib/neutral/app-graph-builder-FNDFY5L3.mjs +0 -81
  100. package/dist/lib/neutral/app-graph-builder-FNDFY5L3.mjs.map +0 -7
  101. package/dist/lib/neutral/capabilities/index.mjs +0 -17
  102. package/dist/lib/neutral/capabilities/index.mjs.map +0 -7
  103. package/dist/lib/neutral/chunk-63IF7OXT.mjs +0 -19
  104. package/dist/lib/neutral/chunk-63IF7OXT.mjs.map +0 -7
  105. package/dist/lib/neutral/chunk-J5LGTIGS.mjs +0 -10
  106. package/dist/lib/neutral/chunk-J5LGTIGS.mjs.map +0 -7
  107. package/dist/lib/neutral/chunk-MSQDHOPV.mjs.map +0 -7
  108. package/dist/lib/neutral/chunk-NDZ6IIAL.mjs +0 -73
  109. package/dist/lib/neutral/chunk-NDZ6IIAL.mjs.map +0 -7
  110. package/dist/lib/neutral/components/index.mjs +0 -563
  111. package/dist/lib/neutral/components/index.mjs.map +0 -7
  112. package/dist/lib/neutral/containers/index.mjs +0 -13
  113. package/dist/lib/neutral/containers/index.mjs.map +0 -7
  114. package/dist/lib/neutral/index.mjs +0 -18
  115. package/dist/lib/neutral/index.mjs.map +0 -7
  116. package/dist/lib/neutral/markdown-extension-HGLRVZDF.mjs +0 -37
  117. package/dist/lib/neutral/markdown-extension-HGLRVZDF.mjs.map +0 -7
  118. package/dist/lib/neutral/meta.json +0 -1
  119. package/dist/lib/neutral/meta.mjs +0 -8
  120. package/dist/lib/neutral/meta.mjs.map +0 -7
  121. package/dist/lib/neutral/operation-handler-3ZESW5AK.mjs +0 -13
  122. package/dist/lib/neutral/operation-handler-3ZESW5AK.mjs.map +0 -7
  123. package/dist/lib/neutral/operations/index.mjs +0 -9
  124. package/dist/lib/neutral/operations/index.mjs.map +0 -7
  125. package/dist/lib/neutral/plugin.mjs +0 -12
  126. package/dist/lib/neutral/plugin.mjs.map +0 -7
  127. package/dist/lib/neutral/react-surface-VO4GPCLQ.mjs +0 -42
  128. package/dist/lib/neutral/react-surface-VO4GPCLQ.mjs.map +0 -7
  129. package/dist/lib/neutral/settings-DBV7N5HT.mjs +0 -28
  130. package/dist/lib/neutral/settings-DBV7N5HT.mjs.map +0 -7
  131. package/dist/lib/neutral/toggle-presentation-PH7ZJJDD.mjs +0 -60
  132. package/dist/lib/neutral/toggle-presentation-PH7ZJJDD.mjs.map +0 -7
  133. package/dist/lib/neutral/translations.mjs +0 -18
  134. package/dist/lib/neutral/translations.mjs.map +0 -7
  135. package/dist/lib/neutral/types/index.mjs +0 -14
  136. package/dist/lib/neutral/types/index.mjs.map +0 -7
@@ -0,0 +1,8 @@
1
+ import { t as meta } from "./chunk-meta.mjs";
2
+ import { Plugin } from "@dxos/app-framework";
3
+ //#region src/plugin.ts
4
+ var PresenterPlugin = Plugin.lazy(meta, () => import("#plugin"));
5
+ //#endregion
6
+ export { PresenterPlugin };
7
+
8
+ //# sourceMappingURL=plugin.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.mjs","names":[],"sources":["../../src/plugin.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport { Plugin } from '@dxos/app-framework';\n\nimport { meta } from './meta';\n\nexport const PresenterPlugin = Plugin.lazy(meta, () => import('#plugin'));\n"],"mappings":";;;AAQA,IAAa,kBAAkB,OAAO,KAAK,YAAY,OAAO,UAAU"}
@@ -0,0 +1,27 @@
1
+ import { random } from "@dxos/random";
2
+ //#region src/testing.ts
3
+ var createSlide = (options = {}) => {
4
+ const num = options.number === void 0 ? "" : `${options.number}. `;
5
+ const code = () => [
6
+ "```tsx",
7
+ "const x = [1, 2, 3];",
8
+ "const f = (x: number[]) => x.reduce((acc, value) => acc + value, 0)",
9
+ "const y = f(x)",
10
+ "```"
11
+ ].join("\n");
12
+ const list = (length = 3) => Array.from({ length }).map(() => `- ${random.lorem.sentence(3)}`).join("\n");
13
+ const ordered = (length = 3) => Array.from({ length }).map((_, i) => `${i + 1}. ${random.lorem.sentence(3)}`).join("\n");
14
+ return [
15
+ `# ${num}${random.lorem.sentence(3)}`,
16
+ options.text && random.lorem.sentences(),
17
+ options.code && code(),
18
+ options.list && list(options.list),
19
+ options.ordered && ordered(options.ordered),
20
+ random.lorem.sentences()
21
+ ].filter(Boolean).join("\n\r");
22
+ };
23
+ var createSlides = (length = 1) => Array.from({ length }).map((_, i) => createSlide({ number: i + 1 }));
24
+ //#endregion
25
+ export { createSlide, createSlides };
26
+
27
+ //# sourceMappingURL=testing.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"testing.mjs","names":[],"sources":["../../src/testing.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport { random } from '@dxos/random';\n\ntype SlideOptions = {\n text?: string;\n number?: number;\n code?: boolean;\n list?: number;\n ordered?: number;\n};\n\nexport const createSlide = (options: SlideOptions = {}) => {\n const num = options.number === undefined ? '' : `${options.number}. `;\n\n const code = () =>\n [\n '```tsx',\n 'const x = [1, 2, 3];',\n 'const f = (x: number[]) => x.reduce((acc, value) => acc + value, 0)',\n 'const y = f(x)',\n '```',\n ].join('\\n');\n\n const list = (length = 3) =>\n Array.from({ length })\n .map(() => `- ${random.lorem.sentence(3)}`)\n .join('\\n');\n\n const ordered = (length = 3) =>\n Array.from({ length })\n .map((_, i) => `${i + 1}. ${random.lorem.sentence(3)}`)\n .join('\\n');\n\n return [\n `# ${num}${random.lorem.sentence(3)}`,\n options.text && random.lorem.sentences(),\n options.code && code(),\n options.list && list(options.list),\n options.ordered && ordered(options.ordered),\n random.lorem.sentences(),\n ]\n .filter(Boolean)\n .join('\\n\\r');\n};\n\nexport const createSlides = (length = 1) => Array.from({ length }).map((_, i) => createSlide({ number: i + 1 }));\n"],"mappings":";;AAcA,IAAa,eAAe,UAAwB,CAAC,MAAM;CACzD,MAAM,MAAM,QAAQ,WAAW,KAAA,IAAY,KAAK,GAAG,QAAQ,OAAO;CAElE,MAAM,aACJ;EACE;EACA;EACA;EACA;EACA;CACF,CAAC,CAAC,KAAK,IAAI;CAEb,MAAM,QAAQ,SAAS,MACrB,MAAM,KAAK,EAAE,OAAO,CAAC,CAAA,CAClB,UAAU,KAAK,OAAO,MAAM,SAAS,CAAC,GAAG,CAAA,CACzC,KAAK,IAAI;CAEd,MAAM,WAAW,SAAS,MACxB,MAAM,KAAK,EAAE,OAAO,CAAC,CAAA,CAClB,KAAK,GAAG,MAAM,GAAG,IAAI,EAAE,IAAI,OAAO,MAAM,SAAS,CAAC,GAAG,CAAA,CACrD,KAAK,IAAI;CAEd,OAAO;EACL,KAAK,MAAM,OAAO,MAAM,SAAS,CAAC;EAClC,QAAQ,QAAQ,OAAO,MAAM,UAAU;EACvC,QAAQ,QAAQ,KAAK;EACrB,QAAQ,QAAQ,KAAK,QAAQ,IAAI;EACjC,QAAQ,WAAW,QAAQ,QAAQ,OAAO;EAC1C,OAAO,MAAM,UAAU;CACzB,CAAA,CACG,OAAO,OAAO,CAAA,CACd,KAAK,MAAM;AAChB;AAEA,IAAa,gBAAgB,SAAS,MAAM,MAAM,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG,MAAM,YAAY,EAAE,QAAQ,IAAI,EAAE,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { meta } from "#meta";
2
+ //#region src/translations.ts
3
+ var translations = [{ "en-US": { [meta.profile.key]: {
4
+ "plugin.name": "Presenter",
5
+ "toggle-presentation.label": "Present"
6
+ } } }];
7
+ //#endregion
8
+ export { translations };
9
+
10
+ //# sourceMappingURL=translations.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"translations.mjs","names":[],"sources":["../../src/translations.ts"],"sourcesContent":["//\n// Copyright 2023 DXOS.org\n//\n\nimport { type Resource } from '@dxos/react-ui';\n\nimport { meta } from '#meta';\n\nexport const translations = [\n {\n 'en-US': {\n [meta.profile.key]: {\n 'plugin.name': 'Presenter',\n 'toggle-presentation.label': 'Present',\n },\n },\n },\n] as const satisfies Resource[];\n"],"mappings":";;AAQA,IAAa,eAAe,CAC1B,EACE,SAAS,GACN,KAAK,QAAQ,MAAM;CAClB,eAAe;CACf,6BAA6B;AAC/B,EACF,EACF,CACF"}
@@ -0,0 +1,2 @@
1
+ import { i as PresenterCapabilities_exports, n as Settings_exports, r as PresenterOperation_exports, t as PresenterContext } from "./chunk-types.mjs";
2
+ export { PresenterCapabilities_exports as PresenterCapabilities, PresenterContext, PresenterOperation_exports as PresenterOperation, Settings_exports as Settings };
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<Capability.Any, never, Capability.Service>;
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Any, never, import("effect/Scope").Scope | Capability.Service>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=app-graph-builder.d.ts.map
@@ -4,6 +4,6 @@ import { Capability } from '@dxos/app-framework';
4
4
  * Contributes the present shortcut (Shift+Cmd+P) to the markdown editor so presentation
5
5
  * can be toggled while editing without relying on the global navtree keyboard context.
6
6
  */
7
- declare const _default: (props: void) => Effect.Effect<Capability.Any, never, Capability.Service>;
7
+ declare const _default: (props: void) => Effect.Effect<Capability.Any, never, import("effect/Scope").Scope | Capability.Service>;
8
8
  export default _default;
9
9
  //# sourceMappingURL=markdown-extension.d.ts.map
@@ -1,6 +1,6 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
3
  import type { OperationHandlerSet } from '@dxos/compute';
4
- declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, Capability.Service>;
4
+ declare const _default: (props: OperationHandlerSet.OperationHandlerSet) => Effect.Effect<Capability.ModuleReturn, Error, import("effect/Scope").Scope | Capability.Service>;
5
5
  export default _default;
6
6
  //# sourceMappingURL=operation-handler.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<Capability.Any, never, never>;
3
+ declare const _default: (props: void) => Effect.Effect<Capability.Any, never, import("effect/Scope").Scope>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=react-surface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
1
+ {"version":3,"file":"react-surface.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/react-surface.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import * as Effect from 'effect/Effect';
2
2
  import { Capability } from '@dxos/app-framework';
3
- declare const _default: (props: void) => Effect.Effect<[Capability.Any, Capability.Any], never, never>;
3
+ declare const _default: (props: void) => Effect.Effect<[Capability.Any, Capability.Any], never, import("effect/Scope").Scope>;
4
4
  export default _default;
5
5
  //# sourceMappingURL=settings.d.ts.map
@@ -7,5 +7,5 @@ export type LayoutProps = PropsWithChildren<{
7
7
  }>;
8
8
  export declare const Layout: React.ForwardRefExoticComponent<Omit<LayoutProps, "className"> & {
9
9
  classNames?: import("@dxos/ui-types").ClassNameValue;
10
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
10
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
11
11
  //# sourceMappingURL=Layout.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CAAC;AAEH,eAAO,MAAM,MAAM;;2HAkBlB,CAAC"}
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/Layout.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAItE,MAAM,MAAM,WAAW,GAAG,iBAAiB,CAAC;IAC1C,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB,CAAC,CAAC;AAEH,eAAO,MAAM,MAAM;;6GAkBlB,CAAC"}
@@ -16,5 +16,5 @@ export type PresentationShellProps = PropsWithChildren<{
16
16
  */
17
17
  export declare const PresentationShell: React.ForwardRefExoticComponent<Omit<PresentationShellProps, "className"> & {
18
18
  classNames?: import("@dxos/ui-types").ClassNameValue;
19
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
19
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
20
20
  //# sourceMappingURL=PresentationShell.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresentationShell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/PresentationShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AAKhG,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;2HAyE7B,CAAC"}
1
+ {"version":3,"file":"PresentationShell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/PresentationShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAA4C,MAAM,OAAO,CAAC;AAKhG,MAAM,MAAM,sBAAsB,GAAG,iBAAiB,CAAC;IACrD,iCAAiC;IACjC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC,CAAC;AAEH;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;6GAyE7B,CAAC"}
@@ -10,5 +10,5 @@ export type RevealProps = {
10
10
  };
11
11
  export declare const RevealPlayer: React.ForwardRefExoticComponent<Omit<RevealProps, "className"> & {
12
12
  classNames?: import("@dxos/ui-types").ClassNameValue;
13
- } & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
13
+ } & Pick<React.HTMLAttributes<Element>, "children" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
14
14
  //# sourceMappingURL=RevealPlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC;AACnC,OAAO,gCAAgC,CAAC;AAGxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAAiB,MAAM,OAAO,CAAC;AAkDtC,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY;;2HA0GxB,CAAC"}
1
+ {"version":3,"file":"RevealPlayer.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.tsx"],"names":[],"mappings":"AAIA,OAAO,2BAA2B,CAAC;AACnC,OAAO,gCAAgC,CAAC;AAGxC,OAAO,0CAA0C,CAAC;AAIlD,OAAO,KAAiB,MAAM,OAAO,CAAC;AAkDtC,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,YAAY;;6GA0GxB,CAAC"}
@@ -4,7 +4,7 @@ declare const meta: {
4
4
  title: string;
5
5
  component: import("react").ForwardRefExoticComponent<Omit<import("./RevealPlayer").RevealProps, "className"> & {
6
6
  classNames?: import("@dxos/ui-types").ClassNameValue;
7
- } & Pick<import("react").HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & import("react").RefAttributes<HTMLDivElement>>;
7
+ } & Pick<import("react").HTMLAttributes<Element>, "children" | "role" | "style"> & import("react").RefAttributes<HTMLDivElement>>;
8
8
  decorators: import("@storybook/react").Decorator[];
9
9
  parameters: {
10
10
  layout: string;
@@ -2,5 +2,8 @@ import React from 'react';
2
2
  import { AppSurface } from '@dxos/app-toolkit/ui';
3
3
  import { type Collection } from '@dxos/echo';
4
4
  export type CollectionArticleProps = AppSurface.ObjectArticleProps<Collection.Collection>;
5
- export declare const CollectionArticle: ({ role, subject: collection }: CollectionArticleProps) => React.JSX.Element;
5
+ export declare function CollectionArticle({ role, subject: collection }: CollectionArticleProps): React.JSX.Element;
6
+ export declare namespace CollectionArticle {
7
+ var displayName: string;
8
+ }
6
9
  //# sourceMappingURL=CollectionArticle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CollectionArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CollectionArticle/CollectionArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,UAAU,EAAO,MAAM,YAAY,CAAC;AAQlD,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;AAE1F,eAAO,MAAM,iBAAiB,kCAAmC,sBAAsB,sBAyBtF,CAAC"}
1
+ {"version":3,"file":"CollectionArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CollectionArticle/CollectionArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAGpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,UAAU,EAAO,MAAM,YAAY,CAAC;AAQlD,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;0CAExD,EAAE,IAAI,EAAE,OAAO,EAAE,UAAU,EAAE,EAAE,sBAAsB"}
@@ -2,5 +2,8 @@ import React from 'react';
2
2
  import { AppSurface } from '@dxos/app-toolkit/ui';
3
3
  import { type Markdown } from '@dxos/plugin-markdown';
4
4
  export type DocumentArticleProps = AppSurface.ObjectArticleProps<Markdown.Document>;
5
- export declare const DocumentArticle: ({ role, subject: document }: DocumentArticleProps) => React.JSX.Element;
5
+ export declare function DocumentArticle({ role, subject: document }: DocumentArticleProps): React.JSX.Element;
6
+ export declare namespace DocumentArticle {
7
+ var displayName: string;
8
+ }
6
9
  //# sourceMappingURL=DocumentArticle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DocumentArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DocumentArticle/DocumentArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAa,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOtD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAEpF,eAAO,MAAM,eAAe,gCAAiC,oBAAoB,sBAiBhF,CAAC"}
1
+ {"version":3,"file":"DocumentArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DocumentArticle/DocumentArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAa,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOtD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;wCAEpD,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,oBAAoB"}
@@ -2,5 +2,8 @@ import React from 'react';
2
2
  import { AppSurface } from '@dxos/app-toolkit/ui';
3
3
  import { type Markdown } from '@dxos/plugin-markdown';
4
4
  export type SlideArticleProps = AppSurface.ObjectSectionProps<Markdown.Document>;
5
- export declare const SlideArticle: ({ subject: document }: SlideArticleProps) => React.JSX.Element | null;
5
+ export declare function SlideArticle({ subject: document }: SlideArticleProps): React.JSX.Element | null;
6
+ export declare namespace SlideArticle {
7
+ var displayName: string;
8
+ }
6
9
  //# sourceMappingURL=SlideArticle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SlideArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/SlideArticle/SlideArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;AAEjF,eAAO,MAAM,YAAY,0BAA2B,iBAAiB,6BAWpE,CAAC"}
1
+ {"version":3,"file":"SlideArticle.d.ts","sourceRoot":"","sources":["../../../../../src/containers/SlideArticle/SlideArticle.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,MAAM,MAAM,iBAAiB,GAAG,UAAU,CAAC,kBAAkB,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC;qCAEpD,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-presentation.d.ts","sourceRoot":"","sources":["../../../../src/operations/toggle-presentation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAI5C;;;;GAIG;AACH,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,kBAAkB,CAmC9E,CAAC;eAEW,OAAO"}
1
+ {"version":3,"file":"toggle-presentation.d.ts","sourceRoot":"","sources":["../../../../src/operations/toggle-presentation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAI5C;;;;GAIG;AACH,QAAA,MAAM,OAAO,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,kBAAkB,CAAC,kBAAkB,CAqC9E,CAAC;eAEW,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/paths.ts"],"names":[],"mappings":"AAMA,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,eAAgB,MAAM,KAAG,MAAuD,CAAC"}
1
+ {"version":3,"file":"paths.d.ts","sourceRoot":"","sources":["../../../src/paths.ts"],"names":[],"mappings":"AAMA,iFAAiF;AACjF,eAAO,MAAM,mBAAmB,eAAgB,MAAM,KAAG,MACA,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type Atom } from '@effect-atom/atom-react';
1
+ import { type Atom } from '@effect-atom/atom';
2
2
  import { Capability } from '@dxos/app-framework';
3
3
  export declare const Settings: Capability.InterfaceDef<Atom.Writable<import("./Settings").Settings, import("./Settings").Settings>>;
4
4
  //# sourceMappingURL=PresenterCapabilities.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PresenterCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,eAAO,MAAM,QAAQ,sGAEpB,CAAC"}
1
+ {"version":3,"file":"PresenterCapabilities.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterCapabilities.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAMjD,eAAO,MAAM,QAAQ,sGAEpB,CAAC"}