@dxos/plugin-presenter 0.9.0 → 0.9.1-staging.ee54ba693a
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/PLUGIN.mdl +12 -12
- package/dist/lib/neutral/{CollectionPresenterArticle-DFREOQTG.mjs → CollectionArticle-7R4KJWDW.mjs} +10 -9
- package/dist/lib/neutral/CollectionArticle-7R4KJWDW.mjs.map +7 -0
- package/dist/lib/neutral/DocumentArticle-YZRKVEN7.mjs +32 -0
- package/dist/lib/neutral/DocumentArticle-YZRKVEN7.mjs.map +7 -0
- package/dist/lib/neutral/PresenterPlugin.mjs +11 -4
- package/dist/lib/neutral/PresenterPlugin.mjs.map +4 -4
- package/dist/lib/neutral/SlideArticle-FE2I6KBO.mjs +20 -0
- package/dist/lib/neutral/SlideArticle-FE2I6KBO.mjs.map +7 -0
- package/dist/lib/neutral/{app-graph-builder-DIEDSRPX.mjs → app-graph-builder-FNDFY5L3.mjs} +8 -24
- package/dist/lib/neutral/app-graph-builder-FNDFY5L3.mjs.map +7 -0
- package/dist/lib/neutral/capabilities/index.mjs +7 -3
- package/dist/lib/neutral/capabilities/index.mjs.map +3 -3
- package/dist/lib/neutral/chunk-63IF7OXT.mjs +19 -0
- package/dist/lib/neutral/chunk-63IF7OXT.mjs.map +7 -0
- package/dist/lib/neutral/chunk-MSQDHOPV.mjs +47 -0
- package/dist/lib/neutral/chunk-MSQDHOPV.mjs.map +7 -0
- package/dist/lib/neutral/{chunk-VVALMI52.mjs → chunk-NDZ6IIAL.mjs} +8 -4
- package/dist/lib/neutral/chunk-NDZ6IIAL.mjs.map +7 -0
- package/dist/lib/neutral/components/index.mjs +90 -29
- package/dist/lib/neutral/components/index.mjs.map +4 -4
- package/dist/lib/neutral/containers/index.mjs +6 -6
- package/dist/lib/neutral/containers/index.mjs.map +3 -3
- package/dist/lib/neutral/index.mjs +2 -2
- package/dist/lib/neutral/markdown-extension-HGLRVZDF.mjs +37 -0
- package/dist/lib/neutral/markdown-extension-HGLRVZDF.mjs.map +7 -0
- package/dist/lib/neutral/meta.json +1 -1
- package/dist/lib/neutral/meta.mjs +1 -1
- package/dist/lib/neutral/operation-handler-3ZESW5AK.mjs +13 -0
- package/dist/lib/neutral/operation-handler-3ZESW5AK.mjs.map +7 -0
- package/dist/lib/neutral/operations/index.mjs +9 -0
- package/dist/lib/neutral/operations/index.mjs.map +7 -0
- package/dist/lib/neutral/plugin.mjs +1 -1
- package/dist/lib/neutral/react-surface-VO4GPCLQ.mjs +42 -0
- package/dist/lib/neutral/react-surface-VO4GPCLQ.mjs.map +7 -0
- package/dist/lib/neutral/{settings-R6LRDAAK.mjs → settings-DBV7N5HT.mjs} +3 -3
- package/dist/lib/neutral/{settings-R6LRDAAK.mjs.map → settings-DBV7N5HT.mjs.map} +3 -3
- package/dist/lib/neutral/toggle-presentation-PH7ZJJDD.mjs +60 -0
- package/dist/lib/neutral/toggle-presentation-PH7ZJJDD.mjs.map +7 -0
- package/dist/lib/neutral/translations.mjs +1 -2
- package/dist/lib/neutral/translations.mjs.map +3 -3
- package/dist/lib/neutral/types/index.mjs +1 -1
- package/dist/types/dx.config.d.ts +28 -0
- package/dist/types/dx.config.d.ts.map +1 -0
- package/dist/types/src/PresenterPlugin.d.ts.map +1 -1
- package/dist/types/src/capabilities/app-graph-builder.d.ts +1 -2
- package/dist/types/src/capabilities/app-graph-builder.d.ts.map +1 -1
- package/dist/types/src/capabilities/index.d.ts +6 -3
- package/dist/types/src/capabilities/index.d.ts.map +1 -1
- package/dist/types/src/capabilities/markdown-extension.d.ts +9 -0
- package/dist/types/src/capabilities/markdown-extension.d.ts.map +1 -0
- package/dist/types/src/capabilities/operation-handler.d.ts +6 -0
- package/dist/types/src/capabilities/operation-handler.d.ts.map +1 -0
- package/dist/types/src/capabilities/react-surface.d.ts +2 -2
- package/dist/types/src/capabilities/react-surface.d.ts.map +1 -1
- package/dist/types/src/capabilities/settings.d.ts +1 -3
- package/dist/types/src/capabilities/settings.d.ts.map +1 -1
- package/dist/types/src/components/Presenter/PresentationShell.d.ts +20 -0
- package/dist/types/src/components/Presenter/PresentationShell.d.ts.map +1 -0
- package/dist/types/src/components/Presenter/index.d.ts +1 -0
- package/dist/types/src/components/Presenter/index.d.ts.map +1 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.d.ts.map +1 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts +0 -1
- package/dist/types/src/components/RevealPlayer/RevealPlayer.stories.d.ts.map +1 -1
- package/dist/types/src/components/index.d.ts +0 -2
- package/dist/types/src/components/index.d.ts.map +1 -1
- package/dist/types/src/containers/CollectionArticle/CollectionArticle.d.ts +6 -0
- package/dist/types/src/containers/CollectionArticle/CollectionArticle.d.ts.map +1 -0
- package/dist/types/src/containers/CollectionArticle/index.d.ts +2 -0
- package/dist/types/src/{components/PresenterSettings → containers/CollectionArticle}/index.d.ts.map +1 -1
- package/dist/types/src/containers/DocumentArticle/DocumentArticle.d.ts +6 -0
- package/dist/types/src/containers/DocumentArticle/DocumentArticle.d.ts.map +1 -0
- package/dist/types/src/containers/DocumentArticle/index.d.ts +2 -0
- package/dist/types/src/containers/DocumentArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/SlideArticle/SlideArticle.d.ts +6 -0
- package/dist/types/src/containers/SlideArticle/SlideArticle.d.ts.map +1 -0
- package/dist/types/src/containers/SlideArticle/index.d.ts +2 -0
- package/dist/types/src/containers/SlideArticle/index.d.ts.map +1 -0
- package/dist/types/src/containers/index.d.ts +3 -3
- package/dist/types/src/containers/index.d.ts.map +1 -1
- package/dist/types/src/meta.d.ts +32 -2
- package/dist/types/src/meta.d.ts.map +1 -1
- package/dist/types/src/operations/index.d.ts +3 -0
- package/dist/types/src/operations/index.d.ts.map +1 -0
- package/dist/types/src/operations/toggle-presentation.d.ts +10 -0
- package/dist/types/src/operations/toggle-presentation.d.ts.map +1 -0
- package/dist/types/src/paths.d.ts +3 -0
- package/dist/types/src/paths.d.ts.map +1 -0
- package/dist/types/src/translations.d.ts +0 -1
- package/dist/types/src/translations.d.ts.map +1 -1
- package/dist/types/src/types/PresenterCapabilities.d.ts.map +1 -1
- package/dist/types/src/types/PresenterOperation.d.ts +5 -13
- package/dist/types/src/types/PresenterOperation.d.ts.map +1 -1
- package/dist/types/src/useExitPresenter.d.ts +6 -1
- package/dist/types/src/useExitPresenter.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dx.config.ts +37 -0
- package/package.json +39 -31
- package/src/PresenterPlugin.test.ts +1 -1
- package/src/PresenterPlugin.tsx +9 -2
- package/src/capabilities/app-graph-builder.ts +9 -24
- package/src/capabilities/index.ts +6 -0
- package/src/capabilities/markdown-extension.ts +45 -0
- package/src/capabilities/operation-handler.ts +16 -0
- package/src/capabilities/react-surface.tsx +14 -23
- package/src/capabilities/settings.ts +2 -2
- package/src/components/Markdown/Panel.stories.tsx +1 -1
- package/src/components/Presenter/PresentationShell.tsx +99 -0
- package/src/components/Presenter/index.ts +1 -0
- package/src/components/RevealPlayer/RevealPlayer.tsx +11 -12
- package/src/components/index.ts +0 -4
- package/src/containers/CollectionArticle/CollectionArticle.tsx +44 -0
- package/src/containers/CollectionArticle/index.ts +5 -0
- package/src/containers/DocumentArticle/DocumentArticle.tsx +34 -0
- package/src/containers/DocumentArticle/index.ts +5 -0
- package/src/containers/{MarkdownSlide/MarkdownSlide.tsx → SlideArticle/SlideArticle.tsx} +4 -5
- package/src/containers/SlideArticle/index.ts +5 -0
- package/src/containers/index.ts +3 -3
- package/src/meta.ts +2 -30
- package/src/operations/index.ts +7 -0
- package/src/operations/toggle-presentation.ts +59 -0
- package/src/paths.ts +8 -0
- package/src/translations.ts +1 -2
- package/src/types/PresenterCapabilities.ts +3 -1
- package/src/types/PresenterOperation.ts +4 -3
- package/src/useExitPresenter.ts +13 -26
- package/dist/lib/neutral/CollectionPresenterArticle-DFREOQTG.mjs.map +0 -7
- package/dist/lib/neutral/DocumentPresenterContainer-KCDZ2O2C.mjs +0 -24
- package/dist/lib/neutral/DocumentPresenterContainer-KCDZ2O2C.mjs.map +0 -7
- package/dist/lib/neutral/MarkdownSlide-WXILOIBE.mjs +0 -18
- package/dist/lib/neutral/MarkdownSlide-WXILOIBE.mjs.map +0 -7
- package/dist/lib/neutral/PresenterSettings-2G4XD4QY.mjs +0 -25
- package/dist/lib/neutral/PresenterSettings-2G4XD4QY.mjs.map +0 -7
- package/dist/lib/neutral/app-graph-builder-DIEDSRPX.mjs.map +0 -7
- package/dist/lib/neutral/chunk-PPL2FF6R.mjs +0 -38
- package/dist/lib/neutral/chunk-PPL2FF6R.mjs.map +0 -7
- package/dist/lib/neutral/chunk-V323QBC3.mjs +0 -41
- package/dist/lib/neutral/chunk-V323QBC3.mjs.map +0 -7
- package/dist/lib/neutral/chunk-VVALMI52.mjs.map +0 -7
- package/dist/lib/neutral/react-surface-SPJGAJIF.mjs +0 -54
- package/dist/lib/neutral/react-surface-SPJGAJIF.mjs.map +0 -7
- package/dist/types/src/components/PresenterSettings/PresenterSettings.d.ts +0 -6
- package/dist/types/src/components/PresenterSettings/PresenterSettings.d.ts.map +0 -1
- package/dist/types/src/components/PresenterSettings/PresenterSettings.stories.d.ts +0 -23
- package/dist/types/src/components/PresenterSettings/PresenterSettings.stories.d.ts.map +0 -1
- package/dist/types/src/components/PresenterSettings/index.d.ts +0 -2
- package/dist/types/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.d.ts +0 -6
- package/dist/types/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.d.ts.map +0 -1
- package/dist/types/src/containers/CollectionPresenterArticle/index.d.ts +0 -2
- package/dist/types/src/containers/CollectionPresenterArticle/index.d.ts.map +0 -1
- package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts +0 -6
- package/dist/types/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.d.ts.map +0 -1
- package/dist/types/src/containers/DocumentPresenterContainer/index.d.ts +0 -2
- package/dist/types/src/containers/DocumentPresenterContainer/index.d.ts.map +0 -1
- package/dist/types/src/containers/MarkdownSlide/MarkdownSlide.d.ts +0 -8
- package/dist/types/src/containers/MarkdownSlide/MarkdownSlide.d.ts.map +0 -1
- package/dist/types/src/containers/MarkdownSlide/index.d.ts +0 -2
- package/dist/types/src/containers/MarkdownSlide/index.d.ts.map +0 -1
- package/src/components/PresenterSettings/PresenterSettings.stories.tsx +0 -32
- package/src/components/PresenterSettings/PresenterSettings.tsx +0 -31
- package/src/components/PresenterSettings/index.ts +0 -5
- package/src/containers/CollectionPresenterArticle/CollectionPresenterArticle.tsx +0 -50
- package/src/containers/CollectionPresenterArticle/index.ts +0 -5
- package/src/containers/DocumentPresenterContainer/DocumentPresenterContainer.tsx +0 -24
- package/src/containers/DocumentPresenterContainer/index.ts +0 -5
- package/src/containers/MarkdownSlide/index.ts +0 -5
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { Capability } from '@dxos/app-framework';
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
2
|
+
import type { OperationHandlerSet } from '@dxos/compute';
|
|
3
|
+
export declare const AppGraphBuilder: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
|
|
4
|
+
export declare const MarkdownExtension: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
|
|
5
|
+
export declare const OperationHandler: Capability.LazyCapability<OperationHandlerSet.OperationHandlerSet, Capability.ModuleReturn, Error>;
|
|
6
|
+
export declare const ReactSurface: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
|
|
7
|
+
export declare const PresenterSettings: Capability.LazyCapability<void, Capability.ModuleReturn, Error>;
|
|
5
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,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,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEzD,eAAO,MAAM,eAAe,iEAA0E,CAAC;AACvG,eAAO,MAAM,iBAAiB,iEAA6E,CAAC;AAC5G,eAAO,MAAM,gBAAgB,oGAG5B,CAAC;AACF,eAAO,MAAM,YAAY,iEAAmE,CAAC;AAC7F,eAAO,MAAM,iBAAiB,iEAAmE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as Effect from 'effect/Effect';
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
/**
|
|
4
|
+
* Contributes the present shortcut (Shift+Cmd+P) to the markdown editor so presentation
|
|
5
|
+
* can be toggled while editing without relying on the global navtree keyboard context.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any, never, Capability.Service>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=markdown-extension.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown-extension.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/markdown-extension.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAgB,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAM/D;;;GAGG"}
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
|
-
import {
|
|
3
|
-
declare const _default: (props: void) => Effect.Effect<Capability.
|
|
2
|
+
import { Capability } from '@dxos/app-framework';
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<Capability.Any, never, never>;
|
|
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,
|
|
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,7 +1,5 @@
|
|
|
1
1
|
import * as Effect from 'effect/Effect';
|
|
2
2
|
import { Capability } from '@dxos/app-framework';
|
|
3
|
-
|
|
4
|
-
import { Settings } from '#types';
|
|
5
|
-
declare const _default: (props: void) => Effect.Effect<[Capability.Capability<Capability.InterfaceDef<import("@effect-atom/atom/Atom").Writable<Settings.Settings, Settings.Settings>>>, Capability.Capability<Capability.InterfaceDef<AppCapabilities.Settings>>], never, never>;
|
|
3
|
+
declare const _default: (props: void) => Effect.Effect<[Capability.Any, Capability.Any], never, never>;
|
|
6
4
|
export default _default;
|
|
7
5
|
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../../../src/capabilities/settings.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type PropsWithChildren } from 'react';
|
|
2
|
+
export type PresentationShellProps = PropsWithChildren<{
|
|
3
|
+
/** Fade-in/out duration (ms). */
|
|
4
|
+
fadeDuration?: number;
|
|
5
|
+
/** Duration the [ESC] hint remains visible (ms). */
|
|
6
|
+
hintDuration?: number;
|
|
7
|
+
/** Whether the presentation is fullscreen. */
|
|
8
|
+
fullscreen?: boolean;
|
|
9
|
+
/** Invoked once the exit fade-out has completed. */
|
|
10
|
+
onExit?: () => void;
|
|
11
|
+
}>;
|
|
12
|
+
/**
|
|
13
|
+
* Wraps presentation content with a fade-in/out transition, an ESC handler that exits in a
|
|
14
|
+
* single keypress (intercepting before the deck's fullscreen handler), and a transient [ESC]
|
|
15
|
+
* caption shown on enter.
|
|
16
|
+
*/
|
|
17
|
+
export declare const PresentationShell: React.ForwardRefExoticComponent<Omit<PresentationShellProps, "className"> & {
|
|
18
|
+
classNames?: import("@dxos/ui-types").ClassNameValue;
|
|
19
|
+
} & Pick<React.HTMLAttributes<Element>, "children" | "className" | "role" | "style"> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
//# sourceMappingURL=PresentationShell.d.ts.map
|
|
@@ -0,0 +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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Presenter/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC"}
|
|
@@ -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;
|
|
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevealPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAOlD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,QAAA,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"RevealPlayer.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/RevealPlayer/RevealPlayer.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAOlD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAU9C,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;CAQ2B,CAAC;eAEvB,IAAI;AAEnB,KAAK,KAAK,GAAG,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEvC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
|
+
import { type Collection } from '@dxos/echo';
|
|
4
|
+
export type CollectionArticleProps = AppSurface.ObjectArticleProps<Collection.Collection>;
|
|
5
|
+
export declare const CollectionArticle: ({ role, subject: collection }: CollectionArticleProps) => React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=CollectionArticle.d.ts.map
|
|
@@ -0,0 +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"}
|
package/dist/types/src/{components/PresenterSettings → containers/CollectionArticle}/index.d.ts.map
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/CollectionArticle/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,IAAI,OAAO,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
|
+
import { type Markdown } from '@dxos/plugin-markdown';
|
|
4
|
+
export type DocumentArticleProps = AppSurface.ObjectArticleProps<Markdown.Document>;
|
|
5
|
+
export declare const DocumentArticle: ({ role, subject: document }: DocumentArticleProps) => React.JSX.Element;
|
|
6
|
+
//# sourceMappingURL=DocumentArticle.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/DocumentArticle/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AppSurface } from '@dxos/app-toolkit/ui';
|
|
3
|
+
import { type Markdown } from '@dxos/plugin-markdown';
|
|
4
|
+
export type SlideArticleProps = AppSurface.ObjectSectionProps<Markdown.Document>;
|
|
5
|
+
export declare const SlideArticle: ({ subject: document }: SlideArticleProps) => React.JSX.Element | null;
|
|
6
|
+
//# sourceMappingURL=SlideArticle.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/containers/SlideArticle/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,IAAI,OAAO,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentType } from 'react';
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
2
|
+
export declare const CollectionArticle: ComponentType<any>;
|
|
3
|
+
export declare const DocumentArticle: ComponentType<any>;
|
|
4
|
+
export declare const SlideArticle: ComponentType<any>;
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAQ,MAAM,OAAO,CAAC;AAEjD,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,GAAG,CAA6C,CAAC;AAC/F,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,GAAG,CAA2C,CAAC;AAC3F,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,GAAG,CAAwC,CAAC"}
|
package/dist/types/src/meta.d.ts
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const meta: {
|
|
2
|
+
readonly profile: {
|
|
3
|
+
readonly key: string;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
readonly description?: string | undefined;
|
|
6
|
+
readonly homePage?: string | undefined;
|
|
7
|
+
readonly source?: string | undefined;
|
|
8
|
+
readonly tags?: readonly string[] | undefined;
|
|
9
|
+
readonly screenshots?: readonly {
|
|
10
|
+
readonly light?: string | undefined;
|
|
11
|
+
readonly dark?: string | undefined;
|
|
12
|
+
}[] | undefined;
|
|
13
|
+
readonly icon?: {
|
|
14
|
+
readonly key: string;
|
|
15
|
+
readonly hue?: string | undefined;
|
|
16
|
+
} | undefined;
|
|
17
|
+
readonly dependsOn?: readonly string[] | undefined;
|
|
18
|
+
readonly spec?: string | undefined;
|
|
19
|
+
readonly createdAt?: string | undefined;
|
|
20
|
+
readonly author?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
readonly release?: {
|
|
23
|
+
readonly version: string;
|
|
24
|
+
readonly moduleUrl: string;
|
|
25
|
+
readonly dependencies?: {
|
|
26
|
+
readonly [x: string]: string;
|
|
27
|
+
} | undefined;
|
|
28
|
+
readonly pluginKey?: string | undefined;
|
|
29
|
+
readonly manifestHash?: string | undefined;
|
|
30
|
+
readonly createdAt?: string | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
};
|
|
3
33
|
//# sourceMappingURL=meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../../src/meta.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAC"}
|
|
@@ -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,4BAA4B,yCAAkE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Operation } from '@dxos/compute';
|
|
2
|
+
import { PresenterOperation } from '#types';
|
|
3
|
+
/**
|
|
4
|
+
* Enters or exits presentation for the given object. When `state` is omitted the
|
|
5
|
+
* current presentation state is toggled. Entering fullscreens the presenter companion;
|
|
6
|
+
* exiting reverts fullscreen and re-opens the source object.
|
|
7
|
+
*/
|
|
8
|
+
declare const handler: Operation.WithHandler<typeof PresenterOperation.TogglePresentation>;
|
|
9
|
+
export default handler;
|
|
10
|
+
//# sourceMappingURL=toggle-presentation.d.ts.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,WAAW;
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,YAAY;;;oCAIF,WAAW;kDACG,SAAS;;;EAIf,CAAC"}
|
|
@@ -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,
|
|
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,17 +1,9 @@
|
|
|
1
|
+
import { Capability } from '@dxos/app-framework';
|
|
1
2
|
import { Operation } from '@dxos/compute';
|
|
3
|
+
import { Collection } from '@dxos/echo';
|
|
4
|
+
import { Markdown } from '@dxos/plugin-markdown';
|
|
2
5
|
export declare const TogglePresentation: Operation.Definition<{
|
|
3
|
-
readonly object: (
|
|
4
|
-
readonly name?: string | undefined;
|
|
5
|
-
readonly objects: readonly import("@dxos/echo/internal").Ref<import("@dxos/echo/Obj").Unknown>[];
|
|
6
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | ({
|
|
7
|
-
readonly name?: string | undefined;
|
|
8
|
-
readonly description?: string | undefined;
|
|
9
|
-
readonly fallbackName?: string | undefined;
|
|
10
|
-
readonly content: import("@dxos/echo/internal").Ref<{
|
|
11
|
-
readonly name?: string | undefined;
|
|
12
|
-
readonly content: string;
|
|
13
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & import("@dxos/echo/Obj").Unknown>;
|
|
14
|
-
} & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>);
|
|
6
|
+
readonly object: (Collection.Collection & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>) | (Markdown.Document & import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object>);
|
|
15
7
|
readonly state?: boolean | undefined;
|
|
16
|
-
}, void,
|
|
8
|
+
}, void, Capability.Service>;
|
|
17
9
|
//# sourceMappingURL=PresenterOperation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PresenterOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterOperation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"PresenterOperation.d.ts","sourceRoot":"","sources":["../../../../src/types/PresenterOperation.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,UAAU,EAAa,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAMjD,eAAO,MAAM,kBAAkB;;;4BAY7B,CAAC"}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Exits presentation for the given object. Delegates to the toggle operation so the
|
|
3
|
+
* fullscreen-revert and re-open run sequentially in a single handler — invoking them
|
|
4
|
+
* separately races, leaving the deck stuck in fullscreen.
|
|
5
|
+
*/
|
|
1
6
|
export declare const useExitPresenter: (object: any) => () => Promise<{
|
|
2
|
-
data?:
|
|
7
|
+
data?: void | undefined;
|
|
3
8
|
error?: Error;
|
|
4
9
|
}>;
|
|
5
10
|
//# sourceMappingURL=useExitPresenter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useExitPresenter.d.ts","sourceRoot":"","sources":["../../../src/useExitPresenter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useExitPresenter.d.ts","sourceRoot":"","sources":["../../../src/useExitPresenter.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,WAAY,GAAG;;;EAO3C,CAAC"}
|